/* ===============================
   MERIT TUTORING - MODERN STYLES
   Brand Colors: Teal #016060 | Coral #f47e52
   =============================== */

:root {
  /* Brand Colors */
  --color-teal-primary: #016060;
  --color-teal-dark: #014545;
  --color-teal-light: #017a7a;
  --color-teal-bg: #e6f5f5;
  
  --color-coral-primary: #f47e52;
  --color-coral-dark: #e56842;
  --color-coral-light: #ff9d7a;
  --color-coral-bg: #fff5f2;
  
  /* Neutrals */
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  /* Pricing billed badge */
  --color-billed-bg-start: #f0fdf4;
  --color-billed-bg-end: #dcfce7;
  --color-billed-border: #86efac;
  --color-billed-text: #166534;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  
  /* Spacing */
  --container-max: 1200px;
  --container-padding: 2rem;
  --section-spacing: 5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

/* Cross-document View Transitions (Chrome 126+) — smooth crossfade between pages */
@view-transition {
  navigation: auto;
}

/* ===============================
   RESET & BASE STYLES
   =============================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}

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


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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-base);
}

/* ===============================
   TYPOGRAPHY
   =============================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-gray-700);
}

.lead-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-gray-600);
}

/* ===============================
   CONTAINER & LAYOUT
   =============================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-spacing) 0;
}

.section-alt {
  background-color: var(--color-gray-50);
}

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

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

/* ===============================
   HEADER & NAVIGATION (FIXED)
   =============================== */

.site-header{
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

/* Brand */
.brand{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  flex-shrink: 0;
}

.brand-logo{
  height: 80px;
  width: auto;
  transform: scale(1.5);
  transform-origin: left center;
  flex-shrink: 0;
}

/* Main nav (desktop) */
.main-nav{
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a{
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-gray-700);
  padding: 0.5rem 0;
  position: relative;
}

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

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

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

.main-nav a:first-child{
  margin-left: 2rem;
}

.nav-toggle{
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  left: -9999px;
  pointer-events: none;
}

/* Hamburger icon - HIDDEN ON DESKTOP */
.nav-toggle-label{
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 1rem;
  z-index: 99999;
  position: relative;
  -webkit-tap-highlight-color: rgba(244, 126, 82, 0.2);
  touch-action: manipulation;
}

.nav-toggle-label{
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle-label span{
  width: 32px;
  height: 4px;
  background-color: var(--color-teal-primary);
  border-radius: 2px;
  transition: var(--transition-base);
  pointer-events: none;
  display: block;
}

/* MOBILE ONLY STYLES - Under 1100px */
@media (max-width: 1100px){
  .site-header {
    height: 60px;
    display: flex;
    align-items: center;
  }
  
  .brand-logo {
    height: 40px;
    transform: none;
  }

  .nav-toggle-label{
    display: flex;
    position: relative;
    z-index: 99999;
  }

  .main-nav{
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--color-white);
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 6rem 1.5rem 1.5rem;
    box-shadow: -12px 0 30px rgba(0,0,0,0.18);
    transition: right 280ms ease-out; /* Smoother, slightly longer animation */
    z-index: 9998;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-toggle:checked ~ .main-nav{
    right: 0;
  }

  .nav-backdrop{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: none;
    opacity: 0;
    transition: opacity 280ms ease-out;
    z-index: 9997;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle:checked ~ .nav-backdrop{
    display: block;
    opacity: 1;
  }

  .main-nav a{
    width: 100% !important;
    padding: 1rem 0 !important;
    font-size: 1.1rem !important;
    display: block !important;
    text-align: left !important;
    border-bottom: 1px solid var(--color-gray-200);
  }

  .main-nav a::after{
    display: none !important;
  }

  .main-nav a:first-child {
    padding-top: 0.5rem !important;
    margin-left: 0 !important;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(1){
    transform: rotate(45deg) translate(8px, 8px);
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(2){
    opacity: 0;
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(3){
    transform: rotate(-45deg) translate(8px, -8px);
  }
}

/* ===============================
   BUTTONS
   =============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-coral-primary) 0%, var(--color-coral-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(244, 126, 82, 0.35);
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-coral-dark) 0%, #d65535 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(244, 126, 82, 0.45);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(244, 126, 82, 0.3);
}

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

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

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

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

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  min-width: 220px;
}

.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

/* ===============================
   HERO SECTION
   =============================== */

.hero {
  background: linear-gradient(135deg, var(--color-teal-bg) 0%, var(--color-white) 100%);
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23016060' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  color: var(--color-teal-primary);
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--color-gray-700);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 8px 20px rgba(244, 126, 82, 0.35);
  }
  50% {
    box-shadow: 0 8px 25px rgba(244, 126, 82, 0.5);
  }
  100% {
    box-shadow: 0 8px 20px rgba(244, 126, 82, 0.35);
  }
}

.hero-buttons .btn-primary {
  animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-image {
    order: -1;
  }
}

/* ===============================
   CARDS
   =============================== */

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

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: 1px solid var(--color-gray-200);
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-teal-light);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-teal-primary), var(--color-teal-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

.card h3 {
  color: var(--color-teal-primary);
  margin-bottom: 1rem;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

/* ===============================
   FEATURES / STEPS
   =============================== */

.steps-container {
  display: grid;
  gap: 3rem;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-coral-primary), var(--color-coral-light));
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  color: var(--color-teal-primary);
}

.step::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 60px;
  bottom: -3rem;
  width: 2px;
  background: var(--color-gray-200);
  z-index: 0;
}

@media (max-width: 768px) {
  .step {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 1.5rem;
  }

  .step-number {
    margin: 0 auto;
  }

  .step::before {
    left: 50%;
    transform: translateX(-50%);
    top: 60px;
    bottom: -3rem;
  }
}

.step:last-child::before {
  display: none;
}

.pricing-preview-container {
  max-width: 600px;
  margin: 0 auto;
}

.pricing-preview-card {
  padding: 3rem 2rem;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.pricing-preview-header {
  margin-bottom: 2rem;
}

.pricing-badge {
  background: var(--color-coral-primary);
  color: var(--color-white);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(244, 126, 82, 0.2);
}

.pricing-price {
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--color-teal-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.price-label, .price-period {
  font-size: 1rem;
  font-weight: 500;
  vertical-align: middle;
  color: var(--color-gray-500);
}

.price-label {
  margin-right: 0.25rem;
}

.pricing-subtitle {
  font-size: 1.1rem;
  color: var(--color-gray-600);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-gray-100);
}

.pricing-feature-list {
  text-align: left;
  margin: 0 auto 2.5rem;
  padding: 0;
  list-style: none;
  max-width: 480px;
}

.pricing-feature-list li {
  padding: 0.875rem 0;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--color-gray-700);
  font-size: 1.05rem;
}

.feature-check {
  width: 22px;
  height: 22px;
  background: var(--color-coral-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  font-weight: 700;
}

.pricing-info-bar {
  background: var(--color-teal-bg);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  font-size: 0.95rem;
  border: 1px solid rgba(1, 96, 96, 0.05);
}

.dot-separator {
  color: var(--color-teal-light);
  opacity: 0.5;
}

.pricing-cta {
  width: 100%;
  box-shadow: 0 10px 25px rgba(244, 126, 82, 0.25);
  border-radius: 12px;
  padding: 1rem 2rem !important;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pricing-preview-card {
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }

  .pricing-preview-header {
    margin-bottom: 1.5rem;
  }

  .pricing-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    margin-bottom: 0.75rem;
  }

  .pricing-price {
    font-size: 2.25rem;
  }

  .pricing-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .pricing-feature-list {
    margin-bottom: 1.5rem;
  }

  .pricing-feature-list li {
    padding: 0.75rem 0;
    font-size: 0.95rem;
    gap: 0.75rem;
  }

  .feature-check {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }

  .pricing-info-bar {
    padding: 0.75rem;
    gap: 0.75rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
  }

  .pricing-cta {
    padding: 0.8rem !important;
    font-size: 1rem !important;
  }
}

/* ===============================
   PRICING CARDS
   =============================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-gray-200);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.featured {
  border-color: var(--color-coral-primary);
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Remove scale on mobile to prevent layout breaks */
@media (max-width: 768px) {
  .pricing-card.featured {
    transform: none;
    border-width: 3px;
    box-shadow: 0 12px 30px rgba(244, 126, 82, 0.25);
  }
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
  transform: translateY(-8px) scale(1.03);
}

.pricing-card .pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-coral-primary);
  color: var(--color-white);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(230, 111, 81, 0.3);
  white-space: nowrap;
}

.pricing-title {
  font-size: 1.75rem;
  color: var(--color-teal-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 0.625rem;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.pricing-price .just-text {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-gray-600);
}

.pricing-price span {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  font-weight: 400;
}

.pricing-subtitle {
  color: var(--color-gray-600);
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.pricing-features {
  list-style: none;
  margin: 0.75rem 0 1.5rem 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-cta {
  display: inline-flex;
  width: 100%;
  margin-top: auto;
  /* Polished internal spacing: balanced height, clear icon–text gap */
  padding: 0.875rem 2rem;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}
.pricing-cta.btn-lg {
  padding: 0.875rem 2rem;
  min-width: unset;
}
.pricing-cta-icon {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.pricing-billed {
  display: inline-block;
  align-self: center;
  background: linear-gradient(
    135deg,
    var(--color-billed-bg-start) 0%,
    var(--color-billed-bg-end) 100%
  );
  border: 1px solid var(--color-billed-border);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.pricing-billed p {
  color: var(--color-billed-text);
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.875rem;
  color: var(--color-gray-700);
  line-height: 1.6;
  text-align: left;
}

.pricing-features li::before {
  content: '';
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin-top: 0;
  background: var(--color-teal-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.875rem;
}

/* ===============================
   TESTIMONIALS
   =============================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-coral-primary);
  transition: var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.testimonial-text {
  font-style: italic;
  color: var(--color-gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-teal-primary);
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--color-teal-primary);
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin: 0;
}

.testimonial-stars {
  color: var(--color-coral-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* ===============================
   CALL TO ACTION
   =============================== */

.cta-section {
  background: linear-gradient(135deg, var(--color-teal-primary), var(--color-teal-dark));
  color: var(--color-white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.btn-white:hover {
  background-color: var(--color-gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ===============================
   FORMS
   =============================== */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--color-gray-800);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem; /* 16px minimum - prevents iOS auto-zoom */
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  font-family: inherit;
}

/* Ensure all inputs stay at 16px+ on mobile */
input,
select,
textarea,
button {
  font-size: 1rem; /* 16px minimum */
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-teal-primary);
  box-shadow: 0 0 0 3px rgba(1, 96, 96, 0.1);
}

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

/* ===============================
   FOOTER - REDESIGNED
   =============================== */

.site-footer {
  background-color: var(--color-gray-900);
  color: var(--color-gray-300);
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--color-teal-primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand-section {
  max-width: 400px;
}

.footer-logo {
  display: block;
  margin-bottom: 1.5rem;
}

.footer-brand-img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1); /* Makes the logo white */
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-coral-primary);
  transform: translateY(-3px);
  color: white;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

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

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-section a:hover {
  color: var(--color-coral-primary);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom-extra {
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-brand-section {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-tagline {
    margin-bottom: 1.5rem;
  }
}

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

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .footer-top {
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-brand-img {
    height: 50px;
  }

  .footer-tagline {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr); /* Keep 2 columns even on very small screens for compactness */
    gap: 1.5rem 1rem;
    text-align: center;
  }

  .footer-section h3 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-socials {
    justify-content: center;
  }

  /* Legal section takes full width for better balance if it's the 3rd item */
  .footer-section:last-child {
    grid-column: span 2;
  }

  .footer-section a:hover {
    transform: translateY(-2px);
  }
}




/* ===============================
   FOCUS STYLES FOR ACCESSIBILITY
   =============================== */

/* Remove default outline only when replacing it */
*:focus {
  outline: none;
}

/* Add visible focus for keyboard users only */
*:focus-visible {
  outline: 2px solid #f47e52;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Specific focus styles for buttons */
.btn:focus-visible {
  outline: 3px solid #f47e52;
  outline-offset: 3px;
}

/* Links */
a:focus-visible {
  outline: 2px solid #016060;
  outline-offset: 2px;
}

/* Form inputs */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #016060;
  outline-offset: 0;
}

/* ===============================
   UTILITIES
   =============================== */

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

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

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

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

/* Scroll Animation Classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===============================
   MODAL
   =============================== */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  font-size: 1.5rem;
  color: var(--color-gray-700);
}

.modal-close:hover {
  background: var(--color-coral-primary);
  color: var(--color-white);
}

/* ===============================
   VIDEO CONTAINER
   =============================== */

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin: 2rem 0;
}

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

/* ===============================
   IMAGE GALLERY
   =============================== */

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(1, 96, 96, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-base);
  color: var(--color-white);
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ===============================
   RESPONSIVE
   =============================== */

/* Tablet Landscape */
@media (max-width: 1024px) {
  :root {
    --section-spacing: 4rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  :root {
    --section-spacing: 3rem;
    --container-padding: 1.5rem;
  }
  
  .card-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    gap: 2rem;
    padding: 0 1rem;
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  }

  .pricing-card.featured {
    transform: scale(1);
    border: 2.5px solid var(--color-coral-primary);
    box-shadow: 0 15px 35px rgba(244, 126, 82, 0.15);
  }

  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }

  .pricing-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .pricing-price {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    justify-content: center;
    gap: 0.35rem;
  }

  .pricing-price .just-text,
  .pricing-price span {
    font-size: 0.9rem;
  }

  .pricing-billed {
    margin-bottom: 1rem;
    background: transparent;
    padding: 0;
    border: none;
    align-self: center;
  }

  .pricing-billed p {
    color: var(--color-gray-500);
    font-weight: 500;
    font-size: 0.85rem;
  }

  .pricing-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    padding: 0 0 1rem 0;
    border-bottom: 1px solid var(--color-gray-100);
    margin-top: 0.25rem;
    text-align: center;
  }

  .pricing-features {
    margin: 0.5rem 0 1.5rem 0;
  }

  .pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    gap: 0.75rem;
  }

  ul.pricing-features li::before,
  .pricing-features li::before {
    width: 20px;
    height: 20px;
    min-width: 20px;
    font-size: 0.75rem;
    margin-top: 2px;
  }

  .pricing-cta {
    padding: 0.85rem !important;
    font-size: 1rem !important;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(244, 126, 82, 0.25);
  }

  .pricing-card .pricing-badge {
    top: -12px;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    box-shadow: 0 4px 12px rgba(244, 126, 82, 0.2);
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    min-width: auto !important;
  }
  
  .step {
    grid-template-columns: 1fr;
  }
  
  .step-number {
    margin-bottom: 1rem;
  }
  
  .step::before {
    display: none;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .lead-text {
    font-size: 1.125rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --section-spacing: 3.5rem;
    --container-padding: 1.25rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 1.125rem 2rem;
  }

  .brand-logo {
    height: 46px;
    transform: scale(1.5);
    transform-origin: left center;
  }
  
  .nav-container {
    position: relative;
  }
}

@media print {
  .site-header,
  .site-footer,
  .btn {
    display: none;
  }
}

/* ===============================
   HEADER CTA (Book Free Assessment)
   =============================== */

.main-nav a.header-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.2rem 1.2rem !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  font-family: var(--font-primary) !important;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--color-coral-primary) 0%, var(--color-coral-dark) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(244, 126, 82, 0.35);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

@media (max-width: 768px){
  .main-nav a.header-cta{
    padding: 1.2rem 1.5rem !important; 
    font-size: 0.95rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
    max-width: 85%;
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }
}

@media (max-width: 480px){
  .main-nav a.header-cta{
    padding: 0.75rem 1.2rem !important;
    font-size: 0.95rem !important;
  }
}

.main-nav a.header-cta::after{
  display: none !important;
}

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

.main-nav a.header-cta:hover::before{
  left: 100%;
}

.main-nav a.header-cta:hover{
  background: linear-gradient(135deg, var(--color-coral-dark) 0%, #d65535 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(244, 126, 82, 0.45);
}

/* ===============================
   WHY US STICKY BAR
   =============================== */

.why-us-bar {
  background: linear-gradient(135deg, #005F60, #016868);
  padding: 0.5rem 0;
  position: sticky;
  top: 80px; /* Adjust based on header height */
  z-index: 998;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid #f47e52;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.why-us-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.why-us-label {
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-right: 1rem;
}

.why-us-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.why-us-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s;
}

.why-us-btn:hover::after {
  left: 100%;
}

.why-us-btn:hover {
  background: white;
  color: #005F60;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 0 15px rgba(255, 255, 255, 0.2);
  border-color: white;
}

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

.btn-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.btn-text {
  font-size: 0.75rem;
  line-height: 1;
}

/* ===============================
   WHY US BAR - TABLET & MOBILE
   =============================== */

@media (max-width: 968px) {
  .why-us-bar {
    top: 70px;
    padding: 0.45rem 0;
  }

  .why-us-container {
    padding: 0 0.75rem;
    gap: 0.6rem;
    justify-content: center;
  }

  .why-us-label {
    font-size: 0.75rem;
  }

  .why-us-buttons {
    gap: 0.4rem;
  }

  .why-us-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.7rem;
    gap: 0.25rem;
  }

  .btn-icon {
    font-size: 0.8rem;
  }

  .btn-text {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .why-us-bar {
    top: 60px; /* Matches smaller header on mobile */
    padding: 0.4rem 0;
  }

  .why-us-container {
    padding: 0 0.5rem;
    gap: 0.5rem;
    justify-content: center;
  }

  .why-us-label {
    font-size: 0.7rem;
    gap: 0.25rem;
  }

  .why-us-buttons {
    gap: 0.35rem;
  }

  .why-us-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.65rem;
    gap: 0.2rem;
    border-radius: 15px;
  }

  .btn-icon {
    font-size: 0.75rem;
  }

  .btn-text {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .why-us-bar {
    top: 55px;
    padding: 0.35rem 0;
  }

  .why-us-container {
    padding: 0 0.4rem;
    gap: 0.4rem;
  }

  .why-us-label {
    font-size: 0.65rem;
  }

  .why-us-btn {
    padding: 0.28rem 0.45rem;
    font-size: 0.6rem;
  }

  .btn-icon {
    font-size: 0.7rem;
  }

  .btn-text {
    font-size: 0.6rem;
  }
}

/* Very small phones (iPhone SE, etc.) */
@media (max-width: 375px) {
  .why-us-container {
    padding: 0 0.3rem;
    gap: 0.3rem;
  }

  .why-us-label {
    font-size: 0.6rem;
  }

  .why-us-btn {
    padding: 0.25rem 0.4rem;
    font-size: 0.55rem;
    gap: 0.15rem;
  }

  .btn-icon {
    font-size: 0.65rem;
  }

  .btn-text {
    font-size: 0.55rem;
  }
}

/* ===============================
   TESTIMONIALS PAGE - MOBILE FIXES
   =============================== */

/* Prevent horizontal overflow */
html, body {
  overflow-x: hidden;
  width: 100%;
}

.section {
  overflow-x: hidden;
}

/* Hero section mobile fix */
.section.section-teal {
  padding: 2.5rem 1rem;
}

@media (max-width: 768px) {
  .section.section-teal {
    padding: 2rem 1rem;
  }

  .section.section-teal h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    padding: 0 0.5rem;
  }

  .section.section-teal .lead-text {
    font-size: 1rem;
    padding: 0 0.5rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .section.section-teal {
    padding: 2.5rem 1rem;
  }

  .section.section-teal h1 {
    font-size: 1.5rem;
  }

  .section.section-teal .lead-text {
    font-size: 0.95rem;
  }
}

/* Featured Success Story Card - Mobile */
@media (max-width: 768px) {
  .card {
    padding: 1.5rem !important;
    margin: 0 0.5rem;
  }

  .card[style*="padding: 3rem"] {
    padding: 1.5rem !important;
  }

  .card[style*="border: 3px"] {
    border-width: 2px !important;
  }

  /* Fix the featured story grid */
  .card[style*="display: grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center !important;
    text-align: center !important;
  }

  .card h2 {
    font-size: 1.35rem;
  }

  .card h3 {
    font-size: 1.15rem;
  }

  /* Fix image in featured story */
  .card img[style*="width: 400px"] {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1.75rem !important;
    margin: 0 0.25rem;
  }

  .card h2 {
    font-size: 1.25rem;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card img[style*="width: 400px"] {
    max-width: 220px !important;
  }
}

/* Testimonial Grid - Mobile */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Testimonial Card - Mobile */
.testimonial-card {
  padding: 1.5rem;
  margin: 0;
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 1.25rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .testimonial-avatar {
    width: 50px;
    height: 50px;
  }

  .testimonial-info h4 {
    font-size: 0.9rem;
  }

  .testimonial-info p {
    font-size: 0.8rem;
  }

  .testimonial-stars {
    font-size: 1rem;
  }
}

/* Results Stats Cards - Mobile */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .card-grid {
    gap: 1rem;
    padding: 0;
  }

  .card.text-center {
    padding: 1.5rem 1rem !important;
  }

  .card.text-center div[style*="font-size: 3.5rem"],
  .card.text-center div[style*="font-size: 4rem"] {
    font-size: 2.5rem !important;
  }

  .card.text-center h3 {
    font-size: 1rem;
  }

  .card.text-center p {
    font-size: 0.9rem;
  }
}

/* Student Voices Section - Mobile */
@media (max-width: 768px) {
  .section-coral .card {
    padding: 1.5rem !important;
    margin-bottom: 1rem;
  }

  .section-coral .card p[style*="font-size: 1.25rem"] {
    font-size: 1.05rem !important;
    line-height: 1.6;
  }

  .section-coral .card div[style*="display: flex"] {
    gap: 0.75rem !important;
  }

  .section-coral .card img[style*="width: 50px"] {
    width: 45px !important;
    height: 45px !important;
  }
}

/* Image Gallery - Mobile */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .image-gallery {
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
  }
}

@media (max-width: 480px) {
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .gallery-item {
    aspect-ratio: 1;
  }
}

/* CTA Section - Mobile */
.cta-section {
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 2.5rem 1rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .cta-section {
    padding: 2rem 0.75rem;
  }

  .cta-section h2 {
    font-size: 1.35rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }
}

/* Container fix for all pages */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

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

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

/* Fix inline styles that cause overflow */
@media (max-width: 768px) {
  [style*="max-width: 900px"] {
    max-width: 100% !important;
    padding: 0 0.5rem !important;
  }

  [style*="max-width: 800px"] {
    max-width: 100% !important;
    padding: 0 0.5rem !important;
  }

  [style*="margin-left: 10rem"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  [style*="display: flex"][style*="gap: 2rem"] {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center !important;
  }
}

/* Floating Contact Button - Mobile Position */
@media (max-width: 768px) {
  .floating-contact-btn {
    bottom: 1rem;
    right: 1rem;
  }

  .contact-toggle-btn {
    padding: 0.75rem 1rem;
  }

  .contact-toggle-btn .btn-text {
    display: none;
  }

  .contact-toggle-btn .btn-icon {
    font-size: 1.4rem;
    margin: 0;
  }
}

@media (max-width: 400px) {
  .floating-contact-btn {
    bottom: 0.75rem;
    right: 0.75rem;
  }

  .contact-toggle-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
}



/* ===============================
   TIMELINE COMPONENT
   =============================== */

.timeline-container {
  width: 100%;
  position: relative;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 45px;
  width: 2px;
  height: calc(100% + 2rem);
  background: linear-gradient(180deg, var(--color-coral-primary) 0%, var(--color-coral-light) 100%);
  border-radius: 2px;
  z-index: 0;
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-number {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-coral-primary), var(--color-coral-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(244, 126, 82, 0.4);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
}

.timeline-content {
  padding: 0;
  position: relative;
  z-index: 1;
}

.timeline-content h4 {
  color: var(--color-teal-primary);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.timeline-content p {
  color: var(--color-gray-700);
  margin: 0;
  line-height: 1.6;
  font-size: 0.9rem;
}

@media (max-width: 968px) {
  .timeline-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .timeline-step::before {
    display: none;
  }

  .timeline-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
  }

  .timeline-content h4 {
    font-size: 1.15rem;
  }

  .timeline-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .timeline-number {
    width: 45px;
    height: 45px;
    font-size: 1.35rem;
  }

  .timeline-content h4 {
    font-size: 1.05rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }
}

/* ===============================
   FLOATING CONTACT BUTTON - FIXED
   NO WHITE SHADOW - NO GLITCHING
   =============================== */

.floating-contact-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  font-family: var(--font-primary);
}

.contact-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  min-width: 44px;
  min-height: 44px;
  background: linear-gradient(135deg, #f47e52, #e56842);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  /* PURE DARK SHADOW - NO WHITE/LIGHT GLOW */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* DISABLE ANIMATIONS THAT CAUSE GLITCHING */
  animation: none !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* REMOVE shimmer/pulse effects */
.contact-toggle-btn::before {
  display: none !important;
}

.contact-toggle-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.contact-toggle-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.contact-toggle-btn .btn-icon {
  font-size: 1.5rem;
  animation: none !important;
  filter: none !important;
}

.contact-toggle-btn .btn-text {
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Contact Menu */
.contact-menu {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 340px;
  background: white;
  border-radius: 20px;
  /* PURE DARK SHADOW */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
  overflow: hidden;
}

.contact-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.close-contact {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #666;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.close-contact:hover {
  background: #f47e52;
  color: white;
  transform: rotate(90deg);
}

.contact-menu-header {
  background: linear-gradient(135deg, #016060, #014545);
  padding: 1.5rem;
  text-align: center;
}

.contact-menu-header h4 {
  font-size: 1.2rem;
  color: white;
  margin: 0 0 0.25rem 0;
  font-weight: 700;
}

.contact-menu-header p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  background: white;
}

.contact-option:last-child {
  border-bottom: none;
}

.contact-option:hover {
  background: #f9fafb;
  padding-left: 1.5rem;
}

.contact-option:active {
  transform: scale(0.98);
}

.option-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #016060, #014545);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.contact-option:hover .option-icon {
  transform: scale(1.05);
}

.option-content {
  flex: 1;
  min-width: 0;
}

.option-title {
  font-weight: 700;
  color: #1f2937;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.option-detail {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.3;
}

.phone-number {
  font-weight: 700;
  color: #016060;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  font-family: 'Courier New', monospace;
}

.option-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: #fff5f2;
  color: #f47e52;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.mobile-only {
  display: none;
}

/* Mobile Responsive for Floating Button */
@media (max-width: 768px) {
  .mobile-only {
    display: inline-block;
  }

  .floating-contact-btn {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .contact-toggle-btn {
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 50%;
    font-size: 1rem;
    gap: 0;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
  }

  .contact-toggle-btn .btn-icon {
    font-size: 1.4rem;
  }

  .contact-menu {
    width: 300px;
    max-width: calc(100vw - 2.5rem);
    bottom: 70px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  }

  .contact-menu-header {
    padding: 1.25rem;
  }

  .contact-menu-header h4 {
    font-size: 1.1rem;
  }

  .close-contact {
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
  }

  .contact-option {
    padding: 1rem;
    gap: 0.85rem;
  }

  .option-icon {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .option-title {
    font-size: 0.9rem;
  }

  .option-detail {
    font-size: 0.75rem;
  }

  .phone-number {
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  .contact-toggle-btn .btn-text {
    display: none;
  }

  .contact-toggle-btn {
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .contact-toggle-btn .btn-icon {
    font-size: 1.6rem;
    margin: 0;
  }

  .contact-menu {
    width: 270px;
    max-width: calc(100vw - 2rem);
  }

  .contact-menu-header {
    padding: 1rem;
  }

  .contact-menu-header h4 {
    font-size: 1rem;
  }

  .contact-menu-header p {
    font-size: 0.75rem;
  }

  .contact-option {
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .option-icon {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .option-title {
    font-size: 0.85rem;
  }

  .option-detail {
    font-size: 0.7rem;
  }
}

/* Accessibility - Focus States */
.contact-toggle-btn:focus {
  outline: 3px solid rgba(244, 126, 82, 0.5);
  outline-offset: 3px;
}

.contact-option:focus {
  outline: 2px solid #f47e52;
  outline-offset: -2px;
  background: #fff5f2;
}

.close-contact:focus {
  outline: 2px solid #f47e52;
  outline-offset: 2px;
}

/* ===============================
   LIGHTBOX / IMAGE MODAL - FIXED
   =============================== */

#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

#lightbox.active {
  display: flex;
}

#lightbox .modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox .modal-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Close Button - X Symbol */
#lightbox .lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 100000;
}

#lightbox .lightbox-close:hover {
  background: #f47e52;
  border-color: #f47e52;
  transform: scale(1.1) rotate(90deg);
}

#lightbox .lightbox-close::before,
#lightbox .lightbox-close::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

#lightbox .lightbox-close::before {
  transform: rotate(45deg);
}

#lightbox .lightbox-close::after {
  transform: rotate(-45deg);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #lightbox {
    padding: 0.5rem;
  }

  #lightbox .lightbox-close {
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
  }

  #lightbox .lightbox-close::before,
  #lightbox .lightbox-close::after {
    width: 20px;
    height: 2px;
  }

  #lightbox .modal-content img {
    max-height: 80vh;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  #lightbox .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  #lightbox .lightbox-close::before,
  #lightbox .lightbox-close::after {
    width: 18px;
  }
}

/* Gallery item hover effect improvement */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(1, 96, 96, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ===============================
   RESPONSIVE COMPARISON TABLE
   =============================== */

.table-responsive {
  width: 100%;
  overflow: visible;
}

.comparison-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Header row */
.comparison-table thead tr {
  background: var(--color-teal-primary);
  color: white;
}

/* Header cells */
.comparison-table th {
  padding: 1.25rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  vertical-align: middle;
  word-wrap: break-word;
}

.comparison-table th.feature-col {
  text-align: left;
  width: 40%;
}

.comparison-table th.plan-col {
  width: 30%;
}

.comparison-table th.featured-col {
  background: var(--color-coral-primary);
}

.comparison-table .plan-subtitle {
  font-weight: 400;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Body cells */
.comparison-table td {
  padding: 1rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.95rem;
  word-wrap: break-word;
}

.comparison-table td:first-child {
  text-align: left;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: #f9fafb;
}

/* Featured column */
.comparison-table .featured-cell {
  background: var(--color-coral-bg);
}

/* X marks styling */
.comparison-table .no-feature {
  color: #9ca3af;
}

/* Checkmarks */
.comparison-table td:not(:first-child):not(.no-feature) {
  color: var(--color-teal-primary);
  font-weight: 500;
}

/* ===============================
   TABLET RESPONSIVE (max 968px)
   =============================== */

@media (max-width: 968px) {
  .comparison-table th {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
  }

  .comparison-table th.feature-col {
    width: 38%;
  }

  .comparison-table th.plan-col {
    width: 31%;
  }

  .comparison-table .plan-subtitle {
    font-size: 0.75rem;
  }

  .comparison-table td {
    padding: 0.85rem 0.6rem;
    font-size: 0.88rem;
  }
}

/* ===============================
   MOBILE RESPONSIVE (max 768px)
   =============================== */

@media (max-width: 768px) {
  .comparison-table th {
    padding: 0.85rem 0.5rem;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .comparison-table th.feature-col {
    width: 36%;
  }

  .comparison-table th.plan-col {
    width: 32%;
  }

  .comparison-table .plan-subtitle {
    font-size: 0.65rem;
    display: block;
    margin-top: 3px;
  }

  .comparison-table td {
    padding: 0.7rem 0.4rem;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  /* Checkmarks and X slightly smaller */
  .comparison-table td:not(:first-child) {
    font-size: 1rem;
  }
}

/* ===============================
   SMALL MOBILE (max 480px)
   =============================== */

@media (max-width: 480px) {
  .comparison-table {
    border-radius: 12px;
  }

  .comparison-table th {
    padding: 0.7rem 0.35rem;
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .comparison-table th.feature-col {
    width: 34%;
  }

  .comparison-table th.plan-col {
    width: 33%;
  }

  .comparison-table .plan-subtitle {
    font-size: 0.58rem;
  }

  .comparison-table td {
    padding: 0.6rem 0.3rem;
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .comparison-table td:not(:first-child) {
    font-size: 0.95rem;
  }

  .comparison-table td strong {
    font-weight: 600;
  }
}

/* ===============================
   VERY SMALL PHONES (max 375px)
   =============================== */

@media (max-width: 375px) {
  .comparison-table th {
    padding: 0.6rem 0.25rem;
    font-size: 0.6rem;
  }

  .comparison-table th.feature-col {
    width: 33%;
  }

  .comparison-table .plan-subtitle {
    font-size: 0.52rem;
  }

  .comparison-table td {
    padding: 0.5rem 0.2rem;
    font-size: 0.6rem;
  }

  .comparison-table td:not(:first-child) {
    font-size: 0.88rem;
  }
}

/* ===============================
   EXTRA SMALL (max 320px)
   =============================== */

@media (max-width: 320px) {
  .comparison-table th {
    padding: 0.5rem 0.2rem;
    font-size: 0.55rem;
  }

  .comparison-table .plan-subtitle {
    font-size: 0.48rem;
  }

  .comparison-table td {
    padding: 0.45rem 0.15rem;
    font-size: 0.55rem;
  }

  .comparison-table td:not(:first-child) {
    font-size: 0.82rem;
  }
}


/* ===============================
   WHICH PROGRAM SHOULD I CHOOSE
   =============================== */

.choose-program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.choose-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--color-gray-200);
  position: relative;
}

.choose-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--color-teal-primary);
}

.choose-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.choose-card li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-gray-700);
  line-height: 1.5;
  border-bottom: 1px solid var(--color-gray-100);
}

.choose-card li:last-child {
  border-bottom: none;
}

.choose-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: var(--color-teal-primary);
  font-weight: 700;
  font-size: 1rem;
}

/* Recommended Card */
.choose-card.recommended {
  border: 3px solid var(--color-coral-primary);
  background: linear-gradient(135deg, rgba(244, 126, 82, 0.03) 0%, white 100%);
}

.recommended-badge {
  display: flex;
  justify-content: center;
  background: var(--color-coral-primary);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ===============================
   TABLET RESPONSIVE
   =============================== */

@media (max-width: 968px) {
  .choose-program-grid {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .choose-card {
    padding: 1.75rem;
  }

  .choose-card h3 {
    font-size: 1.15rem;
  }

  .choose-card li {
    font-size: 0.9rem;
  }
}

/* ===============================
   MOBILE RESPONSIVE
   =============================== */

@media (max-width: 768px) {
  .choose-program-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 500px;
    padding: 0 0.75rem;
  }

  /* Put recommended card first on mobile */
  .choose-card.recommended {
    order: -1;
  }

  .choose-card {
    padding: 1.5rem;
  }

  .choose-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .choose-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    font-size: 0.9rem;
  }

  .choose-card li::before {
    top: 0.5rem;
    font-size: 0.95rem;
  }

  .recommended-badge {
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    margin-top: 0.75rem;
  }
}

/* ===============================
   SMALL MOBILE
   =============================== */

@media (max-width: 480px) {
  .choose-program-grid {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .choose-card {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .choose-card.recommended {
    border-width: 2px;
  }

  .choose-card h3 {
    font-size: 1rem;
    margin-bottom: 0.85rem;
  }

  .choose-card li {
    padding: 0.45rem 0;
    padding-left: 1.35rem;
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .choose-card li::before {
    top: 0.45rem;
    font-size: 0.9rem;
  }

  .recommended-badge {
    padding: 0.3rem 0.75rem;
    font-size: 0.65rem;
    margin-top: 0.75rem;
  }
}

/* ===============================
   VERY SMALL PHONES
   =============================== */

@media (max-width: 375px) {
  .choose-card {
    padding: 1rem;
  }

  .choose-card h3 {
    font-size: 0.95rem;
  }

  .choose-card li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    font-size: 0.8rem;
  }

  .choose-card li::before {
    font-size: 0.85rem;
  }
}

/* ===============================
   MOBILE SCROLL FIX - PREVENT ELEMENT SCROLL CAPTURE
   This ensures only the page scrolls, not individual elements
   =============================== */

/* Global fix for all cards and content boxes */
.card,
.card-grid,
.pricing-card,
.testimonial-card,
.value-card-enhanced,
.safety-card,
.tutor-card,
.bootcamp-box,
.partner-card,
.reveal-card,
.choose-card,
.resource-card,
.mobile-testimonial-card,
.float-testimonial,
.accordion-item,
.timeline-step,
.step,
.hero-info-box,
.hero-features,
.promise-pills,
.skills-grid,
.skill-item,
.format-icons,
.format-icon-item,
.why-interactive,
.reveal-cards,
.note-banner,
.bootcamps-grid,
.info-banner,
.partners-grid,
.solution-divider {
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: auto !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
}

/* Ensure sections don't capture scroll */
.section,
.section-alt,
.section-teal,
.section-coral,
.hero,
.hero-new,
.hero-combined,
.hero-lifeskills,
.cta-section,
.cta-section-custom {
  touch-action: pan-y !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
}

/* Fix for grid containers */
@media (max-width: 1024px) {
  .card-grid,
  .pricing-grid,
  .testimonial-grid,
  .partners-grid,
  .bootcamps-grid,
  .reveal-cards,
  .choose-program-grid,
  .image-gallery,
  .hero-grid,
  .hero-content,
  .contact-grid,
  .footer-content {
    touch-action: pan-y !important;
    overflow: visible !important;
  }
}

/* Mobile specific fixes */
@media (max-width: 768px) {
  /* Ensure all content allows page scroll */
  .container,
  .hero-text,
  .hero-wrapper,
  .hero-video-col,
  .hero-text-col,
  .cta-content,
  .cta-buttons,
  .pricing-features,
  .testimonial-text,
  .testimonial-author,
  .accordion-content,
  .timeline-container,
  .steps-container,
  .filter-bar,
  .tab-buttons,
  .tab-content,
  .video-container,
  .video-wrapper {
    touch-action: pan-y !important;
    overflow: visible !important;
    -webkit-overflow-scrolling: auto !important;
  }

  /* Fix for any element that might have overflow set */
  * {
    -webkit-overflow-scrolling: auto;
  }

  /* Specific fix for card hover states that might interfere */
  .card:hover,
  .pricing-card:hover,
  .testimonial-card:hover,
  .partner-card:hover,
  .bootcamp-box:hover,
  .reveal-card:hover,
  .value-card-enhanced:hover {
    touch-action: pan-y !important;
  }

  /* Fix for list items */
  ul, ol, li,
  .pricing-features li,
  .value-list li,
  .choose-card ul,
  .choose-card li {
    touch-action: pan-y !important;
    overflow: visible !important;
  }

  /* Fix potential issues with flexbox containers */
  [style*="display: flex"],
  [style*="display:flex"] {
    touch-action: pan-y !important;
  }

  /* Problem and solution cards specific fix */
  .problem-card,
  .solution-card,
  .problem-icon,
  .solution-icon {
    touch-action: pan-y !important;
    overflow: visible !important;
  }

  /* Timeline and steps fix */
  .timeline-step,
  .timeline-number,
  .timeline-content,
  .step,
  .step-number,
  .step-content {
    touch-action: pan-y !important;
    overflow: visible !important;
  }

  /* Testimonials fix */
  .testimonials-float-container,
  .testimonials-mobile-scroll,
  .testimonials-mobile-track {
    touch-action: pan-y pan-x !important;
  }

  /* Hero section specific */
  .hero-features span,
  .hero-feature,
  .hero-badge,
  .hero-buttons a {
    touch-action: pan-y !important;
  }
}

/* Small mobile specific */
@media (max-width: 480px) {
  /* Extra safety for smallest screens */
  body > *,
  .container > *,
  .section > * {
    touch-action: pan-y !important;
  }

  /* Ensure cards don't block scroll */
  .card,
  .card > *,
  .pricing-card > *,
  .testimonial-card > * {
    touch-action: pan-y !important;
    pointer-events: auto;
  }
}

/* Fix for elements with inline overflow styles */
[style*="overflow: hidden"],
[style*="overflow:hidden"],
[style*="overflow-x: hidden"],
[style*="overflow-x:hidden"],
[style*="overflow-y: hidden"],
[style*="overflow-y:hidden"] {
  touch-action: pan-y !important;
}

/* Ensure interactive elements still work */
button,
a,
input,
select,
textarea,
.btn,
.accordion-button,
.tab-button,
.nav-toggle-label,
.contact-toggle-btn,
.gallery-item {
  touch-action: manipulation !important;
}

/* Keep carousels scrollable horizontally but allow vertical page scroll */
.carousel-track,
.testimonials-mobile-track,
.image-carousel-section {
  touch-action: pan-x pan-y !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Fix for the Why Us sticky bar */
.why-us-bar,
.why-us-container,
.why-us-btn {
  touch-action: pan-y manipulation !important;
}

/* Navigation should allow manipulation for taps */
.main-nav,
.main-nav a,
.site-header {
  touch-action: pan-y manipulation !important;
}

/* Contact menu fix */
.floating-contact-btn,
.contact-menu,
.contact-option {
  touch-action: manipulation !important;
}

/* Comparison table fix - allow scroll on tables if needed but prioritize page scroll */
.table-responsive {
  touch-action: pan-y pan-x !important;
  -webkit-overflow-scrolling: touch !important;
}

.comparison-table {
  touch-action: pan-y !important;
}

/* Form elements should allow normal interaction */
.form-group,
.form-input,
.form-select,
.form-textarea {
  touch-action: manipulation !important;
}

/* Pricing card content sections better spacing */
.pricing-card > div[style*="background"] {
  margin-bottom: 2rem;
}

.pricing-card > div[style*="background"] h4 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

/* Better text wrapping for list items */
.pricing-features li {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Ensure buttons align at bottom */
.pricing-card .btn {
  margin-top: auto;
}

/* ===============================
   PRICING FEATURES - ORANGE TICKS
   =============================== */

/* Remove the default green dot */
.pricing-features li::before {
  content: '✓' !important;
  width: 24px;
  height: 24px;
  background: var(--color-coral-primary) !important;
  color: white !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 0 !important;
}

/* For the "What You Get" and "Best For" sections in Programs page */
.pricing-card .pricing-features li::before,
.card .pricing-features li::before {
  content: '✓' !important;
  background: var(--color-coral-primary) !important;
  color: white !important;
  margin-top: 0 !important;
}

/* Ensure consistency across all pricing feature lists */
ul.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.875rem;
  color: var(--color-gray-700);
  line-height: 1.6;
  text-align: left;
}

ul.pricing-features li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin-top: 0;
  background: var(--color-coral-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
}

/* Mobile adjustments for ticks */
@media (max-width: 768px) {
  ul.pricing-features li::before,
  .pricing-features li::before {
    width: 22px;
    height: 22px;
    min-width: 22px;
    font-size: 0.8rem;
  }
  
  .pricing-features li {
    gap: 0.75rem;
    padding: 0.625rem 0;
  }
  
  .pricing-card > div[style*="background"] {
    padding: 1.25rem !important;
  }
}

@media (max-width: 480px) {
  ul.pricing-features li::before,
  .pricing-features li::before {
    width: 20px;
    height: 20px;
    min-width: 20px;
    font-size: 0.75rem;
  }
  
  .pricing-features li {
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
  }
  
  .pricing-card > div[style*="background"] {
    padding: 1rem !important;
  }
  
  .pricing-card > div[style*="background"] h4 {
    font-size: 1rem;
  }
}

/* ===============================
   FREE RESOURCES - LOCKED CONTENT FIX
   Fixes for sample videos and quizzes on mobile
   =============================== */

/* Locked video placeholder - base styles */
.locked-video-placeholder {
  background: linear-gradient(135deg, #1f2937, #374151);
  border-radius: 12px;
  min-height: 180px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 2rem 1rem;
  text-align: center;
}

.locked-video-placeholder .lock-content {
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0 0.5rem;
}

.locked-video-placeholder .lock-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: block;
  line-height: 1;
}

.locked-video-placeholder p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.4;
  word-wrap: break-word;
  max-width: 100%;
}

/* Resource card improvements for mobile */
.resource-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: 2px solid var(--color-gray-200);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
}

/* Status icon positioning */
.resource-card .status-icon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.25rem;
  z-index: 1;
}

/* Resource type badge */
.resource-card .resource-type {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  max-width: calc(100% - 2.5rem);
  word-wrap: break-word;
}

/* Video embed container */
.resource-card .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  background: #000;
  min-height: 0;
}

.resource-card .video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===============================
   TABLET RESPONSIVE (max 968px)
   =============================== */
@media (max-width: 968px) {
  .locked-video-placeholder {
    min-height: 160px;
    padding: 1.5rem 1rem;
    border-radius: 10px;
  }

  .locked-video-placeholder .lock-icon {
    font-size: 2.25rem;
  }

  .locked-video-placeholder p {
    font-size: 0.9rem;
  }

  .resource-card {
    padding: 1.25rem;
  }

  .resource-card .status-icon {
    font-size: 1.15rem;
    top: 0.65rem;
    right: 0.65rem;
  }
}

/* ===============================
   MOBILE RESPONSIVE (max 768px)
   =============================== */
@media (max-width: 768px) {
  .locked-video-placeholder {
    min-height: 140px;
    padding: 1.25rem 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
  }

  .locked-video-placeholder .lock-content {
    padding: 0 0.25rem;
    gap: 0.35rem;
  }

  .locked-video-placeholder .lock-icon {
    font-size: 2rem;
    margin-bottom: 0.35rem;
  }

  .locked-video-placeholder p {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .resource-card {
    padding: 1rem;
    border-radius: 12px;
  }

  .resource-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
  }

  .resource-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .resource-card .status-icon {
    font-size: 1.1rem;
    top: 0.6rem;
    right: 0.6rem;
  }

  .resource-card .resource-type {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .resource-card .video-embed {
    border-radius: 8px;
    margin-bottom: 1rem;
  }

  /* Button adjustments */
  .resource-card .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  /* Card grid adjustments */
  .card-grid {
    gap: 1.25rem;
  }
}

/* ===============================
   SMALL MOBILE (max 480px)
   =============================== */
@media (max-width: 480px) {
  .locked-video-placeholder {
    min-height: 120px;
    padding: 1rem 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
  }

  .locked-video-placeholder .lock-content {
    gap: 0.25rem;
  }

  .locked-video-placeholder .lock-icon {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
  }

  .locked-video-placeholder p {
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .resource-card {
    padding: 0.875rem;
    border-radius: 10px;
  }

  .resource-card h3 {
    font-size: 1rem;
    padding-right: 1.75rem;
  }

  .resource-card p {
    font-size: 0.85rem;
  }

  .resource-card .status-icon {
    font-size: 1rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .resource-card .resource-type {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }

  .resource-card .btn {
    padding: 0.7rem 0.875rem;
    font-size: 0.85rem;
  }

  /* Sample banner adjustments */
  .sample-banner {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }

  .sample-banner h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }

  .sample-banner p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

/* ===============================
   VERY SMALL PHONES (max 375px)
   =============================== */
@media (max-width: 375px) {
  .locked-video-placeholder {
    min-height: 110px;
    padding: 0.875rem 0.4rem;
  }

  .locked-video-placeholder .lock-icon {
    font-size: 1.5rem;
  }

  .locked-video-placeholder p {
    font-size: 0.75rem;
  }

  .resource-card {
    padding: 0.75rem;
  }

  .resource-card h3 {
    font-size: 0.95rem;
  }

  .resource-card p {
    font-size: 0.8rem;
  }

  .resource-card .btn {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
  }

  .resource-card .resource-type {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
  }

  .sample-banner h3 {
    font-size: 1rem;
  }

  .sample-banner p {
    font-size: 0.85rem;
  }
}

/* ===============================
   LOCKED/UNLOCKED CARD STATES
   =============================== */

/* Locked card styling */
.resource-card[style*="border: 2px solid #d1d5db"] {
  opacity: 0.95;
}

/* Unlocked/Free sample card styling */
.resource-card[style*="border: 3px solid #10b981"] .video-embed,
.resource-card[style*="border: 3px solid #10b981"] .locked-video-placeholder {
  border: 2px solid rgba(16, 185, 129, 0.3);
}

/* Ensure buttons are full width and properly styled */
.resource-card .btn[style*="width: 100%"] {
  width: 100% !important;
  box-sizing: border-box;
}

/* Fix for inline styles on cards */
@media (max-width: 768px) {
  .resource-card[style*="border: 3px"],
  .resource-card[style*="border: 2px"] {
    border-width: 2px !important;
  }
}

@media (max-width: 480px) {
  .resource-card[style*="border: 3px"],
  .resource-card[style*="border: 2px"] {
    border-width: 2px !important;
    border-radius: 10px !important;
  }
}

/* ===============================
   STICKY HEADER - ALWAYS VISIBLE ON SCROLL
   Works on all screen sizes including mobile
   =============================== */

/* Make header sticky on all devices */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

/* Add padding to body to account for fixed header */
body {
  padding-top: 80px; /* Adjust based on your header height */
}

/* Header container */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
}

/* Logo styling */
.brand {
  display: flex;
  align-items: center;
  z-index: 9996;
}

.brand-logo {
  height: 50px;
  width: auto;
  transform: scale(1.3);
  transform-origin: left center;
}

/* Hamburger menu - always visible positioning */
.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 10001 !important;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  background: transparent;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav-toggle-label:active {
  background: rgba(1, 96, 96, 0.1);
}

.nav-toggle-label span {
  width: 28px;
  height: 3px;
  background-color: var(--color-teal-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

/* Why Us sticky bar - positioned below header */
.why-us-bar {
  background: linear-gradient(135deg, #005F60, #016868);
  padding: 0.5rem 0;
  position: fixed !important;
  top: 70px !important; /* Position below header */
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9998 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid #f47e52;
}

/* Adjust body padding to account for both header and why-us bar */
body {
  padding-top: 120px !important; /* Header (70px) + Why Us bar (~50px) */
}

/* ===============================
   MOBILE SPECIFIC STYLES
   =============================== */

@media (max-width: 1100px) {
  /* Fixed header on mobile */
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: var(--color-white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
  }

  /* Header container mobile */
  .nav-container {
    padding: 0.5rem 1rem;
    height: 60px;
  }

  /* Logo mobile size */
  .brand-logo {
    height: 40px;
    transform: scale(1.2);
  }

/* Show hamburger menu on mobile */
  .nav-toggle-label {
    display: flex !important;
    position: relative !important;
    z-index: 10001 !important;
  }

  .nav-toggle-label span {
    width: 26px;
    height: 3px;
  }

  /* Body padding for mobile */
  body {
    padding-top: 110px !important; /* Header (60px) + Why Us bar (~50px) */
  }

  /* Why Us bar mobile position */
  .why-us-bar {
    top: 60px !important;
    padding: 0.4rem 0;
  }

  /* Mobile navigation menu */
  .main-nav {
    position: fixed !important;
    top: 0 !important;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh !important;
    height: 100dvh !important; /* Dynamic viewport height for mobile browsers */
    background: var(--color-white) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 80px 1.5rem 2rem !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Open state for mobile nav */
  .nav-toggle:checked ~ .main-nav {
    right: 0 !important;
  }

  /* Backdrop when menu is open */
  .nav-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: none;
    z-index: 9999 !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle:checked ~ .nav-backdrop {
    display: block !important;
  }

  /* Hamburger animation when open */
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Navigation links styling */
  .main-nav a {
    width: 100% !important;
    padding: 1rem 0 !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: var(--color-gray-700) !important;
    display: block !important;
    text-align: left !important;
    border-bottom: 1px solid var(--color-gray-200);
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  .main-nav a:hover,
  .main-nav a:active {
    color: var(--color-teal-primary) !important;
    padding-left: 0.5rem !important;
  }

  .main-nav a:first-child {
    padding-top: 0.5rem !important;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  /* CTA button in mobile nav */
  .main-nav a.header-cta {
    margin-top: 1.5rem !important;
    padding: 1rem 1.5rem !important;
    background: linear-gradient(135deg, var(--color-coral-primary), var(--color-coral-dark)) !important;
    color: white !important;
    border-radius: 50px !important;
    text-align: center !important;
    font-weight: 600 !important;
    border-bottom: none !important;
  }

  .main-nav a.header-cta:hover {
    padding-left: 1.5rem !important;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
  }
}

/* ===============================
   SMALL MOBILE (max 480px)
   =============================== */

@media (max-width: 480px) {
  .nav-container {
    padding: 0.5rem 0.75rem;
    height: 55px;
  }

  .brand-logo {
    height: 36px;
    transform: scale(1.15);
  }

  .nav-toggle-label {
    padding: 0.6rem;
  }

  .nav-toggle-label span {
    width: 24px;
    height: 2.5px;
    gap: 5px;
  }

  body {
    padding-top: 100px !important;
  }

  .why-us-bar {
    top: 55px !important;
  }

  .main-nav {
    width: 280px;
    padding: 70px 1.25rem 2rem !important;
  }

  .main-nav a {
    font-size: 1rem !important;
    padding: 0.875rem 0 !important;
  }
}

/* ===============================
   VERY SMALL PHONES (max 375px)
   =============================== */

@media (max-width: 375px) {
  .nav-container {
    padding: 0.4rem 0.5rem;
    height: 50px;
  }

  .brand-logo {
    height: 32px;
    transform: scale(1.1);
  }

  body {
    padding-top: 95px !important;
  }

  .why-us-bar {
    top: 50px !important;
  }

  .main-nav {
    width: 260px;
    padding: 65px 1rem 2rem !important;
  }
}

/* ===============================
   HEADER SCROLL EFFECT (OPTIONAL)
   Adds shadow when scrolled
   =============================== */

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

/* ===============================
   DESKTOP STYLES
   Keep desktop navigation normal
   =============================== */

@media (min-width: 1101px) {
  body {
    padding-top: 130px !important; /* Adjust for desktop header + why us bar */
  }

  .nav-container {
    height: 80px;
    padding: 0 2rem;
  }

  .brand-logo {
    height: 55px;
    transform: scale(1.4);
  }

  .nav-toggle-label {
    display: none !important;
  }

  .main-nav {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2rem !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
  }

  .main-nav a {
    padding: 0.5rem 0 !important;
    font-size: 1rem !important;
    border-bottom: none !important;
  }

  .nav-backdrop {
    display: none !important;
  }

  .why-us-bar {
    top: 80px !important;
  }
}

/* ===============================
   CTA SECTION BUTTONS - MOBILE CENTERED
   Fixes for all CTA sections across pages
   =============================== */

/* Base CTA buttons container */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Mobile specific centering for CTA sections */
@media (max-width: 768px) {
  /* CTA Section buttons */
  .cta-section .cta-buttons,
  .cta-section-custom .cta-buttons-custom {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0 1rem;
  }

  .cta-section .cta-buttons .btn,
  .cta-section .cta-buttons a,
  .cta-section-custom .cta-buttons-custom .cta-btn,
  .cta-section-custom .cta-buttons-custom a {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
  }

  /* Hero buttons centering */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-buttons .btn,
  .hero-buttons a {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
  }

  /* CTA content centering */
  .cta-content {
    text-align: center;
    padding: 0 1rem;
  }

  .cta-content h2 {
    text-align: center;
  }

  .cta-content p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cta-section .cta-buttons .btn,
  .cta-section .cta-buttons a,
  .cta-section-custom .cta-buttons-custom .cta-btn,
  .hero-buttons .btn,
  .hero-buttons a {
    max-width: 280px;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* ===============================
   HAMBURGER MENU FIX - COMPLETE
   =============================== */

/* Ensure nav toggle checkbox is accessible but hidden */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  left: -9999px;
  pointer-events: none;
}

/* Hamburger icon - visible on mobile */
@media (max-width: 1100px) {
  .nav-toggle-label {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 1rem;
    z-index: 10001 !important;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    background: transparent;
    border: none;
    outline: none;
  }

  .nav-toggle-label span {
    width: 28px;
    height: 3px;
    background-color: var(--color-teal-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
    pointer-events: none;
  }

  /* Make label clickable area larger */
  .nav-toggle-label::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
  }

  /* Menu open state - hamburger becomes X */
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Mobile navigation menu */
  .main-nav {
    position: fixed !important;
    top: 0 !important;
    right: -320px !important;
    width: 300px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: var(--color-white) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 80px 1.5rem 2rem !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2) !important;
    transition: right 0.3s ease !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Menu open state */
  .nav-toggle:checked ~ .main-nav {
    right: 0 !important;
  }

  /* Backdrop */
  .nav-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: none !important;
    z-index: 9999 !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle:checked ~ .nav-backdrop {
    display: block !important;
  }

  /* Navigation links */
  .main-nav a {
    width: 100% !important;
    padding: 1rem 0 !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: var(--color-gray-700) !important;
    display: block !important;
    text-align: left !important;
    border-bottom: 1px solid var(--color-gray-200);
    transition: all 0.2s ease;
  }

  .main-nav a:hover,
  .main-nav a:active {
    color: var(--color-teal-primary) !important;
    padding-left: 0.5rem !important;
  }

  .main-nav a::after {
    display: none !important;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  /* CTA button in mobile nav */
  .main-nav a.header-cta {
    margin-top: 1.5rem !important;
    padding: 1rem 1.5rem !important;
    background: linear-gradient(135deg, var(--color-coral-primary), var(--color-coral-dark)) !important;
    color: white !important;
    border-radius: 50px !important;
    text-align: center !important;
    font-weight: 600 !important;
    border-bottom: none !important;
  }
}

/* Desktop - hide hamburger, show normal nav */
@media (min-width: 1101px) {
  .nav-toggle-label {
    display: none !important;
  }

  .nav-backdrop {
    display: none !important;
  }

  .main-nav {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2rem !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    right: auto !important;
  }

  .main-nav a {
    padding: 0.5rem 0 !important;
    font-size: 1rem !important;
    border-bottom: none !important;
    width: auto !important;
  }
}


/* ===============================
   LOGO SIZE - 20% BIGGER ON ALL SCREENS
   =============================== */

.brand-logo {
  height: 96px; /* Was 80px, now 20% bigger */
  width: auto;
  transform: scale(1.8); /* Was 1.5, now 20% bigger */
  transform-origin: left center;
}

/* Tablet */
@media (max-width: 968px) {
  .brand-logo {
    height: 84px; /* Was 70px, now 20% bigger */
    transform: scale(1.56); /* Was 1.3, now 20% bigger */
  }
}

/* Mobile */
@media (max-width: 768px) {
  .brand-logo {
    height: 72px; /* Was 60px, now 20% bigger */
    transform: scale(1.44); /* Was 1.2, now 20% bigger */
  }

  /* Adjust header height for bigger logo */
  .site-header {
    height: 72px;
  }

  .nav-container {
    height: 72px;
    padding: 0.5rem 1rem;
  }

  /* Adjust body padding for taller header */
  body {
    padding-top: 120px !important; /* Increased for bigger logo */
  }

  /* Adjust Why Us bar position */
  .why-us-bar {
    top: 72px !important;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .brand-logo {
    height: 60px; /* Was 50px, now 20% bigger */
    transform: scale(1.38); /* Was 1.15, now 20% bigger */
  }

  .site-header {
    height: 68px;
  }

  .nav-container {
    height: 68px;
  }

  body {
    padding-top: 112px !important;
  }

  .why-us-bar {
    top: 68px !important;
  }
}

/* Very Small Phones */
@media (max-width: 375px) {
  .brand-logo {
    height: 54px; /* Was 45px, now 20% bigger */
    transform: scale(1.32); /* Was 1.1, now 20% bigger */
  }

  .site-header {
    height: 62px;
  }

  .nav-container {
    height: 62px;
  }

  body {
    padding-top: 106px !important;
  }

  .why-us-bar {
    top: 62px !important;
  }
}

/* Desktop */
@media (min-width: 1101px) {
  .brand-logo {
    height: 96px;
    transform: scale(1.2); /* Was 1.4, now 20% bigger */
  }
  
  .nav-container {
    height: 90px;
    padding: 0.5rem 2rem;
  }
  
  body {
    padding-top: 140px !important; /* Header + Why Us bar */
  }
  
  .why-us-bar {
    top: 90px !important;
  }
}

/* ===============================
   HEADER + WHY US STACK (NO GAP)
   =============================== */

/* Base desktop offset */
:root {
  --stack-offset: 90px;
}

/* Tablets */
@media (max-width: 1100px) {
  :root {
    --stack-offset: 60px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --stack-offset: 72px;  /* matches nav-container height at this breakpoint */
  }
}

/* Small mobile */
@media (max-width: 480px) {
  :root {
    --stack-offset: 68px;  /* matches nav-container height at this breakpoint */
  }
}

/* Very small mobile */
@media (max-width: 375px) {
  :root {
    --stack-offset: 62px;  /* matches nav-container height at this breakpoint */
  }
}

/* Ensure Why Us bar sits directly beneath header on all viewports */
.site-header {
  border-bottom: none !important; /* Remove border to prevent sub-pixel gap */
}

.why-us-bar {
  top: var(--stack-offset) !important;
  margin-top: 0 !important;
}

/* ===============================
   HOMEPAGE HERO & TESTIMONIALS
   =============================== */

/* Hero Section */
.hero-new {
  background: linear-gradient(135deg, #e6f5f5 0%, #ffffff 50%, #fff5f2 100%);
  padding: 4rem 0 2rem;
  overflow: visible;
  position: relative;
  min-height: auto;
}

.hero-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(1, 96, 96, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(244, 126, 82, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(1, 96, 96, 0.08);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  margin-bottom: 2rem;
  border: 1px solid rgba(1, 96, 96, 0.1);
}

.hero-badge::before {
  content: '⭐';
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  min-height: 50vh;
}

.hero-text {
  padding-top: 1rem;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--color-teal-primary) !important;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero-text .lead-text {
  color: var(--color-gray-700) !important;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-info-box {
  background: rgba(1, 96, 96, 0.04);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin: 2.5rem 0;
  border-left: 5px solid var(--color-coral-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-info-box p {
  margin: 0;
  color: var(--color-teal-primary);
  font-size: 1rem;
}

.hero-new .hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hero-features {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  z-index: 10;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  background: rgba(1, 96, 96, 0.04);
  padding: 1.25rem 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(1, 96, 96, 0.1);
  width: 160px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-feature span:not(.hero-feature-icon) {
  line-height: 1.3;
  display: block;
}

.hero-feature:hover {
  transform: translateY(-5px);
  background: rgba(1, 96, 96, 0.08);
  box-shadow: 0 10px 20px rgba(1, 96, 96, 0.06);
  border-color: rgba(1, 96, 96, 0.2);
}

.hero-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: white;
  border-radius: 12px;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.hero-feature:hover .hero-feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* DESKTOP: Floating/Stacked Testimonials */
.testimonials-float-container {
  position: relative;
  min-height: 50vh;
  height: auto;
  width: 100%;
}

.float-testimonial {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  width: 260px;
  animation: floatSoft 6s ease-in-out infinite;
  border: 1px solid rgba(0,0,0,0.05);
  will-change: transform;
}

.float-testimonial.card-1 {
  top: 10;
  right: 0;
  z-index: 4;
  animation-delay: 0s;
}

.float-testimonial.card-2 {
  top: 10px;
  left: 0;
  z-index: 3;
  animation-delay: 1s;
}

.float-testimonial.card-3 {
  top: 270px;
  left: 40px;
  z-index: 2;
  animation-delay: 2s;
}

.float-testimonial.card-4 {
  top: 420px;
  right: 20px;
  z-index: 5;
  animation-delay: 1.5s;
}

/* Certificate card - special styling */
.float-testimonial.card-certificate {
  top: 120px;
  right: 290px;
  z-index: 6;
  width: 180px;
  padding: 0.75rem;
  animation-delay: 0.5s;
}

.float-testimonial.card-certificate img {
  width: 100%;
  border-radius: 8px;
}

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

.float-testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.float-testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--color-teal-bg);
}

.float-testimonial-info h4 {
  font-size: 0.9rem;
  color: var(--color-teal-primary);
  margin: 0 0 2px 0;
}

.float-testimonial-info p {
  font-size: 0.7rem;
  color: var(--color-coral-primary);
  margin: 0;
}

.float-testimonial-text {
  font-size: 0.8rem;
  color: var(--color-gray-700);
  line-height: 1.5;
  font-style: italic;
  margin: 0;
}

.float-testimonial-stars {
  color: #f59e0b;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.testimonial-certificate-inline {
  width: 100%;
  border-radius: 8px;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Image Carousel Section */
.image-carousel-section {
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  padding: 1.5rem 0;
  background: linear-gradient(to bottom, transparent, rgba(1, 96, 96, 0.03));
  margin-top: 0;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  animation: scrollCarousel 80s linear infinite;
  width: max-content;
  will-change: transform;
  transform: translateZ(0);
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scrollCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-image {
  width: 280px;
  height: 210px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.carousel-image:hover {
  transform: scale(1.05);
}

/* Hide mobile testimonials on desktop */
.testimonials-mobile-scroll {
  display: none;
}

/* ======================= */
/* HOMEPAGE MOBILE / TABLET */
/* ======================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  /* Hide desktop floating testimonials */
  .testimonials-float-container {
    display: none !important;
  }

  /* Show mobile horizontal scroll testimonials */
  .testimonials-mobile-scroll {
    display: block !important;
    overflow: hidden;
    padding: 0.25rem 0 0.5rem;
    margin: 0;
    width: 100%;
  }

  .testimonials-mobile-track {
    display: flex;
    gap: 0.75rem;
    padding: 0 0.75rem;
    width: max-content;
    animation: scrollTestimonials 20s linear infinite;
    align-items: flex-start;
    will-change: transform;
  }

  .testimonials-mobile-track:hover {
    animation-play-state: paused;
  }

  @keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .mobile-testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: 280px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.05);
  }

  /* Card with certificate is taller */
  .mobile-testimonial-card.has-certificate {
    width: 280px;
  }

  .mobile-testimonial-card .float-testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .mobile-testimonial-card .float-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-teal-bg);
  }

  .mobile-testimonial-card .float-testimonial-info h4 {
    font-size: 1rem;
    color: var(--color-teal-primary);
    margin: 0;
  }

  .mobile-testimonial-card .float-testimonial-info p {
    font-size: 0.8rem;
    color: var(--color-coral-primary);
    margin: 0;
  }

  .mobile-testimonial-card .float-testimonial-text {
    font-size: 0.9rem;
    color: var(--color-gray-700);
    line-height: 1.5;
    font-style: italic;
    margin: 0;
  }

  .mobile-testimonial-card .float-testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-top: 0.75rem;
  }

  .mobile-testimonial-card .testimonial-certificate {
    width: 100%;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .hero-new .hero-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-new .hero-buttons a {
    width: 100% !important;
    min-width: auto !important;
  }

  .carousel-image {
    width: 420px;
    height: 460px;
  }
}

@media (max-width: 640px) {
  .hero-new {
    padding: 2rem 0 2rem;
    text-align: center;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.85rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    line-height: 1.25;
    padding: 0 0.5rem;
  }

  .hero-text .lead-text {
    font-size: 1rem !important;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 0.75rem;
  }

  .hero-info-box {
    background: white;
    border: 1px solid rgba(1, 96, 96, 0.1);
    border-left: 4px solid var(--color-coral-primary);
    padding: 1rem;
    margin: 2rem 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 12px;
  }

  .hero-info-box p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-new .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2.5rem auto;
    text-align: center;
  }

  .hero-new .hero-buttons .btn {
    width: 100% !important;
    padding: 1rem;
    font-size: 1.1rem;
  }

  .hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
    overflow-x: visible;
  }

  .hero-feature {
    flex: 1;
    width: auto;
    padding: 1.25rem 0.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    border-radius: 16px;
    background: rgba(1, 96, 96, 0.04);
    border: 1px solid rgba(1, 96, 96, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  }

  .hero-feature-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    margin-bottom: 2px;
  }

  .mobile-testimonial-card {
    width: 230px;
    padding: 0.75rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  }

  .mobile-testimonial-card .float-testimonial-header {
    gap: 0.5rem;
    margin-bottom: 0.4rem;
  }

  .mobile-testimonial-card .float-testimonial-avatar {
    width: 34px;
    height: 34px;
  }

  .mobile-testimonial-card .float-testimonial-info h4 {
    font-size: 0.8rem;
  }

  .mobile-testimonial-card .float-testimonial-info p {
    font-size: 0.65rem;
    margin-bottom: 0;
  }

  .mobile-testimonial-card .float-testimonial-text {
    font-size: 0.75rem;
    line-height: 1.35;
    margin-bottom: 0.2rem;
  }

  .mobile-testimonial-card .float-testimonial-stars {
    font-size: 0.7rem;
    margin-top: 0;
  }

  .mobile-testimonial-card.has-certificate {
    width: 380px;
  }

  .mobile-testimonial-card.has-certificate .testimonial-content-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
  }

  .mobile-testimonial-card.has-certificate .testimonial-text-side {
    flex: 1;
  }

  .mobile-testimonial-card.has-certificate .testimonial-certificate {
    width: 100px;
    margin-top: 0;
    flex-shrink: 0;
  }

  .carousel-image {
    width: 140px;
    height: 110px;
    border-radius: 12px;
  }
}

/* ===============================
   BODY PADDING - CORRECTED (nav-container height + bar ~42px)
   =============================== */

@media (max-width: 1100px) {
  body {
    padding-top: 102px !important; /* header 60px + bar ~42px */
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 114px !important; /* header 72px + bar ~42px */
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 110px !important; /* header 68px + bar ~42px */
  }
}

@media (max-width: 375px) {
  body {
    padding-top: 104px !important; /* header 62px + bar ~42px */
  }
}

