/* ==========================================
   ROOT VARIABLES
   ========================================== */
:root {
  --primary-color: #0f766e;
  --primary-dark: #064e3b;
  --primary-light: #14b8a6;
  --primary-color-hover: #115e59;
  --secondary-color: #e0f2fe;
  --accent-color: #0284c7;
  --accent-light: #38bdf8;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 28px rgba(15, 118, 110, 0.10);
  --shadow-lg: 0 20px 48px rgba(15, 118, 110, 0.14);
  --shadow-glow: 0 0 32px rgba(15, 118, 110, 0.22);
  --shadow-xl: 0 32px 64px rgba(15, 118, 110, 0.18);
  --transition: all 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --border-radius: 18px;
  --border-radius-lg: 26px;
}

/* ==========================================
   BASE
   ========================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  max-width: 100%;
}

[id^="page-"] { scroll-margin-top: 76px; }

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Mulish', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent any section from bleeding outside viewport */
section, footer, nav {
  max-width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  line-height: 1.22;
}

p {
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0em;
}

/* ==========================================
   UTILITIES
   ========================================== */
.text-primary-custom { color: var(--primary-color) !important; }
.bg-primary-custom   { background-color: var(--primary-color) !important; }
.bg-secondary-custom { background-color: var(--secondary-color) !important; }

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

/* ==========================================
   SCROLL PROGRESS BAR
   ========================================== */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-light), #06b6d4);
  z-index: 10000;
  transition: width 0.12s linear;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(15, 118, 110, 0.6);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  border: none;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 18px rgba(15, 118, 110, 0.32);
  text-decoration: none;
  display: inline-block;
  transform-origin: center;
  will-change: transform;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn-primary-custom::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0s;
  z-index: 2;
  pointer-events: none;
}

.btn-primary-custom:hover::after { left: 160%; transition: left 0.75s ease; }
.btn-primary-custom:hover::before { opacity: 1; }
.btn-primary-custom:hover {
  color: var(--white);
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.45);
}
.btn-primary-custom:active { transform: scale(0.96) !important; }

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.97rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  transform-origin: center;
  will-change: transform;
}

.btn-outline-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn-outline-custom:hover::before { transform: scaleX(1); }
.btn-outline-custom:hover {
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.btn-outline-custom:active { transform: scale(0.96) !important; }

/* Ripple */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  transform: scale(0);
  animation: rippleAnim 0.65s linear;
  pointer-events: none;
  z-index: 100;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ==========================================
   FLOATING CTA
   ========================================== */
.floating-cta {
  position: fixed;
  bottom: 32px; right: 32px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  border-radius: 50px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 28px rgba(15, 118, 110, 0.42);
  z-index: 9990;
  transition: var(--transition-spring);
  animation: floatingPop 0.7s 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  overflow: hidden;
}

.floating-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-dark));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.floating-cta:hover { color: var(--white); transform: translateY(-5px) scale(1.05); box-shadow: 0 18px 44px rgba(15, 118, 110, 0.5); }
.floating-cta:hover::after { opacity: 1; }

.floating-cta i, .floating-cta span { position: relative; z-index: 1; }
.floating-cta i { animation: phoneRing 2.4s ease-in-out infinite; }

@keyframes phoneRing {
  0%, 60%, 100% { transform: rotate(0deg); }
  10%           { transform: rotate(-18deg); }
  20%           { transform: rotate(18deg); }
  30%           { transform: rotate(-12deg); }
  40%           { transform: rotate(12deg); }
}

@keyframes floatingPop {
  from { opacity: 0; transform: translateY(24px) scale(0.75); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  transition: var(--transition);
  padding: 20px 0;
  background-color: transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(15, 118, 110, 0.08);
}

/* ── Hamburger button ── */
.navbar-toggler {
  border: 2px solid var(--primary-color) !important;
  border-radius: 10px !important;
  padding: 9px 12px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 12px rgba(15, 118, 110, 0.18);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  flex-shrink: 0;
}

/* Only show as flex on mobile — Bootstrap handles display:none on desktop */
@media (max-width: 991px) {
  .navbar-toggler {
    display: flex !important;
  }
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.22) !important;
  outline: none !important;
}

.navbar-toggler:hover {
  background: var(--primary-color) !important;
}

/* Pure-CSS three-bar hamburger */
.burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--primary-color);
  transition: background-color 0.25s ease;
  flex-shrink: 0;
}

.navbar-toggler:hover .burger-bar {
  background-color: #ffffff;
}

/* ── Mobile slide-down menu panel ── */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 18px;
    margin-top: 14px;
    padding: 20px 24px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(15, 118, 110, 0.1);
    border: 1px solid rgba(15, 118, 110, 0.08);
  }

  .navbar-collapse .nav-link {
    padding: 10px 4px;
    border-bottom: 1px solid rgba(15, 118, 110, 0.07);
    margin: 0;
    font-size: 1rem;
  }

  .navbar-collapse .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .navbar-collapse .btn-primary-custom {
    display: block;
    text-align: center;
    margin-top: 16px;
  }
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--primary-color) !important;
  letter-spacing: -0.4px;
  text-decoration: none;
}

.navbar-brand i { animation: heartPulse 2s ease-in-out infinite; }

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.32); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.16); }
  70%       { transform: scale(1); }
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: var(--transition);
  position: relative;
  margin: 0 8px;
  text-decoration: none;
  font-size: 0.93rem;
  letter-spacing: 0em;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0; height: 3px;
  bottom: -4px; left: 50%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 3px;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover,
.nav-link.active { color: var(--primary-color) !important; }

/* ==========================================
   SECTIONS COMMON
   ========================================== */
.section-padding { padding: 110px 0; position: relative; }

section[id] { scroll-margin-top: 76px; }

.section-title { text-align: center; margin-bottom: 64px; position: relative; }
.section-title h2 { font-size: 2.5rem; font-weight: 700; }
.section-title p { font-size: 1.02rem; color: var(--text-muted); }
.section-title::after {
  content: '';
  display: block;
  width: 64px; height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 18px auto 0;
  border-radius: 4px;
}

.page-header {
  padding: 90px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.page-header .container { position: relative; z-index: 2; }
.page-header h1,
.page-header p { color: var(--white) !important; }

/* ==========================================
   HERO
   ========================================== */
.hero {
  padding: 160px 0 140px;
  background:
    radial-gradient(circle at 10% 20%, rgba(15, 118, 110, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(224, 242, 254, 0.4) 0%, transparent 60%),
    var(--white);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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="%230f766e" fill-opacity="0.028"%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');
  z-index: 0;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

/* Floating Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
}
.hero-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.14), transparent 70%);
  top: -160px; right: -90px;
  animation: orbFloat 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.1), transparent 70%);
  bottom: -40px; left: -20px;
  animation: orbFloat 18s ease-in-out infinite 4s;
}
.hero-orb-3 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.07), transparent 70%);
  top: 40%; left: 35%;
  animation: orbFloat 10s ease-in-out infinite 8s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1);            }
  33%       { transform: translate(26px, -36px) scale(1.04); }
  66%       { transform: translate(-20px, 18px) scale(0.96); }
}

/* Hero badge */
.hero .badge {
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

/* Typed text */
#typedText {
  position: relative;
}
#typedText::after {
  content: '|';
  animation: cursorBlink 0.8s ease-in-out infinite;
  color: var(--primary-color);
  font-weight: 300;
  margin-left: 1px;
  font-style: normal;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Trust badges */
.hero-trust { margin-top: 24px; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(15, 118, 110, 0.15);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-fast);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.trust-badge i { color: var(--primary-color); }
.trust-badge:hover {
  background: rgba(15, 118, 110, 0.07);
  border-color: rgba(15, 118, 110, 0.35);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero image blob */
.hero-img-container {
  position: relative;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border: 8px solid rgba(255, 255, 255, 0.9);
  animation: blob 10s ease-in-out infinite alternate, floatAnim 6s ease-in-out infinite;
  will-change: transform;
}

.hero-img-container::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  border: 2.5px solid rgba(15, 118, 110, 0.22);
  animation: ringPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1);    opacity: 0.65; }
  50%       { transform: scale(1.07); opacity: 0;   }
}
@keyframes blob {
  0%   { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  33%  { border-radius: 50% 50% 30% 70% / 50% 50% 70% 30%; }
  66%  { border-radius: 70% 30% 50% 50% / 30% 30% 50% 50%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}
@keyframes floatAnim {
  0%   { transform: translateY(0px);   }
  50%  { transform: translateY(-14px); }
  100% { transform: translateY(0px);   }
}

.float-animation       { animation: floatAnim 6s ease-in-out infinite;    }
.float-animation-delay { animation: floatAnim 6s ease-in-out infinite 2s; }

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

/* ==========================================
   STATS
   ========================================== */
.stats-wrapper {
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.stat-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 42px 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 1);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s ease;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,118,110,0.03), rgba(2,132,199,0.03));
  opacity: 0;
  transition: opacity 0.42s ease;
  pointer-events: none;
}

.stat-card:hover { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15,118,110,0.12); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover::after  { opacity: 1; }

.stat-icon {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  display: inline-block;
  transition: var(--transition-spring);
}
.stat-card:hover .stat-icon { transform: scale(1.18) translateY(-4px); }

/* ==========================================
   SERVICE CARDS
   ========================================== */
.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 48px 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(15, 118, 110, 0.06);
  position: relative;
  overflow: hidden;
  z-index: 1;
  will-change: transform;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 2;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after  { left: 160%; transition: left 0.72s ease; }
.service-card:hover         { box-shadow: var(--shadow-lg); }

.service-icon-wrapper {
  width: 84px; height: 84px;
  background: linear-gradient(135deg, var(--secondary-color), #f0f9ff);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  transition: var(--transition-spring);
  transform: rotate(-5deg);
}

.service-card:hover .service-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  transform: rotate(0deg) scale(1.14);
}
.service-card:hover .service-icon-wrapper i { color: var(--white) !important; }

.service-icon { font-size: 2rem; color: var(--primary-color); transition: var(--transition); }

.service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: var(--transition-fast);
  letter-spacing: -0.02em;
}

.service-card:hover h4 { color: var(--primary-color); }

.service-link {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  transition: var(--transition);
  font-size: 0.9rem;
}
.service-link i { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.service-link:hover { color: var(--accent-color); }
.service-link:hover i { transform: translateX(8px); }

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonial-card {
  background: var(--white);
  padding: 52px 48px 36px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin: 16px 10px 40px;
  position: relative;
  border: 1px solid rgba(15, 118, 110, 0.06);
  transition: var(--transition);
}

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

.testimonial-card::after {
  content: '\201D';
  position: absolute;
  top: 16px; right: 28px;
  font-size: 8rem;
  color: var(--secondary-color);
  opacity: 0.6;
  font-family: Georgia, serif;
  line-height: 1;
  transition: var(--transition-fast);
}
.testimonial-card:hover::after { opacity: 0.85; color: rgba(15, 118, 110, 0.12); }

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.85;
  position: relative;
  z-index: 2;
  font-weight: 400;
}

/* Custom testimonial dots */
.testimonial-dots {
  position: relative !important;
  margin: 0 0 12px !important;
  padding: 0;
  display: flex !important;
  justify-content: center;
  gap: 8px;
}

.testimonial-dots button {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background-color: rgba(15, 118, 110, 0.25) !important;
  border: none !important;
  transition: var(--transition-fast) !important;
  opacity: 1 !important;
  flex-shrink: 0;
}

.testimonial-dots button.active {
  background-color: var(--primary-color) !important;
  width: 28px !important;
  border-radius: 5px !important;
}

.testimonial-dots button:hover { background-color: var(--primary-color) !important; opacity: 0.7 !important; }

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #064e3b 50%, #065f46 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background:
    radial-gradient(circle at 30% 50%, rgba(255,255,255,0.07) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 40%);
  animation: ctaShimmer 18s linear infinite;
  pointer-events: none;
}

@keyframes ctaShimmer {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}

.cta-section .container { position: relative; z-index: 2; }

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

.cta-section .btn-light {
  transition: var(--transition-spring);
  font-size: 1.05rem;
}
.cta-section .btn-light:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }

/* ==========================================
   PROFILE
   ========================================== */
.profile-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #064e3b 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.profile-header::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  animation: floatAnim 18s infinite linear;
  pointer-events: none;
}

.profile-header h1,
.profile-header p { color: var(--white) !important; position: relative; z-index: 2; }

.profile-img-wrap {
  width: 290px; height: 290px;
  border-radius: 50%;
  border: 10px solid var(--white);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  top: -85px;
  background: var(--white);
  transition: var(--transition-spring);
}

.profile-img-wrap:hover {
  box-shadow: var(--shadow-xl), 0 0 0 20px rgba(15, 118, 110, 0.1), var(--shadow-glow);
  transform: scale(1.04);
}

/* Doctor quote styling */
.profile-quote {
  font-size: 1.12rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.85;
  position: relative;
  padding: 0 32px;
}
.profile-quote::before {
  content: '\201C';
  position: absolute;
  left: 0; top: -12px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.25;
  font-family: Georgia, serif;
  line-height: 1;
}

.timeline { position: relative; padding-left: 40px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), rgba(15, 118, 110, 0.1));
  border-radius: 2px;
}

.timeline-item { position: relative; padding-bottom: 40px; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--secondary-color);
  transition: var(--transition-spring);
}
.timeline-item:hover::before { transform: scale(1.4); box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.15); }

.achievements-list li {
  position: relative;
  padding: 14px 18px 14px 48px;
  border-radius: 12px;
  transition: var(--transition-fast);
  margin-bottom: 10px;
}
.achievements-list li:hover { background: rgba(15, 118, 110, 0.05); transform: translateX(4px); }
.achievements-list li i { position: absolute; left: 18px; top: 18px; }

/* ==========================================
   CONTACT
   ========================================== */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
  padding: 20px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid transparent;
}
.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 118, 110, 0.1);
  box-shadow: var(--shadow-sm);
  transform: translateX(6px);
}

.map-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  height: 100%;
  min-height: 480px;
  transition: var(--transition);
}

.map-card:hover {
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  transform: translateY(-6px);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-icon {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, var(--secondary-color), #f0f9ff);
  color: var(--primary-color);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-spring);
}
.contact-info-item:hover .contact-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  transform: rotate(12deg) scale(1.12);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.3);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: #0c1628;
  color: var(--white);
  padding: 88px 0 32px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-light));
}

footer::after {
  content: '';
  position: absolute;
  top: 0; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

footer h1, footer h2, footer h3,
footer h4, footer h5, footer h6 { color: var(--white) !important; }

footer p,
footer .text-muted { color: #8fa3bd !important; }

.footer-title {
  color: var(--white);
  margin-bottom: 26px;
  position: relative;
  padding-bottom: 16px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.footer-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 3px;
  transition: width 0.4s ease;
}

footer h4:hover .footer-title::after,
.footer-title:hover::after { width: 60px; }

.footer-link {
  color: #8fa3bd;
  text-decoration: none;
  transition: var(--transition-fast);
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 0.92rem;
}
.footer-link:hover { color: var(--white); padding-left: 10px; }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border-radius: 50%;
  margin-right: 12px;
  transition: var(--transition-spring);
  text-decoration: none;
  font-size: 1.05rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.social-icon:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  transform: translateY(-7px) scale(1.1);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.42);
  border-color: transparent;
}

/* ==========================================
   FOOTER BOTTOM
   ========================================== */
.footer-bottom {
  font-size: 0.82rem;
  color: #5d7290;
}

.footer-bottom p { color: #5d7290 !important; }

.footer-dev-credit {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-dev-link {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-dev-link:hover {
  color: var(--white);
}

.footer-dev-sep {
  color: #3d5268;
  font-size: 0.75rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 991px) {
  .hero { padding: 120px 0 100px; }
  .stats-wrapper { margin-top: 0; }
  .section-padding { padding: 80px 0; }
  .floating-cta span { display: none; }
  .floating-cta { padding: 16px; border-radius: 50%; }
}

@media (max-width: 576px) {
  .section-title h2 { font-size: 2rem; }
  .testimonial-card { padding: 40px 28px 28px; }
  .floating-cta { bottom: 20px; right: 20px; }
}
