* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 1px;
}

.logo span { color: #8e9aaf; }

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li { margin-left: 2rem; }

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover { color: #2c3e50; }

/* Hero Section */
.hero {
    height: 80vh;
    background: url('https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&q=80&w=1500') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; }

.btn {
    padding: 15px 40px;
    background: #fff;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.3s ease;
}

.btn:hover { background: #2c3e50; color: #fff; transform: scale(1.05); }

/* Portfolio Grid */
.portfolio { padding: 80px 10%; background: #fdfdfd; }

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #2c3e50;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.4s;
}

.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.product-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.product-info { padding: 25px; }

.product-info h3 { font-size: 1.2rem; margin-bottom: 10px; color: #2c3e50; }

.stars { color: #f1c40f; font-size: 0.9rem; margin-bottom: 10px; }

.stars span { color: #888; margin-left: 5px; }

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* For Tablets (Screens less than 992px) */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .navbar {
        padding: 1.2rem 5%;
    }
    .portfolio {
        padding: 60px 5%;
    }
}

/* For Mobile Phones (Screens less than 768px) */
@media (max-width: 768px) {
    /* Navbar Adjustment */
    .navbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav-links li {
        margin: 0 10px;
    }

    /* Hero Section Adjustment */
    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

/* Footer Fix */
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body > section {
    flex: 1 0 auto; /* Ye content ko push karega taaki footer niche rahe */
}

footer {
    flex-shrink: 0;
    background: #2c3e50;
    padding: 40px 10% 20px;
}

    /* Portfolio Grid - 1 Column on small screens */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        max-width: 400px;
        margin: 0 auto; /* Center alignment */
    }

    /* Footer Adjustment */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .socials {
        justify-content: center;
        display: flex;
    }
}

.product-img {
    width: 300px;      /* Set your desired width */
    height: 200px;     /* Set your desired height */
    object-fit: cover;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1); /* Smooth zoom effect */
}

/* AI Highlight for electronic items */
[data-cat="electronics"] {
    border: 1px solid rgba(52, 152, 219, 0.2);
}

/* Product Badge/Tag Styling */
.product-card {
    position: relative; /* Necessary for absolute tag position */
}

.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    background: #2c3e50;
    color: #fff;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    z-index: 10;
    text-transform: uppercase;
}

/* Enhancing Product Info for clarity */
.product-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* For Very Small Screens (less than 480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

.add-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid #2c3e50;
    background: transparent;
    color: #2c3e50;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.add-btn:hover { background: #2c3e50; color: #fff; }

/* AI Hero Enhancements */
.ai-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #fff;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.typing-text {
    color: #8e9aaf;
    border-right: 3px solid #fff;
    padding-right: 5px;
}

.brand-intro {
    padding: 80px 10%;
    background: #fff;
    text-align: center;
}

.intro-container {
    max-width: 1000px;
    margin: 0 auto;
}

.line-pill {
    background: #f0f4f8;
    color: #2c3e50;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-line h2 {
    font-size: 2.5rem;
    margin: 20px 0;
    color: #2c3e50;
}

.intro-line .highlight {
    color: #8e9aaf; /* Soft Blue-Grey */
    font-style: italic;
}

.intro-line p {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 50px;
}

/* Feature Boxes Grid */
.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature-box {
    padding: 30px;
    background: #fdfdfd;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    transition: 0.3s ease;
}

.feature-box:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-box h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.feature-box p {
    font-size: 0.9rem;
    color: #95a5a6;
}

/* Global Page Transition */
body.fade-in {
    animation: pageFade 0.8s ease-in-out;
}

@keyframes pageFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* About Hero */
.about-hero {
    height: 50vh;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), 
                url('https://images.unsplash.com/photo-1552321554-5fefe8c9ef14?q=80&w=1500');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.about-hero-content h1 { font-size: 3rem; margin-top: 15px; }

/* Mission Section */
.mission-section { padding: 80px 10%; background: #fff; }

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-text h2 { font-size: 2.2rem; color: #2c3e50; margin-bottom: 20px; }
.mission-text p { color: #7f8c8d; line-height: 1.8; margin-bottom: 15px; }

.mission-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mini-stat {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #eee;
}

.mini-stat h3 { font-size: 2.5rem; color: #8e9aaf; }

/* Values Section */
.values-section {
    padding: 60px 10%;
    display: flex;
    justify-content: space-around;
    background: #fdfdfd;
    gap: 20px;
    flex-wrap: wrap;
}

.value-card {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 40px 20px;
}

.value-card i { font-size: 2.5rem; color: #2c3e50; margin-bottom: 20px; }

/* Responsive for About */
@media (max-width: 768px) {
    .mission-grid { grid-template-columns: 1fr; }
    .about-hero-content h1 { font-size: 2rem; }
}



/* Glassmorphic Search Bar */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-container:focus-within {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.02);
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

#searchLoader {
    position: absolute;
    right: 20px;
    color: #8e9aaf;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-visible {
    opacity: 1;
    visibility: visible;
}

/* Jab search ho raha ho toh input bar thoda glow kare */
.searching-active {
    box-shadow: 0 0 15px rgba(142, 154, 175, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

#productSearch {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.1rem;
}

#productSearch::placeholder { color: rgba(255, 255, 255, 0.7); }

.search-icon { color: #fff; font-size: 1.2rem; }

.hero-tags { margin-top: 20px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); }
.hero-tags a { color: #fff; margin: 0 5px; text-decoration: none; opacity: 0.7; }
.hero-tags a:hover { opacity: 1; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Purana body transitions hata kar ye daalein */
body {
    margin: 0;
    background-color: #fff; /* Base background white rakhein */
}

/* Page load animation */
.page-fade-in {
    animation: fadeInAnimation 0.6s ease-out forwards;
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Exit animation class */
.page-fade-out {
    animation: fadeOutAnimation 0.5s ease-in forwards;
}

@keyframes fadeOutAnimation {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Search Input clear button color (for modern browsers) */
#productSearch::-webkit-search-cancel-button {
    filter: invert(1);
}

/* Stats Section Styling */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 60px 10%;
    background: #2c3e50;
    color: #fff;
    text-align: center;
}

.stat-item h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: #8e9aaf;
}

/* Smooth Transition for JS animations */
.navbar {
    transition: all 0.4s ease;
}

.add-btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Footer */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 10% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 { margin-bottom: 20px; color: #fff; }

.footer-links h4, .footer-contact h4 { margin-bottom: 20px; }

.footer-links ul { list-style: none; }

.footer-links a { color: #bdc3c7; text-decoration: none; display: block; margin-bottom: 10px; }

.socials { margin-top: 20px; font-size: 1.5rem; }

.socials i { margin-right: 15px; cursor: pointer; transition: 0.3s; }

.socials i:hover { color: #8e9aaf; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #3e4f5f;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #bdc3c7;
}


.fa-whatsapp {
    color: white;
}

/*product section*/

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
    color: #555;
}

.tab-btn.active, .tab-btn:hover {
    background: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-logo {
    height: 45px; /* Size aap apne hisaab se adjust kar sakte hain */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05) rotate(-2deg); /* AI/Creative feel ke liye chota animation */
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #2c3e50;
}
