/* =========================================================
   Star Health Care Center - Frontend Stylesheet
   ========================================================= */
:root {
  --primary: #0d47a1;
  --primary-dark: #082e6b;
  --primary-light: #1976d2;
  --primary-soft: #e8f1fc;
  --accent: #00b894;
  --accent-dark: #009177;
  --accent-soft: #e6f9f4;
  --gold: #fbbf24;
  --danger: #ef4444;
  --navy: #0b1f3a;
  --text: #334155;
  --text-muted: #64748b;
  --white: #ffffff;
  --bg-soft: #f2f8ff;
  --grad-main: linear-gradient(135deg, #0d47a1 0%, #1976d2 55%, #00b894 130%);
  --shadow-sm: 0 4px 14px rgba(13, 71, 161, 0.08);
  --shadow-md: 0 12px 34px rgba(13, 71, 161, 0.14);
  --shadow-lg: 0 24px 60px rgba(13, 71, 161, 0.2);
  --radius: 18px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #eaf3fd; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary-light), var(--accent)); border-radius: 10px; }

::selection { background: var(--accent); color: #fff; }

/* =========================================================
   Animations (keyframes)
   ========================================================= */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-22px) rotate(3deg); } }
@keyframes floatSlow { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14px, -18px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: 0.75; } }
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.5); }
  70% { box-shadow: 0 0 0 22px rgba(0, 184, 148, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 184, 148, 0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.3); } 28% { transform: scale(1); } 42% { transform: scale(1.3); } 70% { transform: scale(1); } }
@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.15); }
  66% { transform: translate(-25px, 25px) scale(0.9); }
}
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes bounceDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes shine { 0% { left: -100%; } 60%, 100% { left: 130%; } }
@keyframes ripple { 0% { transform: scale(0); opacity: 0.6; } 100% { transform: scale(4); opacity: 0; } }
@keyframes blinkDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* scroll reveal (driven by JS) */
.reveal { opacity: 0; transform: translateY(45px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-zoom { transform: scale(0.85); }
.reveal-left.in-view, .reveal-right.in-view, .reveal-zoom.in-view { transform: none; }
[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.36s; }
[data-delay="4"] { transition-delay: 0.48s; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 30px; border-radius: 50px; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn::before { content: ""; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; }
.btn:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(13, 71, 161, 0.28); }
.btn:active { transform: translateY(-1px) scale(0.98); }
.btn-primary { background: var(--grad-main); color: #fff; background-size: 200% 200%; animation: gradientShift 6s ease infinite; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--primary-light); color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* =========================================================
   Topbar
   ========================================================= */
.topbar {
  background: var(--navy); color: #dbeafe; font-size: 13.5px; padding: 9px 0;
  position: relative; z-index: 60;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info svg { width: 15px; height: 15px; stroke: var(--accent); flex: none; }
.topbar-social { display: flex; gap: 10px; align-items: center; }
.topbar-social a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); transition: 0.3s; }
.topbar-social a:hover { background: var(--accent); transform: translateY(-3px); }
.topbar-social svg { width: 14px; height: 14px; stroke: #fff; }

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 24px rgba(13, 71, 161, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 8px 30px rgba(13, 71, 161, 0.16); background: rgba(255, 255, 255, 0.98); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 auto; }
.brand-logo { width: 52px; height: 52px; flex: none; position: relative; }
.brand-logo .logo-circle { width: 100%; height: 100%; border-radius: 50%; background: var(--grad-main); display: grid; place-items: center; color: #fff; animation: pulseRing 3s ease-out infinite; }
.brand-logo svg { width: 30px; height: 30px; }
.brand-text h1 { font-size: 18px; line-height: 1.15; color: var(--navy); font-weight: 700; }
.brand-text h1 span { color: var(--accent); }
.brand-text small { font-size: 11px; color: var(--text-muted); letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; }
.brand-text { min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-cta-mobile { display: none; list-style: none; }
.nav-links a {
  position: relative; padding: 9px 15px; font-weight: 500; font-size: 15px; color: var(--navy);
  transition: color 0.3s ease; border-radius: 40px;
}
.nav-links a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 3px; border-radius: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 3px; transition: 0.35s; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; background: var(--bg-soft); overflow: hidden; padding: 60px 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(0, 184, 148, 0.16), transparent 40%), radial-gradient(circle at 10% 80%, rgba(25, 118, 210, 0.16), transparent 40%); }
.hero .container { position: relative; z-index: 3; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--accent); color: var(--accent-dark); padding: 8px 18px; border-radius: 50px; font-weight: 600; font-size: 13px; box-shadow: var(--shadow-sm); animation: fadeInDown 0.8s ease both; }
.hero-badge .dot { width: 9px; height: 9px; background: var(--accent); border-radius: 50%; animation: blinkDot 1.4s ease infinite; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.12; color: var(--navy); margin: 22px 0 8px; font-weight: 800; animation: fadeInDown 0.9s ease 0.12s both; }
.hero h1 .grad-text { background: var(--grad-main); background-size: 220% 220%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradientShift 6s ease infinite; }
.hero p.lead { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 14px 0 30px; animation: fadeInUp 0.9s ease 0.28s both; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; animation: fadeInUp 0.9s ease 0.42s both; }
.hero-stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; animation: fadeInUp 0.9s ease 0.56s both; }
.hero-stat .num { font-size: 32px; font-weight: 800; color: var(--primary); display: flex; align-items: baseline; }
.hero-stat .num .plus { color: var(--accent); margin-left: 2px; }
.hero-stat small { color: var(--text-muted); font-weight: 500; font-size: 13px; }
.hero-visual { position: relative; display: grid; place-items: center; animation: zoomIn 1s ease 0.2s both; }
.hero-visual .card-image { width: min(430px, 100%); aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 10px solid #fff; box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite; }
.hero-blob { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: var(--grad-main); filter: blur(60px); opacity: 0.22; z-index: -1; animation: blobMove 12s ease-in-out infinite; }
.float-icon { position: absolute; width: 62px; height: 62px; background: #fff; border-radius: 18px; display: grid; place-items: center; box-shadow: var(--shadow-md); color: var(--primary); animation: float 6s ease-in-out infinite; }
.float-icon svg { width: 30px; height: 30px; }
.float-icon.fi-1 { top: 6%; left: -4%; }
.float-icon.fi-2 { bottom: 10%; right: 2%; color: var(--accent); animation-delay: 1.2s; }
.float-icon.fi-3 { top: 46%; right: -8%; width: 56px; height: 56px; color: var(--danger); animation-delay: 2s; }
.float-card { position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 11px; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 600; color: var(--navy); animation: floatSlow 8s ease-in-out infinite; }
.float-card .fc-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.float-card.fc-1 { bottom: 4%; left: -6%; }
.float-card.fc-2 { top: 18%; right: -10%; animation-delay: 1.6s; }
.scroll-down { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--primary-light); font-size: 12px; font-weight: 600; letter-spacing: 2px; display: flex; flex-direction: column; align-items: center; gap: 4px; animation: bounceDown 2s ease-in-out infinite; z-index: 4; }
.scroll-down svg { width: 20px; height: 20px; }

/* =========================================================
   Ticker / marquee
   ========================================================= */
.ticker { background: var(--grad-main); color: #fff; padding: 12px 0; overflow: hidden; position: relative; }
.ticker-track { display: flex; gap: 50px; white-space: nowrap; width: max-content; animation: marquee 28s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 50px; font-weight: 500; }
.ticker-track svg { width: 16px; height: 16px; flex: none; }
.ticker-track b { color: var(--gold); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 96px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-white { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; font-size: 13px; padding: 7px 18px; border-radius: 50px; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 16px; }
.section-tag svg { width: 15px; height: 15px; }
.section-head h2 { font-size: clamp(27px, 3.6vw, 42px); color: var(--navy); font-weight: 800; line-height: 1.2; }
.section-head h2 .grad-text { background: var(--grad-main); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-head p { color: var(--text-muted); margin-top: 14px; font-size: 16px; }
.title-underline { width: 74px; height: 5px; border-radius: 5px; background: var(--grad-main); margin: 18px auto 0; position: relative; overflow: hidden; }
.title-underline::after { content: ""; position: absolute; inset: 0; background: #fff; animation: shine 2.6s ease-in-out infinite; }

/* =========================================================
   Feature / about cards
   ========================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 36px 28px; box-shadow: var(--shadow-sm); border: 1px solid #eaf2fc; position: relative; overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.feature-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-main); transform: scaleX(0); transform-origin: left; transition: transform 0.45s ease; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .fc-img { display: block; width: calc(100% + 56px); margin: -36px -28px 26px; height: 180px; object-fit: cover; border-bottom: 4px solid var(--grad-main); background: var(--bg-soft); }
.feature-card .fc-ic { width: 66px; height: 66px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 20px; transition: 0.4s; animation: pulseRing 3s ease-out infinite; }
.feature-card:hover .fc-ic { background: var(--grad-main); color: #fff; transform: rotate(-6deg) scale(1.05); }
.feature-card .fc-ic svg { width: 32px; height: 32px; }
.feature-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.feature-card p { font-size: 14.5px; color: var(--text-muted); }
.feature-card .learn-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--primary); font-weight: 600; font-size: 14px; transition: gap 0.3s; }
.feature-card .learn-more svg { width: 16px; height: 16px; transition: transform 0.3s; }
.feature-card:hover .learn-more svg { transform: translateX(5px); }

/* category ribbon on service cards */
.feature-card .cat-ribbon { position: absolute; top: 16px; right: -30px; transform: rotate(45deg); background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700; padding: 4px 34px; letter-spacing: 1px; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.feature-card .cat-ribbon.lab { background: var(--primary-light); }
.feature-card .cat-ribbon.medicine { background: var(--gold); color: var(--navy); }
.feature-card .cat-ribbon.other { background: var(--navy); }

/* =========================================================
   About split
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; }
.split-media .main-img { border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; height: 460px; object-fit: cover; }
.split-media .exp-badge { position: absolute; bottom: -22px; right: 8px; background: var(--grad-main); color: #fff; padding: 20px 26px; border-radius: 18px; text-align: center; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.split-media .exp-badge strong { font-size: 34px; line-height: 1; display: block; }
.split-media .exp-badge span { font-size: 12.5px; font-weight: 600; opacity: 0.9; }
.split-media .deco-ring { position: absolute; top: -30px; left: -30px; width: 120px; height: 120px; border: 6px solid var(--accent); border-radius: 50%; border-right-color: transparent; animation: spin 14s linear infinite; opacity: 0.5; }
.split-content h2 { font-size: clamp(27px, 3.4vw, 40px); color: var(--navy); font-weight: 800; line-height: 1.2; margin: 12px 0 18px; }
.split-content h2 .grad-text { background: var(--grad-main); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.split-content > p { color: var(--text-muted); margin-bottom: 22px; }
.about-points { display: grid; gap: 16px; margin: 26px 0 32px; }
.about-point { display: flex; gap: 14px; align-items: flex-start; }
.about-point .ap-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.about-point .ap-ic svg { width: 22px; height: 22px; }
.about-point h4 { color: var(--navy); font-size: 16.5px; font-weight: 700; }
.about-point p { color: var(--text-muted); font-size: 14px; }

/* =========================================================
   Stats band
   ========================================================= */
.stats-band { background: var(--grad-main); background-size: 200% 200%; animation: gradientShift 8s ease infinite; padding: 60px 0; position: relative; overflow: hidden; }
.stats-band::before, .stats-band::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.18); }
.stats-band::before { top: -60px; right: 6%; animation: float 10s ease-in-out infinite; }
.stats-band::after { bottom: -80px; left: 4%; animation: float 13s ease-in-out infinite reverse; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; z-index: 2; }
.stat-box { text-align: center; color: #fff; padding: 18px; }
.stat-box .sb-ic { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.14); display: grid; place-items: center; animation: pulseRing 3s ease-out infinite; }
.stat-box .sb-ic svg { width: 30px; height: 30px; }
.stat-box .num { font-size: 42px; font-weight: 800; line-height: 1; }
.stat-box .num .plus { color: var(--gold); }
.stat-box span { font-size: 14px; font-weight: 500; opacity: 0.92; }

/* =========================================================
   Doctor cards
   ========================================================= */
.doctors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.doctor-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #eaf2fc; transition: transform 0.4s ease, box-shadow 0.4s ease; position: relative; }
.doctor-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.doctor-card .doc-photo { position: relative; height: 310px; overflow: hidden; background: var(--primary-soft); }
.doctor-card .doc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.doctor-card:hover .doc-photo img { transform: scale(1.08); }
.doctor-card .doc-photo .doc-shape { position: absolute; inset: auto 0 0 0; height: 60px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: scale(1.6); }
.doctor-card .doc-social { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(30px); transition: 0.4s; }
.doctor-card:hover .doc-social { opacity: 1; transform: translateX(0); }
.doctor-card .doc-social a { width: 38px; height: 38px; background: #fff; border-radius: 10px; display: grid; place-items: center; color: var(--primary); box-shadow: var(--shadow-sm); transition: 0.3s; }
.doctor-card .doc-social a:hover { background: var(--grad-main); color: #fff; transform: scale(1.1); }
.doctor-card .doc-social svg { width: 17px; height: 17px; }
.doctor-card .doc-body { padding: 28px 24px 30px; text-align: center; position: relative; }
.doctor-card .doc-body h3 { font-size: 21px; color: var(--navy); font-weight: 700; }
.doctor-card .doc-body .specialty { color: var(--primary); font-weight: 600; font-size: 14.5px; margin: 4px 0 8px; display: block; }
.doctor-card .doc-body .qualification { color: var(--text-muted); font-size: 13px; }
.doctor-card .doc-body .opd-time { margin-top: 14px; padding: 9px 14px; background: var(--accent-soft); border-radius: 10px; color: var(--accent-dark); font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.doctor-card .doc-body .opd-time svg { width: 14px; height: 14px; }
.doctor-card .doc-actions { display: flex; gap: 10px; margin-top: 18px; justify-content: center; }

/* =========================================================
   Timeline (about page)
   ========================================================= */
.timeline { position: relative; max-width: 900px; margin: 40px auto 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--primary-light), var(--accent)); transform: translateX(-50%); }
.timeline-item { position: relative; width: 50%; padding: 0 44px 48px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-item::before { content: ""; position: absolute; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--accent); animation: pulse 2.4s ease infinite; }
.timeline-item:nth-child(odd)::before { right: -9px; }
.timeline-item:nth-child(even)::before { left: -9px; }
.timeline-item .tl-year { display: inline-block; background: var(--grad-main); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 16px; border-radius: 50px; margin-bottom: 10px; }
.timeline-item h4 { font-size: 19px; color: var(--navy); }
.timeline-item p { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

/* =========================================================
   Testimonials
   ========================================================= */
.testi-slider { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.testi-slide { flex: 0 0 100%; padding: 10px 4px; }
.testi-card { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 40px; text-align: center; position: relative; border: 1px solid #eaf2fc; }
.testi-card::before { content: "\201C"; position: absolute; top: 8px; left: 30px; font-size: 120px; line-height: 1; color: var(--primary-soft); font-family: Georgia, serif; }
.testi-card .stars { color: var(--gold); font-size: 20px; letter-spacing: 3px; margin-bottom: 16px; }
.testi-card .quote { color: var(--text); font-size: 16.5px; font-style: italic; margin-bottom: 22px; position: relative; z-index: 1; }
.testi-card .t-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testi-card .t-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--grad-main); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.testi-card .t-author h5 { color: var(--navy); font-size: 16.5px; }
.testi-card .t-author span { color: var(--text-muted); font-size: 13px; }
.testi-nav { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.testi-nav button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--primary-light); background: #fff; color: var(--primary); cursor: pointer; display: grid; place-items: center; transition: 0.3s; }
.testi-nav button:hover { background: var(--grad-main); color: #fff; transform: translateY(-3px); }
.testi-nav svg { width: 20px; height: 20px; }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.testi-dots button { width: 10px; height: 10px; border-radius: 10px; border: none; background: #cfe3fa; cursor: pointer; transition: 0.35s; }
.testi-dots button.active { width: 30px; background: var(--primary); }

/* =========================================================
   Forms
   ========================================================= */
.form-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 38px; border: 1px solid #eaf2fc; position: relative; overflow: hidden; }
.form-wrap::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad-main); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: 14px; color: var(--navy); }
.form-group label .req { color: var(--danger); }
.form-group input, .form-group select, .form-group textarea {
  border: 2px solid #e2eefc; border-radius: 12px; padding: 12px 16px; font-size: 14.5px; color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s; background: #fbfdff; outline: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary-light); box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.12); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { color: var(--danger); font-size: 12.5px; }
.field-error { border-color: var(--danger) !important; }

/* =========================================================
   Appointment section (home)
   ========================================================= */
.appt-section { background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 60%, var(--primary) 120%); position: relative; overflow: hidden; }
.appt-section::before, .appt-section::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.12); }
.appt-section::before { top: -80px; right: 4%; animation: float 11s ease-in-out infinite; }
.appt-section::after { bottom: -120px; left: 6%; animation: float 14s ease-in-out infinite reverse; }
.appt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.appt-info h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.2; }
.appt-info h2 .gold { color: var(--gold); }
.appt-info p { color: #c7d9f2; margin: 16px 0 28px; }
.appt-points { display: grid; gap: 16px; }
.appt-point { display: flex; gap: 14px; color: #dbeafe; font-size: 14.5px; align-items: center; }
.appt-point .ap { width: 42px; height: 42px; flex: none; border-radius: 12px; background: rgba(255, 255, 255, 0.12); display: grid; place-items: center; color: var(--gold); }
.appt-point .ap svg { width: 21px; height: 21px; }
.appt-info .phone-strip { margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); padding: 12px 22px; border-radius: 14px; color: #fff; animation: pulseRing 3s ease-out infinite; }
.appt-info .phone-strip svg { width: 22px; height: 22px; color: var(--gold); }
.appt-info .phone-strip a { font-weight: 700; font-size: 18px; }

/* =========================================================
   Hindi text
   ========================================================= */
.hi { font-family: 'Mukta', 'Poppins', 'Hind', 'Noto Sans Devanagari', 'Mangal', sans-serif; }
.hi-sub { display: block; font-family: 'Mukta', 'Poppins', 'Hind', 'Noto Sans Devanagari', 'Mangal', sans-serif; font-size: 17px; font-weight: 600; color: var(--accent-dark); margin-top: 6px; }
.section-head .hi-sub { color: var(--primary-light); }
.hero .hi-sub { color: var(--accent-dark); font-size: 19px; margin: 4px 0 0; }
.hero .lead.hi { color: var(--accent-dark); font-weight: 600; font-size: 19px; margin: 0 0 6px; }
.footer .hi-sub { color: var(--accent); font-size: 15px; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: -20px auto 40px; }
.g-filter { background: #fff; border: 2px solid #e2eefc; color: var(--text-muted); font-weight: 600; font-size: 14px; padding: 9px 24px; border-radius: 50px; cursor: pointer; transition: 0.3s; }
.g-filter:hover { border-color: var(--primary-light); color: var(--primary); transform: translateY(-2px); }
.g-filter.active { background: var(--grad-main); border-color: transparent; color: #fff; box-shadow: var(--shadow-md); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; border: 1px solid #eaf2fc; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.gallery-item.large { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 420px; }
.gallery-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; background: linear-gradient(180deg, transparent, rgba(11, 31, 58, 0.88)); color: #fff; padding: 46px 20px 18px; transition: transform 0.4s ease; }
.gallery-item figcaption h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.gallery-item figcaption p { font-size: 13px; color: #dbeafe; opacity: 0; transform: translateY(8px); transition: 0.4s; max-height: 0; overflow: hidden; }
.gallery-item:hover figcaption p { opacity: 1; transform: translateY(0); max-height: 80px; }
.gallery-item .g-cat { display: inline-block; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 30px; margin-bottom: 8px; }
.gallery-item .g-zoom { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--primary); display: grid; place-items: center; opacity: 0; transform: scale(0.6); transition: 0.35s; }
.gallery-item:hover .g-zoom { opacity: 1; transform: scale(1); }
.gallery-item .g-zoom svg { width: 19px; height: 19px; }
.gallery-item.hidden { display: none; }
.gallery-empty { text-align: center; color: var(--text-muted); padding: 40px; }

/* Lightbox */
.gallery-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(8, 15, 30, 0.94); display: none; align-items: center; justify-content: center; padding: 40px; backdrop-filter: blur(6px); }
.gallery-lightbox.open { display: flex; animation: fadeIn 0.3s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.gallery-lightbox .gl-content { max-width: min(900px, 92%); position: relative; animation: zoomIn 0.35s ease both; }
.gallery-lightbox .gl-content img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 14px; background: #fff; }
.gallery-lightbox .gl-caption { color: #fff; text-align: center; margin-top: 16px; }
.gallery-lightbox .gl-caption h3 { font-size: 20px; font-weight: 700; }
.gallery-lightbox .gl-caption p { color: #b9c8dd; font-size: 14px; margin-top: 4px; }
.gallery-lightbox .gl-close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; display: grid; place-items: center; transition: 0.3s; }
.gallery-lightbox .gl-close:hover { background: var(--danger); transform: rotate(90deg); }
.gallery-lightbox .gl-close svg { width: 22px; height: 22px; }
.gallery-lightbox .gl-prev, .gallery-lightbox .gl-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; display: grid; place-items: center; transition: 0.3s; }
.gallery-lightbox .gl-prev { left: 24px; }
.gallery-lightbox .gl-next { right: 24px; }
.gallery-lightbox .gl-prev:hover, .gallery-lightbox .gl-next:hover { background: var(--grad-main); border-color: transparent; transform: translateY(-50%) scale(1.08); }
.gallery-lightbox .gl-prev svg, .gallery-lightbox .gl-next svg { width: 24px; height: 24px; }
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery-item.large { grid-column: span 2; grid-row: auto; min-height: auto; aspect-ratio: 16 / 10; }
  .gallery-lightbox .gl-prev { left: 8px; }
  .gallery-lightbox .gl-next { right: 8px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: auto; }
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; align-items: start; }
.contact-info-card { background: var(--grad-main); color: #fff; border-radius: var(--radius); padding: 38px; position: relative; overflow: hidden; }
.contact-info-card::before, .contact-info-card::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); width: 220px; height: 220px; }
.contact-info-card::before { top: -60px; right: -40px; animation: float 9s ease-in-out infinite; }
.contact-info-card::after { bottom: -70px; left: -50px; animation: float 12s ease-in-out infinite reverse; }
.contact-info-card h3 { font-size: 24px; margin-bottom: 10px; position: relative; z-index: 1; }
.contact-info-card > p { opacity: 0.92; font-size: 14.5px; margin-bottom: 26px; position: relative; z-index: 1; }
.contact-item { display: flex; gap: 15px; margin-bottom: 22px; position: relative; z-index: 1; }
.contact-item .ci-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: rgba(255, 255, 255, 0.15); display: grid; place-items: center; animation: pulseRing 3.4s ease-out infinite; }
.contact-item .ci-ic svg { width: 23px; height: 23px; }
.contact-item h5 { font-size: 14px; opacity: 0.85; font-weight: 500; }
.contact-item p { font-weight: 600; font-size: 15px; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); height: 380px; margin-top: 30px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--navy); color: #c7d9f2; padding: 70px 0 0; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-main); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 3px; background: var(--accent); }
.footer .brand { margin-bottom: 18px; }
.footer .brand-text h1 { color: #fff; }
.footer .brand-text small { color: #8aa5c6; }
.footer-about p { font-size: 14px; margin-bottom: 20px; line-height: 1.8; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; color: #fff; transition: 0.3s; }
.footer-social a:hover { background: var(--grad-main); transform: translateY(-4px) rotate(6deg); }
.footer-social svg { width: 17px; height: 17px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; }
.footer-links a svg { width: 13px; height: 13px; color: var(--accent); transition: transform 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-links a:hover svg { transform: translateX(5px); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 15px; font-size: 14px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0; text-align: center; font-size: 13.5px; color: #8aa5c6; }
.footer-bottom b { color: #fff; }

/* =========================================================
   Floating widgets
   ========================================================= */
.whatsapp-float { position: fixed; bottom: 26px; right: 26px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45); animation: pulseRing 2.6s ease-out infinite; transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.12) rotate(8deg); }
.whatsapp-float svg { width: 30px; height: 30px; }
.back-top { position: fixed; bottom: 26px; left: 26px; z-index: 900; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-main); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(16px); transition: 0.35s; box-shadow: var(--shadow-md); }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }
.back-top svg { width: 22px; height: 22px; }

/* =========================================================
   Flash messages
   ========================================================= */
.flash { position: fixed; top: 96px; right: 22px; z-index: 1500; background: var(--accent); color: #fff; padding: 15px 22px; border-radius: 12px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; transform: translateX(120%); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); max-width: 360px; }
.flash.show { transform: translateX(0); }
.flash.error { background: var(--danger); }
.flash svg { width: 22px; height: 22px; flex: none; }
.flash .close-flash { margin-left: 6px; cursor: pointer; background: rgba(255, 255, 255, 0.2); border: none; color: #fff; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; flex: none; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%); color: #fff; padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.12); }
.page-hero::before { width: 300px; height: 300px; top: -80px; right: 4%; animation: float 10s ease-in-out infinite; }
.page-hero::after { width: 200px; height: 200px; bottom: -60px; left: 6%; animation: float 13s ease-in-out infinite reverse; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; animation: fadeInDown 0.8s ease both; position: relative; z-index: 2; }
.page-hero h1 span { color: var(--gold); }
.page-hero .crumbs { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: #c7d9f2; animation: fadeInUp 0.8s ease 0.15s both; position: relative; z-index: 2; }
.page-hero .crumbs a:hover { color: var(--gold); }
.page-hero .crumbs svg { width: 14px; height: 14px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero .container, .split, .appt-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 70px 0 90px; }
  .hero-visual { margin-top: 30px; }
  .feature-grid, .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* Topbar */
  .topbar-info { gap: 14px; font-size: 12px; }
  .topbar-info span:nth-child(2), .topbar-info span:nth-child(3) { display: none; }
  .topbar-social { gap: 6px; }
  .topbar-social a { width: 26px; height: 26px; }
  .topbar .container { justify-content: center; }

  /* Navbar */
  .navbar { overflow: visible; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-text h1 { font-size: 16px; }
  .brand-text small { font-size: 10px; letter-spacing: 1px; }
  .navbar .container { padding-block: 8px; gap: 12px; }
  .brand { min-width: 0; }

  /* Mobile nav overlay */
  .nav-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
  .nav-overlay.active { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }

  /* Mobile nav dropdown */
  .nav-links { position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; width: auto; max-width: calc(100vw - 24px); background: #fff; flex-direction: column; align-items: stretch; padding: 16px; gap: 6px; border-radius: 20px; border: 1px solid #e2eefc; box-shadow: 0 18px 40px rgba(13, 71, 161, 0.18); transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease; z-index: 1001; overflow-y: auto; overscroll-behavior: contain; max-height: calc(100vh - 110px); }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links li { width: 100%; list-style: none; }
  .nav-links a { display: flex; align-items: center; width: 100%; font-size: 16px; padding: 13px 15px; border-radius: 12px; transition: background 0.2s, color 0.2s; }
  .nav-links a:hover, .nav-links a.active { background: var(--primary-soft); }
  .nav-links a::after { display: none; }

  /* CTA button inside mobile nav */
  .nav-cta-mobile { display: block; margin-top: 10px; padding-top: 14px; border-top: 1px solid #e2eefc; }
  .nav-cta-mobile .btn { width: 100%; justify-content: center; font-size: 15px; padding: 14px 20px; }
  .nav-cta-desktop { display: none !important; }

  /* Hamburger */
  .nav-toggle { display: block; z-index: 1002; padding: 10px; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-toggle:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; border-radius: 6px; }

  /* Layout */
  .feature-grid, .doctors-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 10px; }
  .timeline-item, .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 42px 42px; }
  .timeline-item::before, .timeline-item:nth-child(odd)::before, .timeline-item:nth-child(even)::before { left: 2px; right: auto; }
  .float-icon.fi-3, .float-card.fc-2 { display: none; }
  .section { padding: 70px 0; }

  /* Flash messages */
  .flash { top: auto; bottom: 20px; right: 12px; left: 12px; max-width: none; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-actions .btn { width: 100%; }
  .topbar { padding: 7px 0; font-size: 11.5px; }
  .topbar-info { gap: 10px; }
  .topbar-info svg { width: 13px; height: 13px; }
}

/* =========================================================
   Hero Carousel
   ========================================================= */
.hero-carousel { position: relative; width: 100%; overflow: hidden; background: var(--navy); }
.hero-carousel .carousel-track { display: flex; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-carousel .carousel-slide { position: relative; flex: 0 0 100%; min-height: 480px; display: flex; align-items: center; }
.hero-carousel .carousel-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-carousel .carousel-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 31, 58, 0.82) 0%, rgba(11, 31, 58, 0.55) 45%, rgba(11, 31, 58, 0.18) 100%); }
.hero-carousel .carousel-content { position: relative; z-index: 2; color: #fff; }
.hero-carousel .carousel-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; padding: 8px 18px; border-radius: 50px; font-weight: 600; font-size: 13px; backdrop-filter: blur(4px); }
.hero-carousel .carousel-badge .dot { width: 9px; height: 9px; background: var(--accent); border-radius: 50%; animation: blinkDot 1.4s ease infinite; }
.hero-carousel .carousel-content h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.12; font-weight: 800; margin: 20px 0 12px; max-width: 700px; }
.hero-carousel .carousel-content p { font-size: 17px; color: #dbeafe; max-width: 600px; margin: 0 0 28px; }
.hero-carousel .carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.12); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(4px); transition: 0.3s; }
.hero-carousel .carousel-arrow:hover { background: var(--grad-main); border-color: transparent; }
.hero-carousel .carousel-arrow.prev { left: 24px; }
.hero-carousel .carousel-arrow.next { right: 24px; }
.hero-carousel .carousel-arrow svg { width: 22px; height: 22px; }
.hero-carousel .carousel-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hero-carousel .carousel-dots button { width: 11px; height: 11px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: 0.3s; }
.hero-carousel .carousel-dots button.active { width: 30px; border-radius: 20px; background: var(--accent); }
@media (max-width: 768px) {
  .hero-carousel .carousel-slide { min-height: 380px; }
  .hero-carousel .carousel-arrow { width: 40px; height: 40px; }
  .hero-carousel .carousel-arrow.prev { left: 12px; }
  .hero-carousel .carousel-arrow.next { right: 12px; }
  .hero-carousel .carousel-content h1 { font-size: 28px; }
  .hero-carousel .carousel-content p { font-size: 15px; }
}

