/* ==========================================================================
   EduXpedition — Design System
   Signature idea: the passport stamp. Every destination, every program,
   every proof point gets marked like an entry stamp in a travel journal —
   a small nod to the brand name and the physical act of going somewhere
   to learn something.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  /* --- Brand palette (derived from the real EduXpedition mark) --- */
  --sun:        #F8C301;
  --sun-deep:   #E0A800;
  --magenta:    #DD127B;
  --magenta-deep:#B80E63;
  --navy:       #142033;
  --navy-soft:  #1F314B;
  --ink:        #1A1A1E;
  --paper:      #FFFCF5;
  --paper-dim:  #FBF4E3;
  --line:       #E7DFC8;
  --muted:      #6B6B76;
  --white:      #FFFFFF;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(20,32,51,0.06);
  --shadow-md: 0 10px 30px rgba(20,32,51,0.10);
  --shadow-lg: 0 24px 60px rgba(20,32,51,0.16);

  --container: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.12; font-weight: 600; }
p{ margin: 0 0 1em; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }

:focus-visible{
  outline: 3px solid var(--magenta);
  outline-offset: 2px;
}

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta-deep);
  margin-bottom: 14px;
}
.eyebrow::before{
  content: ''; width: 22px; height: 2px; background: var(--sun-deep); display: inline-block;
}

/* ---------- Passport stamp (signature element) ---------- */
.stamp{
  --stamp-rot: -8deg;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 118px; height: 118px;
  border-radius: 50%;
  border: 2.5px dashed rgba(20,32,51,0.55);
  transform: rotate(var(--stamp-rot));
  background: rgba(255,252,245,0.9);
  padding: 8px;
  flex-shrink: 0;
}
.stamp .stamp-eyebrow{
  font-size: 0.55rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--magenta-deep);
}
.stamp .stamp-main{
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.05; color: var(--navy);
}
.stamp .stamp-sub{
  font-size: 0.62rem; color: var(--muted); font-weight: 600; margin-top: 2px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,252,245,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.brand img{ height: 40px; width: auto; }

.main-nav{ display: none; flex-shrink: 0; }
.main-nav ul{ display: flex; align-items: center; gap: 20px; }
.main-nav a{
  font-weight: 600; font-size: 0.94rem; color: var(--navy);
  position: relative; padding: 6px 0; white-space: nowrap;
}
.main-nav a::after{
  content:''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--magenta); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{ transform: scaleX(1); }
.main-nav a.active{ color: var(--magenta-deep); }

.header-actions{ display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone{ display: none; font-size: 0.85rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.header-phone strong, .header-phone .cp-contact{ color: var(--navy); display:block; font-size: 0.85rem; white-space: nowrap; }

.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.92rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--magenta); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--magenta-deep); box-shadow: var(--shadow-md); }
.btn-sun{ background: var(--sun); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-sun:hover{ background: var(--sun-deep); box-shadow: var(--shadow-md); }
.btn-outline{ background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover{ background: var(--navy); color: var(--white); }
.btn-outline-light{ background: transparent; border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline-light:hover{ background: var(--white); color: var(--navy); }
.btn-block{ width: 100%; }

.nav-toggle{
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line); background: var(--white);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; display:block; width: 20px; height: 2px; background: var(--navy); position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position: absolute; top: -6px; }
.nav-toggle span::after{ position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after{ transform: translateY(-6px) rotate(-45deg); }

.mobile-nav{
  display: none;
  position: fixed; inset: 78px 0 0 0; background: var(--paper); z-index: 480;
  overflow-y: auto; padding: 20px 24px 40px;
}
.mobile-nav.open{ display: block; }
.mobile-nav ul{ display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a{
  display: block; padding: 14px 6px; font-weight: 700; font-size: 1.05rem;
  border-bottom: 1px solid var(--line); color: var(--navy);
}
.mobile-nav .btn{ margin-top: 20px; }

@media (min-width: 960px){
  .main-nav{ display: block; }
  .nav-toggle{ display: none; }
}
@media (min-width: 1240px){
  .header-phone{ display: block; }
}

/* ==========================================================================
   Page header banner (inner pages)
   ========================================================================== */
.page-hero{
  position: relative;
  padding: 84px 0 64px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before{
  content:''; position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  opacity: 0.28;
}
.page-hero::after{
  content:''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,32,51,0.55), rgba(20,32,51,0.94));
}
.page-hero h1{ color: var(--white); font-size: clamp(2rem, 4vw, 3rem); max-width: 720px; }
.page-hero p.lead{ max-width: 620px; color: rgba(255,255,255,0.82); font-size: 1.08rem; }
.breadcrumb{ font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 18px; font-weight: 600; }
.breadcrumb a:hover{ color: var(--sun); }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero{
  position: relative;
  padding: 60px 0 90px;
  overflow: hidden;
}
.hero::before{
  content:''; position: absolute; top: -120px; right: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(248,195,1,0.35), transparent 70%);
  z-index: 0;
}
.hero .container{ position: relative; z-index: 1; }
.hero-grid{
  display: grid; gap: 48px; align-items: center;
}
.hero h1{
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--navy);
}
.hero h1 em{ font-style: normal; color: var(--magenta); }
.hero .lead{ font-size: 1.12rem; color: var(--muted); max-width: 520px; }
.hero-ctas{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-visual{ position: relative; }
.hero-photo-stack{ position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo-stack img{ width: 100%; height: 340px; object-fit: cover; }
.hero-stamp-float{
  position: absolute; bottom: -22px; left: -22px;
  background: var(--paper); box-shadow: var(--shadow-md);
}
.hero-stamp-float.two{ --stamp-rot: 6deg; bottom: auto; top: -18px; right: -18px; left: auto; }

.trust-strip{
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line);
  display: grid; gap: 20px;
}
.trust-strip .trust-item{ display: flex; align-items: baseline; gap: 10px; }
.trust-strip .trust-item strong{ font-family: var(--font-display); font-size: 1.6rem; color: var(--magenta-deep); }
.trust-strip .trust-item span{ font-size: 0.86rem; color: var(--muted); font-weight: 600; }

@media (min-width: 860px){
  .hero-grid{ grid-template-columns: 1.05fr 0.95fr; }
  .trust-strip{ grid-template-columns: repeat(4,1fr); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section{ padding: 76px 0; }
.section-tight{ padding: 48px 0; }
.section-navy{ background: var(--navy); color: rgba(255,255,255,0.9); }
.section-navy h2{ color: var(--white); }
.section-dim{ background: var(--paper-dim); }
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--navy); }
.section-navy .section-head h2{ color: var(--white); }
.section-head p{ color: var(--muted); font-size: 1.05rem; }
.section-navy .section-head p{ color: rgba(255,255,255,0.72); }

/* three-up program cards */
.grid{ display: grid; gap: 26px; }
.grid-3{ grid-template-columns: 1fr; }
.grid-4{ grid-template-columns: 1fr; }
.grid-2{ grid-template-columns: 1fr; }
@media (min-width: 700px){ .grid-2{ grid-template-columns: 1fr 1fr; } .grid-4{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px){ .grid-3{ grid-template-columns: repeat(3,1fr); } .grid-4{ grid-template-columns: repeat(4,1fr); } }

.card{
  background: var(--white); border-radius: var(--radius-md); padding: 30px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .card-icon{
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--paper-dim); margin-bottom: 18px;
}
.card .card-icon img{ width: 28px; height: 28px; object-fit: contain; }
.card h3{ font-size: 1.16rem; color: var(--navy); }
.card p{ color: var(--muted); font-size: 0.96rem; margin-bottom: 0; }
.card .tag{
  display:inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--magenta-deep); background: rgba(221,18,123,0.09); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}

/* program destination card w/ photo + stamp */
.dest-card{
  position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  background: var(--navy); color: var(--white); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
}
.dest-card::after{ content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,32,51,0) 30%, rgba(20,32,51,0.92) 100%); }
.dest-card img.bg{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dest-card .dest-body{ position: relative; z-index: 1; padding: 22px; }
.dest-card h3{ color: var(--white); font-size: 1.2rem; margin-bottom: 4px; }
.dest-card .dest-meta{ font-size: 0.82rem; color: rgba(255,255,255,0.78); font-weight: 600; }
.dest-card .stamp{ position: absolute; top: 16px; right: 16px; z-index: 2; width: 84px; height: 84px; }
.dest-card .stamp .stamp-main{ font-size: 0.78rem; }

/* split content row */
.split{ display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px){ .split{ grid-template-columns: 1fr 1fr; } .split.reverse .split-media{ order: 2; } }
.split-media img{ border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split ul.checklist li{
  display: flex; gap: 12px; margin-bottom: 14px; font-size: 1rem; color: var(--ink);
}
.split ul.checklist li::before{
  content:''; flex-shrink:0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--sun); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142033' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 13px;
}

/* quote block */
.quote-block{
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 500;
  color: var(--navy); max-width: 780px; line-height: 1.4; position: relative; padding-left: 28px; border-left: 4px solid var(--sun);
}
.quote-block cite{ display:block; margin-top: 16px; font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: 0.9rem; color: var(--magenta-deep); }

/* numbered / step list (used only where sequence is real: How it Works) */
.steps{ counter-reset: step; display: grid; gap: 22px; }
@media (min-width: 860px){ .steps{ grid-template-columns: repeat(4,1fr); } }
.step{ position: relative; padding-top: 18px; }
.step::before{
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--sun-deep);
  display: block; margin-bottom: 8px;
}
.step h3{ font-size: 1.05rem; color: var(--navy); }
.step p{ color: var(--muted); font-size: 0.94rem; }

/* audience tabs (parents/students/teachers reasons) */
.pill-list{ display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.pill{
  font-size: 0.85rem; font-weight: 700; padding: 8px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--navy);
}

/* comparison table (why experiential learning) */
.compare-table{ width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th, .compare-table td{ padding: 16px 20px; text-align: left; font-size: 0.94rem; border-bottom: 1px solid var(--line); }
.compare-table th{ font-family: var(--font-display); font-size: 1.02rem; background: var(--paper-dim); color: var(--navy); }
.compare-table td:first-child{ color: var(--muted); }
.compare-table td:last-child{ color: var(--ink); font-weight: 600; }
.compare-table tr:last-child td{ border-bottom: none; }

/* accordion (FAQ-style safety points, etc.) */
.accordion-item{ border-bottom: 1px solid var(--line); }
.accordion-item summary{
  cursor: pointer; list-style: none; padding: 20px 4px; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.02rem;
}
.accordion-item summary::-webkit-details-marker{ display:none; }
.accordion-item summary::after{ content:'+'; font-size: 1.4rem; color: var(--magenta); transition: transform .2s ease; }
.accordion-item[open] summary::after{ transform: rotate(45deg); }
.accordion-item .accordion-body{ padding: 0 4px 20px; color: var(--muted); }

/* percentage stat bars (why experiential learning WHO study) */
.stat-row{ display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.stat-row .stat-label{ width: 96px; flex-shrink: 0; font-weight: 700; font-size: 0.9rem; }
.stat-row .stat-bar{ flex: 1; height: 14px; background: var(--paper-dim); border-radius: 999px; overflow: hidden; }
.stat-row .stat-bar > span{ display:block; height: 100%; background: linear-gradient(90deg, var(--sun), var(--magenta)); border-radius: 999px; }
.stat-row .stat-value{ width: 46px; text-align: right; font-weight: 800; color: var(--magenta-deep); }

/* ==========================================================================
   Enquiry form
   ========================================================================== */
.enquiry-section{ position: relative; }
.enquiry-panel{
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 34px; border: 1px solid var(--line);
}
.form-row{ display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 620px){ .form-row.two{ grid-template-columns: 1fr 1fr; } }
.field label{ display:block; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea{
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size: 0.96rem; background: var(--paper); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--magenta); outline: none; }
.field-radio-group{ display: flex; gap: 10px; flex-wrap: wrap; }
.field-radio{
  position: relative;
}
.field-radio input{ position: absolute; opacity: 0; inset:0; width:100%; height:100%; cursor:pointer; margin:0; }
.field-radio span{
  display: inline-flex; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 700; font-size: 0.86rem; color: var(--navy); background: var(--paper);
}
.field-radio input:checked + span{ background: var(--magenta); border-color: var(--magenta); color: var(--white); }
.field-radio input:focus-visible + span{ outline: 3px solid var(--magenta); outline-offset: 2px; }

.form-note{ font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.form-status{ margin-top: 14px; font-size: 0.9rem; font-weight: 700; display: none; padding: 12px 14px; border-radius: 10px; }
.form-status.show{ display: block; }
.form-status.ok{ background: rgba(15,157,88,0.1); color: #0F7A44; }
.form-status.err{ background: rgba(221,18,123,0.08); color: var(--magenta-deep); }

/* honeypot: visually hidden but still in the accessibility tree removed via aria-hidden,
   and positioned so it's never visible or reachable — real users never see or fill this */
.hp-field{
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; left: -9999px;
}

.cf-turnstile{ margin: 4px 0 18px; }

/* floating enquire tab */
.float-enquire{
  position: fixed; right: 0; top: 46%; transform: translateY(-50%) rotate(0);
  z-index: 400; background: var(--magenta); color: var(--white); font-weight: 800;
  font-size: 0.85rem; padding: 14px 16px; border-radius: 12px 0 0 12px; box-shadow: var(--shadow-md);
  writing-mode: vertical-rl; letter-spacing: .04em;
  display: none;
}
.float-enquire:hover{ background: var(--magenta-deep); }
@media (min-width: 760px){ .float-enquire{ display: inline-flex; align-items:center; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--navy); color: rgba(255,255,255,0.75); padding: 64px 0 28px; }
.footer-grid{ display: grid; gap: 40px; margin-bottom: 40px; }
@media (min-width: 760px){ .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img{ height: 38px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p{ font-size: 0.9rem; max-width: 280px; }
.footer-col h4{ color: var(--white); font-family: var(--font-body); font-size: 0.82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li{ margin-bottom: 10px; }
.footer-col a{ font-size: 0.92rem; color: rgba(255,255,255,0.7); }
.footer-col a:hover{ color: var(--sun); }
.footer-socials{ display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a{
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.footer-socials a:hover{ background: var(--sun); color: var(--navy); border-color: var(--sun); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 24px; display: flex; flex-wrap: wrap;
  gap: 12px; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.55);
}

/* reveal-on-scroll (subtle, respects reduced motion) */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity: 1; transform: translateY(0); }

/* utility */
.text-center{ text-align: center; }
.mt-0{ margin-top:0; }
.small{ font-size: 0.85rem; color: var(--muted); }

/* ==========================================================================
   Obfuscated contact links (email / phone)
   ========================================================================== */
.cp-contact{
  color: inherit; text-decoration: none; cursor: pointer;
  border-bottom: 1px dashed rgba(0,0,0,0.25);
}
.cp-contact:hover{ border-bottom-color: currentColor; }
.header-phone .cp-contact, .footer-col .cp-contact{ border-bottom: none; }
.cp-mask{ font-variant-ligatures: none; letter-spacing: 0.02em; }
.cp-contact.cp-revealed .cp-mask{ letter-spacing: normal; }

.noscript-banner{
  background: var(--sun); color: var(--navy); text-align: center;
  font-size: 0.85rem; font-weight: 700; padding: 10px 16px;
}
