/* Core Structural Configurations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary: #10b981; /* Emerald Green */
    --primary-dark: #059669;
    --secondary: #0f172a; /* Dark Slate */
    --accent: #3b82f6; 
    --light-bg: #f8fafc;
    --glass-border: rgba(226, 232, 240, 0.8);
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(16, 185, 129, 0.15);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --input-bg: #ffffff;
}

[data-theme="dark"] {
    --secondary: #f8fafc;
    --text-dark: #cbd5e1;
    --text-muted: #94a3b8;
    --light-bg: #0f172a;
    --glass-border: rgba(51, 65, 85, 0.8);
    --input-bg: #1e293b;
    --nav-bg: rgba(15, 23, 42, 0.95);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

/* Enforce zero layout top shift from Google Translate */
html, body {
    top: 0 !important;
    position: static !important;
}

body > .skiptranslate,
.goog-te-banner-frame, 
#goog-gt-tt {
    display: none !important;
    visibility: hidden !important;
}

/* Accessibility Control Classes */
body.high-contrast {
    filter: contrast(140%) !important;
}

body.large-text p,
body.large-text span,
body.large-text button,
body.large-text a,
body.large-text li {
    font-size: 115% !important;
}

body.large-text .hero-title {
    font-size: 4rem !important;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header & Navbar Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1.1;
}

.brand-name1 {
    color: var(--secondary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Custom Navigation Controls (Language Dropdown & Theme Toggle) */
.nav-utilities {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 8px;
}

.custom-lang-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.lang-icon {
    font-size: 0.85rem;
    color: var(--primary);
}

.custom-lang-select {
    background: transparent;
    border: none;
    outline: none;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    max-width: 130px;
}

.theme-toggle-btn {
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    color: var(--secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: inline-block; color: #f59e0b; }

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
}

/* Hero section alignment */
.agri-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -3;
}

.video-tint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6) 0%, #0f172a 100%);
    z-index: -2;
}

.hero-glow-space {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.moving-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: var(--accent);
    top: 15%;
    left: 10%;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    bottom: 10%;
    right: 15%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 10;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary);
}

.hero-description {
    color: #cbd5e1;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Facts Bar Layout */
.agri-stats {
    background: var(--input-bg);
    border-bottom: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Staggered Content Rows Layout */
.agri-detailed-showcase {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.showcase-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
}

.showcase-row.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.showcase-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 1.2rem;
}

.showcase-text h2 span {
    color: var(--primary);
}

.row-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.bullet-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.bullet-list li i {
    color: var(--primary);
}

/* Structural Images Styling */
.showcase-img {
    position: relative;
    overflow: hidden;
    border: 4px solid var(--input-bg);
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.img-shape-1 { border-radius: var(--radius-lg); }
.img-shape-2 { border-radius: var(--radius-lg); }
.img-shape-3 { border-radius: var(--radius-lg); }
.img-shape-4 { border-radius: var(--radius-lg); }

.showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Component Box layout */
.video-interactive-block {
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.video-container-box {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-container-box iframe {
    width: 100%;
    height: 100%;
}

.video-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.video-info h3 i {
    color: var(--primary);
    margin-right: 6px;
}

.video-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Floating AI Accessibility Widget */
.accessibility-wrapper {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
}

.accessibility-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.accessibility-btn:hover {
    transform: scale(1.1);
}

.accessibility-menu {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 250px;
    background: var(--nav-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.8rem;
}

.accessibility-menu.active {
    display: flex;
}

.a11y-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.close-a11y {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
}

.a11y-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.a11y-opt-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    color: var(--secondary);
    padding: 0.65rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.a11y-opt-btn:hover, .a11y-opt-btn.active-opt {
    background: var(--primary);
    color: #ffffff;
}

.a11y-opt-btn.stop-btn:hover {
    background: #ef4444;
}

/* Modern Premium Footer Setup */
.site-footer {
    background: #0f172a;
    color: #fff;
    padding: 80px 24px 20px;
    border-top: 4px solid var(--primary);
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-box .logo {
    margin-bottom: 20px;
}

.logo-r {
    background: var(--primary);
    color: #fff;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    border-radius: var(--radius-sm);
}

.logo-text .brand-name {
    color: #fff;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-top h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
}

.footer-top h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-box a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links-box a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact-box, .footer-newsletter-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item, .hours-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #94a3b8;
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--primary);
    margin-top: 4px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--primary-dark);
}

.social-row {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-row a:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive UI Elements */
@media (max-width: 1024px) {
    .showcase-row, .showcase-row.reverse, .video-interactive-block {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--glass-border);
        gap: 16px;
        box-shadow: var(--shadow-md);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-toggle {
        display: block;
    }

    .nav-utilities {
        flex-direction: row;
        margin-left: 0;
        margin-top: 5px;
    }

    .hero-title { font-size: 2.5rem; }
    .stats-container { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

body.menu-open {
    overflow: hidden;
}