/* mobile */
@media (max-width: 767px) {

    .mt-sm-3 {
        margin-top: 1.5rem !important;
    }

    .mb-sm-3 {
        margin-bottom: 1.5rem !important;
    }

    .gap-y-sm-3 {
        row-gap: 3rem
    }

    .sec {
        margin-top: 70px;
    }

    .sec-img {
        height: 250px;
    }

    .cat-header {
        flex-direction: column;
        align-items: center;
        gap: 20px;   
    }

    .hmbanner {
        position: relative;
        width: 100%;
        overflow: hidden;
        background-image: url(../images/banner-bg-mob.png);
    }

    .hmbanner .mySwiper {
        height: auto;
        padding: 30px 0px;
    }
    
    .hmbanner .swiper-button-prev,
    .hmbanner .swiper-button-next {
        display: none;
    }

    .categories {
        gap: 80px;
    }

    .boost-sec {
        flex-direction: column;
        gap: 20px;
    }

    .boost-sec .r-part,
    .boost-sec .l-part {
        width: 100%;
    }

    .boost-sec .r-part .icon-con {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }

    .boost-sec .r-part .icon-con > img {
        width: 15%;
        height: auto;
        transform: rotate(-90deg);
    }

    .boost-sec .r-part .con {
        width: 100%;
    }

    .boost-sec .r-part {
        flex-direction: column-reverse;
        padding: 30px 20px 70px;
    }

    .blogs-grid {
        grid-template-columns: repeat(1, 1fr);
    }    

    .features-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .theme-card-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .table-sec {
        overflow-x: scroll;
        width: 100%;
    }

    .table-sec .table-con {
        width: 180vw;
    }

    .testimonials {
        margin-bottom: 100px !important;
    }

    .testimonials .swiper-button-prev,
    .testimonials .swiper-button-next {
        transform: translateY(270px);
        position: absolute;
        bottom: 0;
    }

    .testimonials .swiper-button-next {
        right: 35%;
    }

    .testimonials .swiper-button-prev {
        left: 35%;
    }

    
    .brands .swiper-button-prev,
    .brands .swiper-button-next {
        display: none;
    }

    .brands .swiper {
        margin-left: 0;
        margin-right: 0;
    }

    .product-nav .swiper-button-prev,
    .product-nav .swiper-button-next {
        display: none;
    }

}

/* mobile-tablet */
@media (max-width: 1023px) {

    .mt-md-3 {
        margin-top: 3rem;
    }

    .navbar {
        display: none;
    }

    .mob-nav {
        --mobile-nav: 75px;
        padding-bottom: var(--mobile-nav);
    }

    .highlight-sec {
        padding: 40px 0;
    }

    .mob-nav-con {
        top: 0;
        position: fixed !important;
        width: 100%;
        height: var(--mobile-nav);
        background: #2C3690 !important;
        transition: 0.5s ease;
        display: flex;
        justify-content: center !important;
        z-index: 999 !important;
    }

    .mob-nav-overlay {
        position: fixed;
        width: 100vw;
        height: 100vh;
        transform: translate(100%, 0);
        display: none;
        transition: 0.8s ease;
        background-color: #2C3690;
        z-index: 998;
        padding-top: calc(var(--mobile-nav) + 15px);
        padding-bottom: var(--mobile-nav);
    }

    .mob-nav-overlay .container {
        height: 100% !important;
    }
    
    .mob-nav button.nav-toggle {
        width: 40px !important;
        height: 40px !important;
        background: transparent;
        border: 3px solid #EBE9DA;
        border-radius: 100px;
        padding: 7px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mob-nav button.nav-toggle::before {
        content: "";
        background-image:url(../images/icons/nav-toggle.svg) !important;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
    }

    .mob-nav .mob-nav-inner {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 30px;
        height: 100% !important;
    }

    .mob-nav .nav-links {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: start;
        gap: 0px;
        height: fit-content;
        width: 100% !important;
    }

    .mob-nav a.nav-link {
        font-weight: 500;
        font-size: 15px;
        line-height: 100%;
        transition: 0.4s ease;
        color: #2C3690;
        padding: 15px 0px 12px;
        border-bottom: 2px solid #EBE9DA;
        width: 100% !important;
        border-radius: 0;
    }

    .mob-nav a.nav-link:hover {
        background-color: unset;
    }

    .mob-nav a.nav-link:last-child {
        border-bottom: none;
    }

    .mob-nav a.nav-link:hover {
        transform: unset;
    }

    .mob-dropdown {
        width: 100%;
    }

    .dropdown-btn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 14px 0;
    }

    .dropdown-icon {
        width: 12px;
        height: 12px;
        transition: 0.5s ease;
        background-image: url(../images/icons/dropdown-icon.png);
        background-size: contain;
        background-repeat: no-repeat;
    }

    .mob-dropdown.open .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-content {
        max-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        background-color: #1a236d;
        padding: 0 18px;
        border-radius: 10px;
        transition: max-height 0.35s ease;
    }

    .search > img {
        position: absolute;
        left: 16px;
        top: 8px;
    }

    .search-input {
        width: 100%;
        height: 35px;
        padding: 0 16px 0 45px;
        border: 2px solid #EBE9DA;
        border-radius: 30px;
        color: #EBE9DA;
        font-size: 17px;
        font-weight: 500;
        background-color: transparent;
        outline: none;
    }

    .search input::placeholder {
        color: #EBE9DA;
        opacity: 1;
    }
    
    .search-results {
        background-color: #1a236d;
        padding: 0 18px;
        border-radius: 10px;
        transition: 0.5s ease;
    }

    .search-results li {
        color: #EBE9DA;
        border-bottom: 2px solid #EBE9DA;
    }

    .search-results li:nth-child(even) {
        background-color: unset;
    }

    .search-results li:hover {
        color: #ffffff;
        background: #2C3690;
        border-radius: 12px;        
        border-bottom: 2px solid #2C3690;
    }

    .search-results li:before {
        display: none;
    }
    
    .gap-y-md-0 {
        row-gap: 0;
    }

    .hmbanner .swiper-slide .bn-inner {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 50px;
    }

    .hmbanner .bn-inner .bn-image {
        width: 100%;
    }

    .hmbanner .swiper-slide .hm-bn-con {
        width: 100%;
    }

    .banner {
        height: fit-content;
        padding: 80px 0;
    }

    #blogs-bn, #contact-bn {
        height: fit-content;
    }

    #blogs-bn .bn-inner,
    #contact-bn .bn-inner {
        align-items: start;
    }

    #blogs-bn .bn-inner h1, #blogs-bn .bn-inner p,
    #contact-bn .bn-inner h1, #contact-bn .bn-inner p {
        text-align: start;  
    }

    .banner .bn-inner {
        width: 100%;
    }
    

    .brands .swiper-button-prev,
    .brands .swiper-button-next {
        transform: translateX(0px);
    }

    .brands .swiper {
        margin-left: -1em;
        margin-right: -1em;
    }

    .stats-inner {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        position: relative;
        gap: 25px;
        z-index: 3;
    }

    .stats-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .stat p {
        text-align: center;
        max-width: 100%;
    }

    .stats-con {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        text-align: center;
    }

    .product-gal {
        flex-direction: column;
    }

    .product-gal .main-swiper .swiper-slide {
        padding: 20px 10px;
    }

    .product-gal .main-swiper .swiper-slide img {
        height: auto;
        width: 100%;
    }

    .thumbs-swiper {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }

    .specs-sec {
        flex-direction: column;
    }

    .specs-sec .specs-con {
        width: 100%;
        padding: 50px 30px;
        align-items: start;
    }

    .specs-sec .specs-con .spec h4,
    .specs-sec .specs-con .spec p {
        text-align: start;
    }

    .specs-sec .features-con {
        width: 100%;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    .cta-con .sec-head {
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.3rem;
    }

    .cta-con p {
        text-align: center;
    }

    .cta-btn {
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }
    
    .ft-logo {
        width: 150px;
    }

    .ft-logo img {
        width: 100%;
    }

    .ft-col {
        margin-top: 3rem;
    }

    .ft-bottom {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        position: relative;
        min-height: 38px;
        gap: 20px;
    }

    .socials {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        width: 100%;
        position: static;
    }

    .ft-bottom p {
        width: fit-content;
        alignment-baseline: middle;
        text-align: center;
    }

    .contacts-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* tablet */
@media (min-width: 768px) and (max-width: 1023px) {

    .sec-img {
        height: 340px;
    }

    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .theme-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* tablet-desktop */
@media (min-width: 768px) {    

    .mt-sm-3 {
        margin-top: 0 !important;
    }

    .mb-sm-3 {
        margin-bottom: 0 !important;
    }
    
    .pr-md-0 {
        padding-right: 0 !important;
    }

    .pl-md-4 {
        padding-left: 4rem;
    }

    .px-md-0 {
        padding-left: 0;
        padding-right: 0;
    }

    .sec-l {
        padding-left: 0px !important;
        padding-right: 1.5rem !important;
    }

    .sec-r {
        padding-left: 1.5rem !important;
        padding-right: 0px !important;
    }
    

}

/* desktop */
@media (min-width: 1024px) {

    .mob-nav {
        display: none !important;
    }

    .sec-img {
        max-height: 420px;
    }

    .sec-r, .sec-l {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

}