.hero-section {
    background: url('/static/images/service_header.png') no-repeat center center/cover;
    color: white;
    text-align: left;
    padding: 120px 200px 120px 120px;
}

.hero-section h1 {
    font-weight: bold;
    font-size: 3rem;
}

.hero-section p {
    font-size: 22px;
}

.btn-primary .btn-primary-service {
    background-color: #007bff;
    border: none;
    padding: 10px;
    width: 20%;
}


@media (max-width: 991px) {
    .hero-section {
        padding: 80px 50px 80px 50px;
        /* Reduce padding for smaller screens */
        text-align: center;
        /* Center align text on smaller devices */
    }

    .hero-section h1 {
        font-size: 2.5rem;
        /* Decrease font size */
    }

    .hero-section p {
        font-size: 20px;
        /* Adjust paragraph size */
    }

    .btn-primary {
        width: 30%;
        /* Increase button width for better touch */
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 30px;
        /* Further reduce padding */
    }

    .hero-section h1 {
        font-size: 2rem;
        /* Smaller heading for tablets */
    }

    .hero-section p {
        font-size: 18px;
        /* Adjust text for readability */
    }

    .btn-primary {
        width: 40%;
        /* Make button wider for touch */
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 20px;
        /* Minimal padding on mobile */
    }

    .hero-section h1 {
        font-size: 1.8rem;
        /* Adjust for mobile screens */
    }

    .hero-section p {
        font-size: 16px;
        /* Smaller text */
    }

    .btn-primary {
        width: 45%;
        /* Full-width button for better usability */
    }
}


/* service section */

.service-section {
    padding: 15px 20px;
}

.service-section h2 {
    color: #007bff;
}

.service-image img {
    height: 350px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .service-image {
        display: none;
    }

    .service-section p {
        font-size: 18px;
        color: #555;
    }
}


/* all services css */

.service-grid {
    background-color: #eaf6ff;
    padding: 45px 20px;
    text-align: center;
}

.service-card {
    background: white;
    border-radius: 10px 10px 70px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 10px 10px 0px 10px;
    text-align: left;
    border: 2px solid #e0e0e0;
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.service-card h5 {
    margin: 15px 0 10px;
    font-weight: 500;
    font-size: 18px;
}

.service-card p {
    font-size: 14px;
    color: #555;
}

.service-card .btn-primary {
    display: block;
    width: 116%;
    padding: 10px 40px 10px 10px;
    margin: 0px -15px 0px -15px;
    font-weight: bold;
    border-radius: 0px;
}

.service-card .btn-primary-black {
    background-color: #424343;
}


.carousel-indicators [data-bs-target] {
    background-color: #007bff;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-indicators {
    bottom: -55px; /* or adjust as needed */
}


/* how we work */

.how_we_work h2 {
    color: #007bff;
}

.how_we_work p {
    color: #555;
}

/* image slider */

.slider-container {
    max-width: 1200px;
    overflow: hidden;
    margin: auto;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.slider img {
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 5px;
}

/* Navigation buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .slider img {
        width: 24%;
    }
}

/* Show 4 images */
@media (max-width: 991px) and (min-width: 768px) {
    .slider img {
        width: 32%;
    }
}

/* Show 3 images */
@media (max-width: 767px) {
    .slider img {
        width: 48%;
    }
}

/* Show 2 images */
@media (max-width: 575px) {
    .slider img {
        width: 90%;
    }
}

/* Show 1 image */

/* why choose us */

.why-choose-us {
    background-color: #f5faff;
    /* Light Blue Background */
    padding: 10px 20px;
    text-align: center;
}

.why-choose-us h2 {
    font-weight: bold;
}

.why-choose-us p {
    color: #666;
}

.icon-box {
    background-color: #007bff;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    margin-bottom: 20px;
}

.icon-box img {
    width: 30px;
    height: 30px;
}


/* Responsive Design: Change layout below 770px */
@media (max-width: 770px) {
    .feature-box {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .icon-box {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .feature-box h5 {
        font-size: 20px;
        font-weight: bold;
    }

    .feature-box p {
        font-size: 18px;
        color: #555;
    }
}


/*  */