/* ============================================================================
   Prabhath English — the home page's look, carried onto every public page.
   Loaded after public-shell-theme.css from partials_public_shell.php.

   The inner pages (classes, results, videos, contact, gallery, courses,
   seminars, MCQ …) are borrowed from older layouts and each had its own hero
   strip, font and footer. This file only restyles; it adds no markup.
   Palette = layouts/layout_5/home.php: royal blue #1d4ed8, navy #0b1f4d,
   gold #f5b83d, page #f6f8ff, DM Serif Display headings over Poppins.
   ============================================================================ */
:root{
  --pw-brand:#1d4ed8; --pw-brand-d:#1840b1; --pw-navy:#0b1f4d; --pw-gold:#f5b83d;
  --pw-bg:#f6f8ff; --pw-cream:#e8eefe; --pw-line:#dde5f7; --pw-ink2:#3b4a66;
  --pw-serif:'DM Serif Display','Noto Sans Sinhala',Georgia,serif;
  --pw-shadow:0 18px 44px rgba(23,47,72,.10);
}

/* ---------- type: Poppins body, serif page titles (as on the home page) ---------- */
body{font-family:Poppins,'Noto Sans Sinhala',sans-serif;-webkit-font-smoothing:antialiased;}
::selection{background:var(--pw-gold);color:var(--pw-navy);}
:focus-visible{outline:3px solid rgba(29,78,216,.45);outline-offset:2px;}

.page-header h1,.page-head h1,.head h1,.gal-hero h1,.hero-box h1,
.hero h1,.wg-hero h1,.section-title,.sec-h{
  font-family:var(--pw-serif)!important;font-weight:400!important;
  text-transform:none!important;letter-spacing:-.01em!important;line-height:1.1!important;
}

/* ---------- light title strips → the home hero background ---------- */
.page-header,.page-head,.head{
  position:relative;overflow:hidden;isolation:isolate;text-align:center;
  background:
    radial-gradient(circle,rgba(29,78,216,.10) 1.2px,transparent 1.6px) 0 0/26px 26px,
    radial-gradient(700px 360px at 92% 0%,rgba(29,78,216,.13),transparent 60%),
    radial-gradient(600px 320px at 0% 100%,rgba(245,184,61,.20),transparent 60%),
    var(--pw-bg)!important;
  border-bottom:1px solid var(--pw-line)!important;
}
.page-header{padding:72px 5% 64px!important;}
.page-head{padding:76px 0 62px!important;}
.page-header h1,.page-head h1{
  font-size:clamp(34px,5vw,56px)!important;color:var(--pw-navy)!important;margin-bottom:14px!important;
}
.head h1{font-size:clamp(36px,5.4vw,60px)!important;}
/* gold underline mark under every strip title */
.page-header h1::after,.page-head h1::after,.section-title::after{
  content:""!important;display:block!important;position:static!important;transform:none!important;
  width:64px!important;height:5px!important;margin:16px auto 0!important;border-radius:6px!important;
  background:linear-gradient(90deg,var(--pw-gold),rgba(245,184,61,.45))!important;
}
.section-title{padding-bottom:0!important;color:var(--pw-navy)!important;font-size:clamp(32px,4.4vw,46px)!important;}
.page-header p,.page-head p,.head p,.section-desc{color:var(--pw-ink2)!important;font-size:16.5px!important;line-height:1.75!important;}
/* eyebrow on layout-3 strips: the home's "— LABEL" style */
.page-head .eyebrow{display:inline-flex!important;align-items:center;gap:10px;color:var(--pw-brand)!important;letter-spacing:.16em!important;}
.page-head .eyebrow::before,.page-head .eyebrow::after{content:"";width:22px;height:2px;background:currentColor;border-radius:2px;}

/* ---------- gallery hero: old orange/teal glows → blue/gold ---------- */
.gal-hero{background:linear-gradient(135deg,#071538 0%,var(--pw-navy) 55%,#16337c 100%)!important;}
.gal-hero::before{background:radial-gradient(circle,rgba(245,184,61,.45),rgba(245,184,61,0) 70%)!important;}
.gal-hero::after{background:radial-gradient(circle,rgba(29,78,216,.55),rgba(29,78,216,0) 70%)!important;}
.gal-hero h1 span,.gal-eyebrow,.gal-crumb a:hover{color:var(--pw-gold)!important;}

/* ---------- cards: softer radius + lift on hover ---------- */
.card,.class-card,.h-card,.panel,.form-card{border-radius:18px!important;}
.card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease!important;}
.card:hover{box-shadow:var(--pw-shadow)!important;}
.class-card .cc-ico{background:linear-gradient(135deg,var(--pw-brand),var(--pw-navy))!important;color:#fff!important;
  border-radius:15px!important;box-shadow:0 10px 22px rgba(29,78,216,.28);}
.chip.blue{background:var(--pw-cream)!important;color:var(--pw-brand)!important;border-color:#cfdaf7!important;}
.mini-btn{border-radius:999px!important;background:var(--pw-cream)!important;color:var(--pw-brand)!important;}
.mini-btn:hover{background:var(--pw-brand)!important;color:#fff!important;}

/* ---------- buttons: the home's pill shape ---------- */
.btn,.btn-primary,.btn-lg,.btn-login,.tute-btn,
button[type="submit"],input[type="submit"]{border-radius:999px!important;}
.btn-primary,.btn-login{transition:transform .2s ease,background .2s ease,box-shadow .2s ease!important;}
.btn-primary:hover,.btn-login:hover{transform:translateY(-2px);}

/* ---------- shared header: gold underline on the current page (as on home) ---------- */
.ol-ph .ol-ph-nav a[aria-current="page"]{border-bottom-color:var(--pw-gold)!important;}
.ol-ph .ol-ph-nav a.ol-ph-login{border-radius:999px!important;padding:10px 20px!important;}

/* ---------- footers → the home's navy band ---------- */
.footer,.ol-pf{background:var(--pw-navy)!important;}
.footer .f-contact i,.f-bar a{color:var(--pw-gold)!important;}
.f-links a:hover,.ol-pf a:hover{color:var(--pw-gold)!important;}
.socials a:hover{background:var(--pw-gold)!important;color:var(--pw-navy)!important;}
.f-brand span,.footer h5{font-family:var(--pw-serif);font-weight:400!important;letter-spacing:0!important;}
.f-brand span{font-size:24px;}
.footer h5{font-size:17px!important;text-transform:none!important;}

/* ---------- scrollbar ---------- */
html{scrollbar-color:#b8c6ea var(--pw-bg);}
::-webkit-scrollbar{width:11px;height:11px;}
::-webkit-scrollbar-track{background:var(--pw-bg);}
::-webkit-scrollbar-thumb{background:#b8c6ea;border-radius:10px;border:3px solid var(--pw-bg);}
::-webkit-scrollbar-thumb:hover{background:var(--pw-brand);}

@media(max-width:640px){
  .page-header{padding:52px 5% 46px!important;}
  .page-head{padding:54px 0 44px!important;}
}
@media(prefers-reduced-motion:reduce){.btn-primary:hover,.btn-login:hover{transform:none;}}
