/* 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
    }
    
    ul li i {
        font-size: 12px;
    }
    
    ul {
        --icon-space: 25px;
    }

    .sec {
        padding: 65px 0;
    }

    .highlight-sec {
        padding: 70px 0;
    }

    .grid-4 {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-sm-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner {
        padding: 50px 30px;
    }

    .primary-card {
        padding: 25px 20px;
    }

    .img-container .img-highlight {
        bottom: -23px;
        right: -10px;
    }
    
    .img-container .img-highlight-left {
        right: unset;
        left: -10px;
    }

    .box-border {
        margin: 0 1px !important;
        padding: 25px 10px;
    }

    .card-box {
        padding: 35px 20px;
    }

    .blog-cards {
        grid-template-columns: repeat(1, 1fr);
    }

    .blog-cards .first-card {
        grid-column: span 1;
    }

    .blog-cards .first-card .blog-img {
        height: 260px !important;
    }

    .blog-cards .first-card .card-con {
        padding: 40px 30px;
    }

    .timeline-points .icon::before {
    height: 90px;        
    }

    .map-info-box {
        display: none;
    }

    .blog-post-img {
        height: 215px;
    }

    .newsletter-form {
        flex-wrap: wrap;
    }

    .contact-form-con {
        padding: 45px 25px;
    }

}

/* mobile-tablet */
@media (max-width: 1023px) {

    .mt-md-3 {
        margin-top: 3rem;
    }

    .sec {
        padding: 60px 0;
    }

    .highlight-sec {
        padding: 60px 0;
    }

    .navbar {
        display: none !important;
    }

    .mob-nav {
        --mobile-nav: 75px;
        padding-bottom: var(--mobile-nav);
    }

    .mob-nav-con {
        top: 0;
        position: fixed !important;
        width: 100%;
        height: var(--mobile-nav);
        background: #ffffff !important;
        transition: 0.5s ease;
        display: flex;
        justify-content: center !important;
        z-index: 999 !important;
        border-bottom: 1px solid #E5E7EB;
    }

    .mob-nav-overlay {
        position: fixed;
        width: 100vw;
        height: 100vh;
        transform: translate(100%, 0);
        display: none;
        transition: 0.8s ease;
        background-color: #ffffff;
        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 #F06858;
        border-radius: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mob-nav button.nav-toggle i {
        font-size: 25px;
        color: #F06858;
    }

    .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;
    }

    ul.sub-menu {
        grid-template-columns: repeat(1, 1fr);
    }

    .mob-nav a.nav-link {
        color: #F06858;
        padding: 15px 2px;
        border: none;
        border-bottom: 2px solid #F06858;
        width: 100% !important;
        border-radius: 0;
    }

    .mob-nav a.nav-link:hover {
        border: none;
        border-bottom: 2px solid #F06858;
        color: #F06858;
    }

    .mob-nav a.nav-link:last-child {
        border-bottom: none;
    }

    .mob-dropdown {
        width: 100%;
    }

    .dropdown-btn {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    .mob-dropdown.open > a.nav-link {
        border-bottom: 2px solid #ffffff00;
    }

    .mob-dropdown.open .dropdown-btn i {
        transform: rotate(0deg);
        transition: 0.3s ease;
    }

    .mob-dropdown.open .dropdown-btn i {
        transform: rotate(180deg);
    }

    .dropdown-content {
        max-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        background-color: #E5E7EB;
        padding: 0 18px;
        border-radius: 10px;
        transition: max-height 0.35s ease;
    }

    .testimonials-toggle {
        display: none;
    }

    .features {
        flex-direction: column;
    }

    .border-between {
        min-height: 1px;
        min-width: 80px;
        background-color: #618689;
    }

    .features {
        grid-template-columns: repeat(1, 1fr);
    }

    .feat {
        padding-right: 0px;
        border-right: none;
        padding-bottom: 20px;
        border-bottom: 1px solid #618689;
    }

    .feat:last-child {
        padding-bottom: 0px;
        border-bottom: none;
    }

    .cta-sec {
        padding: 50px 35px;
    }


    /* footer */
    .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: 10px;
    }

    .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;
    }

    .price-card-2 {
        flex-wrap: wrap;
        gap: 18px;
        justify-content: space-between;
    }

    .blog-cards .first-card {
        grid-template-columns: repeat(1, 1fr);
    }

    .blog-post-img {
        border-radius: 15px;
        box-shadow: 10px 20px 25px rgba(0, 0, 0, 0.2);
        margin: 30px 0 30px;
    }

}

/* tablet */
@media (min-width: 768px) and (max-width: 1023px) {

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-cards .first-card {
        grid-column: span 2;
    }

    .blog-cards .first-card .blog-img {
        height: 310px !important;
    }

    .contact-card {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact {
        flex-direction: column;
    }

    .embed-map-responsive {
        height: 125px;
    }

    .blog-post-img {
        height: 285px;
    }

    .box-border {
        padding: 30px 20px;
    }

}

/* 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;
    }

    .banner h1 {
        font-size: 54px;
    }

    .sec-head h1 {
        font-size: 48px;
    }

    .sec-head h2 {
        font-size: 38px;
    }

    .cta-sec h2 {
        font-size: 48px;
    }

}

/* desktop */
@media (min-width: 1024px) {

    .mob-nav {
        display: none !important;
    }

    .sec-l {
        padding-left: 0px !important;
        padding-right: 1.5rem !important;
    }

    .sec-r {
        padding-left: 1.5rem !important;
        padding-right: 0px !important;
    }

    .sec-r, .sec-l {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .side-bar {
        transition: 0.5s ease;
        position: sticky;
        top: 100px;
    }


    .blog-header .title h1 {
        padding-right: 100px;
    }

}