body {
    background: #f6f8fc;
    color: #172033;
    font-family: Inter, Segoe UI, Arial, sans-serif
}

.card {
    border: 1px solid #e7ebf2;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(23, 32, 51, .06)
}

.btn {
    border-radius: 10px;
    font-weight: 700
}

.btn-primary {
    background: #2563eb;
    border-color: #2563eb
}

.navbar {
    box-shadow: 0 1px 8px rgba(23, 32, 51, .06)
}

.table {
    background: #fff
}

.table thead {
    background: #fafbfe;
    color: #687386
}

.table th {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em
}

.form-control {
    border-radius: 10px;
    border-color: #dce2eb;
    padding: .7rem .8rem
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .12)
}

h2,
h3 {
    letter-spacing: -.02em
}

.container {
    max-width: 1180px
}

.container {
    padding-left: 18px;
    padding-right: 18px
}

.eyebrow {
    color: #3572dc;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em
}

.empty-state {
    color: #8a96a8;
    text-align: center;
    padding: 26px !important
}

.modal-content {
    border: 0;
    border-radius: 14px
}

.modal-header {
    border-bottom: 1px solid #edf1f6;
    padding: 22px
}

.modal-title {
    font-size: 20px;
    margin: 5px 0 0
}

.modal-body {
    padding: 22px
}

.modal-footer {
    border-top: 1px solid #edf1f6;
    padding: 16px 22px
}

.alert {
    border: 0;
    border-radius: 7px;
    font-size: 12px
}

.modal-content {
    border-radius: 10px;
    box-shadow: 0 22px 60px rgba(20, 40, 75, .18)
}

/* Homepage */
html {
    scroll-behavior: smooth
}

.home-page {
    background: #fff
}

.site-header {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 0 4.4%;
    border-bottom: 1px solid #e7ebf2;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 20
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #12306b;
    margin-right: auto
}

.site-brand b {
    font-size: 14px
}

.site-brand small {
    display: block;
    color: #7f8ba0;
    font-size: 10px;
    margin-top: 3px
}

.site-header nav {
    display: flex;
    gap: 26px
}

.site-header nav a {
    font-size: 12px;
    font-weight: 750;
    color: #182033;
    text-decoration: none
}

.site-header nav a:hover {
    color: #2563eb
}

.header-sign {
    padding: 10px 16px
}

.hero {
    min-height: 445px;
    background: linear-gradient(115deg, #1d398d 0%, #2858c7 55%, #3470e8 100%);
    color: #fff;
    text-align: center;
    padding: 36px 20px 50px;
    display: flex;
    align-items: center;
    flex-direction: column
}

.live-pill {
    border: 1px solid #ffffff4d;
    background: #ffffff12;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 28px
}

.live-pill i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    margin-right: 7px
}

.hero h1 {
    font-size: 52px;
    line-height: 1.08;
    letter-spacing: -.045em;
    margin: 0;
    font-weight: 900
}

.hero h1 span {
    color: #fbbf24
}

.hero p {
    max-width: 700px;
    font-size: 15px;
    line-height: 1.8;
    color: #edf3ff;
    margin: 26px 0 26px
}

.hero-actions {
    display: flex;
    gap: 12px
}

.btn.gold {
    background: #fbbf24;
    color: #111827;
    box-shadow: 0 10px 22px #00000020
}

.btn.hero-outline {
    background: #ffffff08;
    color: #fff;
    border: 1px solid #ffffff66
}

.stats-strip {
    width: min(1180px, 92%);
    margin: -1px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    box-shadow: 0 12px 35px #17203310;
    position: relative
}

.stats-strip>div {
    text-align: center;
    padding: 23px 12px;
    border-right: 1px solid #e5e9f0
}

.stats-strip>div:last-child {
    border-right: 0
}

.stats-strip strong {
    display: block;
    font-size: 22px;
    color: #244795
}

.stats-strip small {
    display: block;
    color: #7f8ba0;
    font-size: 11px;
    margin-top: 4px
}

.section {
    padding: 70px 5%;
    max-width: 1280px;
    margin: auto
}

.section-head h2 {
    font-size: 31px;
    color: #123a7b;
    margin: 0 0 8px;
    letter-spacing: -.03em
}

.section-head p {
    color: #7b879a;
    font-size: 13px;
    margin: 0;
    max-width: 700px;
    line-height: 1.7
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px
}

.feature-card {
    border: 1px solid #dfe5ef;
    border-radius: 15px;
    padding: 24px;
    min-height: 175px;
    transition: .2s
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px #1720330d;
    border-color: #bfd0ee
}

.feature-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #edf3ff;
    color: #2563eb;
    display: grid;
    place-items: center;
    font-size: 19px;
    margin-bottom: 17px
}

.feature-card h3 {
    font-size: 14px;
    margin: 0 0 8px
}

.feature-card p {
    font-size: 12px;
    line-height: 1.65;
    color: #718096;
    margin: 0
}

.portal-section {
    background: #f7f9fc;
    padding: 72px 5% 80px
}

.center {
    text-align: center
}

.center p {
    margin-left: auto;
    margin-right: auto
}

.portal-grid {
    max-width: 1120px;
    margin: 28px auto 0;
    display: grid;
    gap: 16px
}

.primary-portals {
    grid-template-columns: 1fr 1fr
}

.portal-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: #fff;
    border: 1px solid #dfe5ef;
    border-radius: 15px;
    text-decoration: none;
    color: #172033;
    box-shadow: 0 6px 20px #17203306
}

.portal-card:hover {
    border-color: #9eb9ee;
    transform: translateY(-2px)
}

.portal-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 23px;
    background: #edf3ff;
    color: #2563eb;
    flex: none
}

.portal-card h3 {
    margin: 0 0 5px;
    font-size: 15px
}

.portal-card p {
    margin: 0 0 9px;
    color: #78859a;
    font-size: 12px
}

.portal-card span {
    font-size: 11px;
    color: #2563eb;
    font-weight: 800
}

.staff-title {
    max-width: 1120px;
    margin: 42px auto 12px;
    text-align: center
}

.staff-title span {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    color: #9aa5b6
}

.staff-portals {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 12px
}

.staff-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px;
    background: #fff;
    border: 1px solid #dfe5ef;
    border-radius: 13px;
    text-decoration: none;
    color: #172033
}

.staff-card:hover {
    border-color: #9eb9ee
}

.staff-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #eef3ff;
    color: #2563eb
}

.staff-card b {
    font-size: 12px;
    display: block
}

.staff-card small {
    display: block;
    color: #8994a7;
    font-size: 10px;
    margin-top: 4px
}

.staff-card>strong {
    margin-left: auto;
    color: #2563eb
}

.cta {
    background: linear-gradient(115deg, #2853b9, #3470e8);
    color: #fff;
    padding: 58px 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px
}

.cta h2 {
    font-size: 28px;
    margin: 0 0 7px
}

.cta p {
    font-size: 13px;
    margin: 0;
    color: #dbe6ff
}

footer {
    background: #081328;
    color: #dbe3f3;
    padding: 45px 7% 20px
}

.footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 60px;
    max-width: 1150px;
    margin: auto
}

.footer-brand {
    color: #fff;
    margin-bottom: 14px
}

.footer-main p {
    color: #8d9ab0;
    font-size: 11px;
    margin: 9px 0
}

.footer-main h4 {
    font-size: 12px;
    margin: 4px 0 15px;
    color: #fff
}

.footer-main a {
    display: block;
    color: #8d9ab0;
    text-decoration: none;
    font-size: 11px;
    margin: 9px 0
}

.footer-main a:hover {
    color: #fff
}

.footer-bottom {
    max-width: 1150px;
    margin: 36px auto 0;
    padding-top: 18px;
    border-top: 1px solid #ffffff16;
    text-align: center;
    color: #718099;
    font-size: 10px
}

.portal-login-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #edf3ff;
    color: #2563eb;
    display: grid;
    place-items: center;
    font-size: 21px;
    margin-bottom: 15px
}

.back-home {
    display: block;
    text-align: center;
    margin-top: 17px;
    color: #2563eb;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700
}

.portal-switch {
    border-top: 1px solid #edf0f5;
    margin-top: 20px;
    padding-top: 16px;
    text-align: center
}

.portal-switch>span {
    display: block;
    color: #9aa3b2;
    font-size: 10px;
    margin-bottom: 9px
}

.portal-switch a {
    font-size: 10px;
    color: #2563eb;
    text-decoration: none;
    margin: 0 5px
}

.login-shell>.brand-mark {
    text-decoration: none;
    margin-bottom: 16px
}

@media(max-width:900px) {
    .site-header nav {
        display: none
    }

    .hero h1 {
        font-size: 39px
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr
    }

    .staff-portals {
        grid-template-columns: 1fr
    }

    .cta {
        gap: 30px
    }

    .footer-main {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:650px) {
    .site-header {
        padding: 0 18px
    }

    .site-header>.btn.primary {
        display: none
    }

    .hero {
        min-height: 430px
    }

    .hero h1 {
        font-size: 32px
    }

    .hero p {
        font-size: 13px
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 260px
    }

    .stats-strip {
        grid-template-columns: 1fr 1fr
    }

    .stats-strip>div:nth-child(2) {
        border-right: 0
    }

    .feature-grid,
    .primary-portals {
        grid-template-columns: 1fr
    }

    .section {
        padding: 55px 18px
    }

    .portal-section {
        padding: 55px 18px
    }

    .cta {
        padding: 45px 20px;
        flex-direction: column;
        text-align: center;
        gap: 20px
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px
    }
}

.school-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    display: block;
}

/* =========================================================
   PORTAL SELECTION MODAL
   ========================================================= */

.portal-modal {
    border: 1px solid #e4e9f1;
    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(23, 32, 51, 0.18);
}

/* Modal Header */

.portal-modal .modal-header {
    padding: 28px 30px 20px;

    border-bottom: 1px solid #edf0f5;
}

.modal-eyebrow {
    color: #2563eb;

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 0.13em;

    margin-bottom: 6px;
}

.portal-modal h3 {
    margin: 0;

    color: #172033;

    font-size: 24px;
    font-weight: 850;

    letter-spacing: -0.03em;
}

.portal-modal .modal-header p {
    margin: 6px 0 0;

    color: #7d889b;

    font-size: 12px;
}

/* Modal Body */

.portal-modal .modal-body {
    padding: 20px 22px 22px;
}

/* Portal Card */

.modal-portal-card {
    display: flex;
    align-items: center;

    gap: 14px;

    width: 100%;

    padding: 16px;

    margin-bottom: 10px;

    background: #ffffff;

    border: 1px solid #e3e8f0;

    border-radius: 13px;

    color: #172033;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.modal-portal-card:last-child {
    margin-bottom: 0;
}

.modal-portal-card:hover {
    border-color: #9eb9ee;

    background: #f8faff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.08);
}

/* Portal Icon */

.modal-portal-icon {
    width: 48px;
    height: 48px;

    flex: none;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: #edf3ff;

    color: #2563eb;

    font-size: 21px;
}

/* Portal Information */

.modal-portal-info {
    min-width: 0;

    flex: 1;
}

.modal-portal-info h4 {
    margin: 0 0 4px;

    color: #172033;

    font-size: 13px;
    font-weight: 800;
}

.modal-portal-info p {
    margin: 0;

    color: #8994a7;

    font-size: 10px;

    line-height: 1.5;
}

/* Arrow */

.modal-portal-card>strong {
    color: #2563eb;

    font-size: 18px;

    padding-right: 4px;
}

/* Close Button */

.portal-modal .btn-close {
    box-shadow: none;
}

/* Mobile */

@media (max-width: 500px) {

    .portal-modal .modal-header {
        padding: 24px 20px 18px;
    }

    .portal-modal .modal-body {
        padding: 15px;
    }

    .portal-modal h3 {
        font-size: 21px;
    }

    .modal-portal-card {
        padding: 13px;
    }

}

/* =========================================================
   PROFESSIONAL BUTTON SYSTEM
   Linao National High School
   ========================================================= */

/* ---------------------------------------------------------
   BASE BUTTON
   --------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 42px;

    padding: 10px 17px;

    border-radius: 10px;

    font-family: Inter, "Segoe UI", Arial, sans-serif;

    font-size: 12px;
    font-weight: 750;

    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;

    -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------
   PRIMARY BUTTON
   Blue
   --------------------------------------------------------- */

.btn.primary {
    background: #2563eb;

    border: 1px solid #2563eb;

    color: #ffffff;

    box-shadow:
        0 5px 14px rgba(37, 99, 235, 0.18);
}

.btn.primary:hover {
    background: #1d4ed8;

    border-color: #1d4ed8;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 9px 22px rgba(37, 99, 235, 0.25);
}

.btn.primary:active {
    transform: translateY(0);

    box-shadow:
        0 4px 10px rgba(37, 99, 235, 0.18);
}

/* ---------------------------------------------------------
   OUTLINE BUTTON
   Header Sign In
   --------------------------------------------------------- */

.btn.outline {
    background: #ffffff;

    border: 1px solid #d8e0ec;

    color: #24324a;

    box-shadow:
        0 2px 6px rgba(23, 32, 51, 0.03);
}

.btn.outline:hover {
    background: #f5f8ff;

    border-color: #9db8ed;

    color: #1d4ed8;

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(37, 99, 235, 0.10);
}

.btn.outline:active {
    transform: translateY(0);
}

/* ---------------------------------------------------------
   GOLD BUTTON
   Hero / CTA
   --------------------------------------------------------- */

.btn.gold {
    background: #fbbf24;

    border: 1px solid #fbbf24;

    color: #172033;

    font-weight: 800;

    box-shadow:
        0 7px 18px rgba(251, 191, 36, 0.20);
}

.btn.gold:hover {
    background: #f59e0b;

    border-color: #f59e0b;

    color: #111827;

    transform: translateY(-2px);

    box-shadow:
        0 11px 25px rgba(245, 158, 11, 0.30);
}

.btn.gold:active {
    transform: translateY(0);

    box-shadow:
        0 5px 12px rgba(245, 158, 11, 0.20);
}

/* ---------------------------------------------------------
   HERO OUTLINE
   Button inside blue hero section
   --------------------------------------------------------- */

.btn.hero-outline {
    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.42);

    color: #ffffff;

    backdrop-filter: blur(8px);
}

.btn.hero-outline:hover {
    background: rgba(255, 255, 255, 0.16);

    border-color: rgba(255, 255, 255, 0.72);

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 9px 24px rgba(0, 0, 0, 0.12);
}

.btn.hero-outline:active {
    transform: translateY(0);
}

/* ---------------------------------------------------------
   HEADER BUTTON
   --------------------------------------------------------- */

.header-sign {
    min-width: 82px;
}

/* ---------------------------------------------------------
   BUTTON ARROW
   Optional smooth movement
   --------------------------------------------------------- */

.btn:hover {
    text-decoration: none;
}

/* ---------------------------------------------------------
   FOCUS STATE
   Accessibility + Professional UI
   --------------------------------------------------------- */

.btn:focus-visible {
    outline: none;

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* ---------------------------------------------------------
   DISABLED BUTTON
   --------------------------------------------------------- */

.btn:disabled,
.btn.disabled {
    opacity: 0.55;

    cursor: not-allowed;

    transform: none !important;

    box-shadow: none !important;
}

/* =========================================================
   PORTAL CARDS
   Make clickable portal buttons feel professional
   ========================================================= */

.portal-card,
.staff-card,
.modal-portal-card {
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.portal-card:hover {
    transform: translateY(-4px);

    border-color: #a9c2ef;

    box-shadow:
        0 14px 30px rgba(23, 32, 51, 0.08);
}

.staff-card:hover {
    transform: translateY(-3px);

    border-color: #a9c2ef;

    box-shadow:
        0 10px 24px rgba(23, 32, 51, 0.07);
}

/* =========================================================
   MODAL PORTAL BUTTONS
   ========================================================= */

.modal-portal-card:hover {
    transform: translateY(-2px);

    background: #f8faff;

    border-color: #9eb9ee;

    box-shadow:
        0 9px 22px rgba(37, 99, 235, 0.09);
}

/* =========================================================
   PORTAL ICON HOVER
   ========================================================= */

.portal-card:hover .portal-icon,
.staff-card:hover .staff-icon,
.modal-portal-card:hover .modal-portal-icon {
    background: #2563eb;

    color: #ffffff;

    transform: scale(1.04);
}

.portal-icon,
.staff-icon,
.modal-portal-icon {
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

:root {
    --primary-900: #0f172a;
    --primary-800: #162a5e;
    --primary-700: #1d4ed8;
    --primary-600: #2563eb;
    --primary-500: #3b82f6;
    --accent-400: #fbbf24;
    --accent-500: #f59e0b;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
    --shadow-strong: 0 25px 60px rgba(15, 23, 42, 0.16);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 32%),
        linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
    color: var(--slate-900);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.home-page {
    background: transparent;
}

.site-header {
    height: 82px;
    padding: 0 4.2%;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 0;
    z-index: 30;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    text-decoration: none;
    color: var(--primary-800);
}

.site-brand b {
    display: block;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.site-brand small {
    display: block;
    margin-top: 4px;
    color: var(--slate-500);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-header nav a {
    position: relative;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--slate-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-600);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.site-header nav a:hover {
    color: var(--primary-600);
}

.site-header nav a:hover::after {
    transform: scaleX(1);
}

.school-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.75);
    padding: 5px;
}

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 48px 22px 60px;
    text-align: center;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(11, 25, 66, 0.9) 0%, rgba(22, 61, 126, 0.88) 45%, rgba(37, 99, 235, 0.88) 100%),
        url("images/businessman.jpeg") center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 35%);
    pointer-events: none;
}

.hero>* {
    position: relative;
    z-index: 1;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}

.live-pill i {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-400);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.16);
}

.hero h1 {
    margin: 26px 0 0;
    font-size: clamp(2.5rem, 4vw, 4.3rem);
    line-height: 1.04;
    letter-spacing: -0.06em;
    font-weight: 900;
    max-width: 900px;
}

.hero h1 span {
    color: #f8d977;
}

.hero p {
    max-width: 760px;
    margin: 22px auto 0;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.stats-strip {
    width: min(1180px, 92%);
    margin: -32px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.stats-strip>div {
    padding: 24px 18px;
    text-align: center;
    border-right: 1px solid var(--slate-200);
}

.stats-strip>div:last-child {
    border-right: 0;
}

.stats-strip strong {
    display: block;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    letter-spacing: -0.04em;
    color: var(--primary-800);
}

.stats-strip small {
    display: block;
    margin-top: 6px;
    color: var(--slate-500);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.section,
.portal-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 82px 5%;
}

.section-head {
    margin-bottom: 30px;
}

.section-head.center {
    text-align: center;
}

.eyebrow {
    color: var(--primary-600);
    font-size: 10px;
    letter-spacing: 0.15em;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-head h2,
.cta h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.section-head p,
.cta p {
    margin: 14px 0 0;
    color: var(--slate-500);
    font-size: 15px;
    max-width: 700px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.feature-card {
    padding: 24px 22px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #e5edff 0%, #dbeafe 100%);
    color: var(--primary-600);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--slate-900);
}

.feature-card p {
    margin: 0;
    color: var(--slate-500);
    font-size: 14px;
    line-height: 1.8;
}

.portal-grid {
    display: grid;
    gap: 18px;
}

.primary-portals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
}

.staff-portals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.portal-card,
.staff-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
    text-decoration: none;
    color: var(--slate-900);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-card:hover,
.staff-card:hover,
.modal-portal-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.28);
    box-shadow: 0 20px 38px rgba(37, 99, 235, 0.09);
}

.portal-card>div:last-child,
.staff-card>div:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.portal-icon,
.staff-icon,
.modal-portal-icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ecf3ff 0%, #dfeeff 100%);
    color: var(--primary-700);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.portal-card h3,
.staff-card b {
    margin: 0 0 8px;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    color: var(--slate-900);
}

.portal-card p,
.staff-card small {
    margin: 0;
    color: var(--slate-500);
    font-size: 13px;
    line-height: 1.7;
}

.portal-card span,
.staff-card strong {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-600);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.staff-title {
    margin-top: 26px;
    margin-bottom: 16px;
    text-align: center;
}

.staff-title span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.07);
    border: 1px solid rgba(37, 99, 235, 0.12);
    color: var(--primary-700);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 900;
}

.cta {
    max-width: 1180px;
    margin: 28px auto 0;
    padding: 38px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: linear-gradient(135deg, #0f172a 0%, #173d7d 60%, #1d4ed8 100%);
    border-radius: 26px;
    box-shadow: var(--shadow-strong);
    color: var(--white);
}

.cta h2,
.cta p {
    color: var(--white);
}

.cta p {
    opacity: 0.85;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 5% 28px;
}

.footer-brand {
    margin-bottom: 18px;
}

footer p,
footer a,
footer h4 {
    color: var(--slate-700);
}

footer p {
    margin: 0 0 10px;
    font-size: 14px;
}

footer h4 {
    margin: 0 0 16px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-700);
    font-weight: 900;
}

footer a {
    display: block;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--primary-600);
}

.footer-bottom {
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 5% 36px;
    text-align: center;
    color: var(--slate-500);
    font-size: 12px;
    letter-spacing: 0.02em;
}

.portal-modal {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.portal-modal .modal-header {
    padding: 26px 26px 18px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.modal-eyebrow {
    color: var(--primary-600);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.portal-modal h3 {
    margin: 0;
    color: var(--slate-900);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.portal-modal .modal-header p {
    margin: 8px 0 0;
    color: var(--slate-500);
    font-size: 12px;
}

.modal-portal-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    background: var(--white);
    color: var(--slate-900);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.modal-portal-card:last-child {
    margin-bottom: 0;
}

.modal-portal-info {
    flex: 1;
    min-width: 0;
}

.modal-portal-info h4 {
    margin: 0 0 4px;
    color: var(--slate-900);
    font-size: 14px;
    font-weight: 800;
}

.modal-portal-info p {
    margin: 0;
    color: var(--slate-500);
    font-size: 11px;
}

.modal-portal-card>strong {
    color: var(--primary-600);
    font-size: 18px;
    padding-right: 4px;
}

.btn {
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: rgba(29, 78, 216, 0.8);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.24);
}

.btn.outline {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--slate-800);
}

.btn.gold {
    background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
    border-color: rgba(245, 158, 11, 0.8);
    color: #111827;
    box-shadow: 0 12px 22px rgba(245, 158, 11, 0.2);
}

.btn.hero-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn:hover {
    text-decoration: none;
}

@media (max-width: 980px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .staff-portals {
        grid-template-columns: 1fr;
    }

    .primary-portals {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .site-header {
        height: auto;
        padding: 16px 18px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .site-header nav {
        display: none;
    }

    .hero {
        min-height: 460px;
        padding-top: 42px;
    }

    .hero h1 {
        max-width: 520px;
    }

    .hero-actions {
        flex-direction: column;
        width: min(100%, 280px);
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: -18px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .site-header {
        padding: 14px 16px;
    }

    .site-header .btn.primary {
        display: none;
    }

    .site-brand b {
        font-size: 13px;
    }

    .site-brand small {
        letter-spacing: 0.04em;
    }

    .section,
    .portal-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .stats-strip {
        width: min(92%, 1180px);
        grid-template-columns: 1fr 1fr;
    }

    .stats-strip>div:nth-child(2) {
        border-right: 0;
    }

    .portal-card,
    .staff-card {
        padding: 18px 16px;
    }
}

/* =========================================================
   MOBILE BUTTONS
   ========================================================= */

@media (max-width: 650px) {

    .btn {
        min-height: 44px;

        padding: 11px 16px;

        font-size: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }


.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-legal-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
}


}