@media screen and (max-width:1299px) {
    .left-img img {
        width: 100%;

    }

    .parallax-text h1 {
        font-size: 48px;
        position: absolute;
        left: 153px;
    }
}

@media screen and (max-width:1024px) {
    .hero-section h1 {
        font-size: 38px;
    }

    .parallax-text h1 {
        font-size: 39px;
        position: absolute;
        left: 126px;
    }

    .why-choose {
        width: 100%;
    }
}

@media screen and (max-width:992px) {
    .hero-section h1 {
        font-size: 32px;
    }

    #hero .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}


@media screen and (max-width:768px) {

    .nav-menu {
        display: none;
    }

    .hero-section {
        width: 100%;
        text-align: center;
        left: 50%;
        top: 60%;
    }

    .hero-bg::after {
        content: "";
        position: absolute;
        background-color: #000;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.3;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .hero-section p {
        font-size: 14px;
    }

    .hero-buttons {

        align-items: flex-start;
    }

    a.btn-outline {
        padding: 11px 10px;
        font-size: 16px;
    }

    a.btn-primary {
        padding: 11px 10px;
        font-size: 16px;

    }

    .about-text p {
        font-size: 13px;
    }



    .nav-menu {
        position: fixed;
        background-color: #bea380;
        left: 0;
        height: 100%;
        z-index: 999;
        top: 0;
        bottom: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease-in-out;
    }

    .nav-menu-active {
        visibility: visible;
        opacity: 1;
    }

    .nav-menu nav ul {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 2.2rem;
        margin: 0;
        flex-direction: column;
        padding: 25px 15px;
    }

    .nav-side {
        display: flex;
    }

    .hero-section h1 {
        color: white;
    }

    .hero-section p {
        color: white;
    }

    .hero-buttons {
        display: none;
    }

    .service-card {
        min-height: none;
    }

    .parallax {
        height: 60vh;
    }

    .team-card {
        margin: 0px 10px;
    }

    .footer-nav {
        display: none;
    }

    .copyright-text {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-media {
        gap: 15px;
    }

    .header {
        top: 0;
        background: rgba(248, 246, 239, 1);
        position: fixed;
        z-index: 2;
        width: 100%;
    }

    .logo img {
        width: 125px;
    }

}




@media screen and (max-width:575px) {
    .service-card {
        min-height: none;
    }


    .hero-section h1 {
        font-size: 24px;
    }

    .hero-section p {
        margin-top: 1rem;
        font-size: 13px;
    }

    .hero-bg img {
        object-fit: cover;
        object-position: top;
    }

    .hero-section {
        padding: 12px 25px;
        color: #fff;
    }

    a.btn-primary {
        padding: 9px 20px;
        font-size: 13px;
    }

    a.btn-outline {
        padding: 9px 20px;
        font-size: 13px;

    }

    .hero-bg img {
        height: 75vh;
    }

    br {
        display: none;
    }

    .parallax-text h1 {
        font-size: 39px;
        position: absolute;
        left: 53px;
        text-align: center;
    }

    .call-sticky {
        right: 20px;
        padding: 10px 12px;
        font-size: 17px;
    }

    .wtsapp-sticky {
        right: 20px;
        padding: 4px 7px;
        font-size: 25px;
    }
}


@media screen and (max-width:425px) {
    br {
        display: none;
    }

    .hero-section h1 {
        font-size: 27px;
        justify-content: center;
        color: #fff;
        margin-bottom: 0;
    }

    a.btn-primary {
        padding: 5px 37px;
        font-size: 13px;
    }

    .parallax-text h1 {
        font-size: 22px;
        position: absolute;
        left: 3px;
        text-align: center;
    }

    h2.section-title {
        font-size: 25px;
    }

    .why-item h5 {
        font-size: 16px;
    }

    .why-item p {
        font-size: 13px;
    }

    h2.section-title {
        font-size: 13px;
    }

    a.btn-primary {
        display: none;
    }

    a.btn-outline {
        display: none;
    }
}

@media screen and (max-width:376px) {
    .about-text h2 {
        font-size: 20px;
    }
}

@media (min-width: 321px) and (max-width: 481px) {
    .hero-buttons {
        display: none;
    }

    .row.autoplay {
        flex-direction: column;
        /* stack all cards vertically */
        align-items: center;
        gap: 24px;
    }

    .parallax-text h1 {
        font-size: 26px;
        position: absolute;
        left: 15px;
    }

    .about-text h2 {
        font-size: 25px;
    }

    h2.section-title {
        font-size: 24px;
    }

    .parallax-text h1 {
        font-size: 31px;
        position: absolute;
        left: 15px;
        top: 49%;
    }

    .new-begining img {
        width: 100%;
        height: 100%;
    }

    .fancybox__image {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
    }

}