
:root {
    /* Brand colors (from your brief) */
    --color-main: #39739d;
    --color-secondary: #558cb8;
    --color-sub-0: #afc6d8;
    --color-sub-1: #c0ddf5;
    --color-sub-2: #c4c4c4;

    /* Neutrals */
    --color-bg: #f5f6f9;
    --color-white: #ffffff;
    --color-text: #222222;
    --color-border: #dfdfdf;

    /* Feedback */
    --color-success: #2f855a;
    --color-warning: #b7791f;
    --color-error: #b54a4a;

    /* Layout */
    --container-width: 100%;
    --radius-md: 8px;
    --radius-lg: 16px;
    --btn-radius: 999px;

    /* Spacing (4/8px scale) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 40px;
    --space-8: 48px;
    --space-9: 50px;
    --space-10: 100px;
    --space-11: 200px;

    /* fonts */
    --buttton-1: 1.2rem;
}
.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    width: auto;
    height: 100vh;
    padding: var(--space-7) 0;
    padding-top: 100px;
    background-color: var(--color-main-dark-2);
    background:
        url('../img/hero-img/mining-site-compliace-2500.webp') center/cover no-repeat;
}
/* Overlay */
/* .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-secondary);
    z-index: 1;
    opacity: 40%;
} */
.hero .container{
    padding-top: var(--space-11);
    margin-left: 10%;
    position: relative;
    z-index: 2;
    text-align: left;
}
.hero-actions{
    margin-top: 220px;
}
.hero-actions{
    margin-top: 220px;
}
.hero-title{
    max-width: 60ch;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    
}
.hero-lead{
    max-width: 65ch;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    
}
/* 1920 ish screens */
@media (min-width: 1500px) and (max-width: 2000px) {
    .hero .container{
        padding-top: var(--space-9);
    }
    .hero{
        width: 100%;
        height: 100vh;
        background:
        url('../img/hero-img/mining-site-compliace-1920.webp') center/cover no-repeat;
    }
    .hero-actions{
        margin-top: 220px;
    }
    .hero-title{
        max-width: 40ch;
        margin-left: 0;
        margin-right: auto;
        text-align: left;
        
    }
    .hero-lead{
        max-width: 50ch;
        margin-left: 0;
        margin-right: auto;
        text-align: left;
        
    }

    
}
    
@media (max-width: 768px) {
    .hero .container{
        padding-top: var(--space-9);
        margin-left: 5%;
    }
    .hero{
        width: 100vw;
        background:
        url('../img/hero-img/mining-site-compliace-850.webp') center/cover no-repeat;
    }
    .hero-actions{
        margin-top: 100px;
    }

    
}
@media (max-width: 360px) {
    .hero .container{
        padding-top: 30px;
        width: 90%;
        margin-left: 5%;
    }
    .hero{
        width: 100%;
        background:
        url('../img/hero-img/mining-site-compliace-850.webp') center/cover no-repeat;
    }
    .hero-actions{
        margin-top: 50px;
    }
        .hero-title{
        font-size: 1.5rem;
    }
    .hero-lead{
        font-size: 1.2rem;
    }

    
}


/* page styling */
.home-intro{
    margin-top: 20px;
    display: flex;
    flex-direction: row;
}
.home-intro img{
    
    width: 25%;
    height: auto;
    opacity: 60%;
}
.home-intro .container{
    margin-top: 50px;
}
.about-content p{
    width: 100ch;
}

@media (min-width: 1500px) and (max-width: 2000px) {
    .home-intro h2{
        font-size: 2.5rem;
    }
    
}
@media (max-width: 768px) {
    .home-intro img{
        display: none;
    }
    .home-intro{
        margin-top: 0;
    }
    .home-intro .container{
        margin-top: 60px;
    }
    

    
}

/* Passport360 */
.home-passport{
    margin-top: var(--space-9);
    margin-bottom: var(--space-11);
}
.home-passport .container{
    align-items: center;
}
.home-passport header{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.home-passport .container img{
    width: 15%;
    height: 15%;
    padding-top: 50px;
}
.home-passport .wrapper{
    display: flex;
    flex-direction: row;
    text-align: left;
}
.home-passport ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 40px;
}
.home-passport .container p{
    text-align: center;
    width: 65ch;
    margin-left: 30%;
    margin-bottom: 100px;
    padding-bottom: 10px;

}
.home-passport .wrapper p{
    text-align: left;
    width: 60ch;
    margin-left: -10%;
    margin-bottom: 55px;

}

.home-passport ul {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 1.4rem;
    color: var(--color-secondary);
    width: 100%;
}
.home-passport ul li .bi {
    font-size: 2.2rem;
    padding-right: 10px;
}
.home-passport .cta-actions{
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 768px) {
    .home-passport{
        margin-top: var(--space-5);
        margin-bottom: var(--space-5);
    }
    .home-passport .wrapper{
        display: flex;
        flex-direction: column;
        text-align: left;
    }
    .home-passport .container img{
        width: 40%;
        height: 40%;
    }
    .home-passport .container p{
        text-align: center;
        width: 65ch;
        margin-left: 0%;
        margin-bottom: 50px;
        padding-bottom: 0px;

    }
    .home-passport h2{
        text-align: center;
    }
    .home-passport p{
        text-align: center;
        width: 65ch;
        margin-left: 0%;
        margin-bottom: 100px;
    }
    .home-passport ul{
        display: flex;
        flex-direction: column;
    }
    .cta-actions .btn{
        border-radius: 999px;
        margin-bottom: 20px;
    }



}
@media (max-width: 360px) {
    .about-content p{
        width: 100%;
    }
    .home-passport .container p{
        text-align: center;
        width: 100%;
        margin-left: 0;
        margin-bottom: 50px;
        padding-bottom: 0px;

    }
    li{
        font-size: 1.1rem;
    }

}
.brand-image{
    width: 10%;
    margin-left: 45%;
    margin-bottom: -7px;
}
.brand-image-2{
    width: 10%;
    margin-left: 45%;
    top: 0;
    opacity: 60%;
}
.home-about .container{
    margin-top: var(--space-10);
    text-align: center;
}
.home-about header{
    text-align: center;
}
.home-about .cta-actions{
    margin-top: 60px;
}
.home-about .cta-actions .btn-primary{
    border-radius: 999px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}
.home-about article{
    text-align: center;
    padding: 25px;
}
.home-about .bi{
    font-size: 3rem;
}

@media (max-width: 768px) {
    .brand-image{
        width: 20%;
        margin-left: 40%;
    }
    .brand-image-2{
        width: 20%;
        margin-left: 40%;
    }

    .home-about .container{
        margin-top: var(--space-7);
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: var(--space-4);
    }
    .home-about article{
        padding: 0;
    }

}
.home-why{
    display: flex;
    flex-direction: row;
}
.home-why img{
    width: 28%;
    height: auto;
    margin-top: 80px;
    transform: rotate(180deg);
    opacity: 70%;
}
.home-why .container{
    margin-top: var(--space-9);
}
.home-why header{
    margin-top: 70px;
}
.why-grid{
    margin-top: 50px;
}
.why-grid article h3{
    margin-bottom: 0px;
}
.why-grid article p{
    margin-top: 0px;
    width: 100ch;
}
.why-grid .bi {
    font-size: 1.5rem;
    color: var(--color-secondary);
    padding-right: 10px;
    font-weight: 500;
}
.why-grid article{
    margin-bottom: 20px;
}

.cta-container{
    margin-top: var(--space-9);
    margin-bottom: var(--space-9);
}

@media (max-width: 768px) {
    .home-why img{
        display: none;
    }
    .home-why .container{
        margin-top: var(--space-7);
    }
    .cta-container{
        margin-top: var(--space-7);
        margin-bottom: var(--space-7);
    }

}

@media (max-width: 360px) {
    .why-grid article p{
        margin-top: 0px;
        width: 100%;
    }
    .cta-actions a{
        font-size: 1rem;
    }
}