﻿

@media (max-width: 768px) {
    #mainNavbar {
        top: 0;
        background-color: #44647F;
    }

    .button {
        font-size: 1.25rem;
        padding: 4px 8px;
        font-size: 1rem;
    }

    .hero-section {
        height: auto;
        padding-top: 50px;
    }

    

    .slider-text {
        align-items:start;
    }

        .slider-text div {
            font-size: 1.1rem;
            line-height: 1.2rem;
            display: flex;
            align-items: center;
            text-align:start;
            white-space: normal;
            overflow-wrap: break-word;
            word-break: break-word;
        }
    /*---------------- service section -----------------*/
    .services-strip {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .service-box {
        display: flex;
        flex-direction: column;
        height: 70px;
        width: 100%;
    }


        .service-box.active {
            width: 100%;
            height: auto;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }

    .service-header {
        writing-mode: horizontal-tb;
        transform: rotate(0deg);
        height: 20%;
        display: flex;
        padding: 15px 0;
    }

    .service-body {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 0 20px;
    }

    .service-box.active .service-body {
        opacity: 1;
        display: block;
        padding: 10px;
    }

    /*----------  Why US ------------*/

    .timeline-block {
        margin-bottom: 30px;
    }
    
    .timeline-content h5 {
        margin-top: 0;
        font-size: 18px;
        letter-spacing: 2px;
    }

    /*--------- Testimonial --------*/
    #testimonialCarousel {
        height: auto;
    }

    /*---------- About Detail page ----------*/
    .about-image .circle-image {
        width: 350px;
        height: 230px;
    }

    .about-pic {
        height: 200px;
    }
    
    /*------ Service Datail Page ------*/
    .service-img {
        height: 100%;
    }
}

@media (min-width: 768px) {
    .hero-section {
        height: auto;
    }
}
@media (min-width: 768px) and (max-width: 1000px) {
    .nav-link {
        padding: 0 5px !important;
        font-size: 0.85rem;
    }
}


