/* ===================================
   CSS VARIABLES & RESET
   =================================== */
:root {
  /* Color Palette - Blue, White, Light Purple */
  --primary-blue: #4169e1;
  --secondary-blue: #1e3a8a;
  --light-purple: #e6e6fa;
  --purple-accent: #9370db;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --dark: #1a1a2e;
  --text-dark: #2d3748;
  --text-light: #718096;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.3);

  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;

  /* Typography */
  --font-primary: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: "Arial Black", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 50%, var(--light-purple) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
  position: relative;
}

/* ===================================
   GLASSMORPHISM CARD
   =================================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(30, 58, 138, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: var(--white);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--light-purple);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--light-purple);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.9) 0%,
    rgba(65, 105, 225, 0.8) 50%,
    rgba(230, 230, 250, 0.7) 100%
  );
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 22px;
  margin-bottom: 40px;
  color: var(--light-purple);
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--white);
  border-radius: 15px;
  position: relative;
}

.mouse::before {
  content: "";
  width: 4px;
  height: 10px;
  background: var(--white);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(65, 105, 225, 0.4);
}

.btn-primary:hover {
  background: var(--secondary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(65, 105, 225, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
}

.btn-small {
  padding: 10px 24px;
  font-size: 14px;
}

.btn-large {
  padding: 18px 40px;
  font-size: 18px;
}

/* ===================================
   SECTION TITLES
   =================================== */
.section-title {
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: var(--white);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--light-purple);
  margin-top: -30px;
  margin-bottom: 40px;
}

.page-header {
  padding: 150px 0 80px;
  text-align: center;
}

.page-title {
  font-size: 56px;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 20px;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.page-subtitle {
  font-size: 20px;
  color: var(--light-purple);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 40px 30px;
  text-align: center;
}

.feature-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: var(--light-purple);
  line-height: 1.8;
}

/* ===================================
   COURSE SECTIONS
   =================================== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.course-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.course-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.1);
}

.course-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(65, 105, 225, 0.8);
  color: var(--white);
  margin-bottom: 15px;
  width: fit-content;
}

.course-badge.intermediate {
  background: rgba(147, 112, 219, 0.8);
}

.course-badge.advanced {
  background: rgba(30, 58, 138, 0.8);
}

.course-content h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 15px;
}

.course-content p {
  color: var(--light-purple);
  margin-bottom: 20px;
  flex: 1;
}

.course-info {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 14px;
}

.course-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  color: var(--white);
  font-size: 14px;
}

.detail-label {
  font-weight: 600;
  color: var(--light-purple);
}

.course-features {
  margin-bottom: 20px;
}

.course-features li {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 14px;
}

.course-category {
  margin-bottom: 60px;
}

.category-title {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 30px;
  font-weight: 600;
}

/* ===================================
   STATS SECTION
   =================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.stat-card {
  padding: 40px 30px;
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 18px;
  color: var(--light-purple);
  font-weight: 500;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  padding: 30px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--light-purple);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-info h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 5px;
}

.author-info span {
  color: var(--light-purple);
  font-size: 14px;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-card {
  padding: 60px 40px;
  text-align: center;
}

.cta-card h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: bold;
}

.cta-card p {
  font-size: 18px;
  color: var(--light-purple);
  margin-bottom: 30px;
}

/* ===================================
   ABOUT PAGE
   =================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-content {
  color: var(--white);
}

.story-content h2 {
  text-align: left;
}

.story-content p {
  color: var(--light-purple);
  margin-bottom: 20px;
  line-height: 1.8;
}

.story-image {
  padding: 20px;
}

.story-image img {
  border-radius: 20px;
  width: 100%;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.mv-card {
  padding: 40px;
}

.mv-icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.mv-card h3 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 20px;
}

.mv-card p {
  color: var(--light-purple);
  line-height: 1.8;
  font-size: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  padding: 30px;
  text-align: center;
}

.value-card h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 15px;
}

.value-card p {
  color: var(--light-purple);
  line-height: 1.8;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.facility-card {
  padding: 20px;
}

.facility-image {
  margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
}

.facility-card h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 15px;
}

.facility-card p {
  color: var(--light-purple);
  line-height: 1.8;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  padding: 30px;
  position: relative;
}

.timeline-year {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.timeline-item h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 10px;
}

.timeline-item p {
  color: var(--light-purple);
  line-height: 1.8;
}

/* ===================================
   INSTRUCTORS PAGE
   =================================== */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.instructor-card {
  padding: 20px;
  text-align: center;
}

.instructor-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.3);
}

.instructor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-content h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 5px;
}

.instructor-role {
  display: block;
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.instructor-content p {
  color: var(--light-purple);
  margin-bottom: 20px;
  line-height: 1.8;
}

.instructor-expertise {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.expertise-tag {
  padding: 6px 14px;
  background: rgba(65, 105, 225, 0.6);
  color: var(--white);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.guest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.guest-card {
  padding: 40px 30px;
  text-align: center;
}

.guest-card h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 15px;
}

.guest-card p {
  color: var(--light-purple);
  line-height: 1.8;
}

/* ===================================
   GALLERY PAGE
   =================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 30px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay h3 {
  color: var(--white);
  font-size: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.video-card {
  padding: 20px;
}

.video-placeholder {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
  height: 250px;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-blue);
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--white);
}

.video-card h3 {
  color: var(--white);
  font-size: 20px;
}

/* ===================================
   CONTACT PAGE
   =================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.contact-form-container {
  padding: 40px;
}

.contact-form-container h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 16px;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: rgba(255, 255, 255, 0.15);
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  padding: 25px;
  text-align: center;
}

.info-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-info-card p {
  color: var(--light-purple);
  line-height: 1.8;
}

.map-container {
  padding: 20px;
  overflow: hidden;
}

.map-placeholder {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 400px;
  cursor: pointer;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-placeholder:hover .map-overlay {
  opacity: 1;
}

.map-overlay p {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.faq-card {
  padding: 30px;
}

.faq-card h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 15px;
}

.faq-card p {
  color: var(--light-purple);
  line-height: 1.8;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: rgba(30, 58, 138, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 60px 0 20px;
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--light-purple);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--light-purple);
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: var(--white);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(30, 58, 138, 0.98);
    flex-direction: column;
    padding: 40px;
    transition: left 0.3s ease;
    gap: 20px;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 32px;
  }

  .page-title {
    font-size: 36px;
  }

  .features-grid,
  .course-grid,
  .stats-grid,
  .testimonial-grid,
  .instructors-grid,
  .gallery-grid,
  .video-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 15px;
  }
}
