/* ==========================================================================
   NTSI design system — modern, rounded, soft-depth, bold uppercase labels.
   Palette is unchanged: institutional green + gold on warm paper.
   ========================================================================== */

:root {
    /* Brand palette (same colour combination as before) */
    --bs-primary: #04512f;
    --bs-primary-rgb: 4, 81, 47;
    --bs-primary-light: rgba(4, 81, 47, 0.08);

    --brand-deep: #022a19;      /* darkest green — footer / top bar */
    --brand-dark: #033a22;      /* hover / gradients */
    --brand: #04512f;
    --brand-mid: #0b6b41;
    --gold: #c99a2e;
    --gold-soft: #e6c067;       /* gold tint for use on dark surfaces */
    --gold-dark: #96721c;

    /* Legacy aliases — inner pages still reference these */
    --gov-ink: #14211a;
    --gov-muted: #5d6b62;
    --gov-paper: #f5f7f3;
    --gov-line: #dfe5dc;
    --gov-line-strong: #04512f;
    --gov-accent: #c99a2e;
    --gov-accent-dark: #96721c;
    --gov-gold: #c99a2e;

    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 2px rgba(2, 42, 25, .06), 0 2px 8px rgba(2, 42, 25, .04);
    --shadow: 0 10px 30px -10px rgba(2, 42, 25, .18);
    --shadow-lg: 0 24px 60px -20px rgba(2, 42, 25, .30);

    --bs-border-radius: var(--radius-sm);
    --bs-border-radius-sm: 10px;
    --bs-border-radius-lg: var(--radius);
    --bs-border-radius-xl: var(--radius-lg);
    --bs-border-radius-2xl: var(--radius-xl);
    --bs-body-font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { scroll-behavior: smooth; }

body {
    font-family: var(--bs-body-font-family);
    color: var(--gov-ink);
    background-color: #fafbf9;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--brand-deep);
}

a { color: var(--brand); }
::selection { background: var(--gold-soft); color: var(--brand-deep); }
img { max-width: 100%; }

.text-primary { color: var(--brand) !important; }
.bg-primary { background-color: var(--brand) !important; }
.bg-primary-light { background-color: var(--bs-primary-light); }
.border-primary { border-color: var(--brand) !important; }

.shadow, .shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-lg { box-shadow: var(--shadow) !important; }

/* --------------------------------------------------------------------
   Buttons — rounded, bold, uppercase micro-labels
   -------------------------------------------------------------------- */
.btn {
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.8rem 1.6rem;
    border-width: 2px;
    border-radius: var(--radius-sm);
    transition: all .25s ease;
}
.btn-lg { padding: 1rem 2rem; font-size: 0.85rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.7rem; }

.btn-primary {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--brand-deep) !important;
    box-shadow: 0 10px 24px -10px rgba(201, 154, 46, .7);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -12px rgba(4, 81, 47, .6);
}
.btn-outline-primary {
    --bs-btn-color: var(--brand);
    --bs-btn-border-color: #d8e0d6;
    --bs-btn-hover-bg: var(--brand);
    --bs-btn-hover-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--brand);
    --bs-btn-active-border-color: var(--brand);
    --bs-btn-disabled-color: var(--brand);
    --bs-btn-disabled-border-color: var(--brand);
    background: #fff;
}
.btn-dark-solid {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.btn-dark-solid:hover { background: var(--gold); border-color: var(--gold); color: var(--brand-deep); }
.btn-accent {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--brand-deep);
}
.btn-accent:hover { background-color: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn:focus, .btn-primary:focus { box-shadow: 0 0 0 .25rem rgba(201, 154, 46, .35) !important; outline: none !important; }

/* --------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------- */
.form-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gov-muted);
    margin-bottom: .4rem;
}
.form-control, .form-select {
    border: 2px solid #e3e9e1;
    background-color: #f8faf7;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all .2s ease;
}
.form-control:focus, .form-select:focus, textarea:focus {
    background-color: #fff;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 .25rem rgba(201, 154, 46, .18) !important;
    outline: none !important;
}
.input-group-text { border-radius: var(--radius-sm); border: 2px solid #e3e9e1; background: #eef2ec; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }

/* --------------------------------------------------------------------
   Accordion
   -------------------------------------------------------------------- */
.accordion-item { border-radius: var(--radius) !important; overflow: hidden; border: 1px solid var(--gov-line); margin-bottom: .75rem; }
.accordion-button { font-weight: 700; border-radius: 0 !important; }
.accordion-button:not(.collapsed) {
    background-color: var(--brand); color: #fff; box-shadow: none;
}
.accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.accordion-button:focus { box-shadow: none; outline: none; }

/* --------------------------------------------------------------------
   Top info bar (dark) + notice ticker
   -------------------------------------------------------------------- */
.topbar {
    background: var(--brand-deep);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-top: .55rem; padding-bottom: .55rem; }
.topbar .tb-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .25rem .8rem; border-radius: 999px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
    color: var(--gold-soft);
}
.topbar .tb-links { display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; }
.topbar a, .topbar span.tb-item { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s; display: inline-flex; align-items: center; gap: .5rem; }
.topbar a:hover { color: var(--gold-soft); }
.topbar i { color: var(--gold-soft); }

.announcement-bar {
    background: var(--gold);
    color: var(--brand-deep);
    display: flex;
    align-items: stretch;
    overflow: hidden;
}
.announcement-bar .ab-label {
    flex-shrink: 0;
    display: flex; align-items: center; gap: .5rem;
    background: var(--brand-deep); color: var(--gold-soft);
    font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    padding: .55rem 1.1rem;
}
.announcement-bar marquee { font-size: .9rem; font-weight: 700; padding: .45rem 0; cursor: pointer; }

/* --------------------------------------------------------------------
   Header — white, blurred, sticky, underline hover
   -------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gov-line);
}
.site-header .navbar { padding: .7rem 0; }
.site-header .navbar-brand { display: inline-flex; align-items: center; gap: .85rem; padding: 0; }
.site-header .navbar-brand img { height: 72px; width: auto; transition: transform .4s ease; }
.site-header .navbar-brand:hover img { transform: scale(1.06); }
.site-header .brand-text { display: block; max-width: 260px; font-size: .95rem; font-weight: 900; line-height: 1.15; letter-spacing: -.01em; text-transform: uppercase; color: var(--brand-deep); }
.site-header .brand-sub { display: block; font-size: .62rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

.site-header .nav-link {
    position: relative;
    color: var(--brand-deep);
    font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    padding: .6rem .9rem !important;
}
.site-header .nav-link::after {
    content: ''; position: absolute; left: .9rem; bottom: .25rem;
    width: 0; height: 2px; background: var(--gold); transition: width .3s ease;
}
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { width: calc(100% - 1.8rem); }
.site-header .nav-link:hover { color: var(--brand); }
.site-header .nav-cta {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .7rem 1.3rem !important; border-radius: var(--radius-sm);
    font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    transition: all .25s ease; text-align: center; justify-content: center;
}
.site-header .nav-cta::after { display: none; }
.site-header .nav-cta.apply { background: var(--gold); color: var(--brand-deep); }
.site-header .nav-cta.apply:hover { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.site-header .nav-cta.result { border: 2px solid #e3e9e1; color: var(--brand-deep); }
.site-header .nav-cta.result:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.site-header .navbar-toggler { width: 44px; height: 44px; border: 1px solid var(--gov-line); border-radius: var(--radius-sm); padding: 0; }
.site-header .navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
    .site-header .brand-text { max-width: 170px; font-size: .75rem; }
    .site-header .brand-sub { display: none; }
    .site-header .navbar-brand img { height: 56px; }
    .site-header .navbar-collapse {
        margin-top: .75rem; padding: 1rem; background: #fff;
        border: 1px solid var(--gov-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    }
    .site-header .nav-link { padding: .8rem .5rem !important; border-bottom: 1px solid var(--gov-line); }
    .site-header .nav-link::after { display: none; }
    .site-header .nav-item.nav-btn { margin-top: .6rem; }
    .site-header .nav-cta { display: flex; height: 50px; }
}

/* --------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------- */
.section { padding: 5.5rem 0; }
.section-tint { background: var(--gov-paper); }
.section-dark { background: var(--brand-deep); color: #fff; position: relative; overflow: hidden; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.section-eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    color: var(--gold);
    font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
    margin-bottom: .75rem;
}
.section-eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.section-dark .section-eyebrow, .page-hero .section-eyebrow { color: var(--gold-soft); }

.section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    text-align: left;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub { color: var(--gov-muted); font-size: 1.05rem; max-width: 620px; font-weight: 500; }

/* --------------------------------------------------------------------
   Page hero (inner pages) — replaces flat title row
   -------------------------------------------------------------------- */
.page-hero, .page-title-row {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
    color: #fff;
    padding: 4rem 0 4.5rem;
    margin-bottom: 0;
    border: 0;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.page-hero::before, .page-title-row::before {
    content: ''; position: absolute; right: -80px; top: -120px;
    width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 192, 103, .28), transparent 70%);
    pointer-events: none;
}
.page-hero .container, .page-title-row .container { position: relative; }
.page-hero h1, .page-title-row h1 {
    color: #fff; margin: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900; text-transform: uppercase; letter-spacing: -.02em;
}
.page-hero p.lead { color: rgba(255, 255, 255, .7); margin: 1rem 0 0; max-width: 600px; font-weight: 500; }
.page-title-row .section-eyebrow { color: var(--gold-soft); }
.page-title-row .breadcrumb, .page-hero .breadcrumb { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .75rem; }
.page-title-row .breadcrumb a, .page-hero .breadcrumb a { color: var(--gold-soft); text-decoration: none; }
.page-title-row .breadcrumb-item.active, .page-hero .breadcrumb-item.active { color: rgba(255, 255, 255, .6); }
.page-title-row .breadcrumb-item + .breadcrumb-item::before, .page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .35); }

/* page content slides slightly under the hero for depth */
.page-hero + section, .page-title-row + section, .page-title-row + .container { margin-top: -2rem; position: relative; z-index: 2; }

/* --------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------- */
.home-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, var(--brand-deep) 0%, var(--brand) 70%, var(--brand-mid) 100%);
    color: #fff;
    padding: 6rem 0 7rem;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.home-hero::before {
    content: ''; position: absolute; left: -120px; bottom: -160px;
    width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 192, 103, .22), transparent 70%);
}
.home-hero::after {
    content: ''; position: absolute; right: -100px; top: -100px;
    width: 420px; height: 420px; border-radius: 50%;
    border: 70px solid rgba(255, 255, 255, .04);
}
.home-hero .container { position: relative; z-index: 1; }
.home-hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.9rem);
    font-weight: 900; line-height: 1.04; text-transform: uppercase; letter-spacing: -.03em;
    margin-bottom: 1.5rem;
}
.home-hero h1 em { color: var(--gold-soft); font-style: italic; }
.home-hero .lead { color: rgba(255, 255, 255, .72); font-weight: 500; max-width: 560px; font-size: 1.1rem; }
.hero-pill {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .45rem 1rem; border-radius: 999px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
    color: var(--gold-soft);
    font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-visual {
    position: relative;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-xl); padding: 1.75rem;
    backdrop-filter: blur(10px);
}
.hero-visual img { border-radius: var(--radius-lg); }

/* Quick-stat strip that overlaps hero */
.quick-strip { margin-top: -3.2rem; position: relative; z-index: 3; }
.quick-card {
    display: flex; align-items: center; gap: 1rem; height: 100%;
    background: #fff; border: 1px solid var(--gov-line);
    border-radius: var(--radius-lg); padding: 1.35rem 1.5rem;
    box-shadow: var(--shadow); text-decoration: none; color: inherit;
    transition: transform .3s ease, box-shadow .3s ease;
}
.quick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.quick-card .qc-icon {
    flex-shrink: 0; width: 54px; height: 54px; border-radius: var(--radius);
    display: grid; place-items: center; font-size: 1.25rem;
    background: var(--bs-primary-light); color: var(--brand);
    transition: all .3s ease;
}
.quick-card:hover .qc-icon { background: var(--gold); color: var(--brand-deep); }
.quick-card h6 { margin: 0 0 .15rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 900; }
.quick-card p { margin: 0; font-size: .82rem; color: var(--gov-muted); font-weight: 500; }

/* Banner carousel */
.banner-wrap { padding: 1.5rem 0 0; background: linear-gradient(180deg, var(--brand-deep) 0, var(--brand-deep) 55%, transparent 55%); }
#bannerCarousel { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; background: #fff; }
#bannerCarousel .carousel-item img { width: 100%; height: auto; object-fit: contain; border-radius: 0 !important; }
#bannerCarousel .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #fff; opacity: .6; }
#bannerCarousel .carousel-indicators .active { background: var(--gold); opacity: 1; width: 28px; border-radius: 999px; }
#bannerCarousel .carousel-control-prev, #bannerCarousel .carousel-control-next { width: 64px; }
#bannerCarousel .carousel-control-prev-icon, #bannerCarousel .carousel-control-next-icon {
    background-color: rgba(2, 42, 25, .65); border-radius: 50%; width: 44px; height: 44px; background-size: 45%;
}

/* --------------------------------------------------------------------
   Cards / panels
   -------------------------------------------------------------------- */
.card, .panel, .sheet {
    background: #fff;
    border: 1px solid var(--gov-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.panel { border-top: 1px solid var(--gov-line); position: relative; }
.panel::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--brand), var(--gold)); }
.sheet { box-shadow: var(--shadow); }
.card-header { border-bottom: 1px solid var(--gov-line); background: var(--gov-paper); font-weight: 800; }
.card-title { font-weight: 800; }

.course-card {
    height: 100%;
    border-radius: var(--radius-lg);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.course-card .cc-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--gov-paper); }
.course-card .cc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.course-card:hover .cc-media img { transform: scale(1.08); }
.course-card .cc-media.empty { display: grid; place-items: center; color: var(--brand); font-size: 2.5rem; background: linear-gradient(135deg, var(--bs-primary-light), rgba(201, 154, 46, .15)); }
.course-card .cc-code {
    position: absolute; left: 1rem; top: 1rem;
    background: rgba(2, 42, 25, .85); color: var(--gold-soft);
    backdrop-filter: blur(6px);
    padding: .3rem .8rem; border-radius: 999px;
    font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.course-card .card-body { padding: 1.5rem; display: flex; flex-direction: column; }
.course-card .card-title { font-size: 1.1rem; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.25; }
.course-card .card-text { color: var(--gov-muted); font-weight: 500; font-size: .92rem; }
.course-card .cc-link {
    margin-top: auto; display: inline-flex; align-items: center; gap: .6rem;
    font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--brand); text-decoration: none;
}
.course-card .cc-link i { transition: transform .3s; color: var(--gold); }
.course-card:hover .cc-link i { transform: translateX(6px); }

.about-img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); border: 6px solid #fff; object-fit: cover; max-height: 440px; width: 100%; }
.about-frame { position: relative; }
.about-frame::before { content: ''; position: absolute; inset: 24px -18px -18px 24px; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--gold), var(--gold-soft)); opacity: .35; z-index: 0; }
.about-frame img { position: relative; z-index: 1; }

.feature-card {
    height: 100%; padding: 1.75rem;
    background: #fff; border: 1px solid var(--gov-line); border-radius: var(--radius-lg);
    transition: all .3s ease;
}
.feature-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-card .fc-icon { width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center; background: var(--brand); color: var(--gold-soft); font-size: 1.15rem; margin-bottom: 1.1rem; }
.feature-card h5 { font-size: .95rem; text-transform: uppercase; font-weight: 900; }
.feature-card p { margin: 0; color: var(--gov-muted); font-size: .92rem; font-weight: 500; }

.notice-strip {
    background: #fffaf0;
    border: 1px solid #f0e2bd;
    border-left: 6px solid var(--gold);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-weight: 600;
}
.stat-tile {
    background: var(--gov-paper); border: 1px solid var(--gov-line);
    border-radius: var(--radius); text-align: center; padding: .85rem .5rem;
}

.cert-logo {
    display: grid; place-items: center;
    width: 150px; height: 150px; padding: 1.1rem;
    background: #fff; border: 1px solid var(--gov-line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); transition: all .3s ease;
}
.cert-logo:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.cert-logo img { width: 100%; height: 100%; object-fit: contain; }

.cta-band {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--brand-deep), var(--brand));
    border-radius: var(--radius-xl);
    padding: 4rem 2.5rem; color: #fff; text-align: center;
    box-shadow: var(--shadow-lg);
}
.cta-band::before { content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(230, 192, 103, .3), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; text-transform: uppercase; font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: rgba(255, 255, 255, .72); max-width: 560px; margin: 0 auto 2rem; font-weight: 500; }
.cta-band .btn-outline-primary { background: transparent; --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .3); }
.cta-band .btn-outline-primary:hover { background: #fff; color: var(--brand); border-color: #fff; }

/* Contact info rows */
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--gov-line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ir-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--bs-primary-light); color: var(--brand); }
.info-row h6 { margin: 0 0 .15rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gov-muted); font-weight: 800; }
.info-row a, .info-row p { color: var(--brand-deep); font-weight: 700; text-decoration: none; margin: 0; word-break: break-word; }

.map-frame { border-radius: var(--radius-xl); overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow-lg); }

/* Timeline-ish list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: .75rem 0 .75rem 2.5rem; border-bottom: 1px dashed var(--gov-line); font-weight: 500; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; top: .7rem; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; font-size: .65rem;
    background: var(--brand); color: var(--gold-soft);
}

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */
.footer {
    position: relative; overflow: hidden;
    background: var(--brand-deep) !important;
    color: rgba(255, 255, 255, .6);
    padding: 5rem 0 0;
    margin-top: 0;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent); }
.footer .f-brand { display: inline-flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; text-decoration: none; }
.footer .f-logo { background: #fff; border-radius: var(--radius); padding: 6px; height: 64px; width: auto; }
.footer .f-name { color: #fff; font-weight: 900; text-transform: uppercase; font-size: 1rem; line-height: 1.15; letter-spacing: -.01em; }
.footer h5 {
    color: var(--gold-soft);
    font-size: .78rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase;
    margin-bottom: 1.6rem; border: 0; padding: 0;
}
.footer p { font-weight: 500; line-height: 1.7; }
.footer a { color: rgba(255, 255, 255, .6); text-decoration: none; transition: all .25s ease; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer .f-links li { margin-bottom: .8rem; }
.footer .f-links a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.footer .f-links a::before { content: '\f061'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .65rem; color: var(--gold-soft); opacity: 0; transform: translateX(-8px); transition: all .25s ease; margin-right: -.5rem; }
.footer .f-links a:hover::before { opacity: 1; transform: translateX(0); margin-right: 0; }
.footer .f-contact li { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; font-weight: 600; color: rgba(255, 255, 255, .7); word-break: break-word; }
.footer .f-contact .fc-i { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--gold-soft); }
.footer .f-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 3rem; padding: 1.75rem 0; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.footer .f-pay { display: inline-flex; align-items: center; gap: .9rem; }
.footer .f-pay .bg-white { border-radius: var(--radius-sm); padding: .35rem .6rem !important; }
.footer hr { border-color: rgba(255, 255, 255, .1); opacity: 1; }

/* --------------------------------------------------------------------
   Floating WhatsApp
   -------------------------------------------------------------------- */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 26px; right: 26px;
    background: #1fa855; color: #fff;
    border-radius: 50% !important;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; z-index: 1000; text-decoration: none;
    box-shadow: 0 14px 30px -8px rgba(31, 168, 85, .6);
    transition: all .3s ease;
}
.whatsapp-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fa855; animation: wa-ping 2.2s ease-out infinite; }
.whatsapp-float:hover { background: var(--brand); color: #fff; transform: scale(1.1); }
@keyframes wa-ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* --------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------- */
.pagination { gap: .4rem; flex-wrap: wrap; }
.pagination .page-item .page-link {
    color: var(--brand-deep); border: 2px solid #e3e9e1; border-radius: var(--radius-sm) !important;
    font-weight: 800; font-size: .78rem; padding: .6rem 1rem; background: #fff;
}
.pagination .page-item:not(.active) .page-link:hover { color: var(--brand); background: var(--bs-primary-light); border-color: var(--brand); }
.pagination .page-item.active .page-link { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }

/* --------------------------------------------------------------------
   Tables / badges / alerts
   -------------------------------------------------------------------- */
.table { --bs-table-bg: transparent; }
.table th { color: var(--brand-deep); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.table-gov { border-radius: var(--radius); overflow: hidden; border-color: var(--gov-line); }
.table-gov thead { background-color: var(--brand); color: #fff; }
.table-gov thead th { color: #fff; border-color: rgba(255, 255, 255, .1); }
.table-bordered > :not(caption) > * > * { border-color: var(--gov-line); }
.table th.bg-light { background: var(--gov-paper) !important; }
.table-hover > tbody > tr:hover > * { --bs-table-bg-state: var(--bs-primary-light); }

.badge { font-weight: 800; letter-spacing: .06em; padding: .5em .85em; border-radius: 999px; text-transform: uppercase; font-size: .66rem; }
.alert { border-radius: var(--radius); border-width: 1px; font-weight: 600; }
.dropdown-menu { border-radius: var(--radius); border: 1px solid var(--gov-line); box-shadow: var(--shadow); padding: .5rem; }
.dropdown-item { border-radius: 10px; font-weight: 600; }
.modal-content { border-radius: var(--radius-lg); border: 0; box-shadow: var(--shadow-lg); }
.breadcrumb { --bs-breadcrumb-divider-color: #9aa79f; }
.list-group-item { border-color: var(--gov-line); }
.list-group-item:first-child { border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.list-group-item:last-child { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }
.nav-tabs .nav-link { border-radius: var(--radius-sm) var(--radius-sm) 0 0; font-weight: 700; color: var(--brand); }

/* Utility pages */
.auth-wrap { min-height: calc(100vh - 220px); display: flex; align-items: center; padding: 4rem 0; background: radial-gradient(circle at 15% 20%, rgba(201, 154, 46, .12), transparent 40%), radial-gradient(circle at 85% 80%, rgba(4, 81, 47, .1), transparent 40%), var(--gov-paper); }
.auth-card { max-width: 460px; margin: 0 auto; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--gov-line); background: #fff; padding: 2.5rem; }
.auth-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--brand); color: var(--gold-soft); font-size: 1.5rem; margin-bottom: 1.5rem; }

.result-photo { border-radius: var(--radius-lg); border: 4px solid #fff; box-shadow: var(--shadow); max-width: 200px; }

@media (max-width: 767.98px) {
    .section { padding: 3.5rem 0; }
    .home-hero { padding: 4rem 0 6rem; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
    .page-hero, .page-title-row { padding: 3rem 0 3.5rem; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
    .footer { border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding-top: 3.5rem; }
    .cta-band { padding: 3rem 1.5rem; }
    .auth-card { padding: 1.75rem; }
}

.fw-black { font-weight: 900 !important; }
.select2-dropdown { border-radius: 12px !important; border: 2px solid #e3e9e1 !important; overflow: hidden; }
.select2-container--default.select2-container--focus .select2-selection--single, .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--gold) !important; }

/* Hero with scrolling banner background */
.home-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.home-hero .hero-bg .carousel-inner, .home-hero .hero-bg .carousel-item { height: 100%; }
.home-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.home-hero .hero-overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(2, 42, 25, .92) 0%, rgba(2, 42, 25, .75) 50%, rgba(4, 81, 47, .45) 100%); }
.home-hero::before, .home-hero::after { z-index: 0; }

/* Math captcha (apply + check result) */
.captcha-box { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.captcha-box img.captcha { height: 50px; border: 1px solid var(--gov-line); border-radius: var(--radius); background: #fff; }
.captcha-box input[type="text"] { width: 140px; }
