
:root {
  --white: #ffffff;
  --blue: #1a5f9e;
  --blue-light: #2d7dd2;
  --blue-deep: #0d3d6b;
  --teal: #0e9e8c;
  --teal-light: #14c4ae;
  --green: #4caf87;
  --grey-light: #f4f7fb;
  --grey-mid: #e8eef5;
  --grey: #8fa3bc;
  --red-accent: #e84c6b;
  --dark: #0a1628;
  --dark2: #112040;
  --text: #1c2e44;
  --text-light: #5a7290;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%,-50%);
  transition: transform 0.15s ease, width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.6;
}
body:hover .cursor { opacity: 1; }

/* Loading Screen */
.loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99997;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.loader-logo span { color: var(--teal-light); }
.loader-bar-wrap {
  width: 220px; height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--blue-light));
  width: 0%;
  animation: loadBar 1.8s ease forwards;
  border-radius: 2px;
}
.loader-text {
  color: var(--grey);
  font-size: 0.75rem;
  margin-top: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.6s 0.5s forwards;
}
@keyframes loadBar { 0%{width:0%} 100%{width:100%} }
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }

/* NAVBAR */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(14,158,140,0.1);
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s, filter 0.3s;
}
.nav-logo-img:hover { opacity: 0.88; }
/* Slight brightness boost in dark mode so logo pops on dark nav */
body.dark-mode .nav-logo-img {
  filter: brightness(1.1) drop-shadow(0 0 6px rgba(14,200,174,0.2));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: rgba(15,33,55,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content:'';
  position:absolute;
  bottom:-4px; left:0;
  width:0; height:1.5px;
  background: var(--teal-light);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, var(--teal), var(--blue-light));
  color: white !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  transition: box-shadow 0.3s, transform 0.2s !important;
  white-space: nowrap;
}
.nav-cta:hover { box-shadow: 0 4px 20px rgba(14,158,140,0.5); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #0f2137;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-menu {
  display: none;
  position: fixed;
  top: 74px; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  padding: 28px 5% 36px;
  z-index: 999;
  border-bottom: 1px solid rgba(14,158,140,0.1);
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s ease;
}
.mobile-menu.open { display: block; transform: none; opacity: 1; }
.mobile-menu a {
  display: block;
  color: rgba(15,33,55,0.75);
  text-decoration: none;
  padding: 14px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(14,158,140,0.1);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu .nav-cta { margin-top: 20px; display: inline-block; border: none; }

/* Logo + mobile toggle group */
.nav-logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Mobile toggle hidden on desktop */
.theme-toggle-mobile { display: none; }
/* Desktop toggle shown on desktop */
.theme-toggle-desktop { display: block; }
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── Artistic Theme Toggle ── */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  flex-shrink: 0;
  position: relative;
  width: 80px;
  height: 38px;
}
.theme-toggle-track {
  width: 80px;
  height: 38px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.6s ease;
  /* Light mode: warm sky gradient */
  background: linear-gradient(135deg, #74c8ff 0%, #a8dfff 40%, #ffd98a 100%);
  box-shadow:
    0 4px 15px rgba(116,200,255,0.45),
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 0 0 1.5px rgba(255,255,255,0.5);
}

/* Animated cloud puffs — light mode */
.theme-toggle-track .t-cloud {
  position: absolute;
  background: rgba(255,255,255,0.85);
  border-radius: 50px;
  transition: opacity 0.4s;
}
.t-cloud-1 { width:22px; height:8px; top:9px; right:10px; opacity:1; animation: cloudDrift 4s ease-in-out infinite; }
.t-cloud-2 { width:14px; height:6px; top:20px; right:16px; opacity:0.7; animation: cloudDrift 5s 1s ease-in-out infinite; }
.t-cloud-1::before,.t-cloud-1::after,.t-cloud-2::before {
  content:''; position:absolute;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
}
.t-cloud-1::before { width:10px; height:10px; top:-5px; left:4px; }
.t-cloud-1::after  { width:8px;  height:8px;  top:-4px; left:10px; }
.t-cloud-2::before { width:7px;  height:7px;  top:-4px; left:3px; }
@keyframes cloudDrift {
  0%,100% { transform: translateX(0); }
  50%      { transform: translateX(-4px); }
}

/* Stars — hidden in light mode */
.t-star { position:absolute; border-radius:50%; background:white; transition: opacity 0.4s; opacity:0; }
.t-star-1 { width:3px; height:3px; top:8px;  right:14px; animation: starTwinkle 2s 0.2s infinite; }
.t-star-2 { width:2px; height:2px; top:18px; right:9px;  animation: starTwinkle 2.5s 0.8s infinite; }
.t-star-3 { width:2px; height:2px; top:12px; right:22px; animation: starTwinkle 1.8s 1.4s infinite; }
.t-star-4 { width:3px; height:3px; top:24px; right:18px; animation: starTwinkle 3s 0.5s infinite; }
@keyframes starTwinkle {
  0%,100% { opacity:0.9; transform:scale(1); }
  50%      { opacity:0.2; transform:scale(0.5); }
}

/* Thumb */
.theme-toggle-thumb {
  position: absolute;
  top: 4px; left: 4px;
  width: 30px; height: 30px;
  border-radius: 50%;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s, background 0.5s;
  background: linear-gradient(145deg, #fff7e6, #fff3d0);
  box-shadow:
    0 3px 12px rgba(255,150,0,0.35),
    0 0 0 2px rgba(255,220,100,0.5),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
/* Corona glow ring on thumb (light mode = sun glow) */
.theme-toggle-thumb::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,50,0.25) 0%, transparent 70%);
  animation: sunGlow 2.5s ease-in-out infinite;
  z-index: -1;
}
@keyframes sunGlow {
  0%,100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

.theme-toggle-thumb .icon-sun {
  position: absolute;
  opacity: 1;
  transition: opacity 0.35s, transform 0.5s;
  transform: scale(1) rotate(0deg);
  filter: drop-shadow(0 0 3px rgba(255,180,0,0.6));
}
.theme-toggle-thumb .icon-moon {
  position: absolute;
  opacity: 0;
  transition: opacity 0.35s, transform 0.5s;
  transform: scale(0.4) rotate(-45deg);
  filter: drop-shadow(0 0 4px rgba(14,200,174,0.8));
}

/* ── Dark mode state ── */
body.dark-mode .theme-toggle-track {
  background: linear-gradient(135deg, #0a0e2a 0%, #111638 50%, #1a1040 100%);
  box-shadow:
    0 4px 20px rgba(14,200,174,0.25),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 0 1.5px rgba(14,200,174,0.3);
}
body.dark-mode .t-cloud { opacity: 0 !important; }
body.dark-mode .t-star  { opacity: 1; }

body.dark-mode .theme-toggle-thumb {
  transform: translateX(42px);
  background: linear-gradient(145deg, #162444, #1f3460);
  box-shadow:
    0 3px 14px rgba(14,200,174,0.45),
    0 0 0 2px rgba(14,200,174,0.35),
    inset 0 1px 0 rgba(100,220,255,0.15);
}
body.dark-mode .theme-toggle-thumb::before {
  background: radial-gradient(circle, rgba(14,200,174,0.3) 0%, transparent 70%);
  animation: moonGlow 3s ease-in-out infinite;
}
@keyframes moonGlow {
  0%,100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.2); }
}
body.dark-mode .theme-toggle-thumb .icon-sun {
  opacity: 0;
  transform: scale(0.4) rotate(45deg);
}
body.dark-mode .theme-toggle-thumb .icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ── DARK MODE ── */
body.dark-mode {
  background: #0a1628;
  color: #e0eaf5;
}

/* Nav dark */
body.dark-mode nav {
  background: rgba(10,22,40,0.92);
  border-bottom-color: rgba(255,255,255,0.07);
}
body.dark-mode nav.scrolled {
  background: rgba(10,22,40,0.98);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
body.dark-mode .nav-logo        { color: white; }
body.dark-mode .nav-links a     { color: rgba(255,255,255,0.75); }
body.dark-mode .nav-links a:hover { color: white; }
body.dark-mode .hamburger span  { background: white; }
body.dark-mode .mobile-menu {
  background: rgba(10,22,40,0.98);
  border-bottom-color: rgba(255,255,255,0.08);
}
body.dark-mode .mobile-menu a {
  color: rgba(255,255,255,0.8);
  border-bottom-color: rgba(255,255,255,0.07);
}

/* Hero dark */
body.dark-mode .hero            { background: #030d1a; }
body.dark-mode .aurora-orb-1   { background: radial-gradient(circle, rgba(14,158,140,0.35) 0%, transparent 70%); }
body.dark-mode .aurora-orb-2   { background: radial-gradient(circle, rgba(26,95,158,0.45) 0%, transparent 70%); }
body.dark-mode .aurora-orb-3   { background: radial-gradient(circle, rgba(45,125,210,0.3) 0%, transparent 70%); }
body.dark-mode .aurora-orb     { mix-blend-mode: screen; }
body.dark-mode .hero-h1        { color: white; }
body.dark-mode .hero-sub       { color: rgba(255,255,255,0.55); border-left-color: rgba(14,200,174,0.4); }
body.dark-mode .hero-tag       { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
body.dark-mode .hero-tag:hover { background: rgba(14,158,140,0.15); border-color: var(--teal); color: var(--teal-light); }
body.dark-mode .btn-outline    { color: white; border-color: rgba(255,255,255,0.2); }
body.dark-mode .btn-outline:hover { border-color: var(--teal-light); }
body.dark-mode .hero-stats     { border-top-color: rgba(255,255,255,0.07); }
body.dark-mode .hero-stat      { border-right-color: rgba(255,255,255,0.07); }
body.dark-mode .hero-stat-num  { color: white; }
body.dark-mode .hero-stat-label { color: rgba(255,255,255,0.4); }
body.dark-mode .hero-grid      { background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px); }
body.dark-mode .scroll-indicator { color: rgba(255,255,255,0.35); }
body.dark-mode .scroll-mouse   { border-color: rgba(255,255,255,0.2); }
body.dark-mode .scroll-dot     { background: rgba(255,255,255,0.4); }

/* General page dark */
body.dark-mode section:not(.hero) { background: #0a1628; }
body.dark-mode .section-tag,
body.dark-mode .section-title   { color: #e0eaf5; }
body.dark-mode .section-subtitle { color: rgba(224,234,245,0.55); }
body.dark-mode .service-card,
body.dark-mode .blog-card,
body.dark-mode .why-card,
body.dark-mode .contact-card    {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .service-card:hover,
body.dark-mode .blog-card:hover { border-color: rgba(14,200,174,0.3); }
body.dark-mode .service-title,
body.dark-mode .service-name,
body.dark-mode .why-card h3,
body.dark-mode .blog-title      { color: #e8f2ff; }
body.dark-mode .service-desc,
body.dark-mode .why-card p,
body.dark-mode .blog-body p     { color: rgba(224,234,245,0.55); }
body.dark-mode footer           { background: #050e1e; }
body.dark-mode .footer-bottom   { border-top-color: rgba(255,255,255,0.06); color: rgba(255,255,255,0.35); }

/* ===================== HERO – CINEMATIC REDESIGN ===================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
}

/* Animated gradient aurora background */
.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbDrift ease-in-out infinite;
  mix-blend-mode: multiply;
}
.aurora-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(14,200,174,0.12) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation-duration: 12s;
}
.aurora-orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45,125,210,0.1) 0%, transparent 70%);
  bottom: -200px; left: -150px;
  animation-duration: 15s;
  animation-delay: -5s;
}
.aurora-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14,158,140,0.08) 0%, transparent 70%);
  top: 30%; left: 30%;
  animation-duration: 10s;
  animation-delay: -3s;
}
@keyframes orbDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-30px) scale(1.08); }
  66%      { transform: translate(-30px, 20px) scale(0.95); }
}

/* ── Large Floating Bubbles ── */
.hero-bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.big-bubble {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(14,200,174,0.35);
  background: radial-gradient(
    circle at 32% 28%,
    rgba(14,200,174,0.07) 0%,
    rgba(45,125,210,0.04) 50%,
    transparent 75%
  );
  box-shadow:
    inset 0 0 30px rgba(14,200,174,0.06),
    0 0 40px rgba(14,200,174,0.06);
}
/* Shimmer glint inside each big bubble */
.big-bubble::before {
  content: '';
  position: absolute;
  top: 14%; left: 16%;
  width: 28%; height: 18%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.18) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(2px);
}
/* Small specular dot */
.big-bubble::after {
  content: '';
  position: absolute;
  top: 18%; left: 22%;
  width: 7%; height: 7%;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  filter: blur(1px);
}

/* Individual bubble sizes & positions */
.bb1 { width: 320px; height: 320px; top: 8%;  left: -80px; animation: bbFloat1 18s ease-in-out infinite; border-color: rgba(14,200,174,0.2); }
.bb2 { width: 220px; height: 220px; top: 45%; right: -40px; animation: bbFloat2 14s ease-in-out infinite; border-color: rgba(45,125,210,0.22); }
.bb3 { width: 160px; height: 160px; bottom: 10%; left: 20%;  animation: bbFloat3 11s ease-in-out infinite; border-color: rgba(100,220,255,0.2); }
.bb4 { width: 260px; height: 260px; top: 20%; right: 30%;   animation: bbFloat4 16s ease-in-out infinite; border-color: rgba(14,158,140,0.15); }
.bb5 { width: 120px; height: 120px; bottom: 25%; right: 10%; animation: bbFloat5 9s  ease-in-out infinite; border-color: rgba(45,125,210,0.2); }
.bb6 { width: 400px; height: 400px; bottom: -120px; right: -100px; animation: bbFloat6 22s ease-in-out infinite; border-color: rgba(14,200,174,0.1); }

@keyframes bbFloat1 {
  0%,100% { transform: translate(0px, 0px)   scale(1);    }
  25%      { transform: translate(30px,-40px) scale(1.03); }
  50%      { transform: translate(15px,-70px) scale(1.01); }
  75%      { transform: translate(-20px,-45px) scale(0.98); }
}
@keyframes bbFloat2 {
  0%,100% { transform: translate(0px,  0px)   scale(1);    }
  30%      { transform: translate(-25px,-35px) scale(1.04); }
  60%      { transform: translate(-10px,-60px) scale(0.97); }
  80%      { transform: translate(20px, -30px) scale(1.02); }
}
@keyframes bbFloat3 {
  0%,100% { transform: translate(0px,  0px)   scale(1);    }
  40%      { transform: translate(20px, -50px) scale(1.05); }
  70%      { transform: translate(-15px,-30px) scale(0.96); }
}
@keyframes bbFloat4 {
  0%,100% { transform: translate(0px,  0px)   scale(1);    }
  20%      { transform: translate(-30px,-25px) scale(1.02); }
  55%      { transform: translate(25px, -55px) scale(0.98); }
  80%      { transform: translate(10px, -20px) scale(1.03); }
}
@keyframes bbFloat5 {
  0%,100% { transform: translate(0px, 0px)    scale(1);    }
  35%      { transform: translate(-18px,-40px) scale(1.06); }
  65%      { transform: translate(22px, -25px) scale(0.95); }
}
@keyframes bbFloat6 {
  0%,100% { transform: translate(0px,  0px)   scale(1);    }
  30%      { transform: translate(-40px,-30px) scale(1.02); }
  60%      { transform: translate(20px, -50px) scale(0.97); }
}

/* Animated inner ring pulse on hover/always */
.big-bubble .bb-ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(14,200,174,0.12);
  animation: bbRingPulse 4s ease-in-out infinite;
}
.bb2 .bb-ring { border-color: rgba(45,125,210,0.14); animation-delay: -1.5s; }
.bb4 .bb-ring { border-color: rgba(14,200,174,0.10); animation-delay: -3s; }
@keyframes bbRingPulse {
  0%,100% { opacity: 0.5; transform: scale(1);    }
  50%      { opacity: 1;   transform: scale(1.06); }
}

/* Hide largest bubble on mobile for perf */
@media (max-width: 600px) {
  .bb6 { display: none; }
  .bb4 { width: 180px; height: 180px; }
  .bb1 { width: 200px; height: 200px; }
}

/* ─────────────────────────────────────────── */
/* Moving dot grid */
/* Animated dot-grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(14,158,140,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridPan 20s linear infinite;
}
@keyframes gridPan {
  from { background-position: 0 0; }
  to   { background-position: 40px 40px; }
}

/* Diagonal light beam */
.hero-beam {
  position: absolute;
  top: -10%;
  right: 8%;
  width: 2px;
  height: 130%;
  background: linear-gradient(180deg, transparent, rgba(14,200,200,0.18) 30%, rgba(14,200,200,0.35) 50%, rgba(14,200,200,0.18) 70%, transparent);
  transform: rotate(15deg);
  animation: beamPulse 4s ease-in-out infinite;
  filter: blur(1px);
}
.hero-beam-2 {
  position: absolute;
  top: -10%;
  right: 22%;
  width: 1px;
  height: 130%;
  background: linear-gradient(180deg, transparent, rgba(45,125,210,0.12) 40%, rgba(45,125,210,0.25) 50%, transparent);
  transform: rotate(15deg);
  animation: beamPulse 6s 2s ease-in-out infinite;
  filter: blur(0.5px);
}
@keyframes beamPulse {
  0%,100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

/* Canvas for animated particles */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Layout */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 130px 5% 100px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

/* LEFT SIDE */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14,158,140,0.08);
  border: 1px solid rgba(14,200,174,0.4);
  padding: 8px 18px 8px 10px;
  border-radius: 50px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 0.8s 2.1s forwards;
}
.hero-badge-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(14,200,174,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-badge-dot::after {
  content:'';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-light);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.5)} }

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  color: #0f2137;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 1s 2.3s forwards;
}
.hero-h1-line2 {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: transparent;
  background: linear-gradient(90deg, var(--teal-light), #68e8ff, var(--teal));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  background-size: 200% 100%;
  animation: fadeUp 1s 2.3s forwards, shimmerText 3s 3.5s ease-in-out infinite;
}
@keyframes shimmerText {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-sub {
  color: rgba(15,33,55,0.6);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.75;
  max-width: 500px;
  margin: 22px 0 38px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.9s 2.6s forwards;
  border-left: 2px solid rgba(14,200,174,0.55);
  padding-left: 18px;
}

/* Typewriter service tags */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s 2.8s forwards;
}
.hero-tag {
  background: rgba(14,158,140,0.06);
  border: 1px solid rgba(14,200,174,0.2);
  color: rgba(15,33,55,0.65);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.hero-tag:hover { background: rgba(14,158,140,0.15); border-color: var(--teal); color: var(--teal-light); }

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 3s forwards;
}
.btn-primary {
  background: linear-gradient(135deg, #0e9e8c, #1a7bd4);
  color: white;
  padding: 15px 34px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content:'';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #14c4ae, #2d7dd2);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(14,158,140,0.55); transform: translateY(-2px); }

.btn-outline {
  color: #0e9e8c;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(14,158,140,0.35);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: var(--teal-light); background: rgba(14,158,140,0.12); box-shadow: 0 0 20px rgba(14,200,174,0.15); }

/* Stats row */
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(14,158,140,0.15);
  opacity: 0;
  animation: fadeUp 0.9s 3.2s forwards;
}
.hero-stat {
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid rgba(14,158,140,0.12);
  margin-right: 24px;
}
.hero-stat:last-child { border: none; margin: 0; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #0f2137;
  line-height: 1;
}
.hero-stat-num span { color: var(--teal-light); }
.hero-stat-label { color: rgba(15,33,55,0.45); font-size: 0.72rem; margin-top: 5px; letter-spacing: 0.05em; text-transform: uppercase; }

/* RIGHT SIDE – Visual Panel */
.hero-right {
  position: relative;
  opacity: 0;
  animation: heroRightIn 1.2s 2.4s cubic-bezier(.22,.68,0,1.1) forwards;
}
@keyframes heroRightIn {
  from { opacity: 0; transform: translateX(50px) scale(0.95); }
  to   { opacity: 1; transform: none; }
}

.hero-visual-wrap {
  position: relative;
}

/* ── HERO RIGHT – Photo-realistic redesign ── */

/* Glow halo behind the main photo card */
.hero-photo-glow {
  position: absolute;
  inset: -40px;
  border-radius: 40px;
  background:
    radial-gradient(ellipse 70% 60% at 60% 50%, rgba(14,158,140,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 30% 70%, rgba(26,95,158,0.12) 0%, transparent 70%);
  filter: blur(24px);
  z-index: 0;
}

/* The big photo card */
.hero-photo-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  z-index: 1;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.06) inset,
    0 50px 100px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.07);
}

/* The actual doctor photo via Unsplash */
.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 8s ease;
  animation: photoZoom 12s ease-in-out infinite alternate;
}
@keyframes photoZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}

/* Gradient overlays on photo — gives depth & mood */
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(3,10,22,0.15) 0%,
      transparent 30%,
      transparent 55%,
      rgba(3,10,22,0.6) 80%,
      rgba(3,10,22,0.88) 100%),
    linear-gradient(90deg,
      rgba(3,10,22,0.3) 0%,
      transparent 40%);
  z-index: 2;
}

/* Teal color-grade overlay — makes it feel branded */
.hero-photo-grade {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(14,100,120,0.08) 0%,
    rgba(14,80,140,0.06) 50%,
    transparent 100%);
  mix-blend-mode: multiply;
  z-index: 3;
  pointer-events: none;
}

/* Bottom info strip inside photo */
.hero-photo-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px 24px;
  z-index: 4;
  background: linear-gradient(0deg, rgba(3,12,25,0.9) 0%, transparent 100%);
}
.hero-photo-strip-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: white;
  font-weight: 600;
  margin-bottom: 4px;
}
.hero-photo-strip-role {
  font-size: 0.75rem;
  color: rgba(15,33,55,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-photo-strip-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.strip-stars { color: #fbbf24; font-size: 0.85rem; letter-spacing: 1px; }
.strip-rating-val { color: white; font-weight: 700; font-size: 0.85rem; }
.strip-rating-lbl { color: rgba(255,255,255,0.4); font-size: 0.75rem; }

/* TOP badge on the photo */
.hero-photo-top-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(14,158,140,0.92);
  backdrop-filter: blur(12px);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(14,158,140,0.5);
}
.hero-photo-top-badge::before {
  content:'';
  width: 6px; height: 6px;
  background: #7fffea;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Floating info cards — glassmorphism */
.hero-float-card {
  position: absolute;
  background: rgba(4,16,36,0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 14px 18px;
  color: white;
  white-space: nowrap;
  z-index: 20;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.hfc-top {
  top: -22px; right: 20px;
  animation: floatY 4s ease-in-out infinite;
}
.hfc-left {
  left: -24px; top: 40%;
  animation: floatY 5s 1s ease-in-out infinite;
}
.hfc-right {
  right: -24px; top: 35%;
  animation: floatX 5s 0.8s ease-in-out infinite;
}
.hfc-bottom {
  bottom: 80px; right: -20px;
  animation: floatX 4.5s 0.5s ease-in-out infinite;
}
.hfc-icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.hfc-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}
.hfc-lbl {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
@keyframes floatX { 0%,100%{transform:translateX(0)} 50%{transform:translateX(8px)} }

.hfc-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hfc-icon-wrap {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hfc-icon-wrap.teal  { background: rgba(14,158,140,0.2); }
.hfc-icon-wrap.amber { background: rgba(251,191,36,0.2); }
.hfc-icon-wrap.blue  { background: rgba(45,125,210,0.2); }
.hfc-val  { font-size: 1rem; font-weight: 700; color: white; line-height: 1.1; }
.hfc-lbl  { font-size: 0.68rem; color: rgba(255,255,255,0.45); margin-top: 1px; }

/* Second smaller photo — clinic interior */
.hero-clinic-thumb {
  position: absolute;
  bottom: -20px; left: -28px;
  width: 42%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  z-index: 10;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.5),
    0 0 0 2px rgba(14,200,174,0.3),
    0 0 0 3px rgba(3,12,25,0.8);
}
.hero-clinic-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-clinic-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,100,120,0.1), rgba(3,12,25,0.25));
}

/* Teal accent line left side of main card */
.hero-photo-accent-line {
  position: absolute;
  left: -3px; top: 15%; bottom: 15%;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--teal-light), var(--teal), transparent);
  border-radius: 3px;
  z-index: 5;
  box-shadow: 0 0 12px rgba(14,200,174,0.6);
  animation: accentPulse 3s ease-in-out infinite;
}
@keyframes accentPulse {
  0%,100% { opacity: 0.7; box-shadow: 0 0 8px rgba(14,200,174,0.4); }
  50%     { opacity: 1; box-shadow: 0 0 20px rgba(14,200,174,0.8); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s 3.5s forwards;
  z-index: 10;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 11px;
  position: relative;
}
.scroll-dot {
  width: 3px; height: 7px;
  background: var(--teal-light);
  border-radius: 3px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease infinite;
  box-shadow: 0 0 6px var(--teal-light);
}
@keyframes scrollDot { 0%{top:6px;opacity:1} 100%{top:18px;opacity:0} }

/* Particle canvas - no CSS particles needed, using canvas */
.hero-particles { display: none; }
.particle { display: none; }
@keyframes floatParticle { from{} to{} }

/* SECTIONS */
section { padding: 100px 5%; }
.hero { padding: 0; }
.section-label {
  display: inline-block;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
  padding-left: 24px;
}
.section-label::before {
  content:'';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 1.5px;
  background: var(--teal);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--text);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 540px;
  font-weight: 300;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-subtitle { margin: 0 auto; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }

/* SERVICES */
.services-section { background: var(--grey-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: white;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content:'';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(14,158,140,0.1), rgba(45,125,210,0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: background 0.3s;
}
.service-card:hover .service-icon { background: linear-gradient(135deg, rgba(14,158,140,0.2), rgba(45,125,210,0.2)); }
.service-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-desc { color: var(--text-light); font-size: 0.87rem; line-height: 1.6; font-weight: 300; }
.service-arrow {
  margin-top: 20px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover .service-arrow { opacity: 1; }
.services-cta-banner {
  background: linear-gradient(135deg, var(--blue-deep), var(--dark2));
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}
.services-cta-banner::before {
  content:'';
  position:absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(14,158,140,0.15), transparent 70%);
}
.cta-banner-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: white;
  margin-bottom: 8px;
}
.cta-banner-text p { color: rgba(255,255,255,0.55); font-size: 0.95rem; }
.cta-banner-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-white {
  background: white;
  color: var(--blue-deep);
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.2s;
  display: inline-block;
}
.btn-white:hover { box-shadow: 0 6px 24px rgba(255,255,255,0.3); transform: translateY(-2px); }
.btn-teal-outline {
  color: var(--teal-light);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--teal-light);
  transition: background 0.3s;
  display: inline-block;
}
.btn-teal-outline:hover { background: rgba(14,200,174,0.1); }

/* ABOUT */
.about-section { background: white; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-visual {
  position: relative;
}
.about-img-main {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--blue-deep), var(--dark2));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--teal), var(--blue-light));
  opacity: 0.15;
  z-index: 0;
}
.about-img-badge {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: white;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  z-index: 10;
}
.about-img-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.about-img-badge .lbl { font-size: 0.72rem; color: var(--text-light); margin-top: 3px; }
.about-text p {
  color: var(--text-light);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}
.about-counters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.counter-card {
  background: var(--grey-light);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--grey-mid);
  transition: border-color 0.3s, transform 0.3s;
}
.counter-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.counter-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1;
  margin-bottom: 6px;
}
.counter-num span { color: var(--teal); }
.counter-label { font-size: 0.78rem; color: var(--text-light); font-weight: 500; letter-spacing: 0.03em; }

/* WHY CHOOSE US */
.why-section { background: linear-gradient(135deg, var(--dark), var(--dark2)); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 28px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content:'';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,158,140,0.07), rgba(45,125,210,0.07));
  opacity: 0;
  transition: opacity 0.3s;
}
.why-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(14,158,140,0.3); transform: translateY(-6px); }
.why-card:hover::after { opacity: 1; }
.why-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--teal), var(--blue-light));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.why-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: white; margin-bottom: 12px; font-weight: 600; position: relative; z-index: 1; }
.why-desc { color: rgba(255,255,255,0.45); font-size: 0.875rem; line-height: 1.7; font-weight: 300; position: relative; z-index: 1; }
.why-section .section-title { color: white; }
.why-section .section-subtitle { color: rgba(255,255,255,0.5); }

/* TESTIMONIALS */
.testimonials-section { background: var(--grey-light); overflow: hidden; }
.testimonials-track-wrap { overflow: hidden; position: relative; }
.testimonials-track-wrap::before,
.testimonials-track-wrap::after {
  content:''; position: absolute; top:0; bottom:0; width: 80px; z-index: 2;
}
.testimonials-track-wrap::before { left: 0; background: linear-gradient(90deg, var(--grey-light), transparent); }
.testimonials-track-wrap::after { right: 0; background: linear-gradient(-90deg, var(--grey-light), transparent); }
.testimonials-track {
  display: flex;
  gap: 24px;
  animation: scrollTrack 30s linear infinite;
  width: max-content;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes scrollTrack { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.testi-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  width: 340px;
  flex-shrink: 0;
  border: 1px solid var(--grey-mid);
  position: relative;
}
.testi-stars { color: #f5a623; font-size: 0.9rem; margin-bottom: 16px; }
.testi-text { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; font-weight: 300; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.9rem;
}
.testi-name { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.testi-loc { font-size: 0.75rem; color: var(--text-light); }
.testi-quote {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 3.5rem;
  color: var(--teal);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

/* APPOINTMENT */
.appointment-section { background: white; }
.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.appt-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 16px;
}
.appt-info p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; margin-bottom: 32px; font-weight: 300; }
.appt-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-mid);
}
.appt-contact-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(14,158,140,0.1), rgba(45,125,210,0.1));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.appt-contact-val { font-weight: 500; font-size: 0.9rem; color: var(--text); }
.appt-contact-lbl { font-size: 0.72rem; color: var(--text-light); }
.appt-form {
  background: linear-gradient(135deg, rgba(26,95,158,0.04), rgba(14,158,140,0.04));
  border: 1px solid var(--grey-mid);
  border-radius: 24px;
  padding: 44px 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; position: relative; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.form-group:focus-within label { color: var(--teal); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--grey-mid);
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: white;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14,158,140,0.1);
}
.form-group textarea { height: 120px; resize: none; }
.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--teal), var(--blue-light));
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s;
  letter-spacing: 0.02em;
}
.form-submit:hover { box-shadow: 0 8px 30px rgba(14,158,140,0.4); transform: translateY(-2px); }
.success-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.success-popup.show { display: flex; }
.success-box {
  background: white;
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  max-width: 440px;
  animation: popIn 0.4s cubic-bezier(.22,.68,0,1.2) forwards;
}
@keyframes popIn { from{transform:scale(0.7);opacity:0} to{transform:scale(1);opacity:1} }
.success-icon { font-size: 3.5rem; margin-bottom: 20px; }
.success-box h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--text); margin-bottom: 12px; }
.success-box p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; margin-bottom: 28px; }

/* BLOG */
.blog-section { background: var(--grey-light); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--grey-mid);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.blog-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.blog-img-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card:hover .blog-img-inner { transform: scale(1.06); }
.blog-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--teal);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.blog-body { padding: 24px; }
.blog-meta { font-size: 0.75rem; color: var(--text-light); margin-bottom: 10px; }
.blog-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--text); margin-bottom: 10px; font-weight: 600; line-height: 1.35; }
.blog-excerpt { color: var(--text-light); font-size: 0.85rem; line-height: 1.6; font-weight: 300; margin-bottom: 18px; }
.blog-read-more { color: var(--teal); font-size: 0.82rem; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.blog-read-more:hover { gap: 10px; }

/* CONTACT */
.contact-section { background: white; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.contact-card {
  background: var(--grey-light);
  border: 1px solid var(--grey-mid);
  border-radius: 16px;
  padding: 22px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.contact-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(14,158,140,0.1); }
.contact-card-icon { font-size: 1.6rem; margin-bottom: 12px; }
.contact-card-title { font-weight: 600; font-size: 0.9rem; color: var(--text); margin-bottom: 4px; }
.contact-card-val { font-size: 0.8rem; color: var(--text-light); }
.hours-item { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--grey-mid); font-size: 0.87rem; }
.hours-item:last-child { border: none; }
.hours-day { color: var(--text); font-weight: 500; }
.hours-time { color: var(--teal); font-weight: 500; }
.map-container {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--grey-mid);
  box-shadow: 0 12px 48px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
  height: 480px;
}
.map-container:hover { box-shadow: 0 16px 60px rgba(0,0,0,0.12); }
.map-container iframe { width: 100%; height: 100%; border: none; display: block; }

/* FOOTER */
footer {
  background: var(--dark);
  padding: 72px 5% 36px;
  color: rgba(15,33,55,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: white;
  margin-bottom: 16px;
  display: block;
}
.footer-logo span { color: var(--teal-light); }
.footer-desc { font-size: 0.85rem; line-height: 1.7; margin-bottom: 24px; font-weight: 300; color: rgba(255, 255, 255, 0.85); }
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s, border-color 0.3s;
}
.footer-social:hover { background: rgba(14,158,140,0.2); border-color: var(--teal); color: var(--teal-light); }
.footer-col-title { font-size: 0.78rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-light); }
.newsletter-input-wrap { display: flex; gap: 0; margin-top: 8px; }
.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px 0 0 10px;
  color: white;
  font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-btn {
  background: var(--teal);
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.3s;
}
.newsletter-btn:hover { background: var(--teal-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--teal-light); text-decoration: none; }

/* FLOATING BUTTONS – highly visible redesign */
.floating-btns {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 5000;
}
.fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.4), box-shadow 0.3s;
  position: relative;
  flex-shrink: 0;
}
.fab:hover { transform: scale(1.15) translateY(-3px); }

/* WhatsApp – bright green, very visible */
.fab-whatsapp {
  background: linear-gradient(135deg, #1fbe5a, #25d366);
  box-shadow: 0 6px 24px rgba(37,211,102,0.6), 0 0 0 3px rgba(37,211,102,0.15);
}
.fab-whatsapp:hover { box-shadow: 0 10px 36px rgba(37,211,102,0.75), 0 0 0 5px rgba(37,211,102,0.2); }

/* Call – red & white */
.fab-call {
  background: linear-gradient(135deg, #cc0000, #ff2020);
  box-shadow: 0 6px 24px rgba(204,0,0,0.6), 0 0 0 3px rgba(204,0,0,0.15);
  color: white;
}
.fab-call:hover { box-shadow: 0 10px 36px rgba(204,0,0,0.75), 0 0 0 5px rgba(204,0,0,0.2); }

/* Scroll to top – redesigned */
.fab-top {
  background: linear-gradient(145deg, #0a1628, #112040);
  border: 1.5px solid rgba(14,200,174,0.5);
  box-shadow:
    0 0 0 0 rgba(14,200,174,0.4),
    0 8px 28px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.3s cubic-bezier(.22,.68,0,1.4), box-shadow 0.3s;
  overflow: hidden;
  position: relative;
}
/* Animated arrow icon inside */
.fab-top .top-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: arrowBounce 1.8s ease-in-out infinite;
}
.fab-top .top-arrow svg {
  display: block;
  filter: drop-shadow(0 0 6px rgba(14,200,174,0.8));
}
/* Scrolling dotted line below arrow */
.fab-top .top-arrow::after {
  content: '';
  width: 2px;
  height: 10px;
  background: linear-gradient(180deg, rgba(14,200,174,0.8), transparent);
  border-radius: 2px;
  animation: lineScroll 1.8s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateY(2px); opacity: 0.7; }
  50%       { transform: translateY(-3px); opacity: 1; }
}
@keyframes lineScroll {
  0%        { transform: scaleY(1); opacity: 0.8; }
  50%       { transform: scaleY(0.4); opacity: 0.3; }
  100%      { transform: scaleY(1); opacity: 0.8; }
}
/* Sweep glow on hover */
.fab-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(14,200,174,0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
  animation: fabTopReveal 0.5s cubic-bezier(.22,.68,0,1.2) forwards;
}
@keyframes fabTopReveal {
  from { transform: translateY(20px) scale(0.8); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.fab-top:hover {
  border-color: rgba(14,200,174,0.9);
  box-shadow:
    0 0 0 6px rgba(14,200,174,0.12),
    0 0 24px rgba(14,200,174,0.4),
    0 12px 36px rgba(0,0,0,0.5);
  transform: translateY(-3px) scale(1.08);
}
.fab-top:hover::before { opacity: 1; }

/* Pulse ring on WhatsApp */
.fab-whatsapp::after, .fab-call::after {
  content:'';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  animation: fabPulse 2.5s ease-out infinite;
}
.fab-whatsapp::after { border: 2px solid rgba(37,211,102,0.5); animation-delay: 0s; }
.fab-call::after    { border: 2px solid rgba(204,0,0,0.5);  animation-delay: 1.25s; }
@keyframes fabPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.fab-label {
  position: absolute;
  right: 70px;
  background: rgba(5,15,30,0.92);
  color: white;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.fab:hover .fab-label { opacity: 1; }

/* Dental SVG illustrations */
.dental-hero-svg { width: 100%; height: 100%; object-fit: cover; }

/* Mobile responsive */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero – stack layout, show image below text */
  .hero-content {
    grid-template-columns: 1fr;
    padding: 100px 5% 60px;
    gap: 24px;
  }
  .hero-right {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-visual-wrap {
    overflow: visible;
    position: relative;
  }
  /* Taller portrait card on mobile for more face visibility */
  .hero-photo-card {
    aspect-ratio: 3/2;
    border-radius: 20px;
    overflow: hidden;
  }
  .hero-photo-img {
    object-position: center top;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* Lighter overlay on mobile so doctor face is clearly visible */
  .hero-photo-overlay {
    background:
      linear-gradient(180deg,
        transparent 0%,
        transparent 45%,
        rgba(3,10,22,0.6) 75%,
        rgba(3,10,22,0.88) 100%);
  }
  /* Badge inside photo */
  .hero-photo-top-badge {
    top: 14px; left: 14px;
    font-size: 0.65rem;
    padding: 5px 11px;
  }
  /* Hide clinic thumb on mobile */
  .hero-clinic-thumb { display: none; }

  /* ── Floating cards on mobile: position INSIDE photo ── */
  .hfc-right { display: none; }
  .hero-float-card {
    position: absolute;
    padding: 10px 14px;
    border-radius: 14px;
    white-space: nowrap;
    backdrop-filter: blur(16px);
    background: rgba(4,16,36,0.82);
  }
  .hfc-top  {
    top: 12px;
    right: 12px;
    left: auto;
    animation: floatY 4s ease-in-out infinite;
  }
  .hfc-bottom {
    bottom: 70px;
    right: 12px;
    left: auto;
    animation: floatX 4.5s 0.5s ease-in-out infinite;
  }
  .hfc-val  { font-size: 0.82rem; }
  .hfc-lbl  { font-size: 0.6rem; }
  .hfc-icon { font-size: 1rem; margin-bottom: 2px; }

  /* Photo strip text on mobile */
  .hero-photo-strip { padding: 20px 16px 16px; }
  .hero-photo-strip-name { font-size: 0.9rem; margin-bottom: 3px; }
  .hero-photo-strip-role { font-size: 0.64rem; letter-spacing: 0.04em; }
  .strip-stars { font-size: 0.75rem; }
  .strip-rating-val { font-size: 0.78rem; }
  .strip-rating-lbl { font-size: 0.64rem; }
  .hero-photo-strip-rating { margin-top: 7px; gap: 5px; }

  .hero-stats { gap: 0; flex-direction: row; flex-wrap: nowrap; }
  .hero-stat { flex: 1; padding-right: 12px; margin-right: 12px; min-width: 0; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-label { font-size: 0.62rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-main { aspect-ratio: 3/2; }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .appointment-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .services-cta-banner { flex-direction: column; padding: 40px 28px; }
  .map-container { height: 320px; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero-tags { display: none; }

  /* Mobile menu – book appointment alignment & size */
  .mobile-menu .nav-cta {
    display: block;
    text-align: center;
    font-size: 0.82rem !important;
    padding: 12px 20px;
    margin-top: 16px;
    border-radius: 50px;
  }

  /* Hide desktop toggle, show mobile toggle next to logo */
  .theme-toggle-desktop { display: none !important; }
  .theme-toggle-mobile  { display: block; }
  .nav-right-group .theme-toggle { display: none; }

  /* Toggle row inside mobile menu */
  .mobile-theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(14,158,140,0.07);
    border: 1px solid rgba(14,158,140,0.15);
  }
  .mobile-theme-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--teal);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  body.dark-mode .mobile-theme-row {
    background: rgba(14,200,174,0.06);
    border-color: rgba(14,200,174,0.18);
  }
  body.dark-mode .mobile-theme-label { color: var(--teal-light); }
}
@media (max-width: 600px) {
  section { padding: 70px 5%; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row !important; flex-wrap: nowrap; gap: 0; }
  .hero-stat { border-right: 1px solid rgba(255,255,255,0.07); padding-right: 10px; margin-right: 10px; }
  .hero-stat:last-child { border: none; padding: 0; margin: 0; }
  .hero-stat-num { font-size: 1.4rem; }
  .hero-stat-label { font-size: 0.58rem; }
  .services-grid { grid-template-columns: 1fr; }
  .about-counters { grid-template-columns: 1fr; }
  .appt-form { padding: 28px 20px; }
  .success-box { padding: 40px 28px; margin: 20px; }
  .floating-btns { bottom: 20px; right: 16px; }
  .fab { width: 52px; height: 52px; font-size: 1.3rem; }
}
