/*
 * NEUROTHERAPY EXPERT - STYLESHEET
 * Premium modern healthcare & wellness aesthetic.
 * Responsive, fast, accessible.
 */

/* ----------------------------------------------------
   1. IMPORTS & FONTS
---------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ----------------------------------------------------
   2. VARIABLES & THEME TOKENS
---------------------------------------------------- */
:root {
  /* Colors */
  --primary-teal: #1f6f61;                  /* Premium Teal */
  --primary-teal-light: #2c8e7e;
  --primary-teal-dark: #12493f;             /* Dark Teal */
  --accent-gold: #d98b2b;                   /* Gold/Orange Accent */
  --accent-gold-hover: #b8711e;
  --accent-blue: #7dd3fc;
  
  --bg-cream: #f6fbf8;                      /* Soft Cream Background */
  --bg-white: #ffffff;
  --bg-teal-mist: #eaf8f1;                  /* Light Mint Section Background */
  
  --text-dark: #173b34;                     /* Dark Charcoal Text */
  --text-muted: #66788a;
  --text-light: #ffffff;
  
  /* Borders, Shadows, and Radii */
  --border-color: #dbe9e4;
  --radius-sm: 10px;
  --radius-md: 22px;                         /* Premium rounded border radius */
  --radius-lg: 32px;
  --shadow-sm: 0 4px 10px rgba(18, 73, 63, 0.04);
  --shadow-md: 0 10px 24px rgba(18, 73, 63, 0.08);
  --shadow-lg: 0 20px 50px rgba(18, 73, 63, 0.12); /* Soft shadow token */
  --shadow-gold: 0 8px 24px rgba(217, 139, 43, 0.18);
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

body.menu-open, body.modal-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-teal-dark);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

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

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

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

/* ----------------------------------------------------
   4. UTILITY CLASSES
---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

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

.section-title-wrapper {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  color: var(--accent-gold);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  font-size: 15px;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-teal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent-gold);
  color: var(--text-light);
  box-shadow: var(--shadow-gold);
}

.btn-accent:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.btn-secondary:hover {
  background-color: var(--primary-teal);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary-teal);
}

.btn-white:hover {
  background-color: var(--bg-teal-mist);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--text-light);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
}

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

/* ----------------------------------------------------
   5. HEADER & NAVIGATION
---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 118, 110, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--primary-teal-dark);
}

.logo-icon {
  width: 32px;
  height: 32px;
  fill: var(--accent-gold);
}

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

.nav-links > li > a {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14.5px;
  position: relative;
  padding: 6px 0;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--primary-teal);
}

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

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  width: 100%;
}

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

.header-ctas .btn {
  padding: 8px 16px;
  font-size: 13px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.mobile-only-ctas-item {
  display: none;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-teal);
  border-radius: 3px;
  position: absolute;
  transition: var(--transition-smooth);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* ----------------------------------------------------
   6. HERO SECTION
---------------------------------------------------- */
.hero-section {
  padding-top: 60px;
  padding-bottom: 90px;
  background: linear-gradient(135deg, var(--bg-cream), var(--bg-teal-mist));
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
}

.hero-content {
  max-width: 680px;
}

.hero-headline {
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-teal-dark);
}

.hero-subheadline {
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 35px;
}

.trust-points-container {
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.trust-points-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  list-style: none;
}

.trust-points-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
}

.trust-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* Premium Visual Card with Floating Cards */
.hero-graphic-container {
  position: relative;
  width: 100%;
}

.hero-visual-card {
  position: relative;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-gradient {
  position: absolute;
  top: 12%;
  left: 12%;
  right: 12%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(31, 111, 97, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-main-img {
  max-width: 85%;
  height: auto;
  z-index: 2;
  position: relative;
  animation: float-main 6s ease-in-out infinite;
}

/* Floating Mini Cards */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(18, 73, 63, 0.08);
  z-index: 10;
}

.floating-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-teal-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-teal);
}

.floating-text h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  color: var(--primary-teal-dark);
  line-height: 1.2;
}

.floating-text p {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.2;
}

/* Individual positions & animations */
.float-card-1 {
  top: 10%;
  left: -8%;
  animation: float-y 5s ease-in-out infinite;
}

.float-card-2 {
  bottom: 12%;
  right: -8%;
  animation: float-y 6s ease-in-out infinite 0.5s;
}

.float-card-3 {
  bottom: 8%;
  left: -4%;
  animation: float-x 5.5s ease-in-out infinite 1s;
}

@keyframes float-main {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

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

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

/* ----------------------------------------------------
   7. QUICK CONTACT STRIP
---------------------------------------------------- */
.contact-strip {
  background-color: var(--primary-teal);
  color: var(--text-light);
  padding: 24px 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
  margin-top: -20px;
  border-radius: var(--radius-md);
}

.contact-strip-flex {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

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

.contact-strip-icon-box {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 20px;
}

.contact-strip-text span {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-strip-text p, .contact-strip-text a {
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ----------------------------------------------------
   8. ABOUT PREVIEW
---------------------------------------------------- */
.about-preview-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: var(--primary-teal);
  color: var(--text-light);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge h4 {
  color: var(--accent-gold);
  font-size: 24px;
}

.about-badge p {
  color: var(--text-light);
  font-size: 12px;
  margin-bottom: 0;
  text-transform: uppercase;
  font-weight: 500;
}

/* ----------------------------------------------------
   9. SERVICES SECTION
---------------------------------------------------- */
.services-bg {
  background-color: var(--bg-teal-mist);
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 118, 110, 0.2);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--bg-teal-mist);
  color: var(--primary-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background-color: var(--accent-gold);
  color: var(--text-light);
  transform: scale(1.05);
}

.service-title {
  font-size: 20px;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 14px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-enquire-btn {
  align-self: flex-start;
  font-weight: 600;
  color: var(--primary-teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.service-enquire-btn svg {
  transition: var(--transition-smooth);
}

.service-card:hover .service-enquire-btn {
  color: var(--accent-gold);
}

.service-card:hover .service-enquire-btn svg {
  transform: translateX(4px);
}

/* ----------------------------------------------------
   10. WHY CHOOSE US
---------------------------------------------------- */
.feature-card {
  display: flex;
  gap: 20px;
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 118, 110, 0.15);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--bg-teal-mist);
  color: var(--primary-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-card:hover .feature-icon-box {
  background-color: var(--primary-teal);
  color: var(--text-light);
}

.feature-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 13.5px;
  margin-bottom: 0;
}

/* ----------------------------------------------------
   11. YOUTUBE SECTION
---------------------------------------------------- */
.youtube-section-bg {
  background-color: var(--bg-teal-mist);
}

.youtube-channel-strip {
  background-color: var(--bg-white);
  padding: 20px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
}

.youtube-channel-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.youtube-logo-svg {
  color: #ff0000;
  width: 48px;
  height: 48px;
}

.youtube-channel-name {
  font-size: 18px;
  margin-bottom: 2px;
}

.youtube-channel-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.loading-spinner {
  text-align: center;
  font-size: 16px;
  color: var(--primary-teal);
  padding: 40px 0;
  grid-column: 1 / -1;
  font-weight: 500;
}

.video-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 118, 110, 0.15);
}

.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  overflow: hidden;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.video-card:hover .video-thumbnail {
  transform: scale(1.05);
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 118, 110, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.video-card:hover .video-play-overlay {
  background-color: rgba(15, 118, 110, 0.3);
  opacity: 1;
}

.video-play-button {
  width: 56px;
  height: 56px;
  background-color: var(--accent-gold);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: var(--transition-bounce);
}

.video-card:hover .video-play-button {
  transform: scale(1.15);
  background-color: var(--accent-gold-hover);
}

.video-info {
  padding: 20px;
}

.video-date {
  font-size: 12px;
  color: var(--accent-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.video-card-title {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ----------------------------------------------------
   12. APPOINTMENT FORM SECTION
---------------------------------------------------- */
.appointment-form-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.appointment-info .section-subtitle {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 12px;
}

.appointment-info .section-title {
  font-size: clamp(36px, 4.8vw, 50px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--primary-teal-dark);
  margin-bottom: 24px;
}

.appointment-info p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.appointment-features {
  list-style: none;
  margin-top: 30px;
}

.appointment-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 15.5px;
}

.appointment-features li svg {
  color: var(--primary-teal);
  background-color: var(--bg-teal-mist);
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(31, 111, 97, 0.08);
}

.appointment-card {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13.5px;
  color: var(--primary-teal-dark);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary-teal);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

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='%230f766e' width='18' height='18'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

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

.form-submit-btn {
  width: 100%;
  margin-top: 10px;
}

/* ----------------------------------------------------
   13. TESTIMONIALS SECTION
---------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
}

.testimonial-quote-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--bg-teal-mist);
  font-size: 60px;
  line-height: 1;
  pointer-events: none;
}

.rating-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--accent-gold);
}

.testimonial-text {
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  background-color: var(--primary-teal);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
}

.author-info h5 {
  font-size: 15px;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

/* ----------------------------------------------------
   14. LOCAL TRUST / GOOGLE BUSINESS SECTION
---------------------------------------------------- */
.local-trust-bg {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.local-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.local-trust-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.gmb-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-cream);
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.google-icon-svg {
  width: 24px;
  height: 24px;
}

.gmb-badge-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-teal-dark);
}

.local-trust-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.local-trust-ctas .btn {
  padding: 12px 24px;
  font-size: 14px;
}

.gmb-contact-mini {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.gmb-contact-mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.gmb-contact-mini-item svg {
  color: var(--primary-teal);
}

.map-embed-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-cream);
  aspect-ratio: 16 / 10;
  width: 100%;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----------------------------------------------------
   15. FAQ SECTION
---------------------------------------------------- */
/* ----------------------------------------------------
   15. FAQ SECTION
---------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  overflow: hidden;
  height: max-content;
}

.faq-item:hover {
  border-color: rgba(31, 111, 97, 0.15);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-item[open] {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-md);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.faq-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--bg-teal-mist);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.faq-item[open] .faq-icon-box {
  background-color: var(--primary-teal);
  color: var(--text-light);
}

.faq-question {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  line-height: 1.4;
}

.faq-toggle-icon {
  color: var(--accent-gold);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--primary-teal);
}

.faq-content {
  padding: 0 24px 20px 76px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  border-top: none;
}

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

@media (max-width: 600px) {
  .faq-summary {
    padding: 16px;
  }
  .faq-content {
    padding: 0 16px 16px 16px;
  }
}

/* ----------------------------------------------------
   16. FOOTER
---------------------------------------------------- */
.site-footer {
  background-color: var(--primary-teal-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 4px solid var(--accent-gold);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  max-width: 280px;
}

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

.social-icon-btn {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  background-color: var(--accent-gold);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

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

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.footer-contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-details svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-details a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-details a:hover {
  color: var(--text-light);
}

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

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

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

.footer-bottom p {
  margin-bottom: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ----------------------------------------------------
   17. STICKY MOBILE CTA BAR
---------------------------------------------------- */
.sticky-mobile-cta {
  display: none; /* Desktop hidden */
}

@media (max-width: 767px) {
  .sticky-mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    position: fixed;
    bottom: -80px; /* Hidden initially, main.js adds .visible on scroll */
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--bg-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--border-color);
  }
  
  .sticky-mobile-cta.visible {
    bottom: 0;
  }
  
  .sticky-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    gap: 2px;
    border-right: 1px solid var(--border-color);
  }
  
  .sticky-cta-btn svg {
    font-size: 18px;
  }
  
  .sticky-cta-btn:nth-child(1) svg { color: var(--primary-teal); }
  .sticky-cta-btn:nth-child(2) svg { color: #25d366; }
  
  .sticky-cta-btn.sticky-btn-accent {
    background-color: var(--accent-gold);
    color: var(--text-light);
    border-right: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 10px;
    text-align: center;
  }
  
  .sticky-cta-btn.sticky-btn-accent:hover {
    background-color: var(--accent-gold-hover);
  }

  /* Padding offset for body to prevent footer elements overlapping when scrolled to bottom */
  body {
    padding-bottom: 60px;
  }
}

/* ----------------------------------------------------
   18. VIDEO MODAL DIALOG STYLING
---------------------------------------------------- */
dialog#video-player-modal {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  width: 90%;
  background: transparent;
  padding: 0;
  margin: auto;
  overflow: visible;
  outline: none;
}

dialog#video-player-modal::backdrop {
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background-color: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  width: 32px;
  height: 32px;
}

@media (max-width: 767px) {
  .modal-close-btn {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 10;
  }
}

.modal-close-btn:hover {
  transform: rotate(90deg);
  color: var(--accent-gold);
}

.video-iframe-container {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----------------------------------------------------
   19. SCROLL REVEAL ANIMATIONS (CSS Native & Fallback)
---------------------------------------------------- */
.reveal-on-scroll {
  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-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Native CSS Scroll Driven Animations */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes fade-in-up {
      from {
        transform: translateY(40px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }
    
    .reveal-on-scroll {
      animation: fade-in-up auto linear forwards;
      animation-timeline: view();
      animation-range: entry 5% entry 35%;
      opacity: 1; /* Reset base style since animation handles starting opacity */
      transform: none;
      transition: none; /* Disable transition to prevent conflict with animation timeline */
    }
  }
}

/* ----------------------------------------------------
   20. INNER PAGE SPECIFIC STYLES
---------------------------------------------------- */
/* Inner Page Hero Header */
.page-header,
.inner-hero {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--bg-teal-mist);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-title,
.inner-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--primary-teal-dark);
  margin-bottom: 12px;
}

.page-desc,
.inner-hero p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto;
}

.inner-breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}

.inner-breadcrumbs li {
  color: var(--text-muted);
}

.inner-breadcrumbs li a {
  color: var(--primary-teal);
}

.inner-breadcrumbs li a:hover {
  color: var(--accent-gold);
}

.inner-breadcrumbs li::after {
  content: "/";
  margin-left: 8px;
  color: var(--text-muted);
  font-weight: 400;
}

.inner-breadcrumbs li:last-child::after {
  display: none;
}

/* About Inner Page */
.about-expert-section {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background-color: var(--bg-cream);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.value-card h4 {
  font-size: 18px;
  color: var(--primary-teal-dark);
  margin-bottom: 12px;
}

/* Contact Page specific */
.contact-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.contact-card-item {
  background-color: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  font-size: 24px;
  color: var(--primary-teal);
  margin-bottom: 12px;
}

.contact-card-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.contact-card-item p, .contact-card-item a {
  font-size: 13.5px;
  margin-bottom: 0;
  word-break: break-all;
}

.emergency-note-box {
  background-color: hsl(0, 100%, 97%);
  border-left: 4px solid #ef4444;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 30px;
}

.emergency-note-box h4 {
  color: #b91c1c;
  font-size: 14px;
  margin-bottom: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.emergency-note-box p {
  color: #7f1d1d;
  font-size: 13px;
  margin-bottom: 0;
}

/* Video Page specific */
.videos-filter-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 30px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary-teal);
  color: var(--text-light);
  border-color: var(--primary-teal);
}

/* Thank You page */
.thank-you-card {
  text-align: center;
  max-width: 600px;
  margin: 100px auto;
  background-color: var(--bg-white);
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background-color: var(--bg-teal-mist);
  color: var(--primary-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 30px auto;
}

.thank-you-card h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.thank-you-card p {
  font-size: 16px;
  margin-bottom: 30px;
}

.thank-you-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Privacy Policy page */
.policy-card {
  background-color: var(--bg-white);
  padding: 50px 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.policy-card h2 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 16px;
}

.policy-card p {
  font-size: 14.5px;
  margin-bottom: 16px;
}

.policy-card ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.policy-card li {
  margin-bottom: 8px;
}

/* ----------------------------------------------------
   21. RESPONSIVE BREAKPOINTS (MEDIA QUERIES)
---------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .trust-badges-grid {
    justify-content: center;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .hero-image-wrapper {
    max-width: 320px;
  }
  
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-preview-grid .about-image-card {
    order: 2;
  }
  
  .about-preview-grid .about-content {
    order: 1;
  }
  
  .appointment-form-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .local-trust-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .contact-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Hamburger Navigation Menu show/hide styles */
  .hamburger {
    display: block;
  }
  
  .nav-links {
    display: none; /* Removed completely from flow when closed */
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100dvh;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px 30px;
    gap: 24px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    border-left: 1px solid var(--border-color);
    z-index: 1050;
    overflow-y: auto;
    will-change: transform, opacity;
  }
  
  .nav-links.active {
    display: flex;
    animation: slideInMobile 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  .nav-links.collapsing {
    display: flex;
    animation: slideOutMobile 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    width: 100%;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-cream);
  }
  
  .header-ctas {
    display: none; /* Hide header buttons on mobile, stickies take care of this */
  }

  .site-footer {
    padding-bottom: 100px; /* Offset for the sticky bottom mobile CTA bar */
  }

  .mobile-only-ctas-item {
    display: block !important;
    width: 100%;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
  }

  .mobile-only-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .mobile-only-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 14px;
    border-radius: 50px;
  }
}

@media (max-width: 580px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .appointment-card {
    padding: 24px;
  }
  
  .about-badge {
    padding: 10px 16px;
    bottom: 16px;
    right: 16px;
  }
  
  .about-badge h4 {
    font-size: 18px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

/* ----------------------------------------------------
   22. BLOG POST CARDS AND GRID
---------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31, 111, 97, 0.15);
}

.blog-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--bg-cream);
  padding: 20px;
  transition: var(--transition-smooth);
}

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

.blog-card-content {
  padding: 24px;
  flex-grow: 1;
}

.blog-card-date {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 18px;
  color: var(--primary-teal-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.blog-card-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0;
}

.blog-card-footer {
  padding: 0 24px 24px 24px;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------
   23. CTA CALL-TO-ACTION SECTION
---------------------------------------------------- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-teal-dark), var(--primary-teal));
  color: var(--text-light);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-light);
}

.cta-content p {
  font-size: 15.5px;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

/* ----------------------------------------------------
   24. HIGHLIGHTS SECTION
---------------------------------------------------- */
.highlights-section {
  background-color: var(--bg-white);
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.highlight-card {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 111, 97, 0.2);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: var(--bg-white);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31, 111, 97, 0.08);
}

.highlight-icon svg {
  width: 24px;
  height: 24px;
}

.highlight-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  color: var(--primary-teal-dark);
  margin: 0 0 10px 0;
  font-weight: 700;
}

.highlight-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

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

/* ----------------------------------------------------
   25. TOP CONTACT BAR
---------------------------------------------------- */
.top-contact-bar {
  background-color: var(--primary-teal-dark);
  color: var(--text-light);
  font-size: 12.5px;
  font-weight: 500;
  height: auto;
  min-height: 34px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
}

.top-bar-item {
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
}

.top-bar-item a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 700;
  margin-left: 4px;
  transition: var(--transition-smooth);
}

.top-bar-item a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.top-bar-label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Adjust fixed main header and body when top contact bar is active */
.site-header {
  top: 0 !important;
}

body {
  padding-top: 0 !important;
}

@media (max-width: 768px) {
  .top-bar-left {
    display: none;
  }
  .top-bar-container {
    justify-content: center;
  }
  .top-bar-item {
    font-size: 11.5px;
  }
}

/* ----------------------------------------------------
   25. COURSES PAGE
---------------------------------------------------- */

/* Admission Banner Strip */
.course-admission-banner {
  background: linear-gradient(135deg, var(--primary-teal-dark) 0%, var(--primary-teal) 100%);
  padding: 0;
}

.admission-strip {
  padding: 20px 0;
}

.admission-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.admission-badge,
.admission-duration {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

.admission-badge svg,
.admission-duration svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.admission-badge strong,
.admission-duration strong {
  color: var(--accent-gold);
  font-weight: 700;
}

.admission-modes {
  display: flex;
  gap: 12px;
}

.mode-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.mode-tag svg {
  opacity: 0.8;
}

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

/* Trainer section */
.course-trainer-role {
  color: var(--accent-gold);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.course-trainer-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trainer-card {
  background: linear-gradient(145deg, var(--bg-teal-mist), var(--bg-white));
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  max-width: 360px;
  width: 100%;
}

.trainer-image-placeholder {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-md);
}

.trainer-image-placeholder svg {
  stroke: var(--text-light) !important;
  opacity: 0.6;
}

.trainer-card-info h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--primary-teal-dark);
}

.trainer-card-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.trainer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 139, 43, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  color: var(--accent-gold);
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
}

/* Course Features Grid */
.course-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.course-feature-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.course-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-teal), var(--accent-gold));
  opacity: 0;
  transition: var(--transition-smooth);
}

.course-feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 111, 97, 0.15);
  transform: translateY(-3px);
}

.course-feature-card:hover::before {
  opacity: 1;
}

.course-feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--bg-teal-mist), rgba(31, 111, 97, 0.08));
  color: var(--primary-teal);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition-smooth);
}

.course-feature-card:hover .course-feature-icon {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-light));
  color: var(--text-light);
}

.course-feature-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--primary-teal-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.course-feature-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* Eligibility Grid */
.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.eligibility-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.eligibility-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(31, 111, 97, 0.2);
}

.eligibility-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-teal-mist);
  color: var(--primary-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  transition: var(--transition-smooth);
}

.eligibility-card:hover .eligibility-icon {
  background: var(--primary-teal);
  color: var(--text-light);
}

.eligibility-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--primary-teal-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.eligibility-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Enroll CTA Section */
.course-enroll-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0c3d34 0%, var(--primary-teal-dark) 40%, var(--primary-teal) 100%);
  position: relative;
  overflow: hidden;
}

.course-enroll-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 139, 43, 0.08), transparent 70%);
  pointer-events: none;
}

.enroll-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.enroll-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.enroll-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.enroll-info-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.enroll-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.enroll-value {
  display: block;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
}

.enroll-contact-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 36px;
  backdrop-filter: blur(10px);
}

.enroll-phone-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 18px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 10px;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.enroll-phone-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(4px);
}

.enroll-phone-btn svg {
  color: var(--accent-gold);
}

.enroll-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: #25d366;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 15px;
  font-weight: 600;
  margin-top: 6px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.enroll-wa-btn:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.enroll-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.enroll-address svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Tagline strip */
.course-tagline-strip {
  background: var(--accent-gold);
  padding: 14px 0;
  text-align: center;
}

.course-tagline-strip p {
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Courses page mobile responsive */
@media (max-width: 768px) {
  .admission-strip-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .admission-modes {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: center;
  }

  .course-features-grid {
    grid-template-columns: 1fr;
  }

  .eligibility-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .enroll-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .enroll-info-grid {
    flex-direction: column;
  }

  .enroll-contact-box {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .eligibility-grid {
    grid-template-columns: 1fr;
  }

  .eligibility-card {
    padding: 20px 16px;
  }
}

/* ----------------------------------------------------
   26. COMMON CONDITIONS SECTION
---------------------------------------------------- */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

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

.condition-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 111, 97, 0.15);
}

.condition-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #121d24; /* Dark professional background to match medical 3D rendering */
  overflow: hidden;
}

.condition-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.condition-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.condition-info h3 {
  font-size: 18px;
  color: var(--primary-teal-dark);
  margin-bottom: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.condition-info p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.condition-link {
  font-size: 13.5px;
  color: var(--primary-teal);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: var(--transition-smooth);
}

.condition-link:hover {
  color: var(--accent-gold);
}

/* Category Filter Tabs */
.conditions-filter-tabs {
  margin-top: 20px;
}

.filter-tab-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.filter-tab-btn:hover {
  background: rgba(31, 111, 97, 0.06);
  border-color: var(--primary-teal);
  transform: translateY(-1px);
}

.filter-tab-btn.active {
  background: var(--primary-teal);
  color: var(--text-light);
  border-color: var(--primary-teal);
  box-shadow: 0 4px 12px rgba(31, 111, 97, 0.2);
}

.condition-card {
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 992px) {
  .conditions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 576px) {
  .conditions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ----------------------------------------------------
   27. HERO CAMP BANNER STYLE
---------------------------------------------------- */
.hero-camp-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(31, 111, 97, 0.08) 0%, rgba(217, 139, 43, 0.05) 100%);
  border: 1px dashed rgba(31, 111, 97, 0.25);
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  max-width: 100%;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.hero-camp-banner:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(31, 111, 97, 0.12) 0%, rgba(217, 139, 43, 0.08) 100%);
}

.camp-pill {
  background: linear-gradient(135deg, var(--accent-gold), #e07a16);
  color: var(--text-light);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  letter-spacing: 0.8px;
  flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
  animation: pulse-light 2s infinite;
  box-shadow: 0 4px 10px rgba(217, 139, 43, 0.25);
}

@keyframes pulse-light {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 139, 43, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(217, 139, 43, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 139, 43, 0);
  }
}

.camp-text {
  font-size: 14.5px;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
}

.changing-location-highlight {
  color: #fbbf24 !important;
  font-weight: 800;
  display: inline-block !important;
  vertical-align: baseline;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(251, 191, 36, 0.4);
  padding: 0 !important;
  margin: 0 !important;
  min-width: auto !important;
  background: none !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .hero-camp-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    border-radius: 20px;
    padding: 16px 20px;
    width: 100%;
    margin-bottom: 24px;
  }
  
  .camp-pill {
    align-self: center;
  }

  .camp-text {
    font-size: 13.5px;
    line-height: 1.6;
  }
  
  .changing-location-highlight {
    display: inline-block !important;
    margin: 0 !important;
  }
}

/* Global Announcement Bar */
.announcement-bar {
  background: linear-gradient(135deg, #173b34, #1f6f61);
  color: #ffffff;
  padding: 8px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Outfit', sans-serif;
  z-index: 1002;
  position: relative;
  width: 100%;
}

.announcement-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.announcement-badge {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  flex-shrink: 0;
  display: inline-block;
}

.announcement-text {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
}

.changing-location-highlight {
  color: #fbbf24;
  font-weight: 700;
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
  .announcement-bar {
    padding: 6px 8px;
  }
  .announcement-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .announcement-badge {
    padding: 2px 8px;
    font-size: 9.5px;
    vertical-align: middle;
  }
  .announcement-text {
    font-size: 11.5px;
    line-height: 1.4;
    text-align: center;
    display: inline;
  }
}

/* ----------------------------------------------------
   28. MOBILE VIEWPORT OPTIMIZATIONS & BUG FIXES
---------------------------------------------------- */
/* Navigation Backdrop Mask */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Keyframe Animations for Mobile Drawer */
@keyframes slideInMobile {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutMobile {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal scroll and side panning */
  html, body, .site-header, .announcement-bar, .top-contact-bar, .site-footer, main {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100vw !important;
    touch-action: pan-y !important;
  }

  .top-bar-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  /* Prevent horizontal scroll from floating cards */
  .hero-graphic-container {
    overflow: hidden;
    padding: 20px 0;
  }
  .float-card-1 {
    left: 2% !important;
    top: 5% !important;
  }
  .float-card-2 {
    right: 2% !important;
    bottom: 8% !important;
  }
  .float-card-3 {
    left: 4% !important;
    bottom: 4% !important;
  }
  .floating-card {
    padding: 8px 12px !important;
    font-size: 11px !important;
    max-width: 180px;
  }
  .floating-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
  }
  .floating-text h4 {
    font-size: 11px !important;
  }
  .floating-text p {
    font-size: 9px !important;
  }
  
  /* Prevent forced viewport zoom on mobile iOS Safari */
  .form-control, 
  select.form-control, 
  textarea.form-control {
    font-size: 16px !important;
  }

  /* Optimize touch target sizes to minimum 44px */
  .filter-tab-btn, 
  .social-icon-btn, 
  .nav-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  /* Fix bottom sticky mobile CTA safe area layout */
  .sticky-mobile-cta {
    bottom: -100px;
    height: calc(60px + env(safe-area-inset-bottom)) !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
  }
  .sticky-mobile-cta.visible {
    bottom: 0 !important;
  }
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 480px) {
  /* Refine small screen typography & grids */
  .hero-headline {
    font-size: clamp(26px, 8vw, 36px) !important;
  }
  .section-title {
    font-size: clamp(24px, 7vw, 32px) !important;
  }
  .course-features-grid, 
  .eligibility-grid, 
  .conditions-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .footer-contact-details li {
    font-size: 13px !important;
  }
}





