/* =========================================================================
   VARIABLES & DESIGN SYSTEM
   ========================================================================= */
   :root {
    /* Colors */
    --clr-primary: #1F4529; /* Deep Forest Green */
    --clr-primary-light: #476A2E; 
    --clr-secondary: #C84B31; /* Rosella Red */
    --clr-accent: #E5BA73; /* Baobab Gold */
    --clr-accent-light: #F9E2AF;
    
    --clr-base-white: #FFFFFF;
    --clr-bg-light: #F7F6F2;
    --clr-text-main: #2C3639;
    --clr-text-light: #52616B;
    
    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-main: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px rgba(200, 75, 49, 0.2);
    
    /* Border Radius */
    --br-sm: 8px;
    --br-md: 16px;
    --br-lg: 24px;
    --br-pill: 50px;
}

/* =========================================================================
   RESET & BASE STYLES
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--clr-text-main);
    background-color: var(--clr-base-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--clr-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-main);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 6rem 0;
}

.bg-light { background-color: var(--clr-bg-light); }
.bg-primary { background-color: var(--clr-primary); }
.text-center { text-align: center; }
.text-white { color: var(--clr-base-white) !important; }
.text-white-80 { color: rgba(255,255,255,0.8); }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-5 { margin-top: 5rem; }

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    max-width: 600px;
    margin-bottom: 2rem;
    font-family: var(--font-sans);
}

.title-underline {
    height: 3px;
    width: 60px;
    background-color: var(--clr-secondary);
    margin: 0 auto 3rem auto;
    border-radius: var(--br-pill);
}

.title-underline.left {
    margin-left: 0;
}

.title-underline.border-white {
    background-color: var(--clr-accent);
}

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--br-pill);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-main);
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: all var(--transition-main);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-base-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--clr-primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}

.btn-secondary:hover {
    background-color: var(--clr-primary);
    color: var(--clr-base-white);
}

.btn-primary-sm {
    background-color: var(--clr-primary);
    color: var(--clr-base-white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--br-pill);
    font-weight: 500;
}

.btn-primary-sm:hover {
    background-color: var(--clr-primary-light);
    box-shadow: var(--shadow-sm);
}

/* =========================================================================
   GLASSMORPHISM & CARDS
   ========================================================================= */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--br-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-main);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.9);
}

.glass-dark {
    background: rgba(31, 69, 41, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--br-md);
    padding: 2.5rem;
    color: white;
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-main);
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-primary);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--clr-secondary);
    font-family: var(--font-sans);
    font-weight: 300;
}

.logo-img-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--clr-base-white);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.logo-img {
    height: 110%;
    width: 110%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--clr-text-main);
    position: relative;
}

.header:not(.scrolled) .nav-link:not(.btn-primary-sm) {
    color: var(--clr-base-white);
}

.header:not(.scrolled) .logo-text, 
.header:not(.scrolled) .logo-text span {
    color: var(--clr-base-white);
}

.nav-link:not(.btn-primary-sm)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--clr-secondary);
    transition: width var(--transition-main);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-primary);
}

.header:not(.scrolled) .mobile-menu-btn {
    color: var(--clr-base-white);
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* We'll load a dynamic generated image */
    background: linear-gradient(rgba(31, 69, 41, 0.6), rgba(31, 69, 41, 0.8)), url('../img/hero.png') center/cover;
    z-index: -1;
    animation: zoom 20s infinite alternate linear;
}

@keyframes zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    color: var(--clr-base-white);
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--clr-base-white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--clr-accent);
    font-style: italic;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-cta .btn-secondary {
    color: var(--clr-base-white);
    border-color: var(--clr-base-white);
}

.hero-cta .btn-secondary:hover {
    background-color: var(--clr-base-white);
    color: var(--clr-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--clr-base-white);
    opacity: 0.8;
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--clr-base-white);
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--clr-base-white);
    border-radius: 2px;
    animation: scroll 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scroll {
    0% { opacity: 1; top: 5px; }
    50% { opacity: 0; top: 15px; }
    100% { opacity: 0; top: 5px; }
}

/* =========================================================================
   PHILOSOPHY & HOME INTRO
   ========================================================================= */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.highlight-text {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.philosophy-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--clr-accent-light);
    color: var(--clr-secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* =========================================================================
   ABOUT US SECTION
   ========================================================================= */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mv-card h4 {
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.mv-icon {
    font-size: 2rem;
    color: var(--clr-secondary);
    margin-bottom: 1rem;
}

.custom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.custom-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--clr-accent);
    font-size: 0.9rem;
}

.about-image {
    position: relative;
    height: 500px;
    border-radius: var(--br-lg);
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
    padding: 1rem;
}

.about-image .image-inner {
    width: 100%;
    height: 100%;
    border-radius: var(--br-md);
    background: url('../img/baobab.png') center/cover;
    position: relative;
}

.stat-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--clr-base-white);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-serif);
    color: var(--clr-primary);
    line-height: 1;
}

.stat-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--clr-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================================================
   PRODUCTS SECTION
   ========================================================================= */
.bg-texture {
    background-color: #FAFAFA;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231f4529' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--clr-base-white);
    border-radius: var(--br-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-main);
}

.product-showcase:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-img-wrapper {
    height: 400px;
    border-radius: var(--br-md);
    overflow: hidden;
    position: relative;
    background-color: var(--clr-bg-light);
}

#img-baobab { background: url('../img/baobab.png') center/cover; }
#img-rosella { background: url('../img/rosella.png') center/cover; }
#img-masau { background: url('../img/masau.png') center/cover; }

.product-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--clr-primary);
    opacity: 0.1;
    transition: var(--transition-main);
}

.product-showcase:hover .product-img-wrapper::after {
    opacity: 0;
}

.product-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.product-title span {
    display: block;
    font-family: var(--font-sans);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-secondary);
    margin-top: 0.5rem;
}

.product-features {
    margin-top: 2rem;
}

.product-features li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.product-features li i {
    color: var(--clr-primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* =========================================================================
   PROCESS TIMELINE
   ========================================================================= */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 2px;
    background: var(--clr-accent-light);
}

.process-step {
    position: relative;
    padding-left: 100px;
    margin-bottom: 3rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-icon {
    position: absolute;
    left: 15px;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--clr-primary);
    color: var(--clr-base-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 0 0 8px var(--clr-bg-light);
    z-index: 2;
}

.process-step h4 {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* =========================================================================
   IMPACT & MARKETS
   ========================================================================= */
.impact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
}

.impact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.impact-item {
    color: var(--clr-base-white);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--br-sm);
    transition: var(--transition-fast);
}

.impact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.impact-item i {
    color: var(--clr-accent);
    font-size: 1.2rem;
}

.markets-circles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.market-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 150px;
}

.circle-icon {
    width: 100px;
    height: 100px;
    background: var(--clr-base-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--clr-primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition-main);
}

.market-item:hover .circle-icon {
    transform: scale(1.1);
    background: var(--clr-primary);
    color: var(--clr-base-white);
}

.market-item span {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
}

.partnership-cta {
    display: inline-block;
    padding: 3rem 4rem;
    background: var(--clr-bg-light);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background: #112817; /* Very Dark Green */
    color: var(--clr-base-white);
}

.footer-top {
    padding: 5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 4rem;
}

.footer-logo .logo-text {
    color: var(--clr-base-white);
}

.footer h3 {
    color: var(--clr-base-white);
    font-family: var(--font-sans);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background: var(--clr-accent);
}

.contact-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.contact-list i {
    color: var(--clr-accent);
    margin-top: 5px;
}

.contact-list a {
    color: rgba(255,255,255,0.8);
}

.contact-list a:hover {
    color: var(--clr-base-white);
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0B1C0F;
}

/* =========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 992px) {
    .philosophy-grid,
    .about-wrapper,
    .product-showcase,
    .impact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-showcase.reverse .product-img-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--clr-base-white);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 6rem 2rem;
        transition: var(--transition-main);
        z-index: 999;
    }
    
    .navbar.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-link {
        color: var(--clr-text-main) !important;
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1000;
    }
    
    .mobile-menu-btn.active {
        color: var(--clr-primary) !important;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-list {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .step-icon {
        left: -5px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .process-step {
        padding-left: 60px;
    }
}
