/* ==========================================================
   Amanah Insurance Agency - Global / Topbar / Nav / Hero
   ========================================================== */

:root {
    --navy: #011350;
    --navy-dark: #0b1938;
    --gold: #d29a3d;
    --gold-light: #e0ac52;
    --text-muted: #57565B;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #2c2c2c;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
}

a {
    text-decoration: none;
    color: #333;
}

/* Site-wide container width override (90% instead of Bootstrap's stepped max-widths) */
.container:not(.px-0) {
    max-width: 90%;
}

/* ==================== TOP BAR ==================== */
.topbar {
    /*background-color: var(--navy);>/
    /*color: #fff;*/
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: #E3DEDE 1px solid;
}

.topbar-left {
    margin: 0;
    padding: 0;
}

.topbar-left .list-inline-item {
    margin-right: 28px;
}

.topbar-left .list-inline-item:last-child {
    margin-right: 0;
}

.topbar-left i {
    color: var(--gold-light);
    margin-right: 6px;
}

.topbar-right {
    font-size: 0.85rem;
    white-space: nowrap;
}

/* ==================== NAVIGATION ==================== */
.main-nav {
    padding: 6px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.main-nav .navbar-brand img {
    height: 85px;
}

.main-nav .nav-link {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 14px;
    padding: 8px 0 !important;
    position: relative;
}

.main-nav .nav-link.active,
.main-nav .nav-link:hover {
    color: var(--gold);
}

.main-nav .nav-link.active {
    box-shadow: inset 0 -2px 0 0 var(--gold);
}

.btn-quote {
    background-color: var(--gold);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 12px 26px;
    border-radius: 2px;
    margin-left: 20px;
    letter-spacing: 0.5px;
}

.btn-quote:hover {
    background-color: var(--navy);
    color: #fff;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    padding: 70px 0 50px;
    overflow: hidden;
}

.hero-title {
    font-weight: 900;
    font-size: 3rem;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 22px;
}

.hero-title span {
    color: var(--gold);
}

.hero-text {
    color: var(--text-muted);
    font-size: 1.02rem;
    max-width: 480px;
    margin-bottom: 30px;
}

.hero-buttons {
    margin-bottom: 50px;
}

.btn-primary-dark {
    background-color: var(--navy);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 14px 28px;
    border-radius: 2px;
    letter-spacing: 0.5px;
    margin-right: 14px;
}

.btn-primary-dark:hover {
    background-color: var(--gold);
    color: #fff;
}

.btn-primary-dark i {
    margin-left: 6px;
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 14px 28px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #fff;
}

.hero-features .col-4 {
    padding-right: 10px;
}

.hero-features i {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 10px;
    display: inline-block;
}

.hero-features h6 {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.hero-features p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 0;
}

/* ---------- Hero Image + Call Badge ---------- */
.hero-image-wrap {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: 6px;
}

.call-badge {
    position: absolute;
    right: 0;
    bottom: -30px;
    left: 8%;
    background-color: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 30px;
    clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
}

.call-badge::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 0;
    bottom: 0;
    width: 26px;
    background-color: var(--gold);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.call-badge i {
    font-size: 1.8rem;
    color: var(--gold-light);
    flex-shrink: 0;
}

.call-badge span {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #fff;
}

.call-badge strong {
    font-size: 1.15rem;
    font-weight: 700;
}

/* ==================== COVERAGES SECTION ==================== */
.coverages-section {
    background-color: #f5f7fb;
    padding: 90px 0 100px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.section-tag::before,
.section-tag::after {
    content: "";
    width: 36px;
    height: 2px;
    background-color: var(--gold);
    display: inline-block;
}

.section-heading h2 {
    color: var(--navy);
    font-weight: 900;
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.section-heading p {
    color: #57565B;
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 500;
}

.coverage-card {
    background-color: #fff;
    border: 1px solid #C58A2B;
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.coverage-card:hover {
    box-shadow: 0 18px 40px rgba(16, 33, 79, 0.12);
    transform: translateY(-4px);
}

.coverage-img-wrap {
    position: relative;
    line-height: 0;
}

.coverage-img-wrap img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.coverage-icon {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    width: 76px;
    height: 76px;
    background-color: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 4px solid #fff;
}

.coverage-body {
    padding: 52px 30px 34px;
    text-align: center;
}

@media (min-width: 768px) {
    .coverage-img-wrap img {
        height: 240px;
    }
    .coverage-body {
        padding: 60px 30px 44px;
    }
}

.coverage-body h3 {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.coverage-body p {
    color: #57565B;
    font-size: 1rem;
    margin-bottom: 22px;
    font-weight: 500;
}

.learn-more {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learn-more i {
    transition: transform 0.2s ease;
}

.learn-more:hover {
    color: var(--gold);
}

.learn-more:hover i {
    transform: translateX(4px);
}

/* ---------- Coverage Slider ---------- */
.coverage-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.coverage-slider-viewport {
    overflow: hidden;
    flex: 1 1 auto;
    min-width: 0;
}

.coverage-slider-track {
    display: flex;
    transition: transform 0.45s ease;
}

.coverage-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 6px 12px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .coverage-slide {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

.slider-arrow {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #d9dce6;
    background-color: #fff;
    color: var(--navy);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.slider-arrow:hover {
    background-color: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.slider-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .coverage-slider {
        gap: 6px;
    }
    .coverage-slide {
        padding: 6px 4px;
    }
    .slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
}

/* ==================== WHY CHOOSE US SECTION ==================== */
.why-choose-section {
    position: relative;
    background-color:#001454;
    padding: 70px 0 60px;
}

.why-choose-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    background-color: #fff;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: var(--navy);
}

.why-choose-title {
    color: #fff;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 55px;
}

.why-choose-row {
    text-align: center;
    position: relative;
}

.why-item {
    position: relative;
    padding: 0 15px;
    margin-bottom: 30px;
}

.why-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background-color: rgba(210, 154, 61, 0.4);
}

.why-item:first-child::before {
    display: none;
}

@media (max-width: 991.98px) {
    /* Remove the per-item borders and draw one continuous plus-sign divider instead */
    .why-item::before {
        display: none;
    }

    .why-item:nth-child(3),
    .why-item:nth-child(4) {
        padding-top: 24px;
        margin-top: 6px;
    }

    .why-choose-row::before,
    .why-choose-row::after {
        content: "";
        position: absolute;
        background-color: rgba(210, 154, 61, 0.4);
    }

    /* Vertical stroke of the plus */
    .why-choose-row::before {
        top: 6px;
        bottom: 6px;
        left: 50%;
        width: 1px;
        transform: translateX(-50%);
    }

    /* Horizontal stroke of the plus */
    .why-choose-row::after {
        left: 24px;
        right: 24px;
        top: 50%;
        height: 1px;
        transform: translateY(-50%);
    }
}

.why-item i {
    font-size: 2.2rem;
    color: var(--gold-light);
    margin-bottom: 16px;
    display: inline-block;
}

.why-item h5 {
    color: var(--gold-light);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.why-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* ==================== GET THE RIGHT COVERAGE SECTION ==================== */
.right-coverage-section {
    position: relative;
    background-color: #fdfcf7;
    padding: 70px 0;
    overflow: hidden;
}

.rc-shield-bg {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.rc-shield-bg img {
    height: 300px;
    width: auto;
    display: block;
}

.right-coverage-section > .container {
    position: relative;
    z-index: 1;
}

.rc-title {
    font-weight: 700;
    font-size: 3rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.rc-title span {
    color: var(--gold);
}

.rc-text {
        color: #57565B;
    font-size: 1rem;
    max-width: 563px;
    margin-bottom: 28px;
    font-weight: 500;
}

.right-coverage-section .rc-title,
.right-coverage-section .rc-text {
    padding-left: 80px;
}

.right-coverage-section .btn-primary-dark {
    margin-left: 80px;
}

.rc-image-wrap {
    position: relative;
    margin-top: 40px;
}

.rc-image-wrap .rc-image {
    width: 100%;
    display: block;
    border-radius: 4px;
}

@media (min-width: 992px) {
    .rc-image-wrap {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        right: 0;
        margin-top: 0;
        z-index: 1;
    }

    .rc-image-wrap .rc-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }
}

/* ==================== FOOTER ==================== */
/*.site-footer {
    background-color: #f5f5f3;
}

.footer-top {
    padding: 60px 0 50px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    flex: 0 0 42%;
    max-width: 42%;
}

.footer-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-about {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--navy);
    border-radius: 50%;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    background-color: var(--navy);
    color: #fff;
}

.footer-heading {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 14px;
    padding-bottom: 12px;
    position: relative;
    display: inline-block;
}

.footer-heading.footer-heading-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--navy);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    background-color: var(--navy);
    padding: 20px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    margin-left: 26px;
}

.footer-bottom-links a:hover {
    color: var(--gold-light);
}
*/
/* ==================== RESPONSIVE ==================== */
@media (max-width: 991.98px) {
    .main-nav .navbar-nav {
        margin: 16px 0;
    }
    .main-nav .nav-link {
        margin: 6px 0;
    }
    .btn-quote {
        margin-left: 0;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .call-badge {
        position: static;
        left: auto;
        margin-top: 20px;
        clip-path: none;
        border-radius: 6px;
    }
    .call-badge::before {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .topbar-left .list-inline-item {
        display: block;
        margin: 2px 0;
    }
    .topbar-right {
        display: none;
    }
    .hero-features .col-4 {
        margin-bottom: 16px;
    }
    .footer-bottom .container {
        justify-content: center !important;
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }
    .footer-bottom-links a:first-child {
        margin-left: 0;
    }
}

/* ==========================================================
   INNER PAGES
   ========================================================== */

/* ---------- Page Banner ---------- */
.page-banner {
    position: relative;
    background-color: var(--navy);
    background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 70px 0;
    overflow: hidden;
    text-align: center;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 15% 30%, rgba(210, 154, 61, 0.12) 0%, transparent 45%),
                       radial-gradient(circle at 85% 75%, rgba(210, 154, 61, 0.1) 0%, transparent 45%);
    pointer-events: none;
}

.page-banner-title {
    position: relative;
    color: #fff;
    font-weight: 900;
    font-size: 2.6rem;
    margin-bottom: 14px;
}

.page-banner-breadcrumb {
    position: relative;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.page-banner-breadcrumb li {
    color: rgba(255, 255, 255, 0.6);
}

.page-banner-breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--gold-light);
}

.page-banner-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.page-banner-breadcrumb a:hover {
    color: var(--gold-light);
}

.page-banner-breadcrumb li.active {
    color: var(--gold-light);
}

/* ---------- Generic inner-page section spacing ---------- */
.inner-section {
    padding: 90px 0;
}

.inner-section-alt {
    background-color: #f5f7fb;
}

/* ---------- Value / mission cards (About page) ---------- */
.value-card {
    background-color: #fff;
    border: 1px solid #e7e9f0;
    border-radius: 8px;
    padding: 36px 28px;
    height: 100%;
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.value-card:hover {
    box-shadow: 0 18px 40px rgba(16, 33, 79, 0.12);
    transform: translateY(-4px);
}

.value-card .value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background-color: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.value-card h3 {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ---------- Stats row ---------- */
.stats-row {
    background-color: var(--navy);
    padding: 50px 0;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-item strong {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 2.4rem;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- About image ---------- */
.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    border-radius: 8px;
}

.about-badge {
    position: absolute;
    left: -20px;
    bottom: -20px;
    background-color: #fff;
    border: 1px solid #e7e9f0;
    border-radius: 8px;
    padding: 20px 26px;
    box-shadow: 0 18px 40px rgba(16, 33, 79, 0.14);
    display: flex;
    align-items: center;
    gap: 14px;
}

.about-badge i {
    font-size: 2.2rem;
    color: var(--gold);
}

.about-badge strong {
    display: block;
    color: var(--navy);
    font-size: 1.3rem;
    line-height: 1;
}

.about-badge span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

@media (max-width: 767.98px) {
    .about-badge {
        left: 12px;
        bottom: -16px;
        padding: 14px 18px;
    }
}

/* ---------- Service detail cards (Services page) ---------- */
.service-detail-card {
    background-color: #fff;
    border: 1px solid #e7e9f0;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-detail-card:hover {
    box-shadow: 0 18px 40px rgba(16, 33, 79, 0.12);
    transform: translateY(-4px);
}

.service-detail-card .coverage-img-wrap img {
    height: 190px;
}

.service-detail-card .coverage-body {
    text-align: left;
    padding: 46px 26px 30px;
}

.service-detail-card .coverage-body ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.service-detail-card .coverage-body ul li {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 8px;
    padding-left: 22px;
    position: relative;
    font-weight: 500;
}

.service-detail-card .coverage-body ul li::before {
    content: "\F633";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-size: 0.85rem;
}

/* ---------- Forms (Quote / Contact pages) ---------- */
.form-card {
    background-color: #fff;
    border: 1px solid #e7e9f0;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 18px 50px rgba(16, 33, 79, 0.08);
}

.form-card h2 {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-card > p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 28px;
}

.form-label {
    color: var(--navy);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 6px;
}

.form-control,
.form-select {
    border: 1px solid #dde1ec;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(210, 154, 61, 0.15);
}

.btn-submit {
    background-color: var(--navy);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 14px 34px;
    border-radius: 2px;
    letter-spacing: 0.5px;
    border: none;
}

.btn-submit:hover {
    background-color: var(--gold);
    color: #fff;
}

/* ---------- Contact info cards ---------- */
.contact-info-card {
    background-color: #fff;
    border: 1px solid #e7e9f0;
    border-radius: 8px;
    padding: 28px 24px;
    height: 100%;
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-info-card:hover {
    box-shadow: 0 18px 40px rgba(16, 33, 79, 0.12);
    transform: translateY(-4px);
}

.contact-info-card i {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background-color: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.contact-info-card h5 {
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-info-card a {
    color: inherit;
    text-decoration: none;
}
.contact-info-card a:hover {
    color: var(--amanah-gold, #d29a3d);
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* ---------- Horizontal variant (icon + text side by side) ---------- */
.contact-info-card.horizontal {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
}

.contact-info-card.horizontal i {
    margin: 0;
    flex-shrink: 0;
}

.contact-info-card.horizontal h5,
.contact-info-card.horizontal p {
    text-align: left;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e7e9f0;
    line-height: 0;
}

.contact-map iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

@media (max-width: 767.98px) {
    .page-banner-title {
        font-size: 1.9rem;
    }
    .inner-section {
        padding: 60px 0;
    }
}






/* =========================
   AMANAH FOOTER
========================= */

.amanah-footer {
    background: #f5f7fb;
    padding: 55px 0 50px;
    border-top: 1px solid #eeeeee;
}


/* =========================
   BRAND AREA
========================= */

.footer-brand-area {
    /* display: flex; */
    align-items: flex-start;
    gap: 30px;
}

.footer-logo {
    flex: 0 0 135px;
}

.footer-logo img {
    width: 172px;
    height: auto;
    display: block;
}

.footer-about {
    max-width: 230px;
}

.footer-about p {
    color: #444;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
}


/* =========================
   SOCIAL ICONS
========================= */

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-socials a {
    width: 24px;
    height: 24px;

    border: 1px solid var(--navy);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color:var(--navy);
    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    transition: all .3s ease;
}

.footer-socials a:hover {
    background: var(--navy);
    color: #ffffff;
}


/* =========================
   FOOTER COLUMNS
========================= */

.footer-column h5 {
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    font-weight: 600;
}

.footer-title-line {
    width: 65px;
    height: 2px;
    background: #C58A2B;
    margin: 8px 0 14px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
        color: #57565B;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    transition: all .25s ease;
}

.footer-column ul li a:hover {
    color: #002E5B;
    padding-left: 3px;
}


/* =========================
   CONTACT
========================= */

.footer-contact {
    padding-left: 0;
}

@media (min-width: 1300px) {
    .footer-contact {
        padding-left: 140px;
    }
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 11px;
    min-width: 0;
}

.contact-icon {
    width: 18px;
    min-width: 18px;

    color: #002E5B;

    font-size: 15px;
    line-height: 1.4;
    text-align: center;
}

.contact-item p,
.contact-item a {
    color: #333;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
    text-decoration: none;
    overflow-wrap: anywhere;
    min-width: 0;
}

.contact-item a:hover {
    color: #002E5B;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .footer-brand-area {
        gap: 25px;
    }

    .footer-contact {
        padding-left: 0;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .amanah-footer {
        padding: 45px 0 40px;
    }

    .footer-brand-area {
        gap: 20px;
    }

    .footer-logo {
        flex: 0 0 120px;
    }

    .footer-logo img {
        width: 120px;
    }

    .footer-about {
        max-width: 100%;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 575px) {

    .footer-brand-area {
        display: block;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-logo img {
        width: 135px;
    }

    .footer-column {
        margin-top: 10px;
    }

    .footer-about {
        max-width: 100%;
    }

    .footer-contact {
        margin-top: 15px;
    }

}


/* =========================
   FOOTER BOTTOM
========================= */

.amanah-footer-bottom {
    background:var(--navy);
    padding: 18px 0;
}

.amanah-footer-bottom .container {
    /* padding-left: 60px;
    padding-right: 60px; */
}

.amanah-footer-bottom p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 0;
}

.amanah-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-left: 26px;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

.amanah-footer-bottom-links a:hover {
    color: #C58A2B;
}

@media (max-width: 575px) {
    .amanah-footer-bottom .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .amanah-footer-bottom-links a:first-child {
        margin-left: 0;
    }
}


.btn-quote {

    color: #ffffff;
    border: 2px solid var(--amanah-gold);
}

.btn-quote:hover {
    background: #002E5B;
    color: #fff;
}



/* =========================
   BOP SECTION
========================= */

.bop-section {
    background: #f6f9fc;
    overflow: hidden;
}

/* Label */

.bop-label {
    display: inline-block;
    color: #C58A2B;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Heading */

.bop-title {
    color: var(--navy);
       font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    line-height: 1.08;
    font-weight: 700;
}

.bop-title span {
    display: block;
    color: #C58A2B;
}

/* Description */

.bop-text {
    color: #57565B;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 600px;
    margin-top: 20px;
    font-weight: 500;
}


/* Coverage Cards */

.bop-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5edf4;
    border-radius: 10px;
    transition: all .3s ease;
}

.bop-card:hover {
    transform: translateY(-4px);
    border-color: #C58A2B;
    box-shadow: 0 12px 30px rgba(0, 46, 91, .08);
}

.bop-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #10214f;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
}

.bop-card h5 {
   color: var(--navy);
   font-size: 1.3rem;
    font-weight: 700;
    margin: 2px 0 7px;
}

.bop-card p {
    color: #57565B;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}


/* Button */

.bop-btn {
    background: var(--navy);
    color: #ffffff;
    border: 1px solid var(--navy);
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 5px;
    transition: all .3s ease;
}

.bop-btn span {
    font-size: 20px;
    margin-left: 8px;
}

.bop-btn:hover {
    background: #C58A2B;
    border-color: #C58A2B;
    color: #fff;
}


/* =========================
   RIGHT VISUAL
========================= */

.bop-visual {
    position: relative;
    padding: 25px 20px 45px 45px;
}

.bop-image-wrap {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 46, 91, .18);
}

.bop-image-wrap img {
    width: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
}


/* Floating Box */

.bop-floating-box {
    position: absolute;
    left: 0;
    bottom: 10px;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 14px;

    width: 310px;
    padding: 18px 20px;

    background: var(--navy);
    color: #fff;

    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 46, 91, .25);
}

.bop-floating-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #C58A2B;
    color: #fff;
    border-radius: 50%;

    font-size: 22px;
}

.bop-floating-box small {
    display: block;
    color: #C58A2B;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.bop-floating-box strong {
    display: block;
    font-size: 14px;
    line-height: 1.4;
}


/* Decorative Shape */

.bop-shape {
    position: absolute;
    right: -15px;
    top: 0;
    width: 130px;
    height: 130px;
    border: 12px solid #C58A2B;
    border-radius: 50%;
    opacity: .35;
    z-index: 1;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .bop-visual {
        padding: 20px 15px 60px;
    }

    .bop-image-wrap img {
        min-height: 450px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 575px) {

    .bop-title {
        font-size: 39px;
    }

    .bop-text {
        font-size: 15px;
    }

    .bop-visual {
        padding: 10px 0 70px;
    }

    .bop-image-wrap {
        border-radius: 12px;
    }

    .bop-image-wrap img {
        min-height: 380px;
    }

    .bop-floating-box {
        width: calc(100% - 30px);
        left: 15px;
        bottom: 15px;
    }

    .bop-shape {
        display: none;
    }

}


/* =========================
   MOBILE - GET THE RIGHT COVERAGE SECTION
========================= */

@media (max-width: 767.98px) {

    .right-coverage-section .rc-title,
    .right-coverage-section .rc-text {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }

    .right-coverage-section .rc-title {
        font-size: 1.6rem;
    }

    .right-coverage-section .rc-text {
        font-size: 0.9rem;
        margin-left: auto;
        margin-right: auto;
    }

    .right-coverage-section .btn-primary-dark {
        display: table;
        margin: 0 auto;
    }

}


/* =========================
   AMANAH HERO
========================= */

:root {
    --amanah-blue: #002E5B;
    --amanah-light-blue: #2BACE7;
    --amanah-gold: #C88A2B;
    --amanah-light: #F7F9FC;
}

.amanah-hero {
    background: #fff;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
}


/* =========================
   LEFT CONTENT
========================= */

.amanah-hero-content {
    min-height: 650px;
    padding: 70px 40px 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Align left edge of hero text with the site's .container inset (container is 90% wide, so each side gets 5vw) */
@media (min-width: 992px) {
    .amanah-hero-content {
        padding-left: calc(5vw + 12px);
    }
}


/* Heading */

.hero-heading h1 {
    margin: 0;
    color: var(--navy);
    font-family: 'Merriweather', serif;
    font-size: clamp(48px, 5vw, 95px);
    line-height: .98;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.hero-heading h1 span {
    display: block;
    color: var(--amanah-gold);
}


/* Description */

.hero-description {
    max-width: 780px;
    margin: 25px 0 27px;
    color: #57565B;
    font-size: 20px;
    line-height: 1.8;
    font-weight: 600;
}


/* =========================
   BUTTONS
========================= */

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 80px;
    margin: 0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    transition: .3s ease;
}


/* Services */

.btn-services {
    background: var(--navy);
    color: #fff;
    border: 2px solid var(--navy);
}

.btn-services:hover {
    background: #001f3d;
    border-color: #001f3d;
    color: #fff;
}

.btn-services span {
    margin-left: 12px;
    font-size: 18px;
}


/* Quote */

.hero-buttons .btn-quote {
    background: #fff;
    color: var(--amanah-gold);
    border: 2px solid var(--amanah-gold);
}

.hero-buttons .btn-quote:hover {
    background: var(--amanah-gold);
    color: #fff;
}


/* =========================
   FEATURES
========================= */

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 45px;
    max-width: 800px;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    flex: 0 0 28px;
    color: var(--amanah-gold);
    font-size: 26px;
    line-height: 1;
}

.hero-feature h5 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
}

.hero-feature p {
    margin: 0;
    color: #57565B;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 500;
}


/* =========================
   RIGHT IMAGE
========================= */

.amanah-hero-image {
    height: 650px;
    position: relative;
    overflow: hidden;
}

.amanah-hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        #fff 0%,
        rgba(255,255,255,.75) 5%,
        rgba(255,255,255,0) 25%
    );
}

.amanah-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* =========================
   PHONE BOX
========================= */

.hero-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 5;

    width: 390px;
    min-height: 95px;

    color: #fff;

    display: flex;
    align-items: center;
    gap: 18px;

    padding: 18px 35px;

    clip-path: polygon(
        12% 0,
        100% 0,
        100% 100%,
        0 100%
    );
}

.phone-icon {
    margin-left: 12px;
    font-size: 35px;
    color: #F0A62C;
}

.hero-phone span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.hero-phone strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 23px;
    line-height: 1.1;
    letter-spacing: .5px;
}


/* =========================
   HERO RESPONSIVE
========================= */

@media (max-width: 1199px) {

    .amanah-hero-content {
        padding-right: 35px;
    }

    .hero-heading h1 {
        font-size: 55px;
    }

    .hero-features {
        gap: 15px;
    }

    .hero-phone {
        width: 330px;
    }
}


@media (max-width: 991px) {

    .amanah-hero-content {
        min-height: auto;
        padding: 65px 30px 50px;
    }

    .hero-heading h1 {
        font-size: 60px;
    }

    .hero-description {
        max-width: 650px;
    }

    .hero-features {
        max-width: 700px;
        margin-top: 40px;
    }

    .amanah-hero-image {
        height: 550px;
    }

    .amanah-hero-image::before {
        background: linear-gradient(
            180deg,
            rgba(255,255,255,0) 70%,
            rgba(255,255,255,.1) 100%
        );
    }

    .hero-phone {
        width: 360px;
    }
}


@media (max-width: 767px) {

    .amanah-hero-content {
        padding: 55px 22px 40px;
    }

    .hero-heading h1 {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.7;
        margin-top: 22px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-buttons .btn {
        padding: 12px 18px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 35px;
    }

    .hero-feature {
        max-width: 350px;
    }

    .amanah-hero-image {
        height: 480px;
    }

    .hero-phone {
        width: 330px;
        min-height: 85px;
        padding: 15px 22px;
    }

    .phone-icon {
        font-size: 30px;
    }

    .hero-phone strong {
        font-size: 20px;
    }
}


@media (max-width: 480px) {

    .hero-heading h1 {
        font-size: 42px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 170px;
    }

    .amanah-hero-image {
        height: 400px;
    }

    .hero-phone {
        width: 100%;
        clip-path: none;
        justify-content: center;
    }

    .phone-icon {
        margin-left: 0;
    }

    .hero-phone span {
        font-size: 12px;
    }

    .hero-phone strong {
        font-size: 19px;
    }
}


/* =========================
   OUR PARTNERS SECTION
========================= */

.partners-section {
    background-color: #fff;
    padding: 70px 0 80px;
    overflow: hidden;
}

.partners-slider {
    position: relative;
    margin-top: 30px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 34px;
    animation: partners-scroll 32s linear infinite;
}

.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 80px;
    width: 182px;
    transition: transform 0.25s ease;
}

.partner-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.partner-logo:hover {
    transform: translateY(-2px);
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .partners-section {
        padding: 50px 0 60px;
    }

    .partners-track {
        gap: 40px;
        animation-duration: 22s;
    }

    .partner-logo {
        height: 52px;
        width: 120px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-track {
        animation: none;
    }
}
