/* =========================================================
   ROCHESTER COLLEGE STYLESHEET (complete)
   ========================================================= */
:root{--navy:#001a8b;--navy2:#000b5d;--sky:#2d9ad6;--gold:#f4b000;--green:#0c7a39;--red:#c9252d;--bg:#f2f6fb;--soft:#f8fbff;--text:#142033;--muted:#5e6b7e;--border:rgba(0,26,139,.14);--shadow:0 18px 45px rgba(0,26,139,.11);--r:26px;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Arial,Helvetica,sans-serif;line-height:1.6}img{max-width:100%;display:block}a{text-decoration:none;color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.45rem,7vw,5.6rem);line-height:.96;letter-spacing:-.06em;color:var(--navy2);margin-bottom:20px}h2{font-size:clamp(1.85rem,4vw,3.3rem);line-height:1.05;letter-spacing:-.04em;color:var(--navy2);margin-bottom:16px}h3{font-size:1.22rem;line-height:1.2;color:var(--navy);margin-bottom:10px}p{color:var(--muted);margin-bottom:14px}.container,.wrap,.section-inner{width:min(var(--max),calc(100% - 32px));margin-inline:auto}.site-main{min-height:70vh}

/* =========================================================
   STICKY HEADER WITH SMOOTH SHRINK
   ========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  height:94px;
  background:rgba(255,255,255,.985);
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(14px);
  transition:height 0.3s ease,box-shadow 0.3s ease;
}
.site-header.header-shrink{
  height:64px;
  box-shadow:0 8px 24px rgba(0,26,139,.10);
}
.site-header.header-shrink .brand-logo-img{
  max-height:36px;
}
.site-header.header-shrink .main-nav a{
  padding-top:8px;
  padding-bottom:8px;
}
.header-inner{
  width:min(var(--max),calc(100% - 32px));
  height:100%;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  flex:1 1 auto;
}
.brand-logo-only{
  height:100%;
  display:flex;
  align-items:center;
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
}
.brand-logo-img{
  height:calc(100% - 14px);
  width:auto;
  max-width:430px;
  object-fit:contain;
  object-position:left center;
  mix-blend-mode:multiply;
  transition:max-height 0.3s ease;
}
.main-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
}
.main-nav a{
  padding:10px 13px;
  border-radius:999px;
  font-size:.92rem;
  font-weight:900;
  color:var(--navy);
  transition:.2s;
  white-space:nowrap;
}
.main-nav a:hover,.main-nav a.active{
  background:rgba(45,154,214,.12);
  color:var(--navy2);
}
.menu-toggle{
  display:none;
  width:62px;
  height:56px;
  border:0;
  border-radius:999px;
  background:var(--navy);
  color:#fff;
  font-weight:950;
  box-shadow:0 12px 24px rgba(8,43,99,.16);
}
@media(max-width:980px){
  .site-header{height:82px;}
  .site-header.header-shrink{height:56px;}
  .site-header.header-shrink .brand-logo-img{max-height:32px;}
  .main-nav{top:82px;}
}
@media(max-width:620px){
  .site-header{height:76px;}
  .site-header.header-shrink{height:52px;}
  .site-header.header-shrink .brand-logo-img{max-height:28px;}
  .main-nav{top:76px;}
}

/* =========================================================
   TOP PROMO BANNER (above hero)
   ========================================================= */
.top-promo-banner{
  background:linear-gradient(135deg,#fff,#f4f9ff);
  padding:28px 0 18px;
}
.top-promo-banner .container{
  max-width:var(--max);
  margin:0 auto;
}
.promo-slide-card{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:28px;
  background:#fff;
  border-radius:30px;
  box-shadow:0 20px 50px rgba(0,26,139,.08);
  padding:28px 32px;
  border:1px solid var(--border);
}
.promo-slide-card img{
  max-width:280px;
  width:100%;
  height:auto;
  border-radius:22px;
  object-fit:cover;
}
.promo-slide-card .slide-caption{
  flex:1;
  min-width:260px;
  text-align:center;
}
.promo-slide-card .slide-caption h3{
  font-size:1.7rem;
  margin-bottom:8px;
  color:var(--navy2);
}
.promo-slide-card .slide-caption p{
  margin-bottom:12px;
  color:var(--muted);
  font-weight:600;
  font-size:1.05rem;
}
.promo-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin-top:18px;
}
.promo-actions .btn{
  min-height:48px;
  padding:14px 24px;
}
@media(max-width:680px){
  .promo-slide-card{
    padding:22px 18px;
    gap:16px;
  }
  .promo-slide-card img{
    max-width:100%;
  }
}

/* =========================================================
   EXISTING STYLES (clean, no top-strip rules)
   ========================================================= */
section{padding:68px 0}
.hero,.page-hero{padding:72px 0;background:radial-gradient(circle at top left,rgba(244,176,0,.18),transparent 34%),radial-gradient(circle at top right,rgba(45,154,214,.16),transparent 34%),linear-gradient(180deg,#fff,#eef5fb)}
.hero-grid{display:grid;grid-template-columns:1.13fr .87fr;gap:28px;align-items:center}
.eyebrow{display:inline-flex;padding:11px 21px;border-radius:999px;background:#fff;border:1px solid rgba(45,154,214,.25);color:var(--navy);box-shadow:0 8px 18px rgba(0,26,139,.06);font-weight:950;font-size:.86rem;margin-bottom:20px}
.hero-copy p{font-size:1.12rem;max-width:760px}
.hero-actions,.form-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.btn,button,input[type=submit]{appearance:none;border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:14px 20px;border-radius:999px;background:var(--gold);color:#071a45;font-weight:950;text-decoration:none;box-shadow:0 14px 28px rgba(244,176,0,.2);transition:.2s}
.btn:hover,button:hover,input[type=submit]:hover{transform:translateY(-1px)}
.btn.secondary{background:var(--navy);color:#fff;box-shadow:0 14px 28px rgba(8,43,99,.19)}
.btn.ghost{background:#fff;color:var(--navy);border:1px solid var(--border);box-shadow:none}
.grid{display:grid;gap:22px}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.card,.panel,.hero-card,.form-shell,.quiz-shell{background:#fff;border:1px solid var(--border);border-radius:var(--r);padding:24px;box-shadow:var(--shadow)}
.card.highlight,.course-banner{border-left:7px solid var(--gold)}
.card.green{border-left:7px solid var(--green)}
.hero-logo{width:min(360px,100%);margin:auto;background:#fff;border-radius:24px;padding:20px;border:1px solid var(--border)}
.stat-grid,.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.stat,.metric-card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:20px;box-shadow:var(--shadow)}
.stat strong,.metric-card .value{display:block;font-size:2rem;line-height:1;color:var(--navy);font-weight:950}
.stat span,.metric-card .label{color:var(--muted);font-weight:800}
.feature-list{list-style:none;padding:0;margin:0}
.feature-list li{position:relative;padding-left:24px;margin-bottom:10px;color:var(--muted)}
.feature-list li:before{content:"";position:absolute;left:0;top:.55em;width:10px;height:10px;border-radius:50%;background:var(--green)}
.course-banner{background:#fff7df;border-top:1px solid rgba(217,154,0,.16);border-right:1px solid rgba(217,154,0,.16);border-bottom:1px solid rgba(217,154,0,.16);border-radius:24px;padding:22px 26px;color:#715700;font-size:1.05rem}
.pill-row{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.pill{display:inline-flex;padding:9px 13px;border-radius:999px;background:#fff;border:1px solid var(--border);font-weight:900;color:var(--navy)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.field{display:grid;gap:8px}
.field.full{grid-column:1/-1}
label{color:var(--navy);font-weight:950}
input,select,textarea{width:100%;min-height:52px;border:1px solid rgba(8,43,99,.16);background:#fff;color:var(--text);padding:13px 15px;border-radius:18px;outline:0;transition:.2s}
textarea{min-height:120px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(217,154,0,.14)}
.notice{background:#f4fbf6;border:1px solid rgba(31,122,58,.18);color:#21613a;padding:14px 16px;border-radius:16px}
.quiz-top{border-bottom:1px solid var(--border);padding-bottom:18px;margin-bottom:18px}
.quiz-progress{height:12px;background:#e7edf7;border-radius:999px;overflow:hidden}
.quiz-progress-bar{height:100%;width:10%;background:linear-gradient(90deg,var(--green),var(--gold));border-radius:999px;transition:.25s}
.quiz-question{font-size:1.35rem;font-weight:950;color:var(--navy2);margin:18px 0}
.quiz-options{display:grid;gap:12px}
.quiz-option{border:1px solid var(--border);border-radius:18px;padding:16px 18px;background:#fff;cursor:pointer;transition:.2s}
.quiz-option:hover,.quiz-option.selected{border-color:var(--gold);background:#fffaf0}
.quiz-nav{display:flex;justify-content:space-between;gap:12px;margin-top:22px}
.table-wrap{overflow:auto;background:#fff;border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow)}
table{width:100%;border-collapse:collapse;min-width:760px}
th,td{padding:14px 16px;text-align:left;border-bottom:1px solid rgba(8,43,99,.08)}
th{background:#f7f9fd;color:var(--navy);font-size:.88rem;text-transform:uppercase;letter-spacing:.04em}
td{color:var(--muted)}
.badge{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;font-size:.82rem;font-weight:950}
.badge.success{background:#e8f6ed;color:#1f7a3a}
.badge.warning{background:#fff6df;color:#9d7200}
.badge.danger{background:#ffe8ec;color:#ad2236}
.badge.info{background:#e9f1ff;color:#0d4aa6}
.cta-strip{background:linear-gradient(135deg,var(--navy2),var(--navy));color:#fff;border-radius:32px;padding:28px;box-shadow:var(--shadow)}
.cta-strip h2,.cta-strip p{color:#fff}
.site-footer{margin-top:72px;background:radial-gradient(circle at top left,rgba(244,176,0,.15),transparent 30%),linear-gradient(135deg,var(--navy2),var(--navy));color:#fff}
.footer-inner{width:min(var(--max),calc(100% - 32px));margin:0 auto;padding:48px 0 34px;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px}
.footer-logo{width:min(320px,100%);background:#fff;padding:10px 12px;border-radius:18px;margin-bottom:16px}
.footer-brand p,.footer-links p{color:rgba(255,255,255,.78)}
.footer-links h3{color:#fff}
.footer-links a{display:block;color:rgba(255,255,255,.78);margin-bottom:9px;font-weight:750}
.footer-links a:hover{color:var(--gold)}
.footer-cta{display:inline-flex!important;width:fit-content;background:var(--gold);color:#081f49!important;padding:11px 15px;border-radius:999px;font-weight:950}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding:16px;text-align:center}
.footer-bottom p{margin:0;color:rgba(255,255,255,.72);font-size:.92rem}
.text-center{text-align:center}
.mb-0{margin-bottom:0!important}
.mt-2{margin-top:16px!important}
.mt-3{margin-top:24px!important}
@media(max-width:1080px){.hero-grid,.grid.three,.grid.four,.dashboard-grid,.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-inner{grid-template-columns:1fr 1fr}}
@media(max-width:980px){
  .header-inner{width:min(100% - 22px,var(--max))}
  .brand-logo-img{max-width:330px}
  .main-nav{position:fixed;left:0;right:0;display:none;padding:14px;background:#fff;border-bottom:1px solid var(--border);box-shadow:var(--shadow);z-index:999}
  body.nav-open .main-nav{display:grid;grid-template-columns:1fr;gap:8px}
  .main-nav a{padding:15px 16px;border-radius:16px;background:var(--soft)}
  .menu-toggle{display:inline-flex}
  .hero-grid,.grid.two,.grid.three,.grid.four,.dashboard-grid,.stat-grid,.form-grid,.footer-inner{grid-template-columns:1fr}
}
@media(max-width:620px){
  .container,.wrap,.section-inner{width:min(100% - 24px,var(--max))}
  .brand{gap:10px}
  .brand-logo-img{max-width:250px}
  .menu-toggle{width:62px;height:52px}
  section,.hero,.page-hero{padding:46px 0}
  h1{font-size:clamp(2.25rem,13vw,4.4rem)}
  .card,.panel,.hero-card,.form-shell,.quiz-shell,.cta-strip{padding:20px}
  .course-banner{padding:18px}
  .footer-logo{width:220px}
}

/* =========================================================
   V3: Trust page + stronger quiz centre
   ========================================================= */
.quiz-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.quiz-type{border:1px solid var(--border);background:#fff;color:var(--navy);border-radius:22px;padding:18px;text-align:left;box-shadow:var(--shadow);min-height:118px;display:block}.quiz-type strong{display:block;font-size:1.05rem;margin-bottom:7px;color:var(--navy2)}.quiz-type span{display:block;color:var(--muted);font-weight:650;line-height:1.35}.quiz-type.active{border-color:var(--gold);background:#fff8e4}.pro-quiz .quiz-top{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:start}.quiz-count{background:var(--navy);color:#fff;border-radius:999px;padding:8px 13px;font-weight:950}.pro-quiz .quiz-progress{grid-column:1/-1}.quiz-body{padding:24px}.quiz-option{width:100%;text-align:left;border:1px solid var(--border);background:#fff;color:var(--text);box-shadow:none;border-radius:18px;padding:16px 18px;justify-content:flex-start}.quiz-option:hover,.quiz-option.selected{background:#fff7dd;border-color:var(--gold);transform:none}.quiz-result{margin-top:22px}.result-card{background:#f4fbf6;border:1px solid rgba(31,122,58,.22);border-radius:24px;padding:22px}.trust-list{display:grid;gap:12px}.trust-list div{display:grid;gap:4px;padding:14px;border-radius:16px;background:var(--soft);border:1px solid var(--border)}.trust-list span{color:var(--muted);font-weight:800;font-size:.88rem}.trust-list strong{color:var(--navy2);font-size:1.02rem}.brand-title .accent{color:var(--gold)}@media(max-width:980px){.quiz-type-grid{grid-template-columns:1fr}.pro-quiz .quiz-top{grid-template-columns:1fr}.quiz-count{width:max-content}}

/* =========================================================
   V4: Domain strategy page + image proof section
   ========================================================= */
.domain-card h2{font-size:clamp(1.6rem,3vw,2.6rem);letter-spacing:-.04em;color:var(--navy);word-break:break-word}.domain-shot{width:100%;border-radius:22px;border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;object-fit:cover}.domain-preview-card{padding:14px;display:flex;align-items:center;justify-content:center}.domain-preview-card .domain-shot{max-height:360px;object-fit:cover;object-position:center}.brand-title .accent,.brand-title span{color:var(--gold)}@media(max-width:620px){.domain-preview-card .domain-shot{max-height:300px}.domain-card h2{font-size:1.55rem}}
.quiz-type-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.quiz-type-grid-5 .quiz-type{min-height:142px}.result-card h2{margin-bottom:10px}@media(max-width:1180px){.quiz-type-grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.quiz-type-grid-5{grid-template-columns:1fr}.quiz-type-grid-5 .quiz-type{min-height:auto}}

/* =========================================================
   ROCHESTER FOOTER + URBAN PANTHERA PLATFORM CREDIT
   ========================================================= */
.rochester-powered-footer{position:relative;overflow:hidden}
.rochester-powered-footer::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 10% 0%,rgba(244,176,0,.18),transparent 24rem),radial-gradient(circle at 88% 10%,rgba(45,154,214,.14),transparent 22rem);opacity:.95}
.rochester-footer-inner{position:relative;z-index:1}
.rochester-footer-brand{min-width:0}
.college-footer-logo-link{display:inline-flex;width:fit-content;max-width:100%;margin-bottom:14px}
.college-footer-logo{width:min(320px,100%);max-height:120px;object-fit:contain;background:#fff;padding:12px 14px;border-radius:18px}
.urban-platform-credit{margin-top:18px;padding:12px 14px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;width:fit-content;max-width:100%;border-radius:18px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16)}
.urban-platform-credit span{color:rgba(255,255,255,.75);font-size:.88rem;font-weight:850}
.urban-platform-credit a{display:inline-flex;align-items:center;gap:9px;color:#fff;text-decoration:none;font-weight:950}
.urban-platform-credit a:hover{color:var(--gold)}
.urban-credit-logo{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;object-fit:contain;border-radius:9px;background:rgba(255,255,255,.95);padding:3px}
.rochester-footer-bottom{position:relative;z-index:1}
.rochester-footer-bottom p{margin:0}
.rochester-footer-bottom a{color:var(--gold);font-weight:950;text-decoration:underline;text-underline-offset:4px}
.rochester-footer-bottom span{color:rgba(255,255,255,.72);margin-left:6px}
@media(max-width:720px){.college-footer-logo{width:min(240px,100%);max-height:100px}.urban-platform-credit{width:100%}.urban-platform-credit a{width:100%}}
.up-demo-banner{display:none!important}.notice.error{background:#fff4f4;border-color:rgba(201,37,45,.22);color:#8b1d24}.small-note{font-size:.92rem;color:var(--muted);margin-top:14px}.main-nav a[href='domain.php']{display:none}
.calculator-result{margin-top:16px;padding:16px;border-radius:18px;background:#fff;border:1px solid var(--border);font-size:1.1rem}
.calculator-result strong{color:var(--navy2);font-size:1.35rem}
.small-value{font-size:1.25rem!important;line-height:1.1}
.inline-admin-form{display:grid;grid-template-columns:minmax(110px,1fr) minmax(130px,1fr) minmax(140px,1fr) auto;gap:8px;align-items:center;min-width:520px}
.inline-admin-form select,.inline-admin-form input{min-height:38px;border-radius:10px;border:1px solid var(--border);padding:8px;background:#fff}
.inline-admin-form button{min-height:38px;border-radius:10px;padding:8px 12px}
.table-wrap code{white-space:nowrap;font-size:.82rem}
.badge.warning{background:#fff8e1;color:#7a5100;border:1px solid rgba(244,176,0,.3)}
.badge.info{background:#eef5ff;color:#001a8b;border:1px solid rgba(0,26,139,.15)}
.badge.success{background:#ecfff3;color:#0c7a39;border:1px solid rgba(12,122,57,.2)}
.badge.danger{background:#fff0f0;color:#9b1c1c;border:1px solid rgba(201,37,45,.2)}
@media(max-width:760px){.inline-admin-form{grid-template-columns:1fr;min-width:260px}.table-wrap{overflow-x:auto}}
.btn.mini{padding:.45rem .7rem;font-size:.78rem;margin:.15rem;display:inline-flex}.btn.secondary{border:1px solid currentColor}
.rotating-bg{position:relative;overflow:hidden;background-image:linear-gradient(120deg,rgba(9,69,74,.92),rgba(21,119,87,.86)),var(--hero-bg);background-size:cover;background-position:center;}
.rotating-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(255,204,85,.28),transparent 32%);pointer-events:none}.rotating-bg>*{position:relative;z-index:1}.slideshow-section{background:linear-gradient(180deg,#f8fbfa,#fff)}
.slide-show{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:10px 0 22px}.slide-card{min-width:min(88vw,560px);height:330px;border-radius:28px;overflow:hidden;position:relative;scroll-snap-align:start;box-shadow:0 22px 60px rgba(0,0,0,.18);background:#083b3f}.slide-card img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(1.08)}.slide-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(2,28,31,.82),rgba(2,28,31,.08) 58%)}.slide-caption{position:absolute;left:24px;right:24px;bottom:22px;color:#fff;z-index:2}.slide-caption h3{margin:0 0 6px;font-size:1.6rem}.slide-caption p{margin:0;color:rgba(255,255,255,.86)}.footer-social{margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.18);font-size:.95rem}.admin-thumb{width:88px;height:58px;object-fit:cover;border-radius:10px}.inline-admin-form input,.inline-admin-form textarea,.inline-admin-form select{max-width:220px}.metric-card .value{font-size:clamp(1.1rem,2vw,1.8rem)}
.rotating-bg{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--navy2),var(--navy)) !important;color:#fff;isolation:isolate;}
.rotating-bg::before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(6,31,73,.92),rgba(6,31,73,.76),rgba(8,43,99,.48)),var(--hero-bg);background-size:cover;background-position:center;opacity:1;z-index:-2;}
.rotating-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at top left,rgba(217,154,0,.24),transparent 36%),linear-gradient(180deg,rgba(6,31,73,.04),rgba(6,31,73,.32));z-index:-1;}
.rotating-bg h1,.rotating-bg h2,.rotating-bg h3{color:#fff;text-shadow:0 3px 20px rgba(0,0,0,.28)}
.rotating-bg p{color:rgba(255,255,255,.94);font-weight:650;text-shadow:0 2px 14px rgba(0,0,0,.25)}
.rotating-bg .eyebrow{background:rgba(255,255,255,.94);color:var(--navy);border-color:rgba(255,255,255,.45)}
.hero-contact-line{font-size:.98rem;max-width:760px;margin-top:12px;color:#fff !important;}
.stat.wide{grid-column:1/-1}.small-value{font-size:1.05rem!important;line-height:1.2}.contact-band{background:linear-gradient(135deg,#fff,var(--gold2));}.portal-login-form{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.portal-login-form input{min-height:52px;min-width:min(100%,360px);border-radius:999px;border:1px solid var(--border);padding:0 18px;font-weight:800}.portal-hero{background:radial-gradient(circle at top left,rgba(217,154,0,.19),transparent 34%),linear-gradient(135deg,#fff,#eef5ff)}
@media(max-width:760px){.rotating-bg h1{font-size:clamp(2.55rem,13vw,4.9rem);letter-spacing:-.075em}.rotating-bg p{font-size:1.08rem}.hero-actions .btn{width:100%;}.portal-login-form input,.portal-login-form button{width:100%}}
.progress-track{width:100%;height:16px;border-radius:999px;background:rgba(0,0,0,.08);overflow:hidden;margin:12px 0 18px}
.progress-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--green,#0b7a53),var(--gold,#d4a017));}
.gamified-card{border:1px solid rgba(11,122,83,.18);box-shadow:0 18px 44px rgba(11,122,83,.10)}
.badge-pill{font-weight:700}
.lesson-card{position:relative;overflow:hidden}
.lesson-card:after{content:'Protected student lesson';position:absolute;right:14px;top:14px;font-size:.72rem;padding:6px 10px;border-radius:999px;background:rgba(11,122,83,.09);color:var(--green,#0b7a53);font-weight:700}
.lesson-done{border-color:rgba(11,122,83,.35);background:linear-gradient(180deg,rgba(11,122,83,.06),#fff)}
.preview-card{position:relative;border:1px solid rgba(212,160,23,.35)}
.locked-strip{margin-top:14px;padding:12px;border-radius:14px;background:rgba(0,0,0,.06);font-size:.92rem;font-weight:700;color:#333}
.cta-band{margin-top:28px;padding:28px;border-radius:28px;background:linear-gradient(135deg,rgba(11,122,83,.10),rgba(212,160,23,.14));border:1px solid rgba(11,122,83,.18)}
.home-hero.rotating-bg{position:relative;isolation:isolate;background-image:linear-gradient(90deg,rgba(255,255,255,.95),rgba(255,255,255,.82)),var(--hero-bg);background-size:cover;background-position:center;}
.home-hero.rotating-bg h1,.page-hero h1{color:var(--navy2)}
.home-hero.rotating-bg p{color:#25334a;font-weight:650}.hero-contact-line{background:rgba(255,255,255,.86);padding:10px 14px;border-radius:16px;display:inline-block}.slide-show{position:relative;min-height:390px;overflow:hidden;border-radius:32px;box-shadow:var(--shadow);background:#fff}.slide-card{position:absolute;inset:0;opacity:0;transition:opacity 900ms ease}.slide-card.active{opacity:1}.slide-card img{width:100%;height:100%;object-fit:cover}.slide-caption{position:absolute;left:24px;right:24px;bottom:24px;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);border-radius:22px;padding:18px;border:1px solid var(--border)}.progress-track{height:14px;border-radius:99px;background:#e5ebf5;overflow:hidden;margin:14px 0}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,var(--gold),var(--green));border-radius:99px}.gamified-card{border:2px solid rgba(217,154,0,.25)}.badge-pill{background:#fff7df;color:var(--navy)}.locked-module{opacity:.88;position:relative}.locked-module:after{content:"🔒";position:absolute;top:18px;right:18px;font-size:1.3rem}.small-note{font-size:.9rem;color:var(--muted)}@media(max-width:620px){.home-hero.rotating-bg{background-image:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.9)),var(--hero-bg)}.slide-show{min-height:300px}.slide-caption{left:12px;right:12px;bottom:12px}.hero-actions .btn{width:100%}}
.hero-landing{position:relative;min-height:calc(100vh - 128px);display:flex;align-items:center;overflow:hidden;background:#061f49;color:#fff;isolation:isolate;padding:0}
.hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transform:scale(1.04);transition:opacity 1100ms ease,transform 6500ms ease;z-index:-3}
.hero-slide.active{opacity:1;transform:scale(1)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,31,73,.92) 0%,rgba(6,31,73,.74) 43%,rgba(6,31,73,.18) 100%),radial-gradient(circle at 15% 15%,rgba(217,154,0,.35),transparent 28%);z-index:-2}
.hero-landing-inner{position:relative;padding:76px 0 96px}
.hero-copy-card{max-width:760px;padding:34px 36px;border-radius:34px;background:linear-gradient(135deg,rgba(6,31,73,.72),rgba(6,31,73,.38));backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.16);box-shadow:0 30px 90px rgba(0,0,0,.22)}
.hero-copy-card h1{color:#fff;font-size:clamp(2.7rem,7vw,5.45rem);line-height:.92;letter-spacing:-.07em;text-shadow:0 6px 28px rgba(0,0,0,.42);margin-bottom:22px}
.hero-copy-card p{color:rgba(255,255,255,.94);font-size:clamp(1.04rem,2vw,1.22rem);font-weight:650;max-width:680px;text-shadow:0 3px 16px rgba(0,0,0,.35)}
.eyebrow.light{background:rgba(255,255,255,.95);color:var(--navy2);border-color:rgba(255,255,255,.42)}
.btn.ghost-light{background:rgba(255,255,255,.96);color:var(--navy2);border:1px solid rgba(255,255,255,.55)}
.hero-contact-line.clean{display:inline-block;margin-top:20px;padding:10px 14px;border-radius:16px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);color:#fff!important}
.hero-dots{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);display:flex;gap:10px;z-index:4}.hero-dots span{width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,.55);transition:.25s}.hero-dots span.active{width:34px;background:var(--gold)}
.trust-strip-section{padding:26px 0;background:#fff}.trust-strip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.trust-tile{background:linear-gradient(180deg,#fff,#f5f8ff);border:1px solid var(--border);border-radius:22px;padding:20px;text-align:center;box-shadow:0 10px 30px rgba(6,31,73,.06)}.trust-tile strong{display:block;font-size:clamp(1.8rem,4vw,3rem);line-height:1;color:var(--navy)}.trust-tile span{display:block;margin-top:6px;color:var(--muted);font-weight:900}
.beautiful-gallery .slide-show{height:520px;min-height:520px;border-radius:34px}.beautiful-gallery .slide-card{height:100%;min-width:100%;border-radius:34px}.beautiful-gallery .slide-card::after{background:linear-gradient(0deg,rgba(6,31,73,.82),rgba(6,31,73,.06) 62%)}.beautiful-gallery .slide-caption{background:rgba(255,255,255,.92);color:var(--text)}.beautiful-gallery .slide-caption h3{color:var(--navy2)}.beautiful-gallery .slide-caption p{color:#334155}.course-card-clean{transition:transform .2s,box-shadow .2s}.course-card-clean:hover{transform:translateY(-4px);box-shadow:0 24px 60px rgba(6,31,73,.14)}.pathway-steps.elegant div{background:#fff;border:1px solid var(--border);border-radius:18px;padding:14px}.student-journey-section{background:linear-gradient(180deg,#f8fbff,#fff)}
@media(max-width:820px){.hero-landing{min-height:auto}.hero-overlay{background:linear-gradient(180deg,rgba(6,31,73,.94),rgba(6,31,73,.72),rgba(6,31,73,.38))}.hero-landing-inner{padding:48px 0 76px}.hero-copy-card{padding:26px 22px;border-radius:28px}.hero-copy-card h1{font-size:clamp(2.35rem,12vw,4.8rem)}.hero-actions .btn{width:100%}.trust-strip-grid{grid-template-columns:repeat(2,1fr)}.beautiful-gallery .slide-show{height:360px;min-height:360px}}
@media(max-width:520px){.trust-strip-grid{grid-template-columns:1fr 1fr;gap:10px}.trust-tile{padding:15px 10px;border-radius:18px}.hero-copy-card{background:rgba(6,31,73,.74)}.beautiful-gallery .slide-show{height:310px;min-height:310px}.beautiful-gallery .slide-caption{padding:14px}.beautiful-gallery .slide-caption h3{font-size:1.15rem}}
.main-nav a.admin-nav-button{
  margin-left:8px;
  background:linear-gradient(135deg,var(--navy2),var(--navy)) !important;
  color:#fff !important;
  border:1px solid rgba(244,176,0,.35);
  border-radius:999px;
  padding:10px 16px;
  font-weight:950;
  box-shadow:0 10px 24px rgba(0,26,139,.16);
}
.main-nav a.admin-nav-button:hover,
.main-nav a.admin-nav-button.active{
  background:linear-gradient(135deg,var(--gold),#ffd166) !important;
  color:var(--navy2) !important;
  transform:translateY(-1px);
}
@media(max-width:980px){
  .main-nav a.admin-nav-button{
    margin-left:0;
    background:var(--navy) !important;
    color:#fff !important;
    border-radius:16px;
    text-align:center;
    justify-content:center;
  }
  .main-nav a.admin-nav-button:hover,
  .main-nav a.admin-nav-button.active{
    background:var(--gold) !important;
    color:var(--navy2) !important;
  }
}

/* =========================================================
   E-LEARNING INDEX - FULL WIDTH SLIDESHOW FIX
   This makes <div class="container"><div class="slide-show"> fill edge-to-edge
   ========================================================= */
.slideshow-section.beautiful-gallery{
  padding:0 !important;
  background:var(--navy2);
  width:100vw;
  margin-left:calc(50% - 50vw);
}
.slideshow-section.beautiful-gallery .container{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
.slideshow-section.beautiful-gallery .slide-show{
  width:100% !important;
  height:88vh !important;
  min-height:580px !important;
  max-height:860px !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
.slideshow-section.beautiful-gallery .slide-card,
.slideshow-section.beautiful-gallery .slide-card.active{
  min-width:100% !important;
  width:100% !important;
  height:100% !important;
  border-radius:0 !important;
}
.slideshow-section.beautiful-gallery .slide-card img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
.slideshow-section.beautiful-gallery .slide-caption{
  left:50% !important;
  right:auto !important;
  bottom:8% !important;
  transform:translateX(-50%) !important;
  width:min(560px,calc(100% - 24px)) !important;
  text-align:center !important;
  background:rgba(255,255,255,.96) !important;
  backdrop-filter:blur(12px);
  border-radius:24px !important;
  padding:20px 22px !important;
  border:1px solid var(--border) !important;
  box-shadow:0 18px 45px rgba(0,26,139,.18) !important;
}
.slideshow-section.beautiful-gallery .slide-caption .hero-actions{
  justify-content:center !important;
}