html {
    scroll-behavior: smooth;
}

.banner_cable {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: #f2f2f2;
}

.banner_cable img {
    width: 100%;
    max-height: 600px;
    height: auto;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .banner_cable img {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .banner_cable img {
        max-height: 300px;
    }
}

.single-our-service {
    flex: 1;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.img-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 200px;
}


.our-services {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    font-weight: bold;
    align-items: center;
}

.single-our-service:hover {
    transform: translateY(-5px);
}

.single-our-service h4 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-top: 15px;
}

.single-our-service p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.single-our-service .img-box img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .section-title h2 {
        font-size: 24px;
    }

    .single-our-service {
        padding: 15px;
    }

    .single-our-service h4 {
        font-size: 18px;
    }

    .single-our-service p {
        font-size: 13px;
    }

    .single-our-service .img-box img {
        height: 180px;
    }
}

/* Tablet responsiveness */
@media (min-width: 768px) and (max-width: 991px) {
    .single-our-service h4 {
        font-size: 19px;
    }

    .single-our-service p {
        font-size: 13px;
    }
}

/* PC view */
@media (min-width: 992px) {
    .single-our-service .img-box img {
        height: 200px;
    }

    .single-our-service {
        padding: 20px;
    }
}

.our-services .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.our-services .col-md-4 {
    display: flex;
    flex-direction: column;
}

/* Card Flex Layout */
.single-our-service {
    text-align: center;
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Ensure consistent image sizing */
.img-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 200px;
}

/* Mobile Specific Styling */
@media (max-width: 767px) {

    .our-services .row {
        flex-direction: column;
    }

    /* Keep the card order consistent */
    .our-services .col-md-4 {
        max-width: 100%;
        order: initial;
    }

    /* Styling the "Generator" title */
    .our-services h2 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 15px;
    }

    .our-services .section-title {
        text-align: center;
        padding-bottom: 15px;
    }

    .single-our-service {
        margin-bottom: 20px;
    }
}