/* =========================================================================
   PHARMA INSIGHTS ACADEMY — "Guidely" Design System (corrected palette)
   Matched to Guidely.in's real test-listing pages: bright blue as primary
   (icons, top bar, headings), light-pink pill buttons as secondary CTA,
   deep maroon text on those pills for contrast. No dark purple/magenta
   as a dominant colour — that was an overcorrection in the last pass.
   Type: Manrope (display) / Inter (body) / JetBrains Mono (data & numerals)
   ========================================================================= */

:root{
  /* ---- brand palette (Guidely-matched, corrected) ---- */
  --ink:#14202E;
  --navy:#1E88E5;         --navy2:#0D47A1;      --navy-dark:#0D47A1;   --navy-light:#4FA8ED;
  --teal:#0C8479;         --teal-dark:#08615A;  --secondary:#0C8479;  --emerald:#1E8E5A; --emerald-dark:#166B44;
  --green:#1E8E5A;        --green-light:#E4F5EA;
  --gold:#F5A623;         --gold-light:#FEF1DC; --accent:#F5A623;
  --pill-bg:#FBD7EA;      --pill-text:#6B2545;  --pill-text-dark:#4A1830;
  --coral:#F1653D;
  --purple:#7B1FA2;       --purple-dark:#5C1552; --purple-light:#EDE7F6;
  --red:#D32F2F;          --red-light:#FBEAEA;
  --grey:#5A6B7B;         --muted:#5A6B7B;      --palette-grey:#D7E3EF;
  --light:#F4F8FD;        --bg:#F4F8FD;         --paper:#FFFFFF; --card:#FFFFFF;
  --line:#E1EAF5;         --line2:#E1EAF5;      --border:#E1EAF5; --paper-line:#E1EAF5;
  /* pastel card tints, Guidely-style category cards */
  --pastel-lavender:#EDE7F6; --pastel-mint:#E0F2F1; --pastel-cream:#FFF3E0; --pastel-rose:#FCE4EC; --pastel-blue:#E3F2FD;
  --radius:16px;
  --shadow-sm:0 2px 10px rgba(13,71,161,.08);
  --shadow-md:0 10px 28px rgba(13,71,161,.12);
  --shadow-lg:0 24px 60px rgba(13,71,161,.20);
  --font-display:'Manrope','Poppins',sans-serif;
  --font-body:'Inter',system-ui,sans-serif;
  --font-mono:'JetBrains Mono','Poppins',monospace;
}
.btn-navy, .btn-primary{ background:var(--navy2) !important; border:none !important; }
.btn-navy:hover, .btn-primary:hover{ filter:brightness(1.08); }


*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}
body{margin:0; font-family:var(--font-body); color:var(--ink); background:#fff; line-height:1.68; -webkit-font-smoothing:antialiased;}
h1,h2,h3,h4{font-family:var(--font-display); color:var(--navy2); line-height:1.2; font-weight:800; letter-spacing:-.01em;}
p{color:var(--ink);}
a{color:var(--teal); text-decoration-thickness:1.5px;}
img{max-width:100%;}
::selection{background:var(--teal); color:#fff;}
:focus-visible{outline:2.5px solid var(--teal); outline-offset:3px; border-radius:4px;}

.skip-link{position:absolute; left:-999px; top:auto; z-index:9999; background:var(--navy); color:#fff; padding:12px 20px; border-radius:0 0 10px 0; font-weight:800; font-family:var(--font-display); text-decoration:none;}
.skip-link:focus{left:0; top:0;}

.wrap{max-width:1160px; margin:0 auto; padding:0 22px;}
section{padding:88px 0;}
.section-alt{background:var(--light);}
.section-tight{padding:56px 0;}

.kicker{color:var(--teal); font-weight:800; letter-spacing:.14em; font-size:.72rem; text-transform:uppercase; font-family:var(--font-display); display:inline-flex; align-items:center; gap:8px;}
.kicker::before{content:""; width:18px; height:2px; background:var(--gold); border-radius:2px; display:inline-block;}
.sec-head{text-align:center; max-width:680px; margin:0 auto 44px;}
.sec-head h2{font-size:clamp(1.7rem,2.6vw,2.15rem); margin:10px 0 12px;}
.sec-head p{color:var(--grey); margin:0; font-size:1.02rem;}

/* numerals / data callouts get the mono treatment — this is the site's signature */
.num, .stat .n, .rcard .sc, .counter, .cap, .progress-fill, .pattern-mini .pm b, #upiNum{
  font-family:var(--font-mono);
}

/* =========================== HEADER =========================== */
.announce-bar{background:var(--pastel-lavender); color:var(--ink); font-family:var(--font-display); font-weight:600; font-size:.78rem; letter-spacing:.02em; text-align:center; padding:9px 16px;}
.announce-bar a{color:var(--navy2); font-weight:800; text-decoration:underline; margin-left:6px;}
.announce-bar a:hover{text-decoration:underline;}

header.site-header{position:sticky; top:0; z-index:800; background:rgba(255,255,255,.86); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid var(--line); transition:box-shadow .25s ease, background .25s ease;}
header.site-header.scrolled{box-shadow:0 8px 24px rgba(8,26,46,.08); background:rgba(255,255,255,.96);}
.nav{display:flex; align-items:center; gap:18px; height:72px; max-width:1240px; margin:0 auto; padding:0 22px;}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; flex-shrink:0;}
.brand img{height:38px; border-radius:8px;}
.brand span{font-family:var(--font-display); font-weight:800; color:var(--navy); font-size:1.02rem; letter-spacing:-.01em;}
.brand span b{color:var(--teal);}

nav.links{display:flex; align-items:center; gap:4px; flex:1;}
nav.links > a, .mega-trigger{text-decoration:none; color:var(--navy2); font-weight:700; font-size:.89rem; font-family:var(--font-display); padding:10px 16px; border-radius:50px; white-space:nowrap; display:inline-flex; align-items:center; gap:4px; background:none; border:none; cursor:pointer;}
nav.links > a:hover, .mega-trigger:hover{color:var(--navy); background:var(--pastel-blue);}
nav.links > a.active{color:var(--navy); background:var(--pastel-blue);}
@media(max-width:1180px) and (min-width:981px){
  nav.links > a, .mega-trigger{padding:9px 8px; font-size:.82rem;}
}
.mega-trigger .caret{width:8px; height:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); margin-top:-3px; transition:transform .2s ease;}
.nav-item.mega-open .mega-trigger .caret{transform:rotate(-135deg); margin-top:2px;}

/* mega menu panel */
.nav-item{position:relative;}
.mega-panel{position:absolute; top:calc(100% + 14px); left:50%; transform:translateX(-50%) translateY(6px); width:640px; max-width:82vw; background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow-lg); padding:22px; display:none; opacity:0; transition:opacity .18s ease, transform .18s ease; z-index:850;}
.nav-item.mega-open .mega-panel{display:grid; opacity:1; transform:translateX(-50%) translateY(0);}
.mega-panel{grid-template-columns:1.3fr 1fr; gap:6px;}
.mega-col-head{font-family:var(--font-display); font-size:.7rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--grey); margin:2px 0 10px;}
.mega-links{display:grid; gap:2px;}
.mega-item{display:flex; gap:12px; align-items:flex-start; padding:10px 12px; border-radius:12px; text-decoration:none; color:var(--navy2);}
.mega-item:hover{background:var(--light);}
.mega-item .mi-ic{font-size:1.3rem; width:38px; height:38px; border-radius:10px; background:var(--light); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.mega-item .mi-t{display:block; font-weight:800; font-size:.9rem; font-family:var(--font-display);}
.mega-item .mi-d{display:block; color:var(--grey); font-size:.78rem; margin-top:2px; line-height:1.4;}
.mega-panel-side{background:linear-gradient(160deg,var(--navy),var(--navy2)); border-radius:14px; padding:20px; color:#fff; display:flex; flex-direction:column; justify-content:space-between; gap:14px;}
.mega-panel-side h4{color:#fff; font-size:1rem; margin:0 0 6px;}
.mega-panel-side p{color:#BFD6D2; font-size:.82rem; margin:0;}
.mega-panel-side a.btn{align-self:flex-start;}

/* search */
.nav-search{position:relative;}
.search-btn{background:none; border:1.5px solid var(--line); width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--navy2); flex-shrink:0;}
.search-btn:hover{border-color:var(--teal); color:var(--teal);}
.search-panel{position:absolute; top:calc(100% + 12px); right:0; width:340px; max-width:80vw; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-lg); padding:14px; display:none; z-index:850;}
.search-panel.open{display:block;}
.search-panel input{width:100%; padding:11px 14px; border:1.5px solid var(--line); border-radius:10px; font-family:var(--font-body); font-size:.92rem;}
.search-panel input:focus{outline:none; border-color:var(--teal);}
.search-results{margin-top:10px; max-height:280px; overflow:auto; display:grid; gap:2px;}
.search-results a{display:block; padding:9px 10px; border-radius:9px; text-decoration:none; color:var(--navy2); font-size:.86rem; font-weight:600;}
.search-results a:hover{background:var(--light); color:var(--teal);}
.search-empty{color:var(--grey); font-size:.82rem; padding:8px 4px;}

.nav-cta{background:linear-gradient(135deg,var(--teal),var(--teal-dark)); color:#fff !important; padding:11px 20px; border-radius:11px; text-decoration:none; font-weight:800; font-size:.86rem; font-family:var(--font-display); border:none; cursor:pointer; box-shadow:0 8px 20px rgba(12,132,121,.3); flex-shrink:0; white-space:nowrap;}
.nav-cta:hover{transform:translateY(-1px);}
.nav-enroll-link{color:var(--teal,#0C8479) !important; font-weight:800 !important;}
.login-link{background:var(--light) !important; color:var(--navy2) !important; border:1.5px solid var(--line); box-shadow:none !important;}

.hamb{display:none; background:none; border:none; cursor:pointer; padding:8px; flex-shrink:0;}
.hamb span{display:block; width:22px; height:2.5px; background:var(--navy); margin:5px 0; border-radius:2px; transition:.25s;}

.mobile-menu{display:none; position:fixed; top:0; left:0; right:0; bottom:0; background:#fff; z-index:790; overflow-y:auto; padding:86px 0 40px;}
.mobile-menu.open{display:block;}
.mobile-menu .wrap{display:flex; flex-direction:column;}
.mobile-menu a, .mm-acc-btn{display:flex; align-items:center; justify-content:space-between; padding:15px 4px; text-decoration:none; color:var(--navy2); font-weight:700; font-family:var(--font-display); border-bottom:1px solid var(--light); font-size:1rem; background:none; border-left:none; border-right:none; border-top:none; width:100%; text-align:left; cursor:pointer;}
.mm-acc-panel{max-height:0; overflow:hidden; transition:max-height .3s ease;}
.mm-acc-panel.open{max-height:600px;}
.mm-acc-panel a{padding-left:18px; font-weight:600; font-size:.92rem; color:var(--grey); border-bottom:none;}
.mm-acc-btn .chev{transition:transform .25s ease;}
.mm-acc-btn.open .chev{transform:rotate(180deg);}
@media(max-width:980px){
  nav.links{display:none;}
  .hamb{display:block;}
  .nav{gap:10px; padding:0 14px; justify-content:space-between;}
  .nav .login-link{display:none;}
  .brand span{font-size:.9rem;}
}
@media(max-width:360px){ .brand span{display:none;} }
@media(min-width:981px){ .mm-only{display:none;} }

/* =========================== BUTTONS =========================== */
.btn{display:inline-block; padding:14px 26px; border-radius:12px; font-weight:800; font-family:var(--font-display); text-decoration:none; font-size:.92rem; border:none; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease; letter-spacing:-.01em;}
.btn-primary{background:linear-gradient(135deg,var(--teal),var(--teal-dark)); color:#fff; box-shadow:0 10px 24px rgba(12,132,121,.32);}
.btn-navy{background:linear-gradient(135deg,var(--navy),var(--navy-light)); color:#fff; box-shadow:0 10px 24px rgba(14,42,71,.3);}
.btn-outline{background:#fff; color:var(--navy); border:1.5px solid var(--line);}
.btn-gold{background:linear-gradient(135deg,var(--gold),#C98A22); color:#2A1D02; box-shadow:0 10px 24px rgba(231,169,60,.35);}
.btn:hover{transform:translateY(-2px);}
.btn:active{transform:translateY(0);}

/* =========================== CARDS =========================== */
.grid{display:grid; gap:22px;}
.g3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
.g4{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));}
.card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px 26px; box-shadow:var(--shadow-sm); transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;}
.access-badge{display:inline-block; font-size:.66rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:3px 10px; border-radius:20px; margin-bottom:8px;}
.access-badge.free{background:var(--green-light); color:var(--green);}
.access-badge.premium{background:var(--gold-light); color:#8A5A00;}
.card:hover{transform:translateY(-5px); box-shadow:var(--shadow-md); border-color:#C9DEDA;}
.card .em{font-size:2rem;}
.card h3{font-size:1.05rem; margin:10px 0 8px;}
.card p{color:var(--grey); font-size:.92rem; margin:0;}

.cards{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:22px;}
.fcard{background:#fff; border:1px solid var(--line); border-radius:18px; padding:28px 24px; box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease;}
.fcard:hover{transform:translateY(-6px); box-shadow:var(--shadow-md);}
.fcard .ico{width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:24px; background:linear-gradient(135deg,var(--teal),var(--teal-dark)); box-shadow:0 8px 18px rgba(12,132,121,.35); margin-bottom:16px; color:#fff;}
.fcard h3{font-family:var(--font-display); font-size:1.08rem; margin:0 0 8px; color:var(--navy);}
.fcard p{color:var(--grey); font-size:.93rem; margin:0 0 12px; line-height:1.6;}
.mini-link{font-weight:800; font-size:.87rem; color:var(--teal); text-decoration:none; font-family:var(--font-display);}
.mini-link:hover{text-decoration:underline;}

.exam-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:22px; margin-top:8px;}
.exam-card{background:#fff; border:1px solid var(--line); border-radius:20px; padding:30px 24px; box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease; text-align:center; position:relative; overflow:hidden;}
.exam-card::before{content:""; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg,var(--teal),var(--gold));}
.exam-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-md);}
.exam-card .em{font-size:2.2rem;}
.exam-card h3{font-family:var(--font-display); color:var(--navy); margin:14px 0 8px; font-size:1.1rem;}
.exam-card p{color:var(--grey); font-size:.9rem; margin:0;}
.exam-card .chip{display:inline-block; margin-top:16px; background:var(--light); border:1px solid var(--line); color:var(--teal); font-weight:800; font-size:.7rem; padding:6px 14px; border-radius:999px; text-transform:uppercase; letter-spacing:.04em;}

/* stats */
.stats{display:flex; gap:16px; justify-content:center; flex-wrap:wrap;}
.stat{background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px 30px; min-width:150px; text-align:center; box-shadow:var(--shadow-sm);}
.stat .n{font-weight:800; font-size:1.9rem; color:var(--navy);}
.stat .l{font-size:.78rem; color:var(--grey); font-weight:700; font-family:var(--font-display); text-transform:uppercase; letter-spacing:.04em;}

/* results carousel */
.results-strip{overflow:hidden; position:relative; -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);}
.results-track{display:flex; gap:16px; width:max-content; animation:scrollx 32s linear infinite;}
.results-strip:hover .results-track{animation-play-state:paused;}
@keyframes scrollx{from{transform:translateX(0)} to{transform:translateX(-50%)}}
.rcard{background:#fff; border:1.5px solid var(--line); border-left:5px solid var(--teal); border-radius:14px; padding:16px 22px; min-width:200px; box-shadow:var(--shadow-sm);}
.rcard .sc{font-weight:800; font-size:1.4rem; color:var(--teal);}
.rcard .nm{font-weight:800; color:var(--navy2); font-size:.92rem; font-family:var(--font-display);}
.rcard .tg{font-size:.74rem; color:var(--grey);}

/* testimonials */
.testi-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:22px;}
.testi-card{background:#fff; border:1px solid var(--line); border-radius:18px; padding:28px 26px; box-shadow:var(--shadow-sm); position:relative;}
.testi-card .quote-mark{font-family:var(--font-display); font-size:2.6rem; color:var(--gold); line-height:1; margin-bottom:4px; display:block;}
.testi-card p{color:var(--ink); font-size:.98rem; margin:0 0 16px; font-style:italic;}
.testi-who{display:flex; align-items:center; gap:12px;}
.testi-avatar{width:42px; height:42px; border-radius:50%; object-fit:cover; flex-shrink:0;}
.testi-avatar-text{display:flex; align-items:center; justify-content:center; background:var(--light); color:var(--navy); font-weight:800; font-size:.72rem; font-family:var(--font-display);}
.testi-name{font-weight:800; color:var(--navy); font-size:.9rem; font-family:var(--font-display);}
.testi-role{color:var(--grey); font-size:.76rem;}

/* faculty */
.faculty-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:22px;}
.faculty-card{background:#fff; border:1px solid var(--line); border-radius:20px; padding:30px 26px; text-align:center; box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease;}
.faculty-card:hover{transform:translateY(-5px); box-shadow:var(--shadow-md);}
.faculty-avatar{width:84px; height:84px; border-radius:50%; background:linear-gradient(135deg,var(--navy),var(--navy-light)); color:#fff; font-family:var(--font-display); font-weight:800; font-size:2rem; display:flex; align-items:center; justify-content:center; margin:0 auto 16px;}
.faculty-card h3{margin:0 0 4px;}
.faculty-role{color:var(--teal); font-weight:800; font-size:.85rem; margin-bottom:12px; font-family:var(--font-display);}
.faculty-card p{color:var(--grey); font-size:.9rem;}

/* mcq widget */
.mcq-card{background:linear-gradient(160deg,#fff,var(--light)); border:1px solid var(--line); border-radius:22px; padding:32px; box-shadow:var(--shadow-md); max-width:640px; margin:0 auto;}
.mcq-tag{display:inline-flex; align-items:center; gap:6px; background:var(--navy); color:#fff; font-family:var(--font-display); font-weight:800; font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; padding:6px 14px; border-radius:999px;}
.mcq-q{font-family:var(--font-display); font-weight:800; font-size:1.1rem; color:var(--navy2); margin:16px 0 18px;}
.mcq-opts{display:grid; gap:10px;}
.mcq-opt{display:flex; align-items:center; gap:12px; padding:13px 16px; border:1.5px solid var(--line); border-radius:12px; background:#fff; cursor:pointer; font-size:.92rem; font-weight:600; color:var(--navy2); transition:.15s;}
.mcq-opt:hover{border-color:var(--teal);}
.mcq-opt .letter{width:26px; height:26px; border-radius:50%; background:var(--light); display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-weight:700; font-size:.8rem; flex-shrink:0;}
.mcq-opt.correct{border-color:var(--green); background:var(--green-light);}
.mcq-opt.correct .letter{background:var(--green); color:#fff;}
.mcq-opt.wrong{border-color:var(--red); background:var(--red-light);}
.mcq-opt.wrong .letter{background:var(--red); color:#fff;}
.mcq-feedback{margin-top:14px; font-size:.86rem; color:var(--grey); min-height:20px; font-weight:600;}

/* chips */
.chips{display:flex; flex-wrap:wrap; gap:10px; justify-content:center;}
.chip{background:#fff; border:1px solid var(--line); color:var(--navy2); font-weight:700; font-size:.83rem; padding:9px 18px; border-radius:999px; box-shadow:var(--shadow-sm);}

/* CTA band */
.cta-band{background:linear-gradient(135deg,var(--navy),var(--navy2)); border-radius:24px; padding:56px 36px; text-align:center; color:#fff; position:relative; overflow:hidden;}
.cta-band::after{content:""; position:absolute; inset:0; background:radial-gradient(circle at 85% 0%, rgba(12,132,121,.35), transparent 55%); pointer-events:none;}
.cta-band h2{color:#fff; margin:0 0 10px; font-size:1.8rem; position:relative;}
.cta-band p{color:#C7D6DE; margin:0 0 26px; position:relative;}
.cta-band > *{position:relative;}

/* =========================== FOOTER =========================== */
footer.site-footer{background:var(--light); color:var(--grey); padding:64px 0 28px; border-top:1px solid var(--line);}
.footer-top{display:grid; grid-template-columns:1.4fr repeat(4,1fr); gap:32px; padding-bottom:40px; border-bottom:1px solid var(--line);}
.footer-brand{display:flex; align-items:center; gap:10px; text-decoration:none; margin-bottom:12px;}
.footer-brand img{height:34px; border-radius:8px;}
.footer-brand span{font-family:var(--font-display); font-weight:800; color:var(--ink); font-size:1rem;}
.footer-brand span b{color:var(--navy);}
.footer-top > div:first-child p{color:var(--grey); font-size:.86rem; max-width:280px; margin:0 0 16px;}
.footer-social{display:flex; gap:10px;}
.footer-social a{width:36px; height:36px; border-radius:10px; background:#fff; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; text-decoration:none; font-size:16px; color:var(--ink);}
.footer-social a:hover{background:var(--navy); border-color:var(--navy);}
.fcol h4{color:var(--ink); font-size:.82rem; margin:0 0 14px; font-family:var(--font-display); text-transform:uppercase; letter-spacing:.08em;}
.fcol a{display:block; color:var(--grey); text-decoration:none; font-size:.87rem; padding:5px 0;}
.fcol a:hover{color:var(--navy);}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; padding-top:22px; font-size:.78rem; color:var(--grey);}
@media(max-width:900px){ .footer-top{grid-template-columns:repeat(2,1fr);} }
@media(max-width:560px){ .footer-top{grid-template-columns:1fr;} }
/* fallback for any legacy footer markup left unconverted */
.footer-grid{display:flex; gap:44px; justify-content:center; flex-wrap:wrap; text-align:left; margin-bottom:26px;}
.copyright{border-top:1px solid rgba(255,255,255,.14); padding-top:16px; font-size:.78rem; text-align:center;}

/* reveal */
.js .reveal{opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease;}
.js .reveal.in{opacity:1; transform:none;}

/* gate */
.gate{position:fixed; inset:0; background:rgba(8,26,46,.72); backdrop-filter:blur(5px); z-index:990; display:none; align-items:center; justify-content:center; padding:20px;}
.gate.show{display:flex;}
.gate-card{background:#fff; border-radius:20px; padding:34px 30px; max-width:400px; width:100%; box-shadow:0 30px 70px rgba(0,0,0,.35);}
.gate-card h3{margin:0 0 6px;}
.gate-card p{color:var(--grey); font-size:.9rem; margin:0 0 18px;}
.gate-card input{width:100%; padding:12px 14px; margin-bottom:12px; border:1.5px solid var(--line); border-radius:10px; font-size:.95rem; font-family:inherit;}
.gate-card input:focus{outline:none; border-color:var(--teal);}

/* toast */
.toast{position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(80px); background:var(--navy); color:#fff; padding:14px 24px; border-radius:12px; font-weight:700; font-size:.9rem; box-shadow:0 14px 34px rgba(0,0,0,.3); opacity:0; transition:.35s ease; z-index:995; max-width:90vw; text-align:center;}
.toast.show{transform:translateX(-50%) translateY(0); opacity:1;}

/* floating */
.float-social{position:fixed; left:14px; bottom:16px; z-index:900; display:flex; flex-direction:column; gap:10px;}
.fsbtn{width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:22px; text-decoration:none; box-shadow:0 10px 24px rgba(8,26,46,.25);}
.fsbtn.wa{background:#25D366;} .fsbtn.tg{background:#229ED9;} .fsbtn.ig{background:linear-gradient(135deg,#F58529,#DD2A7B,#8134AF);}

/* page hero */
.page-hero{background:linear-gradient(160deg,var(--light), #fff); padding:72px 0 52px; text-align:center;}
.page-hero h1{font-size:clamp(1.8rem,3.4vw,2.3rem); margin:0 0 10px;}
.page-hero p{color:var(--grey); max-width:640px; margin:0 auto;}

/* tables */
.tbl{width:100%; border-collapse:collapse; background:#fff; border-radius:14px; overflow:hidden; box-shadow:var(--shadow-sm);}
.tbl th{background:var(--navy); color:#fff; padding:13px 15px; font-family:var(--font-display); font-size:.83rem; text-align:left;}
.tbl td{padding:12px 15px; border-bottom:1px solid var(--light); font-size:.9rem;}
.tbl tr:nth-child(even) td{background:#FAFCFE;}

/* faq */
.faq-list{max-width:760px; margin:0 auto;}
.faq-item{background:#fff; border:1px solid var(--line); border-radius:14px; margin-bottom:12px; overflow:hidden;}
.faq-q{width:100%; text-align:left; background:none; border:none; cursor:pointer; padding:18px 20px; font-family:var(--font-display); font-weight:700; font-size:.98rem; color:var(--navy2); display:flex; justify-content:space-between; gap:12px;}
.faq-q .chev{transition:transform .3s ease; color:var(--teal);}
.faq-item.open .faq-q .chev{transform:rotate(180deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .35s ease; color:var(--grey); font-size:.92rem;}
.faq-item.open .faq-a{max-height:320px;}
.faq-a-inner{padding:0 20px 18px;}

/* tracker */
.capsules{display:grid; grid-template-columns:repeat(auto-fill,minmax(44px,1fr)); gap:8px; margin-top:18px;}
.cap{aspect-ratio:1; border-radius:10px; background:#fff; border:1.5px solid var(--line); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.78rem; color:var(--grey); cursor:pointer; user-select:none; transition:.15s;}
.cap.done{background:var(--teal); border-color:var(--teal); color:#fff;}
.progress-bar{height:12px; background:var(--line); border-radius:999px; overflow:hidden; margin-top:16px;}
.progress-fill{height:100%; background:linear-gradient(90deg,var(--teal),var(--gold)); width:0%; transition:width .4s ease;}

/* hero (home) */
.hero-home{padding:64px 0 76px; position:relative; overflow:hidden;}
.hero-home-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:center;}
.hero-home::before{content:""; position:absolute; top:-140px; right:-120px; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle,rgba(12,132,121,.14),transparent 70%); pointer-events:none;}
.hero-badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:22px;}
.hero-badge{display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:9px 14px; font-size:.8rem; font-weight:700; color:var(--navy2); box-shadow:var(--shadow-sm);}
.hero-badge b{font-family:var(--font-mono); color:var(--teal);}

/* signature pulse divider — the site's one deliberate flourish */
.pulse-divider{width:100%; height:46px; overflow:hidden;}
.pulse-divider svg{width:100%; height:100%; display:block;}
.pulse-line{stroke:var(--teal); stroke-width:2; fill:none; stroke-dasharray:600; stroke-dashoffset:600; animation:pulse-draw 3.2s ease-in-out infinite;}
@keyframes pulse-draw{ 0%{stroke-dashoffset:600;} 55%{stroke-dashoffset:0;} 100%{stroke-dashoffset:-600;} }

@media(max-width:900px){
  .mega-panel{width:520px;}
}
@media(max-width:720px){
  section{padding:60px 0;}
  .page-hero h1{font-size:1.7rem;}
  .sec-head h2{font-size:1.6rem;}
  .hero-home{padding:40px 0 52px;}
  .hero-home-grid{grid-template-columns:1fr; gap:28px;}
  .hero-home-grid > div:last-child{order:-1;}
}

/* ---------------------------------------------------------------------
   Promo banners — professional image callouts used across course/pyq
   pages. Keeps a single consistent look: capped width, rounded corners,
   soft shadow, centered, with an optional caption for accessibility.
   --------------------------------------------------------------------- */
.promo-banner-wrap{max-width:900px; margin:0 auto 40px;}
.promo-banner-wrap img{width:100%; display:block; border-radius:var(--radius); box-shadow:var(--shadow-md); border:1px solid var(--line);}
.promo-banner-wrap figcaption{text-align:center; font-size:.82rem; color:var(--grey); margin-top:10px;}
.promo-banner-wrap.narrow{max-width:640px;}
.promo-banner-wrap.wide{max-width:1100px;}

/* Consistent paragraph rhythm inside long-form content sections —
   professional sites cap prose width for readability and keep
   left-aligned body text (never justified) with even vertical rhythm. */
.prose{max-width:760px; margin:0 auto;}
.prose p{font-size:1rem; line-height:1.75; color:var(--ink); margin:0 0 16px; text-align:left;}
.prose h2, .prose h3{margin:32px 0 14px;}
.prose ul, .prose ol{padding-left:22px; line-height:1.75; margin:0 0 16px;}
.prose li{margin-bottom:8px;}

/* ---------------------------------------------------------------------
   Syllabus accordion component — shared by exam-details.html and every
   /exams/<exam>/ page so unit-wise syllabus content renders identically
   and responsively everywhere it's used.
   --------------------------------------------------------------------- */
.exam-tabs{display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-bottom:36px; position:sticky; top:72px; z-index:5; background:rgba(255,255,255,.96); backdrop-filter:blur(6px); padding:10px 0;}
.exam-tab-link{background:#fff; border:1.5px solid var(--line); color:var(--navy2); font-weight:700; font-family:Poppins,sans-serif; font-size:.88rem; padding:10px 20px; border-radius:999px; text-decoration:none; box-shadow:0 3px 10px rgba(27,42,74,.05); white-space:nowrap;}
.exam-tab-link:hover{border-color:var(--teal); color:var(--teal);}
.exam-block{scroll-margin-top:120px; padding:56px 0; border-top:1px solid var(--line);}
.exam-block:first-of-type{border-top:none;}
.exam-block-head{display:flex; gap:16px; align-items:flex-start; flex-wrap:wrap; justify-content:space-between; margin-bottom:26px;}
.exam-block-head .em-big{font-size:2.4rem; line-height:1;}
.exam-block-head h2{font-size:1.6rem; margin:0 0 6px;}
.exam-block-head p{color:var(--grey); margin:0; max-width:520px; line-height:1.6;}
.unit-list{display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:12px; margin-top:22px;}
.unit-item{background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden;}
.unit-item summary{list-style:none; cursor:pointer; padding:14px 18px; font-family:var(--font-display); font-weight:600; font-size:.92rem; color:var(--navy2); display:flex; justify-content:space-between; gap:10px; align-items:center;}
.unit-item summary::-webkit-details-marker{display:none;}
.unit-item summary .qn{font-size:.7rem; font-weight:700; color:var(--teal); background:var(--light); padding:3px 10px; border-radius:999px; white-space:nowrap; margin-left:auto;}
.unit-item summary .chev{color:var(--gold); transition:transform .25s ease;}
.unit-item[open] summary .chev{transform:rotate(180deg);}
.unit-item .ub{padding:2px 18px 18px; color:var(--ink); font-size:.9rem; line-height:1.85; text-align:left;}
.syl-list{margin:0; padding-left:20px; list-style:disc;}
.syl-list li{margin-bottom:12px;}
.syl-list li b{color:var(--navy2,var(--navy)); font-weight:700;}
.exam-block-head{gap:16px;}
.pattern-mini{display:flex; gap:14px; flex-wrap:wrap; margin-top:18px;}
.pattern-mini .pm{background:var(--light); border:1px solid var(--line); border-radius:10px; padding:10px 16px; font-size:.82rem; flex:1 1 200px;}
.pattern-mini .pm b{display:block; font-family:var(--font-display); color:var(--navy); font-size:1rem;}
.upcoming-card{background:var(--light); border:1.5px dashed var(--line); border-radius:16px; padding:24px; text-align:center;}
.info-table{width:100%; border-collapse:collapse; font-size:.88rem; max-width:720px; margin:0 auto;}
.info-table th, .info-table td{padding:12px 16px; border-bottom:1px solid var(--line); text-align:left;}
.info-table th{width:40%; background:var(--light); font-family:var(--font-display); color:var(--navy2); font-weight:600;}
.src-box{background:var(--light); border:1px solid var(--line); border-radius:14px; padding:20px 24px; max-width:640px; margin:0 auto;}
.src-box a{color:var(--teal); font-weight:600;}
.updated-note{text-align:center; color:var(--grey); font-size:.78rem; margin-top:10px;}
.verify-banner{background:#FEF3C7; border:1px solid #FDE68A; color:#92400E; border-radius:12px; padding:14px 18px; font-size:.84rem; max-width:720px; margin:20px auto 0; text-align:center;}
.breadcrumb-nav{font-size:.8rem; color:var(--grey); padding:14px 0 0;}
.breadcrumb-nav a{color:var(--grey);}
.faq-item2{border-bottom:1px solid var(--line); padding:16px 0;}
.faq-item2 h4{margin:0 0 6px; font-size:.94rem; color:var(--navy2);}
.faq-item2 p{margin:0; color:var(--grey); font-size:.86rem;}

@media(max-width:720px){
  .exam-tabs{position:static; top:auto; justify-content:flex-start; overflow-x:auto; flex-wrap:nowrap; -webkit-overflow-scrolling:touch; padding-bottom:6px;}
  .exam-block-head{flex-direction:column;}
  .exam-block-head p{max-width:none;}
  .unit-list{grid-template-columns:1fr;}
  .pattern-mini .pm{flex:1 1 45%;}
  .info-table{font-size:.82rem;}
  .info-table th, .info-table td{padding:10px 12px;}
}

/* Live results page — stats row (3 stat cards), responsive */
.lb-stats-row{display:grid; grid-template-columns:repeat(3,1fr);}
@media(max-width:560px){
  .lb-stats-row{grid-template-columns:1fr;}
}

/* =========================================================================
   GUIDELY-STYLE COMPONENTS — added for direct structural match
   ========================================================================= */

/* Trending bar (Guidely's "🔥 Trending Links" strip) */
.trending-bar{background:#fff; border-bottom:1px solid var(--line); padding:10px 0; overflow-x:auto; white-space:nowrap;}
.trending-bar .wrap{display:flex; align-items:center; gap:14px; font-size:.82rem;}
.trending-bar .flame{font-size:.95rem;}
.trending-bar a{color:var(--teal); font-weight:700; text-decoration:none; flex-shrink:0;}
.trending-bar .sep{color:var(--line); flex-shrink:0;}

/* Hero search bar (Guidely's "Search for Courses, Tests, Pdfs, blog etc...") */
.hero-search{display:flex; align-items:center; gap:10px; background:#fff; border:1.5px solid var(--line); border-radius:50px; padding:12px 20px; box-shadow:var(--shadow-sm); max-width:460px; margin:18px 0;}
.hero-search input{border:none; outline:none; flex:1; font-family:var(--font-body); font-size:.9rem; background:transparent;}
.hero-search button{background:none; border:none; color:var(--navy); cursor:pointer; font-size:1.1rem; flex-shrink:0;}
.search-row{background:#fff; border-bottom:1px solid var(--line); padding:16px 0; position:relative;}
.search-row .wrap{display:flex; justify-content:center; position:relative;}
.search-row-results{position:absolute; top:100%; margin-top:8px; width:100%; max-width:520px; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow-lg); padding:10px; display:none; z-index:500;}

/* Trusted-by avatar cluster */
.trusted-cluster{display:flex; align-items:center; gap:12px; margin-top:16px;}
.trusted-cluster .avatars{display:flex;}
.trusted-cluster .avatars img{width:38px; height:38px; border-radius:50%; border:2.5px solid #fff; object-fit:cover; margin-left:-12px; box-shadow:0 2px 6px rgba(0,0,0,.12);}
.trusted-cluster .avatars img:first-child{margin-left:0;}
.trust-dot{width:38px; height:38px; border-radius:50%; background:var(--green-light); display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex-shrink:0;}
.trusted-cluster .txt{font-size:.78rem; color:var(--grey); font-weight:700;}
.trusted-cluster .txt b{color:var(--navy2); font-size:.95rem; display:block;}

/* Pastel category cards (Guidely's Banking & Insurance / SSC & Railway grid) */
.cat-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px;}
.cat-card{display:flex; align-items:center; gap:14px; padding:18px 16px; border-radius:18px; text-decoration:none; transition:transform .2s ease;}
.cat-card:hover{transform:translateY(-3px);}
.cat-card .cat-icon{width:44px; height:44px; border-radius:12px; background:#fff; display:flex; align-items:center; justify-content:center; font-size:1.4rem; flex-shrink:0; box-shadow:0 2px 6px rgba(0,0,0,.08);}
.cat-card .cat-label{font-weight:800; color:var(--ink); font-size:.92rem; font-family:var(--font-display); line-height:1.25;}
.cat-card.c-lavender{background:var(--pastel-lavender);}
.cat-card.c-mint{background:var(--pastel-mint);}
.cat-card.c-cream{background:var(--pastel-cream);}
.cat-card.c-rose{background:var(--pastel-rose);}

/* Circular icon feature grid (Guidely's 4-icon "Learn from Top Mentors" grid) */
.circle-feat-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:22px; background:#fff; border-radius:22px; padding:28px; box-shadow:var(--shadow-md);}
.circle-feat{text-align:center;}
.circle-feat .ring{width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.5rem; margin:0 auto 10px;}
.circle-feat .ring.blue{background:var(--pastel-blue);}
.circle-feat .ring.rose{background:var(--pastel-rose);}
.circle-feat .ring.cream{background:var(--pastel-cream);}
.circle-feat .ring.lavender{background:var(--pastel-lavender);}
.circle-feat .lbl{font-size:.84rem; color:var(--ink); line-height:1.3;}
.circle-feat .lbl b{display:block; font-weight:800;}

/* Promo banner carousel with dot indicators */
.promo-carousel{position:relative; border-radius:20px; overflow:hidden; box-shadow:var(--shadow-md);}
.promo-slide{display:none; background:var(--pastel-blue); color:var(--ink); padding:34px 66px; text-align:center; border-bottom:1px solid var(--line);}
.promo-slide.active{display:block;}
.promo-slide h3{color:var(--ink); font-size:1.3rem; margin:0 0 8px;}
.promo-slide p{color:var(--grey); margin:0 0 14px; font-size:.88rem;}
.promo-dots{display:flex; justify-content:center; gap:6px; padding:12px 0; background:#fff;}
.promo-dots span{width:7px; height:7px; border-radius:50%; background:var(--line); cursor:pointer;}
.promo-dots span.active{background:var(--navy); width:20px; border-radius:4px;}
.promo-arrow{position:absolute; top:50%; transform:translateY(-50%); z-index:5; width:38px; height:38px; border-radius:50%; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-sm); font-size:1.1rem; font-weight:800; color:var(--navy); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.15s ease;}
.promo-arrow:hover{background:var(--navy); color:#fff; border-color:var(--navy);}
.promo-arrow.prev{left:12px;}
.promo-arrow.next{right:12px;}
@media (max-width:560px){ .promo-slide{padding:30px 44px;} .promo-arrow{width:30px; height:30px; font-size:.95rem;} .promo-arrow.prev{left:6px;} .promo-arrow.next{right:6px;} }

/* Floating Telegram pill (Guidely's floating "Download App" widget) */
.float-pill{position:fixed; right:18px; bottom:18px; z-index:200; background:#25D366; color:#fff; border-radius:50px; padding:11px 18px 11px 14px; display:flex; align-items:center; gap:8px; text-decoration:none; box-shadow:0 8px 24px rgba(37,211,102,.35); font-weight:700; font-size:.84rem;}
.float-pill .dot-anim{width:8px; height:8px; border-radius:50%; background:#4ADE80; animation:pulseDot 1.6s infinite;}
@keyframes pulseDot{0%,100%{opacity:1;} 50%{opacity:.4;}}
@media(max-width:600px){ .cat-grid{grid-template-columns:1fr 1fr;} .circle-feat-grid{grid-template-columns:1fr 1fr; padding:20px;} }

/* =========================================================================
   GUIDELY TEST-CARD STYLE — exact match to the mock-test listing screenshot:
   white rounded card, centered blue circular icon, title, subtitle,
   light-pink pill button with dark maroon text
   ========================================================================= */
.btn-pill{display:inline-flex; align-items:center; gap:4px; background:var(--pill-bg); color:var(--pill-text); font-weight:800; font-size:.82rem; padding:9px 20px; border-radius:50px; text-decoration:none; border:none; font-family:var(--font-display); transition:filter .15s ease;}
.btn-pill:hover{filter:brightness(.96);}

.test-group-head{font-size:1.05rem; font-weight:800; color:var(--ink); font-family:var(--font-display); margin:26px 0 14px;}
.test-category{padding:36px 0; border-top:3px solid var(--line);}
.test-category-head{margin-bottom:24px;}
.test-category-head h2{font-size:1.7rem; margin:4px 0 8px;}
.test-category-head p{color:var(--grey); margin:0; max-width:640px;}
.test-exam-head{font-size:1.25rem; margin:32px 0 6px;}
.test-category .test-exam-head:first-of-type{margin-top:0;}
.test-exam-sub{color:var(--grey); margin:0 0 14px;}
.test-card-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; margin-bottom:8px;}
.test-card{background:#fff; border:1px solid var(--line); border-radius:16px; padding:24px 18px 20px; text-align:center; box-shadow:var(--shadow-sm); text-decoration:none; display:flex; flex-direction:column; align-items:center; appearance:none; -webkit-appearance:none; margin:0;}
.test-card .btn-pill{margin-top:auto;}
button.test-card:hover, a.test-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-2px); transition:.2s ease; }
.test-card .tc-icon{width:48px; height:48px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:14px;}
.test-card .tc-title{font-weight:800; color:var(--ink); font-size:.92rem; font-family:var(--font-display); margin-bottom:8px; line-height:1.3;}
.test-card .tc-sub{color:var(--grey); font-size:.76rem; margin-bottom:14px; line-height:1.4;}

/* ===== Page utility nav (Back to Home / Back to Previous Page) ===== */
.page-utility-nav{background:var(--light,#F0F4F8); border-bottom:1px solid var(--line,#E2E8F0); padding:8px 0; font-size:.82rem;}
.page-utility-nav .wrap{display:flex; gap:20px; align-items:center; flex-wrap:wrap;}
.page-utility-nav a{color:var(--navy2,#0F172A); font-weight:600; text-decoration:none; display:inline-flex; align-items:center; gap:4px;}
.page-utility-nav a:hover{color:var(--teal,#0C8479); text-decoration:underline;}
