.services-five__single-img-inner img{
        height: 250px;
    object-fit: cover;
}

.services-details__content-img1 img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.quick-contact {
  position: fixed;
  bottom: 100px;
  right: 15px;
  width: 60px;
  z-index: 9999;
}

.quick-contact img {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  z-index: 9;
}

.before-after-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Adjust aspect ratio as needed (4:3 here) */
}

.before-image, .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-image {
    clip-path: inset(0 0 0 50%); /* Initially show right half */
}

.slider-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.slider-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.slider-control {
    position: absolute;
    bottom: 10px;
    width: 100%;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
}

.slider-control::-webkit-slider-runnable-track {
    height: 5px;
    background: #ddd;
    border-radius: 3px;
}

.slider-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    margin-top: -7px;
}
.slider-form-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.slider-form-box .input-box {
    margin-bottom: 15px;
}

.slider-form-box input,
.slider-form-box textarea,
.slider-form-box select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fff;
    transition: border 0.3s;
}

.slider-form-box input:focus,
.slider-form-box textarea:focus,
.slider-form-box select:focus {
    border-color:#004a94;
    outline: none;
}

.slider-form-box textarea {
    resize: vertical;
    min-height: 100px;
}

.slider-form-box .thm-btn {
    width: 100%;
    padding: 12px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    background-color:#004a94;
    color: #fff;
    transition: background-color 0.3s ease;
}

.slider-form-box .thm-btn:hover {
    background-color: #004a94;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .slider-form-box {
        padding: 20px;
        margin-top: 20px;
    }

    .main-slider-one__content {
        text-align: center;
    }

    .main-slider-one__btn {
        justify-content: center;
    }
}


.main-slider-one__single {
    position: relative;
    display: block;
    padding: 100px 0px 210px;
    z-index: 1;
}

    /* Only applies on screens smaller than 576px (phones) */
@media (max-width: 575.98px) {
    .services-five .col-xl-3.col-lg-6.col-md-6 {
        width: 50%;
        flex: 0 0 50%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .services-five__single-content h2 a {
    color: var(--cleanin-black);
    font-size: 20px;
}

}

/* Image container and inner styling */
.services-five__single-img {
    width: 100%;
    height: 180px; /* Set a fixed height */
    overflow: hidden;
    border-radius: 10px;
}

.services-five__single-img-inner {
    width: 100%;
    height: 100%;
}

.services-five__single-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
.services-five__single-content {

    padding: 22px 0px 31px;
}



        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .modal-content {
            background: #fff;
            padding: 25px;
            border-radius: 8px;
            max-width: 400px;
            text-align: center;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            animation: fadeIn 0.3s ease-in-out;
        }

        .close-modal {
            position: absolute;
            top: 10px;
            right: 15px;
            cursor: pointer;
            font-size: 20px;
            font-weight: bold;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
