
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --bg-color: #ffffff;
    --text-color: #000000;
    --dim-text: #333333;
    --primary-yellow: #FFC107;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

::selection {
    background: var(--primary-yellow);
    color: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

html {
    scroll-behavior: smooth;
    font-size: 13px; /* desktop */
}

@media (max-width: 768px) {
    html {
        font-size: 11px; /* Global scale down for mobile */
    }
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Adjustments */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #154d42; /* Dark Green */
}

/* Header & Nav */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, padding 0.3s ease;
}

/* Top Bar */
.top-bar {
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-right {
    display: flex;
    gap: 2rem;
    align-items: left;
}

.top-bar .contact-details, 
.top-bar .social-links {
    display: flex;
    gap: 1.5rem;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 1;
}



header.scrolled {
    position: fixed;
    background: #003366; /* Dark Blue */
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Top Bar - Simplified */
.top-bar {
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem 4rem 0.2rem; /* Reduced bottom padding */
    font-size: 0.75rem;
    color: #000000; /* White text for dark bg */
    border-bottom: none; 
    background: #ffd900; /* Dark Blue */
}

header.scrolled .top-bar {
    display: none;
}

.top-bar-right {
    display: flex;
    gap: 2rem;
    
}

.contact-details {
    display: flex;
    gap: 1.5rem;
}

.top-bar span i {
    margin-right: 5px;
    color: #000000; /* White icons */
}

/* Main Header Area */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem 4rem; /* Reduced padding from 2.5rem */
    gap: 2rem;
    transition: all 0.3s ease;
}

header.scrolled .main-header {
    padding: 0.5rem 4rem;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo img {
    height: 55px; /* Scaled down from 70px */
    width: auto;
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 40px; /* Scaled down from 50px */
}

/* Header Nav Container */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    max-width: 1200px;
    margin-left: 2rem;
}

/* Browse Categories Button */
.browse-categories-wrapper {
    position: relative;
}

.browse-btn {
    background-color: #ffffff; /* Dark Green */
    color: #07073a;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.browse-btn i {
    font-size: 1rem;
}

.browse-btn i.ml-auto {
    margin-left: auto;
    font-size: 0.7rem;
}

.browse-btn:hover {
    background-color: #ecff6f;
}

/* Desktop Menu Links */
.desktop-menu.new-nav {
    display: flex;
    list-style: none;
    gap: 3.5rem; /* Increased spacing */
    margin: 0;
    padding: 0;
}

.desktop-menu.new-nav li a {
    color: #001a40; /* Dark Blue for light header */
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem; /* Increased size */
    text-transform: capitalize;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

/* Sliding Underline Effect */
.desktop-menu.new-nav li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffd700;
    transition: width 0.3s ease;
}

.desktop-menu.new-nav li a:hover::after,
.desktop-menu.new-nav li a.active::after {
    width: 100%;
}

.desktop-menu.new-nav li a:hover,
.desktop-menu.new-nav li a.active {
    color: #ffd700; /* Gold/Yellow */
}

/* Header Scroll State Adaptation - largely redundant now as base is same, but keeping for structure */
header.scrolled .desktop-menu.new-nav li a {
    color: #ffffff;
}

header.scrolled .desktop-menu.new-nav li a:hover {
    color: #ffd700;
}

header.scrolled .top-bar {
    border-bottom-color: rgba(255,255,255,0.1);
    color: #ffffff;
}

/* Dropdown Content attached to Browse Button */
.dropdown-content.mega-menu-container {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 280%; /* Increased width */
    min-width: 550px; /* Increased min-width */
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 0 0 6px 6px;
    padding: 0.5rem;
    margin-top: 5px;
    list-style: none;
    /* Grid Setup Base */
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem;
}

.browse-categories-wrapper:hover .dropdown-content.mega-menu-container,
.dropdown-content.mega-menu-container.show {
    display: grid; /* Show as grid */
    animation: fadeIn 0.3s ease;
}

.dropdown-content.mega-menu-container li a {
    display: block;
    padding: 0.5rem 1rem; /* Compact padding */
    color: #333;
    text-decoration: none;
    font-size: 0.8rem; /* Smaller text */
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
    border-radius: 4px;
    white-space: nowrap; /* Prevent wrap */
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-content.mega-menu-container li:last-child a {
    border-bottom: none;
}

.dropdown-content.mega-menu-container li a:hover {
    background-color: #f9f9f9;
    color: #000000; /* Darker black for contrast */
    text-decoration: underline;
    padding-left: 1.2rem; /* Indent effect */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
}

header.scrolled .mobile-toggle {
    color: #154d42;
}

/* Mega Menu Adjustment override */
.dropdown-content.mega-menu {
    /* If we use the mega menu logic, attach it to the button properly */
    width: 600px; /* Wider for mega menu */
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: row; /* Change to row to put image on right */
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 2rem 6rem; /* Increase side padding */
    background-color: #000000;
    background-image: url('header.png');
    background-size: cover;
    background-position: left;
    background-attachment: scroll;
    color: #ffffff;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding-top: 0; /* Removed offset to move text up */
}

.hero.zoom-out {
    background-size: 110%;
}

h1.reveal-text, .hero-title {
    font-size: 3.8rem; /* Slightly reduced from 4.5rem */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #ffffff !important; /* Forces white color */
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(0);
    opacity: 1;
}

h1.reveal-text.fade-out {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.hero .subtitle {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #ffffff;
    background: rgba(0, 48, 120, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    backdrop-filter: blur(5px);
    display: inline-block;
    align-self: flex-start;
}

/* Hero Product Display (Right Side) */
.hero-product-display {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    z-index: 2;
}

.hero-product-display img {
    max-width: 110%; /* Increased from 80% to make it pop */
    max-height: 60vh; /* Reduced from 85vh */
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    transition: opacity 1s ease, transform 1s ease;
    opacity: 1;
    transform: translateX(0);
}

.hero-product-display img.switching {
    opacity: 0;
    transform: translateX(50px);
}

/* Mobile Responsiveness for Hero */
/* Mobile Responsiveness for Hero */
@media (max-width: 900px) {
    .hero {
        flex-direction: row; /* Keep side-by-side */
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 3.5rem 1rem 1rem;
        height: 50vh; /* Banner style height */
        /* min-height: 400px; */
    }
    
    .hero-content {
        flex: 0 0 55%; /* Text takes 55% */
        align-items: flex-start;
        margin-bottom: 0;
        z-index: 5;
    }
    
    .hero .subtitle {
        align-self: flex-start;
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
    }
    
    .hero-product-display {
        flex: 0 0 45%; /* Image takes 45% */
        width: auto;
        height: 100%;
        display: flex;
        justify-content: center; /* Center horizontally */
        align-items: center;    /* Center vertically */
    }
    
    .hero-product-display img {
        max-height: 80%; /* Shrink image */
        max-width: 100%;
        width: auto;
        object-fit: contain; /* Ensure full image is visible */
    }
    
    h1.reveal-text, .hero-title {
        font-size: 2.5rem; /* Better fixed size for mobile */
        margin-bottom: 0.5rem;
        color: #ffffff !important;
    }

    .text-block.hero-text {
         font-size: 0.8rem;
         line-height: 1.3;
         display: none; /* Optional: hide long text on mobile to save space, or truncate */
    }
    
    /* Ensure action buttons are small */
    .hero-content .cta-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-yellow);
} */

.text-block {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.8;
    /* padding: 2rem 0; */
    max-width: 900px; /* Limit width for better readability */
    color: var(--dim-text);
}

/* Category Grid */
.category-grid.marquee-content {
    display: grid;
    grid-template-columns: auto; /* Allow auto columns */
    grid-template-rows: repeat(2, 1fr); /* 2 Rows */
    grid-auto-flow: column; /* Flow horizontally */
    gap: 0.5rem;
    width: max-content;
}

.category-grid {
    /* Fallback if marquee class missing */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.category-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 300px; /* Fixed width for marquee items */
}

.category-item {
    text-align: left;
    /* Container styles removed */
    background: transparent;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* .category-item:hover {
    transform: none;
    background: #fdfdfd;
    z-index: 2;
    box-shadow: 0 0 30px rgba(0,0,0,0.05);
} */

.category-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 0.5rem; /* Reduced margin */
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transition: transform 0.5s ease; */
}

/* .category-item:hover .category-image img {
    transform: scale(1.08);
} */

.category-item h3 {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    color: #001a40;
    font-weight: 800;
}

.product-list-small {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.product-list-small li {
    font-size: 0.7rem;
    color: #666;
    line-height: 1.4;
    position: relative;
    padding-left: 0.8rem;
}

.product-list-small li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    opacity: 1;
}

.category-item p {
    font-size: 0.8rem;
    color: var(--dim-text);
    line-height: 1.6;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info .large-text {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.metadata {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dim-text);
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1.2rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-color);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    resize: none;
    margin-top: 0.5rem;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-bottom-color: #000;
}

.submit-btn {
    align-self: flex-start;
    padding: 1rem 3rem;
    background: var(--primary-yellow);
    color: #000;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #FFD600;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

/* Promo Banners */
/* Promo Banners */
.promo-banners {
    padding: 0;
    background-color: #fff;
    width: 100%;
    margin-top: 4rem; /* separation from previous section */
}

.promo-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0; /* Remove gap for seamless stacked full banners */
}

.promo-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 100%; /* Full Width */
    width: 100%;
    gap: 0;
    padding: 0;
    text-align: left;
}

.promo-image {
    flex: 1; /* 50% width */
    border-radius: 0;
    overflow: hidden;
    /* height: 100%; */
}

.promo-image img {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    object-fit: cover;
    min-height: 200px; /* Ensure substantial height */
}

.promo-content {
    flex: 1; /* 50% width */
    padding: 4rem 6rem; /* Interior padding for text */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #001a40;
    letter-spacing: 0;
}

.promo-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* Alternate child layout */
.promo-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem; /* Increased gap */
    padding: 1rem 0;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft shadow */
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #f0f0f0;
}

.product-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-radius: 12px;
    background: #fdfdfd;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #154d42; /* Consistent dark green */
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.product-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Marquee Utilities (Used by Categories) */
.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1rem 0;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-reverse {
    animation: scroll-reverse 40s linear infinite;
}

/* Locations Grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.location-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 12px;
    /* box-shadow: 0 4px 15px rgba(0,0,0,0.05); */
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.location-card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 10px 25px rgba(0,0,0,0.1); */
    border-color: #ffd700;
}

.location-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
}

.location-card span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #154d42;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem; /* Tiled look */
    }
}

@media (max-width: 500px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* Active Class for Animation */
.spotlight-content.active .spotlight-text h3 {
    opacity: 1;
    transform: translateY(0);
}

.spotlight-content.active .spotlight-image {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .spotlight-content {
        flex-direction: column-reverse; /* Image top or bottom? User said image on right, name on left. On mobile usually stack. */
        /* Let's put Name Top, Image Bottom or vice versa. 
           User request: "name on left side, image on right side".
           Mobile: Name top, Image bottom makes sense.
        */
        flex-direction: column; 
        gap: 1rem;
        text-align: center;
    }
    
    .spotlight-text {
        text-align: center;
    }
    
    .spotlight-text h3 {
        font-size: 2rem;
    }
    
    .spotlight-image {
        width: 100%;
        height: 250px;
    }
}

/* Footer */
/* Footer */
.main-footer {
    background-color: #ffffff;
    color: #333;
    padding: 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.certification-strip {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.cert-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%); /* Optional: makes them uniform, remove if color desired */
    opacity: 0.7;
    transition: all 0.3s;
}

.cert-logo:hover {
    filter: none;
    opacity: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr; /* Left, Center (wider), Right */
    gap: 4rem;
    padding: 2rem 4rem 6rem; /* Bottom padding for visual balance/hills */
    position: relative;
    z-index: 2;
}

/* Footer Left */
.footer-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-left .footer-logo {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 1.5rem;
}

.footer-left .footer-logo img {
    height: 60px;
    /* margin-bottom handled by parent */
}

.footer-left p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #444;
    text-align: center;
}

/* Footer Center */
.footer-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-center h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #004d40; /* Deep Green */
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.footer-center p {
    font-size: 0.9rem;
    color: #00695c; /* Lighter Green/Teal text */
    margin-bottom: 1.5rem;
    max-width: 80%;
}

.footer-newsletter {
    display: flex;
    width: 100%;
    max-width: 500px;
    background: #f5f5f5;
    border-radius: 50px;
    padding: 5px;
    border: 1px solid #ddd;
    margin-bottom: 2rem;
}

.footer-newsletter input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    outline: none;
    border-radius: 50px;
}

.footer-newsletter button {
    background-color: #003d33;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.footer-newsletter button:hover {
    background-color: #00695c;
}

.footer-links-row {
    display: flex;
    gap: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    justify-content: center;
}

.footer-links-row a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links-row a i {
    font-size: 0.7rem;
    margin-top: 2px;
}

/* Footer Right */
.footer-right {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.footer-right .address {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #000;
}

.contact-details-footer p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #444;
}

.social-icons-footer {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.social-icons-footer a {
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons-footer a:hover {
    color: #004d40;
}

/* Bottom Visual Placeholder */
.footer-bottom-visual {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Adjust based on image availability */
    background: linear-gradient(to top, rgba(0,77,64,0.1), transparent);
    z-index: 1;
    pointer-events: none;
    /* If user provides image later: 
    background-image: url('hills.png');
    background-size: cover;
    background-position: center bottom;
    */
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .footer-left, .footer-right {
        text-align: center;
        align-items: center;
    }
    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-right {
        align-items: center;
    }
    .footer-links-row {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-info {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        /* padding: 1rem 0; Remove side padding */
        /* margin-top: 2rem; */
        position: sticky; /* Sticky header */
        top: 0;
        background: #fff; /* Ensure background is solid */
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Optional: adds definition */
    }
    .mobile-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 1000;
        font-size: 1.8rem;
    }
    header.transparent-nav .mobile-toggle {
        color: #000000;
    }
    header.scrolled .mobile-toggle {
        color: var(--text-color);
    }
    
    h1.reveal-text {
        font-size: 10vw;
    }
    /* .top-bar {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.5rem 0;
    } */
    .top-bar-right {
        gap: 1rem;
    }
    .contact-details {
        display: none !important; /* Hide contact details on small mobile to save space, keep social? or just hide text */
    }
    .social-links {
        gap: 1rem;
    }
    .logo img {
        height: 50px; /* Smaller logo on mobile */
    }
    .text-block {
        font-size: 0.8rem;
        padding: 0;
    }
    .section-title {
        font-size: 1.3rem;
        margin-left: 0;
        text-align: left; /* left since margin is gone */
    }
    .product-grid {
        padding: 0;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0;
    }
    .contact-info .large-text {
        font-size: 1.5rem;
    }
    .send-btn {
        width: 100%;
        text-align: left;
    }
    nav ul {
        display: none;
    }
    .category-grid {
        grid-template-columns: 0fr;
    }
    .category-item {
        border-left: none;
        border-right: none;
    }
    .promo-banners {
        padding: 2rem 0;
    }
    .promo-item {
        flex-direction: column !important;
        gap: 1.5rem;
    }
    .promo-content {
        padding: 0;
    }
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .desktop-menu {
        display: none;
    }
}

/* Mobile Sidebar Styles */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: #ffffff;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 2rem;
    align-self: flex-end;
    cursor: pointer;
    margin-bottom: 2rem;
}

.sidebar-logo img {
    height: 40px;
    margin-bottom: 2rem;
}

.mobile-links {
    list-style: none;
    padding: 0;
}

.mobile-links li {
    margin-bottom: 1.5rem;
}

.desktop-menu a {
    text-decoration: none;
    color: #ffffff; /* White text for dark header */
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.desktop-menu a:hover {
    color: #ffd700; /* Gold/Yellow on hover for contrast */
}

/* Nav Link Hover Underline */
.desktop-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffd700;
    transition: width 0.3s ease;
}

.desktop-menu a:hover::after {
    width: 100%;
}

.mobile-links a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
}

@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Staggered animation for children */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-animation.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.stagger-animation.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation.is-visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation.is-visible > *:nth-child(4) { transition-delay: 0.4s; }

/* Category Grid Display (Rotating) */
.category-grid-display {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1rem;
    overflow: hidden;
    min-height: 100px; /* Prevent layout shift */
}

.category-grid-item {
    flex: 1;
    max-width: 250px;
    text-align: center;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.05); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #333;
}

.category-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.category-grid-item .category-image-wrap {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: #f9f9f9;
}

.category-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-grid-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #154d42;
}

@media (min-width: 992px) {
    .category-grid-display {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }
}

/* Fade Animation for Rotation */
.animate-fade {
    animation: fadeInScale 0.5s ease-out forwards;
}

/* All Categories Page Grid Styles */
#all-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

#all-categories-grid .category-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

#all-categories-grid .category-image-wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#all-categories-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    #all-categories-grid {
        grid-template-columns: repeat(6, 1fr); /* 6 on desktop, 2 on mobile */
    }
    #all-categories-grid .category-image-wrap {
        width: 150px;
        height: 150px;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile responsive for category grid */
@media (max-width: 768px) {
    .category-grid-display {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 0.5rem;
        gap: 0.5rem;
    }
    .category-grid-item {
        max-width: 100%;
        /* padding: 1rem; */
    }
    .category-grid-item .category-image-wrap {
        width: 150px;
        height: 150px;
    }
    .category-grid-item h3 {
        font-size: 0.9rem;
    }
}

/* Smooth Text Reveal Effect */
.smooth-text-reveal {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(10px);
    transition: opacity 1.2s ease, transform 1.2s ease, filter 1.2s ease;
    will-change: opacity, transform, filter;
}

.smooth-text-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Section Title Standard */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #154d42;
    letter-spacing: -0.02em;
}

/* Text Block Standard */
.text-block {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.8;
    /* padding: 1rem 0; Adjusted padding */
    max-width: 900px;
    color: #333;
}
.text-delay-1 { transition-delay: 0.1s; }
.text-delay-2 { transition-delay: 0.3s; }

/* Content Section Padding */
.content-section {
    padding: 2rem 10rem; /* Increased horizontal padding */
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box; /* Ensure padding includes in width */
}

/* Mobile responsive adjustment for content padding */
@media (max-width: 768px) {
    .content-section {
        padding: 3rem 2rem;
    }
}
/* Directional Scroll Animations */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

.slide-in-left.is-visible,
.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Comprehensive Mobile Responsiveness */
@media (max-width: 900px) {
    /* Content Padding */
    .content-section {
        padding: 1rem 2rem; /* Reduced horizontal padding */
    }

    /* Promo Banners Stacking */
    .promo-banners {
        padding: 0;
        margin-top: 2rem;
    }

    .promo-item, 
    .promo-item:nth-child(even) {
        flex-direction: column; /* Stack vertically */
        max-height: none;
    }

    .promo-image {
        width: 100%;
        /* height: 300px; Fixed height for consistency */
        flex: none;
    }

    .promo-image img {
        height: 120px;
        /* height: 100%; */
    }

    .promo-content {
        width: 100%;
        padding: 3rem 2rem; /* Comfortable mobile padding */
        text-align: center;
        align-items: center;
    }

    .promo-content h2 {
        font-size: 1.5rem; /* Smaller heading */
        text-align: center;
    }

    .promo-content p {
        font-size: 1rem;
        text-align: center;
    }

    /* Typography Adjustments */
    .section-title {
        font-size: 1.8rem; /* Smaller section titles */
        margin-bottom: 1rem;
    }

    .text-block {
        font-size: 1rem;
        padding: 0;
    }

    /* Location Spotlight Stacking */
    .location-spotlight .spotlight-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .spotlight-image {
        width: 100%;
        height: 250px;
    }

    /* Overflow Fixes */
    html {
        font-size: 100%; /* Reset to 16px base */
    }

    .category-item-link {
        width: 100%; /* Remove fixed 300px width */
    }

    .hero-product-display img {
        max-width: 100%; /* Ensure image fits container */
    }
    
    .top-bar {
        display: none;
    }

    .top-bar span i {
        color: #fff !important; /* Force white icons on mobile */
    }

    .top-bar-right, .contact-details {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }





    .header-nav {
        display: none; /* Hide entire nav container on mobile */
    }

    /* Browse Categories Mobile - Hidden as moved to sidebar */
    .browse-categories-wrapper {
        display: none;
    }

    /* Mobile Sidebar Categories */
    .mobile-categories-section {
        margin-top: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 1rem;
    }

    .mobile-categories-section h4 {
        color: #ffd700;
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        letter-spacing: 0.05em;
    }

    .mobile-cat-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .mobile-cat-list li a {
        color: #fff;
        text-decoration: none;
        font-size: 0.9rem;
        display: block;
        padding: 5px 0;
        transition: color 0.3s;
    }

    .mobile-cat-list li a:hover {
        color: #ffd700;
        padding-left: 5px;
    }

    /* Footer Mobile Responsiveness */
    .main-footer {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 1.5rem 6rem;
        text-align: center;
    }

    .footer-left p, 
    .footer-right .address, 
    .contact-details-footer p {
        text-align: center;
        justify-content: center;
    }
    
    .footer-center p {
        max-width: 100%;
    }

    .footer-newsletter {
        flex-direction: column;
        border-radius: 15px;
        max-width: 100%;
    }

    .footer-newsletter input {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .footer-newsletter button {
        width: 100%;
    }

    .footer-links-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .certification-strip {
        gap: 1rem;
        flex-wrap: wrap; /* Allow wrapping on small screens */
    }
    
    .cert-logo {
        height: 60px; /* Smaller certs */
    }

    .social-icons-footer {
        justify-content: center;
    }
}

/* Header Search Bar */
.header-search-container {
    position: relative;
    max-width: 400px;
    width: 100%;
    margin: 0 2rem;
}

#header-search-input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    padding-right: 3rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    background: #fdfdfd;
    transition: all 0.3s ease;
}

#header-search-input:focus {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #bbb;
}

.search-icon {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

/* Search Dropdown Styles */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 450px;
    overflow-y: auto;
    display: none; /* Hidden by default */
    border: 1px solid #eee;
}

.search-results-dropdown.active {
    display: block;
    animation: slideDown 0.2s ease-out;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f9f9fafb;
    padding-left: 1.25rem;
}

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid #eee;
}

.search-result-info {
    flex: 1;
}

.search-result-info h4 {
    font-size: 1rem;
    margin: 0;
    color: #154d42;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.search-result-info p {
    font-size: 0.85rem;
    color: #777;
    margin: 4px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-results {
    padding: 2rem;
    text-align: center;
    color: #888;
    font-size: 1rem;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Search Adjustments */
@media (max-width: 900px) {
    .logo {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 101;
    }
    
    .mobile-toggle {
        position: absolute;
        top: 10px;
        right: 15px;
        z-index: 101;
    }

    .main-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 65px; 
        padding-bottom: 1rem;
        min-height: auto;
    }

    .header-search-container {
        display: block;
        margin: 0; 
        width: 100%;
        max-width: none;
        padding: 0 10px;
        position: relative;
        z-index: 50;
    }

    .search-results-dropdown {
        position: static;
        width: calc(100% - 20px);
        margin: 10px;
        max-height: 300px;
    }
}

/* Adjust text color in header when dark blue */
body.search-active .desktop-menu a {
    color: #ffffff;
}

body.search-active #browse-cats-btn {
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
}

/* Welcome Section Styles */
.welcome-container {
    padding: 0 1rem;
}

.sub-heading {
    display: block;
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.welcome-features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);

}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #f0f7f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #154d42;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #154d42;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #001a40;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

@media (min-width: 576px) {
    .welcome-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .welcome-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Green Banner Section */
.green-banner-section {
    background-image: url('greenbanneer.png'); /* Note: typo in filename preserved as found */
    background-size: cover;
    background-position: center;
    padding: 4rem 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.green-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 0, 0.4); /* Dark green overlay */
    z-index: 1;
}

.green-banner-section .banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
}

.green-banner-section h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.green-banner-section p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Footer Background Image */
/* Footer Background Image with Blur */
.main-footer {
    position: relative;
    overflow: hidden; /* Contain blur */
    color: #ffffff; /* White text base */
}

/* Background pseudo-element */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('footer image.png');
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    z-index: 0;
    transform: scale(1.05); /* Prevent blur edges from showing */
}

/* Ensure content sits above the blurred background */
.main-footer > * {
    position: relative;
    z-index: 1;
}

/* Force text colors to white/light */
.main-footer h3,
.main-footer p,
.main-footer a,
.main-footer i,
.contact-details-footer p, 
.address {
    color: #ffffff !important;
}

.main-footer p, 
.footer-bottom p {
    color: #f0f0f0 !important;
}

.footer-newsletter input {
    background: rgba(255, 255, 255, 0.9);
    border: none;
}


/* Mobile Footer Refinements */
@media (max-width: 900px) {
    .main-footer {
        padding: 3rem 1.5rem 2rem !important; /* Reduced padding */
    }

    .footer-content {
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .footer-left, .footer-center, .footer-right {
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 1rem;
        margin-top: 2rem;
        border-top: 1px solid rgba(255,255,255,0.2);
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Centered Promo Banners (Snacks & Powders) */
.promo-banners {
    padding: 5rem 1rem;
    background: #fff;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
}

.promo-item {
    display: flex;
    flex-direction: column !important; /* Force column layout */
    align-items: center;
    text-align: center;
}

.promo-image {
    order: 1; /* Ensure image is first */
    margin-bottom: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.promo-image img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 12px;

    transition: transform 0.3s ease;
}

.promo-image img:hover {
    transform: translateY(-5px);
}

.promo-content {
    order: 2; /* Text below image */
    padding: 0 1rem;
    text-align: center !important;
}

.promo-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #001a40;
    letter-spacing: 1px;
}

.promo-content p {
    font-size: 1rem;
    color: #555;
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr; /* Stacked layout for promo banners */
        gap: 2rem;
    }
}


/* Testimonials Section */
.testimonials-section {
    padding: 4rem 6rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--primary-green);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 2rem 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 in a row for mobile cards */
        gap: 0.5rem;
    }
}

/* Final Mobile Refinements */
@media (max-width: 768px) {
    .hero-title, h1.reveal-text {
        font-size: 1.8rem !important; /* Smaller hero title */
    }

    .section-title {
        font-size: 1.25rem !important; /* Consistent section labels */
        margin-bottom: 1rem;
    }

    .text-block p, 
    .promo-content p, 
    .feature-card p,
    .testimonial-text {
        font-size: 0.85rem !important; /* Compact body text */
        line-height: 1.4;
    }

    .promo-content h2 {
        font-size: 1.2rem !important;
    }

    .sub-page-hero .hero-title {
        font-size: 1.5rem !important;
    }

    .green-banner-section h2 {
        font-size: 1.4rem !important;
    }

    .green-banner-section p {
        font-size: 0.85rem !important;
    }

    /* Fixed padding for small screens */
    .content-section {
        padding: 1.5rem 0.5rem !important; /* Tighter vertical padding */
    }

    .welcome-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    .feature-card {
        padding: 0.7rem !important;
    }

    .feature-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }

    .feature-card h3 {
        font-size: 0.95rem !important;
        margin-bottom: 0.3rem;
    }
}

@media (max-width: 480px) {
    .hero-title, h1.reveal-text {
        font-size: 1.5rem !important; /* Even smaller for tiny screens */
    }
    
    .promo-content h2, 
    .feature-card h3 {
        font-size: 1rem !important;
    }

    /* Fix Product Grid Overflow */
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0 0.5rem !important;
        box-sizing: border-box;
        width: 100%;
        margin: 0 auto;
    }

    .product-card {
        width: 100%;
        margin: 0;
        padding: 0.5rem !important;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        object-fit: contain;
        margin-bottom: 0.5rem;
    }

    .product-card-info h3 {
        font-size: 0.85rem !important;
        margin-bottom: 0.2rem;
        word-break: break-word; /* Prevent long names from overflowing */
    }

    .product-card-info p {
        font-size: 0.75rem !important;
        line-height: 1.2;
    }
}

/* Mobile Header Redesign */
@media (max-width: 768px) {
    header {
        position: sticky !important;
        top: 0;
        z-index: 1001;
        background: #fff;
    }

    .main-header {
        padding: 0.8rem 1rem !important;
        gap: 0.5rem;
    }

    .logo {
        display: none !important;
    }

    .header-nav {
        margin-left: 0 !important;
        flex: 1; /* Allow search to take space from nav container if shared */
        display: flex; /* Ensure it's engaging layout */
        max-width: none;
    }

    .browse-categories-wrapper, 
    .desktop-menu.new-nav {
        display: none !important; /* Ensure these are hidden if not already */
    }

    .header-search-container {
        width: 80% !important;
        flex: none !important;
        margin: 0 auto !important; /* Center justify */
        /* align-self: flex-start !important; */
    }

    #header-search-input {
        width: 100% !important;
        background: rgba(255, 255, 255, 0.9);
        color: #000;
        border: 1px solid #e0e0e0 !important;
        padding: 0.6rem 2.5rem 0.6rem 1rem;
        border-radius: 4px !important;
        box-shadow: none;
    }

    .search-icon {
        color: #555;
        right: 1rem;
    }

    .mobile-toggle {
        display: block !important;
        color: #000 !important; /* Black menu icon */
        font-size: 1.5rem;
        padding: 0.5rem;
    }
    
    /* Ensure header background handles white text/icons if transparent */
    header.scrolled .mobile-toggle {
        /* Keep white or adjust based on scrolled header color */
        color: #fff !important; 
    }

    /* Mobile Search Results Text Optimization */
    .search-result-item {
        padding: 0.5rem 0.8rem !important; /* Compact padding */
    }

    .search-result-info h4 {
        font-size: 0.9rem !important; /* Smaller title */
        margin-bottom: 0.2rem;
    }

    .search-result-info p {
        font-size: 0.75rem !important; /* Smaller description */
        line-height: 1.2;
    }
}

