/* ============================================================
   Prime Book of World Records — Global Stylesheet
   Palette derived from the PBWR logo
   ============================================================ */

:root {
  --navy: #14213d;
  --navy-700: #1c2c50;
  --navy-900: #0d182e;
  --orange: #f26522;
  --orange-600: #d8551a;
  --green: #2e8b3d;
  --gold: #e0a020;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --shadow: 0 10px 30px rgba(20, 33, 61, 0.10);
  --shadow-lg: 0 20px 50px rgba(20, 33, 61, 0.18);
  --radius: 14px;
  --maxw: 1180px;
  --transition: 0.25s ease;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
}

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

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

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

section { padding: 80px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(242,101,34,0.30); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }

/* ---------- Section heading ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 14px; }
.section-head p { color: var(--gray); font-size: 1.02rem; }
.divider {
  width: 70px; height: 4px; margin: 14px auto 0;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  border-radius: 4px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--navy-900);
  color: #cdd5e4;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; gap: 8px;
}
.topbar a { color: #cdd5e4; transition: var(--transition); }
.topbar a:hover { color: var(--orange); }
.topbar .tb-contact span { margin-right: 18px; }
.topbar .tb-social { display: inline-flex; align-items: center; }
.topbar .tb-social a { margin-left: 16px; display: inline-flex; }
.topbar .tb-social a svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.topbar .tb-social a.s-fb { color: #1877F2; }
.topbar .tb-social a.s-yt { color: #FF0000; }
.topbar .tb-social a:hover { opacity: 0.8; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 999;
  background: #fff;
  box-shadow: 0 2px 16px rgba(20,33,61,0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
  transition: padding 0.25s ease;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 112px; width: auto; transition: height 0.25s ease; }
/* Compact header once the page is scrolled */
.header.scrolled .nav { padding-top: 6px; padding-bottom: 6px; }
.header.scrolled .nav-logo img { height: 60px; }
.nav-logo .brand-text strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; line-height: 1.1; }
.nav-logo .brand-text small { color: var(--orange); font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a {
  font-weight: 500; font-size: 0.95rem; position: relative; padding: 6px 0;
  transition: var(--transition);
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--orange); transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--orange); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

/* Apply button inside nav — balanced padding so text isn't cramped */
.nav-menu .btn { padding: 12px 26px; border-radius: 10px; }
.nav-menu .btn:hover, .nav-menu .btn.active { color: #fff; }
.nav-menu .btn::after { display: none; }

.nav-toggle { display: none; font-size: 1.6rem; background: none; border: none; color: var(--navy); cursor: pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(13,24,46,0.93) 0%, rgba(20,33,61,0.85) 55%, rgba(242,101,34,0.55) 130%),
    radial-gradient(circle at 80% 20%, rgba(242,101,34,0.35), transparent 45%);
  background-color: var(--navy);
  color: #fff;
  padding: 110px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "🏆";
  position: absolute; right: -30px; top: 40px;
  font-size: 22rem; opacity: 0.05; transform: rotate(-12deg);
}
.hero-inner { max-width: 760px; position: relative; z-index: 2; }
.hero .tag {
  display: inline-block; background: rgba(242,101,34,0.18); color: #ffd9c2;
  border: 1px solid rgba(242,101,34,0.5); padding: 7px 18px; border-radius: 50px;
  font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); color: #fff; margin-bottom: 20px; }
.hero h1 .hl { color: var(--orange); }
.hero p { font-size: 1.15rem; color: #d7deec; margin-bottom: 34px; max-width: 620px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--off-white); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-card { padding: 22px; }
.stat-card .num { font-family: var(--font-head); font-size: 2.8rem; color: var(--orange); font-weight: 700; }
.stat-card .label { color: var(--navy); font-weight: 500; margin-top: 4px; }

/* ============================================================
   ABOUT SNAPSHOT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual {
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  border-radius: var(--radius); padding: 50px; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg);
}
.about-visual img { height: 180px; margin: 0 auto 18px; border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,0.4); }
.about-visual .badge-row { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.about-visual .badge-row span { background: rgba(255,255,255,0.12); padding: 6px 14px; border-radius: 40px; font-size: 0.8rem; }
.about-text .eyebrow { color: var(--orange); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; }
.about-text h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 12px 0 18px; }
.about-text p { color: var(--gray); margin-bottom: 16px; }
.about-points { display: grid; gap: 12px; margin: 22px 0 28px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; }
.about-points .tick { color: var(--green); font-weight: 700; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 24px; }
.cat-card {
  background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius);
  padding: 30px 26px; transition: var(--transition); position: relative; overflow: hidden;
}
.cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--orange), var(--gold)); transform: scaleX(0);
  transform-origin: left; transition: var(--transition);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card:hover::before { transform: scaleX(1); }
.cat-card .ico {
  width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.7rem; background: rgba(242,101,34,0.12); margin-bottom: 18px;
}
.cat-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.cat-card p { color: var(--gray); font-size: 0.92rem; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--navy); color: #fff; }
.how .section-head h2 { color: #fff; }
.how .section-head p { color: #c3cce0; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.step {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: var(--transition);
}
.step:hover { background: rgba(242,101,34,0.12); border-color: rgba(242,101,34,0.4); transform: translateY(-6px); }
.step .step-num {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--orange); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700;
}
.step h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: #c3cce0; font-size: 0.9rem; }

/* ============================================================
   FEATURED RECORD HOLDERS
   ============================================================ */
.holders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr)); gap: 26px; }
.holder-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-light);
}
.holder-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.holder-card .photo {
  height: 200px; background: linear-gradient(135deg, var(--navy), var(--navy-700));
  display: grid; place-items: center; color: #fff; font-size: 4rem; position: relative;
}
.holder-card .photo .cat-tag {
  position: absolute; top: 14px; left: 14px; background: var(--orange);
  font-family: var(--font-body); font-size: 0.72rem; padding: 4px 12px; border-radius: 40px; font-weight: 600;
}
.holder-card .info { padding: 22px; }
.holder-card .info h3 { font-size: 1.15rem; margin-bottom: 6px; }
.holder-card .info .record { color: var(--orange); font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }
.holder-card .info p { color: var(--gray); font-size: 0.9rem; }
.holder-card .info .meta { margin-top: 14px; font-size: 0.8rem; color: var(--gray); display: flex; justify-content: space-between; border-top: 1px solid var(--gray-light); padding-top: 12px; }

/* ============================================================
   WHY / FEATURES
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 26px; }
.why-card { text-align: center; padding: 30px 24px; border-radius: var(--radius); transition: var(--transition); }
.why-card:hover { background: var(--off-white); }
.why-card .ico {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  font-size: 1.8rem; background: rgba(46,139,61,0.12); color: var(--green);
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { color: var(--gray); font-size: 0.92rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { background: var(--off-white); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 26px; }
.testi-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); position: relative; }
.testi-card::before { content: "\201C"; font-family: var(--font-head); font-size: 5rem; color: var(--orange); opacity: 0.18; position: absolute; top: 6px; left: 20px; }
.testi-card p { color: var(--navy-700); font-style: italic; margin-bottom: 20px; position: relative; z-index: 1; }
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 600; }
.testi-card .who strong { display: block; font-size: 0.95rem; }
.testi-card .who small { color: var(--gray); }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta {
  background: linear-gradient(120deg, var(--orange), var(--orange-600));
  color: #fff; text-align: center;
}
.cta h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 14px; }
.cta p { max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; opacity: 0.95; }
.cta .btn-navy { background: var(--navy); }
.cta .btn-navy:hover { background: var(--navy-900); }

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  background: linear-gradient(120deg, rgba(13,24,46,0.92), rgba(20,33,61,0.85)), var(--navy);
  color: #fff; padding: 70px 0; text-align: center; position: relative; overflow: hidden;
}
.page-banner::after { content: "🏆"; position: absolute; right: 5%; top: 50%; transform: translateY(-50%) rotate(-10deg); font-size: 9rem; opacity: 0.06; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.breadcrumb { color: #c3cce0; font-size: 0.9rem; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* ============================================================
   FORMS (apply / contact)
   ============================================================ */
.form-wrap {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 40px; border: 1px solid var(--gray-light);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 0.9rem; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1.5px solid var(--gray-light); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.95rem; transition: var(--transition); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,101,34,0.12); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--gray); margin-top: 6px; }
.form-success {
  display: none; background: rgba(46,139,61,0.12); color: var(--green); border: 1px solid var(--green);
  padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500;
}
.form-success.show { display: block; }

/* info column next to forms */
.info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 38px; }
.info-card h3 { color: #fff; margin-bottom: 20px; }
.info-card .info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.info-card .info-item .ico { font-size: 1.3rem; color: var(--orange); }
.info-card .info-item strong { display: block; }
.info-card .info-item span { color: #c3cce0; font-size: 0.9rem; }

.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 34px; align-items: start; }

/* guidelines list */
.guidelines li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.guidelines .n { background: var(--orange); color: #fff; min-width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; }

/* ---------- Filter bar (record holders) ---------- */
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-bar button {
  padding: 9px 20px; border-radius: 50px; border: 1.5px solid var(--gray-light); background: #fff;
  font-family: var(--font-body); font-weight: 500; cursor: pointer; transition: var(--transition); font-size: 0.9rem;
}
.filter-bar button:hover { border-color: var(--orange); color: var(--orange); }
.filter-bar button.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* mission / vision cards */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 10px; }
.mv-card { border-radius: var(--radius); padding: 36px; border: 1px solid var(--gray-light); }
.mv-card.mission { background: rgba(242,101,34,0.06); }
.mv-card.vision { background: rgba(46,139,61,0.06); }
.mv-card .ico { font-size: 2rem; margin-bottom: 14px; }
.mv-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.mv-card p { color: var(--gray); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 26px; }
.team-card { text-align: center; background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 30px 20px; transition: var(--transition); }
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.team-card .av { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--navy), var(--orange)); color: #fff; display: grid; place-items: center; font-size: 2rem; font-family: var(--font-head); }
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role { color: var(--orange); font-size: 0.85rem; font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-900); color: #aab4cc; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; }
.footer h4 { color: #fff; margin-bottom: 18px; font-family: var(--font-body); font-size: 1.05rem; }
.footer-brand img { height: 96px; margin-bottom: 16px; background: #fff; border-radius: 10px; padding: 6px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.92rem; transition: var(--transition); }
.footer-links a:hover { color: var(--orange); padding-left: 5px; }
.footer .news-form { display: flex; margin-top: 14px; background: rgba(255,255,255,0.08); border-radius: 50px; overflow: hidden; padding: 4px; }
.footer .news-form input { flex: 1; background: none; border: none; color: #fff; padding: 10px 16px; font-family: var(--font-body); }
.footer .news-form input::placeholder { color: #8893ab; }
.footer .news-form input:focus { outline: none; }
.footer .news-form button { background: var(--orange); border: none; color: #fff; border-radius: 50px; padding: 0 20px; cursor: pointer; font-weight: 600; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: var(--transition); color: #fff; }
.social-row a svg { width: 26px; height: 26px; fill: currentColor; display: block; }
.social-row a.s-fb { color: #4a93ff; }
.social-row a.s-yt { color: #ff4d4d; }
.social-row a.s-fb:hover { background: #1877F2; color: #fff; transform: translateY(-3px); }
.social-row a.s-yt:hover { background: #FF0000; color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 50px; padding: 22px 0; text-align: center; font-size: 0.85rem; }
.footer-bottom a { color: var(--orange); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .about-grid, .two-col, .mv-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-visual { order: -1; }
}

@media (max-width: 760px) {
  section { padding: 56px 0; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 22px;
    box-shadow: var(--shadow); max-height: 0; overflow: hidden; transition: max-height 0.35s ease; padding-top: 0; padding-bottom: 0;
  }
  .nav-menu.open { max-height: 480px; padding: 14px 22px; }
  .nav-menu a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--gray-light); }
  .nav-menu a::after { display: none; } /* no sliding underline inside the mobile dropdown */
  .nav-menu .current-menu-item > a, .nav-menu .current_page_item > a { color: var(--orange); }
  .nav-menu .btn { margin-top: 14px; border-bottom: 0; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar .tb-contact { display: none; }
  .topbar .container { justify-content: center; }
  .announce-bar .container { padding: 8px 36px; }
  .announce-bar p { font-size: 0.8rem; }
  .hero-offer { max-width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 80px; }
  .announce-bar p { font-size: 0.74rem; line-height: 1.45; }
  .announce-close { right: 10px; }
  .form-wrap, .info-card { padding: 26px 20px; }
}

/* ============================================================
   FREE CERTIFICATE OFFER — announcement bar, hero line,
   home offer section, apply-page banner
   ============================================================ */
.announce-bar { background: linear-gradient(90deg, var(--orange), var(--gold)); color: #fff; font-size: 0.9rem; font-weight: 500; }
.announce-bar .container { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 44px; position: relative; }
.announce-bar p { margin: 0; text-align: center; }
.announce-bar a { color: #fff; text-decoration: underline; font-weight: 700; white-space: nowrap; }
.announce-bar a:hover { color: var(--navy); }
.announce-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #fff; font-size: 1rem; cursor: pointer; opacity: 0.85; line-height: 1; }
.announce-close:hover { opacity: 1; }
.announce-bar.hide { display: none; }

.hero-offer {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(242,101,34,0.55);
  padding: 11px 18px; border-radius: 10px;
  font-size: 0.98rem !important; color: #fff !important; margin: 0 0 30px !important;
}
.hero-offer strong { color: var(--orange); }

.offer { background: linear-gradient(120deg, var(--navy), var(--navy-700)); color: #fff; }
.offer-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: center; }
.offer-text .eyebrow { color: var(--orange); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; }
.offer-text h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 12px 0 16px; }
.offer-text h2 span { color: var(--orange); }
.offer-text p { color: #c3cce0; margin-bottom: 20px; }
.offer-points { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-bottom: 28px; }
.offer-points li { display: flex; gap: 8px; align-items: center; color: #e7ecf6; font-size: 0.92rem; }
.offer-points .tick { color: var(--green); font-weight: 700; }
.offer-badge { text-align: center; }
.offer-badge .ring {
  width: 200px; height: 200px; margin: 0 auto; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-600));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 20px 50px rgba(242,101,34,0.4); border: 6px solid rgba(255,255,255,0.15);
}
.offer-badge .ring strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.offer-badge .ring small { display: block; letter-spacing: 2px; font-size: 0.8rem; margin-top: 4px; }

.apply-offer {
  background: rgba(46,139,61,0.12); border: 1px solid var(--green); color: #1f6b2c;
  padding: 14px 20px; border-radius: 12px; margin-bottom: 26px; font-weight: 500;
  display: flex; gap: 10px; align-items: center;
}
.apply-offer strong { color: var(--green); }

@media (max-width: 980px) {
  .offer-inner { grid-template-columns: 1fr; text-align: center; }
  .offer-points { justify-content: center; }
  .offer-badge { order: -1; }
}

/* ============================================================
   MEDIA PARTNERS
   ============================================================ */
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.partner-card {
  background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius);
  padding: 26px 22px; display: grid; place-items: center; min-height: 130px; transition: var(--transition);
}
.partner-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.partner-card img { max-height: 72px; width: auto; object-fit: contain; }
@media (max-width: 760px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .partners-grid { grid-template-columns: 1fr; } }

/* ============================================================
   LEGAL / POLICY CONTENT
   ============================================================ */
.legal { max-width: 860px; margin: 0 auto; }
.legal .updated { color: var(--gray); font-size: 0.9rem; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--gray-light); }
.legal h2 {
  font-size: 1.4rem; margin: 36px 0 14px; color: var(--navy);
  display: flex; align-items: baseline; gap: 12px;
}
.legal h2 .num { color: var(--orange); font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; }
.legal p { color: var(--gray); margin-bottom: 14px; }
.legal ul { margin: 0 0 16px; padding: 0; }
.legal ul li { color: var(--gray); margin-bottom: 10px; display: flex; gap: 12px; align-items: flex-start; }
.legal ul li::before { content: "▸"; color: var(--orange); font-weight: 700; line-height: 1.6; }
.legal strong { color: var(--navy); }
.legal a { color: var(--orange); font-weight: 500; }
.legal .note-box {
  background: var(--off-white); border-left: 4px solid var(--orange); border-radius: 8px;
  padding: 18px 20px; margin: 8px 0 22px; color: var(--navy-700);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-light); border-radius: 12px; margin-bottom: 14px; background: #fff; transition: var(--transition); }
.faq-item.open { box-shadow: var(--shadow); border-color: transparent; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 22px; font-family: var(--font-body); font-size: 1.02rem; font-weight: 600;
  color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .ic { color: var(--orange); font-size: 1.6rem; line-height: 1; transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p { padding: 0 22px 20px; color: var(--gray); margin: 0; }
.faq-a p a { color: var(--orange); }

/* ============================================================
   WORDPRESS INTEGRATION
   ============================================================ */
/* Nav menu produced by wp_nav_menu (li items inside .nav-menu) */
.nav-menu li { list-style: none; }
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a,
.nav-menu .current-menu-parent > a { color: var(--orange); }
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after { width: 100%; }

/* Keep the sticky header below the WP admin bar */
.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .header { top: 46px; } }

/* Record-holder featured image inside the card photo */
.holder-card .photo { position: relative; }
.holder-card .photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.holder-card .info .desc { color: var(--gray); font-size: 0.9rem; }

/* Pagination + accessibility helpers */
.pagination, .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers, .nav-links .page-numbers {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
  border: 1.5px solid var(--gray-light); border-radius: 10px; color: var(--navy); font-weight: 600;
}
.pagination .page-numbers.current, .nav-links .page-numbers.current { background: var(--orange); color: #fff; border-color: var(--orange); }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.alignwide { max-width: 1180px; margin-left: auto; margin-right: auto; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Form error notice (matches .form-success styling) */
.form-error { display: none; background: rgba(242,101,34,0.10); color: #b23b0e; border: 1px solid var(--orange); padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.form-error.show { display: block; }

/* Newsletter status message (footer) */
.footer .news-msg { display: none; font-size: 0.82rem; margin-top: 10px; color: #7ee08c; }
.footer .news-msg.show { display: block; }
.footer .news-msg.is-error { color: #ffb38a; }

/* Certificate verification result */
.verify-box { border-radius: 12px; padding: 18px 20px; margin-bottom: 22px; }
.verify-box.valid { background: rgba(46,139,61,0.10); border: 1px solid var(--green); }
.verify-box.invalid { background: rgba(242,101,34,0.10); border: 1px solid var(--orange); }
.verify-box .vb-head { font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.verify-box.valid .vb-head { color: #1f6b2c; }
.verify-box.invalid .vb-head { color: #b23b0e; }
.verify-box .vb-desc { color: var(--navy-700); font-style: italic; margin: 0 0 12px; }
.verify-box table { width: 100%; border-collapse: collapse; }
.verify-box td { padding: 6px 0; font-size: 0.92rem; color: var(--navy); border-bottom: 1px solid rgba(20,33,61,0.08); vertical-align: top; }
.verify-box td:first-child { font-weight: 600; width: 42%; }
.verify-box code { background: rgba(20,33,61,0.06); padding: 2px 8px; border-radius: 6px; }
