/* ===================== MEDIA QUERIES (small screens)  =====================  */
@media screen and (max-width: 1024px) {
    section {
        padding: 7rem 0;
    }
    .hero {
        padding-top: 8.5rem;
    }
    
    .hero__content {
        width: 100%;
    }
    
    .hero__images {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-top: 3.5rem;
    }
    
    .hero__image {
        border-radius: var(--radius-5);
        width: 100%;
        box-shadow: none;
    }
    
    .hero__image:nth-child(1), .hero__image:nth-child(3), .hero__image:nth-child(5) {
        
        display: none;
        
    }
    
    .hero__cta {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .aboutus__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about__left {
        border-radius: 3rem;
        box-shadow: none;
    }
    
    .ourprocess__item {
        width: 80%;
        margin-inline: auto;
    }
    
    .whyus__container {
        grid-template-columns: 1fr;
    }
    
    .whyus__right {
        grid-template-columns: 1fr;
        width: 80%;
        margin-inline: auto;
        
    }
    
    .ourprocess__list {
        grid-template-columns: 1fr;
    }
    
    .Packages__buttons {
        flex-direction: column;
    }
    
    .Packages tr {
        display: flex;
        flex-direction: column;
    }
    
    .Packages td, .Packages th {
        padding: 0.7rem;
    }
    }



    

/* ===================== MEDIA QUERIES (small screens)  =====================  */
@media  (max-width: 1024px) {
   
    h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1rem;
}
.btn {
    padding: 1.5rem;
    font-size: 0.8rem;
}

.container {
    width: var(--container-w-md);
}




.nav__content {
    gap: 3rem;
}


.nav__menu {
    position: fixed;
    top: 4rem;
    right: 4%;
    flex-direction: column;
    gap: 0;
    width: 16rem;
    display: none;
    perspective: 200px;
}

.nav__menu a {
    background: linear-gradient(var(--color-gray-800),
    var(--color-gray-700));
    color: var(--color-gray-0);
    height: 4rem;
    display: grid;
    place-items: center;
    width: 100%;
    box-shadow: -2rem 4rem 3rem rgba(0, 0, 0, 0.2);
    animation: animation1 300ms ease forwards;
    transform: rotateX(90deg);
    opacity: 0;
    transform-origin: top;
}


.nav__menu a:nth-child(2) {
    animation-delay: 300ms;

}
.nav__menu a:nth-child(3) {
    animation-delay: 550ms;
}
.nav__menu a:nth-child(4) {
    animation-delay: 750ms;
}
.nav__menu a:nth-child(5) {
    animation-delay: 900ms;
}
.nav__menu a:nth-child(6) {
    animation-delay: 1050ms;
}
.nav__menu a:nth-child(7) {
    animation-delay: 1250ms;
}
    .nav__menu a:nth-child(8) {
        animation-delay: 1450ms;
    }

@keyframes animation1 {
    to {
        transform: rotateX(0);
        opacity: 1;
    }
    
}
.nav__menu a.active {
    background: var(--color-primary);
    color: var(--color-gray-0);
}

.nav__menu-open {
    display: inline-block;
}


.page__header {
    height: 20rem;
}

.page__header-content {
    width: var(--container-w-md);
}



.footer__container {
    flex-direction: column;
    gap: 1.5rem;
}
.footer__socials {
    gap: 2rem;
}
    
}