#services-provided {
    min-height: 100vh;
}

#services-provided h2 {
    opacity: 0;
    scale: 0.8;
    transform-origin: top center;
}

.left-scroll-container>div {
    opacity: 0;
}

.why-choose-us {
    opacity: 0;
    transform-origin: top center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.products {
    opacity: 0;
    transform-origin: top center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.products+div {
    opacity: 0;
    transform-origin: top center;
}

/* Why Choose Us section */
.wrapper {
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.containerr {
    height: 350px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.card {
    width: 80px;
    background-size: cover;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: .6s cubic-bezier(.28, -0.03, 0, .99);
    border: 1px solid rgba(191, 191, 191, 0.663);
}

/* White background specific card styling */
.white-bg-card {
    background-color: #f8f9fa;
}

.white-bg-card:hover {
    background-color: #e9ecef;
}

/* Mask styles for large text */
h6.support-mask {
    background-image: url(/static/images/support-mask.webp);
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

h6.brand-mask {
    background-image: url(/static/images/brand-mask.webp);
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

h6.fixing-mask {
    background-image: url(/static/images/fixing-mask.webp);
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

h6.staffing-mask {
    background-image: url(/static/images/staffing-mask.webp);
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* Card row and icon styles */
.card>.row {
    display: flex;
    flex-wrap: nowrap;
}

.card>.row>.icon {
    background: #177B35;
    color: white;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px;
}

/* Description styles */
.card>.row>.description {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    height: 80px;
    width: 520px;
    opacity: 0 !important;
    transform: translateY(30px);
    transition-delay: .3s;
    transition: all .3s ease;
}

.description p {
    padding-top: 5px;
}

.description h4 {
    text-transform: uppercase;
}

/* Input and label styles for white background */
input[name="slide"] {
    display: none;
}

input[name="slide"]+label {
    color: #333;
}

input[name="slide"]+label span {
    background-color: #177B35;
    color: white !important;
}

input[name="slide"]:checked+label {
    background-color: white !important;
    color: #333 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input[name="slide"]:checked+label .card-head-title {
    color: #333;
}

input[name="slide"]:checked+label {
    width: 600px;
}

input[name="slide"]:checked+label .description {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

#c3:checked+label .c3 {
    margin: -32px 0 !important;
}

/* Mobile responsive styles */
@media (max-width: 767px) {
    #services-provided h2 {
        opacity: 1;
        scale: 0.8;
        transform-origin: top center;
    }

    .wrapper {
        height: auto;
        display: block;
    }

    .containerr {
        display: block;
        height: auto;
    }

    .card {
        width: 100%;
        background-color: white;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
    }

    input[name="slide"]:checked+label {
        width: 100%;
    }

    .card div div div:first-child {
        margin: 0 0 !important;
        left: 0;
    }

    input[name="slide"]+label .card-head-title {
        color: #333 !important;
    }

    .white-bg-card {
        background-color: white;
    }
}