@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --jrps-blue: #0B1E6D;
    --jrps-gold: #F2C300;
    --bg: #F5F7FA;
    --text: #1F2937;
}

html, body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
}

a {
    text-decoration: none;
}

.container-xl {
    max-width: 1200px;
}

/* Top strip */
.top-strip {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-size: 13px;
}

    .top-strip .mini {
        opacity: .85;
    }

.btn-gold {
    background: var(--jrps-gold);
    border: 1px solid rgba(0,0,0,.08);
    color: #111827;
    font-weight: 600;
}

    .btn-gold:hover {
        filter: brightness(0.97);
    }

/* Navbar */
.main-nav {
    background: var(--jrps-blue);
}

    .main-nav .nav-link {
        color: rgba(255,255,255,.88) !important;
        font-weight: 500;
        padding: 12px 14px;
    }

        .main-nav .nav-link:hover {
            color: #fff !important;
        }

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .brand-wrap img {
        height: 44px;
        width: auto;
    }

.brand-title {
    line-height: 1.1;
}

    .brand-title .name {
        color: #fff;
        font-weight: 700;
        font-size: 16px;
    }

    .brand-title .tag {
        color: rgba(255,255,255,.8);
        font-size: 12px;
    }

/* Hero slider */
.hero {
    position: relative;
}

    .hero .carousel-item {
        height: 520px;
        background: #0b1e6d;
    }

    .hero .slide-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: none; /* ✅ remove fade */
    }

    .hero .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(11,30,109,.10), /* ✅ lighter */
        rgba(11,30,109,.08) );
    }

    .hero .hero-content {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
    }

    .hero h1 {
        color: #fff;
        font-weight: 800;
    }

    .hero p {
        color: rgba(255,255,255,.92);
        max-width: 620px;
    }

    .hero .pill {
        display: inline-block;
        background: rgba(242,195,0,.18);
        border: 1px solid rgba(242,195,0,.35);
        color: #fff;
        padding: 6px 12px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 600;
    }

/* Floating action cards */
.action-cards {
    margin-top: -55px;
    position: relative;
    z-index: 5;
}

.action-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 18px;
    padding: 18px 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    transition: transform .15s ease, box-shadow .15s ease;
    height: 100%;
}

    .action-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 34px rgba(0,0,0,.10);
    }

    .action-card .icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(11,30,109,.09);
        color: var(--jrps-blue);
        font-weight: 800;
    }

    .action-card .title {
        font-weight: 700;
        margin-top: 10px;
    }

    .action-card .desc {
        font-size: 13px;
        opacity: .8;
        margin: 0;
    }

/* Section */
.section {
    padding: 64px 0;
    background: #fff;
}

    .section.alt {
        background: var(--bg);
    }

.sec-title {
    font-weight: 800;
    color: #111827;
}

.sec-sub {
    opacity: .78;
}

/* Footer */
.footer {
    background: var(--jrps-blue);
    color: rgba(255,255,255,.92);
}

    .footer a {
        color: rgba(255,255,255,.92);
    }

        .footer a:hover {
            color: #fff;
        }

    .footer .muted {
        color: rgba(255,255,255,.75);
        font-size: 13px;
    }

@media (max-width: 991px) {
    .hero .carousel-item {
        height: 420px;
    }
}

@media (max-width: 575px) {
    .hero .carousel-item {
        height: 360px;
    }
}

.img-wrapper {
    height: 220px;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

    .img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

.action-card .icon i {
    font-size: 38px;
    color: #0d6efd; /* primary color */
}

.action-card {
    padding: 25px 20px;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
}

    .action-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

/* WHY Choose JRPS - Premium Cards */
.why-card {
    position: relative;
    padding: 22px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
}

    .why-card::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: radial-gradient(circle at 20% 10%, rgba(13,110,253,.18), transparent 55%), radial-gradient(circle at 80% 20%, rgba(242,195,0,.16), transparent 60%);
        opacity: .9;
        pointer-events: none;
    }

    .why-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 45px rgba(0,0,0,.10);
        border-color: rgba(13,110,253,.18);
    }

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13,110,253,.14), rgba(242,195,0,.14));
    border: 1px solid rgba(13,110,253,.12);
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
}

    .why-icon i {
        font-size: 26px;
        color: #0d6efd;
    }

.why-title {
    position: relative;
    z-index: 1;
    font-weight: 800;
    font-size: 16px;
    color: #0b1e6d;
    letter-spacing: .2px;
}

.why-desc {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    color: rgba(33,37,41,.78);
    font-size: 14px;
    line-height: 1.45;
}

/* Slight tighter on small screens */
@media (max-width: 576px) {
    .why-card {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .why-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
}
.section.alt {
    background: linear-gradient(180deg, rgba(13,110,253,.03), rgba(242,195,0,.03));
}