/*
Theme Name: Ethical Farmers
Theme URI: https://ethicalfarmerslk.com
Author: Ethical Farmers Development Team
Author URI: https://ethicalfarmerslk.com
Description: A modern, professional B2B WordPress theme for Ethical Farmers - an organic herbs, oils, spices, and coconut products export company from Sri Lanka. Clean, nature-inspired, and trust-building for international buyers.
Version: 1.0.8
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ethical-farmers
Tags: e-commerce, business, custom-menu, custom-logo, featured-images, theme-options, translation-ready
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
    --color-primary-green: #2D5016;
    --color-primary-green-dark: #1E3A0E;
    --color-primary-green-light: #3A6B1E;
    --color-secondary-brown: #8B6914;
    --color-secondary-brown-light: #A67C1A;
    --color-gold: #C5A44E;
    --color-gold-light: #D4B96A;
    --color-cream: #F5F1E8;
    --color-cream-dark: #EDE6D6;
    --color-off-white: #FAFAF7;
    --color-white: #FFFFFF;
    --color-dark: #1A1A1A;
    --color-dark-green: #0F2A06;
    --color-text-primary: #2C2C2C;
    --color-text-secondary: #5A5A5A;
    --color-text-light: #8A8A8A;
    --color-border: #E0DDD4;

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 12px 40px rgba(45, 80, 22, 0.12);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    --container-max: 1200px;
    --container-narrow: 960px;
    --navbar-height: 130px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background-color: var(--color-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary-green);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-gold);
}

.text-green {
    color: var(--color-primary-green);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    min-height: 44px;
    min-width: 44px;
    line-height: 1;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-green), var(--color-primary-green-light));
    color: var(--color-white);
    border-color: var(--color-primary-green);
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-green-dark), var(--color-primary-green));
    border-color: var(--color-primary-green-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-dark);
    border-color: var(--color-gold);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(197, 164, 78, 0.25);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    border-color: var(--color-gold-light);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 164, 78, 0.35);
}

.nav-menu .nav-cta .btn-gold {
    color: var(--color-dark) !important;
}

.nav-menu .nav-cta .btn-gold::after {
    display: none !important;
}

.nav-menu .nav-cta .btn-gold:hover {
    color: #000 !important;
}

.btn-outline-green {
    background: transparent;
    color: var(--color-primary-green);
    border-color: var(--color-primary-green);
}

.btn-outline-green:hover {
    background: var(--color-primary-green);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 80, 22, 0.2);
}

.btn-lg {
    padding: 18px 44px;
    font-size: 1.05rem;
    border-radius: 14px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    margin-bottom: 18px;
    color: var(--color-dark);
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
    color: var(--color-text-secondary);
    line-height: 1.75;
}

.section-header .section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-green), var(--color-gold));
    margin: 22px auto 0;
    border-radius: var(--radius-full);
}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary-green);
    font-weight: 700;
    margin-bottom: 20px;
}

.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-cream);
    border-top-color: var(--color-primary-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

.preloader-spinner svg {
    width: 100%;
    height: 100%;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-base);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.site-header.scrolled .nav-container {
    height: 80px;
}

.site-header.scrolled .nav-brand .brand-text {
    color: var(--color-primary-green);
}

.site-header.scrolled .nav-menu a {
    color: var(--color-text-primary);
}

.site-header.scrolled .nav-menu a:hover,
.site-header.scrolled .nav-menu a.active {
    color: var(--color-primary-green);
}

.dark-header-page .site-header.scrolled .dropdown-arrow {
    color: var(--color-white);
}

.site-header.scrolled .nav-hamburger span {
    background: var(--color-primary-green);
}

/* Our Story page - dark header */
.dark-header-page .site-header.scrolled {
    background: rgba(15, 42, 6, 0.95) !important;
}

.dark-header-page .site-header.scrolled .nav-brand .brand-text {
    color: var(--color-white) !important;
}

.dark-header-page .site-header.scrolled .nav-menu li:not(.nav-cta) a {
    color: var(--color-gold) !important;
}

.dark-header-page .site-header.scrolled .nav-menu li:not(.nav-cta) a:hover,
.dark-header-page .site-header.scrolled .nav-menu li:not(.nav-cta) a.active {
    color: var(--color-white) !important;
}

.dark-header-page .nav-hamburger {
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: var(--radius-sm);
}

.dark-header-page .nav-hamburger span,
.dark-header-page .site-header.scrolled .nav-hamburger span {
    background: var(--color-white) !important;
}

.dark-header-page .nav-menu li:not(.nav-cta) a {
    color: var(--color-gold) !important;
}

.dark-header-page .nav-menu li:not(.nav-cta) a:hover {
    color: var(--color-white) !important;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1001;
}

.nav-brand svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.nav-logo {
    margin-top: 0;
    margin-bottom: 0;
    height: 120px;
    width: auto;
    max-width: 260px;
    transition: all var(--transition-base);
}

.site-header.scrolled .nav-logo {
    height: 55px;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    transition: color var(--transition-base);
    line-height: 1.2;
}

.brand-text span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color var(--transition-fast);
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--color-gold);
}

.nav-cta .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.site-header.scrolled .nav-cta .btn-primary {
    background-color: var(--color-primary-green);
    color: var(--color-white);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(0);
    min-width: 200px;
    background: var(--color-white);
    border-top: 3px solid var(--color-primary-green);
    list-style: none;
    padding: 12px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 100;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--color-white);
    border-top: 3px solid var(--color-primary-green);
    border-left: 3px solid var(--color-primary-green);
}

.has-dropdown:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown li {
    border-bottom: 1px solid var(--color-border);
}

.nav-dropdown li:last-child {
    border-bottom: none;
}

.nav-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-primary) !important;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-dropdown li a::after {
    display: none !important;
}

.dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-cream);
    border-radius: 6px;
    flex-shrink: 0;
    color: var(--color-primary-green);
    transition: all 0.2s;
}

.dropdown-icon svg {
    width: 16px;
    height: 16px;
}

.dropdown-text {
    white-space: nowrap;
}

.nav-dropdown li a:hover {
    background: var(--color-cream);
    color: var(--color-primary-green) !important;
}

.nav-dropdown li a:hover .dropdown-icon {
    background: var(--color-primary-green);
    color: var(--color-white);
}

.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dropdown-arrow svg {
    display: block;
    width: 10px;
    height: 10px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover > a .dropdown-arrow svg {
    transform: rotate(180deg);
}

.dark-header-page .nav-dropdown::before,
.site-header .nav-dropdown::before {
    border-top-color: var(--color-primary-green);
    border-left-color: var(--color-primary-green);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    padding: 8px;
    background: none;
    border: none;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.site-header.scrolled .nav-hamburger span {
    background: var(--color-dark);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
@media (max-width: 991px) {
    :root {
        --navbar-height: 80px;
    }

    .nav-logo {
        height: 55px;
    }

    .site-header.scrolled .nav-logo {
        height: 45px;
    }

    .nav-hamburger {
        display: flex;
    }

    .site-header nav {
        position: fixed;
        top: var(--navbar-height);
        left: auto;
        right: 0;
        width: 80%;
        max-width: 360px;
        height: calc(100vh - var(--navbar-height));
        height: calc(100dvh - var(--navbar-height));
        z-index: 1000;
        display: none;
        overflow-y: auto;
    }

    .site-header nav.active {
        display: block;
    }

    .nav-menu {
        display: none;
        background: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        padding: 24px 36px 40px;
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
        height: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin-bottom: 8px;
    }

    .nav-menu a {
        color: var(--color-text-primary);
        font-size: 1.15rem;
        font-weight: 500;
        padding: 24px 0;
        border-bottom: 1px solid var(--color-border);
        width: 100%;
        display: block;
    }

    .has-dropdown > a {
        flex: 1;
        width: auto;
        border-bottom: none;
    }

    .nav-menu a:hover,
    .nav-menu a:active {
        color: var(--color-primary-green);
        background: var(--color-cream);
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-cta {
        margin-top: 20px;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
        text-align: center;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        z-index: 999;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile Dropdown */
    .has-dropdown {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .has-dropdown > a {
        flex: 1;
        width: auto;
        border-bottom: none;
        justify-content: space-between;
    }

    .dropdown-arrow {
        width: 28px;
        height: 28px;
        min-width: 28px;
        background: var(--color-primary-green);
        color: var(--color-white);
        cursor: pointer;
        border-radius: 6px;
        flex-shrink: 0;
        margin-left: 10px;
    }

    .dropdown-arrow svg {
        width: 12px;
        height: 12px;
    }

    .has-dropdown:hover > a .dropdown-arrow svg {
        transform: none;
    }

    .has-dropdown.open > a > .dropdown-arrow svg {
        transform: rotate(180deg);
    }

    .has-dropdown.open > a > .dropdown-arrow {
        background: var(--color-gold);
        color: var(--color-text-primary);
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border-top: none;
        border-left: none;
        border-radius: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        padding: 0;
        width: 100%;
        flex-basis: 100%;
        order: 10;
    }

    .nav-dropdown::before {
        display: none;
    }

    .has-dropdown.open > .nav-dropdown {
        max-height: 200px;
        padding: 4px 0;
    }

    .nav-dropdown li {
        border-bottom: none;
    }

    .nav-dropdown li a {
        padding: 12px 20px;
        font-size: 1rem;
        color: var(--color-text-secondary) !important;
        border-bottom: none;
        border-left: none;
        border-left-color: transparent;
        transition: all 0.2s;
        gap: 12px;
        justify-content: center;
        text-align: center;
    }

    .nav-dropdown li a:hover {
        color: var(--color-primary-green) !important;
        background: var(--color-off-white);
    }

    .dark-header-page .site-header.scrolled .nav-menu li:not(.nav-cta) a:hover,
    .dark-header-page .site-header.scrolled .nav-menu li:not(.nav-cta) a.active,
    .dark-header-page .nav-menu li:not(.nav-cta) a:hover,
    .dark-header-page .nav-menu li:not(.nav-cta) a.active {
        color: var(--color-primary-green) !important;
    }

    .dropdown-icon {
        width: 36px;
        height: 36px;
    }

    .dropdown-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-dark-green);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 42, 6, 0.85) 0%,
        rgba(45, 80, 22, 0.7) 40%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    padding-top: var(--navbar-height);
}

.hero-content h1 {
    color: var(--color-white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-content h1 .highlight {
    color: var(--color-gold);
    display: block;
}

.hero-content .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 680px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating leaf animation in hero */
.hero-leaf {
    position: absolute;
    z-index: 2;
    opacity: 0.08;
    animation: float-leaf 15s ease-in-out infinite;
}

.hero-leaf:nth-child(2) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes float-leaf {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    75% { transform: translateY(-25px) rotate(3deg); }
}

/* ==========================================================================
   Why Ethical Farmers Section
   ========================================================================== */
.why-section {
    background: var(--color-white);
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.why-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.why-card:hover {
    background: var(--color-cream);
    border-color: var(--color-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-primary-green), var(--color-primary-green-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.why-card:hover .why-card-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
}

.why-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-white);
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.why-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ==========================================================================
   Product Categories Section
   ========================================================================== */
.products-section {
    background: var(--color-cream);
    padding: 100px 0;
}

.products-carousel {
    position: relative;
    padding: 0 50px;
}

.products-carousel-outer {
    overflow: hidden;
}

.products-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.product-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    flex: 0 0 calc((100% - 48px) / 3);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card-img {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.08);
}

.product-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 40px 32px 32px;
    background: linear-gradient(to top, rgba(15, 42, 6, 0.92) 0%, rgba(15, 42, 6, 0.7) 60%, transparent 100%);
    color: var(--color-white);
}

.product-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--color-white);
    letter-spacing: 0.01em;
}

.product-card-body p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 18px;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all var(--transition-fast);
}

.product-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.product-card-link:hover {
    color: var(--color-gold-light);
}

.product-card-link:hover svg {
    transform: translateX(5px);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-primary-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-btn:hover {
    background: var(--color-primary-green);
    border-color: var(--color-primary-green);
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--color-border);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.carousel-dot.active {
    background: var(--color-primary-green);
    width: 32px;
    border-radius: var(--radius-full);
}

@media (max-width: 991px) {
    .products-carousel {
        padding: 0 40px;
    }

    .product-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 640px) {
    .products-carousel {
        padding: 0 16px;
    }

    .product-card {
        flex: 0 0 100%;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        z-index: 20;
    }

    .carousel-prev {
        left: -6px;
    }

    .carousel-next {
        right: -6px;
    }
}

/* ==========================================================================
   Certifications Bar
   ========================================================================== */
.certifications-section {
    background: var(--color-white);
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.certifications-track-wrapper {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.certifications-track {
    display: flex;
    gap: 60px;
    align-items: center;
    animation: scroll-logos 25s linear infinite;
    width: max-content;
}

.certifications-track:hover {
    animation-play-state: paused;
}

.cert-logo {
    flex-shrink: 0;
    height: 70px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition-base);
    object-fit: contain;
}

.cert-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Shared Prosperity Section
   ========================================================================== */
.prosperity-section {
    background: var(--color-cream);
    padding: 100px 0;
}

.prosperity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.prosperity-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.prosperity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
}

.prosperity-content h2 {
    margin-bottom: 12px;
}

.prosperity-content .subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
}

.prosperity-list {
    list-style: none;
    padding: 0;
    margin-bottom: 28px;
}

.prosperity-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.prosperity-list li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-primary-green);
    margin-top: 3px;
}

.prosperity-closing {
    font-style: italic;
    font-weight: 500;
    color: var(--color-primary-green) !important;
    font-size: 1rem;
    border-left: 3px solid var(--color-gold);
    padding-left: 16px;
}

@media (max-width: 991px) {
    .prosperity-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .prosperity-image {
        order: -1;
    }

    .prosperity-image img {
        min-height: 300px;
    }
}

/* ==========================================================================
   CTA / Inquiry Section
   ========================================================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 42, 6, 0.92) 0%,
        rgba(45, 80, 22, 0.85) 50%,
        rgba(139, 105, 20, 0.8) 100%
    );
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-content .cta-subtext {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-download {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
}

.cta-download:hover {
    color: var(--color-gold) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: linear-gradient(160deg, #0D2005 0%, #0F2A06 50%, #14320C 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 90px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-text {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand .brand-tagline {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-gold);
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-brand .brand-desc {
    font-size: 0.92rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 28px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
}

.footer-contact-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--color-gold);
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a:hover {
    background: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(197, 164, 78, 0.3);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.65);
}

.footer-social a:hover svg {
    color: var(--color-dark);
}

.footer-map {
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(30%) brightness(0.9);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.footer-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-trust svg {
    width: 14px;
    height: 14px;
    color: var(--color-gold);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all var(--transition-base);
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    color: white;
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--color-primary-green);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-green-dark);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 16px 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 0.85rem;
    line-height: 1.6;
    flex: 1;
    min-width: 300px;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.cookie-accept {
    background: var(--color-primary-green);
    color: var(--color-white);
}

.cookie-accept:hover {
    background: var(--color-primary-green-light);
}

.cookie-decline {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 575px) {
    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Live Chat Widget Placeholder
   ========================================================================== */
.live-chat-widget {
    position: fixed;
    bottom: 90px;
    right: 90px;
    width: 56px;
    height: 56px;
    background: var(--color-primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 997;
    cursor: pointer;
    transition: all var(--transition-base);
}

.live-chat-widget:hover {
    transform: scale(1.1);
    background: var(--color-primary-green-dark);
}

.live-chat-widget svg {
    width: 24px;
    height: 24px;
    color: white;
}

@media (max-width: 767px) {
    .live-chat-widget {
        display: none;
    }
}

/* ==========================================================================
   Responsive Overrides
   ========================================================================== */
@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Scrollbar Styling
   ========================================================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-green);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-green-dark);
}
