:root {
  --navy: #0A3D62;
  --navy-dark: #072B47;
  --maroon: #C41E52;
  --orange: #F2A93B;
  --gray: #F5F6FA;
  --text: #1B2A38;
}

* { box-sizing: border-box; }

/* Subtle, natural brightness/clarity polish for real photos (not posters/graphics/logos) */
img.ph { filter: brightness(1.06) contrast(1.04) saturate(1.03); }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  background: #fff;
}

h1, h2, h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  margin: 0;
}

a { text-decoration: none; }
img { max-width: 100%; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
}
.btn-maroon { background: var(--maroon); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border: 2px solid #fff; }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }

.section-label {
  color: var(--maroon);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(10, 61, 98, 0.08);
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo img { height: 64px; width: auto; display: block; }
.right-group { display: flex; align-items: center; gap: 16px; }
.cambridge-badge { height: 52px; width: auto; display: block; flex-shrink: 0; }
nav > ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a { color: var(--navy); font-weight: 500; font-size: 14.5px; transition: color 0.2s; }
nav a:hover { color: var(--maroon); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

/* ===== NAV DROPDOWN ===== */
nav ul li.has-dropdown { position: relative; }
nav ul li.has-dropdown > a::after { content: '\25BE'; font-size: 10px; margin-left: 5px; display: inline-block; }
.dropdown-menu {
  display: block;
  position: absolute; top: 100%; left: -14px; min-width: 250px;
  background: #fff; border-radius: 4px; border-top: 3px solid var(--orange); padding: 4px 0; margin: 10px 0 0;
  list-style: none; box-shadow: 0 12px 28px rgba(10, 61, 98, 0.14);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 200;
}
li.has-dropdown:hover > .dropdown-menu,
li.has-dropdown:focus-within > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { padding: 0 !important; border-bottom: 1px solid #eef1f4 !important; }
.dropdown-menu li:last-child { border-bottom: none !important; }
.dropdown-menu a { display: block; padding: 14px 20px; font-size: 13.5px; font-weight: 500; white-space: nowrap; position: relative; }
.dropdown-menu a::after { content: ''; position: absolute; left: 20px; bottom: 9px; width: 0; height: 2px; background: var(--maroon); transition: width 0.18s ease; }
.dropdown-menu a:hover { color: var(--maroon); }
.dropdown-menu a:hover::after { width: 24px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  min-height: 680px;
  display: flex;
  align-items: center;
  background-image: url('../assets/image/Hero-Section.webp');
  background-size: cover;
  background-position: center 68%;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 61, 98, 0.96) 0%, rgba(10, 61, 98, 0.85) 40%, rgba(10, 61, 98, 0.35) 75%, rgba(10, 61, 98, 0.1) 100%);
}
.hero-inner { width: 100%; display: flex; align-items: center; gap: 50px; position: relative; z-index: 2; }
.hero-text { flex: 1; color: #fff; max-width: 560px; }
.hero-text .tag {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12.5px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero-text h1 { font-size: 46px; line-height: 1.15; margin-bottom: 18px; }
.hero-text p { font-size: 16px; opacity: 0.9; margin-bottom: 28px; max-width: 440px; line-height: 1.6; }
.hero-text .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.badge {
  position: absolute;
  top: 40px;
  right: 40px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 20px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

/* ===== WELCOME ===== */
.welcome { padding: 90px 0; }
.welcome-grid { display: flex; align-items: center; gap: 60px; }
.welcome-photo { flex: 1; }
.welcome-photo .photo-frame {
  width: 100%;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 61, 98, 0.15);
}
.welcome-photo .photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.welcome-photo .photo-frame.team-photo-frame { height: auto; aspect-ratio: 1914 / 1198; }
.welcome-photo .photo-frame.team-photo-frame img { height: auto; object-fit: contain; background: #fff; }
.welcome-text { flex: 1; }
.welcome-text h2.two-tone { font-size: 34px; margin-bottom: 16px; line-height: 1.2; }
.welcome-text h2.two-tone .navy-t { color: var(--navy); display: block; }
.welcome-text h2.two-tone .maroon-t { color: var(--maroon); display: block; }
.welcome-text .divider { width: 60px; height: 4px; background: var(--orange); border-radius: 2px; margin-bottom: 22px; }
.welcome-text .intro { font-weight: 700; color: var(--navy); font-size: 16.5px; margin-bottom: 18px; line-height: 1.6; font-style: italic; }
.welcome-text .desc { color: #55606b; line-height: 1.7; margin-bottom: 22px; font-size: 15px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 14.5px; color: var(--text); font-weight: 500; }
.checklist .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* ===== PROGRAMS (Our Core Values card style) ===== */
.programs { padding: 90px 0; background: var(--gray); text-align: center; }
.programs h2.two-tone { font-size: 34px; margin-bottom: 14px; }
.programs h2.two-tone .navy-t { color: var(--navy); }
.programs h2.two-tone .maroon-t { color: var(--maroon); }
.programs .divider { width: 60px; height: 4px; background: var(--orange); border-radius: 2px; margin: 0 auto 22px; }
.programs .intro-copy { max-width: 640px; margin: 0 auto 44px; color: #55606b; line-height: 1.7; font-size: 15.5px; }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card { border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(10, 61, 98, 0.12); text-align: left; background: #fff; }
.program-card .program-photo { height: 210px; overflow: hidden; }
.program-card .program-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.program-card .program-bar { padding: 20px 22px; color: #fff; }
.program-card .program-bar h3 { font-size: 18px; margin-bottom: 6px; }
.program-card .program-bar p { font-size: 13.5px; margin: 0; opacity: 0.92; line-height: 1.5; }
.program-card .program-bar .stats { display: block; margin-top: 8px; font-weight: 700; font-size: 12.5px; }

/* ===== GALLERY (showcase style) ===== */
.gallery { padding: 90px 0; text-align: center; background: var(--maroon); position: relative; }
.gallery .section-label { color: rgba(255, 255, 255, 0.85); }
.gallery h2.two-tone { font-size: 34px; color: #fff; }
.gallery h2.two-tone .accent { color: var(--orange); }
.gallery .divider { width: 60px; height: 4px; background: var(--orange); border-radius: 2px; margin: 14px auto 22px; }
.gallery .intro-copy { max-width: 640px; margin: 0 auto 44px; color: rgba(255, 255, 255, 0.85); line-height: 1.7; font-size: 15.5px; }

.showcase-main { border-radius: 20px; overflow: hidden; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3); margin-bottom: 20px; position: relative; background: var(--gray); }
.showcase-main img { width: 100%; height: 600px; object-fit: contain; background: var(--gray); display: block; transition: opacity 0.25s ease; }
.showcase-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(10, 61, 98, 0.85);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.showcase-thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.showcase-thumb {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  padding: 0;
  background: var(--gray);
}
.showcase-thumb img { width: 100%; height: 68px; object-fit: contain; background: var(--gray); display: block; opacity: 0.6; transition: opacity 0.2s; }
.showcase-thumb.active, .showcase-thumb:hover { border-color: var(--orange); }
.showcase-thumb.active img, .showcase-thumb:hover img { opacity: 1; }

/* ===== EVENTS ===== */
.events { padding: 90px 0; text-align: center; background: #fff; }
.events h2.two-tone { font-size: 34px; }
.events h2.two-tone .accent { color: var(--maroon); }
.events .divider { width: 60px; height: 4px; background: var(--orange); border-radius: 2px; margin: 14px auto 22px; }
.events .intro-copy { max-width: 640px; margin: 0 auto 44px; color: #55606b; line-height: 1.7; font-size: 15.5px; }
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: left; }
.event-card { border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(10, 61, 98, 0.12); display: flex; }
.event-card .event-photo {
  flex: 1;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  background: linear-gradient(135deg, #cfd8e3, #aab8c6);
}
.event-card .event-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.event-card .event-info { flex: 1; padding: 26px 24px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.event-card .event-info h3 { font-size: 19px; margin-bottom: 12px; }
.event-card .event-info p { font-size: 14px; line-height: 1.6; opacity: 0.95; margin-bottom: 16px; }
.event-card .event-info .date { font-size: 13.5px; opacity: 0.9; margin-bottom: 4px; }
.event-card .event-info .time { font-size: 13.5px; opacity: 0.9; margin-bottom: 16px; display: block; }
.event-card .event-info a { color: #fff; font-weight: 700; font-size: 13.5px; }
.event-card .event-info a::after { content: ' →'; }

/* ===== EVENTS DETAIL PAGE ===== */
.events-detail { padding: 90px 0; text-align: center; background: #fff; }
.events-detail h2.two-tone { font-size: 34px; }
.events-detail h2.two-tone .accent { color: var(--maroon); }
.events-detail .divider { width: 60px; height: 4px; background: var(--orange); border-radius: 2px; margin: 14px auto 22px; }
.events-detail .intro-copy { max-width: 640px; margin: 0 auto 44px; color: #55606b; line-height: 1.7; font-size: 15.5px; }
.events-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; text-align: left; }
.event-poster-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(10, 61, 98, 0.12); }
.event-poster-card .poster-frame { background: var(--gray); display: flex; justify-content: center; padding: 26px 26px 0; }
.event-poster-card .poster-frame img { width: 100%; max-width: 300px; height: auto; display: block; border-radius: 10px; box-shadow: 0 12px 26px rgba(10, 61, 98, 0.18); }
.event-poster-card .poster-body { padding: 28px 26px; }
.event-poster-card .poster-body h2 { font-size: 23px; color: var(--navy); margin-bottom: 0; }
.event-poster-card .poster-body .divider { margin: 14px 0 16px; }
.event-poster-card .poster-body p.desc { color: #55606b; line-height: 1.7; margin-bottom: 18px; font-size: 15px; }
.event-poster-card .poster-body .contact-row { margin-bottom: 10px; }

@media (max-width: 860px) {
  .events-detail-grid { grid-template-columns: 1fr; }
}

/* ===== BLOG ===== */
.blog { padding: 90px 0; text-align: center; background: var(--gray); }
.blog h2.two-tone { font-size: 34px; }
.blog h2.two-tone .accent { color: var(--maroon); }
.blog .divider { width: 60px; height: 4px; background: var(--orange); border-radius: 2px; margin: 14px auto 22px; }
.blog .intro-copy { max-width: 640px; margin: 0 auto 44px; color: #55606b; line-height: 1.7; font-size: 15.5px; }
.blog-list { display: flex; flex-direction: column; gap: 24px; text-align: left; }
.blog-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(10, 61, 98, 0.1);
  padding: 44px;
  display: flex;
  align-items: center;
  gap: 44px;
}
.blog-card.reverse { flex-direction: row-reverse; }
.blog-card .blog-photo {
  flex: 1;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  background: linear-gradient(135deg, #cfd8e3, #aab8c6);
}
.blog-card .blog-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .blog-body { flex: 1; }
.blog-card .blog-category { color: var(--maroon); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.blog-card h3 { font-size: 22px; margin: 12px 0; }
.blog-card p { font-size: 14.5px; color: #55606b; line-height: 1.7; margin-bottom: 22px; }
.blog-card a.read-more {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 26px;
  border-radius: 24px;
}

/* ===== CONTACT + FOOTER ===== */
.contact { position: relative; min-height: 540px; overflow: hidden; }
.contact-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-card-float {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin-left: 8%;
  background: #fff;
  border-radius: 20px;
  padding: 50px 44px;
  box-shadow: 0 25px 60px rgba(10, 61, 98, 0.25);
  top: 70px;
}
.contact-card-float h2 { font-size: 26px; margin-bottom: 20px; }
.contact-row { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-row .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gray);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.contact-row p { margin: 0; font-size: 14.5px; color: var(--text); font-weight: 500; }
.contact-card-float .btns { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

footer { background: var(--navy); color: #fff; padding: 50px 0 24px; position: relative; }
footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 24px;
  background: repeating-radial-gradient(circle at 20px 0, transparent 0, transparent 16px, var(--navy) 17px);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; align-items: start; }
.footer-grid h3 { font-size: 16px; margin-bottom: 14px; position: relative; padding-bottom: 12px; }
.footer-grid h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--orange); border-radius: 2px; }
.footer-grid p, .footer-grid li { font-size: 13.5px; opacity: 0.75; line-height: 1.8; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 4px; }
.footer-grid a { color: inherit; }
.footer-logo-chip { background: #fff; border-radius: 10px; padding: 12px 18px; display: inline-flex; margin-bottom: 14px; }
.footer-logo-chip img { height: 56px; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--orange); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a svg { width: 18px; height: 18px; fill: currentColor; }

.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-contact-item .ic {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.footer-contact-item p { margin: 0; opacity: 0.9; }

.footer-newsletter p { margin-bottom: 14px; }
.footer-newsletter input {
  width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); color: #fff; font-family: 'Roboto', sans-serif; font-size: 13.5px;
  margin-bottom: 12px;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.6); }
.footer-newsletter button {
  width: 100%; padding: 11px 14px; border: none; border-radius: 8px;
  background: var(--orange); color: var(--navy); font-family: 'Nunito', sans-serif;
  font-weight: 700; font-size: 13.5px; cursor: pointer;
}

.footer-bottom-bar {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.15); margin-top: 40px; padding-top: 20px;
  font-size: 12.5px; opacity: 0.7; flex-wrap: wrap; gap: 10px;
}

/* ===== PAGE HEADER (interior pages) ===== */
.page-header { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); padding: 70px 0 60px; color: #fff; }
.page-header .section-label { color: rgba(255, 255, 255, 0.85); }
.page-header h1 { font-size: 40px; margin-bottom: 14px; }
.page-header .breadcrumb { font-size: 14px; opacity: 0.8; margin: 0; }
.page-header .breadcrumb a { color: #fff; font-weight: 700; }

/* ===== ABOUT US: STORYBOOK + TABS ===== */
.tabs-wrap { padding: 50px 0 90px; }
.tab-bar { position: sticky; top: 78px; z-index: 50; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; background: #fff; padding: 16px 0 22px; margin-bottom: 40px; box-shadow: 0 8px 16px -8px rgba(10, 61, 98, 0.12); }
.tab-btn { padding: 12px 24px; border-radius: 30px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 13.5px; cursor: pointer; transition: all 0.15s; }
.tab-btn.active { background: var(--maroon); border-color: var(--maroon); color: #fff; box-shadow: 0 8px 20px rgba(196, 30, 82, 0.3); }

.storybook-row { display: flex; align-items: center; gap: 60px; max-width: 1100px; margin: 0 auto; scroll-margin-top: 150px; padding-bottom: 70px; margin-bottom: 70px; border-bottom: 1px solid var(--gray); }
.storybook-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.storybook-row.reverse { flex-direction: row-reverse; }
.storybook-photo { flex: 1; }
.storybook-photo .photo-frame { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(10, 61, 98, 0.15); background: var(--gray); }
.storybook-photo img, .storybook-photo video { width: 100%; height: 340px; object-fit: contain; object-position: center; display: block; }
.storybook-text { flex: 1; }
.storybook-text h2.two-tone { font-size: 30px; margin-bottom: 16px; line-height: 1.2; }
.storybook-text h2.two-tone .navy-t { color: var(--navy); }
.storybook-text h2.two-tone .maroon-t { color: var(--maroon); }
.storybook-text .divider { width: 60px; height: 4px; background: var(--orange); border-radius: 2px; margin-bottom: 20px; }
.storybook-text .desc { color: #55606b; line-height: 1.7; margin-bottom: 20px; font-size: 15.5px; }

/* ===== PROGRAMS: BIG FEATURE BLOCKS ===== */
.feature-block, .ilp-strip { scroll-margin-top: 90px; }
.feature-block { padding: 80px 0; }
.feature-block .container { display: flex; align-items: center; gap: 60px; }
.feature-block.reverse .container { flex-direction: row-reverse; }
.feature-block .photo { flex: 1; }
.feature-block .photo img, .feature-block .photo video { width: 100%; height: 380px; object-fit: cover; border-radius: 24px; display: block; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2); }
.feature-block .txt { flex: 1; }
.feature-block .grade-tag { display: inline-block; padding: 6px 16px; border-radius: 20px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 18px; }
.feature-block h2 { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 42px; margin-bottom: 14px; }
.feature-block p.tagline { font-size: 18px; font-weight: 600; margin-bottom: 22px; }
.feature-block .stat-row { display: flex; gap: 30px; }
.feature-block .stat-num { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 30px; display: block; }
.feature-block .stat-label { font-size: 12.5px; opacity: 0.8; }

.feature-block.navy { background: var(--navy); color: #fff; }
.feature-block.navy .grade-tag { background: rgba(255, 255, 255, 0.15); color: #fff; }
.feature-block.navy p.tagline { color: var(--orange); }

.feature-block.maroon { background: var(--maroon); color: #fff; }
.feature-block.maroon .grade-tag { background: rgba(255, 255, 255, 0.18); color: #fff; }
.feature-block.maroon p.tagline { color: var(--orange); }

.feature-block.orange { background: var(--orange); color: var(--navy); }
.feature-block.orange .grade-tag { background: rgba(10, 61, 98, 0.12); color: var(--navy); }
.feature-block.orange p.tagline { color: var(--maroon); }

.ilp-strip { padding: 70px 0; text-align: center; background: var(--gray); }
.ilp-strip h2 { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 28px; color: var(--navy); margin-bottom: 10px; }
.ilp-strip h2 .accent { color: var(--maroon); }
.ilp-strip p { max-width: 600px; margin: 0 auto 30px; color: #55606b; font-size: 15px; line-height: 1.7; }
.ilp-tracks { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.ilp-tracks div { background: #fff; padding: 18px 34px; border-radius: 14px; box-shadow: 0 8px 20px rgba(10, 61, 98, 0.1); font-family: 'Nunito', sans-serif; font-weight: 700; color: var(--navy); }

/* ===== SPECIAL ILP TRACK CARDS ===== */
.special-tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}
.track-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 10px 28px rgba(10, 61, 98, 0.1);
  border-top: 4px solid var(--navy);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.track-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(10, 61, 98, 0.16); }
.track-card:nth-child(3n+2) { border-top-color: var(--maroon); }
.track-card:nth-child(3n+3) { border-top-color: var(--orange); }
.track-card .track-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gray);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}
.track-card h3 { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 17.5px; color: var(--navy); margin-bottom: 8px; }
.track-card p { font-size: 13.5px; line-height: 1.65; color: #55606b; margin: 0; }
@media (max-width: 860px) {
  .special-tracks-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .special-tracks-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ ACCORDION (Career) ===== */
.faq-wrap { padding: 20px 0 90px; max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--gray); border-radius: 14px; margin-bottom: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(10,61,98,.06); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 26px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15.5px; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--maroon); flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 26px 22px; color: #55606b; font-size: 14.5px; line-height: 1.7; }

/* ===== IMAGE HOLDER (placeholder for real photos, added later) ===== */
.image-holder {
  width: 100%;
  min-height: 260px;
  border: 2px dashed var(--navy);
  border-radius: 20px;
  background: var(--gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--navy);
  opacity: .55;
  text-align: center;
  padding: 20px;
}
.image-holder svg { width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 1.5; }
.image-holder span { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .3px; }
.image-holder small { font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 11.5px; opacity: .8; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner, .welcome-grid { flex-direction: column; }
  .storybook-row, .storybook-row.reverse { flex-direction: column; }
  .storybook-photo img, .storybook-photo video { height: 240px; }
  .storybook-photo .image-holder { min-height: 200px; }
  .feature-block .container, .feature-block.reverse .container { flex-direction: column; }
  .feature-block .photo img, .feature-block .photo video { height: 240px; }
  .feature-block h2 { font-size: 30px; }
  .programs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .showcase-thumbs { grid-template-columns: repeat(4, 1fr); }
  .showcase-main img { height: 300px; }
  .events-grid { grid-template-columns: 1fr; }
  .event-card { flex-direction: column; }
  .blog-card, .blog-card.reverse { flex-direction: column; padding: 26px; gap: 20px; }
  .contact-card-float { margin: 0 16px; max-width: none; top: 40px; padding: 34px 26px; }
  .contact { min-height: 0; padding-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 8px 20px rgba(10,61,98,0.1); }
  nav ul { flex-direction: column; gap: 0; padding: 10px 32px; }
  nav ul li { padding: 10px 0; border-bottom: 1px solid var(--gray); }
  nav[hidden] { display: none; }
  .nav-toggle { display: flex; }
  .right-group { gap: 8px; }
  .cambridge-badge { height: 20px; }
  .hero-text h1 { font-size: 34px; }
  .tab-bar { top: 0; }

  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: none; border-radius: 0; margin: 6px 0 0; padding: 0 0 0 14px; background: transparent;
  }
  .dropdown-menu li { border-bottom: none !important; }
  .dropdown-menu a { padding: 8px 0; font-size: 13px; color: #55606b; }
  .dropdown-menu a::after { display: none; }
  nav ul li.has-dropdown { border-bottom: none; }
  nav ul li.has-dropdown > a { border-bottom: 1px solid var(--gray); padding-bottom: 10px; display: block; }
}

/* ===== BLOG POST DETAIL ===== */
.post-detail-wrap { padding: 50px 0 90px; }
.post-detail-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--maroon); text-decoration: none; margin-bottom: 30px; }
.post-detail-back:hover { text-decoration: underline; }
.post-detail-head { max-width: 760px; margin: 0 auto 36px; border-bottom: 1px solid #eef1f4; padding-bottom: 22px; }
.post-detail-cat { font: 800 12px 'Nunito', sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.post-detail-meta { font-size: 14px; color: #8a949d; margin: 10px 0 0; }
.post-detail-body { max-width: 760px; margin: 0 auto; }
.post-detail-body p { font-size: 16px; line-height: 1.8; color: #434d56; margin: 0 0 20px; }
.post-detail-body h2, .post-detail-body h3 { color: var(--navy); font-family: 'Nunito', sans-serif; margin: 30px 0 14px; }
.post-detail-body ul { margin: 0 0 20px 20px; color: #434d56; font-size: 16px; line-height: 1.8; }
.post-detail-body ul li { margin-bottom: 6px; }
.post-detail-body > img { width: 100%; border-radius: 14px; display: block; margin: 0 0 28px; box-shadow: 0 10px 24px rgba(10, 61, 98, .12); }
.post-detail-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 28px; }
.post-detail-gallery img { width: 100%; border-radius: 14px; box-shadow: 0 10px 24px rgba(10, 61, 98, .12); display: block; }
.post-detail-gallery.single { grid-template-columns: 1fr; }
@media (max-width: 700px) {
  .post-detail-gallery { grid-template-columns: 1fr; }
  .post-detail-head h1 { font-size: 26px; }
}
