:root {
    --navy: #071834;
    --navy-2: #0d274e;
    --green: #00a86b;
    --green-dark: #007b55;
    --mint: #e9fff6;
    --ink: #132238;
    --muted: #64748b;
    --line: #dbe4ee;
    --soft: #f5f8fb;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(7, 24, 52, .12);
}

* {
    box-sizing: border-box;
}

body {
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    background: var(--soft);
}

a {
    text-decoration: none;
}

.glass-nav {
    background: rgba(7, 24, 52, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: var(--green);
    color: var(--white);
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--white);
    padding: 4px;
}

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

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--white);
}

.hero-section {
    min-height: 100vh;
    background:
        radial-gradient(circle at 78% 22%, rgba(0, 168, 107, .24), transparent 30%),
        linear-gradient(110deg, rgba(7, 24, 52, .97), rgba(13, 39, 78, .88));
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 90px;
    background: linear-gradient(transparent, rgba(245, 248, 251, .98));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #8ff2c9;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-kicker.dark {
    color: var(--green-dark);
}

h1,
h2,
h3 {
    letter-spacing: 0;
    font-weight: 800;
}

h1 {
    max-width: 760px;
    font-size: clamp(2.7rem, 6vw, 5.7rem);
    line-height: .98;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--navy);
}

h3 {
    font-size: 1.15rem;
}

.hero-copy {
    max-width: 720px;
    color: rgba(255, 255, 255, .88);
    font-size: 1.22rem;
    line-height: 1.75;
}

.hero-copy-small {
    font-size: 1rem;
    color: rgba(255, 255, 255, .75);
}

.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 34px;
}

.badge-grid span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .09);
    color: var(--white);
    font-weight: 700;
}

.cta-button {
    border-radius: 8px;
    padding: 14px 24px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(0, 168, 107, .24);
}

.btn-success {
    --bs-btn-bg: var(--green);
    --bs-btn-border-color: var(--green);
    --bs-btn-hover-bg: var(--green-dark);
    --bs-btn-hover-border-color: var(--green-dark);
}

.btn-primary {
    --bs-btn-bg: var(--navy-2);
    --bs-btn-border-color: var(--navy-2);
    --bs-btn-hover-bg: var(--navy);
    --bs-btn-hover-border-color: var(--navy);
}

.hero-card {
    border-radius: 8px;
    padding: 30px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-card .label,
.label {
    color: var(--muted);
    font-size: .84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-card .label {
    color: rgba(255, 255, 255, .68);
}

.hero-card h2 {
    color: var(--white);
}

.hero-card .fa-credit-card {
    font-size: 2.4rem;
    color: #8ff2c9;
}

.progress {
    height: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .2);
}

.progress-bar {
    background: var(--green);
}

.float-soft {
    animation: floatSoft 5s ease-in-out infinite;
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.section-pad {
    padding: 96px 0;
}

.soft-bg {
    background:
        linear-gradient(180deg, var(--soft), #eef7f4);
}

.lead-text {
    font-size: 1.16rem;
    color: var(--navy-2);
}

.info-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 24px;
    border-radius: 8px;
    background: var(--navy);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}

.metric {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
}

.metric strong {
    font-size: 2.2rem;
    color: #8ff2c9;
}

.service-card {
    min-height: 260px;
    height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(7, 24, 52, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

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

.icon-box {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    margin-bottom: 22px;
    background: var(--mint);
    color: var(--green-dark);
    font-size: 1.45rem;
}

.service-card p {
    color: var(--muted);
}

.testimonials-section {
    background: var(--navy);
    color: var(--white);
}

.testimonials-section h2 {
    color: var(--white);
}

.testimonials-section p {
    color: rgba(255, 255, 255, .78);
}

.testimonial-card {
    height: 100%;
    min-height: 240px;
    padding: 22px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
}

.testimonial-card img {
    width: 100%;
    height: 98px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.testimonial-card .fa-quote-left {
    color: #8ff2c9;
    margin-bottom: 12px;
}

.location-box {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 28px;
    align-items: stretch;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

address {
    margin: 24px 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.map-card {
    min-height: 260px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 8px;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(0, 168, 107, .92), rgba(7, 24, 52, .95)),
        repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0 2px, transparent 2px 12px);
}

.map-card i {
    display: block;
    font-size: 3rem;
    margin-bottom: 12px;
}

.map-card span {
    font-size: 1.4rem;
    font-weight: 800;
}

.cta-strip {
    padding: 54px 0;
    color: var(--white);
    background: linear-gradient(120deg, var(--green-dark), var(--navy));
}

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

.footer-section {
    padding: 28px 0;
    color: rgba(255, 255, 255, .82);
    background: #051125;
}

.footer-icons {
    display: flex;
    gap: 16px;
    color: #8ff2c9;
}

.page-hero {
    padding: 150px 0 70px;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 168, 107, .28), transparent 28%),
        linear-gradient(120deg, var(--navy), var(--navy-2));
}

.compact-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.compact-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, .78);
    font-size: 1.1rem;
}

.loan-form-shell,
.admin-toolbar,
.table-shell,
.result-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.loan-form-shell {
    max-width: 1040px;
    margin: 0 auto;
    padding: 34px;
}

.form-label {
    font-weight: 800;
    color: var(--navy);
}

.form-control,
.form-select {
    min-height: 52px;
    border-radius: 8px;
    border-color: #cbd7e3;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 .2rem rgba(0, 168, 107, .16);
}

.result-card {
    max-width: 760px;
    padding: 42px;
    text-align: center;
}

.result-icon {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    margin: 0 auto 22px;
    font-size: 2.4rem;
}

.result-icon.approved {
    color: var(--green-dark);
    background: var(--mint);
}

.result-icon.review {
    color: #9a6a00;
    background: #fff4d8;
}

.result-icon.danger {
    color: #b42318;
    background: #ffe7e5;
}

.summary-box {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    padding: 18px;
    border-radius: 8px;
    background: var(--soft);
    text-align: left;
}

.admin-toolbar {
    padding: 24px;
}

.stat-card {
    padding: 24px;
    border-radius: 8px;
    color: var(--white);
    background: var(--navy);
    box-shadow: var(--shadow);
}

.stat-card.success {
    background: var(--green-dark);
}

.stat-card.warning {
    background: #9a6a00;
}

.stat-card span {
    display: block;
    color: rgba(255, 255, 255, .74);
    font-weight: 700;
}

.stat-card strong {
    font-size: 2.4rem;
}

.table-shell {
    overflow: hidden;
}

.table thead th {
    white-space: nowrap;
    color: var(--white);
    background: var(--navy);
    border: 0;
    font-size: .84rem;
    text-transform: uppercase;
}

.table td {
    white-space: nowrap;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 800;
}

.status-pill.approved {
    color: var(--green-dark);
    background: var(--mint);
}

.status-pill.review {
    color: #9a6a00;
    background: #fff4d8;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s ease, transform .5s ease;
}

@media (max-width: 991px) {
    .section-pad {
        padding: 72px 0;
    }

    .info-panel,
    .location-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 2.55rem;
    }

    .hero-copy {
        font-size: 1.04rem;
    }

    .loan-form-shell,
    .result-card,
    .location-box {
        padding: 22px;
    }

    .badge-grid span {
        width: 100%;
    }
}
