/* ==========================================================================
   AS ADITI SWAMI PA — Premium Medical Website Stylesheet
   Inspired by O360 custom healthcare design patterns
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Primary Palette — trust-evoking medical tones */
  --navy: #0A1628;
  --navy-mid: #12223D;
  --navy-light: #1A2F52;
  --teal: #0E7C7B;
  --teal-hover: #10918F;
  --teal-muted: rgba(14,124,123,0.08);
  --teal-glow: rgba(14,124,123,0.18);
  /* Accent */
  --gold: #C8985E;
  --gold-light: #D6AB73;
  --gold-muted: rgba(200,152,94,0.12);
  /* Neutrals */
  --cream: #F9F6F1;
  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --gray-50: #F5F6F8;
  --gray-100: #ECEEF2;
  --gray-200: #DEE1E7;
  --gray-300: #C5CAD3;
  --gray-400: #9CA3AF;
  --gray-500: #6F7A8A;
  --gray-600: #556070;
  --gray-700: #3B4656;
  --gray-800: #1E2A3A;
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10,22,40,0.04);
  --shadow-sm: 0 2px 8px rgba(10,22,40,0.06);
  --shadow-md: 0 4px 24px rgba(10,22,40,0.08);
  --shadow-lg: 0 8px 40px rgba(10,22,40,0.10);
  --shadow-xl: 0 16px 56px rgba(10,22,40,0.14);
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { transition: all 0.3s var(--ease); }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container { max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin-left: auto; margin-right: auto; }
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--teal);
  display: inline-block;
}
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-label::before { display: none; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 600;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 620px;
  line-height: 1.75;
  font-weight: 400;
}

/* ==========================================================================
   ANIMATIONS — Intersection Observer driven
   ========================================================================== */
@keyframes fadeUp { from { opacity:0; transform:translateY(32px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideRight { from { opacity:0; transform:translateX(-40px); } to { opacity:1; transform:translateX(0); } }
@keyframes slideLeft { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:translateX(0); } }
@keyframes scaleIn { from { opacity:0; transform:scale(0.92); } to { opacity:1; transform:scale(1); } }
@keyframes pulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.06); } }
@keyframes shimmer { 0% { background-position:-200% center; } 100% { background-position:200% center; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  padding: 8px 0;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.top-bar .container { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.top-bar a { color:rgba(255,255,255,0.75); text-decoration:none; }
.top-bar a:hover { color:var(--gold-light); }
.top-bar-item { display:flex; align-items:center; gap:7px; }
.top-bar-item svg { width:13px; height:13px; opacity:0.6; }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: box-shadow 0.4s var(--ease);
}
header.scrolled { box-shadow: 0 2px 30px rgba(10,22,40,0.08); }
header .container { display:flex; justify-content:space-between; align-items:center; height:74px; }
.logo { display:flex; flex-direction:column; text-decoration:none; }
.logo-name { font-family:var(--font-display); font-size:1.3rem; color:var(--navy); line-height:1.2; font-weight:600; }
.logo-sub { font-size:0.68rem; color:var(--teal); font-weight:600; letter-spacing:0.08em; text-transform:uppercase; }
nav { display:flex; align-items:center; gap:28px; }
nav a {
  font-size:0.84rem; font-weight:500; color:var(--gray-500);
  text-decoration:none; position:relative; padding:4px 0;
}
nav a:hover, nav a.active { color:var(--navy); }
nav a::after {
  content:''; position:absolute; bottom:0; left:0;
  width:0; height:2px; background:var(--teal);
  transition:width 0.35s var(--ease); border-radius:2px;
}
nav a:hover::after, nav a.active::after { width:100%; }
.nav-cta {
  background:var(--teal) !important; color:var(--white) !important;
  padding:10px 24px; border-radius:var(--radius-sm); font-weight:600;
  font-size:0.82rem; letter-spacing:0.01em;
  box-shadow:0 2px 12px rgba(14,124,123,0.25);
}
.nav-cta:hover { background:var(--teal-hover) !important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(14,124,123,0.3); }
.nav-cta::after { display:none !important; }
.mobile-toggle { display:none; background:none; border:none; cursor:pointer; padding:8px; }
.mobile-toggle span { display:block; width:22px; height:2px; background:var(--navy); margin:5px 0; transition:0.3s; border-radius:2px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--teal); color:var(--white);
  padding:15px 30px; border-radius:var(--radius-md); font-weight:600; font-size:0.92rem;
  text-decoration:none; border:none; cursor:pointer;
  transition:all 0.35s var(--ease);
  box-shadow:0 4px 18px rgba(14,124,123,0.28);
}
.btn-primary:hover { background:var(--teal-hover); transform:translateY(-2px); box-shadow:0 6px 24px rgba(14,124,123,0.35); }
.btn-primary svg { width:18px; height:18px; }
.btn-secondary {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--white); color:var(--navy);
  padding:15px 30px; border-radius:var(--radius-md); font-weight:600; font-size:0.92rem;
  text-decoration:none; border:1.5px solid var(--gray-200);
  transition:all 0.35s var(--ease);
}
.btn-secondary:hover { border-color:var(--navy); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-secondary svg { width:18px; height:18px; }
.btn-white {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--white); color:var(--navy);
  padding:15px 30px; border-radius:var(--radius-md); font-weight:700; font-size:0.92rem;
  text-decoration:none; transition:all 0.35s var(--ease);
  box-shadow:0 4px 18px rgba(0,0,0,0.08);
}
.btn-white:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(0,0,0,0.12); }
.btn-outline-white {
  display:inline-flex; align-items:center; gap:8px;
  background:transparent; color:var(--white);
  padding:15px 30px; border-radius:var(--radius-md); font-weight:600; font-size:0.92rem;
  text-decoration:none; border:1.5px solid rgba(255,255,255,0.25);
  transition:all 0.35s var(--ease);
}
.btn-outline-white:hover { border-color:var(--white); background:rgba(255,255,255,0.08); }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 40%, var(--teal) 100%);
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content:''; position:absolute; top:-40%; right:-15%;
  width:600px; height:600px;
  background:radial-gradient(circle, rgba(14,124,123,0.12) 0%, transparent 70%);
  border-radius:50%;
}
.page-hero::after {
  content:''; position:absolute; bottom:0; left:0; right:0;
  height:80px;
  background:linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events:none;
}
.page-hero h1 {
  font-family:var(--font-display); font-size:clamp(2.2rem,4.5vw,3.2rem);
  color:var(--white); margin-bottom:14px; position:relative; font-weight:600;
}
.page-hero .page-sub {
  font-size:1.08rem; color:rgba(255,255,255,0.65);
  max-width:580px; margin:0 auto; position:relative; line-height:1.7;
}
.page-hero .breadcrumb {
  font-size:0.78rem; color:rgba(255,255,255,0.4);
  margin-bottom:18px; position:relative;
}
.page-hero .breadcrumb a { color:rgba(255,255,255,0.5); text-decoration:none; }
.page-hero .breadcrumb a:hover { color:var(--gold-light); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background:linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  padding:90px 0; text-align:center; position:relative; overflow:hidden;
}
.cta-band::before {
  content:''; position:absolute; top:-80px; left:50%;
  width:500px; height:500px;
  background:radial-gradient(circle, rgba(200,152,94,0.08), transparent 70%);
  border-radius:50%; transform:translateX(-50%);
}
.cta-band::after {
  content:''; position:absolute; bottom:-60px; right:-60px;
  width:300px; height:300px;
  background:radial-gradient(circle, rgba(14,124,123,0.15), transparent 70%);
  border-radius:50%;
}
.cta-band h2 {
  font-family:var(--font-display); font-size:clamp(1.8rem,3.5vw,2.5rem);
  color:var(--white); margin-bottom:14px; position:relative; font-weight:600;
}
.cta-band p { color:rgba(255,255,255,0.65); font-size:1.05rem; max-width:500px; margin:0 auto 36px; position:relative; }
.cta-actions { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; position:relative; }

/* ==========================================================================
   EMERGENCY BANNER
   ========================================================================== */
.emergency-banner {
  background:linear-gradient(90deg, #DC2626 0%, #B91C1C 100%);
  color:var(--white); text-align:center;
  padding:14px 20px; font-size:0.84rem; font-weight:600;
}
.emergency-banner a { color:var(--white); text-decoration:underline; }

/* ==========================================================================
   TRUST BAR (homepage)
   ========================================================================== */
.trust-bar {
  background:var(--white);
  border-bottom:1px solid var(--gray-100);
  padding:28px 0;
  position:relative;
  z-index:2;
}
.trust-bar .container { display:flex; justify-content:center; gap:48px; flex-wrap:wrap; }
.trust-item { display:flex; align-items:center; gap:12px; }
.trust-icon {
  width:44px; height:44px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:var(--teal-muted);
}
.trust-icon svg { width:20px; height:20px; color:var(--teal); }
.trust-item .trust-number {
  font-family:var(--font-display); font-size:1.5rem; font-weight:700;
  color:var(--navy); line-height:1;
}
.trust-item .trust-text { font-size:0.75rem; color:var(--gray-500); font-weight:500; line-height:1.3; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background:var(--navy); color:rgba(255,255,255,0.6); padding:70px 0 32px;
  position:relative; overflow:hidden;
}
footer::before {
  content:''; position:absolute; top:-200px; right:-100px;
  width:400px; height:400px;
  background:radial-gradient(circle, rgba(14,124,123,0.1), transparent 70%);
  border-radius:50%;
}
footer .footer-grid {
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr;
  gap:48px; margin-bottom:48px; position:relative;
}
.footer-brand .logo-name { color:var(--white); margin-bottom:4px; }
.footer-brand .logo-sub { color:var(--gold); margin-bottom:18px; display:block; }
.footer-brand p { font-size:0.85rem; line-height:1.75; max-width:280px; }
.footer-col h4 {
  font-size:0.72rem; font-weight:700; color:var(--white);
  text-transform:uppercase; letter-spacing:0.12em; margin-bottom:20px;
}
.footer-col a {
  display:block; font-size:0.86rem; color:rgba(255,255,255,0.5);
  text-decoration:none; margin-bottom:11px; transition:color 0.25s;
}
.footer-col a:hover { color:var(--gold-light); }
.footer-contact-item {
  display:flex; align-items:flex-start; gap:10px;
  margin-bottom:14px; font-size:0.86rem;
}
.footer-contact-item svg { width:15px; height:15px; color:var(--teal); flex-shrink:0; margin-top:4px; opacity:0.8; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.08); padding-top:24px;
  display:flex; justify-content:space-between; align-items:center;
  font-size:0.75rem; color:rgba(255,255,255,0.3); position:relative;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1024px) {
  footer .footer-grid { grid-template-columns:1fr 1fr; gap:36px; }
}
@media (max-width:768px) {
  .top-bar .container { justify-content:center; }
  nav { display:none; }
  nav.open {
    display:flex; flex-direction:column;
    position:absolute; top:74px; left:0; right:0;
    background:var(--white); padding:24px 28px;
    box-shadow:var(--shadow-lg); border-top:1px solid var(--gray-100);
    gap:14px; z-index:99;
  }
  .mobile-toggle { display:block; }
  .section { padding:80px 0; }
  .trust-bar .container { gap:24px; }
  .trust-item .trust-number { font-size:1.2rem; }
  footer .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; gap:8px; text-align:center; }
  .cta-band { padding:70px 0; }
}

/* ==========================================================================
   COMMON COMPONENTS
   ========================================================================== */

/* Cards with subtle hover lift */
.card-lift {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Accent line decoration */
.accent-line {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 4px;
  margin-bottom: 20px;
}

/* Icon box */
.icon-box {
  width:52px; height:52px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; font-size:1.3rem;
  transition: transform 0.3s var(--ease);
}
.icon-box:hover { transform: scale(1.08); }
.icon-box.teal { background:var(--teal-muted); }
.icon-box.gold { background:var(--gold-muted); }
.icon-box.navy { background:rgba(10,22,40,0.06); }

/* Divider */
.section-divider {
  height:1px; background:var(--gray-100);
  max-width:200px; margin:0 auto;
}

/* Grid helpers */
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:1024px) {
  .grid-4 { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns:1fr; }
}
