/* =========================================================
   BASA AFRICA — HOMEPAGE
   File: assets/css/homepage.css
   ========================================================= */


/* =========================================================
   1. HOMEPAGE GLOBAL SAFETY
   ========================================================= */

.v3-hero,
.v3-marquee,
.v3-about,
.v3-services,
.v3-projects,
.v3-map,
.v3-video,
.v3-testimonials,
.v3-partners,
.v3-news,
.v3-cta {
    width: 100%;
    max-width: 100%;
}

.v3-hero .container,
.v3-about .container,
.v3-services .container,
.v3-projects .container,
.v3-map .container,
.v3-video .container,
.v3-testimonials .container,
.v3-partners .container,
.v3-news .container,
.v3-cta .container {
    position: relative;
}


/* =========================================================
   2. HERO SECTION
   ========================================================= */

.v3-hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 100vh;

    overflow: hidden;

    color: var(--basa-white);

    background-color: var(--basa-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.v3-hero .container {
    z-index: 2;
}

.v3-hero .row {
    position: relative;
    z-index: 2;
}

.v3-hero .col-lg-8 {
    min-width: 0;
}

.v3-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(244, 116, 33, 0.28),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 30%,
            rgba(21, 188, 188, 0.28),
            transparent 25%
        );
}

.v3-badge {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    max-width: 100%;

    margin-bottom: 28px;
    padding: 11px 20px;

    color: var(--basa-white);

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--basa-radius-pill);

    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);

    font-size: 14px;
    font-weight: 900;

    line-height: 1.4;
}

.v3-badge i {
    flex: 0 0 auto;

    color: var(--basa-secondary);
}

.v3-hero h1 {
    width: 100%;
    max-width: 1050px;

    margin-bottom: 28px;

    color: var(--basa-white);

    font-size: clamp(3rem, 6vw, 5.15rem);
    font-weight: 900;
    line-height: 0.98;

    letter-spacing: -2px;
}

.v3-hero p {
    width: 100%;
    max-width: 790px;

    margin-bottom: 36px;

    color: rgba(255, 255, 255, 0.86);

    font-size: 20px;
    line-height: 1.8;
}

.v3-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 18px;
}


/* =========================================================
   3. MARQUEE
   ========================================================= */

.v3-marquee {
    overflow: hidden;

    padding: 25px 0;

    color: var(--basa-white);
    background: var(--basa-dark);
}

.v3-marquee-track {
    display: flex;
    align-items: center;

    gap: 60px;

    width: max-content;
    min-width: max-content;

    white-space: nowrap;

    animation: basaMarquee 28s linear infinite;
    will-change: transform;
}

.v3-marquee-track span {
    position: relative;

    flex: 0 0 auto;

    color: var(--basa-secondary);

    font-size: 14px;
    font-weight: 900;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.v3-marquee-track span::after {
    content: "";

    position: absolute;

    top: 50%;
    right: -32px;

    width: 6px;
    height: 6px;

    background: var(--basa-accent);

    border-radius: 50%;

    transform: translateY(-50%);
}


/* =========================================================
   4. ABOUT SECTION
   ========================================================= */

.v3-about {
    padding: 120px 0;

    background: var(--basa-white);
}

.v3-about .row {
    align-items: center;
}

.v3-about-image {
    position: relative;

    width: 100%;
    max-width: 100%;
}

.v3-about-image img {
    display: block;

    width: 100%;
    height: 620px;

    object-fit: cover;

    border-radius: 34px;

    box-shadow: var(--basa-shadow-lg);
}

.v3-about-card {
    position: absolute;

    right: 20px;
    bottom: 20px;

    z-index: 3;

    width: 220px;
    max-width: calc(100% - 40px);

    padding: 28px;

    color: var(--basa-white);
    background: var(--basa-primary);

    border-radius: 28px;

    box-shadow:
        0 30px 80px rgba(36, 60, 125, 0.35);
}

.v3-about-card h3 {
    margin-bottom: 8px;

    color: var(--basa-secondary);

    font-size: 52px;
    font-weight: 900;
    line-height: 1;
}

.v3-about-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.90);

    font-size: 15px;
    line-height: 1.55;
}

.v3-about h2 {
    margin: 18px 0 24px;

    color: var(--basa-dark);

    font-size: clamp(2.2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
}

.v3-about p {
    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   5. STATISTICS
   ========================================================= */

.v3-stat-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-top: 30px;
}

.v3-stat-box{

    position:relative;

    overflow:hidden;

    background:#fff;

    border-radius:22px;

    padding:32px;

    transition:.4s;

    border:1px solid rgba(0,0,0,.05);

    box-shadow:0 15px 45px rgba(0,0,0,.06);

}

.v3-stat-box::before{

    content:"";

    position:absolute;

    top:0;
    left:-100%;

    width:100%;
    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(21,188,188,.12),
        transparent
    );

    transition:.8s;

}

.v3-stat-box:hover{

    transform:translateY(-12px);

    box-shadow:0 30px 70px rgba(0,0,0,.12);

}

.v3-stat-box:hover::before{

    left:100%;

}

.v3-stat-box i{

    font-size:34px;

    color:var(--basa-secondary);

    margin-bottom:18px;

}

.v3-stat-box h4{

    font-size:44px;

    font-weight:900;

    color:var(--basa-primary);

    margin-bottom:10px;

}

.v3-stat-box span{

    font-weight:700;

    color:#555;

}

/* =========================================================
   6. SERVICES SECTION
   ========================================================= */

.v3-services {
    padding: 120px 0;

    background: var(--basa-soft);
}

.v3-services .row {
    row-gap: 24px;
}


/* =========================================================
   7. PROJECTS SECTION
   ========================================================= */

.v3-projects {
    padding: 120px 0;

    background: var(--basa-white);
}

.v3-projects .row {
    row-gap: 24px;
}


/* =========================================================
   8. MAP SECTION
   ========================================================= */

.v3-map {
    padding: 120px 0;

    color: var(--basa-white);

    background:
        linear-gradient(
            135deg,
            var(--basa-dark),
            var(--basa-primary)
        );
}

.v3-map .v2-title h2,
.v3-map .v2-title p {
    color: var(--basa-white);
}

.v3-map-box {
    position: relative;

    width: 100%;
    min-height: 560px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 36px;

    box-shadow:
        0 45px 110px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   9. VIDEO SECTION
   ========================================================= */

.v3-video {
    padding: 120px 0;

    background: var(--basa-white);
}

.v3-video-box {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    min-height: 520px;

    padding: 55px;

    color: var(--basa-white);

    background:
        linear-gradient(
            rgba(6, 16, 31, 0.35),
            rgba(6, 16, 31, 0.88)
        ),
        url("../images/backgrounds/video-cover.jpg");

    background-size: cover;
    background-position: center;

    border-radius: 38px;

    box-shadow: var(--basa-shadow-lg);
}

.v3-video-box > div {
    min-width: 0;
}

.v3-video-box span {
    color: var(--basa-accent);

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.v3-video-box h2 {
    max-width: 760px;

    margin: 15px 0;

    color: var(--basa-white);

    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 900;
}

.v3-video-box p {
    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.86);
}

.v3-play {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 88px;
    height: 88px;

    color: var(--basa-white);
    background: var(--basa-accent);

    border-radius: 50%;

    font-size: 30px;

    box-shadow:
        0 20px 45px rgba(244, 116, 33, 0.38);
}

.v3-play:hover {
    color: var(--basa-white);
    background: var(--basa-secondary);

    transform: scale(1.05);
}


/* =========================================================
   10. TESTIMONIALS SECTION
   ========================================================= */

.v3-testimonials {
    padding: 120px 0;

    background: var(--basa-white);
}

.v3-testimonials .row {
    row-gap: 24px;
}


/* =========================================================
   11. PARTNERS SECTION
   ========================================================= */

.v3-partners {
    padding: 120px 0;

    background: var(--basa-soft);
}

.v3-partners .row {
    row-gap: 24px;
}


/* =========================================================
   12. NEWS SECTION
   ========================================================= */

.v3-news {
    padding: 120px 0;

    background: var(--basa-white);
}


/* =========================================================
   13. CTA SECTION
   ========================================================= */

.v3-cta {
    position: relative;

    padding: 100px 0;

    overflow: hidden;

    color: var(--basa-white);

    background:
        linear-gradient(
            135deg,
            var(--basa-primary),
            var(--basa-secondary)
        );

    background-size: cover;
    background-position: center;
}

.v3-cta .row {
    align-items: center;
}

.v3-cta span {
    color: rgba(255, 255, 255, 0.80);
}

.v3-cta h2 {
    margin-bottom: 16px;

    color: var(--basa-white);

    font-size: clamp(2.2rem, 4vw, 3.1rem);
    font-weight: 900;
}

.v3-cta p {
    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.90);

    font-size: 18px;
    line-height: 1.8;
}

.v3-cta .btn-light {
    min-width: 190px;

    color: var(--basa-primary);
    background: var(--basa-white);

    border-color: var(--basa-white);

    font-weight: 900;
}

.v3-cta .btn-light:hover {
    color: var(--basa-white);
    background: var(--basa-accent);
    border-color: var(--basa-accent);
}


/* =========================================================
   14. TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .v3-hero {
        min-height: auto;

        padding: 95px 0 80px;
    }

    .v3-hero .min-vh-100 {
        min-height: auto !important;
    }

    .v3-hero h1 {
        font-size: clamp(2.8rem, 7vw, 4rem);
        line-height: 1.03;
    }

    .v3-hero p {
        max-width: 100%;

        font-size: 18px;
    }

    .v3-about,
    .v3-services,
    .v3-projects,
    .v3-map,
    .v3-video,
    .v3-testimonials,
    .v3-partners,
    .v3-news {
        padding-top: 85px;
        padding-bottom: 85px;
    }

    .v3-about .row {
        row-gap: 45px;
    }

    .v3-about-image img {
        height: 480px;
    }

    .v3-about-card {
        right: 18px;
        bottom: 18px;

        width: 205px;

        padding: 24px;
    }

    .v3-video-box {
        flex-direction: column;
        align-items: flex-start;

        min-height: 480px;

        padding: 38px;
    }

    .v3-video-box h2 {
        font-size: 36px;
    }

    .v3-play {
        width: 74px;
        height: 74px;

        font-size: 25px;
    }

    .v3-map-box {
        min-height: 500px;
    }

    .v3-cta {
        padding: 80px 0;
    }

    .v3-cta .text-lg-end {
        margin-top: 25px;

        text-align: left !important;
    }

}


/* =========================================================
   15. MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .v3-hero {
        min-height: auto;

        padding: 65px 0 60px;

        background-position: center;
    }

    .v3-hero .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .v3-hero .row {
        margin-left: 0;
        margin-right: 0;
    }

    .v3-hero [class*="col-"] {
        width: 100%;
        max-width: 100%;

        padding-left: 0;
        padding-right: 0;
    }

    .v3-badge {
        width: auto;
        max-width: 100%;

        margin-bottom: 22px;
        padding: 9px 13px;

        font-size: 11px;

        white-space: normal;
    }

    .v3-hero h1 {
        width: 100%;
        max-width: 100%;

        margin-bottom: 20px;

        font-size: clamp(2.35rem, 10vw, 3.15rem);
        line-height: 1.04;

        letter-spacing: -1px;
    }

    .v3-hero p {
        width: 100%;
        max-width: 100%;

        margin-bottom: 28px;

        font-size: 16px;
        line-height: 1.7;
    }

    .v3-actions {
        flex-direction: column;
        align-items: stretch;

        width: 100%;
    }

    .v3-actions a {
        width: 100%;

        text-align: center;
    }

    .v3-marquee {
        padding: 19px 0;
    }

    .v3-marquee-track {
        gap: 32px;

        animation-duration: 22s;
    }

    .v3-marquee-track span {
        font-size: 12px;
    }

    .v3-marquee-track span::after {
        right: -18px;
    }

    .v3-about {
        padding: 70px 0;
    }

    .v3-about .row {
        row-gap: 38px;
    }

    .v3-about-image {
        margin: 0;
        padding: 0;
    }

    .v3-about-image img {
        height: 320px;

        border-radius: 22px;
    }

    .v3-about-card {
        right: 12px;
        bottom: 12px;

        width: 185px;
        max-width: calc(100% - 24px);

        padding: 20px;

        border-radius: 22px;
    }

    .v3-about-card h3 {
        margin-bottom: 6px;

        font-size: 42px;
    }

    .v3-about-card p {
        font-size: 13px;
    }

    .v3-about h2 {
        font-size: clamp(2rem, 9vw, 2.7rem);
    }

    .v3-about p {
        font-size: 16px;
    }

    .v3-stat-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .v3-services,
    .v3-projects,
    .v3-map,
    .v3-video,
    .v3-testimonials,
    .v3-partners,
    .v3-news {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .v3-video-box {
        min-height: 430px;

        padding: 28px;

        border-radius: 26px;
    }

    .v3-video-box h2 {
        font-size: 30px;
    }

    .v3-play {
        width: 66px;
        height: 66px;

        font-size: 22px;
    }

    .v3-map-box {
        min-height: 430px;

        border-radius: 24px;
    }

    .v3-cta {
        padding: 70px 0;
    }

    .v3-cta h2 {
        font-size: 32px;
    }

    .v3-cta .text-lg-end {
        margin-top: 24px;

        text-align: center !important;
    }

    .v3-cta .btn {
        width: 100%;
    }

}


/* =========================================================
   16. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .v3-hero {
        padding: 55px 0 50px;
    }

    .v3-hero h1 {
        font-size: 2.25rem;
    }

    .v3-hero p {
        font-size: 15px;
    }

    .v3-about-image img {
        height: 270px;
    }

    .v3-about-card {
        right: 10px;
        bottom: 10px;

        width: 170px;

        padding: 18px;
    }

    .v3-about-card h3 {
        font-size: 38px;
    }

    .v3-about-card p {
        font-size: 12px;
    }

    .v3-video-box {
        min-height: 390px;

        padding: 24px;
    }

    .v3-video-box h2 {
        font-size: 27px;
    }

    .v3-map-box {
        min-height: 380px;
    }

}




/* =========================================================
   ABOUT CARD — KEEP COMPLETELY OUTSIDE THE IMAGE
   ========================================================= */

.v3-about-image {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.v3-about-image img {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 620px !important;
    object-fit: cover !important;
    border-radius: 34px !important;
}

.v3-about-card {
    position: static !important;
    inset: auto !important;
    transform: none !important;

    width: 220px !important;
    max-width: 100% !important;

    margin-top: 18px !important;
    margin-left: auto !important;

    padding: 28px !important;

    background: #243c7d !important;
    color: #ffffff !important;

    border-radius: 28px !important;

    box-shadow:
        0 25px 60px rgba(36, 60, 125, 0.28) !important;
}

.v3-about-card h3 {
    margin-bottom: 8px !important;
    color: #15bcbc !important;
}

.v3-about-card p {
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}


/* TABLET */
@media (max-width: 991.98px) {

    .v3-about-image img {
        height: 480px !important;
    }

    .v3-about-card {
        width: 210px !important;
    }
}


/* MOBILE */
@media (max-width: 767.98px) {

    .v3-about-image img {
        height: 320px !important;
        border-radius: 22px !important;
    }

    .v3-about-card {
        width: 100% !important;

        margin-top: 15px !important;
        margin-left: 0 !important;

        padding: 22px !important;
        border-radius: 20px !important;
    }
}


/* SMALL MOBILE */
@media (max-width: 480px) {

    .v3-about-image img {
        height: 270px !important;
    }

    .v3-about-card {
        width: 100% !important;
        padding: 20px !important;
    }

    .v3-about-card h3 {
        font-size: 38px !important;
    }
}



/* =========================================================
   HOMEPAGE SERVICES — PREMIUM FINAL DESIGN
   ========================================================= */

.v3-services {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #f2f6fb 100%
        );
}

.v3-services::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -180px;

    width: 420px;
    height: 420px;

    background: rgba(21, 188, 188, 0.08);

    border-radius: 50%;

    pointer-events: none;
}

.v3-services::after {
    content: "";

    position: absolute;
    bottom: -220px;
    left: -220px;

    width: 480px;
    height: 480px;

    background: rgba(36, 60, 125, 0.06);

    border-radius: 50%;

    pointer-events: none;
}

.v3-services .container {
    position: relative;
    z-index: 2;
}


/* SECTION HEADING */

.v3-services .v2-title {
    max-width: 820px;
    margin-bottom: 60px;
}

.v3-services .v2-title span {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--basa-accent);

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.v3-services .v2-title h2 {
    margin-bottom: 18px;

    color: var(--basa-dark);

    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 900;
    line-height: 1.08;

    letter-spacing: -1px;
}

.v3-services .v2-title p {
    max-width: 720px;

    margin-left: auto;
    margin-right: auto;

    color: var(--basa-text-light);

    font-size: 18px;
    line-height: 1.8;
}


/* GRID */

.v3-services .row {
    row-gap: 28px;
}


/* SERVICE CARD */

.v3-service-card {
    position: relative;

    display: flex;
    flex-direction: column;

    height: 100%;
    min-height: 390px;

    padding: 38px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );

    border: 1px solid rgba(36, 60, 125, 0.09);
    border-radius: 30px;

    box-shadow:
        0 20px 55px rgba(15, 23, 42, 0.08);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.v3-service-card::before {
    content: "";

    position: absolute;
    top: -85px;
    right: -85px;

    width: 190px;
    height: 190px;

    background:
        linear-gradient(
            135deg,
            rgba(21, 188, 188, 0.18),
            rgba(36, 60, 125, 0.06)
        );

    border-radius: 50%;

    transition:
        width 0.45s ease,
        height 0.45s ease;
}

.v3-service-card::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--basa-primary),
            var(--basa-secondary),
            var(--basa-accent)
        );

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.4s ease;
}

.v3-service-card:hover {
    transform: translateY(-12px);

    border-color: rgba(21, 188, 188, 0.28);

    box-shadow:
        0 34px 85px rgba(15, 23, 42, 0.15);
}

.v3-service-card:hover::before {
    width: 270px;
    height: 270px;
}

.v3-service-card:hover::after {
    transform: scaleX(1);
}

.v3-service-card > * {
    position: relative;
    z-index: 2;
}


/* ICON */

.v3-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 78px;
    height: 78px;

    margin-bottom: 28px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--basa-primary),
            var(--basa-secondary)
        );

    border-radius: 24px;

    font-size: 30px;

    box-shadow:
        0 16px 38px rgba(36, 60, 125, 0.24);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.v3-service-card:hover .v3-service-icon {
    transform:
        translateY(-4px)
        rotate(-3deg)
        scale(1.04);

    box-shadow:
        0 20px 45px rgba(21, 188, 188, 0.30);
}


/* CARD TEXT */

.v3-service-card h4 {
    margin-bottom: 15px;

    color: var(--basa-dark);

    font-size: 24px;
    font-weight: 900;
    line-height: 1.25;
}

.v3-service-card p {
    flex-grow: 1;

    margin-bottom: 24px;

    color: var(--basa-text-light);

    font-size: 16px;
    line-height: 1.8;
}


/* CARD LINK */

.v3-service-card a {
    display: inline-flex;
    align-items: center;

    align-self: flex-start;

    gap: 8px;

    color: var(--basa-accent);

    font-size: 15px;
    font-weight: 900;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.v3-service-card a i {
    transition: transform 0.3s ease;
}

.v3-service-card a:hover {
    gap: 12px;

    color: var(--basa-primary);
}

.v3-service-card a:hover i {
    transform: translateX(3px);
}


/* TABLET */

@media (max-width: 991.98px) {

    .v3-services {
        padding: 90px 0;
    }

    .v3-services .v2-title {
        margin-bottom: 48px;
    }

    .v3-service-card {
        min-height: 370px;

        padding: 32px;
    }

    .v3-service-card h4 {
        font-size: 22px;
    }

}


/* MOBILE */

@media (max-width: 767.98px) {

    .v3-services {
        padding: 75px 0;
    }

    .v3-services .v2-title {
        margin-bottom: 40px;
    }

    .v3-services .v2-title h2 {
        font-size: clamp(2rem, 9vw, 2.7rem);
    }

    .v3-services .v2-title p {
        font-size: 16px;
    }

    .v3-service-card {
        min-height: auto;

        padding: 28px;

        border-radius: 24px;
    }

    .v3-service-icon {
        width: 70px;
        height: 70px;

        margin-bottom: 22px;

        border-radius: 20px;

        font-size: 27px;
    }

    .v3-service-card h4 {
        font-size: 21px;
    }

    .v3-service-card p {
        font-size: 15px;
    }

}


/* SMALL MOBILE */

@media (max-width: 480px) {

    .v3-service-card {
        padding: 24px;
    }

    .v3-service-icon {
        width: 64px;
        height: 64px;

        font-size: 24px;
    }

}



/* =========================================================
   HOMEPAGE AFRICA MAP — FINAL VISIBILITY FIX
   ========================================================= */

.v3-map-box {
    position: relative;

    min-height: 620px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.14)
        );

    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 36px;
}

.v3-map-box .africa-bg {
    z-index: 1;
}

.v3-map-box .map-route {
    z-index: 2;
}

.v3-map-box .map-pin {
    z-index: 4;
}

.v3-map-box .pin-dot {
    width: 16px;
    height: 16px;

    background: #f47421;

    border: 3px solid #ffffff;
    border-radius: 50%;
}

.v3-map-box .pin-label {
    display: inline-block;

    padding: 7px 12px;

    color: #ffffff;
    background: rgba(6, 16, 31, 0.88);

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;

    white-space: nowrap;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.22);
}


/* COUNTRY POSITIONS */

.v3-map-box .pin-tanzania {
    left: 58%;
    top: 59%;
}

.v3-map-box .pin-kenya {
    left: 59%;
    top: 48%;
}

.v3-map-box .pin-uganda {
    left: 54%;
    top: 47%;
}

.v3-map-box .pin-rwanda {
    left: 51%;
    top: 53%;
}

.v3-map-box .pin-zambia {
    left: 51%;
    top: 67%;
}

.v3-map-box .pin-southafrica {
    left: 50%;
    top: 86%;
}


/* TABLET */

@media (max-width: 991.98px) {

    .v3-map-box {
        min-height: 520px;
    }

    .v3-map-box .pin-label {
        font-size: 10px;
        padding: 6px 9px;
    }
}


/* MOBILE */

@media (max-width: 767.98px) {

    .v3-map-box {
        min-height: 460px;
        border-radius: 24px;
    }

    .v3-map-box .africa-bg {
        inset: 20px 8px;
        opacity: 0.30;
    }

    .v3-map-box .map-route {
        display: none;
    }

    .v3-map-box .pin-label {
        padding: 5px 7px;
        font-size: 8px;
    }

    .v3-map-box .pin-dot {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
}



/* =========================================================
   HOMEPAGE PROJECTS — PREMIUM FINAL DESIGN
   ========================================================= */

.v3-projects {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: #ffffff;
}

.v3-projects::before {
    content: "";

    position: absolute;
    top: -160px;
    left: -160px;

    width: 380px;
    height: 380px;

    background: rgba(36, 60, 125, 0.05);

    border-radius: 50%;
    pointer-events: none;
}

.v3-projects .container {
    position: relative;
    z-index: 2;
}


/* PROJECT GRID */

.homepage-projects-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;
}


/* PROJECT CARD */

.homepage-project-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 520px;

    overflow: hidden;

    color: #ffffff;
    background: #06101f;

    border-radius: 30px;

    box-shadow:
        0 25px 70px rgba(15, 23, 42, 0.16);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

.homepage-project-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 38px 95px rgba(15, 23, 42, 0.24);
}

.homepage-project-featured {
    grid-row: span 2;
    min-height: 700px;
}


/* PROJECT IMAGE */

.homepage-project-image {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

.homepage-project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.homepage-project-card:hover
.homepage-project-image img {
    transform: scale(1.08);
}

.homepage-project-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(6, 16, 31, 0.98) 0%,
            rgba(6, 16, 31, 0.78) 42%,
            rgba(6, 16, 31, 0.18) 100%
        );
}


/* PROJECT CONTENT */

.homepage-project-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    height: 100%;

    margin-top: auto;
    padding: 34px;

    pointer-events: none;
}

.homepage-project-content a {
    pointer-events: auto;
}

.homepage-project-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    margin-top: auto;
    margin-bottom: 14px;
}

.homepage-project-category,
.homepage-project-year {
    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.homepage-project-category {
    color: #ffffff;
    background: rgba(21, 188, 188, 0.92);
}

.homepage-project-year {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);

    border: 1px solid rgba(255, 255, 255, 0.18);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.homepage-project-content h3 {
    margin-bottom: 14px;

    color: #ffffff;

    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 900;
    line-height: 1.18;
}

.homepage-project-content p {
    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.80);

    font-size: 15px;
    line-height: 1.75;
}

.homepage-project-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 12px 20px;

    margin-bottom: 22px;
}

.homepage-project-meta span {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 13px;
}

.homepage-project-meta i {
    color: #15bcbc;
}

.homepage-project-link {
    display: inline-flex;
    align-items: center;

    align-self: flex-start;

    gap: 8px;

    color: #f47421;

    font-size: 14px;
    font-weight: 900;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.homepage-project-link:hover {
    gap: 12px;
    color: #ffffff;
}


/* TABLET */

@media (max-width: 991.98px) {

    .v3-projects {
        padding: 90px 0;
    }

    .homepage-projects-grid {
        grid-template-columns: 1fr;
    }

    .homepage-project-featured {
        grid-row: auto;
        min-height: 620px;
    }

    .homepage-project-card {
        min-height: 520px;
    }

}


/* MOBILE */

@media (max-width: 767.98px) {

    .v3-projects {
        padding: 75px 0;
    }

    .homepage-projects-grid {
        gap: 22px;
    }

    .homepage-project-card,
    .homepage-project-featured {
        min-height: 470px;

        border-radius: 24px;
    }

    .homepage-project-content {
        padding: 26px;
    }

    .homepage-project-top {
        align-items: flex-start;
    }

    .homepage-project-content h3 {
        font-size: 1.75rem;
    }

    .homepage-project-content p {
        font-size: 14px;
    }

}


/* SMALL MOBILE */

@media (max-width: 480px) {

    .homepage-project-card,
    .homepage-project-featured {
        min-height: 430px;
    }

    .homepage-project-content {
        padding: 22px;
    }

    .homepage-project-top {
        flex-direction: column;
        align-items: flex-start;
    }

}




/* =========================================================
   PREMIUM HOMEPAGE HERO — FINAL UPGRADE
   ========================================================= */

.premium-home-hero {
    position: relative;
    isolation: isolate;
}

.premium-home-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(6, 16, 31, 0.08),
            rgba(6, 16, 31, 0.42)
        );

    pointer-events: none;
}

.premium-home-hero .container,
.premium-home-hero .row,
.premium-home-hero .premium-hero-content {
    position: relative;
    z-index: 3;
}

.premium-hero-content {
    max-width: 950px;
}

.premium-home-hero h1 {
    text-shadow:
        0 12px 35px rgba(0, 0, 0, 0.22);
}

.premium-home-hero p {
    max-width: 760px;
}

.hero-glow {
    position: absolute;

    z-index: 2;

    border-radius: 50%;

    filter: blur(20px);

    pointer-events: none;
}

.hero-glow-one {
    top: 10%;
    right: 8%;

    width: 280px;
    height: 280px;

    background: rgba(21, 188, 188, 0.16);

    animation:
        basaFloat
        7s
        ease-in-out
        infinite;
}

.hero-glow-two {
    left: 8%;
    bottom: 7%;

    width: 220px;
    height: 220px;

    background: rgba(244, 116, 33, 0.14);

    animation:
        basaFloatSmall
        5.5s
        ease-in-out
        infinite;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;

    gap: 14px 26px;

    margin-top: 34px;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 14px;
    font-weight: 700;
}

.hero-trust-item i {
    color: var(--basa-secondary);
}

.hero-scroll-indicator {
    position: absolute;

    left: 50%;
    bottom: 28px;

    z-index: 4;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 7px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.4px;
    text-transform: uppercase;

    transform: translateX(-50%);

    animation:
        basaFloatSmall
        2.5s
        ease-in-out
        infinite;
}

.hero-scroll-indicator:hover {
    color: var(--basa-secondary);
}

.hero-scroll-indicator i {
    font-size: 15px;
}


/* TABLET */

@media (max-width: 991.98px) {

    .premium-home-hero {
        min-height: auto;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-trust-row {
        margin-top: 28px;
    }

}


/* MOBILE */

@media (max-width: 767.98px) {

    .hero-glow-one {
        top: 8%;
        right: -80px;

        width: 200px;
        height: 200px;
    }

    .hero-glow-two {
        left: -70px;
        bottom: 4%;

        width: 170px;
        height: 170px;
    }

    .hero-trust-row {
        flex-direction: column;

        gap: 11px;

        margin-top: 26px;
    }

    .hero-trust-item {
        font-size: 13px;
    }

}




/*=========================================
WHY BASA
=========================================*/

.why-basa{

    padding:110px 0;

    background:#f8fbff;

}

.why-card{

    background:#fff;

    padding:40px 30px;

    border-radius:20px;

    text-align:center;

    transition:.35s;

    height:100%;

    border:1px solid rgba(0,0,0,.05);

    box-shadow:0 12px 35px rgba(0,0,0,.05);

}

.why-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 50px rgba(0,0,0,.12);

}

.why-card i{

    width:75px;

    height:75px;

    background:linear-gradient(135deg,#243c7d,#15bcbc);

    color:#fff;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:auto;

    font-size:28px;

    margin-bottom:25px;

}

.why-card h4{

    font-weight:700;

    margin-bottom:15px;

}

.why-card p{

    color:#666;

    margin:0;

}


/* HERO SPACING AFTER REMOVING TOP CONTACT BAR */

.v3-hero {
    padding-top: 0;
}

@media (max-width: 991.98px) {

    .v3-hero {
        padding-top: 0;
    }

}




/* =========================================================
   WHY CHOOSE BASA AFRICA
   ========================================================= */

.why-basa-section {
    position: relative;

    width: 100%;

    padding: 115px 0;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5f8fc 100%
        );
}

.why-basa-section::before {
    content: "";

    position: absolute;

    top: -160px;
    right: -160px;

    width: 400px;
    height: 400px;

    background: rgba(21, 188, 188, 0.08);

    border-radius: 50%;

    pointer-events: none;
}

.why-basa-section::after {
    content: "";

    position: absolute;

    left: -180px;
    bottom: -180px;

    width: 420px;
    height: 420px;

    background: rgba(36, 60, 125, 0.06);

    border-radius: 50%;

    pointer-events: none;
}

.why-basa-section .container {
    position: relative;
    z-index: 2;
}


/* CARD */

.why-basa-card {
    position: relative;

    height: 100%;
    min-height: 345px;

    padding: 34px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(36, 60, 125, 0.09);
    border-radius: 28px;

    box-shadow:
        0 18px 48px rgba(15, 23, 42, 0.07);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.why-basa-card::before {
    content: "";

    position: absolute;

    top: -85px;
    right: -85px;

    width: 190px;
    height: 190px;

    background:
        linear-gradient(
            135deg,
            rgba(21, 188, 188, 0.16),
            rgba(36, 60, 125, 0.04)
        );

    border-radius: 50%;

    transition:
        width 0.4s ease,
        height 0.4s ease;
}

.why-basa-card:hover {
    transform: translateY(-10px);

    border-color: rgba(21, 188, 188, 0.30);

    box-shadow:
        0 32px 78px rgba(15, 23, 42, 0.14);
}

.why-basa-card:hover::before {
    width: 260px;
    height: 260px;
}

.why-basa-card > * {
    position: relative;
    z-index: 2;
}


/* ICON */

.why-basa-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    margin-bottom: 24px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #243c7d,
            #15bcbc
        );

    border-radius: 23px;

    font-size: 29px;

    box-shadow:
        0 16px 38px rgba(36, 60, 125, 0.22);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.why-basa-card:hover .why-basa-icon {
    transform:
        translateY(-4px)
        rotate(-3deg);

    box-shadow:
        0 22px 48px rgba(21, 188, 188, 0.30);
}


/* TEXT */

.why-basa-card h4 {
    margin-bottom: 14px;

    color: #06101f;

    font-size: 22px;
    font-weight: 900;
}

.why-basa-card p {
    margin: 0;

    color: #64748b;

    font-size: 15px;
    line-height: 1.8;
}


/* BOTTOM CTA */

.why-basa-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 45px;
    padding: 30px 34px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #06101f,
            #243c7d
        );

    border-radius: 26px;

    box-shadow:
        0 24px 65px rgba(15, 23, 42, 0.18);
}

.why-basa-bottom > div {
    min-width: 0;
}

.why-basa-bottom strong {
    display: block;

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 900;
}

.why-basa-bottom span {
    color: rgba(255, 255, 255, 0.76);

    line-height: 1.7;
}

.why-basa-bottom .v3-btn-primary {
    flex: 0 0 auto;

    white-space: nowrap;
}


/* TABLET */

@media (max-width: 991.98px) {

    .why-basa-section {
        padding: 90px 0;
    }

    .why-basa-card {
        min-height: 320px;
    }

    .why-basa-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* MOBILE */

@media (max-width: 767.98px) {

    .why-basa-section {
        padding: 75px 0;
    }

    .why-basa-card {
        min-height: auto;

        padding: 28px;

        border-radius: 23px;
    }

    .why-basa-icon {
        width: 68px;
        height: 68px;

        border-radius: 20px;

        font-size: 25px;
    }

    .why-basa-card h4 {
        font-size: 20px;
    }

    .why-basa-bottom {
        margin-top: 32px;
        padding: 24px;

        border-radius: 22px;
    }

    .why-basa-bottom strong {
        font-size: 18px;
    }

    .why-basa-bottom .v3-btn-primary {
        width: 100%;
    }

}



