.services-page {}

.services-hero {}

.services-hero-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:80px;
}

.services-content {}

.services-image img {
    width:100%;
    display:block;
}

.section-subtitle{
    color:#1D71B8;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
}

.section-title{
    font-size:35px;
    font-weight:500;
    line-height:1.1;
    margin:25px 0 45px;
}

.services-btn{
    display:inline-block;
    background:#FFD54A;
    color:#000;
    padding:18px 38px;
    border-radius:4px;
    font-weight:700;
    text-decoration:none;
}

.services-grid-section{
    padding:120px 0;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.service-card{
    background:#fff;
    padding:35px;
    border-radius:10px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.service-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#1D71B8;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin-bottom:25px;
}

.service-card h3{
    margin-bottom:18px;
}

.services-bottom-image{
    margin-top:70px;
}

.services-bottom-image img{
    width:100%;
    border-radius:12px;
}

.agencies-section{
    padding:120px 0;
}

.agencies-grid{
    margin-top:60px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    justify-items:center; /* Center items horizontally */
}

.agency-item{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
}

.agency-item img{
    width:100%;
    max-width:180px; /* Adjust as needed */
    display:block;
    border-radius:8px;
    transition:transform .3s ease;
}

.agency-item img:hover {
    transform:scale(1.08);
}

@media (max-width:992px){

    .services-hero-grid{
        grid-template-columns:1fr;
    }

    .services-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .agencies-grid{
        grid-template-columns:repeat(2,1fr);
        justify-items:center;
    }

}

@media (max-width:768px){

    .services-grid{
        grid-template-columns:1fr;
    }

    .agencies-grid{
        grid-template-columns:repeat(2,1fr); /* Keep 2 columns on mobile */
        gap:20px;
        justify-items:center;
    }

    .agency-item img{
        max-width:140px;
    }

    .section-title{
        font-size:2.2rem;
    }

}

/* =========================
   Services Bottom Image
========================= */

.services-bottom-image {
    width: 100%;
    margin-top: 80px;
    overflow: hidden;
    border-radius: 12px;
}

.services-bottom-image img {
    width: 100%;
    height: 500px;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.services-bottom-image:hover img {
    transform: scale(1.03);
}


/* =========================
   Responsive
========================= */

@media (max-width: 992px) {

    .services-bottom-image {
        margin-top: 60px;
    }

    .services-bottom-image img {
        height: 400px;
    }

}


@media (max-width: 768px) {

    .services-bottom-image {
        margin-top: 45px;
        border-radius: 8px;
    }

    .services-bottom-image img {
        height: 280px;
    }

}
