/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brown-dark: #3D2918;
  --brown-medium: #4A3426;
  --tan-gold: #C8A882;
  --cream: #F5F3F0;
  --cream-light: #FAF9F7;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-gray: #666666;
  --text-light: #999999;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  overflow: visible;
}

/* Header */
.header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 16px 0;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
  margin-right: auto;
}

.logo img,
.header-logo-img {
  height: 44px !important;
  width: auto !important;
  object-fit: contain;
  max-width: 180px;
  display: block;
}

.logo svg {
  color: var(--tan-gold);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  z-index: 1001;
  position: relative;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--tan-gold);
}

.user-menu {
  position: relative;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 24px;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.user-menu-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s;
  z-index: 100;
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown a {
  display: block;
  padding: 12px 16px;
  color: var(--text-dark);
  font-size: 14px;
  transition: background 0.3s;
}

.user-dropdown a:first-child {
  border-radius: 12px 12px 0 0;
}

.user-dropdown a:last-child {
  border-radius: 0 0 12px 12px;
}

.user-dropdown a:hover {
  background: var(--cream-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff5722 0%, #ff8c42 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.btn-white {
  background: var(--white);
  color: var(--brown-dark);
}

.btn-white:hover {
  background: var(--tan-gold);
  color: var(--white);
}

.btn-secondary {
  background: var(--tan-gold);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--brown-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 90, 43, 0.3);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-auth-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Book Now Button */
.btn-book-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border: none;
  border-radius: 24px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.btn-book-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-book-now svg {
  flex-shrink: 0;
}

/* Login Button */
.btn-login {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Credits Badge */
.credits-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: var(--tan-gold);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.credits-badge svg {
  width: 18px;
  height: 18px;
  color: var(--tan-gold);
}

/* User Profile Dropdown */
.user-profile-dropdown {
  position: relative;
}

.user-profile-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  z-index: 10;
}

.user-profile-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.user-profile-name {
  font-size: 14px;
  font-weight: 500;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown-arrow {
  transition: transform 0.2s;
}

.user-profile-dropdown.active .user-dropdown-arrow {
  transform: rotate(180deg);
}

.user-profile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 1000;
}

.user-profile-dropdown.active .user-profile-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-profile-menu-header {
  padding: 16px;
  background: #f9fafb;
  border-radius: 12px 12px 0 0;
}

.user-profile-menu-name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.user-profile-menu-email {
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-profile-menu-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 8px 0;
}

.user-profile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.user-profile-menu-item:hover {
  background: #f9fafb;
  color: #111827;
}

.user-profile-menu-item svg {
  flex-shrink: 0;
  color: #6b7280;
}

.user-profile-menu-item:hover svg {
  color: #ff6b35;
}

.user-profile-menu-logout {
  color: #ef4444;
  border-radius: 0 0 12px 12px;
}

.user-profile-menu-logout:hover {
  background: rgba(239, 68, 68, 0.1);
}

.user-profile-menu-logout svg {
  color: #ef4444;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  gap: 6px;
}

/* Floating Language Toggle Button */
.btn-lang-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border: none;
  color: var(--white);
  padding: 14px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  z-index: 999;
  backdrop-filter: blur(10px);
}

.btn-lang-floating:hover {
  background: linear-gradient(135deg, #ff5722 0%, #ff8c42 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

.btn-lang-floating:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-lang-floating svg {
  flex-shrink: 0;
}

.btn-lang-floating .lang-text {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1;
}

@media (max-width: 768px) {
  .btn-lang-floating {
    bottom: 20px;
    right: 20px;
    padding: 12px 16px;
  }
  
  .btn-lang-floating svg {
    width: 20px;
    height: 20px;
  }
  
  .btn-lang-floating .lang-text {
    font-size: 12px;
  }
}



/* Splide carousel styling for hero */
#hero-slider .splide__pagination {
  bottom: 40px;
  z-index: 10;
}

#hero-slider .splide__pagination__page {
  background: rgba(255, 255, 255, 0.5);
  width: 12px;
  height: 12px;
  margin: 0 6px;
  transition: all 0.3s;
}

#hero-slider .splide__pagination__page.is-active {
  background: var(--white);
  transform: scale(1.3);
}

#hero-slider .splide__arrow {
  background: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

#hero-slider .splide__arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

#hero-slider .splide__arrow svg {
  fill: var(--white);
}

@media (max-width: 768px) {
  #hero-slider .splide__arrow {
    width: 40px;
    height: 40px;
  }
  
  #hero-slider .splide__pagination {
    bottom: 20px;
  }
}

@keyframes subtle-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}


@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Section Styles */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
  position: relative;
}

.section-header::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
  border-radius: 2px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.7;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* Video Hero Banner */
.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: #000;
}

.video-container,
.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-video,
.hero-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000; /* Prevent white flash */
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000; /* Prevent white flash */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  background: #000; /* Prevent white flash during transition */
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide .hero-video,
.hero-slide .hero-image {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Hero Slider Controls */
.hero-slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.hero-prev,
.hero-next {
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.hero-dots {
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.hero-dot.active {
  background: white;
  border-color: white;
  transform: scale(1.3);
}

.hero-slider-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.hero-slider-btn:hover {
  background: rgba(255, 107, 53, 0.9);
  border-color: #ff6b35;
  transform: scale(1.1);
}

.hero-slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-slider-dot.active {
  background: #ff6b35;
  border-color: #ff6b35;
  transform: scale(1.3);
}

.hero-slider-dot:hover {
  background: rgba(255, 107, 53, 0.8);
  border-color: #ff6b35;
}

.video-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.video-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.video-content p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-weight: 400;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-secondary-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  transition: all 0.3s;
}

.btn-secondary-outline:hover {
  background: white;
  color: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Video Hero */
@media (max-width: 768px) {
  .video-hero {
    height: auto;
    min-height: auto;
    max-height: none;
  }
  
  .hero-video,
  .hero-banner {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    min-width: auto;
    min-height: auto;
    object-fit: contain;
  }
  
  .video-container,
  .hero-image-container {
    height: auto;
  }
  
  /* Mobile Hero Slider */
  .hero-slider-btn {
    width: 40px;
    height: 40px;
  }
  
  .hero-slider-controls {
    padding: 0 1rem;
  }
  
  .hero-slider-dots {
    bottom: 1rem;
    gap: 8px;
  }
  
  .hero-slider-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .video-hero {
    height: auto;
    min-height: auto;
    max-height: none;
  }
  
  .hero-video {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    min-width: auto;
    min-height: auto;
    object-fit: contain;
  }
  
  .video-container {
    height: auto;
  }
}

/* About Section */
.about {
  padding: 120px 0;
  background: var(--cream-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  aspect-ratio: 3/4;
}

/* Classes Section */
.classes {
  padding: 120px 0;
  background: var(--white);
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.class-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--cream);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.class-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.class-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.class-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.class-card:hover .class-image img {
  transform: scale(1.05);
}

.class-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.class-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.3;
}

.class-content p {
  font-size: 14px;
  color: var(--text-gray);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.5;
}

/* Expect Section */
.expect {
  position: relative;
  padding: 120px 0;
  background: var(--brown-dark);
  color: var(--white);
}

.expect-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.15;
}

.expect-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expect-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.expect-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.expect-content p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
}

.expect-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.expect-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.expect-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--tan-gold);
}

.expect-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.expect-card p {
  font-size: 14px;
  opacity: 0.85;
}

/* Instructors Section */
.instructors {
  padding: 120px 0;
  background: var(--cream-light);
  overflow: hidden;
}

.instructors-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}

.instructors-header .section-header {
  text-align: left;
  margin: 0;
  flex: 1;
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.instructor-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.instructor-card:hover {
  transform: translateY(-8px);
}

.instructor-card:hover .instructor-image img {
  transform: scale(1.05);
}

.instructor-card:hover .instructor-cta {
  opacity: 1;
  transform: translateY(0);
}

.instructor-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

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

.instructor-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  padding: 60px 20px 20px;
  text-align: center;
  z-index: 2;
}

.instructor-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.3;
}

.instructor-info p {
  font-size: 14px;
  color: var(--white);
  opacity: 0.9;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.instructor-cta {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 3;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.instructor-cta .btn {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brown-dark);
  backdrop-filter: blur(10px);
}

.instructor-cta .btn:hover {
  background: var(--white);
  transform: scale(1.02);
}

.instructor-cta .btn svg {
  margin-left: 6px;
}

/* Loading state */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  grid-column: 1 / -1;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 107, 53, 0.2);
  border-top-color: var(--primary-orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-state p {
  color: var(--text-gray);
  font-size: 16px;
}

/* Dots Loader (light/orange version) */
.dots-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.dots-loader .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background-color: #ff6b6b; /* start color */
  animation: dots-pulse 1.4s infinite ease-in-out;
  box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.45);
}

.dots-loader .dot:nth-child(1) { animation-delay: -0.32s; }
.dots-loader .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes dots-pulse {
  0% {
    transform: scale(0.85);
    background-color: #ff6b6b;
    box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.55);
  }
  50% {
    transform: scale(1.2);
    background-color: #ffa500;
    box-shadow: 0 0 0 10px rgba(255, 165, 0, 0);
  }
  100% {
    transform: scale(0.85);
    background-color: #ff6b6b;
    box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.45);
  }
}

/* Testimonials */
.testimonials {
  padding: 120px 0;
  background: var(--white);
}

.testimonials-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.testimonials-header h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.testimonials-header p {
  font-size: 16px;
  color: var(--text-gray);
}

.testimonial-card {
  background: var(--brown-dark);
  border-radius: 24px;
  padding: 64px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.quote-icon {
  font-size: 120px;
  color: var(--tan-gold);
  line-height: 1;
  opacity: 0.3;
  font-family: Georgia, serif;
  position: absolute;
  top: 32px;
  left: 48px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--white);
  margin-bottom: 32px;
  position: relative;
}

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

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.author-info {
  font-size: 14px;
  color: var(--white);
  opacity: 0.7;
}

/* Highlights Section */
.highlights {
  padding: 120px 0 0;
  background: var(--cream-light);
}

.highlights-hero {
  margin-bottom: 80px;
  border-radius: 24px;
  overflow: hidden;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.highlights-hero img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 120px;
}

.highlight-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.highlight-card:hover {
  transform: translateY(-4px);
}

.highlight-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.highlight-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.highlight-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.3;
}

.highlight-content p {
  font-size: 14px;
  color: var(--text-gray);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.5;
}

/* Pricing Section */
.pricing {
  padding: 120px 0;
  background: var(--cream-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  border: 2px solid var(--cream);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
}

.pricing-card.featured {
  background: var(--white);
  color: var(--text-dark);
  border: 3px solid #ff6b35;
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.2);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ff6b35 0%, #8b5cf6 100%);
}

.pricing-card.featured::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ff6b35 0%, #8b5cf6 100%);
}

.pricing-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.pricing-card.featured:hover {
  transform: scale(1.08);
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-header h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.3;
}

.pricing-card.featured h4 {
  color: var(--text-dark);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.amount {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.1;
}

.pricing-card.featured .amount {
  color: var(--text-dark);
}

.period {
  font-size: 16px;
  color: var(--text-gray);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.pricing-card.featured .period {
  color: var(--text-gray);
  opacity: 0.7;
}

.pricing-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 24px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.pricing-card.featured > p {
  color: var(--text-gray);
  opacity: 0.85;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.5;
}

.pricing-features li span {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.pricing-features svg {
  color: var(--tan-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* FAQ Section */
.faq {
  padding: 120px 0;
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.faq-image {
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.faq-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--cream-light);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item.active {
  background: var(--brown-dark);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.faq-item.active .faq-question {
  color: var(--white);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--tan-gold);
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 24px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--white);
  opacity: 0.85;
}

/* CTA Section */
.cta {
  position: relative;
  padding: 120px 0;
  background: var(--brown-dark);
  color: var(--white);
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.25;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-content {
  position: relative;
  max-width: 600px;
}

.cta-content h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}

.cta-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* Footer */
.footer {
  background: var(--brown-dark);
  color: var(--white);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-logo svg {
  color: var(--tan-gold);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.8;
  margin-bottom: 24px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.contact-item svg {
  color: var(--tan-gold);
  flex-shrink: 0;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--tan-gold);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: var(--white);
  opacity: 0.5;
}

.newsletter-form button {
  padding: 12px 16px;
  background: var(--tan-gold);
  border: none;
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: var(--brown-medium);
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tan-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.social-links a:hover {
  background: var(--brown-medium);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.7;
  gap: 2rem;
}

.footer-bottom-left p {
  margin: 0;
  line-height: 1.6;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-right .newsletter-form {
  margin: 0;
}

.footer-bottom-right .social-links {
  display: flex;
  gap: 0.5rem;
  margin: 0;
}

/* Timetable Filters - Modern Design */
.timetable-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-select {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 14px 40px 14px 16px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Inter', 'Popparis', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2c3e50;
  background: white;
  border: 1.5px solid #e1e8ed;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232c3e50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
}

.filter-select:hover {
  border-color: #2EC4B6;
  background-color: #fafbfc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 196, 182, 0.15);
}

.filter-select:focus {
  border-color: #2EC4B6;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.1);
}

.filter-select:active {
  transform: translateY(0);
}

.filter-select option {
  padding: 12px;
  font-weight: 500;
  color: #2c3e50;
}

/* Mobile responsive - 2 filters per row */
@media (max-width: 768px) {
  .timetable-filters {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .filter-select {
    padding: 12px 36px 12px 14px;
    font-size: 14px;
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .timetable-filters {
    padding: 0.875rem;
    gap: 0.625rem;
  }
  
  .filter-select {
    padding: 11px 34px 11px 12px;
    font-size: 13px;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {

  .section-header h2 {
    font-size: 36px;
  }

  .classes-grid,
  .instructors-grid,
  .highlights-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }

  .header-content {
    gap: 12px;
  }

  .logo {
    margin-right: auto;
  }

  .header-logo-img {
    height: 36px;
    max-width: 140px;
  }

  .mobile-menu-btn {
    display: flex;
    order: 3;
    z-index: 1001;
    position: relative;
  }

  .header-actions {
    gap: 8px;
    order: 2;
    margin-left: 0;
  }

  .nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: none;
    z-index: 999;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* Book Now button - icon only on mobile */
  .btn-book-now span {
    display: none;
  }

  .btn-book-now {
    padding: 10px;
    min-width: 40px;
    justify-content: center;
  }

  /* Login button - compact */
  .btn-login {
    padding: 10px 16px;
    font-size: 13px;
  }

  /* Profile toggle - compact */
  .user-profile-name {
    display: none;
  }

  .user-profile-toggle {
    padding: 8px;
    min-width: 40px;
  }

  .user-dropdown-arrow {
    display: none;
  }

  /* Profile menu - adjust positioning */
  .user-profile-menu {
    right: -8px;
    min-width: 220px;
  }


  .section-header h2 {
    font-size: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-images {
    order: -1;
  }

  .classes-grid,
  .instructors-grid,
  .highlights-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .instructors-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .faq-image {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    align-items: center;
  }
  
  .footer-bottom-left {
    text-align: center;
  }
  
  .footer-bottom-right {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
  }
  
  .footer-bottom-right .newsletter-form {
    width: 100%;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .testimonial-card {
    padding: 40px 24px;
  }

  .quote-icon {
    font-size: 80px;
    top: 24px;
    left: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .stat-number {
    font-size: 36px;
  }

  .header-logo-img {
    height: 3em;
  }

  .header-actions {
    gap: 6px;
  }

  .btn-book-now,
  .btn-login,
  .user-profile-toggle {
    padding: 8px;
    min-width: 36px;
  }

  .btn-login {
    font-size: 12px;
    padding: 8px 12px;
  }
}
