/* Premium Doctor Portal — shared.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --bg:          #fff5f7; /* Soft blush off-white */
  --bg-card:     #fcedf0; /* Very light rose */
  --bg-dark:     #4a1523; /* Deep burgundy/rose for dark sections */
  --white:       #ffffff;
  --ink:         #2d0e15; /* Dark maroon/slate */
  --ink-2:       #7d525c; /* Muted rose-steel */
  --accent:      #d9466e; /* Deep medical rose-pink */
  --accent-light:#f47293; /* Bright elegant pink */
  --accent-glow: rgba(244, 114, 147, 0.15);
  --rule:        #f3d8df; /* Rose slate divider */
  --max:         1300px;
  --gutter:      60px;
  --radius:      24px;    /* Smoother, more organic curves */
  --transition:  all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; line-height: 1.1; overflow-wrap: break-word; }
p { overflow-wrap: break-word; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section    { padding: 100px 0; }

/* ── Eyebrow ─────────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--accent-light); display: block; margin-bottom: 18px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.07em;
  text-decoration: none; cursor: pointer;
  transition: var(--transition); border: none;
}
.btn-dark  { background: var(--accent);  color: var(--white); }
.btn-dark:hover  { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }
.btn-rust  { background: var(--accent-light); color: var(--white); }
.btn-rust:hover  { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--rule); padding: 13.5px 30px;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost-white {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3); padding: 13.5px 30px;
}
.btn-ghost-white:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-whatsapp:hover { background: #1eb857; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); }

/* ── Floating WhatsApp button ────────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 95;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: var(--white);
  padding: 14px 22px 14px 16px; border-radius: 9999px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.whatsapp-fab:hover { background: #1eb857; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5); }
.whatsapp-fab svg { flex-shrink: 0; }
@media (max-width: 768px) {
  .whatsapp-fab { bottom: 18px; right: 18px; padding: 14px; }
  .whatsapp-fab-label { display: none; } /* icon-only on phones */
}

/* ── Image placeholder ───────────────────────────────────────────────────── */
.img-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); font-size: 12px; font-weight: 500;
  text-align: center; padding: 20px;
  border-radius: inherit;
}
.img-placeholder span { max-width: 120px; line-height: 1.5; }

/* ── Site Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.85); /* Matches new light bg */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  transition: var(--transition);
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  height: 80px; display: flex; align-items: center; gap: 40px;
}
.header-brand {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
}
.header-brand-logo {
  height: 56px; width: auto; flex-shrink: 0;
}
.header-brand-name {
  font-size: 22px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink);
}
.site-nav {
  display: flex; gap: 32px; margin-left: auto;
}
.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-2); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--accent-light); }
.header-cta { margin-left: 20px; }
.mobile-menu-toggle { display: none; }
.mobile-nav-cta { display: none; }

/* ── Ticker ──────────────────────────────────────────────────────────────── */
.ticker-strip {
  background: var(--bg-dark); overflow: hidden;
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.05);
}
.ticker-track {
  display: flex; gap: 0;
  animation: ticker-scroll 32s linear infinite;
  width: max-content;
}
.ticker-item {
  display: flex; align-items: center; gap: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); white-space: nowrap;
  padding: 0 32px;
}
.ticker-item::after {
  content: '•'; margin-left: 32px;
  color: var(--accent-light); font-size: 12px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section title ───────────────────────────────────────────────────────── */
.section-title {
  font-size: clamp(36px, 4vw, 54px); font-weight: 800;
  letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 12px;
}
.section-lede {
  font-size: 17px; color: var(--ink-2); line-height: 1.7;
  max-width: 540px;
}

/* ── Project card / Service Card ─────────────────────────────────────────── */
.project-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06); border-color: var(--accent-light); }
.project-card-img {
  aspect-ratio: 16/10; overflow: hidden; position: relative;
  background: var(--bg-card);
}
.project-card-img img,
.project-card-img .img-placeholder { border-radius: 0; }
.project-card-body { padding: 28px; }
.project-card-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.project-cat {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--accent-light); background: var(--accent-glow);
  padding: 4px 12px; border-radius: 99px;
}
.project-year {
  font-size: 12px; color: var(--ink-2); font-weight: 600;
}
.project-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px; font-weight: 800; margin-bottom: 10px; color: var(--ink);
}
.project-location {
  font-size: 12px; color: var(--ink-2); margin-bottom: 14px;
  display: flex; align-items: center; gap: 6px; font-weight: 500;
}
.project-location::before { content: '✓'; color: var(--accent-light); font-weight: bold; }
.project-desc {
  font-size: 15.5px; color: var(--ink-2); line-height: 1.7; margin: 0;
}
.project-file-btn {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 12px;
}

/* ── Page hero ───────────────────────────────────────────────────────────── */
.page-hero {
  padding: 180px var(--gutter) 90px;
  max-width: var(--max); margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(48px, 6vw, 84px); font-weight: 800;
  letter-spacing: -0.025em; margin: 16px 0 24px; max-width: 760px;
}
.page-hero .lede {
  font-size: 18px; color: var(--ink-2); max-width: 580px; line-height: 1.75;
}

/* ── Team card ───────────────────────────────────────────────────────────── */
.team-card {
  border-top: 2px solid var(--rule);
  padding: 32px 0;
  transition: var(--transition);
}
.team-card:hover { border-top-color: var(--accent-light); }
.team-name { font-size: 21px; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
.team-role { font-size: 12px; color: var(--accent-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.team-bio  { font-size: 15.5px; color: var(--ink-2); line-height: 1.75; }

/* ── Filter chips ────────────────────────────────────────────────────────── */
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.chip {
  padding: 10px 24px; border-radius: 99px; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: 1.5px solid var(--rule);
  color: var(--ink-2); background: transparent;
  transition: var(--transition);
}
.chip:hover { border-color: var(--accent-light); color: var(--accent-light); }
.chip.active {
  background: var(--accent); color: var(--white); border-color: var(--accent);
}

/* ── Contact office card ─────────────────────────────────────────────────── */
.office-card {
  padding: 40px; background: var(--white);
  border: 1px solid var(--rule); border-radius: var(--radius);
  transition: var(--transition);
}
.office-card:hover { border-color: var(--accent-light); box-shadow: 0 16px 32px rgba(15, 23, 42, 0.04); }
.office-city {
  font-size: 24px; font-weight: 800; margin-bottom: 18px; color: var(--ink);
}
.office-address {
  font-size: 15.5px; color: var(--ink-2); line-height: 1.8; margin-bottom: 24px;
}
.office-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  margin-bottom: 10px; transition: var(--transition);
}
.office-link:hover { color: var(--accent-light); }
.office-link-icon { font-size: 16px; color: var(--accent-light); }

/* ── Hours table ─────────────────────────────────────────────────────────── */
.hours-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.hours-row:last-child { border-bottom: none; }
.hours-day  { color: var(--ink-2); font-weight: 500; }
.hours-time { font-weight: 700; color: var(--ink); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark); padding: 80px 0 40px;
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px;
}
.footer-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 22px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--white); display: block; margin-bottom: 16px;
}
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 320px; }
.footer-col-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: rgba(255,255,255,0.35); margin-bottom: 20px;
}
.footer-nav { display: flex; flex-direction: column; gap: 14px; }
.footer-nav a {
  font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition);
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max); margin: 60px auto 0; padding: 24px var(--gutter) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ── Hero Carousel Styles ───────────────────────────────────────────────── */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
  z-index: 1;
}
.carousel-slide.active {
  opacity: 1;
  transform: scale(1.0);
  z-index: 2;
}
.carousel-dots {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.carousel-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ── Testimonials Grid ──────────────────────────────────────────────────── */
.testimonials-wrap { background: var(--bg-card); }
.testimonials-inner { max-width: var(--max); margin: 0 auto; padding: 100px var(--gutter); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15,23,42,0.04); }
.testimonial-stars { color: #f59e0b; font-size: 18px; margin-bottom: 16px; }
.testimonial-text { font-size: 16.5px; color: var(--ink-2); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.testimonial-name { font-weight: 700; font-family: 'Outfit', sans-serif; color: var(--ink); }
.testimonial-date { font-size: 12px; color: var(--ink-2); }

/* ── Affiliations Strip ─────────────────────────────────────────────────── */
.affiliations-section {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.affiliations-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.affiliation-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--ink-2);
  opacity: 0.65;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.affiliation-logo:hover { opacity: 1; color: var(--accent-light); }

/* ── Call To Action Banner ───────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--bg-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 80px 60px;
  text-align: center;
  box-shadow: 0 24px 48px var(--accent-glow);
  margin-top: 40px;
}
.cta-banner h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; margin-bottom: 18px; }
.cta-banner p { font-size: 18px; color: rgba(255, 255, 255, 0.8); max-width: 600px; margin: 0 auto 36px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .section { padding: 72px 0; }
  .header-inner { justify-content: space-between; gap: 20px; }
  
  /* Mobile menu button styling */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
  }
  .mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--ink);
    transition: var(--transition);
  }
  
  /* Animate menu toggle icon */
  .site-header.mobile-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .site-header.mobile-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header.mobile-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Fullscreen/dropdown nav drawer on mobile */
  .site-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    height: calc(100vh - 80px);
    background: var(--bg);
    flex-direction: column;
    padding: 40px var(--gutter);
    gap: 24px;
    z-index: 105;
    overflow-y: auto;
    border-top: 1px solid var(--rule);
    margin-left: 0;
  }
  .site-header.mobile-open .site-nav {
    display: flex;
  }
  .site-nav .nav-link {
    font-size: 20px;
    font-weight: 700;
  }
  .mobile-nav-cta {
    display: inline-flex;
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }

  .header-cta { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero { padding: 130px var(--gutter) 60px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 60px 24px; }
}
