@media (max-width: 991px) {
    .container {
        padding: 0 15px;
    }
    .r-container {
        padding: 0;
    }
    footer {
        padding-bottom: 30px;
    }
    .service-area {
        padding: 30px 0;
    }
    .section-title h3 {
        font-size: 30px;
    }
    .contact-form button {
        max-width: 150px;
        height: 52px;
        font-size: 20px;
    }
    .area-image {
        text-align: center;
        margin-bottom: 20px;
    }
    .link-btn {
        max-width: 150px;
        height: 53px; 
        font-size: 20px; 
    }
    .service-image img {
        max-width: unset;
        width: 100%;
    }
    .main-header {
        padding: 10px 0;
    }
    nav.navbar {
        height: unset;
    }
    .main-header .navbar-brand {
        position: unset;
        top: 0;
        background: transparent;
        padding: 0 !important;
        display: flex;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        margin-left: 0 !important;
        padding-left: 15px !important;
    }
    .main-header .navbar-brand img {
        max-height: 80px;
    }
    .top-contact-detail ul { 
        padding: 10px 0;
    }
    .top-contact-detail ul li {
        font-size: 15px;
    }
    #navbarNav {
        position: absolute;
        top: 90px;
        z-index: 2;
        background: #9d2123;
        width: 100%;
        padding: 0;
    }
    .nav-item a { 
        font-size: 18px; 
        margin-left: 50px;
        margin-left: 0;
        padding: 0 10px !important;
    }
    .nav-item a:hover {
        color: #fff;
    }
    .nav-item {
        margin: 5px 0;
    }
    .nav-link:focus, .nav-link:hover {
        color: #fff;
    }
    .o-hidden {
        overflow: hidden;
    }
    .navbar-nav {
        height: 100vh;
    }
}

@media (max-width: 767px) {
    .copyright-part {
        flex-direction: column;
    }
    .social-link {
        margin-bottom: 10px;
    }
    .abt-image {
        text-align: center;
        margin-bottom: 20px;
    }
    .section-title h3 {
        font-size: 30px !important;
    }
    .abt-image img {
        max-width: 300px;
    } 
    .service-content .for-use, .service-content .service-name {
        font-size: 20px;
    }
    .banner-section .item {
        height: 500px;
    }
    .banner-section h1 {
        font-size: 40px;
    }
}

@media (max-width: 575px) {
    .f-logo a img {
        max-width: 180px;
    }
    .f-title h4 {
        font-size: 22px;
    }
    footer address,.f-c-detail,.f-link a {
        font-size: 16px;
    }
    .copyright-part span {
        font-size: 14px;
    }
    .social-link li a {
        width: 35px;
        height: 35px;
    }
    .social-link li a i {
        font-size: 16px;
    }
    .section-title h3 {
        font-size: 25px !important;
    }
    .abt-image img {
        max-width: 250px;
    }
    .top-contact-detail ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .banner-section h1 {
        font-size: 30px;
    }
    .top-contact-detail ul {
        padding: 5px 0;
    }
    .main-header .navbar-brand img {
        max-height: 60px;
    }
    #navbarNav {
        top: 70px;
    }
}