/* ==========================================
   LARGE DESKTOPS
========================================== */

@media screen and (min-width: 1600px){

    .container{
        max-width: 1450px;
    }

    .hero-content h1{
        font-size: 6rem;
    }

    .section{
        padding: 140px 0;
    }

}

/* ==========================================
   LAPTOPS
========================================== */

@media screen and (max-width: 1200px){

    .hero-container{
        gap: 50px;
    }

    .services-grid{
        grid-template-columns: repeat(2,1fr);
    }

    .process-grid{
        grid-template-columns: repeat(2,1fr);
    }

    .pricing-grid{
        grid-template-columns: repeat(2,1fr);
    }

    .portfolio-grid{
        grid-template-columns: repeat(2,1fr);
    }

    .clients-grid{
        grid-template-columns: repeat(3,1fr);
    }

}

/* ==========================================
   TABLETS
========================================== */

@media screen and (max-width: 992px){

    .section{
        padding: 90px 0;
    }

    .hero{
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero-container{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content{
        order: 2;
    }

    .hero-image{
        order: 1;
    }

    .hero-buttons{
        justify-content: center;
    }

    .hero-stats{
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-container{
        grid-template-columns: 1fr;
    }

    .about-content{
        text-align: center;
    }

    .skills{
        justify-content: center;
    }

    .contact-container{
        grid-template-columns: 1fr;
    }

    .contact-info{
        text-align: center;
    }

    .clients-grid{
        grid-template-columns: repeat(2,1fr);
    }

}

/* ==========================================
   MOBILE NAVIGATION
========================================== */

@media screen and (max-width: 768px){

    .menu-toggle{
        display: block;
        z-index: 1001;
    }

    .nav-menu{

        position: fixed;

        top: 0;
        right: -100%;

        width: 300px;
        height: 100vh;

        flex-direction: column;

        justify-content: center;
        align-items: center;

        gap: 30px;

        background:
            rgba(11,17,32,.96);

        backdrop-filter:
            blur(20px);

        transition: .4s ease;

        z-index: 1000;
    }

    body.light-theme .nav-menu{
        background:
            rgba(255,255,255,.96);
    }

    .nav-menu.show-menu{
        right: 0;
    }

    .nav-link{
        font-size: 1.1rem;
    }

    .header{
        padding: 15px 0;
    }

}

/* ==========================================
   SMALL TABLETS
========================================== */

@media screen and (max-width: 768px){

    .section{
        padding: 80px 0;
    }

    .section-header{
        margin-bottom: 50px;
    }

    .section-header h2{
        font-size: 2.3rem;
    }

    .hero-content h1{
        font-size: 3rem;
    }

    .hero-content p{
        font-size: 1rem;
    }

    .hero-buttons{
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn{
        width: 100%;
        max-width: 280px;
    }

    .services-grid{
        grid-template-columns: 1fr;
    }

    .process-grid{
        grid-template-columns: 1fr;
    }

    .portfolio-grid{
        grid-template-columns: 1fr;
    }

    .pricing-grid{
        grid-template-columns: 1fr;
    }

    .clients-grid{
        grid-template-columns: 1fr;
    }

    .pricing-card.featured{
        transform: scale(1);
    }

    .pricing-card.featured:hover{
        transform: translateY(-10px);
    }

    .testimonial-card{
        padding: 40px 25px;
    }

    .contact-form{
        padding: 30px;
    }

}

/* ==========================================
   MOBILE PHONES
========================================== */

@media screen and (max-width: 576px){

    .container{
        width: 92%;
    }

    .logo{
        font-size: 1.7rem;
    }

    .theme-toggle{
        width: 45px;
        height: 45px;
    }

    .hero{
        padding-top: 120px;
    }

    .hero-content h1{
        font-size: 2.4rem;
        line-height: 1.15;
    }

    .hero-tag{
        font-size: .8rem;
    }

    .hero-stats{
        gap: 25px;
    }

    .hero-stats h3{
        font-size: 2rem;
    }

    .section-header h2{
        font-size: 2rem;
    }

    .about-content h2{
        font-size: 2rem;
    }

    .service-card{
        padding: 30px 25px;
    }

    .process-card{
        padding: 35px 20px;
    }

    .process-card span{
        width: 70px;
        height: 70px;
    }

    .portfolio-item{
        min-height: 300px;
    }

    .portfolio-filter{
        gap: 10px;
    }

    .filter-btn{
        padding: 12px 18px;
        font-size: .85rem;
    }

    .pricing-card{
        padding: 35px 25px;
    }

    .pricing-card h2{
        font-size: 2.5rem;
    }

    .faq-question{
        padding: 20px;
        font-size: 1rem;
    }

    .faq-question::after{
        right: 20px;
    }

    .faq-answer{
        padding: 0 20px;
    }

    .faq-item.active .faq-answer{
        padding: 0 20px 20px;
    }

    .contact-form{
        padding: 25px 20px;
    }

    .contact-form input,
    .contact-form textarea{
        padding: 16px;
    }

    .footer{
        padding: 60px 0 30px;
    }

    .social-links{
        flex-wrap: wrap;
    }

    #backToTop{
        width: 50px;
        height: 50px;

        right: 15px;
        bottom: 15px;
    }

    .whatsapp-btn{
        width: 55px;
        height: 55px;

        left: 15px;
        bottom: 15px;
    }

}

/* ==========================================
   EXTRA SMALL DEVICES
========================================== */

@media screen and (max-width: 400px){

    .hero-content h1{
        font-size: 2rem;
    }

    .hero-stats{
        flex-direction: column;
        gap: 15px;
    }

    .hero-stats div{
        width: 100%;
    }

    .btn{
        padding: 14px 24px;
    }

    .pricing-card h2{
        font-size: 2rem;
    }

    .testimonial-card p{
        font-size: 1rem;
    }

}

/* ==========================================
   LANDSCAPE MOBILE
========================================== */

@media screen and (max-height: 600px)
and (orientation: landscape){

    .hero{
        min-height: auto;
        padding: 140px 0 80px;
    }

    .nav-menu{
        overflow-y: auto;
    }

}

/* ==========================================
   REDUCE MOTION
========================================== */

@media (prefers-reduced-motion: reduce){

    *{
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

}

/* ==========================================
   END RESPONSIVE.CSS
========================================== */