/* ==========================================================
   Medcule — Global Styles
   Brand: Navy #0B3A78 · Blue #1E88E5 · Green #12B76A
   ========================================================== */
:root {
  --navy: #0b3a78;
  --navy-900: #06244d;
  --navy-950: #041a38;
  --blue: #1e88e5;
  --sky: #0ea5e9;
  --green: #12b76a;
  --green-600: #0e9f5c;
  --lime: #8cc63f;
  --ink: #0f1f3a;
  --text: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-mint: #effaf4;
  --grad: linear-gradient(135deg, var(--sky) 0%, var(--navy) 55%, var(--navy-900) 100%);
  --grad-green: linear-gradient(135deg, var(--lime) 0%, var(--green) 100%);
  --grad-brand: linear-gradient(120deg, var(--navy) 0%, var(--blue) 50%, var(--green) 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(11, 58, 120, 0.06);
  --shadow: 0 12px 34px rgba(11, 58, 120, 0.1);
  --shadow-lg: 0 24px 60px rgba(11, 58, 120, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }
p { max-width: 68ch; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-mint { background: var(--bg-mint); }
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.green { color: var(--green); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-600);
  background: rgba(18, 183, 106, 0.1);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18,183,106,.18); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.text-center { margin-inline: auto; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.96rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(18,183,106,.3); }
.btn-primary:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(18,183,106,.38); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(11,58,120,.25); }
.btn-navy:hover { background: var(--navy-900); transform: translateY(-2px); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: #c7d6ee; font-size: 0.84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; }
.topbar-info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--green); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a:hover { color: #fff; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(11,58,120,.08); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .3s; }
.brand img { height: 46px; width: auto; mix-blend-mode: multiply; transition: height .3s; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink);
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--navy); background: var(--bg-soft); }
.nav-links a.active { color: var(--green-600); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px;
  transform: translateX(-50%); border-radius: 3px; background: var(--green);
}
.nav-cta { margin-left: 12px; padding: 12px 22px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px);
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(14,165,233,.14), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(18,183,106,.14), transparent 60%),
    #fbfdff;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: 1.15rem; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.avatars { display: flex; }
.avatars span {
  width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff; margin-left: -12px;
  display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
}
.avatars span:first-child { margin-left: 0; }
.hero-trust small { display: block; color: var(--muted); }
.hero-trust strong { color: var(--ink); font-family: var(--font-head); }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 540px; margin-left: auto; width: 100%; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(11,58,120,.16); animation: spin 60s linear infinite; }
.orbit.o2 { inset: 13%; border-color: rgba(18,183,106,.24); animation-direction: reverse; animation-duration: 45s; }
.orbit-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--green); top: -7px; left: calc(50% - 7px); box-shadow: 0 0 0 6px rgba(18,183,106,.18); }
.orbit.o2 .orbit-dot { background: var(--sky); box-shadow: 0 0 0 6px rgba(14,165,233,.18); top: auto; bottom: -7px; }
.hero-core {
  position: absolute; inset: 24%; border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: 0 40px 80px rgba(11,58,120,.35), inset 0 0 60px rgba(255,255,255,.12);
}
.hero-core svg { width: 55%; height: 55%; }
.float-card {
  position: absolute; background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(226,232,240,.7);
}
.float-card .fi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .fi svg { width: 22px; height: 22px; }
.float-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .98rem; line-height: 1.2; }
.float-card small { color: var(--muted); font-size: .8rem; }
.fc-1 { top: 6%; left: -4%; }
.fc-2 { top: 44%; right: -8%; animation-delay: -2s; }
.fc-3 { bottom: 4%; left: 6%; animation-delay: -4s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--grad);
  padding: clamp(80px, 10vw, 130px) 0 clamp(90px, 10vw, 140px);
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(10px);
}
.page-hero::before { width: 520px; height: 520px; right: -140px; top: -200px; background: radial-gradient(circle, rgba(18,183,106,.45), transparent 65%); }
.page-hero::after { width: 420px; height: 420px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(14,165,233,.5), transparent 65%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero p { color: #d6e4f7; font-size: 1.15rem; margin-top: 18px; }
.page-hero .eyebrow { background: rgba(255,255,255,.12); color: #b6f0d2; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: #a9c2e6; margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.hero-pattern {
  position: absolute; inset: 0; z-index: 1; opacity: .12;
  background-image: radial-gradient(#fff 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; z-index: 3; }

/* ---------- Stats strip ---------- */
.stats { margin-top: -70px; position: relative; z-index: 5; }
.stats-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 38px 20px; border: 1px solid var(--line);
}
.stat { text-align: center; padding: 6px 18px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: var(--line); }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--navy); line-height: 1; }
.stat .num em { font-style: normal; color: var(--green); }
.stat p { margin: 10px auto 0; font-size: .93rem; color: var(--muted); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.icon-box {
  width: 62px; height: 62px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(18,183,106,.14));
  color: var(--navy);
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.icon-box svg { width: 30px; height: 30px; }
.card:hover .icon-box { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .97rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--green-600);
}
.card-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .card-link svg { transform: translateX(5px); }
.card-num {
  position: absolute; top: 20px; right: 26px;
  font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(11,58,120,.1);
  transition: -webkit-text-stroke-color .3s;
}
.card:hover .card-num { -webkit-text-stroke-color: rgba(18,183,106,.35); }
.card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--grad-brand);
  transition: width .5s var(--ease);
}
.card:hover::after { width: 100%; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-visual { position: relative; }
.visual-panel {
  border-radius: var(--radius-lg); background: var(--grad); aspect-ratio: 5/4; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.visual-panel .vp-pattern { position: absolute; inset: 0; opacity: .15; background-image: radial-gradient(#fff 1.4px, transparent 1.4px); background-size: 22px 22px; }
.visual-panel .vp-icon { position: absolute; inset: 0; display: grid; place-items: center; }
.visual-panel .vp-icon svg { width: 46%; height: 46%; opacity: .95; }
.badge-card {
  position: absolute; background: #fff; border-radius: 18px; padding: 20px 24px; box-shadow: var(--shadow-lg);
  bottom: -30px; right: -20px; display: flex; gap: 14px; align-items: center;
}
.badge-card .big { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--green); line-height: 1; }
.badge-card small { color: var(--muted); font-size: .85rem; line-height: 1.3; display: block; max-width: 130px; }

.check-list { display: grid; gap: 14px; margin: 26px 0 34px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: ""; flex-shrink: 0; margin-top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 16px);
  opacity: .5;
}
.step { text-align: center; position: relative; }
.step-circle {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 22px;
  background: #fff; border: 2px solid var(--line);
  display: grid; place-items: center; position: relative; z-index: 2;
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--navy);
  transition: all .4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.step:hover .step-circle { background: var(--green); color: #fff; border-color: var(--green); transform: scale(1.08); box-shadow: 0 0 0 10px rgba(18,183,106,.14); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .93rem; margin-inline: auto; max-width: 250px; }

/* ---------- Timeline (journey) ---------- */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%);
  background: var(--line); border-radius: 3px;
}
.timeline-progress {
  position: absolute; left: 50%; top: 0; width: 3px; transform: translateX(-50%); height: 0;
  background: var(--grad-brand); border-radius: 3px; transition: height .15s linear; z-index: 1;
}
.tl-item { position: relative; width: 50%; padding: 0 56px 64px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 64px 56px; }
.tl-dot {
  position: absolute; top: 22px; right: -13px; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 4px solid var(--line); z-index: 2; transition: all .5s var(--ease);
}
.tl-item:nth-child(even) .tl-dot { right: auto; left: -13px; }
.tl-item.in .tl-dot { border-color: var(--green); box-shadow: 0 0 0 8px rgba(18,183,106,.15); }
.tl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s;
  position: relative;
}
.tl-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tl-year {
  display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .08em;
  color: #fff; background: var(--navy); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.tl-item:nth-child(even) .tl-year { background: var(--green); }
.tl-card h3 { margin-bottom: 8px; }
.tl-card p { font-size: .96rem; }

/* ---------- Values / MVV ---------- */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mvv-card { border-radius: var(--radius-lg); padding: 40px 34px; color: #fff; position: relative; overflow: hidden; transition: transform .45s var(--ease); }
.mvv-card:hover { transform: translateY(-8px); }
.mvv-card:nth-child(1) { background: var(--grad); }
.mvv-card:nth-child(2) { background: linear-gradient(135deg, #0f9a5a, #0b3a78); }
.mvv-card:nth-child(3) { background: linear-gradient(135deg, #1e88e5, #12b76a); }
.mvv-card h3 { color: #fff; font-size: 1.5rem; margin: 18px 0 12px; }
.mvv-card p { color: rgba(255,255,255,.88); }
.mvv-card .icon-box { background: rgba(255,255,255,.16); color: #fff; margin: 0; }
.mvv-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255,255,255,.07); right: -70px; bottom: -70px; }

/* ---------- Team ---------- */
.team-card { text-align: center; padding: 0; }
.team-photo { aspect-ratio: 1/1; display: grid; place-items: center; position: relative; overflow: hidden; }
.team-photo .initials { font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: #fff; opacity: .95; }
.team-body { padding: 22px 20px 26px; }
.team-body h3 { font-size: 1.1rem; }
.team-body small { color: var(--green-600); font-weight: 600; font-size: .88rem; }
.team-social {
  position: absolute; bottom: 16px; left: 50%; transform: translate(-50%, 20px); opacity: 0;
  display: flex; gap: 8px; transition: all .4s var(--ease);
}
.team-card:hover .team-social { transform: translate(-50%, 0); opacity: 1; }
.team-social a { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--navy); }
.team-social svg { width: 16px; height: 16px; }

/* ---------- Tabs (services) ---------- */
.tabs-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 34px; align-items: start; }
.tabs-wrap > * { min-width: 0; }
.tab-list { display: grid; gap: 10px; position: sticky; top: 110px; }
.tab-btn {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .98rem;
  transition: all .35s var(--ease);
}
.tab-btn .tb-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); color: var(--navy); flex-shrink: 0; transition: all .35s; }
.tab-btn .tb-ic svg { width: 22px; height: 22px; }
.tab-btn:hover { border-color: var(--green); transform: translateX(4px); }
.tab-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: var(--shadow); }
.tab-btn.active .tb-ic { background: var(--green); color: #fff; }
.tab-panel { display: none; animation: fadeUp .6s var(--ease); }
.tab-panel.active { display: block; }
.panel-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.panel-head { background: var(--grad); color: #fff; padding: 40px 44px; position: relative; overflow: hidden; }
.panel-head h3 { color: #fff; font-size: 1.9rem; margin: 6px 0 12px; }
.panel-head p { color: #d6e4f7; }
.panel-head .ph-ic { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); opacity: .12; }
.panel-head .ph-ic svg { width: 160px; height: 160px; }
.panel-head .tag { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #9ff0c6; font-family: var(--font-head); }
.panel-body { padding: 40px 44px; }
.panel-body h4 { font-size: 1.05rem; margin-bottom: 16px; color: var(--navy); }
.sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 34px; }
.sub-item { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--bg-soft); transition: background .3s, transform .3s; }
.sub-item:hover { background: var(--bg-mint); transform: translateY(-2px); }
.sub-item .si-n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: #fff; color: var(--green-600); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); font-size: .82rem; box-shadow: var(--shadow-sm); }
.sub-item strong { display: block; color: var(--ink); font-size: .96rem; font-family: var(--font-head); }
.sub-item span { font-size: .87rem; color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 500; color: var(--ink); }

/* ---------- Industries / ticker ---------- */
.ticker { overflow: hidden; padding: 30px 0; border-block: 1px solid var(--line); background: #fff; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; gap: 60px; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: #94a3b8; white-space: nowrap; }
.ticker-track span::before { content: "✦"; color: var(--green); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Program cards (internship) ---------- */
.program {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s;
}
.program:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program-top { padding: 30px 30px 26px; background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.program:nth-child(even) .program-top { background: linear-gradient(135deg, #0e9f5c, #0b3a78); }
.program-top::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.08); }
.program-top .icon-box { background: rgba(255,255,255,.15); color: #fff; margin-bottom: 18px; }
.program-top h3 { color: #fff; font-size: 1.3rem; }
.program-top small { color: #bfe9d4; font-weight: 600; letter-spacing: .04em; }
.program-body { padding: 26px 30px 30px; flex: 1; display: flex; flex-direction: column; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--navy); }
.meta svg { width: 14px; height: 14px; }
.program-body ul { display: grid; gap: 9px; margin-bottom: 24px; }
.program-body li { font-size: .93rem; padding-left: 22px; position: relative; }
.program-body li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.program-body .btn { margin-top: auto; width: 100%; }

/* Duration toggle */
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; gap: 4px; box-shadow: var(--shadow-sm); }
.toggle button { border: 0; background: transparent; padding: 11px 22px; border-radius: 999px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--muted); transition: all .3s var(--ease); }
.toggle button.active { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(11,58,120,.25); }

/* Perks */
.perk { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: all .4s var(--ease); }
.perk:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-4px); }
.perk .icon-box { margin: 0; flex-shrink: 0; width: 54px; height: 54px; }
.perk h3 { font-size: 1.05rem; margin-bottom: 6px; }
.perk p { font-size: .92rem; }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; max-width: 860px; margin: 0 auto; }
.testi-track { overflow: hidden; }
.testi-slides { display: flex; transition: transform .7s var(--ease); }
.testi { min-width: 100%; padding: 10px; }
.testi-card { background: #fff; border-radius: var(--radius-lg); padding: 50px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.testi-card .quote { width: 54px; height: 54px; color: var(--green); margin: 0 auto 18px; opacity: .9; }
.testi-card p { font-size: 1.18rem; color: var(--ink); margin: 0 auto 26px; font-weight: 500; line-height: 1.7; }
.testi-person { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.testi-person .av { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); }
.testi-person strong { display: block; font-family: var(--font-head); color: var(--ink); }
.testi-person small { color: var(--muted); }
.stars { color: #f5b300; letter-spacing: 3px; margin-bottom: 18px; font-size: 1.1rem; }
.testi-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; }
.testi-nav button.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--navy); transition: all .3s; }
.testi-nav button.arrow:hover { background: var(--navy); color: #fff; }
.testi-nav svg { width: 20px; height: 20px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: #cbd5e1; cursor: pointer; transition: all .35s var(--ease); }
.dots button.active { width: 30px; background: var(--green); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: var(--green); box-shadow: var(--shadow); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--ink); }
.faq-q .pm { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); position: relative; transition: all .35s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .35s var(--ease), background .3s; }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .pm { background: var(--green); }
.faq-item.open .pm::before, .faq-item.open .pm::after { background: #fff; }
.faq-item.open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 26px 24px; }

/* ---------- CTA ---------- */
.cta {
  border-radius: var(--radius-lg); background: var(--grad); color: #fff; padding: clamp(44px, 6vw, 72px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden;
}
.cta::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(18,183,106,.55), transparent 65%); right: -100px; top: -150px; }
.cta h2 { color: #fff; position: relative; }
.cta p { color: #d6e4f7; margin-top: 12px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; position: relative; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; }
.info-stack { display: grid; gap: 16px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: all .35s var(--ease); }
.info-card:hover { border-color: var(--green); transform: translateX(6px); box-shadow: var(--shadow); }
.info-card .icon-box { margin: 0; width: 52px; height: 52px; flex-shrink: 0; }
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: .95rem; }
.info-card a:hover { color: var(--green-600); }
.hours { background: var(--navy); color: #d6e4f7; border-radius: var(--radius); padding: 28px; }
.hours h3 { color: #fff; margin-bottom: 14px; font-size: 1.05rem; }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.15); font-size: .94rem; }
.hours li:last-child { border: 0; }
.hours li strong { color: #fff; font-weight: 600; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.8rem; margin-bottom: 8px; }
.form-card > p { margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); font-family: var(--font-head); }
.field label span { color: #e11d48; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  transition: border-color .25s, background .25s, box-shadow .25s; outline: none; font-size: .96rem;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(18,183,106,.12); }
.field.error input, .field.error select, .field.error textarea { border-color: #e11d48; background: #fff5f7; }
.field .err { font-size: .8rem; color: #e11d48; display: none; }
.field.error .err { display: block; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { cursor: pointer; position: relative; }
.radio-row input { position: absolute; opacity: 0; pointer-events: none; width: 1px !important; height: 1px; padding: 0; }
.radio-row span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--muted); transition: all .25s; font-family: var(--font-body); }
.radio-row input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.consent input { margin-top: 4px; accent-color: var(--green); width: 16px; height: 16px; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; animation: fadeUp .6s var(--ease); }
.form-success .ok { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 0 0 12px rgba(18,183,106,.15); }
.form-success .ok svg { width: 40px; height: 40px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #9fb3d1; padding-top: 80px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(18,183,106,.18), transparent 65%); right: -150px; top: -200px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 50px; position: relative; }
.footer-logo { background: #fff; display: inline-block; padding: 12px 18px; border-radius: 14px; margin-bottom: 22px; }
.footer-logo img { height: 40px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--green); }
.footer ul { display: grid; gap: 12px; }
.footer ul a { transition: color .25s, padding .25s; font-size: .95rem; }
.footer ul a:hover { color: #fff; padding-left: 6px; }
.footer .f-contact li { display: flex; gap: 10px; font-size: .94rem; }
.footer .f-contact svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; transition: all .3s; }
.socials a:hover { background: var(--green); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.newsletter { display: flex; margin-top: 18px; background: rgba(255,255,255,.07); border-radius: 999px; padding: 5px; }
.newsletter input { flex: 1; background: none; border: 0; outline: none; color: #fff; padding: 0 16px; min-width: 0; font-size: .92rem; }
.newsletter input::placeholder { color: #7f93b3; }
.newsletter button { padding: 11px 18px; font-size: .88rem; }
.footer-bottom { margin-top: 60px; border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; position: relative; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .links { display: flex; gap: 22px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%;
  background: var(--green); color: #fff; border: 0; cursor: pointer; z-index: 90; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(18,183,106,.4); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.left { transform: translateX(-40px); }
.reveal.right { transform: translateX(40px); }
.reveal.zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; } .d5 { transition-delay: .5s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tabs-wrap { grid-template-columns: 1fr; }
  .tab-list { position: static; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .topbar-info span.hide-sm { display: none; }
  .burger { display: block; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(340px, 86vw);
    flex-direction: column; align-items: stretch; gap: 4px; background: #fff; padding: 100px 24px 30px;
    box-shadow: -20px 0 50px rgba(11,58,120,.15); transform: translateX(105%); transition: transform .5s var(--ease); z-index: 99;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 18px; font-size: 1.05rem; }
  .nav-links a.active::after { left: 6px; top: 50%; bottom: auto; width: 4px; height: 18px; transform: translateY(-50%); }
  .nav-cta { margin: 16px 0 0; }
  .burger { z-index: 100; }
  .hero-grid, .split, .contact-grid, .cta { grid-template-columns: 1fr; }
  .hero-visual { margin: 20px auto 0; max-width: 440px; }
  .cta-actions { justify-content: flex-start; }
  .g-3, .mvv { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
  .stats-card { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3)::before { display: none; }
  .timeline::before, .timeline-progress { left: 18px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 44px 56px; }
  .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 5px; right: auto; }
  .badge-card { right: 10px; }
}
@media (max-width: 640px) {
  .topbar { display: none; }
  .g-2, .g-3, .g-4, .mvv, .sub-grid, .form-grid { grid-template-columns: 1fr; }
  .tab-list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-btn { flex: 0 0 auto; width: auto; padding: 10px 14px; font-size: .88rem; scroll-snap-align: start; }
  .tab-btn:hover { transform: none; }
  .tab-btn .tb-ic { width: 34px; height: 34px; }
  .panel-head, .panel-body { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .testi-card { padding: 34px 22px; }
  .testi-card p { font-size: 1.02rem; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
  .float-card { padding: 10px 12px; }
  .float-card .fi { width: 34px; height: 34px; }
  .brand img { height: 38px; }
  .toggle button { padding: 10px 14px; font-size: .84rem; }
}

/* consent line: normal text colour (the red is only for required-field asterisks) */
.field .consent span { color: var(--text); font-weight: 400; }
.field .consent a { color: var(--navy); font-weight: 600; text-decoration: underline; }
