/* ==========================================================================
   CSS DESIGN SYSTEM & STYLING - COACHING ACADEMY
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --bg-primary: #0f172a;       /* Deep Navy Slate 900 */
  --bg-secondary: #1e293b;     /* Slate 800 */
  --bg-tertiary: #0b0f19;      /* Darker Slate */
  --accent: #f59e0b;           /* Energizing Amber/Yellow */
  --accent-hover: #d97706;     /* Amber 600 */
  --accent-glow: rgba(245, 158, 11, 0.35);
  --accent-glow-subtle: rgba(245, 158, 11, 0.1);
  --text-primary: #f8fafc;     /* Slate 50 */
  --text-secondary: #94a3b8;   /* Slate 400 */
  --text-muted: #64748b;       /* Slate 500 */
  
  /* Fonts */
  --font-headings: 'Outfit', 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions & Shadows */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glow-shadow: 0 0 25px var(--accent-glow-subtle);
  --glow-shadow-hover: 0 0 35px var(--accent-glow);
  
  /* Container sizes */
  --container-max-w: 1200px;
}

/* Base resets & styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

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

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--container-max-w);
  margin: 0 auto;
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .container {
    padding: 3rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 2.5rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
}

/* Glassmorphism helpers */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

/* Premium Card Base */
.premium-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  transition: var(--transition-smooth);
}

.premium-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: var(--glow-shadow-hover), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.premium-card:hover::before {
  transform: translateX(100%);
}

/* Button & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  min-height: 48px; /* Touch target size */
  text-align: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

.btn-secondary:hover {
  background-color: rgba(245, 158, 11, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-fast);
}

.header.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
  width: 90%;
  max-width: var(--container-max-w);
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--bg-tertiary);
  z-index: 1001;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.mobile-nav.open {
  transform: translateX(-125%); /* Moves the right aligned menu into view */
}

.mobile-nav-close {
  align-self: flex-end;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  list-style: none;
}

.mobile-nav-links a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-nav-links a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.mobile-nav-cta {
  margin-top: auto;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

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

/* Grid & Radial Glow background */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(30, 41, 59, 0.6) 0%, transparent 60%),
    linear-gradient(to bottom, var(--bg-primary), var(--bg-tertiary));
  z-index: -2;
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  z-index: -1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.05);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, #ffe082 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* Image Showcase */
.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-image-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 4 / 3;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-image-wrapper:hover .hero-image-frame img {
  transform: scale(1.05);
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  padding: 1.25rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  animation: float 4s ease-in-out infinite;
  z-index: 10;
}

.floating-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent);
  color: var(--bg-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.floating-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.floating-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .hero h1 {
    font-size: 2.75rem;
  }
  .hero-image-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero-desc {
    font-size: 1.1rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-floating-card {
    left: 10px;
    right: 10px;
    bottom: -15px;
  }
}

/* ==========================================================================
   2. JS ANIMATED STATS BAR
   ========================================================================== */
.stats-bar {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 5;
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  padding: 3rem 0;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.5rem;
    padding: 2.5rem 0;
  }
  .stat-number {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   3. COURSE CATALOG (INTERACTIVE TABS)
   ========================================================================== */
.courses-section {
  background-color: var(--bg-tertiary);
  position: relative;
}

.tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  position: relative;
}

.tab-btn {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  min-height: 48px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.tab-btn:hover {
  color: var(--text-primary);
  border-color: rgba(245, 158, 11, 0.2);
}

.tab-btn.active {
  background-color: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.tabs-content {
  position: relative;
  min-height: 400px;
}

.tab-panel {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-panel.active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

/* Course Card styling */
.course-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: var(--glow-shadow-hover), 0 20px 40px rgba(0, 0, 0, 0.45);
}

.course-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.course-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.course-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1rem;
}

.course-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
}

.course-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.course-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.course-highlights li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.course-highlights svg {
  color: var(--accent);
  flex-shrink: 0;
}

.course-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(15, 23, 42, 0.2);
}

.course-timing {
  display: flex;
  flex-direction: column;
}

.timing-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.timing-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .tabs-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0 1rem;
  }
  
  .tab-btn {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .tab-panel {
    grid-template-columns: 1fr;
  }
  .course-img {
    height: 180px;
  }
  .course-body {
    padding: 1.5rem;
  }
  .course-footer {
    padding: 1.25rem 1.5rem 1.5rem;
  }
}

/* ==========================================================================
   4. "BOOK A DEMO CLASS" REGISTRATION FORM
   ========================================================================== */
.booking-section {
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.booking-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background-image: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.booking-info h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.booking-info h2 span {
  color: var(--accent);
}

.booking-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.booking-perks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.perk-item {
  display: flex;
  gap: 1rem;
}

.perk-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.perk-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.perk-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Glassmorphic Form */
.booking-form-wrapper {
  width: 100%;
}

.booking-form-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), var(--glow-shadow);
  transition: var(--transition-smooth);
}

.booking-form-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5), var(--glow-shadow-hover);
}

.booking-form-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-align: center;
}

.booking-form-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  padding: 0.875rem 1.25rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition-fast);
  width: 100%;
  min-height: 48px; /* Touch target */
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
  background: rgba(15, 23, 42, 0.85);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

select.form-control option {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.booking-form-card .btn {
  width: 100%;
  margin-top: 1rem;
}

@media (max-width: 992px) {
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .booking-info {
    text-align: center;
  }
  .booking-info p {
    margin-left: auto;
    margin-right: auto;
  }
  .booking-perks {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .booking-form-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   5. MEET OUR EXPERT FACULTY
   ========================================================================== */
.faculty-section {
  background-color: var(--bg-tertiary);
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.faculty-card {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.faculty-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: var(--glow-shadow-hover), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.faculty-img-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  background-color: var(--bg-tertiary);
}

.faculty-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.faculty-card:hover .faculty-img-wrapper img {
  transform: scale(1.05);
}

.faculty-glow-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 50%, transparent 100%);
  z-index: 1;
}

.faculty-card-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
}

.faculty-card-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faculty-card-info p.title {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.faculty-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
  background-color: var(--bg-secondary);
}

.faculty-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.faculty-meta svg {
  color: var(--accent);
  flex-shrink: 0;
}

.faculty-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .faculty-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
  }
  .faculty-img-wrapper {
    height: 260px;
  }
}

/* ==========================================================================
   6. JS FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
  background-color: var(--bg-primary);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.faq-item.active {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: var(--glow-shadow), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  min-height: 48px;
}

.faq-question {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-icon-box {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-box {
  background-color: var(--accent);
  color: var(--bg-primary);
}

.faq-icon-box svg {
  transition: transform 0.4s ease;
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(15, 23, 42, 0.15);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 1rem;
  }
}

/* ==========================================================================
   7. LOCATION & CONTACT
   ========================================================================== */
.contact-section {
  background-color: var(--bg-tertiary);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  display: flex;
  gap: 1.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: var(--glow-shadow), 0 15px 30px rgba(0, 0, 0, 0.3);
}

.contact-icon {
  width: 54px;
  height: 54px;
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.contact-info-card:hover .contact-icon {
  background-color: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 0 15px var(--accent);
}

.contact-info-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-info-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-info-text a {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--accent);
  font-weight: 600;
}

.contact-info-text a:hover {
  text-decoration: underline;
}

.map-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 350px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   8. PREMIUM FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-tertiary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--accent);
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom .creator-credit {
  color: var(--text-secondary);
  font-weight: 600;
}

.footer-bottom .creator-credit span {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer {
    padding-top: 4rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Scroll Animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
