/* =========================================================
   Africa Grains — Home (page-specific styles)
   Sections:
   - hero
   - value-props (3 cards)
   - kpis (mini metrics strip)
   - how-it-works (split)
   - trust (certifications & partners)
   - cta-band
========================================================= */
/* gloabals for home page only */

:root {
    /* Brand (from project brief) */
    --brand-green: #044c26;   /* Main Color in logo */
    --brand-gold:  #c39933;   /* Secondary Color in logo */
    /* --brand-green-trans: #044c2694; */

    /* Neutrals */
    --grey-900: #1a1a1a;
    --grey-800: #2a2a2a;
    --grey-700: #4a4a4a;
    --grey-600: #5f5f5f;
    --grey-500: #8a8a8a;
    --grey-300: #e6e6e6;
    --grey-200: #efefef;
    --grey-100: #f7f7f7;
    --white:    #ffffff;
}

/* global for home page */
.container{
    width: 80%;
    margin-left: 10%;
}
h1{
    font-size: 50px;
}


/* hero */
.hero-section .hero-img{
    margin-top: -100px;
    position: absolute;
    z-index: -2;
}
.hero-details{
    width: 80%;
    margin-left: 10%;
    margin-top: 100px;
    z-index: 2;
}
.hero-action{
    z-index: 2;
}


.lead{
    text-shadow: var(--ts-strong);
    color: #1a1a1a;
    width: 50%;
}

/* Value-props */
.value-props{
    margin-top: 570px;
    margin-bottom: -100px;
}
.value-props__card:hover{
    scale: 1.05;
    border-color: var(--brand-gold);
}

.transport-partners{
    margin-bottom: 100px;
}

/* How it works */
.split_content{
    background-color: var(--grey-500);
    margin-left: -30px;
    padding: 30px;

}


.trust{
    margin-top: 100px;
}

/* cta-band */
.cta-band{
    margin-top: 100px;
}

/* process */
.process-img{
    height: auto;
    width: 100%;
    opacity: 70%;
    margin-bottom: 50px;
    
}

.end-to-end-expertise{
    margin-bottom: 100px;
    margin-top: 100px;
}

.transport-routes .sub-title{
    font-size: 40px;
    margin-top: 250px;
    margin-bottom: 50px;
    color: var(--brand-green);
}

/* Country list items (replaces h2 styling) */
.country {
    font-size: 1.25rem;   /* match your previous h2 scale */
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}
/* optimise */
/* =========================================================
   Home page responsive (keeps 1920 look; trims 1080/2560/mobile)
   ========================================================= */
/* --- Base hero alignment (works for both .hero and legacy .hero-section) --- */


/* Copy width at desktop (1920) stays as you designed */
.lead { width: 50%; }

/* Sections that relied on big margins at 1920 */
.value-props { margin-top: 570px; margin-bottom: -100px; }
.transport-partners { margin-bottom: 100px; }
.end-to-end-expertise { margin: 100px 0; }
.transport-routes .title { font-size: 40px; margin-top: 250px; margin-bottom: 50px; color: var(--brand-green); }


@media (min-width: 1921px) {
    /* .container { max-width: 1440px; } */
}

/* 1080-wide tier: */
@media (max-width: 1080px) {
    .container{
        width: 90%;
        margin-left: 5%;
    }
    /* hero */
    .hero-section h1{
        font-size: 30px;
    }
    .hero-details{
        width: 90%;
        margin-left: 5%;
        margin-top: 0;
        z-index: 2;
    }
    .hero-section .hero-img{
        margin-top: 0;
    }
    
    /* cards */
    .value-props{
        margin-top: 300px;
    }
    
    /* map */
    .transport-routes .sub-title{
        margin-top: 150px;
        font-size: 25px;
    }
    .wrapper-map{
        margin-top: 50px;
    }
    .split{
        gap: 0;
    }
    .split_content, .spit_media{
        max-width: 100%;
        margin: 0;
    }
    .country-list .country{
        font-size: 15px;
    }


}

/* Mobile ~480-wide: full-bleed with safe padding */
@media (max-width: 520px) {
    .container{
        width: 90%;
        margin-left: 5%;
    }
    /* hero */
    .hero-details{
        width: 90%;
        margin-left: 5%;
        z-index: 2;
    }
    .lead{
        width: 100%;
    }
    .hero-section .hero-img{
        position: static;
        margin-top: 0;
    }
    
    /* cards */
    .value-props{
        margin-top: 50px;
    }
    
    /* map */
    .transport-routes .sub-title{
        margin-top: 100px;
        font-size: 25px;
        margin-bottom: 20px;
    }
    .country-list .country{
        font-size: 15px;
        line-height: 0.1;
    }
    .country-list{
        margin-top: 0;
    }
    .wrapper-map{
        display: flex;
        flex-direction: column;
        margin-top: 50px;
    }
    .split{
        gap: 0;
    }
    .split_content, .spit_media{
        max-width: 100%;
        margin: 0;
    }
    .country{
        font-size: 10px;
    }
    .africa-routes{
        margin-top: -100px;
        width: 100%;
    }
}
@media (min-width: 2560px){
    /* glabals */
    p, li{
        font-size: 20px;
    }

    /* hero section */
    .hero-section h1{
        font-size: 50px;
    }
    .hero-img{
        width: 100%;
    }
    .lead{
        font-size: 20px;
    }


    .value-props{
        margin-top: 800px;
    }

    .transport-partners h2{
        font-size: 40px;
    }

    ol li{
        line-height: 2.2rem;
    }

}