/*
===============================================================================
Best Islami Life Insurance PLC
Gorgeous Homepage Polish
Version: 1.0.0
===============================================================================
Load this stylesheet AFTER bestlife-modern.css and bestlife-hero-slider.css.
===============================================================================
*/

:root {
    --gh-green-950: #003d31;
    --gh-green-900: #004c3d;
    --gh-green-800: #006149;
    --gh-green-700: #08775a;
    --gh-green-600: #16906c;
    --gh-gold: #f2cd70;
    --gh-gold-light: #fae5a5;
    --gh-ink: #14231e;
    --gh-muted: #68776f;
    --gh-soft: #f4f9f6;
    --gh-white: #ffffff;
    --gh-border: #d9e7e0;
    --gh-shadow: 0 22px 60px rgba(0, 76, 61, .12);
    --gh-shadow-soft: 0 15px 40px rgba(0, 76, 61, .08);
}

html {
    overflow-x: hidden;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    color: var(--gh-ink);
    background: var(--gh-white);
    font-size: 16px !important;
    zoom: 1 !important;
    transform: none !important;
}

.container {
    width: min(100% - 40px, 1320px) !important;
    max-width: 1320px !important;
}

/* Header */
.topbar {
    min-height: 42px;
    background: linear-gradient(90deg, var(--gh-green-950), var(--gh-green-900)) !important;
}

.topbar .container {
    min-height: 42px;
}

.navbar {
    min-height: 88px;
    padding: 10px 0 !important;
    background: rgba(255,255,255,.98) !important;
    border-bottom: 1px solid rgba(0,76,61,.08);
    box-shadow: 0 8px 28px rgba(0,76,61,.06) !important;
}

.brand-logo {
    width: 58px !important;
    height: 58px !important;
    object-fit: contain;
}

.brand-text strong {
    color: var(--gh-green-950) !important;
    font-size: 1.06rem !important;
    font-weight: 800;
}

.brand-text small {
    margin-top: 4px;
    color: var(--gh-muted) !important;
}

.navbar .nav-link {
    padding: 11px 15px !important;
    color: var(--gh-ink) !important;
    font-weight: 700;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--gh-green-700) !important;
}

.btn-brand {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 20px !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--gh-green-800), var(--gh-green-600)) !important;
    border: 0 !important;
    border-radius: 11px !important;
    box-shadow: 0 12px 25px rgba(8,119,90,.2);
}

/* Hero */
.bli-hero-slider {
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.12);
}

.bli-hero-slider .carousel,
.bli-hero-slider .carousel-inner,
.bli-hero-slider .carousel-item,
.bli-hero-slide .container {
    min-height: 720px !important;
}

.bli-hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(0, 49, 38, .96) 0%,
            rgba(0, 75, 56, .84) 38%,
            rgba(0, 48, 36, .25) 72%,
            rgba(0, 30, 23, .12) 100%
        ) !important;
}

.bli-hero-content {
    width: min(100%, 720px) !important;
    padding-block: 110px 130px !important;
}

.bli-hero-kicker {
    color: var(--gh-gold) !important;
    font-size: .82rem !important;
}

.bli-hero-content h1 {
    max-width: 720px;
    color: #fff !important;
    font-size: clamp(4rem, 6vw, 6.8rem) !important;
    line-height: .96 !important;
    letter-spacing: -.06em !important;
    text-shadow: 0 4px 22px rgba(0,0,0,.16);
}

.bli-hero-content h1 span {
    color: var(--gh-gold) !important;
}

.bli-hero-content p {
    max-width: 650px;
    color: rgba(255,255,255,.9) !important;
    font-size: 1.15rem !important;
    line-height: 1.72 !important;
}

.bli-hero-actions {
    margin-top: 34px !important;
}

.bli-hero-actions .btn {
    min-height: 56px !important;
    min-width: 190px !important;
    padding-inline: 24px !important;
    border-radius: 11px !important;
    font-size: 1rem !important;
    font-weight: 700;
}

.bli-hero-actions .btn-brand {
    background: linear-gradient(135deg, var(--gh-green-700), var(--gh-green-600)) !important;
}

.bli-carousel-arrow {
    width: 48px !important;
    height: 48px !important;
}

/* Quick Services */
.quick-services {
    position: relative;
    z-index: 10;
    margin-top: -44px !important;
}

.quick-grid {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--gh-border);
    border-radius: 22px !important;
    box-shadow: var(--gh-shadow);
}

.quick-card {
    min-height: 132px !important;
    padding: 24px 14px !important;
    color: var(--gh-green-950) !important;
    background: #fff;
    border-color: var(--gh-border) !important;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.quick-card:hover {
    z-index: 2;
    color: var(--gh-green-950) !important;
    background: linear-gradient(180deg, #ffffff, #edf7f2);
    box-shadow: inset 0 -4px 0 var(--gh-gold);
    transform: translateY(-4px);
}

.quick-card i {
    margin-bottom: 10px;
    color: var(--gh-green-700) !important;
    font-size: 1.45rem;
}

.quick-card span {
    font-weight: 700;
}

/* Shared sections */
.section-padding {
    padding: 90px 0 !important;
}

.section-kicker {
    color: var(--gh-green-700) !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
}

.section-heading {
    max-width: 800px;
    color: var(--gh-green-950) !important;
    font-size: clamp(2.7rem, 4vw, 4.5rem) !important;
    line-height: 1.03 !important;
    letter-spacing: -.045em !important;
}

.section-copy {
    max-width: 760px;
    color: var(--gh-muted) !important;
    font-size: 1.08rem;
    line-height: 1.7;
}

.text-link {
    color: var(--gh-green-700) !important;
    font-weight: 700;
}

/* Plan cards */
.plan-card {
    height: 100%;
    min-height: 330px;
    padding: 30px 26px !important;
    background: #fff;
    border: 1px solid var(--gh-border) !important;
    border-radius: 20px !important;
    box-shadow: var(--gh-shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.plan-card:hover {
    border-color: rgba(8,119,90,.28) !important;
    box-shadow: var(--gh-shadow);
    transform: translateY(-8px);
}

.plan-icon {
    display: grid;
    width: 58px !important;
    height: 58px !important;
    color: var(--gh-green-700) !important;
    background: linear-gradient(135deg, #e9f5ef, #f9fcfa) !important;
    border: 1px solid var(--gh-border);
    border-radius: 16px !important;
    place-items: center;
    font-size: 1.35rem;
}

.plan-card h3 {
    margin-top: 24px;
    color: var(--gh-green-950);
    font-size: 1.35rem;
    font-weight: 800;
}

.plan-card p {
    color: var(--gh-muted);
    line-height: 1.65;
}

.plan-card a {
    color: var(--gh-green-700) !important;
    font-weight: 800;
}

/* Claims widget outer polish */
#bliPaidClaimsSection,
.paid-claims-section,
.today-claims-green,
.today-claims-simple {
    position: relative;
    margin: 0 !important;
    padding: 90px 0 !important;
    background:
        radial-gradient(circle at 90% 10%, rgba(8,119,90,.06), transparent 28%),
        linear-gradient(180deg, #f6fbf8, #edf7f2) !important;
    border-top: 12px solid var(--gh-green-800);
    border-bottom: 12px solid var(--gh-green-800);
}

#bliPaidClaimsSection::before {
    content: "";
    position: absolute;
    inset: 20px;
    pointer-events: none;
    border: 1px solid rgba(8,119,90,.08);
    border-radius: 24px;
}

#bliPaidClaimsSection .bli-paid-claims__header {
    position: relative;
    z-index: 2;
    margin-bottom: 38px !important;
}

#bliPaidClaimsSection h2 {
    color: var(--gh-green-950) !important;
    font-size: clamp(3rem, 4.8vw, 5rem) !important;
    line-height: 1 !important;
    letter-spacing: -.05em !important;
}

#bliPaidClaimsSection .bli-paid-claims__header p {
    font-size: 1.08rem !important;
}

#bliPaidClaimsSection .bli-paid-claims__grid {
    position: relative;
    z-index: 2;
    gap: 18px !important;
}

#bliPaidClaimsSection .bli-paid-claim-card {
    min-height: 285px;
    padding: 26px 22px !important;
    border-radius: 20px !important;
    box-shadow: var(--gh-shadow-soft) !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

#bliPaidClaimsSection .bli-paid-claim-card:hover {
    box-shadow: var(--gh-shadow) !important;
    transform: translateY(-7px);
}

#bliPaidClaimsSection .bli-paid-claim-card__icon {
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, var(--gh-green-800), var(--gh-green-600)) !important;
    border-radius: 14px !important;
}

#bliPaidClaimsSection .bli-paid-claim-card__title h3 {
    font-size: 1.02rem !important;
}

#bliPaidClaimsSection .bli-paid-claim-card__metric {
    min-height: 58px !important;
}

#bliPaidClaimsSection .bli-paid-claim-card__metric strong {
    color: var(--gh-green-950) !important;
    font-size: 1.08rem !important;
}

#bliPaidClaimsSection .bli-paid-claims__date {
    box-shadow: var(--gh-shadow-soft);
}

#bliPaidClaimsSection .bli-paid-claims__totals {
    position: relative;
    z-index: 2;
    gap: 18px !important;
    margin-top: 24px !important;
}

#bliPaidClaimsSection .bli-paid-claims__totals > div {
    padding: 30px !important;
    background:
        radial-gradient(circle at 90% 20%, rgba(255,255,255,.12), transparent 30%),
        linear-gradient(135deg, var(--gh-green-950), var(--gh-green-700)) !important;
    border-radius: 20px !important;
    box-shadow: var(--gh-shadow);
}

#bliPaidClaimsSection .bli-paid-claims__totals strong {
    color: var(--gh-gold) !important;
    font-size: 2rem !important;
}

/* Statistics */
.stats-section {
    padding: 72px 0 !important;
    background:
        radial-gradient(circle at 85% 15%, rgba(255,255,255,.08), transparent 28%),
        linear-gradient(135deg, var(--gh-green-950), var(--gh-green-800)) !important;
}

.stat-card {
    padding: 20px 10px;
}

.stat-card strong {
    color: var(--gh-gold) !important;
    font-size: clamp(3rem, 4vw, 4.5rem) !important;
    line-height: 1;
}

.stat-card span {
    margin-top: 12px;
    color: rgba(255,255,255,.88) !important;
    font-size: 1rem;
}

/* Welcome, support, CTA */
.soft-section {
    background: linear-gradient(180deg, #f8fcfa, #eef7f2) !important;
}

.values-panel,
.support-card {
    padding: 38px !important;
    border: 1px solid var(--gh-border) !important;
    border-radius: 22px !important;
    box-shadow: var(--gh-shadow-soft);
}

.values-panel h3,
.support-card h3 {
    color: var(--gh-green-950);
    font-size: 2rem;
    font-weight: 800;
}

.claims-banner,
.cta-box {
    overflow: hidden;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 90% 20%, rgba(255,255,255,.12), transparent 30%),
        linear-gradient(135deg, var(--gh-green-950), var(--gh-green-700)) !important;
    box-shadow: var(--gh-shadow);
}

.cta-section {
    padding: 35px 0 90px;
}

/* Back-to-top */
.back-to-top {
    width: 48px !important;
    height: 48px !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--gh-green-700), var(--gh-green-600)) !important;
    border: 0 !important;
    box-shadow: 0 12px 28px rgba(8,119,90,.28);
}

/* Mobile */
@media (max-width: 991.98px) {
    .container {
        width: min(100% - 28px, 960px) !important;
    }

    .navbar {
        min-height: 76px;
    }

    .bli-hero-slider .carousel,
    .bli-hero-slider .carousel-inner,
    .bli-hero-slider .carousel-item,
    .bli-hero-slide .container {
        min-height: 620px !important;
    }

    .bli-hero-content h1 {
        font-size: clamp(3rem, 9vw, 5rem) !important;
    }

    .quick-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    #bliPaidClaimsSection .bli-paid-claims__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
    .container {
        width: min(100% - 24px, 720px) !important;
    }

    .section-padding {
        padding: 65px 0 !important;
    }

    .bli-hero-slider .carousel,
    .bli-hero-slider .carousel-inner,
    .bli-hero-slider .carousel-item,
    .bli-hero-slide .container {
        min-height: 570px !important;
    }

    .bli-hero-content {
        padding: 70px 8px 88px !important;
    }

    .bli-hero-content h1 {
        font-size: clamp(2.5rem, 12vw, 3.8rem) !important;
    }

    .bli-hero-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }

    .quick-services {
        margin-top: -24px !important;
    }

    .quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .quick-card {
        min-height: 108px !important;
        padding: 18px 8px !important;
    }

    .section-heading {
        font-size: clamp(2.25rem, 10vw, 3rem) !important;
    }

    .plan-card {
        min-height: auto;
    }

    #bliPaidClaimsSection {
        padding: 65px 0 !important;
    }

    #bliPaidClaimsSection::before {
        inset: 10px;
    }

    #bliPaidClaimsSection h2 {
        font-size: clamp(2.5rem, 11vw, 3.4rem) !important;
    }

    #bliPaidClaimsSection .bli-paid-claims__grid {
        display: flex !important;
        overflow-x: auto;
        gap: 14px !important;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }

    #bliPaidClaimsSection .bli-paid-claim-card {
        flex: 0 0 260px;
        min-height: 270px;
        scroll-snap-align: start;
    }

    #bliPaidClaimsSection .bli-paid-claims__totals {
        grid-template-columns: 1fr !important;
    }

    .stats-section .col-6 {
        width: 50% !important;
    }

    .stat-card strong {
        font-size: clamp(2.4rem, 12vw, 3.5rem) !important;
    }
}

@media (max-width: 420px) {
    .bli-hero-actions {
        grid-template-columns: 1fr !important;
    }

    .stats-section .col-6 {
        width: 100% !important;
    }
}
