/* CSS Variables */
:root {
    --primary-dark: #0A2E1A; /* Deep Dark Green */
    --primary-light: #154D2F;
    --accent-gold: #C9A254; /* Elegant Gold */
    --accent-gold-hover: #E3BB69;
    --ivory: #FDFBF7; /* Base Ivory */
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--ivory);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--text-dark);
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

/* 1. Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--primary-dark);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* 2. Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    /* Link to the hero background image here */
    background: linear-gradient(rgba(10, 46, 26, 0.7), rgba(10, 46, 26, 0.8)), url('images/hero-bg.jpg') center/cover no-repeat;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
}

.hero h1 {
    color: var(--text-light);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--text-light);
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* 3. Company Overview */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story h3 {
    color: var(--accent-gold);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.story h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.story p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background-color: #fff;
    padding: 30px;
    border-left: 3px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stat-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 4. Global Impact Numbers */
.impact {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 80px 0;
}

.impact-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 40px;
}

.impact-item h3 {
    color: var(--accent-gold);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.impact-item p {
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 5. Product Showcase */
.products {
    background-color: var(--ivory);
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-card {
    display: flex;
    background: #fff;
    height: 300px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.product-img {
    width: 40%;
    background-size: cover;
    background-position: center;
}

.product-content {
    width: 60%;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-content p {
    color: #666;
    margin-bottom: 25px;
}

.product-link {
    color: var(--accent-gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.product-link i {
    transition: var(--transition);
}

/* 6. Export Process Timeline */
.process {
    background-color: #fff;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--accent-gold);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--ivory);
    border: 4px solid var(--accent-gold);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--ivory);
    position: relative;
    border-radius: 2px;
}

.timeline-content h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* 7. Why Choose Us (Glassmorphism) */
.why-us {
    /* Link to the section background image here */
    background: linear-gradient(rgba(10, 46, 26, 0.9), rgba(10, 46, 26, 0.9)), url('images/why-us-bg.jpg') center/cover fixed;
    color: var(--text-light);
}

.why-us .section-header h2 {
    color: var(--text-light);
}

.why-us .section-header p {
    color: #ddd;
}

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

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 40px 20px;
    text-align: center;
    border-radius: 4px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #ccc;
}

/* 8. Global Reach Map */
.map-section {
    background-color: var(--ivory);
    text-align: center;
}

.map-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.map-bg {
    width: 100%;
    opacity: 0.3;
    filter: grayscale(100%);
}

.map-pin {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(201, 162, 84, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(201, 162, 84, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(201, 162, 84, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 162, 84, 0); }
}

/* 9. Certifications */
.certifications {
    background-color: #fff;
    padding: 60px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.cert-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.cert-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.cert-logo:hover {
    color: var(--primary-dark);
    filter: grayscale(0%);
}

/* 10. Testimonials */
.testimonials {
    background-color: var(--ivory);
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.test-card {
    background: #fff;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
}

.test-card::before {
    content: '\201C';
    font-family: serif;
    font-size: 6rem;
    color: var(--accent-gold);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 20px;
}

.test-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.test-author h4 {
    color: var(--primary-dark);
    font-family: 'Inter', sans-serif;
}

.test-author span {
    font-size: 0.8rem;
    color: #888;
}

/* 11. Quote Form */
.quote {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.quote .section-header h2 {
    color: var(--text-light);
}

.quote .section-header p {
    color: #ccc;
}

.quote-form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

input, select, textarea {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
}

textarea {
    height: 150px;
    resize: vertical;
}

.quote-form button {
    grid-column: 1 / -1;
    padding: 18px;
    border: none;
    font-size: 1.1rem;
    width: 100%;
}

/* 12. Footer */
.footer {
    background-color: #051a0f;
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about .logo {
    display: block;
    margin-bottom: 20px;
}

.footer-about p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 300px;
}

.social-icons a {
    color: var(--text-light);
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.footer h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

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

.footer-links ul li a {
    color: #aaa;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.newsletter form {
    display: flex;
    margin-top: 15px;
}

.newsletter input {
    flex: 1;
    padding: 12px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.newsletter button {
    padding: 12px 20px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #777;
    font-size: 0.85rem;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .test-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* 1. Reduce Spacing */
    .section-padding { padding: 50px 0; }
    .container { padding: 0 15px; }

    /* 2. Typography Adjustments */
    .hero h1 { font-size: 2.5rem !important; }
    .story h2, .section-header h2 { font-size: 2rem !important; line-height: 1.2; }
    
    /* 3. Mobile Navigation Menu Dropdown */
    .nav-links { 
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px; 
        left: -100%; 
        width: 100%;
        background-color: var(--primary-dark);
        padding: 20px 0;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    .nav-links.active {
        left: 0; 
    }
    .hamburger { display: block; }
    .hero-buttons { flex-direction: column; }
    
    /* 4. Grid Stack Fixes */
    .overview-grid { grid-template-columns: 1fr; gap: 30px; }
    .features-grid { grid-template-columns: 1fr; }
    .test-grid { grid-template-columns: 1fr; }
    .quote-form { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    
    /* Override inline styles for Vision/Mission section */
    div[style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* 5. Product Cards */
    .product-card { flex-direction: column; height: auto; }
    .product-img { width: 100%; height: 200px; }
    .product-content { width: 100%; padding: 25px; }

    /* 6. Timeline Fix - Force left alignment */
    .timeline::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; }
    .left::after, .right::after { left: 10px; top: 25px; }
    .right { left: 0%; }
}

/* Utility Classes for Animations */
.gsap-reveal { opacity: 0; transform: translateY(30px); }