/* ===========================================================
   Private Exam Centre — GCSE Exam Page
   Design tokens shared with the About Us page
=========================================================== */

:root{
  --orange:#F1791C;
  --orange-light:#FF9A4D;
  --orange-dark:#D9670F;
  --navy:#0E1626;
  --navy-2:#182238;
  --navy-3:#212C46;
  --ink:#16233F;
  --slate:#647087;
  --mint:#EAF6EA;
  --mint-text:#2C7A39;
  --line:rgba(22,35,63,0.10);
  --white:#FFFFFF;

  --radius-sm:12px;
  --radius-md:18px;
  --radius-lg:26px;
  --shadow-sm:0 6px 20px rgba(16,25,44,0.05);
  --shadow-md:0 12px 30px rgba(16,25,44,0.08);
  --shadow-lg:0 20px 46px rgba(16,25,44,0.14);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--white);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4,h5{ font-family:'Poppins',sans-serif; margin:0; color:var(--ink); }
p{ margin:0; line-height:1.7; color:var(--slate); }
a{ text-decoration:none; color:inherit; }
ul{ margin:0; padding:0; list-style:none; }
img{ max-width:100%; display:block; }
section{ position:relative; }

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

/* ---------- reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- eyebrow ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--mint); color:var(--mint-text);
  font-size:12.5px; font-weight:700; padding:7px 18px;
  border-radius:30px; margin-bottom:16px;
}
.eyebrow.on-dark{ background:rgba(241,121,28,0.16); color:var(--orange-light); }
.eyebrow.on-orange{ background:rgba(255,255,255,0.85); color:var(--orange-dark); }

/* ---------- logo ---------- */
.logo{ display:inline-flex; align-items:baseline; gap:2px; font-family:'Poppins',sans-serif; font-weight:800; font-size:26px; letter-spacing:-0.02em; }
.logo .p{ color:var(--ink); } .logo .e{ color:var(--orange); } .logo .c{ color:var(--ink); }
.logo .swirl{ color:var(--orange); font-size:20px; margin-left:1px; }
.logo.on-dark .p,.logo.on-dark .c{ color:var(--white); }

/* ---------- buttons ---------- */
.pill-btn{
  display:inline-flex; align-items:center; gap:14px; background:var(--white); color:var(--ink);
  font-weight:600; font-size:14.5px; padding:8px 8px 8px 26px; border-radius:40px;
  box-shadow:var(--shadow-md); transition:transform .2s ease, box-shadow .2s ease;
  border:none; cursor:pointer;
}
.pill-btn:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); color:var(--ink); }
.pill-btn .circle{ width:36px; height:36px; border-radius:50%; background:var(--orange); display:flex; align-items:center; justify-content:center; flex:none; }
.pill-btn .circle i{ color:var(--white); font-size:14px; }
.pill-btn.dark{ background:var(--navy); color:var(--white); }

.btn-outline-pec{
  display:inline-flex; align-items:center; gap:10px;
  background:transparent; color:var(--white); border:1.5px solid rgba(255,255,255,0.5);
  font-weight:600; font-size:14.5px; padding:14px 26px; border-radius:40px;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-outline-pec:hover{ background:rgba(255,255,255,0.12); border-color:#fff; color:#fff; transform:translateY(-3px); }
.btn-outline-pec.dark-text{ color:var(--ink); border-color:rgba(22,35,63,0.25); }
.btn-outline-pec.dark-text:hover{ background:rgba(22,35,63,0.05); border-color:var(--ink); color:var(--ink); }

.btn-cta-solid{
  display:inline-flex; align-items:center; gap:10px;
  background:var(--orange); color:var(--white); font-weight:600; font-size:14.5px;
  padding:15px 28px; border-radius:40px; border:none; cursor:pointer;
  box-shadow:0 14px 30px rgba(241,121,28,0.3);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-cta-solid:hover{ transform:translateY(-3px); background:var(--orange-dark); color:#fff; }

/* ===========================================================
   HEADER
=========================================================== */
header.site-header{ padding:20px 0 0; }
.topbar-shell{
  max-width:1136px; margin:0 auto; background:var(--white);
  border:1px solid #DCEFDD; border-radius:60px; padding:14px 28px;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  box-shadow:0 12px 30px rgba(16,25,44,0.06);
}
.topbar-links{ display:flex; gap:28px; font-size:13.5px; font-weight:600; color:var(--ink); }
.topbar-links a:hover{ color:var(--orange); }
.call-btn{ display:inline-flex; align-items:center; gap:9px; background:var(--orange); color:var(--white); font-size:13px; font-weight:600; padding:11px 20px; border-radius:30px; }
.call-btn i{ font-size:13px; }
.call-btn:hover{ background:var(--orange-dark); color:#fff; }

.navbar-mint{ background:var(--mint); margin-top:14px; }
.navbar-mint .container-pec{ display:flex; justify-content:center; gap:34px; padding:13px 32px; font-size:13.5px; font-weight:600; color:var(--ink); flex-wrap:wrap; }
.navbar-mint a{ display:flex; align-items:center; gap:5px; }
.navbar-mint a:hover{ color:var(--orange); }
.navbar-mint .active{ color:var(--orange); }
.navbar-mint .caret{ font-size:9px; opacity:.6; }

.breadcrumb-pec{ max-width:1200px; margin:16px auto 0; padding:0 32px 18px; font-size:13px; color:var(--slate); }
.breadcrumb-pec .sep{ margin:0 6px; color:#c7cede; }
.breadcrumb-pec .current{ color:var(--ink); font-weight:600; }

/* ===========================================================
   HERO
=========================================================== */
.gcse-hero{
  position:relative;
  background:linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 55%, #2a2116 100%);
  padding:88px 0 100px;
  overflow:hidden;
}
.gcse-hero::before{
  content:""; position:absolute; top:-160px; right:-140px; width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle, rgba(241,121,28,0.35), transparent 70%);
}
.gcse-hero::after{
  content:""; position:absolute; bottom:-180px; left:-120px; width:460px; height:460px; border-radius:50%;
  background:radial-gradient(circle, rgba(241,121,28,0.16), transparent 70%);
}
.hero-grid{ position:relative; display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
.gcse-hero h1{
  color:var(--white); font-size:clamp(30px,4vw,46px); font-weight:700; line-height:1.16; margin:16px 0 20px;
}
.gcse-hero h1 span{ color:var(--orange-light); }
.gcse-hero p.lead{ color:rgba(255,255,255,0.72); font-size:16px; max-width:52ch; margin-bottom:32px; }

.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:40px; }

.trust-badges{ display:flex; gap:14px; flex-wrap:wrap; }
.trust-badges span{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.14);
  color:rgba(255,255,255,0.85); font-size:12.5px; font-weight:600;
  padding:9px 16px; border-radius:30px;
}
.trust-badges i{ color:var(--orange-light); font-size:12px; }

/* hero illustration */
.hero-illustration{ position:relative; display:flex; align-items:center; justify-content:center; }
.hero-illustration svg{ width:100%; max-width:420px; height:auto; }
.hero-illustration::after{
  content:""; position:absolute; inset:8%; border-radius:50%;
  background:radial-gradient(circle, rgba(241,121,28,0.22), transparent 70%); z-index:-1;
}
.floating-chip{
  position:absolute; background:rgba(255,255,255,0.1); backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,0.2); border-radius:14px; padding:12px 16px;
  display:flex; align-items:center; gap:10px; color:#fff; font-size:12.5px; font-weight:600;
  animation:float 5s ease-in-out infinite;
}
.floating-chip i{ color:var(--orange-light); }
.floating-chip.chip-1{ top:6%; left:-4%; animation-delay:0s; }
.floating-chip.chip-2{ bottom:10%; right:-6%; animation-delay:1.2s; }
@keyframes float{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-10px);} }
@media (prefers-reduced-motion: reduce){ .floating-chip{ animation:none; } }

/* ===========================================================
   SECTION HEAD (generic)
=========================================================== */
.section-head{ text-align:center; max-width:660px; margin:0 auto 52px; }
.section-head h2{ font-size:clamp(26px,3.1vw,36px); line-height:1.2; margin-bottom:12px; }
.section-head p{ font-size:15.5px; }

/* ===========================================================
   SUBJECTS
=========================================================== */
.subjects-section{ padding:96px 0 90px; }
.subject-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.subject-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:26px 24px; box-shadow:var(--shadow-sm);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.subject-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:rgba(241,121,28,0.3); }
.subject-card .cat-icon{
  width:46px; height:46px; border-radius:13px;
  background:linear-gradient(135deg, var(--orange), var(--orange-dark));
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.subject-card .cat-icon i{ color:#fff; font-size:19px; }
.subject-card h4{ font-size:16.5px; margin-bottom:12px; }
.subject-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.subject-chips span{
  background:var(--mint); color:var(--mint-text); font-size:12px; font-weight:600;
  padding:6px 12px; border-radius:20px;
}
.subjects-cta{ text-align:center; margin-top:48px; }

/* ===========================================================
   WHY STUDY GCSES — feature cards
=========================================================== */
.why-study{ background:var(--mint); padding:92px 0 96px; }
.why-study .section-head .eyebrow{ background:rgba(255,255,255,0.7); }
.feature-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.feature-card{
  background:var(--white); border-radius:var(--radius-md); padding:32px 26px;
  box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.feature-card .icon-circle{
  width:52px; height:52px; border-radius:50%;
  background:linear-gradient(135deg, var(--orange), var(--orange-dark));
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.feature-card .icon-circle i{ color:#fff; font-size:20px; }
.feature-card h4{ font-size:17px; margin-bottom:10px; }
.feature-card p{ font-size:14px; }

/* ===========================================================
   RESOURCES
=========================================================== */
.resources-section{ padding:96px 0 90px; }
.resource-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.resource-card{
  position:relative; border-radius:var(--radius-md); padding:34px 28px;
  background:var(--navy-2); overflow:hidden; box-shadow:var(--shadow-md);
  transition:transform .25s ease, box-shadow .25s ease;
}
.resource-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.resource-card::before{
  content:""; position:absolute; top:-60px; right:-60px; width:180px; height:180px; border-radius:50%;
  background:radial-gradient(circle, rgba(241,121,28,0.25), transparent 70%);
}
.resource-card .icon-circle{
  position:relative; width:52px; height:52px; border-radius:14px;
  background:rgba(241,121,28,0.18); display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.resource-card .icon-circle i{ color:var(--orange-light); font-size:21px; }
.resource-card h4{ position:relative; color:var(--white); font-size:18px; margin-bottom:10px; }
.resource-card p{ position:relative; color:rgba(255,255,255,0.62); font-size:14px; margin-bottom:22px; }
.resource-card a.link-cta{
  position:relative; display:inline-flex; align-items:center; gap:8px;
  color:var(--orange-light); font-weight:600; font-size:13.5px;
}
.resource-card a.link-cta i{ font-size:11px; transition:transform .2s ease; }
.resource-card a.link-cta:hover i{ transform:translateX(4px); }

/* ===========================================================
   REGISTRATION TIMELINE
=========================================================== */
.timeline-section{ padding:96px 0 100px; background:var(--mint); }
.timeline-section .section-head .eyebrow{ background:rgba(255,255,255,0.7); }
.timeline-grid{ position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.timeline-grid::before{
  content:""; position:absolute; top:34px; left:10%; right:10%; height:2px;
  background:repeating-linear-gradient(to right, var(--orange) 0 10px, transparent 10px 18px);
  z-index:0;
}
.timeline-step{ position:relative; background:var(--white); border-radius:var(--radius-md); padding:30px 22px 26px; box-shadow:var(--shadow-sm); text-align:left; transition:transform .25s ease, box-shadow .25s ease; }
.timeline-step:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.step-num{
  width:40px; height:40px; border-radius:50%; background:var(--navy); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-family:'Poppins',sans-serif; font-weight:700; font-size:15px;
  margin-bottom:18px; position:relative; z-index:1;
}
.timeline-step h4{ font-size:15.5px; margin-bottom:8px; }
.timeline-step p{ font-size:13.5px; }

/* ===========================================================
   BANNER CTA
=========================================================== */
.banner-cta{ padding:0 0 96px; }
.banner-cta-box{
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  background:linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding:64px 56px; display:flex; align-items:center; justify-content:space-between; gap:36px; flex-wrap:wrap;
}
.banner-cta-box::before{
  content:""; position:absolute; top:-90px; right:6%; width:220px; height:220px; border-radius:50%;
  background:rgba(255,255,255,0.12);
}
.banner-cta-box::after{
  content:""; position:absolute; bottom:-100px; left:12%; width:180px; height:180px; border-radius:50%;
  background:rgba(255,255,255,0.08);
}
.banner-cta-box h2{ position:relative; color:var(--white); font-size:clamp(24px,2.8vw,32px); max-width:16ch; line-height:1.2; }
.banner-cta-box p{ position:relative; color:rgba(255,255,255,0.85); max-width:38ch; margin-top:10px; font-size:14.5px; }
.banner-cta-actions{ position:relative; display:flex; gap:14px; flex-wrap:wrap; }
.banner-cta-box .pill-btn .circle{ background:var(--navy); }

/* ===========================================================
   WHY CHOOSE PEC
=========================================================== */
.why-choose{ padding:96px 0 90px; }
.choose-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.choose-card{
  display:flex; gap:18px; align-items:flex-start; background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius-md); padding:28px 24px; box-shadow:var(--shadow-sm);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.choose-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:rgba(241,121,28,0.3); }
.choose-card .icon-circle{
  flex:none; width:46px; height:46px; border-radius:13px;
  background:linear-gradient(135deg, var(--orange), var(--orange-dark));
  display:flex; align-items:center; justify-content:center;
}
.choose-card .icon-circle i{ color:#fff; font-size:18px; }
.choose-card h4{ font-size:16px; margin-bottom:6px; }
.choose-card p{ font-size:13.5px; }

/* stagger */
.choose-grid .choose-card:nth-child(2){ transition-delay:.05s; }
.choose-grid .choose-card:nth-child(3){ transition-delay:.1s; }
.choose-grid .choose-card:nth-child(4){ transition-delay:.15s; }
.choose-grid .choose-card:nth-child(5){ transition-delay:.2s; }
.choose-grid .choose-card:nth-child(6){ transition-delay:.25s; }

/* ===========================================================
   FAQ
=========================================================== */
.faq-section{ padding:96px 0 100px; background:var(--navy-2); }
.faq-section .section-head h2{ color:var(--white); }
.faq-section .section-head p{ color:rgba(255,255,255,0.6); }
.faq-section .eyebrow{ background:rgba(241,121,28,0.16); color:var(--orange-light); }

.faq-list{ max-width:840px; margin:0 auto; }
.faq-item{
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08);
  border-radius:var(--radius-sm); margin-bottom:14px; overflow:hidden;
}
.faq-question{
  width:100%; text-align:left; background:transparent; border:none; cursor:pointer;
  padding:22px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px;
  color:var(--white); font-family:'Poppins',sans-serif; font-weight:600; font-size:15px;
}
.faq-question .plus{
  flex:none; width:30px; height:30px; border-radius:50%; background:rgba(241,121,28,0.18);
  display:flex; align-items:center; justify-content:center; transition:transform .3s ease, background .3s ease;
}
.faq-question .plus i{ color:var(--orange-light); font-size:12px; }
.faq-item.open .faq-question .plus{ transform:rotate(135deg); background:var(--orange); }
.faq-item.open .faq-question .plus i{ color:#fff; }
.faq-answer{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-answer-inner{ padding:0 24px 22px; color:rgba(255,255,255,0.62); font-size:14px; line-height:1.7; }

/* ===========================================================
   FINAL CTA
=========================================================== */
.final-cta{ padding:100px 0; text-align:center; }
.final-cta h2{ font-size:clamp(28px,3.4vw,40px); max-width:20ch; margin:0 auto 16px; line-height:1.2; }
.final-cta p{ max-width:56ch; margin:0 auto 36px; font-size:16px; }
.final-cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:40px; }
.final-cta .trust-badges{ justify-content:center; }
.final-cta .trust-badges span{ background:var(--mint); border:none; color:var(--mint-text); }
.final-cta .trust-badges i{ color:var(--orange); }

/* ===========================================================
   FOOTER
=========================================================== */
footer.site-footer{ background:var(--navy); padding:72px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.1fr 1fr 1.2fr 1.3fr; gap:30px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,0.08); }
.footer-grid h5{ color:var(--white); font-family:'Poppins',sans-serif; font-weight:600; font-size:15.5px; margin-bottom:20px; }
.footer-grid ul li{ margin-bottom:12px; }
.footer-grid ul li a{ color:rgba(255,255,255,0.62); font-size:13.5px; }
.footer-grid ul li a:hover{ color:var(--orange-light); }
.socials{ display:flex; gap:12px; margin-top:22px; }
.socials a{ width:32px; height:32px; border-radius:50%; border:1px solid rgba(255,255,255,0.18); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.7); }
.socials a i{ font-size:13px; }
.socials a:hover{ background:var(--orange); border-color:var(--orange); color:var(--white); }
.subscribe{ display:flex; margin-top:14px; margin-bottom:24px; }
.subscribe input{ flex:1; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14); border-radius:8px 0 0 8px; padding:12px 14px; color:var(--white); font-size:13.5px; font-family:'Inter',sans-serif; }
.subscribe input::placeholder{ color:rgba(255,255,255,0.4); }
.subscribe button{ background:var(--orange); color:var(--white); border:none; padding:0 20px; border-radius:0 8px 8px 0; font-weight:600; font-size:13.5px; font-family:'Inter',sans-serif; cursor:pointer; }
.contact-lines li{ display:flex; align-items:center; gap:10px; color:rgba(255,255,255,0.68); font-size:13.5px; margin-bottom:12px; }
.contact-lines i{ color:var(--orange-light); width:16px; }
.footer-bottom{ background:var(--white); display:flex; align-items:center; justify-content:space-between; padding:20px 40px; }
.footer-bottom .copyright{ font-size:13px; color:var(--slate); }
section.banner-cta {
    padding-top: 50px;
}
/* ===========================================================
   RESPONSIVE
=========================================================== */
@media (max-width:1080px){
  .subject-grid{ grid-template-columns:repeat(3,1fr); }
  .feature-grid{ grid-template-columns:repeat(2,1fr); }
  .choose-grid{ grid-template-columns:repeat(2,1fr); }
  .timeline-grid{ grid-template-columns:repeat(2,1fr); }
  .timeline-grid::before{ display:none; }
}
@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-illustration{ order:-1; max-width:340px; margin:0 auto; }
  .resource-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .topbar-links{ display:none; }
}
@media (max-width:680px){
  .container-pec{ padding:0 20px; }
  .topbar-shell{ border-radius:24px; padding:14px 18px; }
  .navbar-mint .container-pec{ gap:16px; padding:12px 20px; }
  .subject-grid{ grid-template-columns:1fr 1fr; }
  .feature-grid{ grid-template-columns:1fr; }
  .choose-grid{ grid-template-columns:1fr; }
  .timeline-grid{ grid-template-columns:1fr; }
  .resource-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .banner-cta-box{ padding:40px 28px; flex-direction:column; align-items:flex-start; }
  .footer-bottom{ flex-direction:column; gap:14px; text-align:center; padding:20px; }
  .hero-ctas{ flex-direction:column; align-items:flex-start; }
}

a:focus-visible, button:focus-visible{ outline:2px solid var(--orange); outline-offset:2px; }
