/* CSS Variables */
:root {
    --primary-color: #A0B2A6; /* A soft, muted green */
    --secondary-color: #F5F5F5; /* Off-white for backgrounds */
    --accent-color: #D4AF37; /* Gold for highlights */
    --accent-color-rgb: 212, 175, 55;
    --text-color: #333333; /* Main dark text */
    --light-text-color: #f0f0f0; /* For text on dark backgrounds */
    --surface-color: #ffffff; /* For cards, modals */
    --border-color: #e0e0e0;
    --header-height: 65px; /* Define header height as a variable */

    /* Header Specific */
    --brandname-brown-color: #A98D67; /* A warm brown for brand name */
    --header-link-color-scrolled: #333333; /* Dark for scrolled header (Desktop & Mobile base) */
    --header-scrolled-bg: rgba(255, 255, 255, 0.95); /* White with slight transparency for blur */

    /* Mobile Nav Flyout */
    --mobile-nav-flyout-bg: rgba(40, 42, 46, 0.98);
    --mobile-nav-active-link-bg: #4D4A42;
    --mobile-nav-active-link-text: var(--accent-color);

    /* Hero Specific Variables */
    --hero-heading-color: #FFFFFF;
    --hero-paragraph-color: #EAEAEA;
    --hero-preheader-bg-desktop: rgba(0, 0, 0, 0.4);
    --hero-preheader-color-desktop: #FFFFFF;
    --hero-cta-base-green: #6B8E23;
    --hero-cta-hover-green: #55701C;
    --hero-cta-text-color: #FFFFFF;

    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --button-border-radius: 50px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
    --error-color: #dc3545;

    --product-card-image-aspect-ratio: 16 / 10;
}

/* Basic Reset & Globals */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
    /* The main fix: Push all content down to account for the fixed header */
    padding-top: var(--header-height);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }
a { text-decoration: none; color: var(--accent-color); transition: color var(--transition-speed) ease; }
a:hover { color: hsl(from var(--accent-color) h s calc(l - 10%)); }
img { max-width: 100%; height: auto; display: block; }
.text-center { text-align: center; }

/* CTA Button Base */
.cta-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--button-border-radius);
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    background-color: var(--primary-color);
    color: white;
}
.cta-button:hover {
    transform: translateY(-2px);
    background-color: hsl(from var(--primary-color) h s calc(l - 10%));
}

/* Header */
#main-header {
    background-color: var(--header-scrolled-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.6rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    max-height: 45px;
    width: auto;
    display: block;
    margin-right: 12px;
}

.logo-text-brandname {
    font-family: var(--heading-font);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
    color: var(--brandname-brown-color);
}

.nav-links ul {
    list-style: none;
    display: flex;
    margin:0; padding: 0;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 500;
    padding-bottom: 6px;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    color: var(--header-link-color-scrolled);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed) ease-out;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color) !important;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--header-link-color-scrolled);
    padding: 8px;
}

.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
    padding: 8px;
    color: var(--header-link-color-scrolled);
}

.cart-icon-wrapper .fa-shopping-cart {
    font-size: 1.4em;
}

.cart-item-count {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    padding: 1px 5px;
    font-size: 0.65em;
    font-weight: bold;
    line-height: 1.1;
    min-width: 16px;
    text-align: center;
    display: none;
}
.cart-item-count.visible {
    display: inline-block;
}

/* =================================== */
/* === STYLES FOR IMAGE PROMO BANNER === */
/* =================================== */

.image-banner-container {
    /* REMOVED: This is no longer needed as the body now has padding */
    /* margin-top: var(--header-height); */

    position: relative;
    background-color: #333; /* Fallback for when image is loading */
    overflow: hidden;
    line-height: 0; /* Removes extra space below the image */

    /* Animation for closing the banner */
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    max-height: 500px; /* An arbitrary large value for the transition to work from */
}

/* This class is added by JS to hide the banner */
.image-banner-container.hidden {
    max-height: 0;
    /* margin-top: 0; <--- This is also no longer needed */
}

.image-banner-container img {
    width: 100%;
    height: auto;
    display: block; /* Ensures no extra space */
}

/* Styling for the close button */
#close-promo-banner {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 36px;
    height: 36px;

    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);

    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 5; /* Ensures it's on top of the image link */
}

#close-promo-banner:hover {
    opacity: 1;
    transform: scale(1.1);
    background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 767px) {
    #close-promo-banner {
        width: 32px;
        height: 32px;
        font-size: 1.6rem;
        top: 10px;
        right: 10px;
    }
}


/* === Hero Section === */
.hero-inspired-section {
    padding-top: 0; /* This is correct, no extra padding needed here */
    background-color: #282828;
    min-height: calc(100vh - var(--header-height)); /* Adjust min-height to account for the space taken by the header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}
.slide-track { display: flex; width: 800%; height: 100%; animation: scrollLeft 40s linear infinite; }
.slide { width: 12.5%; height: 100%; background-size: cover; background-position: center center; background-repeat: no-repeat; flex-shrink: 0; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.hero-content-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    width: 100%;
}
.hero-inspired-text-content { max-width: 700px; }
.hero-inspired-pre-header {
    display: inline-block;
    background-color: var(--hero-preheader-bg-desktop);
    color: var(--hero-preheader-color-desktop);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
.hero-inspired-title {
    font-family: var(--heading-font);
    font-size: calc(3rem + 2vw);
    color: var(--hero-heading-color);
    line-height: 1.25;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}
.hero-inspired-description {
    font-size: calc(1.05rem + 0.15vw);
    color: var(--hero-paragraph-color);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}
.hero-inspired-cta-group { display: flex; align-items: center; justify-content: center; gap: 1.5rem; }
.cta-button.hero-inspired-cta {
    background-color: var(--hero-cta-base-green);
    color: var(--hero-cta-text-color);
    padding: 1.1rem 2.8rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 18px rgba(0,0,0, 0.25), inset 0 -2px 0px rgba(0,0,0,0.1);
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.cta-button.hero-inspired-cta:hover {
    background-color: var(--hero-cta-hover-green);
    box-shadow: 0 7px 22px rgba(0,0,0, 0.3), inset 0 -2px 0px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.hero-inspired-bottom-bar {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: var(--hero-paragraph-color);
}
.bottom-bar-quote p, .bottom-bar-stats p { font-size: 0.9rem; color: var(--hero-paragraph-color); margin: 0; text-shadow: 1px 1px 2px rgba(0,0,0,0.4); }
.bottom-bar-stats { text-align: right; }
.bottom-bar-stats strong { color: #fff; }

/* Certifications Section */
.certifications-section { padding: 80px 0; background-color: var(--secondary-color); }
.section-title { text-align: center; margin-bottom: 3rem; font-size: 2.5rem; position: relative; color: var(--text-color); }
.section-title::after { content: ''; display: block; width: 80px; height: 3px; background-color: var(--primary-color); margin: 0.5rem auto 0; }
.certification-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; text-align: center; }
.certification-item { padding: 1.5rem; border-radius: var(--border-radius); transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease; }
.certification-item i { color: var(--primary-color); margin-bottom: 1rem; transition: transform var(--transition-speed) ease; font-size: 2.5em; }
.certification-item h3 { margin-bottom: 0.5rem; font-size: 1.2rem; color: var(--text-color); }
.certification-item p { font-size: 0.9rem; color: #666; }
.certification-item:hover { transform: translateY(-5px); box-shadow: var(--box-shadow); }
.certification-item:hover i { transform: scale(1.1); }

/* Product Line Section */
.product-line-section { padding: 80px 0; background-color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 2rem; margin-bottom: 3rem; }
.product-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.product-card { background-color: var(--surface-color); border-radius: var(--border-radius); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07); overflow: hidden; text-align: center; transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease; display: flex; flex-direction: column; height: 100%; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
.product-image-container { width: 100%; position: relative; overflow: hidden; background-color: var(--secondary-color); aspect-ratio: var(--product-card-image-aspect-ratio); border-bottom: 1px solid var(--border-color); }
.product-image { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.product-card:hover .product-image { transform: scale(1.03); }
.product-info { padding: 1rem 1rem 1.2rem; flex-grow: 1; display: flex; flex-direction: column; }
.product-name { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--text-color); font-family: var(--heading-font); font-weight: 600; line-height: 1.3; min-height: 2.6em; }
.product-description { font-size: 0.85rem; color: #666; margin-bottom: 0.8rem; line-height: 1.5; min-height: 0; }
.product-price { font-size: 1.1rem; font-weight: 700; color: var(--text-color); margin-bottom: 1rem; }
.add-to-cart-btn { background-color: transparent; color: var(--text-color); border: 1px solid var(--text-color); padding: 0.6rem 1.2rem; font-size: 0.9rem; font-weight: 500; border-radius: var(--border-radius-md); cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; text-transform: capitalize; letter-spacing: 0.2px; align-self: stretch; margin-top: auto; }
.add-to-cart-btn:hover { background-color: var(--text-color); color: var(--surface-color); transform: translateY(-1px); }
.add-to-cart-btn.sold-out { background-color: #f0f0f0; color: #aaa; border-color: #ddd; cursor: not-allowed; }
.add-to-cart-btn.sold-out:hover { background-color: #f0f0f0; color: #aaa; }
#products-loading-message { text-align: center; padding: 30px; font-size: 1.1em; color: #777; }

/* === Natural Qualities Section === */
.natural-qualities-section { padding: 70px 0; background-color: var(--surface-color); text-align: center; }
.qualities-main-title { font-family: var(--heading-font); font-size: 2.8rem; color: var(--text-color); font-weight: bold; margin-bottom: 3.5rem; text-align: center; line-height: 1.3; }
.qualities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2rem; max-width: 800px; margin: 0 auto; }
.quality-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.quality-icon-wrapper { width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--primary-color); display: flex; justify-content: center; align-items: center; margin-bottom: 0.75rem; background-color: transparent; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.quality-item:hover .quality-icon-wrapper { transform: scale(1.05); box-shadow: 0 0 15px rgba(var(--primary-color), 0.3); }
.quality-icon-wrapper img { max-width: 60%; max-height: 60%; object-fit: contain; }
.quality-icon-wrapper.filled-icon-bg { background-color: var(--primary-color); border-color: var(--primary-color); }
.quality-icon-wrapper.filled-icon-bg img { width: 100%; height: 100%; object-fit: contain; }
.quality-text { font-family: var(--body-font); font-size: 0.9rem; color: var(--text-color); font-weight: 500; line-height: 1.4; margin-bottom: 0; }

/* Footer */
#main-footer { background-color: var(--text-color); color: rgba(240, 240, 240, 0.8); padding: 2.5rem 0; text-align: center; }
#main-footer .container { display: flex; flex-direction: column; align-items: center; }
#main-footer p { margin-bottom: 1rem; font-size: 0.9rem; }
.social-links a { color: rgba(240, 240, 240, 0.8); margin: 0 0.75rem; font-size: 1.2rem; transition: color var(--transition-speed) ease; }
.social-links a:hover { color: var(--accent-color); }
#main-footer .vinzeres-credit { font-size: 0.8rem; color: rgba(240, 240, 240, 0.6); margin-top: -0.5rem; margin-bottom: 1.5rem; }
#main-footer .vinzeres-credit a { color: rgba(240, 240, 240, 0.7); text-decoration: underline; text-decoration-color: rgba(240, 240, 240, 0.4); }
#main-footer .vinzeres-credit a:hover { color: var(--accent-color); text-decoration-color: var(--accent-color); }

/* Animations */
.animate-on-load, .animate-on-scroll { opacity: 0; transition-property: opacity, transform; transition-duration: 0.7s; transition-timing-function: ease-out; }
.animate-on-load { transform: translateY(25px); }
.animate-on-scroll { transform: translateY(30px); }
.animate-on-load.visible, .animate-on-scroll.visible { opacity: 1; transform: translateY(0) scale(1); }
.animate-on-load.delay-1, .animate-on-scroll.delay-1 { transition-delay: 0.15s; }
.animate-on-load.delay-2, .animate-on-scroll.delay-2 { transition-delay: 0.3s; }
.animate-on-load.delay-3, .animate-on-scroll.delay-3 { transition-delay: 0.45s; }
.animate-on-load.delay-4, .animate-on-scroll.delay-4 { transition-delay: 0.6s; }

/* Cart Modal */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1040; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s; }
.cart-modal { position: fixed; top: 0; right: -100%; width: 100%; max-width: 380px; height: 100%; background-color: var(--surface-color); z-index: 1050; box-shadow: -5px 0 15px rgba(0,0,0,0.15); transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column; }
.cart-modal.open { right: 0; }
.cart-overlay.open { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s 0s; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--border-color); }
.cart-header h2 { font-family: var(--heading-font); font-size: 1.4em; margin: 0; color: var(--text-color); }
.close-cart-button { background: none; border: none; font-size: 1.7em; color: #888; cursor: pointer; padding: 5px; line-height: 1; }
.close-cart-button:hover { color: var(--text-color); }
.cart-items-container { flex-grow: 1; overflow-y: auto; padding: 15px; }
.cart-item { display: flex; align-items: flex-start; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; }
.cart-item:last-child { margin-bottom: 0; border-bottom: none; }
.cart-item-image img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--border-radius-sm); margin-right: 12px; border: 1px solid var(--border-color); flex-shrink: 0; }
.cart-item-details { flex-grow: 1; }
.cart-item-name { font-weight: 500; font-size: 0.95em; margin-bottom: 4px; color: var(--text-color); }
.cart-item-price { font-size: 0.9em; color: #555; margin-bottom: 8px; }
.cart-item-actions { margin-left: 10px; flex-shrink: 0; }
.cart-item-actions .remove-from-cart-btn { background: none; border: none; color: var(--error-color); font-size: 0.8em; cursor: pointer; text-decoration: underline; padding: 0; }
.cart-item-actions .remove-from-cart-btn:hover { color: hsl(from var(--error-color) h s calc(l - 10%)); }
.cart-empty-message { text-align: center; color: #777; font-size: 1.05em; padding: 30px 0; }
.cart-footer { padding: 15px 20px; border-top: 1px solid var(--border-color); background-color: #f9f9f9; }
.cart-footer .cta-button.full-width { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px; font-size: 1em; font-weight: 500; }
.cart-footer .cta-button:disabled { background-color: #ccc !important; background-image: none !important; color: #666 !important; cursor: not-allowed; box-shadow: none; opacity: 0.6; }
.cart-footer .cta-button:disabled:hover { opacity: 0.6; transform: translateY(0); }
.cart-toast-notification { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(100px); background-color: #333; color: white; padding: 10px 20px; border-radius: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 2000; font-size: 0.9em; opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; }
.cart-toast-notification.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.cart-item-quantity { display: flex; align-items: center; margin-top: 5px; }
.cart-item-quantity .quantity-btn { background-color: #f0f0f0; border: 1px solid #ddd; color: var(--text-color); cursor: pointer; padding: 3px 7px; font-size: 0.85em; border-radius: var(--border-radius-sm); line-height: 1; height: 28px; min-width: 28px; }
.cart-item-quantity .quantity-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.cart-item-quantity .quantity-input { width: 35px; text-align: center; border: 1px solid #ddd; border-left: none; border-right: none; padding: 3px 0; font-size: 0.85em; height: 28px; background-color: #fff; }
.cart-item-quantity .quantity-input::-webkit-outer-spin-button, .cart-item-quantity .quantity-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Responsive Adjustments */
@media (min-width: 576px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.8rem; } .product-card .product-name { font-size: 1rem; } .product-card .product-price { font-size: 1rem; } .product-card .add-to-cart-btn { font-size: 0.85rem; padding: 0.5rem 1rem;} }
@media (min-width: 992px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
@media (min-width: 1200px) { .product-grid { gap: 2.2rem; } }

@media (max-width: 992px) {
    .hero-inspired-text-content { max-width: 90%; }
    .hero-inspired-title { font-size: calc(2.8rem + 1.8vw); }
    .hero-inspired-description { font-size: calc(1rem + 0.15vw); }
    .section-title { font-size: 2rem; }
    .qualities-main-title { font-size: 2.4rem; margin-bottom: 3rem; }
    .qualities-grid { max-width: 700px; }
}

@media (max-width: 767px) {
    html { font-size: 15px; }

    #main-header {
        background-color: var(--surface-color) !important;
        backdrop-filter: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07) !important;
        padding: 0.6rem 0 !important;
    }
    #main-header .logo-image { max-height: 45px !important; }
    #main-header .logo-text-brandname { color: var(--brandname-brown-color) !important; }
    #main-header .cart-icon-wrapper,
    #main-header .mobile-nav-toggle {
        color: var(--header-link-color-scrolled) !important;
    }

    .hero-inspired-section {
        min-height: calc(100vh - var(--header-height));
        justify-content: flex-start;
        overflow: visible;
        background-color: var(--secondary-color);
    }

    .hero-background-slider {
        position: relative;
        width: 100%;
        height: 45vh;
        z-index: auto;
        background-color: #282828;
    }

    .hero-content-overlay {
        background-color: var(--surface-color);
        position: relative;
        z-index: auto;
        padding: 2.5rem 15px;
        width: 100%;
        margin-top: 0;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }
    .hero-inspired-text-content { max-width: 100%; }

    .hero-inspired-pre-header { color: var(--text-color); background-color: var(--secondary-color); padding: 0.5rem 1rem; font-size: 0.85rem; margin-bottom: 1rem; text-shadow: none; border: 1px solid var(--border-color); }
    .hero-inspired-title { color: var(--text-color); font-size: calc(2rem + 3vw); line-height: 1.3; margin-bottom: 1.5rem; text-shadow: none; }
    .hero-inspired-description { color: #555; font-size: calc(0.95rem + 0.5vw); margin-bottom: 2rem; line-height: 1.7; text-shadow: none; }
    .cta-button.hero-inspired-cta { background-color: var(--hero-cta-base-green); color: var(--hero-cta-text-color); padding: 0.9rem 2rem; font-size: 1rem; box-shadow: 0 4px 12px rgba(0,0,0, 0.15), inset 0 -1px 0px rgba(0,0,0,0.1); }
    .cta-button.hero-inspired-cta:hover { background-color: var(--hero-cta-hover-green); box-shadow: 0 6px 15px rgba(0,0,0, 0.2), inset 0 -1px 0px rgba(0,0,0,0.1); transform: translateY(-2px); }

    .hero-inspired-bottom-bar { display: none; }
    .slide-track { animation-duration: 32s; }

    .nav-links { position: fixed; top: 0; right: -100%; width: 85%; max-width: 320px; height: 100vh; background-color: var(--mobile-nav-flyout-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; box-shadow: -6px 0 25px rgba(0, 0, 0, 0.35); transition: right 0.35s cubic-bezier(0.25, 0.1, 0.25, 1); z-index: 999; overflow-y: auto; }
    .nav-links.active { right: 0; }
    .nav-links ul { list-style: none; padding: 0; margin: 0; width: 100%; padding-top: calc(var(--header-height) + 2rem); padding-bottom: 2rem; flex-direction: column; }
    .nav-links li { margin: 0; width: 100%; opacity: 0; transform: translateX(-25px); transition: opacity 0.3s ease-out, transform 0.3s ease-out; }
    .nav-links.active li { opacity: 1; transform: translateX(0); }
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; } .nav-links.active li:nth-child(2) { transition-delay: 0.15s; } .nav-links.active li:nth-child(3) { transition-delay: 0.2s; } .nav-links.active li:nth-child(4) { transition-delay: 0.25s; } .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links a { display: block; padding: 1rem 2rem; font-size: 1.1rem; font-weight: 500; color: var(--light-text-color); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); transition: background-color 0.2s ease, color 0.2s ease; position: relative; text-align: left; width: 100%; }
    .nav-links li:last-child a { border-bottom: none; }
    .nav-links a::after { display: none; }
    .nav-links a:hover { background-color: rgba(255, 255, 255, 0.05); color: var(--light-text-color); }
    .nav-links a.active { background-color: var(--mobile-nav-active-link-bg) !important; color: var(--mobile-nav-active-link-text) !important; font-weight: 600; }
    .nav-links a.active::before { display: none; }
    .mobile-nav-toggle { display: block; z-index: 1001; padding: 12px; font-size: 1.8rem; }

    .natural-qualities-section { padding: 50px 0; }
    .qualities-main-title { font-size: 2rem; margin-bottom: 2.5rem; }
    .qualities-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; max-width: 500px; }
    .quality-icon-wrapper { width: 90px; height: 90px; }
    .quality-text { font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .hero-background-slider { height: 40vh; }
    .hero-inspired-title { font-size: calc(1.8rem + 3.5vw); margin-bottom: 1rem; }
    .hero-inspired-pre-header { font-size: 0.8rem; padding: 0.4rem 0.8rem; margin-bottom: 0.8rem;}
    .hero-inspired-description { font-size: calc(0.9rem + 0.8vw); margin-bottom: 1.5rem;}
    .cta-button.hero-inspired-cta { padding: 0.9rem 1.8rem; font-size: 0.95rem; }

    .natural-qualities-section { padding: 40px 0; }
    .qualities-main-title { font-size: 1.8rem; margin-bottom: 2rem; line-height: 1.2; }
    .qualities-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; max-width: 100%; padding: 0 15px; }
    .quality-icon-wrapper { width: 80px; height: 80px; }
    .quality-icon-wrapper img { max-width: 55%; max-height: 55%; }
    .quality-icon-wrapper.filled-icon-bg img { width: 100%; height: 100%; object-fit: contain; }
    .quality-text { font-size: 0.8rem; }
}
/* ================================================= */
/* === AWARDS SECTION (WITH PHOTOS) === */
/* ================================================= */

.awards-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.awards-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.75rem auto 0;
}

/* THIS IS THE KEY FIX: The Grid Container */
.awards-grid {
    display: grid;
    /* This line creates the responsive columns. It will fit as many 300px columns as it can.
       On a large screen, it will be 3. On smaller screens, it will automatically become 2 or 1. */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* The individual award card styling */
.award-item {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

.award-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.award-photo-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f0f0f0; /* Fallback color while image loads */
}

.award-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.award-item:hover .award-photo-container img {
    transform: scale(1.05);
}

.award-text-content {
    padding: 1.5rem 1.75rem;
    text-align: left;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

.award-text-content h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.award-text-content .award-source {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.award-text-content .award-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}
/* ================================================= */
/* === STATS COUNTER SECTION (CARD STYLE) === */
/* ================================================= */

.stats-section {
    background-color: var(--secondary-color); /* Use the off-white page background */
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    background-color: var(--surface-color); /* White card background */
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}



.stat-value {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--text-color); /* Use the main dark text color */
    text-shadow: none; /* Remove the old text shadow */
}

.stat-label {
    font-family: var(--body-font);
    font-size: 0.95rem;
    font-weight: 500;
    color: #666; /* A softer grey for the label */
    margin: 0;
}

@media (max-width: 767px) {
    .stats-section {
        padding: 60px 0;
    }
    .stats-grid {
        gap: 1.5rem;
    }
    .stat-value {
        font-size: 2.5rem;
    }
}

/* ================================================= */
/* === TESTIMONIALS SCROLLING SECTION (WITH ARROWS) === */
/* ================================================= */

.testimonials-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.testimonials-section .section-title {
    margin-bottom: 3rem;
}

/* New wrapper to position the arrows correctly */
.testimonials-wrapper {
    position: relative;
}

.testimonials-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 24%;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth; /* Crucial for smooth scrolling with buttons */
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    padding: 10px;
    margin: -10px;
}

.testimonials-scroller::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    scroll-snap-align: start;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.testimonial-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- NEW ARROW STYLES --- */
/* --- NEW ARROW STYLES (MINIMALIST) --- */
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    
    /* Shape and Size */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    
    /* Appearance - Border with a semi-transparent white background */
    background-color: rgba(245, 245, 245, 0.5); /* A slightly off-white, semi-transparent fill */
    border: 1px solid #e0e0e0; /* A subtle light grey border */
    
    /* Icon Color */
    color: #888; /* A soft grey for the arrow symbol */
    
    /* Other properties */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-arrow:hover {
    background-color: #ffffff; /* Becomes solid white on hover */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Add a subtle shadow on hover */
}

/* We use ::before to create the arrow symbol manually for a cleaner look */
.testimonial-arrow::before {
    content: '';
    display: block;
    width: 8px; /* Width of the arrow lines */
    height: 8px; /* Height of the arrow lines */
    border-top: 2px solid currentColor; /* Use the button's color for the lines */
    border-right: 2px solid currentColor;
}

.testimonial-arrow.prev::before {
    /* Rotate the '>' to become '<' */
    transform: rotate(-135deg); 
    margin-left: 2px; /* Slight position adjustment */
}

.testimonial-arrow.next::before {
    /* The default '>' rotation */
    transform: rotate(45deg); 
    margin-right: 2px; /* Slight position adjustment */
}

/* Remove the default Font Awesome icon if it's still there */
.testimonial-arrow {
    font-size: 0; 
}

/* Positioning remains the same */
.testimonial-arrow.prev {
    left: -24px;
}

.testimonial-arrow.next {
    right: -24px;
}

@media (max-width: 767px) {
    .testimonial-arrow {
        display: none;
    }
}
@media (max-width: 1200px) {
    .testimonials-scroller {
        grid-auto-columns: 32%; /* Shows roughly 3 items */
    }
}

/* For smaller tablets */
@media (max-width: 992px) {
    .testimonials-scroller {
        grid-auto-columns: 48%; /* Shows roughly 2 items */
    }
}

/* For mobile phones - THIS IS THE KEY CHANGE */
@media (max-width: 767px) {
    .testimonials-scroller {
        /* Make each slide take up most of the screen width,
           minus some padding on the sides */
        grid-auto-columns: 90%; 
        
        /* Add some padding to the main scroller so the single
           slide doesn't touch the screen edges */
        padding: 10px 15px;
    }
    
    /* On mobile, we hide the arrows since users will swipe */
    .testimonial-arrow {
        display: none;
    }
}
/* ... other responsive rules ... */