﻿/* ═══════════════════════════════════════════════════
   Home_aspx.css v8 — Asian Law College Bareilly
   Fully Bootstrap-compatible. Custom styles only.
   ═══════════════════════════════════════════════════ */

/* Playfair Display */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

/* Plus Jakarta Sans */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
/* ── CSS VARIABLES ── */
:root {
    --primary-red: #C62828;
    --primary-red-hover: #b32424;
    --primary-blue: #0d366e;
    --secondary-blue: #163A70;
    --white: #FFFFFF;
    --bg-soft: #F8FAFC;
    --accent-silver: #D9E2EC;
    --text-dark: #1a1a2e;
    --text-body: #475569;
    --text-muted: #64748b;
    --blue-soft: #e8eef8;
    --red-soft: #fdecea;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 12px rgba(13,54,110,.07);
    --shadow-md: 0 6px 28px rgba(13,54,110,.12);
    --shadow-lg: 0 16px 48px rgba(13,54,110,.16);
    --font-d: 'Playfair Display', Georgia, serif;
    --font-b: 'Plus Jakarta Sans', sans-serif;
    --tr: all .3s cubic-bezier(.4,0,.2,1);
    --radius: 14px;
}

/* ── BASE ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-b);
    color: var(--text-dark);
    background: var(--bg-soft);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ══════════════════════════════════════
   TOP BAR
══════════════════════════════════════ */
.top-bar {
    background: var(--primary-blue);
    color: rgba(255,255,255,.65);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .025em;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.tb-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tb-ico {
    color: var(--accent-silver);
    font-size: .65rem;
}

.tb-sep {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,.15);
}

.tb-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-weight: 600;
    font-size: .68rem;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.07);
    transition: var(--tr);
    white-space: nowrap;
}

    .tb-link:hover {
        background: var(--primary-red);
        border-color: var(--primary-red);
        color: #fff;
    }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
}

/* Logo */
.logo-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2.5px solid var(--primary-red);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-soft);
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(198,40,40,.1);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-fb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-blue);
}

.lt-name {
    display: block;
    font-family: var(--font-d);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.1;
}

.lt-place {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .62rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

    .lt-place .fa-location-dot {
        color: var(--primary-red);
        font-size: .58rem;
    }

.lt-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .58rem;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    background: var(--blue-soft);
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 4px;
}

/* Center block */
.header-center-block {
    flex: 1;
}

.hcb-eyebrow {
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--primary-red);
    margin-bottom: 3px;
}

.hcb-main {
    font-family: var(--font-d);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.1;
}

.hcb-sub {
    font-size: .67rem;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Right badges */
.hrb-item {
    padding: 7px 12px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--bg-soft);
    transition: var(--tr);
}

    .hrb-item:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
    }

.hrb-ico {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    color: #fff;
    flex-shrink: 0;
}

.hrb-blue {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.hrb-red {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-hover));
}

.hrb-text span {
    display: block;
}

    .hrb-text span:first-child {
        font-size: .55rem;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: .07em;
    }

    .hrb-text span:last-child {
        font-size: .72rem;
        font-weight: 700;
        color: var(--primary-blue);
    }

/* Hamburger button */
.hamburger-btn {
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px;
    color: var(--primary-blue);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--tr);
}

    .hamburger-btn:hover {
        background: var(--blue-soft);
    }

/* Gradient line */
.header-gradient-line {
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-red) 50%, var(--secondary-blue) 100%);
}

/* Desktop Nav */
.nav-strip {
    background: var(--secondary-blue);
}

.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.65);
    font-size: .74rem;
    font-weight: 600;
    padding: 12px 16px;
    letter-spacing: .025em;
    transition: var(--tr);
    border-bottom: 2.5px solid transparent;
    white-space: nowrap;
}

    .nav-item:hover {
        color: #fff;
        background: rgba(255,255,255,.07);
        border-bottom-color: rgba(255,255,255,.4);
    }

    .nav-item.active {
        color: #fff;
        border-bottom-color: var(--primary-red);
        background: rgba(198,40,40,.12);
    }

.nav-admin {
    background: var(--primary-red);
    color: #fff !important;
    border-radius: 5px 5px 0 0;
    border-bottom-color: transparent !important;
    padding: 10px 20px;
    font-weight: 700;
}

    .nav-admin:hover {
        background: var(--primary-red-hover);
    }

/* Mobile Nav */
.mobile-nav {
    background: var(--primary-blue);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 8px 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.75);
    font-size: .82rem;
    font-weight: 600;
    padding: 12px 24px;
    border-left: 3px solid transparent;
    transition: var(--tr);
}

    .mobile-nav-item:hover,
    .mobile-nav-item.active {
        color: #fff;
        background: rgba(255,255,255,.07);
        border-left-color: var(--primary-red);
    }

.mobile-nav-admin {
    background: var(--primary-red);
    color: #fff !important;
    margin: 8px 16px;
    border-radius: 8px;
    border-left-color: transparent !important;
    justify-content: center;
}

    .mobile-nav-admin:hover {
        background: var(--primary-red-hover);
    }

/* ══════════════════════════════════════
   HERO BANNER
══════════════════════════════════════ */
.hero-banner {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    /* Background image — path as specified */
    background-image: url('Images/mini-hero-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Solid fallback color if image doesn't load */
    background-color: var(--primary-blue);
    display: flex;
    flex-direction: column;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Gradient overlay on top of the background image */
    background: linear-gradient( 105deg, rgba(13,54,110,.92) 0%, rgba(22,58,112,.80) 40%, rgba(13,54,110,.55) 70%, rgba(13,54,110,.30) 100% );
    display: flex;
    align-items: center;
}

/* Hero text */
.hero-text-box {
    padding: 40px 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(198,40,40,.25);
    border: 1px solid rgba(198,40,40,.5);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.hero-h1 {
    font-family: var(--font-d);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
}

    .hero-h1 em {
        font-style: italic;
        color: #ff8a80;
    }

.hero-p {
    font-size: clamp(.85rem, 2vw, .95rem);
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
}

/* Hero CTA buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-red);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 8px;
    transition: var(--tr);
    box-shadow: 0 4px 20px rgba(198,40,40,.4);
    white-space: nowrap;
}

    .btn-hero-primary:hover {
        background: var(--primary-red-hover);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(198,40,40,.5);
    }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,.35);
    backdrop-filter: blur(8px);
    transition: var(--tr);
    white-space: nowrap;
}

    .btn-hero-secondary:hover {
        background: rgba(255,255,255,.22);
        color: #fff;
        transform: translateY(-2px);
    }

/* Hero badge stack */
.hero-badge-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 40px 0;
}

.hbs-card {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 12px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 190px;
    transition: var(--tr);
}

    .hbs-card:hover {
        background: rgba(255,255,255,.18);
        transform: translateX(-4px);
    }

.hbs-ico {
    font-size: 1.5rem;
    color: #ff8a80;
    flex-shrink: 0;
}

.hbs-n {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.hbs-l {
    display: block;
    font-size: .65rem;
    color: rgba(255,255,255,.6);
    margin-top: 2px;
}

/* Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    pointer-events: none;
}

    .hero-wave svg {
        width: 100%;
        height: 56px;
        display: block;
    }

/* ══════════════════════════════════════
   STATS BAR
══════════════════════════════════════ */
.stats-bar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
}

.stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 20px;
    border-right: 1px solid var(--border);
    transition: var(--tr);
}

    .stat:last-child {
        border-right: none;
    }

    .stat:hover {
        background: var(--bg-soft);
    }

.stat-ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.s-red {
    background: var(--red-soft);
    color: var(--primary-red);
}

.s-blue {
    background: var(--blue-soft);
    color: var(--primary-blue);
}

.stat-num {
    font-family: var(--font-d);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.stat-lbl {
    font-size: .68rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ══════════════════════════════════════
   NOTICE TICKER
══════════════════════════════════════ */
.notice-ticker {
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 38px;
}

.nt-label {
    background: var(--primary-red);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.nt-track {
    flex: 1;
    overflow: hidden;
    padding-left: 16px;
}

    .nt-track span {
        display: inline-block;
        color: rgba(255,255,255,.85);
        font-size: .74rem;
        font-weight: 500;
        white-space: nowrap;
        animation: ticker-scroll 30s linear infinite;
    }

@keyframes ticker-scroll {
    0% {
        transform: translateX(100vw);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ══════════════════════════════════════
   PORTAL CARDS SECTION
══════════════════════════════════════ */
.portal-section {
    padding: 60px 0 52px;
}

.sec-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red-soft);
    color: var(--primary-red);
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 5px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
    border: 1px solid rgba(198,40,40,.2);
}

.sec-title {
    font-family: var(--font-d);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 10px;
}

    .sec-title em {
        font-style: italic;
        color: var(--primary-red);
    }

.sec-sub {
    font-size: .88rem;
    color: var(--text-body);
    max-width: 500px;
    line-height: 1.6;
}

/* Cards */
.pcard {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--tr);
    text-decoration: none;
}

    .pcard:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }

/* Card image area */
.pc-img-bg {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: var(--blue-soft);
}

    .pc-img-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }

.pcard:hover .pc-img-bg img {
    transform: scale(1.07);
}

.pc-img-overlay {
    position: absolute;
    inset: 0;
}

.pc-blue .pc-img-overlay {
    background: linear-gradient(135deg, rgba(13,54,110,.82), rgba(22,58,112,.5));
}

.pc-red .pc-img-overlay {
    background: linear-gradient(135deg, rgba(198,40,40,.82), rgba(179,36,36,.5));
}

.pc-silver .pc-img-overlay {
    background: linear-gradient(135deg, rgba(22,58,112,.80), rgba(13,54,110,.5));
}

.pc-img-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 14px 16px;
}

.pc-ico-wrap {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    background: rgba(255,255,255,.18);
    border: 1.5px solid rgba(255,255,255,.35);
    backdrop-filter: blur(6px);
    transition: transform .3s ease, background .3s ease;
}

.pcard:hover .pc-ico-wrap {
    background: rgba(255,255,255,.3);
    transform: scale(1.08) rotate(-4deg);
}

.pc-badge {
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 4px 11px;
    border-radius: 20px;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(6px);
}

/* Card body */
.pc-body {
    padding: 20px 18px 14px;
}

.pc-title {
    font-family: var(--font-d);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.pc-blue .pc-title {
    color: var(--primary-blue);
}

.pc-red .pc-title {
    color: var(--primary-red);
}

.pc-silver .pc-title {
    color: var(--secondary-blue);
}

.pc-desc {
    font-size: .8rem;
    color: var(--text-body);
    line-height: 1.55;
    margin-bottom: 14px;
}

.pc-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    transition: gap .25s ease;
}

.pcard:hover .pc-link {
    gap: 11px;
}

.pc-blue .pc-link {
    color: var(--primary-blue);
}

.pc-red .pc-link {
    color: var(--primary-red);
}

.pc-silver .pc-link {
    color: var(--secondary-blue);
}

/* Color bar bottom */
.pc-bar {
    height: 4px;
}

.pc-blue .pc-bar {
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
}

.pc-red .pc-bar {
    background: linear-gradient(90deg, var(--primary-red), #ef9a9a);
}

.pc-silver .pc-bar {
    background: linear-gradient(90deg, var(--secondary-blue), var(--accent-silver));
}

/* ══════════════════════════════════════
   FEATURES STRIP
══════════════════════════════════════ */
.features-strip {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 20px;
    border-right: 1px solid var(--border);
    transition: var(--tr);
}

.feat-item--last {
    border-right: none;
}

.feat-item:hover {
    background: var(--bg-soft);
}

.feat-ico {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--blue-soft);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex-shrink: 0;
}

.feat-text strong {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: var(--text-dark);
}

.feat-text span {
    display: block;
    font-size: .72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ══════════════════════════════════════
   HELP STRIP
══════════════════════════════════════ */
.help-strip {
    background: var(--primary-blue);
    padding: 44px 0;
    position: relative;
    overflow: hidden;
}

    .help-strip::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 5% 50%, rgba(198,40,40,.12) 0%, transparent 55%), radial-gradient(ellipse at 95% 50%, rgba(255,255,255,.04) 0%, transparent 55%);
        pointer-events: none;
    }

    .help-strip::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    }

.help-left {
    position: relative;
}

.help-big-ico {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: rgba(198,40,40,.2);
    border: 1.5px solid rgba(198,40,40,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ff8a80;
}

.help-title {
    font-family: var(--font-d);
    font-size: 1.22rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.help-sub {
    font-size: .73rem;
    color: rgba(255,255,255,.45);
}

.help-contacts {
    position: relative;
}

.hc {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
}

.hc-ico {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8a80;
    font-size: .82rem;
    flex-shrink: 0;
}

.hc-t span {
    display: block;
}

    .hc-t span:first-child {
        font-size: .58rem;
        color: rgba(255,255,255,.38);
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .hc-t span:last-child {
        font-size: .84rem;
        color: rgba(255,255,255,.88);
        font-weight: 600;
    }

.hc-sep {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.1);
    margin: 0 8px;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
    background: var(--text-dark);
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.06);
}

.footer-brand i {
    font-size: 1.2rem;
    color: var(--primary-red);
}

.footer-brand strong {
    display: block;
    font-size: .82rem;
    color: #fff;
}

.footer-brand span {
    display: block;
    font-size: .65rem;
    color: rgba(255,255,255,.4);
}

.footer-links a {
    font-size: .74rem;
    color: rgba(255,255,255,.5);
    font-weight: 500;
    transition: color .2s;
}

    .footer-links a:hover {
        color: #fff;
    }

.footer-copy a {
    font-size: .68rem;
    color: rgba(255,255,255,.35);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color .2s;
}

    .footer-copy a:hover {
        color: rgba(255,255,255,.7);
    }

/* ══════════════════════════════════════
   ANIMATIONS — Fade-up
══════════════════════════════════════ */
.fade-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
    /* CSS fallback: auto-show after 1.5s if JS never fires */
    animation: fade-up-fallback 0s 1.5s forwards;
}

@keyframes fade-up-fallback {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

/* ══════════════════════════════════════
   RESPONSIVE OVERRIDES
   (Bootstrap handles most breakpoints;
    these patch custom components)
══════════════════════════════════════ */

/* Hero min-height reduction on small screens */
@media (max-width: 991.98px) {
    .hero-banner {
        min-height: 360px;
    }

    .hero-text-box {
        padding: 32px 0;
    }

    .hero-overlay {
        background: linear-gradient( 180deg, rgba(13,54,110,.92) 0%, rgba(13,54,110,.80) 100% );
    }
}

@media (max-width: 767.98px) {
    /* Top bar already hidden via d-none d-md-block */

    /* Logo smaller */
    .logo-ring {
        width: 52px;
        height: 52px;
    }

    .lt-name {
        font-size: 1rem;
    }

    /* Stats — 2 cols, no right border on even */
    .stat {
        padding: 18px 14px;
        border-right: 1px solid var(--border);
    }

    .col-6:nth-child(even) .stat {
        border-right: none;
    }

    .col-6:nth-child(1) .stat,
    .col-6:nth-child(2) .stat {
        border-bottom: 1px solid var(--border);
    }

    .stat-num {
        font-size: 1.35rem;
    }

    /* Features: 2-col grid; remove right border on even */
    .feat-item {
        border-right: 1px solid var(--border);
        padding: 18px 14px;
    }

    .col-6:nth-child(even) .feat-item {
        border-right: none;
    }

    .col-6:nth-child(1) .feat-item,
    .col-6:nth-child(2) .feat-item {
        border-bottom: 1px solid var(--border);
    }

    /* Hero */
    .hero-banner {
        min-height: 300px;
    }

    .hero-eyebrow {
        font-size: .62rem;
        padding: 5px 12px;
    }

    /* Help contacts stacked */
    .help-contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px !important;
    }

    .hc-sep {
        display: none !important;
    }

    /* Footer center on small */
    .footer-brand {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .logo-ring {
        width: 46px;
        height: 46px;
    }

    .lt-name {
        font-size: .92rem;
    }

    .pc-img-bg {
        height: 160px;
    }

    .hero-wave svg {
        height: 32px;
    }

    .portal-section {
        padding: 40px 0 36px;
    }
}
