:root {
    --primary-green: #1b8a73;
    --accent-yellow: #ffc107;
    --dark-blue: #0046a1;
    --text-white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { overflow-x: hidden; width: 100%; }
.container { max-width: 1250px; margin: 0 auto; padding: 0 20px; }

/* --- Header & Navbar --- */

.shop-hero {
    background: linear-gradient(rgba(27, 138, 115, 0.9), rgba(27, 138, 115, 0.9)), 
                url('hero-bg-image.jpg'); /* Optional: Add a background image */
    background-size: cover;
    background-position: center;
    color: white;
    padding: 20px 0 100px 0;
}

/* Ensure the title is huge and impactful like the shop page */
.page-title {
    font-size: clamp(40px, 8vw, 85px); /* Responsive sizing */
}

.shop-hero { background-color: var(--primary-green); color: white; padding: 20px 0 100px 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 { 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 (Updated for Left Alignment & Button Placement) --- */
.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: 50px; width: 100%; }

.company-name-heading { font-size: 42px; font-weight: 700; }
.lab-pill { border: 2px solid white; padding: 10px 25px; border-radius: 50px; color: white; text-decoration: none; font-weight: 600; white-space: nowrap; font-size: 0.9rem; }

.page-title { font-size: 85px; font-weight: 800; margin-bottom: 10px; line-height: 1; }
.hero-subtitle { font-size: 32px; font-weight: 600; margin-bottom: 40px; }
.shop-now-btn { background-color: var(--accent-yellow); color: white; border: none; padding: 18px 50px; border-radius: 50px; font-size: 24px; font-weight: 700; cursor: pointer; }

/* --- Main Content --- */
.info-section { 
    padding: 40px 0; /* Reduced padding for tighter control */
    margin-bottom: 20px; /* This creates the consistent gap between rows */
}
.info-content { 
    display: flex; 
    align-items: center; /* This vertically centers the text next to the image */
    justify-content: space-between; 
    gap: 60px; 
    text-align: left; 
}
.info-content.reverse { flex-direction: row-reverse; }
.section-heading { font-size: 2.5rem; color: var(--primary-green); margin-bottom: 25px; font-weight: 700; text-align: left; }
.justify-text { text-align: justify; text-justify: inter-word; line-height: 1.8; color: #333; font-size: 1.1rem; }

.info-image { flex: 0 0 450px; }
.img-frame { 
    border: 4px solid var(--primary-green); 
    border-radius: 15px; 
    overflow: hidden; 
    display: flex; 
    /* Added margin-top to specifically push the image frame down further */
    margin-top: 30px; 
}
.img-frame img { width: 100%; height: auto; object-fit: cover; }

/* --- Customers --- */
.customers-section { padding: 80px 0; }
.customer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.customer-box { border: 3px solid var(--primary-green); border-radius: 15px; height: 180px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.customer-box img { max-width: 90%; max-height: 90%; object-fit: contain; }

/* --- Mobile Queries (Strict Left Alignment) --- */
@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; text-align: left; }
    .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; }
    .hero-subtitle { font-size: 22px; }
    
    .info-content, .info-content.reverse { flex-direction: column; align-items: flex-start; gap: 30px; }
    .info-image { width: 100%; flex: none; }
    .customer-grid { grid-template-columns: 1fr; }
}

/* Testimonials */
.testimonials-section {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 300px; /* Ensures space for the sliding text */
}

.testimonial-content {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    visibility: hidden;
}

.testimonial-content.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    margin-bottom: 30px;
}

.client-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.client-name { font-size: 1.1rem; font-weight: 700; margin: 0; }
.client-role { color: #666; font-size: 0.9rem; margin-top: 5px; }

/* The Black Dot at the bottom */
.bottom-dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: #d1d1d1; /* Gray for inactive dots */
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #000000; /* Black for active dot */
}


/* 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; }
}

/* Blog Section Styling */
.recent-blog {
    padding: 60px 5%;
    background-color: #fff;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.blog-header h2 {
    font-size: 2rem;
    font-weight: 700;
}

.view-all-link {
    color: #333;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #808080; /* Gray hover like your previous request */
}

/* Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Clickable Card Styling */
.blog-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 20px 0;
}

.blog-date {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.blog-date strong {
    color: #444; /* Darker color for the author name */
    font-weight: 600;
    margin-left: 5px;
}

/* Optional: add a small "By" prefix style */
.blog-date::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: #BFFFF0; /* Using your mint green as a divider underline */
    margin-top: 8px;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.blog-card:hover h3 {
    color: #BFFFF0; /* Subtle highlight using your mint green color */
}

.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}



/* Brands Section Styling */
.brands-section {
    padding: 60px 5%;
    text-align: left;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #ddd;
}

.brand-box {
    border: 1px solid #ddd;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-box img {
    max-width: 100%;
    height: auto;
}

/* Mobile Responsiveness for new sections */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr; /* Stack blogs on top of each other */
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 brands per row on mobile */
    }
}

/* 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 */
}

