:root {
    --primary-color: #005a3c;
    /* Deep Green */
    --primary-dark: #003d29;
    --accent-color: #c5a059;
    /* Gold/Wheat */
    --text-dark: #1a1a1a;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-off: #f9f9f9;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.4s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Ticker --- */
.ticker-container {
    background: #111;
    color: #fff;
    height: 40px;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    /* Above navbar when static */
    display: flex;
    align-items: center;
}

.ticker-wrapper {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    padding: 0 30px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-item i {
    color: var(--accent-color);
}

.up {
    color: #00d084;
}

.down {
    color: #cf2e2e;
}

.steady {
    color: #888;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 40px;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bg-light);
    letter-spacing: 1px;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--primary-color);
}

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

.nav-links a {
    color: var(--bg-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links a.btn-primary {
    padding: 10px 25px;
    background: var(--accent-color);
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 600;
}

.nav-links a.btn-primary::after {
    display: none;
}

.nav-links a.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.navbar.scrolled .nav-links a.btn-primary {
    color: var(--text-dark);
}

.menu-toggle {
    display: none;
    color: var(--bg-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .menu-toggle {
    color: var(--text-dark);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background-color: #1a1a1a;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
        url('hero-bg.jpg');
    /* Agro/Field placeholder */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--text-light);
}

.hero-content {
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--accent-color);
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

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

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

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-dark);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

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

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

/* --- Stats Banner --- */
.stats-banner {
    background: var(--primary-color);
    padding: 60px 0;
    color: var(--text-light);
    position: relative;
    z-index: 5;
    margin-top: -50px;
    border-radius: 20px 20px 0 0;
    /* Slight overlap effect */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* --- Sections Common --- */
.section {
    padding: 100px 0;
}

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

.subtitle {
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image .img-placeholder {
    width: 100%;
    height: 500px;
    background-color: #ccc;
    /* Fallback */
    background-image: url('about-section.jpg');
    /* Soybeans/Grains */
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

.about-image .img-placeholder::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    z-index: -1;
    transition: transform 0.6s ease;
}

.about-image:hover .img-placeholder::before {
    transform: translate(-10px, 10px);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    transition: var(--transition);
}

.btn-text:hover {
    gap: 15px;
    color: var(--accent-color);
}

/* --- Areas Section --- */
.areas-section {
    background: var(--bg-off);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.area-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--accent-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.area-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.area-card p {
    color: #666;
    font-size: 0.95rem;
}

/* --- Quote/Parallax --- */
.quote-section {
    padding: 120px 0;
    background-image: url('quote-bg.jpg');
    /* Nature/Sustainability */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.quote-section .container {
    position: relative;
    z-index: 2;
}

.quote-section h2 {
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Sustainability --- */
.esg-content {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.esg-card {
    background: rgba(0, 90, 60, 0.05);
    /* Tint of primary */
    padding: 20px 40px;
    border-radius: 50px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.esg-text p {
    text-align: center;
    max-width: 700px;
    margin: 30px auto 0;
    font-size: 1.1rem;
    color: #555;
}

/* --- Footer --- */
.footer {
    background-image:
        linear-gradient(rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.6)),
        url('footer-bg.jpg');
    /* Mix of grains/legumes */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Optional: for parallax effect */
    color: #fff;
    padding: 80px 0 20px;
}

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

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #888;
    margin-bottom: 25px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.socials a:hover {
    background: var(--accent-color);
    color: #111;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: #888;
    transition: var(--transition);
}

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

.footer-contact p {
    color: #888;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #555;
    font-size: 0.9rem;
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer Classes */
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-zoom,
.fade-in {
    opacity: 0;
    transition: all 1s ease;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-zoom {
    transform: scale(0.9);
}

.active.reveal-left,
.active.reveal-right,
.active.reveal-up,
.active.fade-in {
    opacity: 1;
    transform: translate(0);
}

.active.reveal-zoom {
    opacity: 1;
    transform: scale(1);
}

/* --- Floating Button & Tooltip --- */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
}

.floating-btn {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    /* overflow: hidden; Removed to let pulse ring show */
    transition: transform 0.3s ease;
    display: block;
    /* Ensure anchor is block for size */
}

/* Ripple/Pulse Effect */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.9);
    /* Brighter, stronger green */
    z-index: 1;
    animation: pulse 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.6);
    /* Glow effect */
}

.floating-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn:hover .pulse-ring {
    animation: none;
}

@keyframes pulse {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    100% {
        width: 250%;
        /* Much larger expansion */
        height: 250%;
        opacity: 0;
    }
}


/* Tooltip */
.tooltip {
    background: #fff;
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
    pointer-events: none;
    position: absolute;
    right: 90px;
    /* Left of button */
    white-space: nowrap;
    z-index: 1002;
}

.tooltip.show,
.floating-container:hover .tooltip {
    /* Show on hover too */
    opacity: 1;
    transform: translateX(0);
}

/* --- Video Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.4s;
}

.modal-content {
    background-color: transparent;
    margin: 10% auto;
    padding: 0;
    width: 80%;
    max-width: 900px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.4s;
}

.close-modal {
    color: #fff;
    float: right;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: -40px;
    right: 0;
    transition: var(--transition);
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .nav-links {
        display: none;
        /* Add JS toggle for real implementation */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

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

    .navbar.scrolled .menu-toggle {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links a {
        color: #111;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .stats-banner {
        margin-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}