/* =========================================================
   Annie Besant International School — Global Stylesheet
   ========================================================= */

:root {
  --navy: #0f2b52;
  --navy-dark: #0a1f3d;
  --blue: #1f5fa8;
  --blue-light: #4a90d9;
  --gold: #f2a900;
  --gold-dark: #d99400;
  --red: #c0392b;
  --green: #2e7d5b;
  --ink: #1c2431;
  --muted: #5b6472;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-soft-2: #eef2f9;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(15, 43, 82, .06);
  --shadow: 0 10px 30px rgba(15, 43, 82, .10);
  --shadow-lg: 0 20px 50px rgba(15, 43, 82, .16);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --ff: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-head: "Georgia", "Times New Roman", serif;
  --t: .25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.2; color: var(--navy); font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); }
.section.navy { background: var(--navy); color: #dbe4f2; }
.section.navy h2, .section.navy h3 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 40px; font-weight: 600;
  border: 2px solid transparent; cursor: pointer; transition: var(--t);
  font-size: 15px; letter-spacing: .2px;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: #fff; color: var(--navy); }

/* ---------- Section heading ---------- */
.head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.head .eyebrow {
  display: inline-block; color: var(--gold-dark); font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin-bottom: 12px;
  font-family: var(--ff);
}
.head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.head p { color: var(--muted); font-size: 17px; }
.head.left { text-align: left; margin-left: 0; }

.divider { width: 66px; height: 4px; background: var(--gold); border-radius: 4px; margin: 16px auto 0; }
.head.left .divider { margin-left: 0; }

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
  background: var(--navy-dark); color: #cdd8ea; font-size: 13.5px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #cdd8ea; transition: var(--t); }
.topbar a:hover { color: var(--gold); }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-social { display: flex; gap: 14px; }
.topbar .icn { width: 15px; height: 15px; fill: var(--gold); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand .logo {
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  object-fit: contain; background: #fff; box-shadow: var(--shadow-sm); display: block;
}
.brand .b-text b { display: block; font-family: var(--ff-head); color: var(--navy); font-size: 18px; line-height: 1.1; letter-spacing: .3px; }
.brand .b-text small { color: var(--muted); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a {
  display: flex; align-items: center; gap: 5px; padding: 12px 15px; font-weight: 600;
  color: var(--ink); border-radius: 8px; font-size: 15px; transition: var(--t);
}
.menu > li > a:hover, .menu > li.active > a { color: var(--blue); }
.menu > li.active > a { color: var(--blue); }
.menu .caret { width: 10px; height: 10px; fill: currentColor; transition: transform var(--t); }
.menu li.has-drop:hover .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 236px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--t); border-top: 3px solid var(--gold);
}
.menu li.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink);
  font-size: 14.5px; font-weight: 500; transition: var(--t);
}
.dropdown li a:hover { background: var(--bg-soft-2); color: var(--blue); padding-left: 20px; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.hamburger {
  display: none; width: 44px; height: 44px; border: none; background: var(--bg-soft);
  border-radius: 10px; cursor: pointer; position: relative;
}
.hamburger span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: var(--t); }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
body.nav-open .hamburger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(10,31,61,.94), rgba(31,95,168,.82)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='%230f2b52'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='%231f5fa8' stroke-width='.5' opacity='.3'/%3E%3C/svg%3E");
  background-size: cover;
}
.hero .container { position: relative; z-index: 2; padding: 96px 20px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(242,169,0,.18);
  border: 1px solid rgba(242,169,0,.5); color: var(--gold); padding: 7px 16px;
  border-radius: 30px; font-size: 13px; font-weight: 700; letter-spacing: .5px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin-bottom: 20px; }
.hero h1 .hl { color: var(--gold); }
.hero p { font-size: 18px; color: #d7e2f2; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats .st b { font-family: var(--ff-head); color: var(--gold); font-size: 32px; display: block; }
.hero-stats .st span { font-size: 13.5px; color: #c3d1e6; }

.hero-card {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px); border-radius: 20px; padding: 30px;
}
.hero-card h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.hero-card p { font-size: 14.5px; color: #cdd9ec; margin-bottom: 20px; }
.hero-card .field { margin-bottom: 14px; }
.hero-card label { display: block; font-size: 13px; color: #cdd9ec; margin-bottom: 6px; font-weight: 600; }
.hero-card input, .hero-card select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.94); color: var(--ink); font-size: 14.5px; font-family: var(--ff);
}
.hero-card .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* =========================================================
   MARQUEE / notice strip
   ========================================================= */
.notice-strip { background: var(--gold); color: var(--navy-dark); font-weight: 600; overflow: hidden; }
.notice-strip .container { display: flex; align-items: center; gap: 16px; min-height: 46px; }
.notice-strip .tag { background: var(--navy); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 12.5px; letter-spacing: .5px; flex: none; }
.marquee { overflow: hidden; white-space: nowrap; flex: 1; }
.marquee span { display: inline-block; padding-left: 100%; animation: scroll 26s linear infinite; }
.marquee:hover span { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-100%); } }

/* =========================================================
   CARDS / GRIDS
   ========================================================= */
.grid { display: grid; gap: 26px; }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: var(--t); position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-soft-2); color: var(--blue); margin-bottom: 20px; font-size: 26px;
}
.card:hover .ico { background: var(--gold); color: var(--navy-dark); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--blue); font-weight: 700; font-size: 14px; }
.card .more:hover { gap: 12px; color: var(--gold-dark); }

/* Feature (why choose) */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .fico {
  width: 52px; height: 52px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-size: 22px;
}
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* =========================================================
   ABOUT split
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split .media { position: relative; }
.split .media .imgbox {
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/3; background: linear-gradient(135deg, var(--blue), var(--navy)); position: relative;
}
.imgbox.ph { display: grid; place-items: center; color: rgba(255,255,255,.85); text-align: center; padding: 20px; }
.imgbox.ph .ph-ico { font-size: 54px; margin-bottom: 10px; }
.imgbox.ph small { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; opacity: .8; }
.split .badge-float {
  position: absolute; bottom: -24px; right: -18px; background: var(--gold); color: var(--navy-dark);
  padding: 18px 24px; border-radius: 14px; box-shadow: var(--shadow); text-align: center;
}
.split .badge-float b { font-family: var(--ff-head); font-size: 30px; display: block; line-height: 1; }
.split .badge-float span { font-size: 12.5px; font-weight: 600; }
.split h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 8px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-weight: 500; }
.tick-list li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700;
}

/* =========================================================
   STATS band
   ========================================================= */
.stats-band { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; }
.stats-band .grid { text-align: center; }
.stats-band .st b { font-family: var(--ff-head); font-size: 46px; color: var(--gold); display: block; }
.stats-band .st span { font-size: 15px; color: #cfdcef; letter-spacing: .3px; }

/* =========================================================
   MISSION / VISION
   ========================================================= */
.mv-card { border-top: 4px solid var(--gold); }
.mv-card.vision { border-top-color: var(--blue); }

/* =========================================================
   STAFF
   ========================================================= */
.staff-card { text-align: center; padding: 0; overflow: hidden; }
.staff-card .avatar {
  aspect-ratio: 1/1; background: linear-gradient(135deg, var(--blue-light), var(--navy));
  display: grid; place-items: center; color: #fff; font-family: var(--ff-head); font-size: 52px;
}
.staff-card .info { padding: 22px 18px 26px; }
.staff-card h3 { font-size: 19px; margin-bottom: 3px; }
.staff-card .role { color: var(--gold-dark); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.staff-card .sub { color: var(--muted); font-size: 13.5px; }
.staff-card .socials { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.staff-card .socials a { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-soft-2); display: grid; place-items: center; color: var(--blue); transition: var(--t); }
.staff-card .socials a:hover { background: var(--blue); color: #fff; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.tst-slider { max-width: 860px; margin: 0 auto; position: relative; }
.tst-track { overflow: hidden; }
.tst-slides { display: flex; transition: transform .5s ease; }
.tst-slide { min-width: 100%; padding: 6px; }
.tst-inner {
  background: #fff; border-radius: 18px; padding: 40px; box-shadow: var(--shadow); text-align: center;
  border: 1px solid var(--line);
}
.section.navy .tst-inner { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #e6eefb; }
.tst-inner .quote { font-size: 44px; color: var(--gold); font-family: var(--ff-head); line-height: 1; }
.tst-inner p { font-size: 18px; font-style: italic; margin: 14px 0 24px; color: inherit; }
.tst-who { display: flex; align-items: center; justify-content: center; gap: 14px; }
.tst-who .av { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg,var(--gold),var(--gold-dark)); color: var(--navy-dark); display: grid; place-items: center; font-weight: 700; font-family: var(--ff-head); font-size: 20px; }
.tst-who b { display: block; font-family: var(--ff-head); font-size: 17px; }
.section.navy .tst-who b { color: #fff; }
.tst-who span { font-size: 13.5px; color: var(--muted); }
.section.navy .tst-who span { color: #b9c7de; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.tst-nav { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.tst-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(120,140,170,.4); border: none; cursor: pointer; transition: var(--t); }
.tst-dot.active { background: var(--gold); width: 30px; border-radius: 6px; }
.tst-arrows { }
.tst-arrow {
  position: absolute; top: 45%; width: 46px; height: 46px; border-radius: 50%; border: none;
  background: #fff; box-shadow: var(--shadow); color: var(--navy); cursor: pointer; font-size: 18px;
  display: grid; place-items: center; transition: var(--t);
}
.tst-arrow:hover { background: var(--gold); color: var(--navy-dark); }
.tst-arrow.prev { left: -22px; }
.tst-arrow.next { right: -22px; }

/* =========================================================
   EVENTS
   ========================================================= */
.event-card { display: flex; gap: 20px; align-items: stretch; }
.event-card .date {
  flex: none; width: 84px; border-radius: 12px; background: linear-gradient(135deg,var(--navy),var(--blue));
  color: #fff; display: grid; place-items: center; text-align: center; padding: 12px 6px;
}
.event-card .date b { font-family: var(--ff-head); font-size: 30px; display: block; line-height: 1; }
.event-card .date span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.event-card .ev-body { flex: 1; }
.event-card .ev-meta { color: var(--muted); font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; margin: 6px 0 8px; }
.event-card h3 { font-size: 19px; }

/* =========================================================
   BLOG
   ========================================================= */
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-card .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg,var(--blue),var(--navy)); position: relative; display: grid; place-items: center; color: rgba(255,255,255,.85); font-size: 42px; }
.blog-card .cat { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--navy-dark); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.blog-card .b-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card .b-meta { color: var(--muted); font-size: 12.5px; display: flex; gap: 14px; margin-bottom: 10px; }
.blog-card h3 { font-size: 19px; margin-bottom: 10px; }
.blog-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.blog-card .more { margin-top: 14px; }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  background: linear-gradient(120deg, rgba(10,31,61,.93), rgba(31,95,168,.85)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='%230f2b52'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='%231f5fa8' stroke-width='.5' opacity='.3'/%3E%3C/svg%3E");
  color: #fff; text-align: center; padding: 74px 0;
}
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 12px; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; color: #c7d4e8; font-size: 14px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: .6; }
.breadcrumb .cur { color: var(--gold); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.info-item:last-child { margin-bottom: 0; }
.info-item .ii { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--bg-soft-2); color: var(--blue); display: grid; place-items: center; font-size: 20px; }
.info-item b { display: block; font-family: var(--ff-head); color: var(--navy); font-size: 16px; margin-bottom: 2px; }
.info-item span { color: var(--muted); font-size: 14.5px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--navy); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: var(--ff); color: var(--ink); background: #fff; transition: var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,95,168,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.field .err { color: var(--red); font-size: 13px; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field.invalid .err { display: block; }
.form-note { color: var(--muted); font-size: 13px; margin-top: 10px; }
.form-success {
  display: none; background: #e8f6ee; border: 1px solid #b6e0c6; color: #1d6b41;
  padding: 16px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 600;
}
.form-success.show { display: block; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  background: linear-gradient(120deg, var(--gold), var(--gold-dark)); color: var(--navy-dark);
  text-align: center; border-radius: 22px; padding: 54px 30px; box-shadow: var(--shadow);
}
.cta-band h2 { color: var(--navy-dark); font-size: clamp(26px,3.4vw,36px); margin-bottom: 10px; }
.cta-band p { max-width: 620px; margin: 0 auto 24px; font-size: 17px; color: #3a2f10; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   ACCORDION (FAQ / history)
   ========================================================= */
.accordion { max-width: 820px; margin: 0 auto; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.acc-head { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px; font-size: 17px; font-weight: 700; color: var(--navy); font-family: var(--ff-head); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acc-head .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft-2); color: var(--blue); display: grid; place-items: center; font-size: 18px; transition: var(--t); }
.acc-item.open .acc-head .pm { background: var(--gold); color: var(--navy-dark); transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body .inner { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* =========================================================
   TIMELINE (history)
   ========================================================= */
.timeline { max-width: 820px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 26px; top: 6px; bottom: 6px; width: 3px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 34px 74px; }
.tl-item .yr { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg,var(--navy),var(--blue)); color: #fff; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; font-size: 15px; z-index: 1; }
.tl-item h3 { font-size: 19px; margin-bottom: 6px; }
.tl-item p { color: var(--muted); font-size: 15px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-dark); color: #b9c7de; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--gold); border-radius: 3px; }
.footer-brand .brand .b-text b { color: #fff; }
.footer-brand p { font-size: 14.5px; margin: 16px 0; }
.footer-brand .fsoc { display: flex; gap: 10px; }
.footer-brand .fsoc a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: var(--t); }
.footer-brand .fsoc a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14.5px; transition: var(--t); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: "›"; color: var(--gold); font-weight: 700; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 15px; font-size: 14.5px; align-items: flex-start; }
.footer-contact .ci { color: var(--gold); flex: none; margin-top: 2px; }
.foot-news input { width: 100%; padding: 12px 14px; border-radius: 10px; border: none; margin: 10px 0; font-family: var(--ff); }
.foot-news .btn { width: 100%; justify-content: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom a:hover { color: var(--gold); }

/* Icons (inline svg sizing) */
.i { width: 18px; height: 18px; fill: currentColor; vertical-align: middle; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff; border: none; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(14px); transition: var(--t); z-index: 900; font-size: 20px;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy-dark); }

/* Prose (article) */
.prose { max-width: 820px; margin: 0 auto; }
.prose p { color: #37414f; margin-bottom: 18px; font-size: 16.5px; }
.prose h2 { font-size: 27px; margin: 30px 0 12px; }
.prose h3 { font-size: 21px; margin: 24px 0 10px; }
.prose ul { margin: 0 0 18px 20px; list-style: disc; color: #37414f; }
.prose ul li { margin-bottom: 8px; }
.prose blockquote { border-left: 4px solid var(--gold); background: var(--bg-soft); padding: 16px 22px; border-radius: 0 10px 10px 0; font-style: italic; color: var(--navy); margin: 22px 0; }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: var(--bg-soft-2); color: var(--navy); padding: 8px 16px; border-radius: 30px; font-size: 14px; font-weight: 600; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid.g4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hamburger { display: block; }
  /* Keep the header (and its hamburger/close button) above the overlay */
  body.nav-open .site-header { z-index: 1300; }
  body.nav-open { overflow: hidden; }

  .menu {
    position: fixed; top: 0; right: -100%; width: min(330px, 86vw); height: 100vh; height: 100dvh;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 96px 16px calc(30px + env(safe-area-inset-bottom));
    box-shadow: var(--shadow-lg); overflow-y: auto; -webkit-overflow-scrolling: touch;
    transition: right .3s ease; z-index: 1250;
  }
  body.nav-open .menu { right: 0; }
  /* Dim overlay behind the drawer */
  body.nav-open::after {
    content: ""; position: fixed; inset: 0; background: rgba(10,20,40,.5); z-index: 1100;
  }

  .menu > li { position: relative; }
  .menu > li > a {
    padding: 15px 12px; border-bottom: 1px solid var(--line); border-radius: 0;
    justify-content: space-between; font-size: 16px;
  }
  .menu > li:last-child > a { border-bottom: none; }

  /* Larger tap target for the dropdown caret */
  .menu .has-drop > a .caret { width: 16px; height: 16px; padding: 4px; box-sizing: content-box; }

  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border-top: none; padding: 0; margin: 0 0 4px 8px; max-height: 0; overflow: hidden;
    transition: max-height .3s ease; background: var(--bg-soft);
    border-left: 2px solid var(--line); border-radius: 0 0 8px 0;
  }
  .menu li.has-drop.open > .dropdown { max-height: 640px; }
  .dropdown li a { padding: 12px 16px; }
  .menu .caret { transition: transform var(--t); }
  .menu li.has-drop.open > a .caret { transform: rotate(180deg); }
  /* Neutralise desktop hover behaviour on touch */
  .menu li.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
  .nav-cta .btn { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid.g2, .grid.g3, .grid.g4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .tb-left { gap: 14px; font-size: 12.5px; }
  .hero .container { padding: 60px 20px; }
  .tst-arrow { display: none; }
  .event-card { flex-direction: column; }
  .event-card .date { width: 100%; flex-direction: row; gap: 10px; }
  .brand .b-text small { display: none; }
}
