/* ==========================================================================
   Restart Education UK — Design System (Blue & White)
   ========================================================================== */
:root{
  --blue-900:#06224a;
  --blue-800:#0c3b7a;
  --blue-700:#0c4a8a;
  --blue-600:#1763c6;
  --blue-500:#2f7ee0;
  --blue-400:#5a9bf0;
  --blue-100:#e8f1fc;
  --blue-50:#f4f8fd;
  --ink:#0f1b2d;
  --ink-2:#37475a;
  --muted:#6b7a90;
  --line:#e3eaf3;
  --white:#ffffff;
  --cream:#fbfcfe;
  --accent:#ffb703;
  --radius:14px;
  --shadow-sm:0 1px 2px rgba(12,59,122,.06), 0 2px 8px rgba(12,59,122,.06);
  --shadow-md:0 10px 30px -12px rgba(12,59,122,.25);
  --shadow-lg:0 24px 60px -20px rgba(12,59,122,.35);
  --container:1200px;
  --font-head:'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body);color:var(--ink);background:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue-700);text-decoration:none}
a:hover{color:var(--blue-600)}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--ink);line-height:1.15;margin:0 0 .5em;font-weight:600;letter-spacing:-.01em}
h1{font-size:clamp(2rem,4.2vw,3.4rem)}
h2{font-size:clamp(1.6rem,3vw,2.4rem)}
h3{font-size:1.35rem}
p{margin:0 0 1em}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}
.section{padding:72px 0}
.section-sm{padding:48px 0}
.eyebrow{display:inline-block;font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:var(--blue-600);background:var(--blue-100);padding:6px 12px;border-radius:999px}
.lead{font-size:1.15rem;color:var(--ink-2);max-width:62ch}
.center{text-align:center}.mx-auto{margin-left:auto;margin-right:auto}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:14px 26px;border-radius:999px;font-weight:600;font-size:1rem;border:2px solid transparent;cursor:pointer;transition:all .2s ease;line-height:1}
.btn-primary{background:linear-gradient(135deg,var(--blue-700),var(--blue-500));color:#fff;box-shadow:var(--shadow-md)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);color:#fff}
.btn-secondary{background:#fff;color:var(--blue-700);border-color:var(--blue-700)}
.btn-secondary:hover{background:var(--blue-700);color:#fff}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.btn-ghost:hover{background:#fff;color:var(--blue-700)}
.btn-lg{padding:16px 32px;font-size:1.05rem}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--line)}
.topbar{background:var(--blue-900);color:#cfe1fb;font-size:.85rem}
.topbar .container{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:8px;padding-bottom:8px;flex-wrap:wrap}
.topbar a{color:#e8f1fc}
.topbar .tb-right{display:flex;gap:18px;flex-wrap:wrap}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:24px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:54px;width:auto}
.brand-text{display:none;flex-direction:column;line-height:1}
.brand-text strong{font-family:var(--font-head);font-size:1.15rem;color:var(--blue-800)}
.brand-text span{font-size:.72rem;color:var(--muted);letter-spacing:.12em;text-transform:uppercase}
.menu{display:flex;gap:6px;align-items:center;list-style:none;margin:0;padding:0}
.menu a{padding:10px 14px;border-radius:8px;font-weight:500;color:var(--ink-2)}
.menu a:hover,.menu .current-menu-item>a,.menu a[aria-current="page"]{color:var(--blue-700);background:var(--blue-50)}
.nav-cta{display:flex;gap:10px;align-items:center}
.hamburger{display:none;background:none;border:0;padding:8px;cursor:pointer}
.hamburger span{display:block;width:24px;height:2px;background:var(--ink);margin:5px 0;transition:.2s}

/* Hero */
.hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(135deg,var(--blue-900),var(--blue-700) 55%,var(--blue-500))}
.hero::after{content:"";position:absolute;inset:0;background:radial-gradient(1000px 500px at 90% 10%,rgba(255,255,255,.18),transparent 60%);pointer-events:none}
.hero .container{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;padding-top:80px;padding-bottom:80px}
.hero h1{color:#fff}
.hero .lead{color:#dbe9fb;font-size:1.2rem}
.hero-image{border-radius:20px;overflow:hidden;box-shadow:var(--shadow-lg);aspect-ratio:16/11;background:#0c3b7a}
.hero-image img{width:100%;height:100%;object-fit:cover}
.hero-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.hero-badges span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff;padding:6px 12px;border-radius:999px;font-size:.85rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}

/* Page hero (interior) */
.page-hero{background:linear-gradient(135deg,var(--blue-800),var(--blue-600));color:#fff;padding:72px 0 64px;position:relative}
.page-hero h1{color:#fff;max-width:20ch}
.page-hero p{color:#dbe9fb;max-width:60ch;font-size:1.1rem}
.breadcrumbs{font-size:.85rem;color:#bfd5f3;margin-bottom:14px}
.breadcrumbs a{color:#dbe9fb}

/* Cards & grids */
.grid{display:grid;gap:24px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow-sm);transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.card h3{margin-top:8px}
.card .icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:12px;background:var(--blue-100);color:var(--blue-700);font-size:1.4rem;font-weight:700}
.card.dark{background:linear-gradient(135deg,var(--blue-900),var(--blue-700));color:#fff;border-color:transparent}
.card.dark h3{color:#fff}
.card.dark .icon{background:rgba(255,255,255,.15);color:#fff}

.feature{display:flex;gap:14px;align-items:flex-start}
.feature .check{flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:var(--blue-100);color:var(--blue-700);display:inline-flex;align-items:center;justify-content:center;font-weight:700}

/* Course tiles */
.course-tile{position:relative;border-radius:var(--radius);overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);transition:.2s}
.course-tile:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.course-tile .ct-img{aspect-ratio:16/10;background:var(--blue-100);position:relative;overflow:hidden}
.course-tile .ct-img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(6,34,74,.35))}
.course-tile .ct-body{padding:20px}
.course-tile h3{font-size:1.15rem;margin:0 0 6px}
.course-tile p{color:var(--muted);font-size:.95rem;margin:0}

/* Sections */
.stripe{background:var(--blue-50)}
.stripe-dark{background:linear-gradient(135deg,var(--blue-900),var(--blue-700));color:#fff}
.stripe-dark h2,.stripe-dark h3{color:#fff}
.stripe-dark p{color:#dbe9fb}

/* Stats */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.stat .num{font-family:var(--font-head);font-size:2.4rem;color:var(--blue-700);font-weight:700}
.stripe-dark .stat .num{color:#fff}
.stat .lbl{color:var(--muted);font-size:.92rem;text-transform:uppercase;letter-spacing:.1em}
.stripe-dark .stat .lbl{color:#bfd5f3}

/* CTA band */
.cta-band{background:linear-gradient(135deg,var(--blue-700),var(--blue-500));color:#fff;border-radius:20px;padding:48px;display:grid;grid-template-columns:1.4fr auto;gap:30px;align-items:center;box-shadow:var(--shadow-lg)}
.cta-band h2{color:#fff;margin:0}
.cta-band p{color:#e8f1fc;margin:8px 0 0}

/* FAQ */
.faq details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 22px;margin-bottom:12px;box-shadow:var(--shadow-sm)}
.faq summary{cursor:pointer;font-weight:600;color:var(--ink);list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq summary::after{content:"+";font-size:1.4rem;color:var(--blue-600);margin-left:12px}
.faq details[open] summary::after{content:"−"}
.faq p{margin:12px 0 0;color:var(--ink-2)}

/* Forms */
.form-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:32px;box-shadow:var(--shadow-md)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:14px}
.form-group{margin-bottom:14px;display:flex;flex-direction:column;gap:6px}
.form-group label{font-weight:600;font-size:.92rem;color:var(--ink)}
.form-group .req{color:#c0392b}
.form-control{width:100%;padding:12px 14px;border:1.5px solid var(--line);border-radius:10px;font:inherit;color:var(--ink);background:#fff;transition:border-color .15s,box-shadow .15s}
.form-control:focus{outline:none;border-color:var(--blue-500);box-shadow:0 0 0 4px rgba(47,126,224,.15)}
textarea.form-control{min-height:140px;resize:vertical}
.form-note{font-size:.85rem;color:var(--muted)}
.form-success{background:#e7f7ee;border:1px solid #b8e6c7;color:#1b6b3a;padding:14px 16px;border-radius:10px;margin-bottom:16px}
.form-error{background:#fdecec;border:1px solid #f6c1c1;color:#a4221a;padding:14px 16px;border-radius:10px;margin-bottom:16px}

/* Blog */
.post-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow-sm);transition:.2s;display:flex;flex-direction:column}
.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.post-card .pc-img{aspect-ratio:16/10;background:var(--blue-100)}
.post-card .pc-img img{width:100%;height:100%;object-fit:cover}
.post-card .pc-body{padding:22px;flex:1;display:flex;flex-direction:column}
.post-card .pc-meta{font-size:.82rem;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px}
.post-card h3{font-size:1.2rem;margin:0 0 8px}
.post-card .pc-excerpt{color:var(--ink-2);font-size:.95rem;flex:1}
.post-card .pc-link{margin-top:14px;font-weight:600;color:var(--blue-700)}

/* Footer */
.site-footer{background:var(--blue-900);color:#cfe1fb;padding:64px 0 24px;margin-top:80px}
.site-footer h4{color:#fff;font-family:var(--font-body);font-size:1rem;text-transform:uppercase;letter-spacing:.12em;margin:0 0 14px}
.site-footer a{color:#cfe1fb;display:block;padding:4px 0}
.site-footer a:hover{color:#fff}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding-top:20px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:.85rem;color:#9fb6d6}
.footer-brand img{height:48px;background:rgba(255,255,255,.08);padding:6px 10px;border-radius:10px}
.footer-contact li{list-style:none;display:flex;gap:10px;align-items:flex-start;margin:6px 0}

/* Floating WhatsApp + Chat */
.wa-float{position:fixed;right:22px;bottom:22px;z-index:60;background:#25D366;color:#fff;width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 30px rgba(37,211,102,.45);transition:transform .2s}
.wa-float:hover{transform:scale(1.06);color:#fff}
.wa-float svg{width:32px;height:32px;fill:#fff}

.chat-toggle{position:fixed;right:22px;bottom:92px;z-index:60;background:var(--blue-700);color:#fff;border:0;width:60px;height:60px;border-radius:50%;cursor:pointer;box-shadow:0 10px 30px rgba(12,74,138,.45);display:flex;align-items:center;justify-content:center}
.chat-toggle svg{width:28px;height:28px;fill:#fff}
.chat-panel{position:fixed;right:22px;bottom:162px;z-index:60;width:340px;max-width:calc(100vw - 44px);background:#fff;border-radius:18px;box-shadow:var(--shadow-lg);overflow:hidden;display:none;border:1px solid var(--line)}
.chat-panel.open{display:block}
.chat-head{background:linear-gradient(135deg,var(--blue-700),var(--blue-500));color:#fff;padding:16px 18px}
.chat-head strong{display:block;font-size:1.05rem}
.chat-head span{font-size:.82rem;color:#dbe9fb}
.chat-body{padding:18px;font-size:.95rem;color:var(--ink-2)}
.chat-body .bot{background:var(--blue-50);padding:10px 12px;border-radius:10px;margin-bottom:10px}
.chat-actions{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.chat-actions a{display:flex;gap:8px;align-items:center;padding:10px 12px;border-radius:10px;border:1px solid var(--line);color:var(--ink);font-weight:500}
.chat-actions a:hover{border-color:var(--blue-500);background:var(--blue-50)}

/* Tablet */
@media (max-width: 960px){
  .hero .container{grid-template-columns:1fr;padding-top:48px;padding-bottom:48px}
  .hero-image{order:-1;max-height:340px}
  .grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .stats{grid-template-columns:repeat(2,1fr)}
  .cta-band{grid-template-columns:1fr;text-align:center}
}

/* Mobile */
@media (max-width: 720px){
  .section{padding:56px 0}
  .menu{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid var(--line);flex-direction:column;align-items:stretch;padding:10px 16px 18px}
  .menu.open{display:flex}
  .menu a{padding:12px 10px;border-radius:8px}
  .hamburger{display:block}
  .nav-cta .btn:not(.btn-primary){display:none}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .topbar .container{justify-content:center;text-align:center}
  .cta-band{padding:32px 22px}
  .brand img{height:44px}
}
/* ===== Restart Education fixes ===== */

/* 1. Make logo bigger */
.brand img {
  height: 76px !important;
}

@media (max-width: 720px) {
  .brand img {
    height: 58px !important;
  }
}

/* 2. Better hero styling */
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg, #061b3d 0%, #0c3b7a 48%, #1763c6 100%);
}

.hero .container {
  gap: 64px;
  padding-top: 95px;
  padding-bottom: 95px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.03em;
}

.hero .lead {
  font-size: 1.25rem;
  line-height: 1.75;
}

.hero-image {
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: rotate(1.5deg);
  border: 8px solid rgba(255,255,255,.18);
}

.hero-image img {
  filter: saturate(1.08) contrast(1.04);
}

/* 3. Android mobile spacing fix */
@media (max-width: 720px) {
  .container {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .hero .container,
  .page-hero .container,
  .section .container,
  .section-sm .container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .hero h1,
  .hero p,
  .page-hero h1,
  .page-hero p {
    text-align: left;
  }

  body {
    overflow-x: hidden;
  }
}





/* Fix dropdown/select alignment inside eligibility form */
.form-control,
select.form-control {
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 16px !important;
  line-height: 54px !important;
  display: block;
}

select.form-control {
  appearance: auto;
  -webkit-appearance: menulist;
  background-color: #fff;
}

/* Textarea should not use dropdown height */
textarea.form-control {
  height: auto !important;
  min-height: 150px !important;
  padding: 16px !important;
  line-height: 1.5 !important;
}




/* Eligibility form: align multi-line labels so dropdowns sit on same line */
.form-card .form-row{
  align-items:start;
}

.form-card .form-row .form-group label{
  display:block;
  line-height:1.35;
  min-height:60px;
}



/* =========================================================
   Restart Education UK — New Homepage Hero + Why Section
   ========================================================= */

/* kill old hero visuals only on homepage hero */
.hero-rx.hero{
  background:#ffffff !important;
  color:#0f1b2d;
  overflow:hidden;
  border-bottom:1px solid #e8eef7;
}
.hero-rx.hero::after{display:none !important;}
.hero-rx.hero .container{
  max-width:1320px;
}

/* ------------------------------
   HERO LAYOUT
------------------------------ */
.hero-rx-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.08fr) minmax(420px, .92fr);
  gap:54px;
  align-items:center;
  padding-top:52px;
  padding-bottom:48px;
}

.hero-rx-copy{
  position:relative;
  z-index:2;
}

.hero-rx-eyebrow{
  display:inline-block;
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#1f6fe5;
  margin-bottom:18px;
}

.hero-rx-title{
  margin:0;
  font-family:var(--font-body);
  font-size:clamp(2.6rem, 5vw, 4.9rem);
  line-height:1.02;
  letter-spacing:-.045em;
  font-weight:850;
  color:#0a1830;
}

.hero-rx-title span{
  color:#1d74eb;
}

.hero-rx-lead{
  margin:18px 0 0;
  max-width:660px;
  font-size:1.08rem;
  line-height:1.78;
  color:#526174;
}

/* ------------------------------
   4 HERO POINTS
------------------------------ */
.hero-rx-points{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px 24px;
  margin-top:24px;
  max-width:720px;
}

.hero-rx-point{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-weight:650;
  color:#10223e;
  font-size:1rem;
  line-height:1.45;
}

.hero-rx-check{
  width:24px;
  height:24px;
  flex:0 0 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#e8f1ff;
  color:#1d74eb;
  font-size:.95rem;
  font-weight:800;
  margin-top:1px;
}

/* ------------------------------
   FUNDING BOX
------------------------------ */
.hero-rx-funding{
  margin-top:24px;
  background:linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border:1px solid #d8e6fb;
  border-radius:22px;
  padding:18px 18px 18px 18px;
  box-shadow:0 14px 40px rgba(20, 76, 172, .07);
  max-width:760px;
}

.hero-rx-funding-left{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:16px;
}

.hero-rx-funding-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.35rem;
  background:linear-gradient(135deg, #1c73ea, #0e5fd7);
  color:#fff;
  box-shadow:0 10px 24px rgba(17, 90, 205, .22);
}

.hero-rx-funding-heading{
  font-size:1.02rem;
  line-height:1.35;
  font-weight:800;
  color:#0c2a5d;
}

.hero-rx-funding-right{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.hero-rx-funding-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background:#ffffff;
  border:1px solid #e1ebfa;
  border-radius:18px;
  padding:14px 14px;
}

.hero-rx-funding-mini{
  width:42px;
  height:42px;
  border-radius:14px;
  flex:0 0 42px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.15rem;
  background:#eef5ff;
  color:#1d74eb;
}

.hero-rx-funding-label{
  font-size:.92rem;
  font-weight:800;
  color:#0d2d64;
  margin-bottom:2px;
}

.hero-rx-funding-value{
  font-size:1.28rem;
  line-height:1.1;
  font-weight:900;
  color:#1168e6;
  letter-spacing:-.02em;
}

.hero-rx-funding-value small{
  font-size:.75rem;
  font-weight:700;
  color:#57708e;
}

.hero-rx-funding-note{
  margin-top:4px;
  font-size:.88rem;
  color:#60748d;
  line-height:1.45;
}

/* ------------------------------
   CTA BUTTONS
------------------------------ */
.hero-rx-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:24px;
}

.hero-rx.hero .btn{
  min-height:56px;
  border-radius:12px;
  padding:16px 26px;
  font-size:1rem;
  font-weight:700;
}

.hero-rx.hero .btn-primary{
  background:linear-gradient(135deg, #1d74eb, #0e5fd7);
  box-shadow:0 18px 34px rgba(29, 116, 235, .22);
  color:#fff;
}

.hero-rx.hero .btn-primary:hover{
  color:#fff;
  transform:translateY(-2px);
}

.hero-rx-wa{
  background:#fff !important;
  color:#1d74eb !important;
  border:1.5px solid #c8daf8 !important;
}
.hero-rx-wa:hover{
  background:#f6faff !important;
  color:#145fce !important;
}

/* ------------------------------
   HERO VISUAL RIGHT
------------------------------ */
.hero-rx-visual{
  position:relative;
  min-height:620px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-rx-image-wrap{
  position:relative;
  width:100%;
  max-width:510px;
  height:620px;
  border-radius:42px;
  overflow:hidden;
  z-index:2;
  box-shadow:0 30px 80px rgba(10, 44, 98, .18);
  background:#dfeaf9;
}

.hero-rx-image-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.hero-rx-blue-arc{
  position:absolute;
  right:-70px;
  top:40px;
  width:430px;
  height:540px;
  border-radius:260px 0 0 260px;
  background:linear-gradient(180deg, #1f76ec 0%, #0e60d8 100%);
  z-index:1;
}

.hero-rx-dots{
  position:absolute;
  right:30px;
  top:58px;
  width:108px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:10px;
  z-index:3;
}

.hero-rx-dots span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#d5e5ff;
  opacity:.95;
}

.hero-rx-side-card{
  position:absolute;
  right:-6px;
  bottom:40px;
  width:255px;
  background:#fff;
  border:1px solid #e7eef9;
  border-radius:24px;
  padding:18px;
  box-shadow:0 24px 60px rgba(14, 57, 126, .14);
  z-index:4;
}

.hero-rx-side-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:10px 0;
  border-bottom:1px solid #edf3fb;
}

.hero-rx-side-item:last-child{
  border-bottom:0;
  padding-bottom:0;
}

.hero-rx-side-ico{
  width:40px;
  height:40px;
  border-radius:14px;
  background:#edf4ff;
  color:#1d74eb;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 40px;
  font-size:1rem;
}

.hero-rx-side-item strong{
  display:block;
  font-size:.94rem;
  line-height:1.2;
  color:#10223e;
  margin-bottom:4px;
}

.hero-rx-side-item span{
  display:block;
  font-size:.84rem;
  line-height:1.45;
  color:#64768b;
}

/* ------------------------------
   WHY CHOOSE US SECTION
------------------------------ */
.why-rx{
  padding:62px 0 72px;
  background:#ffffff;
}

.why-rx .container{
  max-width:1240px;
}

.why-rx-head{
  text-align:center;
  max-width:760px;
  margin:0 auto 34px;
}

.why-rx-eyebrow{
  display:inline-block;
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#1f6fe5;
  margin-bottom:12px;
}

.why-rx-head h2{
  margin:0 0 12px;
  font-size:clamp(2rem, 3.4vw, 2.9rem);
  line-height:1.1;
  color:#0d1f3c;
  font-family:var(--font-body);
  font-weight:850;
  letter-spacing:-.03em;
}

.why-rx-head p{
  margin:0;
  color:#5d7088;
  font-size:1.04rem;
  line-height:1.7;
}

.why-rx-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}

.why-rx-card{
  background:#fff;
  border:1px solid #e7eef9;
  border-radius:24px;
  padding:26px 24px;
  box-shadow:0 12px 34px rgba(16, 56, 120, .06);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.why-rx-card:hover{
  transform:translateY(-5px);
  box-shadow:0 22px 48px rgba(16, 56, 120, .12);
  border-color:#d4e3fa;
}

.why-rx-icon{
  width:56px;
  height:56px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, #1f76ec, #0e60d8);
  color:#fff;
  font-size:1.35rem;
  box-shadow:0 12px 26px rgba(17, 90, 205, .18);
  margin-bottom:18px;
}

.why-rx-card h3{
  margin:0 0 10px;
  font-size:1.18rem;
  line-height:1.25;
  color:#10223e;
  font-family:var(--font-body);
  font-weight:800;
}

.why-rx-card p{
  margin:0;
  color:#64768b;
  font-size:.98rem;
  line-height:1.65;
}

/* ------------------------------
   RESPONSIVE
------------------------------ */
@media (max-width: 1200px){
  .hero-rx-grid{
    grid-template-columns:minmax(0, 1fr) minmax(360px, .9fr);
    gap:38px;
  }

  .hero-rx-image-wrap{
    max-width:470px;
    height:580px;
  }

  .hero-rx-blue-arc{
    width:370px;
    height:500px;
  }
}

@media (max-width: 1024px){
  .hero-rx-grid{
    grid-template-columns:1fr;
    gap:28px;
    padding-top:40px;
    padding-bottom:34px;
  }

  .hero-rx-copy{
    max-width:820px;
  }

  .hero-rx-visual{
    min-height:auto;
    padding-top:10px;
    justify-content:flex-start;
  }

  .hero-rx-image-wrap{
    max-width:520px;
    width:100%;
    height:540px;
  }

  .hero-rx-blue-arc{
    right:auto;
    left:220px;
    top:28px;
    width:320px;
    height:420px;
  }

  .hero-rx-side-card{
    right:18px;
    bottom:18px;
  }

  .why-rx-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px){
  .hero-rx-points{
    grid-template-columns:1fr;
    gap:10px;
  }

  .hero-rx-funding-right{
    grid-template-columns:1fr;
  }

  .hero-rx-image-wrap{
    height:500px;
  }
}

@media (max-width: 720px){
  .hero-rx-grid{
    padding-top:28px;
    padding-bottom:28px;
  }

  .hero-rx-title{
    font-size:clamp(2.2rem, 10vw, 3rem);
    line-height:1.05;
  }

  .hero-rx-lead{
    font-size:1rem;
    line-height:1.7;
  }

  .hero-rx-funding{
    border-radius:18px;
    padding:16px;
  }

  .hero-rx-funding-heading{
    font-size:.96rem;
  }

  .hero-rx-actions{
    flex-direction:column;
  }

  .hero-rx.hero .btn{
    width:100%;
  }

  .hero-rx-visual{
    padding-top:0;
  }

  .hero-rx-image-wrap{
    height:420px;
    border-radius:28px;
  }

  .hero-rx-blue-arc{
    left:auto;
    right:-30px;
    top:30px;
    width:220px;
    height:320px;
    border-radius:200px 0 0 200px;
  }

  .hero-rx-dots{
    top:18px;
    right:10px;
    gap:8px;
    width:88px;
  }

  .hero-rx-dots span{
    width:8px;
    height:8px;
  }

  .hero-rx-side-card{
    position:relative;
    right:auto;
    bottom:auto;
    width:100%;
    margin-top:16px;
    border-radius:20px;
  }

  .why-rx{
    padding:50px 0 56px;
  }

  .why-rx-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .why-rx-card{
    padding:22px 20px;
  }
}

/* ===== FINAL FIX: Hero RX override old hero CSS ===== */

.hero-rx.hero {
  padding: 0 !important;
  background: #fff !important;
}

.hero-rx .hero-rx-grid {
  max-width: 1500px !important;
  grid-template-columns: 48% 52% !important;
  gap: 30px !important;
  padding-top: 42px !important;
  padding-bottom: 28px !important;
  align-items: center !important;
}

.hero-rx .hero-rx-title {
  color: #071b45 !important;
  font-size: clamp(3.1rem, 4.7vw, 5.1rem) !important;
  line-height: 1.05 !important;
  font-weight: 850 !important;
}

.hero-rx .hero-rx-title span {
  color: #1168e6 !important;
}

.hero-rx .hero-rx-lead {
  color: #41516a !important;
}

.hero-rx .hero-rx-image-wrap {
  height: 560px !important;
  max-width: 620px !important;
  border-radius: 42px !important;
}

.hero-rx .hero-rx-visual {
  min-height: 560px !important;
}

.hero-rx .hero-rx-blue-arc {
  right: -120px !important;
  width: 420px !important;
  height: 520px !important;
}

.hero-rx .hero-rx-side-card {
  right: 0 !important;
  bottom: 72px !important;
}

.hero-rx .hero-rx-funding {
  background: linear-gradient(135deg, #0f68e8, #0054d8) !important;
  color: #fff !important;
  border: 0 !important;
  max-width: 720px !important;
}

.hero-rx .hero-rx-funding-heading,
.hero-rx .hero-rx-funding-label,
.hero-rx .hero-rx-funding-note,
.hero-rx .hero-rx-funding-value,
.hero-rx .hero-rx-funding-value small {
  color: #fff !important;
}

.hero-rx .hero-rx-funding-item {
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
}

.hero-rx .hero-rx-funding-icon,
.hero-rx .hero-rx-funding-mini {
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
}

.why-rx {
  margin-top: 0 !important;
  padding-top: 54px !important;
}

.why-rx-head h2 {
  color: #071b45 !important;
}


/* =========================================================
   FINAL RESPONSIVE HERO FIX — Restart Education UK
   Paste at the VERY BOTTOM of site.css
   ========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Main hero reset */
.hero-rx.hero {
  background: #ffffff !important;
  color: #071b45 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-bottom: 1px solid #e8eef7 !important;
}

.hero-rx.hero::after {
  display: none !important;
}

/* Desktop hero layout */
.hero-rx .hero-rx-grid {
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 44px 24px 42px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px) !important;
  gap: 44px !important;
  align-items: center !important;
}

/* Left content */
.hero-rx-copy {
  max-width: 660px !important;
  width: 100% !important;
}

.hero-rx-eyebrow {
  color: #1763c6 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.22em !important;
  font-weight: 800 !important;
  margin-bottom: 16px !important;
}

.hero-rx .hero-rx-title {
  color: #071b45 !important;
  font-family: var(--font-body) !important;
  font-size: clamp(2.7rem, 4vw, 4.25rem) !important;
  line-height: 1.07 !important;
  letter-spacing: -0.04em !important;
  font-weight: 850 !important;
  margin: 0 !important;
}

.hero-rx .hero-rx-title span {
  color: #1763e8 !important;
}

.hero-rx-lead {
  color: #526174 !important;
  font-size: 1.04rem !important;
  line-height: 1.7 !important;
  max-width: 620px !important;
  margin-top: 18px !important;
}

/* Hero points */
.hero-rx-points {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px 18px !important;
  margin-top: 22px !important;
  max-width: 650px !important;
}

.hero-rx-point {
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
  color: #10223e !important;
  font-weight: 700 !important;
}

.hero-rx-check {
  background: #e8f1ff !important;
  color: #1763e8 !important;
}

/* Funding box */
.hero-rx-funding {
  margin-top: 24px !important;
  max-width: 650px !important;
  background: linear-gradient(135deg, #1763e8, #0754d8) !important;
  border: 0 !important;
  border-radius: 22px !important;
  padding: 18px !important;
  color: #ffffff !important;
  box-shadow: 0 18px 40px rgba(23, 99, 232, 0.22) !important;
}

.hero-rx-funding-heading,
.hero-rx-funding-label,
.hero-rx-funding-value,
.hero-rx-funding-value small,
.hero-rx-funding-note {
  color: #ffffff !important;
}

.hero-rx-funding-right {
  grid-template-columns: 1fr 1fr !important;
}

.hero-rx-funding-item {
  background: rgba(255,255,255,0.13) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
}

.hero-rx-funding-icon,
.hero-rx-funding-mini {
  background: rgba(255,255,255,0.18) !important;
  color: #ffffff !important;
}

/* Buttons */
.hero-rx-actions {
  margin-top: 24px !important;
}

.hero-rx.hero .btn {
  border-radius: 12px !important;
  min-height: 54px !important;
}

.hero-rx-wa {
  background: #ffffff !important;
  color: #1763e8 !important;
  border: 1.5px solid #c8daf8 !important;
}

/* Right visual */
.hero-rx-visual {
  min-height: 500px !important;
  width: 100% !important;
  position: relative !important;
}

.hero-rx-image-wrap {
  width: 100% !important;
  max-width: 500px !important;
  height: 500px !important;
  border-radius: 36px !important;
  overflow: hidden !important;
  box-shadow: 0 26px 70px rgba(10, 44, 98, 0.16) !important;
  position: relative !important;
  z-index: 2 !important;
}

.hero-rx-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.hero-rx-blue-arc {
  right: -75px !important;
  top: 48px !important;
  width: 300px !important;
  height: 420px !important;
  z-index: 1 !important;
}

.hero-rx-dots {
  right: 28px !important;
  top: 70px !important;
  z-index: 3 !important;
}

.hero-rx-side-card {
  right: -10px !important;
  bottom: 48px !important;
  width: 245px !important;
  z-index: 4 !important;
}

/* Why section */
.why-rx {
  padding: 58px 0 64px !important;
  background: #ffffff !important;
}

.why-rx-head h2 {
  color: #071b45 !important;
  font-family: var(--font-body) !important;
}

.why-rx-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-rx .hero-rx-grid {
    grid-template-columns: 1fr !important;
    max-width: 820px !important;
    padding: 38px 24px 44px !important;
    gap: 34px !important;
  }

  .hero-rx-copy {
    max-width: 100% !important;
  }

  .hero-rx-visual {
    min-height: auto !important;
  }

  .hero-rx-image-wrap {
    max-width: 100% !important;
    height: 420px !important;
  }

  .hero-rx-blue-arc {
    right: -40px !important;
    top: 40px !important;
    width: 220px !important;
    height: 330px !important;
  }

  .hero-rx-side-card {
    right: 18px !important;
    bottom: 18px !important;
  }

  .why-rx-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .hero-rx .hero-rx-grid {
    display: block !important;
    padding: 30px 20px 38px !important;
    max-width: 100% !important;
  }

  .hero-rx .hero-rx-title {
    font-size: 2.45rem !important;
    line-height: 1.08 !important;
  }

  .hero-rx-lead {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  .hero-rx-points {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .hero-rx-funding {
    border-radius: 18px !important;
    padding: 16px !important;
  }

  .hero-rx-funding-left {
    align-items: flex-start !important;
  }

  .hero-rx-funding-right {
    grid-template-columns: 1fr !important;
  }

  .hero-rx-funding-value {
    font-size: 1.15rem !important;
  }

  .hero-rx-actions {
    flex-direction: column !important;
  }

  .hero-rx-actions .btn {
    width: 100% !important;
  }

  .hero-rx-visual {
    margin-top: 28px !important;
    min-height: auto !important;
  }

  .hero-rx-image-wrap {
    height: 340px !important;
    max-width: 100% !important;
    border-radius: 24px !important;
  }

  .hero-rx-blue-arc {
    display: none !important;
  }

  .hero-rx-dots {
    display: none !important;
  }

  .hero-rx-side-card {
    position: static !important;
    width: 100% !important;
    margin-top: 16px !important;
    border-radius: 18px !important;
  }

  .why-rx {
    padding: 46px 0 52px !important;
  }

  .why-rx-grid {
    grid-template-columns: 1fr !important;
  }

  .why-rx-card {
    padding: 22px 20px !important;
  }
}

/* ===== Safe final polish only ===== */

/* 1. Close the gap under the header without touching header layout */
.hero-rx .hero-rx-grid {
  padding-top: 26px !important;
}

/* 2. Slightly enlarge logo only, no nav/header movement */
.site-header .brand img {
  height: 82px !important;
}

@media (max-width: 720px) {
  .site-header .brand img {
    height: 60px !important;
  }

  /* 3. Mobile: hide advisor card for cleaner layout */
  .hero-rx-side-card {
    display: none !important;
  }

  /* 4. Mobile: make image cleaner after funding/buttons */
  .hero-rx-image-wrap {
    height: 280px !important;
    border-radius: 22px !important;
  }

  .hero-rx-visual {
    margin-top: 22px !important;
  }
}




/* ===== Final header fix only ===== */

.site-header .nav {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.site-header .brand {
  flex: 0 0 auto !important;
}

.site-header .brand img {
  height: 64px !important;
  width: auto !important;
  max-width: 245px !important;
  object-fit: contain !important;
}

.site-header .menu {
  flex: 1 1 auto !important;
  justify-content: center !important;
  gap: 14px !important;
}

.site-header .menu a {
  font-size: 0.98rem !important;
  padding: 10px 12px !important;
}

.site-header .nav-cta {
  flex: 0 0 auto !important;
  display: flex !important;
  gap: 12px !important;
}

/* Mobile header like maroon example */
@media (max-width: 720px) {
  .site-header .topbar .container {
    justify-content: center !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .site-header .nav {
    padding: 18px 20px !important;
    gap: 12px !important;
  }

  .site-header .brand img {
    height: 52px !important;
    max-width: 190px !important;
  }

  .site-header .menu {
    display: none !important;
  }

  .site-header .menu.open {
    display: flex !important;
  }

  .site-header .nav-cta {
    margin-left: auto !important;
  }

  .site-header .nav-cta .btn {
    display: none !important;
  }

  .site-header .hamburger {
    display: block !important;
    margin-left: auto !important;
  }

  .hero-rx-side-card {
    display: none !important;
  }
}



/* ===== Final header alignment fix ===== */

/* Desktop: put CTAs back on the right and keep nav in one clean row */
.site-header .nav{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:22px !important;
  padding-top:14px !important;
  padding-bottom:14px !important;
}

.site-header .brand{
  flex:0 0 230px !important;
}

.site-header .brand img{
  height:72px !important;
  max-width:230px !important;
  width:auto !important;
  object-fit:contain !important;
}

.site-header .menu{
  flex:1 1 auto !important;
  justify-content:center !important;
  gap:8px !important;
}

.site-header .nav-cta{
  flex:0 0 auto !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin-left:auto !important;
}

/* Mobile: logo left, hamburger right, bigger logo, no header CTA buttons */
@media (max-width:720px){
  .site-header .nav{
    padding:16px 18px !important;
    justify-content:space-between !important;
  }

  .site-header .brand{
    flex:0 0 auto !important;
    margin-left:0 !important;
  }

  .site-header .brand img{
    height:68px !important;
    max-width:245px !important;
  }

  .site-header .nav-cta{
    margin-left:auto !important;
  }

  .site-header .nav-cta .btn{
    display:none !important;
  }

  .site-header .hamburger{
    display:block !important;
    margin-left:auto !important;
  }
}

@media (max-width: 720px){
  .site-header .nav{
    padding-left: 10px !important;
    padding-right: 16px !important;
  }

  .site-header .brand{
    margin-left: -14px !important;
  }
}

.footer-brand img{
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 0 16px 0;
}