/* ==========================================================================
   Infrastructure Section Styles (Exact Clone)
   ========================================================================== */
.infrastructure-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.services-warpper {
    /* border: 1px solid rgba(0, 0, 0, 0.11); */
    background-color: var(--color-white);
    overflow: hidden;
    transition: all 0.3s ease-out;
    /* box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset; */
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    /* Added subtle radius to match modern feel */
}

.services-warpper:last-child {
    margin-bottom: 0;
}

/* .services-warpper:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
} */

.services-warpper-image {
    width: 100%;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
    position: relative;
}

.services-warpper-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

/* Shine Effect Layers */
.services-warpper-image::before,
.services-warpper-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    opacity: 0;
}

.services-warpper-image::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
    width: 40%;
    left: -85%;
}

.services-warpper:hover .services-warpper-image img {
    transform: scale(1.1);
    /* Scale Up */
}

.services-warpper:hover .services-warpper-image::before {
    animation: shine 0.75s;
    opacity: 1;
}

.services-warpper:hover .services-warpper-image::after {
    animation: shine 0.75s 0.2s;
    /* 0.2s delay for the second layer */
    opacity: 1;
}

@keyframes shine {
    100% {
        left: 125%;
        opacity: 0;
    }
}

.services-warpper-content {
    padding: 40px 30px;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 1;
}

.services-warpper-content::before {
    content: attr(data-number);
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 120px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.06);
    z-index: -1;
    font-family: var(--font-body);
    line-height: 1;
    pointer-events: none;
}

.services-warpper-content h3 {
    font-size: 26px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-primary);
    text-align: start;
    text-transform: capitalize;
    line-height: 1.2;
    margin-bottom: 24px;
}

.services-warpper-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-warpper-content ul li {
    margin-bottom: 20px;
}

.services-warpper-content ul li:last-child {
    margin-bottom: 0;
}

.services-warpper-content ul li h6 {
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--color-navy);
    text-align: start;
    text-transform: capitalize;
    line-height: 1.2;
    margin-bottom: 8px;
}

/* .services-warpper-content ul li p {
    font-size: 15px;
    font-weight: 400;
    font-family: var(--font-body);
    color: #555555;
    text-align: start;
    margin-bottom: 0;
} */

/* ==========================================================================
   Responsive Styles (360px to 1920px)
   ========================================================================== */

/* Very Large Screens (1400px to 1920px) */
@media (min-width: 1400px) {
    .services-warpper-content {
        padding: 40px 40px;
    }
}

/* Desktops (992px to 1399px) */
@media (min-width: 992px) and (max-width: 1399px) {
    .services-warpper-image {
        min-height: 450px;
    }

    .services-warpper-content {
        padding: 40px 30px;
    }
}

/* Tablets / iPad (768px to 991px) */
@media (max-width: 991px) {
    .infrastructure-section {
        padding: 60px 0;
    }

    .services-warpper {
        margin-bottom: 40px;
    }

    .services-warpper-image {
        min-height: 350px;
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .services-warpper-content {
        padding: 30px 20px;
        align-items: flex-start;
        text-align: start;
    }

    .services-warpper-content::before {
        font-size: 110px;
        top: 0px;
        left: 10px;
    }

    .services-warpper-content h3,
    .services-warpper-content ul li h6,
    .services-warpper-content ul li p {
        text-align: start;
    }

    .services-warpper-content ul li {
        margin-bottom: 15px;
    }
}

/* Mobile Landscape & Large Mobile (576px to 767px) */
@media (max-width: 767px) {
    .infrastructure-section {
        padding: 50px 0;
    }

    .services-warpper {
        margin-bottom: 30px;
    }

    .services-warpper-image {
        min-height: 350px;
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .services-warpper-content {
        padding: 25px 20px;
    }

    .services-warpper-content h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* .services-warpper-content ul li h6 {
        font-size: 16px;
    }

    .services-warpper-content ul li p {
        font-size: 14px;
    } */
}

/* Small Mobile (360px to 575px) */
@media (max-width: 575px) {
    .infrastructure-section {
        padding: 40px 0;
    }

    .services-warpper {
        margin-bottom: 25px;
        border: none;
    }

    .services-warpper-image {
        min-height: 300px;
        width: calc(100% - 30px);
        margin: 15px auto 0px auto;
        border-radius: 8px;
    }

    .services-warpper-content {
        padding: 20px 15px;
        margin-top: 15px;
    }

    .services-warpper-content::before {
        font-size: 90px;
        top: 5px;
        left: 10px;
    }

    .services-warpper-content h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    /* .services-warpper-content ul li h6 {
        font-size: 15px;
        margin-bottom: 6px;
    } */

    /* .services-warpper-content ul li p {
        font-size: 13.5px;
        line-height: 1.5;
    } */

    .services-warpper {
        box-shadow: none;
    }
}