:root {
  --primary-dark: #193250;
  --accent-deep: #0f1a2e;
  --footer-dark: #060e1a;
  --gold: #c8a951;
  --gold-dark: #987b2e;
  --cream: #faf7f2;
  --white: #ffffff;
  --text: #1a1a2e;
  --body: #4a4a5a;
  --heading: "Plus Jakarta Sans", sans-serif;
  --copy: "DM Sans", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { background: var(--cream); color: var(--body); font-family: var(--copy); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.page-width { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding-block: 112px; }
.skip-link { position: fixed; z-index: 2000; top: -80px; left: 18px; padding: 12px 18px; background: var(--gold); color: var(--accent-deep); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* The navigation intentionally mirrors the ICIHS Team page. */
.navbar { position: fixed; inset: 0 0 auto; z-index: 1000; min-height: 96px; padding: 1.35rem max(1.5rem, calc((100vw - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; background: rgba(15, 26, 46, .97); box-shadow: 0 8px 30px rgba(0, 0, 0, .18); }
.nav-logo { display: flex; align-items: center; gap: .8rem; color: var(--white); }
.nav-logo img { width: 48px; height: 48px; object-fit: contain; }
.nav-logo span { display: flex; flex-direction: column; }
.nav-logo strong { font: 800 1.32rem/1.15 var(--heading); }
.nav-logo small { color: rgba(255, 255, 255, .65); letter-spacing: 1.3px; text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; gap: .2rem; list-style: none; }
.nav-menu > li > a { display: flex; align-items: center; gap: .4rem; padding: .8rem .9rem; color: var(--white); font: 500 1rem var(--heading); white-space: nowrap; }
.nav-menu > li > a:hover, .active-link, .dropdown-menu a[aria-current="page"] { color: var(--gold) !important; }
.has-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 250px; padding: .5rem 0; background: var(--accent-deep); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; box-shadow: 0 20px 45px rgba(0, 0, 0, .25); list-style: none; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, visibility .25s, transform .25s; }
.has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu, .has-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: .72rem 1.2rem; color: #c7c9d2; font-size: .92rem; }
.dropdown-menu a:hover { background: rgba(200, 169, 81, .08); color: var(--gold); }
.hamburger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; z-index: 1001; }
.hamburger i { display: block; width: 25px; height: 3px; margin: 5px auto; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.active i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active i:nth-child(2) { opacity: 0; }
.hamburger.active i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Opening section */
.field-hero { position: relative; min-height: min(900px, 100svh); padding: 185px 24px 116px; overflow: hidden; display: grid; place-items: center; text-align: center; color: var(--white); background: linear-gradient(rgba(9, 23, 42, .82), rgba(9, 23, 42, .9)), url("Boudhha.jpg") center/cover no-repeat; }
.hero-glow { position: absolute; width: min(650px, 80vw); aspect-ratio: 1; border: 1px solid rgba(200, 169, 81, .12); border-radius: 50%; box-shadow: 0 0 0 36px rgba(200, 169, 81, .035), 0 0 0 75px rgba(200, 169, 81, .025); pointer-events: none; }
.hero-content { position: relative; z-index: 1; width: min(980px, 100%); }
.eyebrow { color: var(--gold); font: 600 .76rem var(--heading); letter-spacing: 3.2px; text-transform: uppercase; }
.hero-kicker { margin-top: 29px; color: rgba(255, 255, 255, .72); font: 600 clamp(.95rem, 2vw, 1.18rem) var(--heading); letter-spacing: 1.2px; }
.field-hero h1 { margin: 17px auto 17px; max-width: 950px; font: 800 clamp(2.8rem, 6.6vw, 5.5rem)/1.08 var(--heading); letter-spacing: -2.5px; }
.field-hero h1 span, .section-heading h2 span, .registration-copy h2 span { color: var(--gold); }
.hero-subtitle { color: rgba(255, 255, 255, .75); font-size: clamp(1.05rem, 2vw, 1.38rem); }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 29px; margin-block: 29px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, .88); }
.hero-meta svg, .contact-line svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 58px; padding-inline: 32px; border: 1px solid transparent; border-radius: 999px; font: 700 1rem var(--heading); transition: transform .2s, background-color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--accent-deep); background: var(--gold); box-shadow: 0 9px 30px rgba(200, 169, 81, .19); }
.button-primary:hover { background: #dfc479; }
.hero-deadline { margin-top: 18px; color: rgba(255, 255, 255, .7); font-size: .93rem; }
.hero-deadline strong { color: var(--white); }
.scroll-cue { position: absolute; bottom: 30px; color: rgba(255, 255, 255, .58); font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; }
.scroll-cue span { display: block; margin-top: 4px; color: var(--gold); font-size: 1.18rem; }

/* At-a-glance facts */
.facts-section { background: var(--white); border-bottom: 1px solid rgba(25, 50, 80, .08); }
.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact-card { display: flex; flex-direction: column; gap: 5px; min-height: 156px; padding: 31px 20px 26px; border-right: 1px solid rgba(25, 50, 80, .09); }
.fact-card:last-child { border-right: 0; }
.fact-label { color: var(--gold-dark); font: 700 .73rem var(--heading); letter-spacing: 1.4px; text-transform: uppercase; }
.fact-card strong { color: var(--text); font: 700 1.17rem var(--heading); }
.fact-card > span:last-child { color: #777785; font-size: .87rem; }

/* Programme overview */
.overview-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: 85px; }
.section-heading h2, .registration-copy h2 { margin-top: 14px; color: var(--text); font: 800 clamp(2.15rem, 4.5vw, 3.7rem)/1.15 var(--heading); letter-spacing: -1px; }
.eyebrow-dark { color: var(--gold-dark); }
.gold-line { width: 74px; height: 3px; margin-top: 24px; background: var(--gold); }
.overview-copy { padding-top: 35px; }
.overview-copy p { margin-bottom: 18px; font-size: 1.08rem; line-height: 1.9; }
.theme-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.theme-tags span { padding: 8px 12px; color: var(--primary-dark); background: rgba(25, 50, 80, .055); border-radius: 999px; font-size: .84rem; }

/* Three core themes */
.themes-section { padding-top: 0; }
.themes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.theme-card { padding: 34px 29px; background: var(--white); border: 1px solid rgba(25, 50, 80, .08); border-radius: 16px; box-shadow: 0 18px 45px rgba(15, 26, 46, .055); }
.theme-card > span { color: var(--gold); font: 800 1.7rem var(--heading); }
.theme-card h3 { margin: 18px 0 10px; color: var(--text); font: 700 1.22rem var(--heading); }
.theme-card p { font-size: .95rem; line-height: 1.8; }

/* Destinations */
.journey-section { color: var(--white); background: radial-gradient(circle at 10% 15%, rgba(200, 169, 81, .11), transparent 35%), linear-gradient(130deg, var(--primary-dark), var(--accent-deep)); }
.section-heading-center { text-align: center; }
.section-heading-center .gold-line { margin-inline: auto; }
.light-heading h2 { color: var(--white); }
.section-intro { margin-top: 14px; color: rgba(255, 255, 255, .7); font-size: 1.07rem; }
.destination-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 55px; }
.destination-card { min-height: 410px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 15px; background: rgba(255, 255, 255, .045); transition: transform .2s, border-color .2s; }
.destination-card:hover { transform: translateY(-4px); border-color: rgba(200, 169, 81, .55); }
.destination-card > img { width: 100%; height: 175px; object-fit: cover; }
.destination-copy { padding: 23px 21px 27px; }
.destination-number { color: var(--gold); font: 700 1.55rem var(--heading); }
.destination-card h3 { margin-top: 15px; color: var(--white); font: 700 1.1rem var(--heading); }
.destination-card p { margin-top: 10px; color: rgba(255, 255, 255, .68); font-size: .9rem; line-height: 1.75; }
.journey-gallery { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; margin-top: 18px; }
.journey-gallery figure { position: relative; height: 300px; overflow: hidden; border-radius: 15px; }
.journey-gallery img { width: 100%; height: 100%; object-fit: cover; }
.journey-gallery figcaption { position: absolute; inset: auto 0 0; padding: 35px 20px 15px; color: var(--white); background: linear-gradient(transparent, rgba(6, 14, 26, .88)); font: 600 .9rem var(--heading); }

/* Participants */
.eligibility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.eligibility-card { padding: 30px 27px 33px; background: var(--white); border: 1px solid rgba(25, 50, 80, .08); border-radius: 16px; }
.eligibility-icon { display: grid; width: 50px; height: 50px; place-items: center; color: var(--gold-dark); background: rgba(200, 169, 81, .13); border-radius: 50%; font: 700 1rem var(--heading); }
.eligibility-card h3 { margin-top: 20px; color: var(--text); font: 700 1.15rem var(--heading); }
.eligibility-card p { margin-top: 11px; font-size: .96rem; line-height: 1.78; }
.participant-note { max-width: 900px; margin: 31px auto 0; padding: 20px 24px; color: var(--primary-dark); background: rgba(200, 169, 81, .11); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; }

/* Application and registration */
.registration-section { color: rgba(255, 255, 255, .78); background: var(--accent-deep); }
.registration-grid { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 85px; }
.registration-copy h2 { max-width: 510px; color: var(--white); }
.registration-copy > p:not(.eyebrow) { margin-top: 19px; max-width: 500px; font-size: 1.05rem; line-height: 1.9; }
.registration-copy .button { margin-top: 27px; }
.fee-panel { padding: 30px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 17px; background: rgba(255, 255, 255, .04); }
.fee-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.fee-row:first-child { padding-top: 0; }
.fee-row > div { display: flex; flex-direction: column; gap: 4px; }
.fee-row > div > span { font-size: .84rem; }
.fee-row strong { color: var(--white); font: 700 1.24rem var(--heading); }
.fee-badge { padding: 6px 11px; color: var(--gold); border: 1px solid rgba(200, 169, 81, .55); border-radius: 999px; font-size: .77rem; }
.fee-date { color: var(--gold); font-size: .88rem; text-align: right; }
.fee-note { padding-top: 20px; color: rgba(255, 255, 255, .73); font-size: .9rem; line-height: 1.8; }
.fee-note strong { color: var(--white); }
.subsidy-box { display: grid; grid-template-columns: .75fr 1.25fr; gap: 50px; margin-top: 45px; padding: 30px; color: rgba(255, 255, 255, .74); border: 1px solid rgba(200, 169, 81, .26); border-radius: 17px; background: rgba(200, 169, 81, .055); }
.subsidy-box h3 { margin-top: 8px; color: var(--white); font: 700 1.35rem var(--heading); }
.subsidy-box > p { line-height: 1.85; }
.subsidy-box strong { color: var(--gold); }

/* Poster */
.poster-frame { display: block; width: min(730px, 100%); margin: 48px auto 0; overflow: hidden; border: 1px solid rgba(25, 50, 80, .11); border-radius: 15px; background: var(--white); box-shadow: 0 25px 68px rgba(15, 26, 46, .14); }
.poster-frame img { width: 100%; height: auto; }
.poster-caption { margin-top: 16px; color: #767684; font-size: .9rem; text-align: center; }

/* Footer matches the existing Team page. */
footer { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding: 4rem max(2rem, calc((100vw - 1200px) / 2)) 1.5rem; color: rgba(255, 255, 255, .58); background: var(--footer-dark); }
footer > div > p { max-width: 420px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.footer-brand p { display: flex; flex-direction: column; margin: 0; }
.footer-brand strong { color: var(--gold); font: 700 1.2rem/1.2 var(--heading); }
.footer-brand small { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
footer h2 { margin-bottom: 1rem; color: var(--white); font: 700 .95rem var(--heading); }
footer a { display: block; margin: .45rem 0; }
footer a:hover { color: var(--gold); }
.contact-line { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.contact-line svg { margin-top: 4px; }
.copyright { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }

@media (max-width: 1120px) {
  .navbar { padding-inline: 20px; }
  .nav-menu > li > a { padding-inline: .55rem; font-size: .88rem; }
  .destination-grid { grid-template-columns: repeat(2, 1fr); }
  .destination-card { min-height: 410px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 78px; }
  .page-width { width: min(100% - 32px, 600px); }
  .section-pad { padding-block: 78px; }
  .navbar { min-height: 76px; padding: .9rem 1rem; }
  .nav-logo img { width: 40px; height: 40px; }
  .nav-logo strong { font-size: 1.18rem; }
  .nav-logo small { font-size: .66rem; }
  .hamburger { display: block; }
  .nav-menu { position: fixed; top: 0; right: -100%; width: min(85%, 340px); height: 100vh; padding: 5.2rem 1.4rem 2rem; flex-direction: column; align-items: stretch; background: var(--primary-dark); box-shadow: -10px 0 35px rgba(0, 0, 0, .45); overflow: auto; transition: right .3s; }
  .nav-menu.active { right: 0; }
  .nav-menu > li > a { width: 100%; padding: .82rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; }
  .has-dropdown .dropdown-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: rgba(0, 0, 0, .13); margin: .2rem 0; }
  .has-dropdown.open .dropdown-menu { display: block; }
  .field-hero { min-height: 810px; padding: 145px 19px 105px; }
  .field-hero h1 { letter-spacing: -1px; }
  .eyebrow { letter-spacing: 2.2px; font-size: .67rem; }
  .hero-meta { gap: 11px; flex-direction: column; align-items: center; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-card { min-height: 141px; padding-inline: 12px; }
  .fact-card:nth-child(even) { border-right: 0; }
  .fact-card:not(:last-child) { border-bottom: 1px solid rgba(25, 50, 80, .09); }
  .fact-card strong { font-size: 1rem; }
  .overview-grid, .registration-grid { grid-template-columns: 1fr; gap: 27px; }
  .overview-copy { padding-top: 0; }
  .themes-grid, .destination-grid { grid-template-columns: 1fr; margin-top: 35px; }
  .destination-card { min-height: 0; }
  .destination-card > img { height: 210px; }
  .journey-gallery { grid-template-columns: 1fr; }
  .journey-gallery figure { height: 240px; }
  .eligibility-grid { grid-template-columns: 1fr; margin-top: 35px; }
  .fee-panel { padding: 20px; }
  .fee-row strong { font-size: 1.06rem; }
  .subsidy-box { grid-template-columns: 1fr; gap: 15px; padding: 23px 20px; }
  footer { grid-template-columns: 1fr; padding: 3rem 1.5rem 1.5rem; }
  .copyright { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
