﻿:root {
    --air-navy: #0b2a57;
    --air-royal: #1d4f91;
    --air-red: #c1121f;
    --air-gold: #d4a017;
    --air-ink: #1d2b45;
    --air-soft: #f6f8fd;
    --air-border: rgba(11, 42, 87, 0.12);
    --air-glow: rgba(11, 42, 87, 0.22);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--air-ink);
    font-family: "Manrope", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 12% 10%, #ffffff 0%, #f3f7ff 40%, #e5eefb 100%);
    position: relative;
    overflow-x: hidden;
}

.watermark-layer {
    position: fixed;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: min(46vw, 480px);
    opacity: 0.055;
    pointer-events: none;
    z-index: -1;
}

.navbar {
    background: linear-gradient(105deg, #092650 0%, #1a4a87 52%, #b50f25 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.8px;
}

.navbar-brand img {
    width: 44px;
    height: 44px;
    margin-right: 10px;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.brand-title {
    font-size: 1.35rem;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff;
}

.nav-admin-btn {
    font-weight: 700;
    border-radius: 8px;
}

.hero-wrap {
    position: relative;
}

.hero-slide {
    min-height: clamp(480px, 74vh, 670px);
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(7, 26, 57, 0.88) 10%, rgba(13, 51, 102, 0.7) 52%, rgba(165, 17, 38, 0.58) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.hero-content h1,
.hero-content h2 {
    font-family: "Libre Baskerville", Georgia, serif;
    line-height: 1.2;
}

.hero-kicker {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 999px;
    margin-bottom: 14px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
}

.carousel-indicators [data-bs-target] {
    width: 28px;
    height: 5px;
    border-radius: 20px;
}

.institution-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    border: 1px solid var(--air-border);
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.9), rgba(239, 246, 255, 0.86));
    box-shadow: 0 15px 32px rgba(12, 44, 89, 0.11);
}

.institution-banner h2 {
    margin: 0;
    font-family: "Libre Baskerville", Georgia, serif;
    color: var(--air-navy);
    font-size: clamp(1.05rem, 1.9vw, 1.48rem);
}

.institution-banner p {
    color: #3d4f72;
}

.trust-chip {
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(120deg, #143f78, #bc1228);
    box-shadow: 0 8px 18px rgba(11, 42, 87, 0.24);
}

.glass-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 20px 42px rgba(11, 42, 87, 0.14);
    border-radius: 18px;
    backdrop-filter: blur(8px);
}

.section-title {
    font-weight: 800;
    color: var(--air-navy);
    font-family: "Libre Baskerville", Georgia, serif;
}

.feature-card {
    border: 1px solid var(--air-border);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(11, 42, 87, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(11, 42, 87, 0.17);
}

.step-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, var(--air-red), #f07030);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
}

.form-shell {
    max-width: 760px;
    margin: 42px auto;
    padding: 26px;
}

.admin-shell {
    max-width: 1240px;
    margin: 34px auto;
}

.form-label {
    font-weight: 700;
    color: #2e3f61;
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid #c7d5eb;
    padding: 0.7rem 0.82rem;
    font-weight: 500;
    color: #21365a;
    background-color: #fefefe;
}

.form-control:focus,
.form-select:focus {
    border-color: #3f78c5;
    box-shadow: 0 0 0 0.22rem rgba(63, 120, 197, 0.16);
}

.btn {
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-danger {
    background: linear-gradient(120deg, #c1121f, #de5a2a);
    border: 0;
}

.btn-danger:hover,
.btn-danger:focus {
    background: linear-gradient(120deg, #a30f1a, #c84c22);
}

.stat-card {
    border: 1px solid var(--air-border);
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(11, 42, 87, 0.09);
    background: linear-gradient(170deg, #ffffff 0%, #f8fbff 100%);
}

.status-pill {
    padding: 0.36rem 0.78rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.status-pending {
    background: #fff3cd;
    color: #765606;
    border-color: #ffe69c;
}

.status-approved {
    background: #d1e7dd;
    color: #0f5132;
    border-color: #a3cfbb;
}

.status-rejected {
    background: #f8d7da;
    color: #842029;
    border-color: #f1aeb5;
}

.zone-green {
    background: #d1e7dd;
    color: #0f5132;
}

.zone-orange {
    background: #fff3cd;
    color: #7d5a00;
}

.zone-red {
    background: #f8d7da;
    color: #842029;
}

.table thead th {
    background: linear-gradient(180deg, #edf3ff, #dfe9f8);
    color: #183a70;
    font-weight: 700;
    white-space: nowrap;
}

.table tbody td {
    vertical-align: middle;
}

.qr-shell {
    border: 1px dashed #9db6dd;
    background: linear-gradient(180deg, #ffffff, #f5f9ff);
    border-radius: 14px;
    padding: 0.8rem;
}

.process-list {
    display: grid;
    gap: 0.58rem;
}

.process-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.95rem;
}

.process-item span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(130deg, #173f82, #b61327);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-weight: 700;
}

.site-footer {
    background: linear-gradient(112deg, #0a2958, #173f82 55%, #8f1226);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-title {
    font-family: "Libre Baskerville", Georgia, serif;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.86);
}

.alert {
    border-radius: 12px;
}

@media (max-width: 991.98px) {
    .navbar .nav-link {
        padding-top: 0.58rem;
        padding-bottom: 0.58rem;
    }
}

@media (max-width: 767.98px) {
    .watermark-layer {
        background-size: 270px;
        opacity: 0.05;
    }

    .hero-slide {
        min-height: 500px;
    }

    .hero-content {
        padding-top: 12px;
    }

    .institution-banner {
        padding: 1rem;
    }

    .form-shell {
        padding: 18px;
    }
}
