/* ============================================
   HELIX CLINICAL CONSULTANCY — Global Styles
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #0B1D3A;
  --navy-mid: #132B52;
  --navy-light: #1A3A6B;
  --teal: #2EC4B6;
  --teal-light: #3EDDD0;
  --teal-dark: #1FA396;
  --ice: #E8F4F8;
  --ice-faint: #F4FAFB;
  --white: #FFFFFF;
  --slate: #64748B;
  --slate-light: #94A3B8;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- UTILITY ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,29,58,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(46,196,182,0.12);
}
nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo svg { height: 38px; width: auto; }
.nav-logo span {
  font-family: var(--serif); font-size: 1.15rem; color: var(--white); letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.88rem;
  font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-light); }
.nav-cta {
  background: var(--teal); color: var(--navy) !important;
  padding: 10px 22px; border-radius: 6px; font-weight: 600 !important;
  font-size: 0.82rem !important; letter-spacing: 0.05em !important;
  transition: background 0.25s, transform 0.25s;
}
.nav-cta:hover { background: var(--teal-light); transform: translateY(-1px); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; }

/* ---- PAGE HERO (reusable inner-page banner) ---- */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 80% 20%, rgba(46,196,182,0.10) 0%, transparent 70%),
              radial-gradient(ellipse 50% 60% at 10% 80%, rgba(46,196,182,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(46,196,182,0.04) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(46,196,182,0.04) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(46,196,182,0.12); border: 1px solid rgba(46,196,182,0.25);
  border-radius: 100px; padding: 6px 16px; font-size: 0.78rem; font-weight: 600;
  color: var(--teal-light); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px;
  animation: fadeInUp 0.8s ease both;
}
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1; color: var(--white); margin-bottom: 18px;
  animation: fadeInUp 0.8s 0.1s ease both;
}
.page-hero h1 em { font-style: normal; color: var(--teal); }
.page-hero p {
  font-size: 1.1rem; line-height: 1.7; color: var(--slate-light); max-width: 600px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--navy); font-weight: 700; font-size: 0.92rem;
  padding: 16px 32px; border-radius: 8px; text-decoration: none; letter-spacing: 0.02em;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(46,196,182,0.25); border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--teal-light); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(46,196,182,0.35);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white); font-weight: 600; font-size: 0.92rem;
  padding: 16px 32px; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px;
  text-decoration: none; letter-spacing: 0.02em; transition: border-color 0.25s, background 0.25s;
}
.btn-secondary:hover { border-color: var(--teal); background: rgba(46,196,182,0.06); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--teal-dark); font-weight: 600; font-size: 0.92rem;
  padding: 14px 28px; border: 2px solid var(--teal); border-radius: 8px;
  text-decoration: none; transition: background 0.25s, color 0.25s;
}
.btn-outline:hover { background: var(--teal); color: var(--navy); }

/* ---- SECTION GENERAL ---- */
.section { padding: 100px 0; }
.section-light { background: var(--ice-faint); }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15; margin-bottom: 18px; color: var(--navy);
}
.section-subtitle {
  font-size: 1.05rem; color: var(--slate); line-height: 1.7; max-width: 600px;
}

/* ---- CARDS ---- */
.card {
  background: var(--white); border: 1px solid rgba(11,29,58,0.06);
  border-radius: 14px; padding: 36px 28px;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light)); opacity: 0; transition: opacity 0.35s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(11,29,58,0.08); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(46,196,182,0.12), rgba(46,196,182,0.04));
  border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--teal-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 12px; color: var(--navy); }
.card p { font-size: 0.92rem; line-height: 1.65; color: var(--slate); }

/* ---- FOOTER ---- */
footer {
  background: var(--navy); padding: 60px 0 32px;
  color: rgba(255,255,255,0.5); font-size: 0.85rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p { margin-top: 16px; line-height: 1.65; max-width: 280px; }
footer h5 {
  color: var(--white); font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.25s; }
footer ul a:hover { color: var(--teal-light); }
.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.8rem;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-legal a:hover { color: var(--teal-light); }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--navy);
    padding: 24px; gap: 20px; border-bottom: 1px solid rgba(46,196,182,0.12);
  }
  .footer-grid { grid-template-columns: 1fr; }
}
