:root {
    --bg-color-1: #262c8a;
    --bg-color-2: #f0f0f0;
    --text-weight: 600;
    --btn-bg: #12d6dc;
}
@media (max-width: 991px){
    .two_btn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .navbar-toggler {
        color: #fff;
        font-size: 2rem;
    }
}
@media (max-width: 820px) {
    .container {
        max-width: 90% !important;
        padding: 0 !important;
        overflow: hidden;
    }

    .box_haeder {
        gap: 15px;
    }

    /* nav */
    header {
        position: relative;
    }

   
    .navbar-nav {
        gap: 20px !important;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 15px 0;
    }

        .navbar-nav li {
            width: 100%;
        }

            .navbar-nav li a {
                text-align: center;
                width: 100%;
                border: solid 2px var(--btn-bg);
                border-radius: 10px;
            }

    .navbar-toggler {
        color: #fff;
        font-size: 2rem;
    }

    header .nav_btn a {
        padding: 10px;
        font-size: 1rem;
    }

    /* main */
    .hero {
        height: 65vh;
    }

        .hero .row {
            align-items: center;
        }

        .hero h3 {
            line-height: 30px;
            font-size: 1.1rem;
        }

        .hero h1 {
            font-size: 1.8rem;
        }

        .hero .nav_btn {
            font-size: 0.8rem;
        }

    /* about us */
    .about_us figure {
        width: 40%;
    }

    .h4 {
        font-size: 1rem;
    }

    .about_us h3 {
        font-size: 1.1rem;
        line-height: 30px;
    }

    /* expertise */
    .expertise {
        padding: 50px 0;
        background-position: top 0px right -50px;
    }

        .expertise h3 {
            font-size: 1rem;
        }

        .expertise .nav_btn {
            font-size: 1.1rem;
        }

    /* backnormal */

    .backnormal h2:first-of-type {
        width: 100%;
        font-size: 1.5rem;
        line-height: 40px;
    }

    .li {
        margin-top: 8px;
        font-size: 15px;
        width: 100%;
    }

    .backnormal .li {
        width: 100%;
        font-size: 1rem;
    }

    .backnormal .row {
        gap: 50px 0;
    }

    .backnormal .col-xl-5 {
        justify-content: center !important;
    }

    .backnormal_btn {
        font-size: 1.2rem;
    }

    .backnormal_img {
        width: 350px;
        height: 350px;
    }

    .allsection2 {
        margin-top: 80px;
    }

    /* why us */
    .why_us .row {
        gap: 60px 0;
    }

    .why_us .col-xl-5 {
        justify-content: center !important;
    }

    .why_text li {
        font-size: 1.1rem;
    }

    /* articles */
    .articles .row {
        gap: 40px 0;
    }

    .articles .container {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .h2 {
        font-size: 1.5rem;
    }

    .article_single .date h2 {
        font-size: 1.5rem;
    }

    .article_single .date p {
        font-size: 0.8rem;
    }


    .article_single .card-btn {
        font-size: 0.8rem;
    }

    .article_single .last {
        padding: 15px 20px 15px 50px;
        font-size: 1.1rem;
    }

    /* comments */

    .swiper-slide {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .header_top {
        padding: 7px;
    }

    .expertise h2 {
        font-size: 20px;
    }

    .backnormal h2:first-of-type {
        font-size: 1rem;
    }

    .article_single {
        padding: 15px;
    }
}

@media (max-width: 567px) {
    .hero {
        min-height: 65vh;
        height: 100%;
    }

        .hero figure {
            max-width: 50%;
        }

        .hero .col-xl-6:nth-of-type(1) {
            margin-top: 0 !important;
        }

        .hero .row {
            gap: 20px 0;
        }

        .hero h3 {
            line-height: 100px;
        }

    .form-header,
    .header-bar,
    .btn-submit {
        padding: 10px;
    }

        .form-header h1,
        .header-bar {
            font-size: 18px;
        }

    .locations .row {
        gap: 0;
    }

    .card-title {
        font-size: 1rem;
    }

    .articles {
        padding: 30px 0;
    }

    .comments,
    .consult-form {
        padding: 5px 0 30px;
    }

    .articles .container {
        gap: 20px;
    }

    .article_single {
        padding: 10px;
    }

    .h2 {
        font-size: 1rem;
        padding: 10px 0;
        width: 100%;
        margin-bottom: 15px !important;
    }

    .article_single .last {
        padding: 10px 10px 10px 40px;
        font-size: 0.9rem;
    }

    .expertise h3 {
        font-size: 0.8rem;
    }

    .backnormal .li {
        font-weight: 500;
        width: 100%;
    }

    .why_text li {
        font-size: 0.9rem;
        font-weight: 400;
    }

    .box_haeder {
        gap: 10px;
        justify-content: center;
    }

    .single {
        font-size: 0.8rem;
    }

    .social_icons {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .social_iconsItems {
        font-size: 25px;
        color: var(--bg-color-1);
        cursor: pointer;
    }

    /* nav */
    .navbar-brand figure {
        width: 40px;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navbar-nav {
        gap: 20px !important;
    }

    header .nav_btn {
        padding: 0;
    }

    .nav_btn a {
        font-size: 0.8rem !important;
    }

    .navbar-toggler {
        font-size: 1.5rem;
    }

    /* main */

    .hero video {
        display: none;
    }

    .hero .row {
        align-items: center;
    }

    .hero h3 {
        line-height: 30px;
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .nav_btn {
        font-size: 0.8rem;
    }

    footer {
        margin-top: 30px;
    }
}
