/* ==========================
   Global Styles
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8fafc;
    color:#1e293b;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

/* ==========================
   Top Bar
========================== */

.top-bar{

    background:#0f172a;
    color:#fff;

    font-size:14px;

    padding:10px 0;
}

.top-bar .container{

    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.top-left span{

    display:flex;
    align-items:center;
    gap:8px;
}

.top-right{

    display:flex;
    align-items:center;
    gap:25px;
}

.top-right a{

    display:flex;
    align-items:center;
    gap:7px;

    transition:.3s;
}

.top-right a:hover{

    color:#3b82f6;
}

/* ==========================
   Header
========================== */

.header{
    background:#ffffff;
    box-shadow:0 2px 15px rgba(0,0,0,.05);
}

.navbar{
    height:80px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* Logo */

.logo a{

    font-size:30px;
    font-weight:700;

    color:#111827;
}

.logo span{

    color:#2563EB;
}

/* Navigation */

.nav-links{

    display:flex;
    list-style:none;

    gap:35px;
}

.nav-links a{

    position:relative;

    color:#374151;

    font-size:16px;
    font-weight:500;

    transition:.3s;
}

/* Hover */

.nav-links a:hover{

    color:#2563EB;
}

/* Active */

.nav-links .active{

    color:#2563EB;
}

/* Underline Animation */

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;
    height:2px;

    background:#2563EB;

    transition:.3s;
}

.nav-links a:hover::after,
.nav-links .active::after{

    width:100%;
}

/* Right Icons */

.nav-icons{

    display:flex;
    gap:22px;
}

.nav-icons a{

    font-size:20px;
    color:#374151;

    transition:.3s;
}

.nav-icons a:hover{

    color:#2563EB;

    transform:translateY(-2px);
}


/* ==========================
   Hero Section
========================== */

.hero{

    background:#f8fafc;

    padding:90px 0;
}

.hero-content{

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:60px;
}

/* Left */

.hero-text{

    flex:1;
}

.hero-badge{

    display:inline-block;

    background:#dbeafe;
    color:#2563EB;

    padding:10px 18px;

    border-radius:50px;

    font-weight:600;

    margin-bottom:25px;
}

.hero-text h1{

    font-size:60px;

    line-height:1.1;

    color:#111827;

    margin-bottom:25px;
}

.hero-text h1 span{

    color:#2563EB;
}

.hero-text p{

    font-size:18px;

    color:#6b7280;

    line-height:1.8;

    max-width:520px;

    margin-bottom:40px;
}

/* Buttons */

.hero-buttons{

    display:flex;

    gap:20px;

    margin-bottom:60px;
}

.btn-primary{

    background:#2563EB;

    color:white;

    padding:16px 34px;

    border-radius:10px;

    font-weight:600;

    transition:.3s;
}

.btn-primary:hover{

    background:#1d4ed8;

    transform:translateY(-3px);
}

.btn-secondary{

    border:2px solid #2563EB;

    color:#2563EB;

    padding:16px 34px;

    border-radius:10px;

    font-weight:600;

    transition:.3s;
}

.btn-secondary:hover{

    background:#2563EB;

    color:white;
}

/* Stats */

.hero-stats{

    display:flex;

    gap:50px;
}

.hero-stats h3{

    font-size:30px;

    color:#111827;
}

.hero-stats p{

    margin-top:5px;

    font-size:15px;

    color:#6b7280;
}

/* Right */

.hero-image{

    flex:1;

    display:flex;

    justify-content:center;
}

.hero-image img{

    width:100%;

    max-width:600px;

    animation:float 4s ease-in-out infinite;
}

/* Floating Animation */

@keyframes float{

    0%{

        transform:translateY(0);
    }

    50%{

        transform:translateY(-15px);
    }

    100%{

        transform:translateY(0);
    }
}



/* ==========================
   Trusted Brands
========================== */

.brands{

    padding:80px 0;

    background:#ffffff;
}

/* Section Title */

.section-title{

    text-align:center;

    margin-bottom:60px;
}

.section-title h2{

    font-size:38px;

    color:#111827;

    margin-bottom:15px;
}

.section-title p{

    color:#6b7280;

    font-size:17px;

    max-width:650px;

    margin:auto;

    line-height:1.8;
}

/* Brand Container */

.brand-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:40px;
}

/* Brand Card */

.brand{

    flex:1;

    min-width:140px;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.3s;
}

.brand img{
    

    width:140px;

    opacity:.6;

    filter:grayscale(100%);

    transition:.4s ease;
}

/* Hover Effect */

.brand:hover img{

    opacity:1;

    filter:grayscale(0);

    transform:scale(1.08);
}


/*==========================
    Categories
==========================*/

.categories{

    padding:100px 0;

    background:#f8fafc;

}

/* Grid */

.category-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:60px;

}

/* Card */

.category-card{

    position:relative;

    overflow:hidden;

    border-radius:20px;

    cursor:pointer;

    height:480px;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.4s;

}

.category-card:hover{

    transform:translateY(-10px);

}

/* Image */

.category-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.category-card:hover img{

    transform:scale(1.1);

}

/* Overlay */

.category-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.85),
        rgba(0,0,0,.15),
        transparent
    );

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    padding:35px;

}

/* Small Text */

.category-overlay span{

    color:#60a5fa;

    font-weight:600;

    margin-bottom:10px;

    letter-spacing:1px;

    text-transform:uppercase;

    font-size:14px;

}

/* Title */

.category-overlay h3{

    color:#fff;

    font-size:34px;

    margin-bottom:18px;

}

/* Button */

.category-overlay a{

    display:inline-flex;

    align-items:center;

    gap:10px;

    width:max-content;

    padding:14px 28px;

    background:#2563EB;

    color:#fff;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.category-overlay a:hover{

    background:#1d4ed8;

}

.category-overlay a i{

    transition:.3s;

}

.category-overlay a:hover i{

    transform:translateX(6px);

}


/*==========================
    PRODUCTS
==========================*/

.products{

    padding:100px 0;

    background:#fff;

}

.product-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:60px;

}

.product-card{

    position:relative;

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.4s;

}

.product-card:hover{

    transform:translateY(-10px);

}

.product-badge{

    position:absolute;

    top:20px;
    left:20px;

    background:#ef4444;

    color:#fff;

    padding:8px 15px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

}

.wishlist-btn{

    position:absolute;

    top:20px;
    right:20px;

    width:42px;
    height:42px;

    border:none;

    border-radius:50%;

    background:#fff;

    cursor:pointer;

    box-shadow:0 5px 15px rgba(0,0,0,.1);

    transition:.3s;

}

.wishlist-btn:hover{

    background:#2563EB;

    color:#fff;

}

.product-image{

    height:260px;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:30px;

}

.product-image img{

    width:100%;

    transition:.4s;

}

.product-card:hover img{

    transform:scale(1.08) rotate(-5deg);

}

.product-info{

    padding:25px;

}

.product-brand{

    color:#2563EB;

    font-size:14px;

    font-weight:600;

}

.product-info h3{

    margin:10px 0;

    font-size:24px;

}

.rating{

    color:#fbbf24;

    margin-bottom:15px;

}

.rating small{

    color:#6b7280;

    margin-left:8px;

}

.price{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:25px;

}

.new-price{

    font-size:28px;

    font-weight:700;

    color:#111827;

}

.old-price{

    color:#9ca3af;

    text-decoration:line-through;

}

.cart-btn{

    width:100%;

    border:none;

    background:#2563EB;

    color:#fff;

    padding:16px;

    border-radius:12px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.cart-btn:hover{

    background:#1d4ed8;

}

/*==========================
    Promo Banner
==========================*/

.promo-banner{

    padding:120px 0;

    background:
        linear-gradient(
            rgba(15,23,42,.70),
            rgba(15,23,42,.70)
        ),
        url("../images/banner/banner.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    text-align:center;

}

.promo-content{

    max-width:750px;

    margin:auto;

}

.promo-content span{

    display:inline-block;

    color:#60a5fa;

    font-weight:600;

    letter-spacing:3px;

    margin-bottom:20px;

    text-transform:uppercase;

}

.promo-content h2{

    color:#fff;

    font-size:56px;

    line-height:1.2;

    margin-bottom:25px;

}

.promo-content h2 strong{

    color:#3b82f6;

}

.promo-content p{

    color:#e5e7eb;

    font-size:18px;

    line-height:1.8;

    margin-bottom:40px;

}

.promo-btn{

    display:inline-block;

    padding:18px 42px;

    background:#2563EB;

    color:#fff;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.promo-btn:hover{

    background:#1d4ed8;

    transform:translateY(-4px);

}


/*==========================
    Features
==========================*/

.features{

    padding:100px 0;

    background:#f8fafc;

}

.feature-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:60px;

}

.feature-card{

    background:#ffffff;

    padding:40px 30px;

    text-align:center;

    border-radius:20px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.feature-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.12);

}

.feature-icon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    border-radius:50%;

    background:#2563EB;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    color:#ffffff;

    transition:.35s;

}

.feature-card:hover .feature-icon{

    transform:rotate(10deg) scale(1.1);

}

.feature-card h3{

    font-size:24px;

    color:#111827;

    margin-bottom:15px;

}

.feature-card p{

    color:#6b7280;

    line-height:1.8;

    font-size:16px;

}


/*==========================
    Testimonials
==========================*/

.testimonials{

    padding:100px 0;

    background:#ffffff;

}

.testimonial-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:60px;

}

.testimonial-card{

    position:relative;

    background:#fff;

    padding:35px;

    border-radius:20px;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s;

}

.testimonial-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.quote-icon{

    position:absolute;

    top:25px;

    right:25px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:#2563EB;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

}

.stars{

    color:#fbbf24;

    font-size:18px;

    margin-bottom:20px;

}

.review{

    color:#6b7280;

    line-height:1.8;

    margin-bottom:30px;

}

.customer{

    display:flex;

    align-items:center;

    gap:15px;

}

.customer img{

    width:65px;

    height:65px;

    border-radius:50%;

    object-fit:cover;

}

.customer h4{

    font-size:18px;

    color:#111827;

    margin-bottom:5px;

}

.customer span{

    color:#6b7280;

    font-size:14px;

}


/*==========================
    Footer
==========================*/

.footer{

    background:#0f172a;

    color:#cbd5e1;

    padding:80px 0 25px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1.5fr;

    gap:50px;

    margin-bottom:50px;

}

/* Logo */

.footer-logo{

    color:#ffffff;

    font-size:34px;

    margin-bottom:20px;

}

.footer-logo span{

    color:#2563EB;

}

.footer-column p{

    line-height:1.8;

    margin-bottom:30px;

}

/* Titles */

.footer-column h3{

    color:#ffffff;

    margin-bottom:25px;

    font-size:22px;

}

/* Lists */

.footer-column ul{

    list-style:none;

}

.footer-column ul li{

    margin-bottom:15px;

}

.footer-column ul li a{

    color:#cbd5e1;

    transition:.3s;

}

.footer-column ul li a:hover{

    color:#2563EB;

    padding-left:6px;

}

/* Social */

.social-icons{

    display:flex;

    gap:15px;

}

.social-icons a{

    width:45px;

    height:45px;

    border-radius:50%;

    background:#1e293b;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    transition:.3s;

}

.social-icons a:hover{

    background:#2563EB;

    transform:translateY(-5px);

}

/* Contact */

.contact-info li{

    display:flex;

    align-items:center;

    gap:12px;

}

.contact-info i{

    color:#2563EB;

    width:20px;

}

/* Divider */

.footer hr{

    border:none;

    border-top:1px solid rgba(255,255,255,.08);

    margin-bottom:25px;

}

/* Bottom */

.footer-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:20px;

}

.payment-icons{

    display:flex;

    gap:20px;

    font-size:34px;

}

.payment-icons i{

    color:#94a3b8;

    transition:.3s;

}

.payment-icons i:hover{

    color:#ffffff;

}

.menu-toggle{

    display:none;

    font-size:28px;

    cursor:pointer;

    color:#111827;

}

/*==========================
    Mobile Navbar
==========================*/

.menu-toggle{
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #111827;
    z-index: 1001;
}

@media (max-width:992px){

    /* Show Hamburger */
    .menu-toggle{
        display:block;
    }

    /* Hide Icons */
    .nav-icons{
        display:none;
    }

    /* Side Drawer */

    .nav-links{

        position:fixed;

        top:0;
        right:-100%;

        width:300px;
        height:100vh;

        background:#ffffff;

        display:flex;
        flex-direction:column;

        justify-content:center;
        align-items:center;

        gap:35px;

        list-style:none;

        transition:.4s ease;

        box-shadow:-5px 0 20px rgba(0,0,0,.15);

        z-index:1000;

    }

    /* Open Drawer */

    .nav-links.active{

        right:0;

    }

}