/*****************************************
 PATNA CONVENT — Premium school website CSS
 Modern, mobile-first, polished
*****************************************/

:root {
    --ink: #0f1a2b;
    --ink-2: #1b2a44;
    --muted: #5b6678;
    --muted-2: #8492a8;
    --line: #e1e7f0;
    --line-2: #eef2f7;
    --paper: #ffffff;
    --soft: #f4f8fb;
    --soft-2: #eef4fa;

    --navy: #08192d;
    --navy-2: #0d1f37;
    --blue: #1e58c4;
    --blue-2: #0e8abf;
    --blue-light: #eaf3ff;
    --gold: #f2b84b;
    --gold-2: #d99a2c;
    --green: #138a66;
    --red: #d83a3a;
    --whatsapp: #25d366;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-xs: 0 2px 8px rgba(12,28,48,.05);
    --shadow-sm: 0 6px 16px rgba(12,28,48,.08);
    --shadow: 0 12px 36px rgba(12,28,48,.10);
    --shadow-lg: 0 24px 60px rgba(12,28,48,.16);
    --shadow-xl: 0 32px 80px rgba(12,28,48,.22);

    --transition: all .35s cubic-bezier(.22,.61,.36,1);
    --transition-fast: all .2s ease;

    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: 'Playfair Display', Georgia, serif;

    --pad: clamp(18px, 5vw, 72px);
    --pad-sm: clamp(14px, 4vw, 32px);
}

* , *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
button { font: inherit; cursor: pointer; }

/* Typography */
h1, h2, h3, h4 { margin: 0 0 12px; letter-spacing: -.01em; }
h1, h2 { font-family: var(--display); line-height: 1.08; }
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.02rem; font-weight: 700; }
p  { margin: 0 0 14px; }
.eyebrow, .kicker {
    display: inline-flex; align-items: center; gap: 8px;
    border-radius: 999px;
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 800;
}
.eyebrow {
    margin-bottom: 14px;
    padding: 6px 14px;
    background: var(--blue-light);
    color: var(--blue);
    border: 1px solid rgba(30,88,196,.18);
}
.kicker {
    margin-bottom: 18px;
    padding: 8px 14px;
    background: rgba(242,184,75,.16);
    color: #ffe4a9;
    border: 1px solid rgba(242,184,75,.42);
}

/* ============= HEADER ============= */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(12,28,48,.06);
    transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(12,28,48,.10); }

.utility-bar {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 22px; min-height: 38px;
    padding: 0 var(--pad);
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #dce8f8; font-size: .82rem; font-weight: 600;
}
.utility-bar > span { margin-right: auto; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.utility-bar a { color: #dce8f8; display: inline-flex; align-items: center; gap: 6px; transition: var(--transition-fast); }
.utility-bar a:hover { color: var(--gold); }
.utility-bar i { color: var(--gold); font-size: .9rem; }

.topbar {
    display: flex; align-items: center; gap: 22px;
    padding: 14px var(--pad);
    border-bottom: 1px solid var(--line-2);
}

.brand { display: flex; align-items: center; gap: 14px; min-width: max-content; text-decoration: none; }
.brand img {
    width: 64px; height: 64px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 4px 14px rgba(8,25,45,.10);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong {
    font-family: var(--display);
    font-size: 1.35rem; font-weight: 800;
    color: var(--navy-2);
    letter-spacing: -.01em;
}
.brand small { display: block; color: var(--muted); font-size: .76rem; font-weight: 600; margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav > a {
    position: relative;
    padding: 10px 14px;
    font-size: .92rem; font-weight: 700;
    color: var(--ink-2); border-radius: 8px;
    transition: var(--transition-fast);
}
.site-nav > a:hover { color: var(--blue); background: var(--blue-light); }
.site-nav > a::after {
    content:''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 0; height: 3px; background: var(--gold);
    border-radius: 2px; transition: width .25s ease;
}
.site-nav > a:hover::after { width: 22px; }

.login-menu { position: relative; }
.login-toggle {
    background: linear-gradient(135deg, #eef5ff, #dce9ff);
    color: var(--navy-2);
    border: 1px solid #c9dcf5;
    padding: 10px 18px;
    font-size: .9rem; font-weight: 800;
    border-radius: 8px;
    display: inline-flex; align-items: center; gap: 8px;
    transition: var(--transition-fast);
}
.login-toggle:hover { background: var(--blue-light); border-color: var(--blue); color: var(--blue); }
.login-toggle::after {
    content:''; width:6px; height:6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg); margin-top: -3px;
}
.login-dropdown {
    position: absolute; right: 0; top: calc(100% + 8px);
    display: none; width: 290px; padding: 10px;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 60;
}
.login-dropdown::before {
    content:''; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
}
.login-menu.open .login-dropdown,
.login-menu:hover .login-dropdown { display: grid; gap: 4px; }
.login-dropdown a {
    display: grid; gap: 2px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--soft);
    color: var(--navy-2);
    transition: var(--transition-fast);
}
.login-dropdown a:hover { background: var(--blue-light); transform: translateX(3px); }
.login-dropdown strong { font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.login-dropdown strong i { color: var(--blue); width: 16px; }
.login-dropdown span { font-size: .76rem; color: var(--muted); font-weight: 600; }

.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--navy-2);
    border: 1px solid transparent;
    font-weight: 800; font-size: .9rem;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(242,184,75,.35);
    transition: var(--transition-fast);
    white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242,184,75,.45); }

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 10px;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    color: var(--navy-2);
    transition: var(--transition-fast);
}
.menu-toggle:hover { border-color: var(--blue); color: var(--blue); }

/* ============= HERO SLIDER ============= */
.pc-slider {
    position: relative;
    min-height: 78vh;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
}
.pc-slider::before {
    content:''; position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(100deg, rgba(8,25,45,.94) 0%, rgba(8,25,45,.82) 38%, rgba(8,25,45,.45) 80%, rgba(8,25,45,.2) 100%),
        linear-gradient(180deg, rgba(8,25,45,.0), rgba(8,25,45,.86));
    pointer-events: none;
}
.pc-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1s ease, transform 7s ease-out;
}
.pc-slide.active { opacity: 1; transform: scale(1); }

.pc-slider__inner {
    position: relative; z-index: 2;
    min-height: 78vh;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 90px var(--pad) 40px;
}
.pc-slider__copy { max-width: 760px; }
.pc-panel { display: none; }
.pc-panel.active { display: block; animation: heroFadeIn .9s ease both; }
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}
.pc-panel h1 { color: #fff; max-width: 780px; margin-bottom: 18px; text-shadow: 0 2px 18px rgba(0,0,0,.3); }
.pc-panel p { max-width: 640px; color: #dfe9f8; font-size: clamp(1rem, 1.5vw, 1.18rem); margin-bottom: 0; }

.hero-actions {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-top: 28px;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-weight: 800; font-size: .94rem;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    box-shadow: 0 14px 30px rgba(21,90,199,.30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(21,90,199,.45); }
.btn-light { background: #fff; color: var(--navy-2); border-color: #fff; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,255,255,.20); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-outline { background: #fff; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy-2); box-shadow: 0 12px 28px rgba(242,184,75,.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(242,184,75,.45); }

/* Hero strip */
.hero-strip {
    display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(5,15,30,.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(0,0,0,.30);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 32px;
}
.hero-strip > div {
    min-height: 100px;
    padding: 18px 22px;
    border-right: 1px solid rgba(255,255,255,.14);
    display: flex; flex-direction: column; gap: 4px;
}
.hero-strip > div:last-child { border-right: 0; }
.hero-strip b {
    color: #fff; font-size: 1.05rem; font-weight: 800;
    display: inline-flex; align-items: center; gap: 8px;
}
.hero-strip b i { color: var(--gold); font-size: 1.1rem; }
.hero-strip span { color: #cad9ea; font-weight: 600; font-size: .85rem; }

/* Slider controls */
.pc-controls {
    position: absolute; left: 50%; bottom: 24px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex; align-items: center; gap: 12px;
    background: rgba(8,25,45,.6);
    border: 1px solid rgba(255,255,255,.16);
    padding: 8px 16px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
}
.pc-prev, .pc-next {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    transition: var(--transition-fast);
}
.pc-prev:hover, .pc-next:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.pc-dots { display: flex; gap: 6px; }
.pc-dot {
    width: 26px; height: 4px; border: 0; padding: 0;
    background: rgba(255,255,255,.36);
    border-radius: 2px;
    transition: var(--transition-fast);
}
.pc-dot.active { background: var(--gold); width: 36px; }

/* ============= NOTICE BAND ============= */
.notice-band {
    display: flex; align-items: center; gap: 16px;
    padding: 14px var(--pad);
    background: linear-gradient(135deg, #fff8e9, #fff1d0);
    border-bottom: 2px solid var(--gold);
    color: #3c2d12;
    font-size: .92rem;
    overflow: hidden;
}
.notice-band > strong {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--navy-2);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .8rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.notice-band > strong i { animation: pulse 1.6s ease-in-out infinite; }
.notice-band > span { flex: 1; min-width: 0; }
.notice-band a {
    font-weight: 800; color: #8a5800;
    display: inline-flex; align-items: center; gap: 6px;
    white-space: nowrap;
}
.notice-band a:hover { color: var(--blue); }
@keyframes pulse { 0%, 100% { transform: scale(1);} 50% { transform: scale(1.12);} }

/* ============= INSTITUTION STRIP ============= */
.institution-strip {
    display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
    padding: 0 var(--pad);
    background: linear-gradient(180deg, #fff, var(--soft));
    border-bottom: 1px solid var(--line-2);
}
.institution-strip > div {
    padding: 28px 22px;
    border-right: 1px solid var(--line-2);
    display: flex; flex-direction: column; gap: 6px;
    position: relative;
    transition: var(--transition-fast);
}
.institution-strip > div:last-child { border-right: 0; }
.institution-strip > div:hover { background: rgba(30,88,196,.04); }
.institution-strip strong {
    font-family: var(--display);
    font-size: 2.2rem; line-height: 1;
    color: var(--navy-2);
    font-weight: 800;
    display: inline-flex; align-items: center; gap: 10px;
}
.institution-strip strong i { font-size: 1.5rem; color: var(--gold); }
.institution-strip span {
    color: var(--muted);
    font-weight: 800; text-transform: uppercase;
    letter-spacing: .08em; font-size: .72rem;
}

/* ============= SECTION SHELL ============= */
.section { padding: clamp(54px, 7vw, 96px) var(--pad); }
.section.soft { background: var(--soft); }
.section.compact { padding-top: 44px; padding-bottom: 44px; }
.section-head { max-width: 860px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.04rem; max-width: 680px; margin: 0 auto; }

/* ============= ABOUT (two-col) ============= */
.two-col {
    display: grid; grid-template-columns: minmax(0,1fr) 460px;
    gap: 52px; align-items: center;
}
.two-col p { color: var(--muted); font-size: 1.02rem; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.info-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.info-card dl { display: grid; gap: 0; margin: 0; padding: 4px 0; }
.info-card dl div {
    display: grid; grid-template-columns: 140px 1fr;
    gap: 14px; padding: 14px 22px;
    border-top: 1px solid var(--line-2);
    align-items: center;
}
.info-card dl div:first-child { border-top: 0; }
.info-card dt { color: var(--muted); font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 8px; }
.info-card dt i { color: var(--blue); width: 16px; }
.info-card dd { margin: 0; font-weight: 700; color: var(--navy-2); font-size: .95rem; }

/* ============= ACADEMIC PROGRAMS ============= */
.academic-band { background: linear-gradient(180deg, #fff, var(--soft-2)); }
.program-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}
.program-grid article {
    position: relative;
    min-height: 280px;
    padding: 36px 28px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}
.program-grid article::before {
    content:''; position: absolute; left: 0; right: 0; top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--blue), var(--gold));
}
.program-grid article:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(30,88,196,.2); }
.program-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(30,88,196,.25);
}
.program-grid h3 {
    font-family: var(--display);
    font-size: 1.5rem; color: var(--navy-2);
    margin-bottom: 10px;
}
.program-grid p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ============= FACILITIES ============= */
.facility-showcase {
    display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
}
.facility-showcase article {
    min-height: 220px;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.facility-showcase article::before {
    content:''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(30,88,196,.06), transparent);
    opacity: 0; transition: var(--transition);
}
.facility-showcase article:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30,88,196,.2);
}
.facility-showcase article:hover::before { opacity: 1; }
.facility-icon {
    width: 56px; height: 56px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    transition: var(--transition);
}
.facility-showcase article:hover .facility-icon {
    background: var(--blue);
    color: #fff;
    transform: rotate(-6deg) scale(1.08);
}
.facility-showcase h3 { font-size: 1.06rem; color: var(--navy-2); margin-bottom: 8px; position: relative; }
.facility-showcase p  { color: var(--muted); font-size: .92rem; margin: 0; position: relative; }

/* ============= FEATURES ============= */
.feature-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content:''; position: absolute; left: 0; bottom: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(30,88,196,.18); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue-light), #fff);
    color: var(--blue);
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(30,88,196,.10);
}
.feature-card h3 { color: var(--navy-2); margin-bottom: 10px; }
.feature-card p  { color: var(--muted); font-size: .94rem; margin: 0; }

/* ============= MEDIA GRID (student life) ============= */
.media-grid {
    display: grid; grid-template-columns: minmax(0,1fr) 520px;
    gap: 52px; align-items: center;
}
.media-copy p { color: var(--muted); font-size: 1.02rem; }
.check-list { padding: 0; margin: 22px 0 0; list-style: none; display: grid; gap: 12px; }
.check-list li {
    position: relative; padding-left: 32px;
    font-weight: 700; color: var(--ink-2);
    font-size: .96rem;
}
.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute; left: 0; top: 2px;
    width: 22px; height: 22px;
    background: var(--green); color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .65rem;
    box-shadow: 0 4px 10px rgba(19,138,102,.35);
}
.media-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media-stack img {
    height: 420px; width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.media-stack img:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-lg); }
.media-stack img:nth-child(2) { margin-top: 42px; }

/* ============= NOTICES ============= */
.notice-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}
.notice-grid article {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--gold);
}
.notice-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.notice-grid strong {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.1rem; color: var(--navy-2);
    margin-bottom: 8px;
}
.notice-grid strong i { color: var(--gold); }
.notice-grid p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ============= ADMISSION CTA ============= */
.admission-card {
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px; padding: 44px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--navy), var(--navy-2) 60%, #1a3a64);
    color: #fff;
    box-shadow: var(--shadow-xl);
    position: relative; overflow: hidden;
}
.admission-card::before {
    content:''; position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(242,184,75,.18), transparent 70%);
    border-radius: 50%;
}
.admission-card > * { position: relative; }
.admission-card h2 { color: #fff; margin-bottom: 8px; }
.admission-card p { color: #d8e7f9; margin-bottom: 0; }
.admission-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============= LOCATIONS ============= */
.location-layout {
    display: grid; grid-template-columns: 400px minmax(0,1fr);
    gap: 28px; align-items: start;
}
.campus-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}
.campus-card h3 { font-family: var(--display); font-size: 1.55rem; color: var(--navy-2); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.campus-card h3 i { color: var(--blue); }
.campus-card p { color: var(--muted); margin-bottom: 16px; font-size: .95rem; }
.campus-card a {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 800; color: var(--blue);
}
.campus-card a:hover { color: var(--blue-2); gap: 12px; }

.area-cloud { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.area-cloud span {
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 700; color: var(--ink-2);
    font-size: .88rem;
    transition: var(--transition-fast);
    display: inline-flex; align-items: center; gap: 6px;
}
.area-cloud span::before {
    content:'\f3c5';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: var(--blue); font-size: .8rem;
}
.area-cloud span:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.area-cloud span:hover::before { color: var(--gold); }

/* ============= COMPLIANCE ============= */
.compliance-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}
.compliance-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.compliance-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(30,88,196,.2); }
.compliance-grid h3 { display: flex; align-items: center; gap: 10px; color: var(--navy-2); }
.compliance-grid h3 i { color: var(--blue); }
.compliance-grid p { color: var(--muted); font-size: .94rem; margin: 0; }

.download-panel {
    margin-top: 30px;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #fff;
    box-shadow: var(--shadow);
}
.download-panel h3 {
    color: #fff;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 6px;
}
.download-panel h3 i { color: var(--gold); }
.download-panel > p { color: #d8e7f9; font-size: .9rem; margin-bottom: 16px; }
.download-panel > div {
    display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
}
.download-panel a {
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    color: #eaf3ff;
    font-weight: 700;
    font-size: .88rem;
    background: rgba(255,255,255,.04);
    transition: var(--transition-fast);
    display: flex; align-items: center; gap: 8px;
}
.download-panel a::before {
    content:'\f019'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: var(--gold); font-size: .9rem;
}
.download-panel a:hover {
    background: rgba(255,255,255,.12);
    border-color: var(--gold);
    transform: translateX(3px);
}
.small-note {
    margin-top: 18px;
    font-size: .9rem;
    color: var(--muted);
    background: var(--blue-light);
    padding: 14px 18px;
    border-radius: 10px;
    border-left: 4px solid var(--blue);
    display: flex; align-items: center; gap: 10px;
}
.small-note i { color: var(--blue); }

/* ============= TESTIMONIALS ============= */
.testimonials {
    display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}
.testimonial {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testimonial::before {
    content:'\201C';
    position: absolute; top: 8px; left: 24px;
    font-family: var(--display);
    font-size: 5rem;
    color: var(--blue);
    opacity: .12;
    line-height: 1;
}
.testimonial p {
    font-style: italic;
    color: var(--ink-2);
    font-size: .96rem;
    margin-bottom: 18px;
    position: relative;
}
.testimonial .stars { color: var(--gold); margin-bottom: 10px; }
.testimonial-author {
    display: flex; align-items: center; gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line-2);
}
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .94rem; color: var(--navy-2); }
.testimonial-author small { color: var(--muted); font-size: .8rem; }

/* ============= FAQ ============= */
.faq-wrap { max-width: 880px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition-fast);
}
.faq-item.open { box-shadow: var(--shadow); border-color: rgba(30,88,196,.25); }
.faq-q {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: 0;
    text-align: left;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--navy-2);
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
}
.faq-q::after {
    content:'\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: var(--blue);
    font-size: .85rem;
    transition: var(--transition-fast);
    flex-shrink: 0;
}
.faq-item.open .faq-q::after { content:'\f068'; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 24px;
    color: var(--muted);
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 24px 22px; }

/* ============= CONTACT ============= */
.contact-section {
    display: grid; grid-template-columns: minmax(0,1fr) 460px;
    gap: 48px;
    background: linear-gradient(180deg, #fff, var(--soft));
}
.contact-section h2 { color: var(--navy-2); }
.contact-list { display: grid; gap: 14px; margin-top: 24px; }
.contact-list a {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-weight: 700;
    color: var(--navy-2);
    transition: var(--transition-fast);
}
.contact-list a:hover { border-color: var(--blue); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-list a i {
    width: 38px; height: 38px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}

.enquiry-form {
    display: grid; gap: 14px;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.enquiry-form label {
    display: grid; gap: 8px;
    font-weight: 700; font-size: .88rem;
    color: var(--navy-2);
}
.enquiry-form input, .enquiry-form textarea, .enquiry-form select {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    font-size: .94rem;
    color: var(--ink);
    transition: var(--transition-fast);
}
.enquiry-form input:focus, .enquiry-form textarea:focus, .enquiry-form select:focus {
    outline: 0;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(30,88,196,.12);
}
.enquiry-form button { margin-top: 6px; }

/* ============= FOOTER ============= */
.footer {
    background: linear-gradient(180deg, var(--navy-2), #050d1a);
    color: #aebac9;
    padding-top: 64px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding: 0 var(--pad) 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-brand .footer-logo img { width: 52px; height: 52px; background: #fff; border-radius: 10px; padding: 4px; }
.footer-brand strong { color: #fff; font-family: var(--display); font-size: 1.35rem; }
.footer-brand p { color: #aebac9; font-size: .92rem; margin: 0; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-fast);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); border-color: var(--gold); }

.footer-col h4 {
    color: #fff; font-size: 1rem;
    margin-bottom: 18px;
    position: relative; padding-bottom: 10px;
}
.footer-col h4::after {
    content:''; position: absolute; left: 0; bottom: 0;
    width: 36px; height: 3px; background: var(--gold);
    border-radius: 2px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col li a {
    color: #aebac9; font-size: .9rem;
    display: inline-flex; align-items: center; gap: 8px;
    transition: var(--transition-fast);
}
.footer-col li a::before {
    content:'\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: var(--gold); font-size: .8rem;
    transition: var(--transition-fast);
}
.footer-col li a:hover { color: #fff; padding-left: 4px; }
.footer-col li a:hover::before { color: var(--gold); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li {
    display: flex; gap: 12px; align-items: flex-start;
    color: #aebac9; font-size: .9rem;
}
.footer-contact li i {
    width: 32px; height: 32px;
    background: rgba(242,184,75,.12);
    color: var(--gold);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.footer-contact li a { color: inherit; }
.footer-contact li a:hover { color: #fff; }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    padding: 20px var(--pad);
    border-top: 1px solid rgba(255,255,255,.06);
    color: #7d8da3;
    font-size: .85rem;
}
.footer-bottom .powered {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
}
.footer-bottom .powered a { color: var(--gold); font-weight: 800; }
.footer-bottom .powered a:hover { color: #fff; }

/* ============= FLOATING ACTION BUTTONS ============= */
.floating-actions {
    position: fixed;
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    display: flex; flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
    transition: var(--transition);
    position: relative;
}
.float-btn::after {
    content: attr(data-label);
    position: absolute; right: 64px; top: 50%;
    transform: translateY(-50%) scale(0);
    background: var(--navy-2); color: #fff;
    padding: 6px 14px; border-radius: 8px;
    font-size: .8rem; font-weight: 700;
    white-space: nowrap;
    transition: transform .2s ease;
    transform-origin: right center;
}
.float-btn:hover { transform: translateY(-3px) scale(1.06); color: #fff; }
.float-btn:hover::after { transform: translateY(-50%) scale(1); }
.float-wa   { background: var(--whatsapp); }
.float-call { background: linear-gradient(135deg, var(--blue), var(--blue-2)); }
.float-app  { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy-2); }

/* ============= SCROLL TO TOP ============= */
.scroll-top {
    position: fixed;
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    width: 48px; height: 48px;
    background: var(--navy-2);
    color: #fff;
    border-radius: 50%;
    border: 0;
    box-shadow: var(--shadow);
    z-index: 89;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--blue); transform: translateY(-3px); }

/* ============= SCROLL REVEAL ============= */
.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ============= PRELOADER ============= */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s ease;
    animation: preloaderAutoHide 3s forwards;
}
.preloader.hidden { opacity: 0; pointer-events: none; }
@keyframes preloaderAutoHide {
    0%, 80% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
.preloader-spinner {
    width: 48px; height: 48px;
    border: 4px solid rgba(30,88,196,.15);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============= DEDICATED INNER PAGES ============= */
.site-nav > a.active { color: var(--blue); background: var(--blue-light); }
.page-hero {
    position: relative;
    min-height: 430px;
    display: grid;
    align-items: end;
    padding: 96px var(--pad) 58px;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5,16,32,.96), rgba(5,16,32,.68) 55%, rgba(5,16,32,.25)),
        linear-gradient(180deg, rgba(5,16,32,.08), rgba(5,16,32,.78));
}
.page-hero > div { position: relative; z-index: 1; max-width: 850px; }
.page-hero h1 { color: #fff; font-size: clamp(2.35rem, 4.5vw, 4.6rem); margin: 12px 0 16px; }
.page-hero p { max-width: 730px; color: #dce8f8; font-size: 1.15rem; }
.breadcrumb {
    display: inline-flex;
    margin-bottom: 18px;
    color: #f7d78f;
    font-weight: 900;
}
.breadcrumb::before { content: "\f104"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; }
.page-two-col {
    display: grid;
    grid-template-columns: minmax(0,1fr) 430px;
    gap: 44px;
    align-items: start;
}
.profile-panel,
.admission-aside {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}
.admission-aside { display: grid; gap: 12px; }
.page-image {
    width: 100%;
    min-height: 380px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.program-grid article > i,
.facility-showcase article > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 1.12rem;
}
.disclosure-table {
    display: grid;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}
.disclosure-table div {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-bottom: 1px solid var(--line);
}
.disclosure-table div:last-child { border-bottom: 0; }
.disclosure-table strong,
.disclosure-table span { padding: 16px 18px; }
.disclosure-table strong { background: var(--soft); color: var(--navy-2); }
.disclosure-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
}
.disclosure-sections article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.disclosure-sections ul {
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--muted);
    font-weight: 700;
}
.disclosure-sections li + li { margin-top: 8px; }

/* ============= MOBILE / RESPONSIVE ============= */
@media (max-width: 1180px) {
    .utility-bar { gap: 16px; }
    .site-nav { gap: 2px; }
    .site-nav > a { padding: 8px 11px; font-size: .88rem; }
}

@media (max-width: 1020px) {
    .utility-bar { display: none; }
    .menu-toggle { display: inline-flex; }
    .site-nav {
        position: fixed;
        top: 0; left: 0;
        width: 86%; max-width: 360px;
        height: 100vh; height: 100dvh;
        background: #fff;
        z-index: 1040;
        flex-direction: column;
        align-items: stretch;
        padding: 88px 22px 32px;
        transform: translateX(-105%);
        transition: transform .35s ease;
        overflow-y: auto;
        gap: 4px;
        box-shadow: 0 0 60px rgba(0,0,0,.20);
        visibility: hidden;
    }
    .site-nav.open { transform: translateX(0); visibility: visible; }
    .site-nav > a {
        padding: 14px 16px;
        background: var(--soft);
        border-radius: 10px;
    }
    .site-nav > a:hover { background: var(--blue); color: #fff; }
    .nav-cta { display: none; }
    .login-menu, .login-toggle { width: 100%; }
    .login-toggle { justify-content: space-between; }
    .login-dropdown { position: static; width: 100%; margin-top: 8px; box-shadow: none; border: 1px solid var(--line); }
    body.menu-open { overflow: hidden; }
    body.menu-open::before {
        content:''; position: fixed; inset: 0;
        background: rgba(0,0,0,.5);
        z-index: 1035;
        animation: fadeIn .3s both;
    }
    .two-col, .media-grid, .location-layout, .contact-section, .page-two-col { grid-template-columns: 1fr; }
    .feature-grid, .compliance-grid, .program-grid, .facility-showcase, .notice-grid, .testimonials {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .download-panel > div { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .media-stack img { height: 300px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .admission-card { flex-direction: column; align-items: flex-start; padding: 32px; }
}
@keyframes fadeIn { from { opacity: 0;} to { opacity: 1;} }

@media (max-width: 680px) {
    .topbar { padding: 12px 16px; }
    .brand img { width: 50px; height: 50px; }
    .brand strong { font-size: 1.08rem; }
    .brand small { font-size: .68rem; }
    .pc-slider, .pc-slider__inner { min-height: 80vh; }
    .pc-slider__inner { padding: 70px 18px 80px; }
    .hero-strip { grid-template-columns: 1fr; }
    .hero-strip > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
    .hero-strip > div:last-child { border-bottom: 0; }
    .pc-controls { padding: 6px 12px; }
    .notice-band { flex-direction: column; align-items: flex-start; gap: 10px; }
    .institution-strip { grid-template-columns: 1fr; }
    .institution-strip > div { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 20px; }
    .institution-strip > div:last-child { border-bottom: 0; }
    .institution-strip strong { font-size: 1.7rem; }
    .feature-grid, .compliance-grid, .program-grid, .facility-showcase, .notice-grid, .testimonials {
        grid-template-columns: 1fr;
    }
    .download-panel > div { grid-template-columns: 1fr; }
    .media-stack { grid-template-columns: 1fr; }
    .media-stack img { height: 240px; }
    .media-stack img:nth-child(2) { margin-top: 0; }
    .info-card dl div { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
    .info-card dt { font-size: .76rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-actions .btn { flex: 1; min-width: 140px; }
    .floating-actions { right: 14px; bottom: 80px; }
    .float-btn { width: 50px; height: 50px; }
    .scroll-top { right: 14px; bottom: 18px; width: 44px; height: 44px; }
    .page-hero { min-height: 390px; padding: 82px 18px 48px; }
    .disclosure-table div { grid-template-columns: 1fr; }
    .disclosure-sections { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
