/* =======================
   RESET
======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    width: 100%;
    overflow-x: hidden;
}

/* =======================
   CLIENTS SECTION
======================= */
.clients-section {
    width: 100%;
    padding: 80px 0 60px;
    background: #fff;
    text-align: center;
}

.clients-title {
    font-size: 52px;
    font-weight: 900;
    color: #000;
    margin-top: 70px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.clients-grid {
    width: 85%;
    margin: 100px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 30px;
    align-items: center;
    justify-items: center;
}

.client-item img {
    max-width: 160px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-item img:hover {
    transform: scale(1.08);
}

/* =======================
   OUR WORK SECTION
======================= */
.ourwork-section {
    padding: 80px 0;
    background: #d3d3d3;
    text-align: center;
}

.ourwork-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 50px;
}

.ourwork-slider {
    width: 100%;
    display: flex;
    gap: 75px;
    padding: 10px 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.ourwork-slider::-webkit-scrollbar {
    display: none;
}

.work-item {
    min-width: 300px;
    text-align: center;
    flex-shrink: 0;
}

.work-item h3 {
    font-size: 24px;
    font-weight: 750;
    margin-bottom: 15px;
}

.work-item img {
    width: 310px;
    max-width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.work-item img:hover {
    transform: scale(1.05);
}

/* =======================
   LARGE DESKTOP (≥1440px)
======================= */
@media (min-width: 1440px) {
    .clients-grid {
        width: 70%;
    }

    .work-item img {
        height: 380px;
    }
}

/* =======================
   LAPTOP / SMALL DESKTOP (≤1200px)
======================= */
@media (max-width: 1200px) {
    .clients-title {
        font-size: 48px;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ourwork-title {
        font-size: 48px;
    }
}

/* =======================
   TABLET LANDSCAPE (≤1024px)
======================= */
@media (max-width: 1024px) {
    .clients-grid {
        margin-top: 80px;
    }

    .work-item img {
        height: 330px;
    }
}

/* =======================
   TABLET PORTRAIT (≤768px)
======================= */
@media (max-width: 768px) {
    .clients-title {
        font-size: 40px;
        margin-top: 40px;
    }

    .clients-grid {
        width: 90%;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
        margin-top: 60px;
    }

    .ourwork-title {
        font-size: 40px;
    }

    .ourwork-slider {
        padding: 10px 20px;
        gap: 40px;
    }

    .work-item {
        min-width: 260px;
    }

    .work-item img {
        height: 300px;
    }
}

/* =======================
   MOBILE LARGE (≤480px)
======================= */
@media (max-width: 480px) {
    .clients-title {
        font-size: 32px;
    }

    .clients-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 50px;
    }

    .client-item img {
        max-width: 140px;
    }

    .ourwork-title {
        font-size: 32px;
    }

    .work-item {
        min-width: 230px;
    }

    .work-item img {
        height: 260px;
    }
}

/* =======================
   SMALL MOBILE (≤360px)
======================= */
@media (max-width: 360px) {
    .clients-title,
    .ourwork-title {
        font-size: 28px;
    }

    .work-item {
        min-width: 210px;
    }

    .work-item img {
        height: 240px;
    }
}
