/* ==========================================================================
   SARASWATHI DENTAL CENTRE - LOCAL TAILWIND & HEALTHCARE DESIGN SYSTEM
   Brand Palette:
     Primary Blue:   #02558b
     Secondary Blue: #1f9cd8
     Light Bg:       #f3f9fc
     Dark Text:      #152b3b
     Muted Text:     #667788
     White:          #ffffff
   Fonts:
     Headings: 'Poppins', sans-serif
     Body:     'Inter', sans-serif
   ========================================================================== */

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

:root {
  --color-primary: #02558b;
  --color-primary-dark: #013e66;
  --color-primary-light: #036fad;
  --color-secondary: #1f9cd8;
  --color-secondary-dark: #1682b6;
  --color-secondary-light: #e6f5fc;
  --color-light-bg: #f3f9fc;
  --color-dark-text: #152b3b;
  --color-muted-text: #667788;
  --color-white: #ffffff;
  --color-border: #e3edf2;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 3px rgba(2, 85, 139, 0.05);
  --shadow-md: 0 4px 14px rgba(2, 85, 139, 0.07);
  --shadow-lg: 0 10px 25px rgba(2, 85, 139, 0.1);
  --shadow-xl: 0 20px 40px rgba(2, 85, 139, 0.12);
  --shadow-card: 0 8px 24px rgba(21, 43, 59, 0.06);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.25s ease-in-out;
}

/* CSS Reset & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  color: var(--color-dark-text);
  background-color: #ffffff;
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: #ffffff;
  color: var(--color-dark-text);
}

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

p {
  color: var(--color-muted-text);
  line-height: 1.7;
}

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

a:hover {
  color: var(--color-secondary);
}

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Flexbox & Grid Utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }

.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: 40px; }
.gap-12 { gap: 48px; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Responsive Grid Breakpoints */
@media (min-width: 640px) {
  .sm\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   Services Carousel System
   ========================================================================== */
.services-carousel-wrapper {
  position: relative;
  width: 100%;
}

.services-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 4px 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}

.services-carousel-track:active {
  cursor: grabbing;
}

.services-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Slide Width: 3 per view on desktop */
.services-carousel-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
}

.services-carousel-slide > .card-premium,
.services-carousel-slide > .card-premium-featured {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  height: 100%;
  opacity: 1 !important;
  transform: none !important;
}

/* Tablet: 2 slides per view */
@media (max-width: 1024px) {
  .services-carousel-slide {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

/* Mobile: 1 slide + peek of next */
@media (max-width: 640px) {
  .services-carousel-track {
    gap: 16px;
    padding-left: 2px;
    padding-right: 2px;
  }
  .services-carousel-slide {
    flex: 0 0 88%;
  }
}

/* Carousel Control Buttons */
.carousel-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #dcecf5;
  color: var(--color-primary, #02558b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 85, 139, 0.08);
  transition: all 0.25s ease;
  font-size: 1.35rem;
  line-height: 1;
}

.carousel-nav-btn:hover {
  background: var(--color-primary, #02558b);
  color: #ffffff;
  border-color: var(--color-primary, #02558b);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 85, 139, 0.2);
}

.carousel-nav-btn:disabled,
.carousel-nav-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Pagination Dots */
.services-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-dot.active {
  width: 28px;
  background: var(--color-primary, #02558b);
  border-radius: 6px;
}

/* Dedicated Hero Trust Indicators Horizontal Layout */
.hero-trust-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100%;
}

@media (max-width: 768px) {
  .hero-trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .hero-trust-row > div {
    padding: 10px 8px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }
  .hero-trust-row .icon-box {
    width: 30px !important;
    height: 30px !important;
  }
  .hero-trust-row h4 {
    font-size: 0.8rem !important;
  }
  .hero-trust-row p {
    font-size: 0.7rem !important;
  }
}

/* Spacing */
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.p-10 { padding: 40px; }
.p-12 { padding: 48px; }

.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.px-8 { padding-left: 32px; padding-right: 32px; }

.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-20 { padding-top: 80px; padding-bottom: 80px; }
.py-24 { padding-top: 96px; padding-bottom: 96px; }

.pt-4 { padding-top: 16px; }
.pt-6 { padding-top: 24px; }
.pt-8 { padding-top: 32px; }
.pb-4 { padding-bottom: 16px; }
.pb-6 { padding-bottom: 24px; }
.pb-8 { padding-bottom: 32px; }

.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

/* Colors */
.bg-primary { background-color: var(--color-primary); }
.bg-primary-dark { background-color: var(--color-primary-dark); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-secondary-light { background-color: var(--color-secondary-light); }
.bg-light-bg { background-color: var(--color-light-bg); }
.bg-white { background-color: var(--color-white); }
.bg-dark { background-color: var(--color-dark-text); }
.bg-gradient-blue { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); }
.bg-gradient-soft { background: linear-gradient(180deg, #f3f9fc 0%, #ffffff 100%); }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-dark { color: var(--color-dark-text); }
.text-muted { color: var(--color-muted-text); }
.text-white { color: var(--color-white); }
.text-success { color: var(--color-success); }

.border-primary { border-color: var(--color-primary); }
.border-secondary { border-color: var(--color-secondary); }
.border-light { border-color: var(--color-border); }
.border-t { border-top: 1px solid var(--color-border); }
.border-b { border-bottom: 1px solid var(--color-border); }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.15; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }

/* Borders & Radius */
.border { border: 1px solid var(--color-border); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-card { box-shadow: var(--shadow-card); }

/* Transitions & Smooth Scroll Reveal */
.transition { transition: var(--transition); }
.hover\:-translate-y-1:hover { transform: translateY(-4px); }
.hover\:shadow-lg:hover { box-shadow: var(--shadow-lg); }
.hover\:shadow-xl:hover { box-shadow: var(--shadow-xl); }
.hover\:border-secondary:hover { border-color: var(--color-secondary); }

/* Scroll Reveal Transitions */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Active Visible State Triggered by Scroll */
.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
}

/* Stagger Delays for Grid Cards & Elements */
.delay-50 { transition-delay: 50ms !important; }
.delay-75 { transition-delay: 75ms !important; }
.delay-100 { transition-delay: 100ms !important; }
.delay-150 { transition-delay: 150ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-250 { transition-delay: 250ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-350 { transition-delay: 350ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-450 { transition-delay: 450ms !important; }
.delay-500 { transition-delay: 500ms !important; }
.delay-600 { transition-delay: 600ms !important; }

/* Micro-interaction Hover Classes */
.hover-lift {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(2, 85, 139, 0.12), 0 8px 10px -6px rgba(2, 85, 139, 0.06);
}

.hover-glow:hover {
  box-shadow: 0 0 25px rgba(31, 156, 216, 0.25);
}

.gradient-text {
  background: linear-gradient(135deg, #02558b 0%, #1f9cd8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-premium {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px -2px rgba(2, 85, 139, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card-premium:hover {
  border-color: rgba(31, 156, 216, 0.4);
  box-shadow: 0 20px 30px -10px rgba(2, 85, 139, 0.12);
  transform: translateY(-5px);
}

.card-premium-featured {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 2px solid #1f9cd8;
  box-shadow: 0 10px 30px -5px rgba(31, 156, 216, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card-premium-featured:hover {
  box-shadow: 0 25px 40px -10px rgba(31, 156, 216, 0.25);
  transform: translateY(-6px);
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.card-premium:hover .icon-box,
.card-premium-featured:hover .icon-box {
  transform: scale(1.08);
}

.pulse-indicator {
  position: relative;
}
.pulse-indicator::after {
  content: '';
  position: absolute;
  top: -4px; right: -4px; bottom: -4px; left: -4px;
  border-radius: inherit;
  border: 2px solid #1f9cd8;
  animation: pulseRing 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(31, 156, 216, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #20b858;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}

.btn-white:hover {
  background-color: var(--color-secondary-light);
  color: var(--color-primary-dark);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Custom Healthcare UI Elements */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-secondary-light);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.badge-pill-featured {
  background-color: #fef3c7;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* Top Information Bar */
.topbar {
  background-color: #012842;
  color: #d1e5f2;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Header & Nav */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(2, 85, 139, 0.04);
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-dark-text);
  padding: 8px 12px;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-full);
}

/* Timeline Components */
.timeline-stem {
  position: relative;
}

.timeline-stem::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: var(--color-secondary);
  transform: translateX(-50%);
}

.timeline-row {
  position: relative;
  width: 50%;
  padding: 20px 36px;
}

.timeline-row.left {
  left: 0;
  text-align: right;
}

.timeline-row.right {
  left: 50%;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  top: 28px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 4px solid var(--color-primary);
  z-index: 2;
  box-shadow: 0 0 0 4px var(--color-secondary-light);
}

.timeline-row.left .timeline-marker { right: -10px; }
.timeline-row.right .timeline-marker { left: -10px; }

/* Form Controls */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-dark-text);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(31, 156, 216, 0.15);
}

/* Contact Page Clean Enhancements */
.transit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #eef3f7;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.transit-item:hover {
  background: #ffffff;
  border-color: rgba(31, 156, 216, 0.35);
  box-shadow: 0 4px 14px rgba(2, 85, 139, 0.06);
}
.transit-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e6f5fc;
  color: #02558b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.transit-item:hover .transit-icon {
  transform: scale(1.08);
  background: #1f9cd8;
  color: #ffffff;
}
.contact-highlight-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 22px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px -2px rgba(2, 85, 139, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-highlight-card:hover {
  border-color: rgba(31, 156, 216, 0.4);
  box-shadow: 0 16px 28px -8px rgba(2, 85, 139, 0.12);
  transform: translateY(-4px);
}

/* Mobile Sticky Bottom CTA */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 8px 14px;
  z-index: 999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
}

/* Modal Dialog */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(21, 43, 59, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   Header & Responsive Navigation System
   ========================================================================== */

/* Sticky Header */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex !important;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav a,
.desktop-nav .nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark, #152b3b);
  transition: color 0.2s ease;
  text-decoration: none;
  padding: 0.375rem 0.25rem;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
  color: var(--color-primary, #02558b) !important;
}

/* Mobile Toggle Hamburger Button: STRICTLY HIDDEN ON DESKTOP */
.mobile-toggle,
.mobile-toggle-btn,
#mobile-menu-btn {
  display: none !important;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--color-primary, #02558b);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile Dropdown Menu Drawer: STRICTLY HIDDEN ON DESKTOP */
.mobile-menu,
#mobile-drawer {
  display: none !important;
}

/* General Utility Classes */
.hidden { display: none !important; }
.block { display: block !important; }
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }

/* Desktop Breakpoints (Screens >= 992px) */
@media (min-width: 992px) {
  .desktop-nav {
    display: flex !important;
  }
  .mobile-toggle,
  .mobile-toggle-btn,
  #mobile-menu-btn {
    display: none !important;
  }
  .mobile-menu,
  #mobile-drawer {
    display: none !important;
  }
  .md\:hidden,
  .lg\:hidden {
    display: none !important;
  }
  .md\:flex {
    display: flex !important;
  }
  .md\:inline-flex {
    display: inline-flex !important;
  }
}

/* Mobile & Tablet Breakpoints (Screens <= 991px) */
@media (max-width: 991px) {
  .desktop-nav {
    display: none !important; /* Hide desktop nav bar completely */
  }

  .mobile-toggle,
  .mobile-toggle-btn,
  #mobile-menu-btn {
    display: inline-flex !important; /* Show mobile hamburger button */
  }

  .mobile-menu,
  #mobile-drawer {
    display: none; /* Hidden by default until activated */
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1rem 1.25rem 1.5rem;
    z-index: 49;
  }

  /* When active or toggled open */
  .mobile-menu.active,
  .mobile-menu.open,
  #mobile-drawer.active,
  #mobile-drawer.open {
    display: flex !important;
    flex-direction: column;
    animation: slideDownNav 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .mobile-menu a,
  #mobile-drawer a,
  .mobile-menu .nav-link,
  #mobile-drawer .nav-link {
    display: block;
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark, #152b3b);
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .mobile-menu a:last-child,
  #mobile-drawer a:last-child {
    border-bottom: none;
  }

  .mobile-menu a:hover,
  .mobile-menu a.active,
  #mobile-drawer a:hover,
  #mobile-drawer a.active {
    color: var(--color-primary, #02558b) !important;
    padding-left: 0.75rem;
  }
}

@keyframes slideDownNav {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Screen Width <= 1024px Adjustments */
@media (max-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Screen Width <= 768px Adjustments */
@media (max-width: 768px) {
  .topbar { display: none; }
  .mobile-bottom-bar { display: block; }
  body { padding-bottom: 60px; }

  .timeline-stem::before { left: 16px; }
  .timeline-row {
    width: 100%;
    padding-left: 45px;
    padding-right: 15px;
    text-align: left !important;
    left: 0 !important;
  }
  .timeline-row .timeline-marker { left: 6px !important; }

  .md\:grid-cols-2, .md\:grid-cols-3, .md\:grid-cols-4 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}


