@media (min-width: 1200px) {
    .navbar .nav-item a {
        padding: 0 24px !important;
        font-size: 17px;
    }

}

@media (min-width: 1300px) {
    .container {
        max-width: 1260px;
    }
}


@media (min-width: 1500px) {
    .team-sec .col-xl-3 {
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }

    .about-sec figure::after {
        display: none;
    }

    .container {
        max-width: 1480px;
    }
}

/* ==== */

@media (max-width: 1199.98px) {
    .navbar .nav-item a {
        padding: 0 14px !important;
        font-size: 16px;
    }

    .cont-sec .d-flex .img-wr {
        width: 42%;
        max-width: 42%;
        margin-top: 1rem;
    }
}

@media (max-width: 1199.98px) and (min-width: 768px) {
    .parent {
        height: 800px;
        max-height: 800px;
    }

}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .about-sec .items {
        left: 0;
    }

    .about-sec .items .item {
        padding: 12px;
    }

    .about-sec .items .item img {
        max-height: 48px;
    }

    .about-sec .items .item .txt {
        font-size: 15px;
    }


    .serv-card .img-wr svg {
        max-height: 230px;

    }

    .serv-card .bold {
        margin-bottom: 0;
    }

    .form-style {
        padding: 30px;
    }

    .form-style .form-group {
        padding: 0.75rem !important;
        margin-bottom: 1.25rem;
    }

}

@media (min-width: 992px) {
    .navbar .nav-item a {
        position: relative;
        height: 80px;
        line-height: 80px;
        overflow: hidden;
    }

    .navbar .nav-item a::after,
    .navbar .nav-item a::before {
        content: "";
        position: absolute;
        width: 12%;
        height: 12%;
        z-index: -1;
        transition: height 300ms ease-out,
            width 300ms ease-out,
            opacity 150ms ease-out 100ms;
    }

    .navbar .nav-item a::after {
        bottom: 0;
        right: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0) 10%, rgba(100, 107, 247, 0.45) 100%);
        transform: translateX(100%) translateY(100%);
    }

    .navbar .nav-item a::before {
        top: 0;
        left: 0;
        background: linear-gradient(315deg, rgba(255, 255, 255, 0) 10%, rgba(207, 18, 90, 0.45) 100%);
        transform: translateX(-100%) translateY(-100%);
    }

    .navbar .nav-item a:hover::before,
    .navbar .nav-item a:hover:after {
        transform: translateX(0) translateY(0);
        opacity: .28;
        width: 100%;
        height: 100%;
    }

    #navbarNav .wr {
        margin: auto;
    }

    .nav-abs {
        right: 0;
        padding: 0 1rem;

    }

    .navbar-expand-lg .navbar-collapse {
        padding-right: 8rem;
    }

    .about-sec figure {
        margin-top: -8%;
    }
}

@media (max-width: 991.98px) {

    .navbar-collapse {
        display: flex !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1200;
        top: 0;
        left: 0;
        justify-content: flex-start;
        margin-left: -100%;
        display: none;
        transition: margin .4s ease-out;
        background-color: rgba(0, 0, 0, 0.7);
    }

    .collapse:not(.show) {
        margin-left: -100%;
        visibility: hidden;
        display: none !important;
    }

    .navbar-toggler {
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    .navbar-collapse.show {
        visibility: visible;
        display: flex;
        margin-left: 0 !important;
    }

    .navbar-collapse .wr {
        position: relative;
        height: 100%;
        width: 240px;
        margin-left: -100%;
        box-shadow: 14px 0 28px rgba(0, 0, 0, .5),
            10px 0 10px rgba(0, 0, 0, .3);
        overflow-y: auto;
        transition: margin .6s ease-out;
        background-color: #1B1B22;
        padding-bottom: 10px;
        background-image: url(../pic/Frame\ 33\ 1.png);
        background-repeat: no-repeat;
        background-position: bottom left;
    }

    /* 
    .navbar-collapse .wr::after {
        content: '';
        z-index: 0;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, #22223D 33.62%, #3E3E61 99.85%);
        opacity: .8;
    } */

    .wr .menu-top {
        background: linear-gradient(0deg, rgba(255, 255, 255, 0) 10%, rgba(37, 40, 91, 0.45) 100%);
    }

    .navbar-collapse .wr ul {
        height: calc(100% - 146px);
        overflow-y: auto;
        padding: 1rem 0;
        position: relative;
        z-index: 2;
    }

    /* width */
    .navbar-collapse .wr ul::-webkit-scrollbar {
        width: 10px;
    }

    /* Track */
    .navbar-collapse .wr ul::-webkit-scrollbar-track {
        box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.773);
        background-color: #0000003d;
        border-radius: 8px;
    }

    /* Handle */
    .navbar-collapse .wr ul::-webkit-scrollbar-thumb {
        background: #595858;
        border-radius: 8px;
    }

    .navbar-collapse.show .wr {
        margin: 0;
    }

    .navbar .nav-item a {
        padding: 0 30px !important;
        margin-bottom: 4px;
        /* line-height: 44px; */
    }

    .navbar .container {
        padding: 0 .75rem;
    }


    .parent .slide {
        flex-wrap: wrap;
    }

    .main-slider {
        max-height: 800px !important;
        padding-bottom: 20px;
    }

    .parent .slide .text-wr,
    .parent .slide .img-wr {
        width: 100%;
        padding: 0;
        height: 50%;
        display: flex;
        text-align: center;
        justify-content: center;
    }

    .parent .slide .text-wr {
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
    }

    .slide .text-wr .btn-wr .inner {
        justify-content: center;
    }

    .parent .slide .btn {
        box-shadow: 0 2px 5px #15151c70;
    }

    .parent .slide .text-wr>div {
        width: 100%;
    }

    .sec-title {
        font-size: 32px;
    }

    .site-footer .row {
        justify-content: space-between !important;
    }
}

@media (max-width: 991.98px) and (min-width: 768px) {
    .about-sec figure::after {
        padding: 45% 0;
        width: 85%;
    }



}

@media (max-width: 767.98px) {
    .blog-card .c-content {
        padding: 1.5rem 1rem;
    }

    .blog-card .date {
        margin-bottom: 10px;
    }

    .blog-card .c-title {
        margin-bottom: 14px;
        font-size: 17px;
    }

    .main-sec {
        padding: 5rem 0;
    }

}

@media (max-width: 575px) {

    .parent .slide .outer h1 {
        font-size: 32px !important;
    }

    .parent .slide .outer h2 {
        font-size: 24px;
    }

    .navbar {
        min-height: 60px;

    }

    .navbar-brand img {
        height: 54px;
    }

    .nav-abs {
        height: 70px;
    }

    .navbar-toggler {
        padding: 4px;
    }

    .navbar .btn-style1 {
        padding: 6px 12px;
    }

    .about-sec .items .item {
        padding: 12px;
    }

    .about-sec .items .item img {
        max-height: 44px;
    }

    .about-sec .items .item .txt {
        font-size: 14px;
    }

    .about-sec .items {
        top: 22%;
        bottom: 22%;
    }

    .sec-title {
        font-size: 28px;
    }

    .team-card {
        max-width: 300px;
        margin: auto;
    }

    .cont-sec,
    .main-sec {
        padding: 4rem 0;
    }

    .more-wr .btn {
        margin-top: 2rem;
    }

    .about-sec .gr-txt {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .parent .slide .outer h1 {
        font-size: 30px !important;
    }

    .parent .slide .outer h2 {
        font-size: 22px;
    }

    .about-sec .btn-style2,
    .banner .btn-style2 {
        height: 46px;
        line-height: 34px;
        width: 160px;
        margin-top: 1rem;
        font-size: 16px;
    }

    .sec-top {
        flex-wrap: wrap;
    }

    .sec-top>div {
        width: 100%;
    }

    .sec-top .btns {
        text-align: end;
        margin: 0;
        width: 100%;
        padding-bottom: 4px;
    }

    .cont-sec,
    .main-sec {
        padding: 3.5rem 0;
    }

    .team-sec .gr-txt {
        font-size: 16px;
    }

    .con-txt h4 {
        font-size: 24px;
    }

    .cont-sec .info-wr {
        padding-left: 10px;
        flex-grow: 1;
    }

    .cont-sec .d-flex .img-wr {
        margin-top: 0;
        align-items: center;
    }

    .cont-sec .info-card svg {
        height: 16px;
        margin-right: 0;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
    }

    .about-sec .btn-style2,
    .btn-style2.big-btn {
        font-size: 15px;
        font-weight: 400;
    }

    .proj-sec .more-wr .btn {
        margin-top: 1rem;
    }

    .more-wr .btn {
        margin-top: 1.5rem;
    }

    .blog-card p {
        font-size: 14px;
    }

    .med-btn {
        font-size: 14px;
    }

    .big-btn,
    .about-sec .btn-style2 {
        height: 46px;
        line-height: 36px;
        box-shadow: 0 3px 6px #15151cc1;
        width: 166px !important;
    }

    section.about-sec {
        padding-bottom: 0 !important;
    }

    .about-sec figure {
        margin-top: -2rem;
    }

    .about-sec figure {
        min-height: 420px;
    }
}

@media (max-width: 400px) {
    .cont-sec .info-card {
        padding: 14px 8px;
        margin-bottom: 14px;
    }

    .cont-sec .d-flex .img-wr {
        width: 32%;
        max-width: 32%;
    }

    .cont-sec .info-card.soc a {
        width: 34px;
        height: 34px;
    }

    .cont-sec .info-card.soc a svg {
        height: 16px !important;
    }

    .form-style {
        padding: 32px;
    }

    .cont-sec .info-wr {
        padding: 0;
    }

    .site-footer .f-title {
        font-size: 20px;
    }

    .sec-title {
        font-size: 25px;
    }

    .form-style label {
        font-size: 13px;
    }

    .form-style .form-group {
        margin-bottom: 1rem;
    }

}

@media (max-width: 767.98px) and (orientation: landscape) {
    .parent {
        height: 120vw;
    }
}