/* ==========================================================
   Vardhman Podar Learn School — Common Stylesheet
   ========================================================== */

:root {
    --dark: #3b1442;
    --darker: #260b2b;
    --primary: #88328f;
    --primary-dark: #6a2470;
    --accent: #ffcc01;
    --soft: #f8f3f9;
    --ink: #1c2434;
    --muted: #5d6779;
    --line: #ece3ee;
    --white: #ffffff;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 4px 14px rgba(59, 20, 66, .06);
    --shadow: 0 14px 40px rgba(59, 20, 66, .10);
    --shadow-lg: 0 24px 60px rgba(59, 20, 66, .16);
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-head: 'Fraunces', Georgia, serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--dark); font-weight: 600; line-height: 1.2; }
a { color: var(--primary); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }
p { color: var(--muted); }
::selection { background: var(--primary); color: #fff; }

.section { padding: 100px 0; position: relative; }
.section-sm { padding: 70px 0; }
.bg-soft { background: var(--soft); }
.bg-plum { background: var(--dark); }
.text-brand { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }

/* ---------- Preloader ---------- */
#preloader {
    position: fixed; inset: 0; background: #fff; z-index: 9999;
    display: flex; flex-direction: column; gap: 22px; align-items: center; justify-content: center; transition: opacity .5s, visibility .5s;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.loader-ring {
    width: 54px; height: 54px; border-radius: 50%;
    border: 4px solid var(--line); border-top-color: var(--primary);
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Eyebrow & section titles ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-body); font-size: 13px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--accent); }
.section-title { margin-bottom: 56px; }
.section-title.text-center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-title h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.section-title p { font-size: 17px; max-width: 680px; }
.section-title.text-center p { margin-left: auto; margin-right: auto; }
.section-title.light h2 { color: #fff; }
.section-title.light p { color: rgba(255, 255, 255, .75); }

/* ---------- Buttons ---------- */
.btn-brand, .btn-outline-brand, .btn-light-brand, .btn-plum {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 15px;
    border: 2px solid transparent; transition: all .3s var(--ease); cursor: pointer;
    white-space: nowrap;
}
.btn-brand { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(136, 50, 143, .28); }
.btn-brand:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-plum { background: var(--dark); color: #fff; }
.btn-plum:hover { background: var(--darker); color: #fff; transform: translateY(-2px); }
.btn-outline-brand { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-outline-brand:hover { background: var(--dark); color: #fff; }
.btn-light-brand { background: #fff; color: var(--dark); }
.btn-light-brand:hover { background: var(--accent); color: var(--dark); }
.btn-ghost-light { border: 2px solid rgba(255, 255, 255, .5); color: #fff; padding: 14px 28px; border-radius: 50px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; transition: all .3s; }
.btn-ghost-light:hover { background: #fff; color: var(--dark); }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow i { transition: transform .3s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--darker); color: rgba(255, 255, 255, .8); font-size: 13.5px; padding: 9px 0; }
.topbar a, .topbar span { color: rgba(255, 255, 255, .8); }
.topbar a:hover { color: var(--accent); }
.topbar-info { display: flex; gap: 26px; }
.topbar-info i { color: var(--accent); margin-right: 6px; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-badge { background: rgba(255, 204, 1, .15); color: var(--accent) !important; padding: 3px 12px; border-radius: 30px; font-weight: 600; }
.topbar-social { display: flex; gap: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.main-nav { display: flex; align-items: center; justify-content: space-between; height: 86px; transition: height .3s; }
.site-header.scrolled .main-nav { height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 62px; width: auto; transition: height .3s; }
.site-header.scrolled .brand img { height: 48px; }
.brand-text { display: none; line-height: 1.15; }
.brand-text strong { display: block; font-family: var(--font-head); color: var(--dark); font-size: 19px; }
.brand-text small { color: var(--primary); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; }
.brand img[style*="display: none"] + .brand-text { display: block; }

.nav-menu { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--ink);
    font-weight: 600; font-size: 15px; border-radius: 10px;
}
.nav-menu > li > a i { font-size: 11px; transition: transform .3s; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--primary); }
.nav-menu > li > a.active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--primary); border-radius: 2px;
}
.dropdown {
    list-style: none; position: absolute; top: calc(100% + 12px); left: 0; min-width: 260px;
    background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
    border-top: 3px solid var(--primary);
}
.dropdown::before { content: ""; position: absolute; top: -15px; left: 0; right: 0; height: 15px; }
.dropdown li a {
    display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink);
    font-size: 14.5px; font-weight: 500; border-radius: 8px;
}
.dropdown li a i { color: var(--primary); font-size: 15px; width: 18px; }
.dropdown li a:hover { background: var(--soft); color: var(--primary); padding-left: 18px; }
@media (min-width: 992px) {
    .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
    .has-dropdown:hover > a i { transform: rotate(180deg); }
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn-brand { padding: 11px 22px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { position: fixed; inset: 0; background: rgba(38, 11, 43, .5); z-index: 998; opacity: 0; visibility: hidden; transition: .3s; }
.nav-overlay.show { opacity: 1; visibility: visible; }

@media (max-width: 991.98px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -340px; width: 320px; height: 100vh; background: #fff;
        flex-direction: column; align-items: stretch; padding: 90px 20px 30px; gap: 0;
        overflow-y: auto; transition: right .4s var(--ease); z-index: 999; box-shadow: var(--shadow-lg);
    }
    .nav-menu.open { right: 0; }
    .nav-menu > li > a { justify-content: space-between; padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav-menu > li > a.active::after { display: none; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 6px 0 6px 10px; min-width: 0; }
    .has-dropdown.open .dropdown { display: block; }
    .has-dropdown.open > a i { transform: rotate(180deg); }
    .nav-actions { position: relative; z-index: 1001; }
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
    position: relative; padding: 120px 0 110px; color: #fff; overflow: hidden;
    background: var(--dark) center/cover no-repeat;
}
.page-banner::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(38, 11, 43, .94) 0%, rgba(59, 20, 66, .82) 45%, rgba(136, 50, 143, .45) 100%);
}
.page-banner::after {
    content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
    border: 60px solid rgba(255, 204, 1, .12);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); margin-bottom: 14px; }
.page-banner p { color: rgba(255, 255, 255, .8); font-size: 18px; max-width: 640px; margin-bottom: 22px; }
.breadcrumb-nav { display: inline-flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 8px 18px; margin: 0; background: rgba(255, 255, 255, .1); border-radius: 40px; font-size: 14px; }
.breadcrumb-nav li { color: var(--accent); }
.breadcrumb-nav li a { color: rgba(255, 255, 255, .85); }
.breadcrumb-nav li a:hover { color: #fff; }
.breadcrumb-nav li + li::before { content: "/"; color: rgba(255, 255, 255, .4); margin-right: 8px; }

/* ---------- Cards ---------- */
.card-soft {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
    height: 100%; transition: all .35s var(--ease); position: relative; overflow: hidden;
}
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-soft h4 { font-size: 22px; margin-bottom: 12px; }
.card-soft p:last-child { margin-bottom: 0; }
.icon-box {
    width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
    background: rgba(136, 50, 143, .08); color: var(--primary); font-size: 28px; margin-bottom: 22px;
    transition: all .35s var(--ease);
}
.card-soft:hover .icon-box { background: var(--primary); color: #fff; transform: rotate(-6deg); }
.icon-box.dark { background: rgba(59, 20, 66, .08); color: var(--dark); }
.icon-box.accent { background: rgba(255, 204, 1, .15); color: #b38600; }
.card-number { position: absolute; top: 20px; right: 26px; font-family: var(--font-head); font-size: 54px; font-weight: 700; color: var(--soft); line-height: 1; z-index: 0; }

.img-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); height: 100%; transition: all .35s var(--ease); display: flex; flex-direction: column; }
.img-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.img-card .img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--soft); }
.img-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.img-card:hover .img-wrap img { transform: scale(1.07); }
.img-card .tag { position: absolute; top: 16px; left: 16px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 30px; letter-spacing: .04em; }
.img-card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.img-card .meta { font-size: 13px; color: var(--muted); display: flex; gap: 16px; margin-bottom: 10px; }
.img-card .meta i { color: var(--primary); margin-right: 4px; }
.img-card h4 { font-size: 21px; margin-bottom: 12px; }
.img-card h4 a { color: var(--dark); }
.img-card h4 a:hover { color: var(--primary); }
.img-card .link-arrow { margin-top: auto; }

/* ---------- Content page blocks ---------- */
.content-img { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.content-img img { width: 100%; display: block; object-fit: cover; }
.img-stack { position: relative; padding: 0 0 60px 60px; }
.img-stack .main { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.img-stack .small { position: absolute; left: 0; bottom: 0; width: 46%; border-radius: var(--radius); border: 8px solid #fff; box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.img-stack .badge-float {
    position: absolute; top: 30px; left: 10px; background: var(--primary); color: #fff; padding: 18px 22px; border-radius: 16px;
    box-shadow: var(--shadow); text-align: center; line-height: 1.1;
}
.img-stack .badge-float strong { font-family: var(--font-head); font-size: 38px; display: block; }
.img-stack .badge-float span { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; }

.lead-text { font-size: 19px; color: var(--ink); line-height: 1.7; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { position: relative; padding-left: 36px; margin-bottom: 14px; color: var(--ink); }
.check-list li::before {
    content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 2px; width: 24px; height: 24px;
    background: rgba(136, 50, 143, .1); color: var(--primary); border-radius: 50%; display: grid; place-items: center; font-size: 14px;
}
.check-list.two-col { columns: 2; column-gap: 30px; }
.check-list.two-col li { break-inside: avoid; }
@media (max-width: 575px) { .check-list.two-col { columns: 1; } }

.quote-box {
    background: var(--dark); color: #fff; border-radius: var(--radius); padding: 44px; position: relative; overflow: hidden;
}
.quote-box::before { content: "\201C"; font-family: var(--font-head); position: absolute; top: -30px; right: 30px; font-size: 220px; color: rgba(255, 255, 255, .06); line-height: 1; }
.quote-box p { color: rgba(255, 255, 255, .88); font-size: 19px; font-family: var(--font-head); font-style: italic; line-height: 1.6; position: relative; }
.quote-box .author { color: var(--accent); font-weight: 700; font-family: var(--font-body); font-style: normal; font-size: 15px; }

.highlight-band { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: var(--radius); padding: 50px; position: relative; overflow: hidden; }
.highlight-band h3 { color: #fff; }
.highlight-band p { color: rgba(255, 255, 255, .85); }
.highlight-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); }

/* Stat pills */
.stat-row { display: flex; flex-wrap: wrap; gap: 20px; }
.stat-pill { flex: 1 1 140px; background: var(--soft); border-radius: var(--radius-sm); padding: 22px; text-align: center; }
.stat-pill strong { font-family: var(--font-head); font-size: 36px; color: var(--primary); display: block; line-height: 1.1; }
.stat-pill span { font-size: 14px; font-weight: 600; color: var(--dark); }

/* Sidebar for inner pages */
.side-nav { background: var(--soft); border-radius: var(--radius); padding: 28px; position: sticky; top: 110px; }
.side-nav h5 { font-size: 20px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--line); }
.side-nav ul { list-style: none; padding: 0; margin: 0; }
.side-nav li a { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 4px; background: #fff; }
.side-nav li a:hover, .side-nav li a.active { background: var(--primary); color: #fff; }
.side-help { background: var(--dark); border-radius: var(--radius); padding: 30px; color: #fff; margin-top: 24px; }
.side-help h5 { color: #fff; }
.side-help p { color: rgba(255, 255, 255, .75); font-size: 15px; }
.side-help a.phone { color: var(--accent); font-size: 22px; font-weight: 800; display: block; margin-bottom: 14px; }

/* Timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before { content: ""; position: absolute; left: -37px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); }
.timeline-item .year { font-family: var(--font-head); font-size: 22px; color: var(--primary); font-weight: 700; }
.timeline-item h5 { margin: 4px 0 6px; font-size: 20px; }

/* Steps */
.step-card { text-align: center; padding: 30px 20px; position: relative; }
.step-num { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; background: #fff; border: 2px dashed var(--primary); display: grid; place-items: center; font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--primary); position: relative; z-index: 2; }
.step-card h5 { font-size: 19px; }
@media (min-width: 992px) {
    .steps-row .col-lg-3:not(:last-child) .step-card::after { content: ""; position: absolute; top: 65px; left: calc(50% + 45px); width: calc(100% - 90px); border-top: 2px dashed var(--line); }
}

/* Accordion */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: 14px; overflow: hidden; }
.faq .accordion-button { font-weight: 700; color: var(--dark); padding: 20px 24px; font-size: 16px; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: var(--soft); color: var(--primary); }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-body { color: var(--muted); padding: 4px 24px 22px; background: var(--soft); }

/* Forms */
.form-card { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-label { font-weight: 600; font-size: 14px; color: var(--dark); }
.form-control, .form-select { border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: 15px; background-color: var(--soft); }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(136, 50, 143, .1); background-color: #fff; }

/* Tables */
.table-modern { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.table-modern table { margin: 0; }
.table-modern thead th { background: var(--dark); color: #fff; font-weight: 600; padding: 16px 20px; border: 0; }
.table-modern td { padding: 16px 20px; vertical-align: middle; border-color: var(--line); }
.table-modern tbody tr:hover { background: var(--soft); }

/* Gallery grid (shared) */
.gallery-item { display: block; position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item::after { content: "\F52A"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; color: #fff; background: rgba(59, 20, 66, .55); opacity: 0; transition: opacity .35s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(38, 11, 43, .94); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 22px; }
.lightbox button:hover { background: var(--primary); }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Pagination */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 50px; list-style: none; padding: 0; }
.pager a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); color: var(--dark); font-weight: 700; }
.pager a.active, .pager a:hover { background: var(--primary); color: #fff; }

/* Article (blog / news detail) */
.article-body { font-size: 17px; }
.article-body p { color: #3d4556; margin-bottom: 22px; }
.article-body h3 { margin: 36px 0 16px; font-size: 28px; }
.article-body blockquote { border-left: 4px solid var(--primary); background: var(--soft); padding: 24px 28px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-head); font-size: 20px; color: var(--dark); font-style: italic; margin: 30px 0; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; aspect-ratio: 16/8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.article-meta i { color: var(--primary); margin-right: 6px; }
.share-row { display: flex; align-items: center; gap: 10px; padding-top: 26px; border-top: 1px solid var(--line); margin-top: 40px; }
.share-row a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--dark); }
.share-row a:hover { background: var(--primary); color: #fff; }
.recent-post { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.recent-post img { width: 80px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.recent-post a { color: var(--dark); font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.recent-post a:hover { color: var(--primary); }
.recent-post small { color: var(--muted); font-size: 12.5px; }

/* Legal page */
.legal-body h3 { font-size: 24px; margin: 34px 0 12px; }
.legal-body p, .legal-body li { color: #3d4556; }

/* ---------- CTA strip ---------- */
.cta-strip { padding: 0; position: relative; z-index: 2; background: linear-gradient(to bottom, transparent 50%, var(--darker) 50%); }
.cta-strip-inner {
    background: linear-gradient(115deg, var(--primary) 0%, var(--primary-dark) 60%, #4f1655 100%);
    border-radius: 24px; padding: 48px 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-strip-inner::before { content: ""; position: absolute; left: -60px; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); }
.cta-strip-inner h3 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin: 0; max-width: 620px; position: relative; }
.cta-strip-actions { display: flex; align-items: center; gap: 24px; flex-shrink: 0; position: relative; }
.cta-phone { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 19px; }
.cta-phone:hover { color: var(--accent); }
.cta-phone i { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; font-size: 22px; }
.cta-phone small { display: block; font-size: 12px; font-weight: 600; opacity: .75; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 991.98px) {
    .cta-strip-inner { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
    .cta-strip-actions { flex-wrap: wrap; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--darker); color: rgba(255, 255, 255, .72); padding: 80px 0 0; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(136, 50, 143, .18), transparent 40%); pointer-events: none; }
.site-footer .container { position: relative; }
.footer-brand img { height: 64px; background: #fff; padding: 8px 14px; border-radius: 12px; margin-bottom: 22px; }
.footer-about { color: rgba(255, 255, 255, .65); font-size: 15px; }
.footer-about strong { color: var(--accent); font-weight: 600; }
.site-footer h5 { color: #fff; font-size: 20px; margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.site-footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--primary); border-radius: 3px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: rgba(255, 255, 255, .68); font-size: 15px; transition: all .25s; }
.footer-links a:hover { color: var(--accent); padding-left: 6px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 16px; font-size: 15px; }
.footer-contact i { color: var(--accent); margin-top: 3px; }
.footer-contact a { color: rgba(255, 255, 255, .8); }
.footer-contact a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: all .3s; }
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 60px; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .55); }
.footer-bottom ul { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .6); font-size: 14px; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Floating buttons ---------- */
.float-call { position: fixed; left: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--dark) !important; color: #fff; display: grid; place-items: center; font-size: 24px; z-index: 900; box-shadow: 0 10px 24px rgba(255, 204, 1, .45); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 204, 1, .6); } 70% { box-shadow: 0 0 0 16px rgba(255, 204, 1, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 204, 1, 0); } }
.back-to-top { position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 14px; background: var(--primary); color: #fff; border: 0; font-size: 20px; z-index: 900; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s; box-shadow: var(--shadow); }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--dark); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .section { padding: 76px 0; }
    .img-stack { padding: 0 0 40px 30px; margin-bottom: 30px; }
    .side-nav { position: static; margin-top: 40px; }
}
@media (max-width: 575.98px) {
    .section { padding: 60px 0; }
    .page-banner { padding: 80px 0 70px; }
    .form-card { padding: 26px; }
    .quote-box, .highlight-band { padding: 30px; }
    .brand img { height: 46px; }
    .main-nav { height: 72px; }
}


/* ==========================================================
   Shared components (v2)
   ========================================================== */
.preloader-logo { height: 70px; }

/* Welcome ticker */
.ticker { background: var(--accent); color: var(--dark); font-size: 14px; font-weight: 600; overflow: hidden; white-space: nowrap; padding: 8px 0; }
.ticker-track { display: inline-flex; gap: 80px; animation: ticker 70s linear infinite; padding-left: 100%; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker i { color: var(--primary); margin-right: 6px; }
.ticker a { color: var(--primary); font-weight: 800; text-decoration: underline; }
@keyframes ticker { to { transform: translateX(-100%); } }

.dropdown li a.sub-link { padding-left: 40px; font-size: 13.5px; color: var(--muted); }

/* Photo tiles with caption (campus / facilities / gallery) */
.photo-tile { display: block; position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--soft); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.photo-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(38, 11, 43, .85)); z-index: 1; transition: background .4s; }
.photo-tile .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.photo-tile .cap i { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--dark); display: grid; place-items: center; font-size: 14px; opacity: 0; transform: scale(.6); transition: all .35s; flex-shrink: 0; }
.photo-tile:hover img { transform: scale(1.08); }
.photo-tile:hover::before { background: linear-gradient(180deg, rgba(136, 50, 143, .15) 0%, rgba(38, 11, 43, .9)); }
.photo-tile:hover .cap i { opacity: 1; transform: scale(1); }

/* Pill tabs */
.pill-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0 0 40px; }
.pill-tabs button { border: 1.5px solid var(--line); background: #fff; padding: 11px 24px; border-radius: 50px; font-weight: 700; font-size: 15px; color: var(--dark); display: inline-flex; align-items: center; gap: 8px; transition: all .3s; }
.pill-tabs button i { color: var(--primary); }
.pill-tabs button.active, .pill-tabs button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.pill-tabs button.active i, .pill-tabs button:hover i { color: var(--accent); }

/* Vertical tabs (curriculum, faculty) */
.v-tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 110px; }
.v-tabs button { text-align: left; border: 0; background: #fff; border-radius: 12px; padding: 14px 18px; font-weight: 700; color: var(--dark); font-size: 15px; display: flex; justify-content: space-between; align-items: center; transition: all .25s; border-left: 4px solid transparent; }
.v-tabs button i { opacity: 0; transition: .25s; }
.v-tabs button.active, .v-tabs button:hover { background: var(--primary); color: #fff; border-left-color: var(--accent); }
.v-tabs button.active i { opacity: 1; }
.v-panel { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.v-panel h3 { font-size: 28px; margin-bottom: 18px; }
.v-panel h5 { font-family: var(--font-body); font-size: 17px; font-weight: 800; color: var(--primary); margin: 24px 0 6px; }
.v-panel p, .v-panel li { color: #4a4458; }
@media (max-width: 991.98px) { .v-tabs { position: static; flex-direction: row; flex-wrap: wrap; } .v-tabs button { flex: 1 1 auto; } }
@media (max-width: 575.98px) { .v-panel { padding: 24px; } }

/* Image band (section with background image) */
.image-band { position: relative; padding: 120px 0; background: var(--dark) center/cover no-repeat; color: #fff; overflow: hidden; }
.image-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(38, 11, 43, .92) 0%, rgba(59, 20, 66, .82) 50%, rgba(136, 50, 143, .55) 100%); }
.image-band .container { position: relative; z-index: 2; }
.image-band h2, .image-band h3 { color: #fff; }
.image-band p { color: rgba(255, 255, 255, .85); font-size: 17px; }
.image-band .glass { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); padding: 40px; backdrop-filter: blur(6px); }

/* Person / message cards */
.person-msg { background: #fff; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.person-msg .photo { position: relative; height: 100%; min-height: 420px; background: var(--soft); }
.person-msg .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; position: absolute; inset: 0; }
.person-msg .photo .name-tag { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255, 255, 255, .96); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-sm); }
.person-msg .photo .name-tag h4 { margin: 0; font-size: 21px; }
.person-msg .photo .name-tag span { color: var(--primary); font-weight: 600; font-size: 14px; }
.person-msg .text { padding: 50px; position: relative; }
.person-msg .text::before { content: "\201C"; position: absolute; right: 36px; top: 0; font-family: var(--font-head); font-size: 180px; line-height: 1; color: var(--soft); }
.person-msg .text p { color: #4a4458; position: relative; }
.person-msg .sign { font-family: var(--font-head); font-size: 22px; color: var(--dark); margin: 0; }
.person-msg .sign small { display: block; font-family: var(--font-body); font-size: 14px; color: var(--primary); font-weight: 600; }
@media (max-width: 575.98px) { .person-msg .text { padding: 28px; } }

/* Numbered feature list */
.feature-list { display: grid; gap: 14px; }
.feature-list .item { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; transition: all .3s; }
.feature-list .item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.feature-list .num { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 20px; }
.feature-list h5 { font-family: var(--font-body); font-size: 17px; font-weight: 800; margin: 0 0 4px; color: var(--dark); }
.feature-list p { margin: 0; font-size: 15px; }

/* Testimonial */
.testi-card { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); height: 100%; position: relative; border-top: 4px solid var(--accent); }
.testi-card .stars { color: var(--accent); margin-bottom: 12px; }
.testi-card p { font-family: var(--font-head); font-style: italic; font-size: 18px; color: var(--dark); }
.testi-card span { font-weight: 700; color: var(--primary); font-size: 14px; }

/* Video card */
.video-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); height: 100%; }
.video-card .body { padding: 20px 22px; }
.video-card h5 { font-size: 18px; margin: 0; }

/* Long text blocks */
.prose p { color: #4a4458; font-size: 16.5px; }
.prose p:first-of-type::first-letter { font-family: var(--font-head); float: left; font-size: 64px; line-height: .9; padding: 6px 10px 0 0; color: var(--primary); font-weight: 700; }
.prose.no-drop p:first-of-type::first-letter { all: unset; }

/* Panels placed inside dark image bands keep dark text */
.image-band .v-panel h3 { color: var(--dark); }
.image-band .v-panel p, .image-band .v-panel li { color: #4a4458; font-size: 16px; }

/* Website forms: hidden spam trap */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-card[id] { scroll-margin-top: 110px; }

/* Cookie consent banner */
.cookie-banner { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(780px, calc(100% - 24px)); display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: 0 18px 50px rgba(38, 11, 43, .18); z-index: 1050; animation: cookieIn .4s ease; }
.cookie-banner[hidden] { display: none; }
.cookie-banner-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(136, 50, 143, .1); color: var(--primary); font-size: 22px; }
.cookie-banner-text { flex: 1; min-width: 0; }
.cookie-banner-text strong { display: block; color: var(--dark); font-size: 15px; margin-bottom: 2px; }
.cookie-banner-text p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.cookie-banner-text a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; margin: 0; }
.cookie-btn { border: 0; border-radius: 40px; padding: 10px 22px; font-weight: 700; font-size: 14px; background: var(--primary); color: #fff; transition: background .2s; }
.cookie-btn:hover { background: var(--primary-dark); }
.cookie-btn.ghost { background: transparent; color: var(--dark); border: 1.5px solid var(--line); }
.cookie-btn.ghost:hover { background: var(--soft, #f7f1f8); }
@keyframes cookieIn { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 767.98px) {
    .cookie-banner { flex-wrap: wrap; bottom: 12px; padding: 14px; gap: 12px; }
    .cookie-banner-icon { display: none; }
    .cookie-banner-actions { width: 100%; }
    .cookie-btn { flex: 1; }
}
