/* ==========================
   TABLET
========================== */

@media (max-width:1024px){

    .header{

        padding:14px 5%;

    }

    .hero-left{

        width:100%;

    }

    .cards{

        grid-template-columns:repeat(2,1fr);

    }

    .category-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .footer-container{

        grid-template-columns:1fr;

        text-align:center;

    }

}
/* ==========================
   MOBILE
========================== */

@media (max-width:768px){

    .header{

        flex-direction:column;

        gap:15px;

        padding:20px;

    }

    .navbar{

        flex-wrap:wrap;

        justify-content:center;

        gap:15px;

    }

    .hero{

        padding:120px 20px 80px;

        text-align:center;

    }

    .hero-left{

        width:100%;

    }

    .hero-left h1,
    .hero-left h2{

        font-size:42px;

    }

    .hero-left p{

        font-size:18px;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }
    .about-company,
.contact-main,
.products-section{

    grid-template-columns:1fr;

}

.why-grid,
.hours-grid,
.contact-info,
.cards,
.category-grid{

    grid-template-columns:1fr;

}
.product-grid{

    grid-template-columns:1fr;

}

.sidebar{

    margin-bottom:30px;

}

.search-box{

    flex-direction:column;

    gap:15px;

}

.search-box input{

    width:100%;

}

.search-box button{

    width:100%;

}
.about-hero h1,
.products-hero h1,
.contact-hero h1{

    font-size:42px;

}

.about-hero p,
.products-hero p,
.contact-hero p{

    font-size:18px;

}

.about-hero,
.products-hero,
.contact-hero{

    height:320px;

    padding:0 20px;

}
.footer{

    text-align:center;

}

.footer-container{

    grid-template-columns:1fr;

    gap:40px;

}

.footer-box img{

    margin:auto;

    margin-bottom:20px;

}

.footer-box h3{

    margin-top:10px;

}
.btn,
.btn2,
.whatsapp-btn{

    width:100%;

    text-align:center;

}

}
/* ==========================
   SMALL MOBILE
========================== */

@media (max-width:480px){

    h1{
        font-size:34px !important;
    }

    h2{
        font-size:30px !important;
    }

    p{
        font-size:16px !important;
    }

    .logo img{
        height:48px;
    }

    .whatsapp-btn,
    .btn,
    .btn2{
        padding:14px 20px;
        font-size:15px;
    }

    /* Add this below */

    .navbar a{

        font-size:16px;
        padding-bottom:4px;

    }

    .navbar a.active{

        border-bottom:3px solid #C7A33B;

    }

}
/* ==========================
   MOBILE HAMBURGER MENU
========================== */

.menu-toggle{

    display:none;

    font-size:34px;

    color:#FFFFFF;

    cursor:pointer;

}

/* Mobile */

@media (max-width:768px){

    .menu-toggle{

        display:block;

    }

    .navbar{

        display:none;

        position:absolute;

        top:100%;

        left:0;

        width:100%;

        background:#0C3960;

        flex-direction:column;

        text-align:center;

        padding:20px 0;

        box-shadow:0 10px 25px rgba(0,0,0,.15);

    }

    .navbar.active{

        display:flex;

    }

    .navbar a{

        margin:15px 0;

        font-size:18px;

    }

    .navbar a::after{

        display:none;

    }

    .whatsapp-btn{

        display:none;

    }

}
/* ===================================
   PRODUCTS PAGE MOBILE
=================================== */

@media (max-width:768px){

    .products-section{

        display:block;

        padding:30px 5%;

    }

    /* Hide desktop sidebar */

    .sidebar{

        display:none;

    }

    /* Show mobile dropdown */

    .mobile-category{

        display:block;

        margin-bottom:20px;

    }

    .mobile-category select{

        width:100%;

        padding:14px;

        border:1px solid #ddd;

        border-radius:10px;

        background:#fff;

        font-size:16px;

        font-family:'Poppins',sans-serif;

        color:#0B3D6D;

    }

    .products-content{

        width:100%;

    }

}

@media (max-width:768px){

    .search-box{

        flex-direction:column;

    }

    .search-box button{

        width:100%;

    }

}