:root {
    --primary-green: #1b8a73;
    --accent-yellow: #ffc107;
    --dark-blue: #0046a1;
    --text-white: #ffffff;
}

/* --- Global Resets --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { overflow-x: hidden; width: 100%; background-color: #fff; }
.container { max-width: 1250px; margin: 0 auto; padding: 0 20px; }

/* --- Header & Navbar --- */
.shop-hero { 
    background-color: var(--primary-green); 
    color: white; 
    padding: 20px 0 120px 0; 
}

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 80px; 
}

.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { 
    color: white; text-decoration: none; font-weight: 500; 
    padding-bottom: 5px; border-bottom: 2px solid transparent; 
}
.nav-links a.active, .nav-links a:hover { border-bottom: 2px solid var(--accent-yellow); }

/* --- Mobile Toggle (Blue Square) --- */
.mobile-toggle { display: none; }

/* --- Search & Icons --- */
.nav-icons { display: flex; align-items: center; gap: 10px; }
.icon-btn { 
    background: none; border: none; color: white; 
    font-size: 18px; cursor: pointer; position: relative; padding: 8px;
}
.icon-btn:hover::after {
    content: ""; position: absolute; bottom: 0; left: 20%; 
    width: 60%; height: 2px; background: #ffcc00;
}

.search-wrapper { display: flex; align-items: center; border-radius: 50px; transition: 0.3s; }
.search-wrapper.active { background: white; padding: 2px 15px; }
.search-input { width: 0; opacity: 0; border: none; outline: none; background: transparent; transition: 0.3s; }
.search-wrapper.active .search-input { width: 180px; opacity: 1; }
.search-wrapper.active .icon-btn { color: #1b8a73; }


/* --- Hero Content (Left Aligned) --- */
.hero-content { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    text-align: left; 
}

.hero-top-row { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
    margin-bottom: 60px; 
    width: 100%; 
}

.company-name-heading { font-size: 42px; font-weight: 700; line-height: 1.2; }

.lab-pill { 
    border: 2px solid white; 
    padding: 12px 30px; 
    border-radius: 50px; 
    color: white; 
    text-decoration: none; 
    font-weight: 600; 
    white-space: nowrap; 
    font-size: 0.9rem;
}

.page-title { 
    font-size: 50px; 
    font-weight: 800; 
    margin-bottom: 10px; 
    line-height: 1; 
}

/* --- Mobile Queries --- */
@media (max-width: 768px) {
    .navbar { margin-bottom: 40px; }
    .mobile-toggle { 
        display: flex; 
        background: var(--dark-blue); 
        color: white; 
        border: none; 
        width: 45px; 
        height: 40px; 
        border-radius: 8px; 
        align-items: center; 
        justify-content: center; 
    }

    .nav-links { 
        display: none; 
        position: absolute; 
        top: 70px; 
        left: 0; 
        width: 100%; 
        background: var(--primary-green); 
        flex-direction: column; 
        padding: 30px; 
        z-index: 1000; 
    }
    .nav-links.show { display: flex !important; }

    .hero-top-row { flex-direction: column; align-items: flex-start; gap: 20px; }
    .company-name-heading { font-size: 28px; }
    .page-title { font-size: 50px; }
}

/* --- Contact Info Grid --- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 80px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    background-color: var(--primary-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.info-item p {
    color: #444;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* --- Message Us Form --- */
.message-section {
    padding-bottom: 100px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-weight: 600;
    color: #333;
}

.form-group input, 
.form-group textarea {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary-green);
}

.contact-form .shop-now-btn {
    grid-column: span 2;
    justify-self: center;
    margin-top: 20px;
}

/* --- Responsive Contact --- */
@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}

.input-group input:focus, .input-group textarea:focus { border-color: var(--primary-teal); }

.submit-btn {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
}

/* --- Map --- */
.map-container { line-height: 0; border-top: 5px solid var(--primary-teal); }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .contact-info-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-top-row { flex-direction: column; align-items: flex-start; }
    .page-title { font-size: 48px; }
    .mobile-toggle { display: flex; background: var(--dark-blue); color: white; border-radius: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; border: none; }
    .nav-links { display: none; }
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.whatsapp-float img { width: 35px; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(1, 1fr); }
    .slider-arrow { display: none; }
}
/* Footer Styling */
.main-footer {
    background-color: #fff;
    padding: 60px 5% 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-top: 1px solid #eee;
}

/* Newsletter Section */
.footer-newsletter {
    margin-bottom: 60px;
}

.newsletter-wrap h3 {
    color: #3e5f58;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletter-inputs {
    display: flex;
    gap: 15px;
    align-items: center;
}

.newsletter-inputs input {
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 8px;
    width: 250px;
}

.send-btn {
    background-color: #3e5f58;
    border: none;
    width: 50px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr 1.2fr 1.8fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-column h4 {
    color: #2b8c52;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a, .contact-col p {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

.contact-col p {
    margin-bottom: 10px;
}

/* Social Icons */
.social-col ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon {
    background: #e1ede8;
    color: #3e5f58;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Bottom Bar */
.footer-policies {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.footer-policies a {
    text-decoration: none;
    color: #3e5f58;
    font-weight: 500;
}

.footer-copyright {
    text-align: center;
    color: #666;
    font-size: 14px;
}





/* --- COMPREHENSIVE RESPONSIVE QUERIES --- */

/* Tablet & Large Phones (below 992px) */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }

    .product-card {
        flex: 0 0 calc(50% - 10px); /* 2 items in slider view */
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Standard Mobile Devices (below 768px) */
@media (max-width: 768px) {
    /* Navbar */
    .nav-links { display: none; } /* Hide text links, suggest adding a burger icon */
    .navbar { padding: 15px 5%; }
    
    /* Hero Section */
    .hero-container { height: 60vh; }
    h1 { font-size: 2.2rem; }
    .hero-badge { flex-direction: column; align-items: flex-start; gap: 10px; }

    /* Category & Product Grids */
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-viewport { width: 100%; }
    .product-card { flex: 0 0 80%; } /* Cards "peek" in from the side to show scrollability */
    
    /* Reveal Hidden Buttons (No hover on mobile) */
    .add-btn { opacity: 1; bottom: -15px; }

    /* Blog & Brands */
    .blog-grid { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }

}

/* Small Phones (below 480px) */
@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    .shop-btn { width: 100%; padding: 15px 20px; }
    
    .category-grid { grid-template-columns: 1fr; }
    .cat-card { height: 140px; }

    .section-title { font-size: 24px; padding-left: 20px; }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; } /* Stacks all columns on mobile */
    .newsletter-bar { flex-direction: column; gap: 20px; text-align: center; }
}

/* --- Global Mobile Refinements --- */
@media (max-width: 1024px) {
    .container { padding: 0 15px; }
    .footer-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 40px;
    }
}


/* --- Mobile Devices --- */
@media (max-width: 768px) {
    /* Newsletter */
    .newsletter-inputs { flex-direction: column; width: 100%; align-items: stretch; }
    .newsletter-inputs input { width: 100%; }
    .send-btn { width: 100%; height: 50px; }

    /* Footer Grid - 2 columns */
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-policies { flex-wrap: wrap; gap: 15px; justify-content: center; }
}

/* --- Small Mobile Devices --- */
@media (max-width: 500px) {
    /* Footer - Single Column */
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-col ul li a { justify-content: center; }
    
    .shop-hero { padding: 20px 0 60px 0; }
    .add-btn { opacity: 1; bottom: -10px; width: 40px; height: 40px; } /* Always show button on mobile as there is no hover */
}
