/*
Theme Name: RDT121 Driving School Custom Theme
Theme URI: https://rdt121.com/
Description: Custom, high-performance, premium, and SEO-optimized theme for RDT121 Driving School in Sydney. Features direct booking forms, local SEO templates, and modern responsive layouts.
Version: 1.0.0
Author: Antigravity
Text Domain: rdt121
*/

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  /* Color Palette */
  --primary: #FFAD0A;         /* Premium Amber Gold (Caution/L-Plate theme) */
  --primary-hover: #E59500;
  --primary-light: #FFF8EB;
  --secondary: #FF3B30;       /* NSW P-Plate Red */
  --secondary-hover: #D62F26;
  --success: #34C759;         /* P2 Green */
  --dark: #0F172A;            /* Slate 900 */
  --dark-soft: #1E293B;       /* Slate 800 */
  --dark-card: #2B3A54;
  --light: #F8FAFC;           /* Slate 50 */
  --white: #FFFFFF;
  --text: #334155;            /* Slate 700 */
  --text-muted: #64748B;      /* Slate 500 */
  --text-light: #94A3B8;      /* Slate 400 */
  --border: #E2E8F0;          /* Slate 200 */
  
  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);
  
  /* Layout & Spacing */
  --container-width: 1200px;
  
  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  --shadow-primary: 0 10px 15px -3px rgba(255, 173, 10, 0.3);
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

/* --- CONTAINERS & SECTIONS --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.section-bg {
  background-color: var(--light);
}

.section-dark {
  background-color: var(--dark);
  color: var(--white);
}
.section-dark h2, 
.section-dark h3, 
.section-dark h4 {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-top: 16px;
}

.section-dark .section-header p {
  color: var(--text-light);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--dark);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -3px rgba(255, 173, 10, 0.4);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--dark);
}

.btn-outline:hover {
  background-color: var(--light);
  border-color: var(--dark);
  transform: translateY(-2px);
}

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

.btn-dark:hover {
  background-color: var(--dark-soft);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: var(--light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn:active {
  transform: translateY(0);
}

/* --- BADGES & ACCENTS --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  gap: 6px;
}

.badge-warning {
  background-color: #FFF3CD;
  color: #856404;
}

.badge-success {
  background-color: #D4EDDA;
  color: #155724;
}

.badge-primary {
  background-color: var(--primary-light);
  color: #B27500;
}

.accent-text {
  color: var(--primary);
}

/* --- HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background-color: #0F172A;
  border-bottom: 1px solid #1E293B;
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img,
.logo img {
  height: 48px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  border: none !important;
  border-radius: 0 !important;
}

.footer-col .logo-img,
.footer-col .logo img {
  height: 52px;
  max-width: 250px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  white-space: nowrap;
}

.mobile-only-cta {
  display: none !important;
}

.nav-menu a {
  font-weight: 600;
  font-size: 0.9rem;
  color: #CBD5E1 !important;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  text-decoration: none;
}

.nav-menu a:hover, 
.nav-menu .current-menu-item a {
  color: #FFAD0A !important;
}

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

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
  width: 100%;
}

/* --- SUBMENU & DROPDOWN STYLING --- */
.nav-menu .menu-item-has-children {
  position: relative;
}

.nav-menu .dropdown-arrow {
  font-size: 0.8rem;
  margin-left: 4px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.nav-menu .menu-item-has-children:hover .dropdown-arrow,
.nav-menu .menu-item-has-children.active-dropdown .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  min-width: 230px;
  max-height: 420px;
  overflow-y: auto;
  padding: 8px 0;
  z-index: 10000;
  list-style: none;
  margin: 8px 0 0 0;
}

@media (min-width: 769px) {
  .nav-menu .menu-item-has-children:hover > .sub-menu,
  .nav-menu .menu-item-has-children.active-dropdown > .sub-menu {
    display: block;
  }
}

.nav-menu .sub-menu li {
  width: 100%;
  border: none;
}

.nav-menu .sub-menu a {
  display: block;
  padding: 10px 20px;
  color: #CBD5E1 !important;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu a:focus {
  background-color: #FFAD0A;
  color: #0F172A !important;
  font-weight: 700;
  padding-left: 24px;
}

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

.header-whatsapp-btn {
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  border: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.header-whatsapp-btn:hover {
  background-color: #20ba5a !important;
  transform: translateY(-2px);
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1877F2 !important;
  color: #FFFFFF !important;
  border: none !important;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.header-social-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.header-book-btn {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #FFFFFF;
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--dark);
  color: var(--text-light);
  border-top: 1px solid var(--dark-soft);
  padding-top: 80px;
}

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

.footer-col h4 {
  font-size: 1.125rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-light);
  transition: var(--transition);
}

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

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--dark-soft);
  color: var(--white);
  transition: var(--transition);
}

.social-btn:hover {
  background-color: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-suburbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--dark-soft);
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 173, 10, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(255, 59, 48, 0.04) 0%, transparent 50%),
              var(--white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: #B27500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 173, 10, 0.2);
  max-width: 100%;
}

.hero-stars {
  white-space: nowrap !important;
  flex-shrink: 0;
  letter-spacing: 2px;
  display: inline-block;
}

.hero-title {
  font-family: 'Outfit', 'Montserrat', 'Inter', sans-serif !important;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  width: 100%;
}

.hero-btn-main {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(255, 173, 10, 0.35);
  background: linear-gradient(135deg, #FFAD0A 0%, #F59E0B 100%);
  color: #0F172A !important;
  text-decoration: none;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 173, 10, 0.45);
}

.hero-secondary-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.hero-btn-wa, .hero-btn-sms {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.hero-btn-wa {
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  border: none !important;
}

.hero-btn-sms {
  background-color: #F1F5F9 !important;
  color: #1E293B !important;
  border: 1px solid var(--border) !important;
}

.hero-btn-wa:hover, .hero-btn-sms:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  width: 100%;
}

.stat-item {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.stat-item h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2px;
  line-height: 1.2;
}

.stat-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  width: 100%;
}

.hero-bg-blob {
  position: absolute;
  width: 120%;
  height: 120%;
  background: var(--primary);
  filter: blur(80px);
  opacity: 0.15;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.hero-review-card {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background-color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 4px solid var(--primary);
  animation: float 6s ease-in-out infinite;
}

.review-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--dark);
}

.review-card-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.review-card-info h5 {
  font-size: 0.95rem;
}

/* --- QUICK SERVICES BAR --- */
.services-bar {
  background-color: var(--dark);
  color: var(--white);
  padding: 32px 0;
  position: relative;
  z-index: 10;
}

.services-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.bar-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bar-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--dark-soft);
  color: var(--primary);
}

.bar-item-content h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.bar-item-content p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- REVIEWS SECTION --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.review-card {
  background-color: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.review-stars {
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 24px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-muted);
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-info h5 {
  font-size: 0.95rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- TEST CENTRES GRID --- */
.centres-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.centre-card {
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.centre-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--border);
  transition: var(--transition);
}

.centre-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.centre-card:hover::before {
  background-color: var(--primary);
}

.centre-card h4 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.centre-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.centre-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.centre-link:hover {
  color: var(--primary-hover);
}

/* --- OUR PROGRAMS SECTION --- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.program-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.program-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 55%; /* 1.8:1 aspect ratio */
  overflow: hidden;
}

.program-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

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

.program-content h4 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.program-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1;
}

/* --- WHY CHOOSE US SECTION --- */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background-color: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.why-card h4 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- ABOUT INTRO GRID --- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

/* --- PACKAGES & PRICING --- */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.pricing-tab-btn {
  padding: 12px 24px;
  border: 1px solid var(--border);
  background-color: var(--white);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.pricing-tab-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.price-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  flex: 0 1 calc(33.333% - 22px);
  min-width: 300px;
}

.price-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.price-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.price-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.price-value {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
}

.price-value h2 {
  font-size: 3rem;
  color: var(--dark);
}

.price-value span {
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}

.price-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

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

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.price-features svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 4px;
}

.price-btn {
  width: 100%;
}

/* --- YOUTUBE GRID --- */
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.youtube-card {
  background-color: var(--dark-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
}

.youtube-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 173, 10, 0.3);
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-info {
  padding: 24px;
}

.youtube-info h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

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

/* --- BOOKING ENQUIRY FORM --- */
.booking-section {
  position: relative;
}

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

.booking-info h2 {
  margin-bottom: 24px;
}

.booking-info p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 40px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.channel-card:hover {
  transform: translateX(4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
}

.channel-icon.phone { background-color: var(--primary); color: var(--dark); }
.channel-icon.whatsapp { background-color: #25D366; }
.channel-icon.sms { background-color: var(--dark); }

.channel-info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.channel-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-muted);
}

.channel-info a {
  font-weight: 700;
  color: var(--dark);
}

.booking-form-wrapper {
  background-color: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 173, 10, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
}

.form-response-msg {
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 24px;
  font-weight: 600;
  display: none;
}

.form-response-msg.success {
  background-color: #D4EDDA;
  color: #155724;
  border: 1px solid #C3E6CB;
  display: block;
}

.form-response-msg.error {
  background-color: #F8D7DA;
  color: #721C24;
  border: 1px solid #F5C6CB;
  display: block;
}

/* --- LOCATION SEO PAGE --- */
.location-hero {
  background-color: var(--dark);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.location-hero-content {
  max-width: 800px;
}

.location-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.location-hero p {
  font-size: 1.2rem;
  color: var(--text-light);
}

.location-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  margin-top: 64px;
}

.location-main h3 {
  margin: 32px 0 16px;
}

.location-main p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.location-pitfalls {
  background-color: #FFF8EB;
  border-left: 4px solid var(--primary);
  padding: 32px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 40px 0;
}

.location-pitfalls h4 {
  color: #856404;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-pitfalls ul {
  list-style-type: none;
}

.location-pitfalls li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.location-pitfalls li::before {
  content: '⚠️';
  position: absolute;
  left: 0;
  top: 0;
}

.location-sidebar-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 104px;
}

.location-sidebar-card h4 {
  margin-bottom: 16px;
}

.sidebar-info-list {
  list-style: none;
  margin-bottom: 24px;
}

.sidebar-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.sidebar-info-list li:last-child {
  border-bottom: 0;
}

/* --- FAQ ACCORDION --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--light);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--light);
  color: var(--dark);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--primary);
  color: var(--dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background-color: var(--white);
}

.faq-answer-inner {
  padding: 0 24px 24px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

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

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-grid, .booking-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-review-card {
    left: 24px;
    bottom: -16px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-card {
    flex: 0 1 calc(50% - 16px);
  }
  .centres-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .location-grid {
    grid-template-columns: 1fr;
  }
  .location-sidebar-card {
    position: static;
  }
}

/* --- ABOUT PAGE RESPONSIVE LAYOUTS --- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
  width: 100%;
}

.about-intro-text {
  width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.about-meaning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

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

@media (max-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .about-meaning-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .about-youtube-box {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

@media (max-width: 480px) {
  .about-intro-grid {
    padding: 0 4px;
  }
  .about-intro-text p {
    font-size: 0.975rem !important;
    line-height: 1.65 !important;
  }
  .about-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

@media (max-width: 768px) {
  .header-actions {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #FFFFFF !important;
    flex-direction: column;
    padding: 24px 28px 40px;
    align-items: stretch;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    overflow-y: auto;
    border-top: 1px solid #E2E8F0;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #F1F5F9;
  }
  .nav-menu li:last-child {
    border-bottom: none;
  }
  .nav-menu a {
    color: #0F172A !important;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 14px 16px;
    display: block;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
    border-radius: 8px;
    border-left: none !important;
  }
  .nav-menu a:hover,
  .nav-menu a:focus,
  .nav-menu .current-menu-item a {
    color: #0F172A !important;
    background-color: #F1F5F9 !important;
    border-left: none !important;
    padding-left: 16px !important;
  }
  .nav-menu a::after {
    display: none !important;
  }
  .mobile-only-cta {
    display: none !important;
  }

  /* Mobile Submenu Dropdown Styling */
  .nav-menu .sub-menu {
    position: static;
    display: none !important;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    margin: 8px 0 12px 0;
    padding: 6px 0;
    max-height: none;
    width: 100%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
    list-style: none;
  }
  .nav-menu .menu-item-has-children.active-dropdown > .sub-menu {
    display: block !important;
  }
  .nav-menu .sub-menu li {
    width: 100%;
    border-bottom: 1px solid #F1F5F9;
  }
  .nav-menu .sub-menu li:last-child {
    border-bottom: none;
  }
  .nav-menu .sub-menu a {
    color: #1E293B !important;
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    border-radius: 0 !important;
    border-left: none !important;
  }
  .nav-menu .sub-menu a:hover,
  .nav-menu .sub-menu a:focus {
    color: #0F172A !important;
    background-color: #E2E8F0 !important;
    font-weight: 700 !important;
    border-left: none !important;
    padding-left: 20px !important;
  }
  .reviews-grid, .youtube-grid, .centres-grid, .programs-grid, .why-choose-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .gallery-img-wrapper {
    height: 320px !important;
  }
  .gallery-card-info {
    padding: 20px !important;
  }
  .price-card {
    flex: 0 1 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .pricing-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .pricing-tab-btn {
    text-align: center;
  }
  .booking-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }
  .booking-form-wrapper {
    padding: 24px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .booking-form-wrapper form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .booking-form-wrapper .form-control,
  .booking-form-wrapper select,
  .booking-form-wrapper input,
  .booking-form-wrapper textarea {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .booking-form-wrapper div[style*="display:grid"],
  .booking-form-wrapper div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* --- HERO VIDEO EXTENSIONS --- */
.hero-video-box {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  background-color: var(--dark);
}
.hero-video-box .video-container {
  padding-top: 56.25%;
  position: relative;
}

/* --- STUDENT SUCCESS GALLERY --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.gallery-card {
  background-color: var(--dark-soft, #1E293B);
  border-radius: var(--radius-md, 16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.5);
  border-color: var(--primary, #FFAD0A);
}
.gallery-img-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: #0F172A;
}
.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.05);
}
.gallery-card-info {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}
.gallery-card-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 10px 0 6px;
}
.gallery-card-info p {
  font-size: 0.9rem;
  color: #94A3B8 !important;
  line-height: 1.5;
  margin: 0;
}

.fb-community-box {
  text-align: center;
  background-color: var(--dark-soft, #1E293B);
  padding: 36px 28px;
  border-radius: var(--radius-md, 16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin: 0 auto;
}
.fb-community-box h4 {
  font-size: 1.25rem;
  color: #FFFFFF !important;
  margin-bottom: 8px;
}
.fb-community-box p {
  color: #94A3B8 !important;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.fb-btn {
  background-color: #1877F2 !important;
  border-color: #1877F2 !important;
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md, 12px);
  font-weight: 700;
}

/* --- BOOKING ENQUIRY & CONTACT CHANNELS --- */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: var(--dark-soft, #1E293B);
  border-radius: var(--radius-md, 12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.channel-card:hover {
  transform: translateX(4px);
  border-color: var(--primary, #FFAD0A);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}

.channel-icon.sms { background-color: #0F172A; border: 1px solid rgba(255,255,255,0.15); }
.channel-icon.whatsapp { background-color: #25D366; }
.channel-icon.phone { background-color: #FFAD0A; color: #0F172A; }

.channel-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 2px;
}

.channel-info p {
  font-size: 0.875rem;
  color: #94A3B8 !important;
  margin: 0;
}

.channel-info a {
  color: #FFAD0A !important;
  font-weight: 700;
  text-decoration: none;
}

.phone-no {
  white-space: nowrap !important;
  display: inline-block;
  font-weight: 700;
  margin-top: 3px;
}

.booking-form-wrapper {
  background-color: #172033;
  padding: 42px;
  border-radius: var(--radius-lg, 20px);
  border: 1.5px solid rgba(255, 173, 10, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #E2E8F0 !important;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: #0F172A !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-sm, 8px);
  color: #FFFFFF !important;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #FFAD0A !important;
  box-shadow: 0 0 0 3px rgba(255, 173, 10, 0.2) !important;
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 800;
  background-color: #FFAD0A !important;
  color: #0F172A !important;
  border: none !important;
  border-radius: var(--radius-md, 12px);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 173, 10, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.form-submit-btn:hover {
  background-color: #e59b09 !important;
  transform: translateY(-2px);
}

/* --- FEATURED PACKAGE CARD STYLES --- */
.price-card.featured-card {
  border: 2px solid var(--primary, #FFAD0A) !important;
  box-shadow: 0 15px 30px rgba(255, 173, 10, 0.25) !important;
  transform: scale(1.02);
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFAD0A;
  color: #0F172A;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(255, 173, 10, 0.4);
}

/* --- AVAILABILITY SECTION & MOBILE FORM STYLING --- */
.availability-section {
  margin: 28px 0;
  background: rgba(15, 23, 42, 0.6);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.availability-section h4 {
  color: #FFFFFF !important;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.availability-section p {
  color: #94A3B8 !important;
  font-size: 0.85rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.day-row {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.day-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.day-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.day-name {
  color: #FFFFFF !important;
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 90px;
}

.day-options {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: #CBD5E1 !important;
  align-items: center;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.radio-label input[type="radio"] {
  accent-color: #FFAD0A;
  margin: 0;
  cursor: pointer;
}

.time-range-inputs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
  width: 100%;
}

.time-range-inputs .form-control-sm {
  font-size: 0.825rem !important;
  padding: 8px 10px !important;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

.time-range-inputs .range-to {
  color: #94A3B8 !important;
  font-size: 0.8rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .booking-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  .booking-form-wrapper {
    padding: 20px 14px !important;
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .booking-form-wrapper form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .availability-section {
    padding: 14px 10px !important;
    margin: 20px 0 !important;
    border-radius: 10px !important;
  }

  .day-row-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .day-name {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
  }

  .day-options {
    width: 100% !important;
    display: flex !important;
    justify-content: space-around !important;
    gap: 4px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    padding: 8px 6px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-sizing: border-box !important;
  }

  .radio-label {
    font-size: 0.775rem !important;
    gap: 3px !important;
    white-space: nowrap !important;
  }

  .time-range-inputs {
    width: 100% !important;
    gap: 6px !important;
  }

  .time-range-inputs .form-control-sm {
    padding: 6px 8px !important;
    font-size: 0.775rem !important;
  }

  .form-submit-btn {
    width: 100% !important;
    font-size: 0.875rem !important;
    padding: 14px 10px !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
  }
}

/* --- LOCATION SEO PAGE MOBILE RESPONSIVE STYLING --- */
@media (max-width: 768px) {
  .location-hero {
    padding: 48px 0 36px !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  
  .location-hero-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .location-hero-content h1 {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  .location-hero-content p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  .location-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-top: 32px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .location-main {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .location-main h2,
  .location-main h3 {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  .location-pitfalls {
    padding: 20px 16px !important;
    margin: 28px 0 !important;
    box-sizing: border-box !important;
  }

  .standalone-comparison-banner {
    padding: 20px 16px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .location-main div[style*="display:grid"],
  .location-main div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .location-main div[style*="grid-column: span 2"],
  .location-main div[style*="grid-column:span 2"] {
    grid-column: span 1 !important;
  }

  .location-course-title {
    font-size: 0.925rem !important;
    line-height: 1.3 !important;
  }

  .location-sidebar-card {
    padding: 20px 16px !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  #book-now h2 {
    font-size: 1.5rem !important;
  }
}

/* --- RESPONSIVE FORM GRID UTILITIES --- */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.booking-form-wrapper .form-control::placeholder {
  color: #94A3B8 !important;
  opacity: 1;
}

@media (max-width: 600px) {
  .logo-img,
  .logo img {
    height: 38px !important;
    max-width: 170px !important;
  }
}




