/* Main Theme CSS Stylesheet */

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

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

a:hover {
    color: var(--dark-green);
}

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

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

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

.bg-light {
    background-color: var(--bg-light);
}

/* --- Grids --- */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media(min-width: 768px) {
    .grid-2-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3-cols {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

/* --- Typography Utilities --- */
.section-header {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-label {
    display: inline-block;
    color: var(--primary-green);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.25rem;
    color: var(--text-dark);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--dark-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(14, 159, 61, 0.2);
}

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

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(196, 229, 56, 0.2);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* --- Header & Navigation --- */
.site-header {
    width: 100%;
    z-index: 1000;
}

.top-bar {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact-info {
    display: flex;
    gap: 20px;
}

.top-contact-info a {
    color: var(--white);
}

.badge-tagline {
    font-weight: 500;
    color: var(--light-green);
}

.main-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.main-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-toggle .hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-green);
    margin: 5px 0;
    transition: var(--transition);
}

.nav-menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 20px;
    z-index: 999;
}

.nav-menu-wrapper.active {
    display: block;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    display: block;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--primary-green);
}

.header-cta-mobile {
    margin-top: 20px;
}

.header-cta-desktop {
    display: none;
}

@media(min-width: 992px) {
    .mobile-nav-toggle {
        display: none;
    }
    
    .nav-menu-wrapper {
        display: block;
        position: static;
        width: auto;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    
    .nav-menu {
        flex-direction: row;
        gap: 30px;
    }
    
    .header-cta-mobile {
        display: none;
    }
    
    .header-cta-desktop {
        display: block;
    }
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(8, 117, 44, 0.85), rgba(8, 117, 44, 0.95)), url('../images/agriculture_field.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 140px 0 160px 0;
    text-align: center;
}

.hero-inner {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--light-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.hero-title-main {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.hero-lead {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--light-green);
    margin-bottom: 20px;
}

.hero-subtext {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

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

.hero-bottom-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-bottom-curve svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-bottom-curve .shape-fill {
    fill: var(--white);
}

/* --- About Preview & Metric Cards --- */
.preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.metric-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
}

.metric-card .num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-green);
}

.metric-card .lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Why Choose Us Cards --- */
.choose-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.choose-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--garlic-cream);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* --- Product Categories Cards --- */
.category-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.category-icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
}

.btn-text {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary-green);
}

.btn-text:hover {
    color: var(--dark-green);
}

/* --- Timeline Horizontal/Vertical --- */
.timeline-row-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media(min-width: 768px) {
    .timeline-row-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(min-width: 1200px) {
    .timeline-row-wrapper {
        grid-template-columns: repeat(6, 1fr);
    }
}

.timeline-step {
    text-align: center;
    position: relative;
}

.step-num {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    line-height: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(14, 159, 61, 0.2);
}

.timeline-step h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.timeline-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Testimonials --- */
.testimonial-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

.client-meta {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.client-meta strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-green);
}

.client-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--text-dark);
    color: #94A3B8;
    padding: 80px 0 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

@media(min-width: 768px) {
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1200px) {
    .footer-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h3.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-green);
    display: inline-block;
    padding-bottom: 5px;
}

.brand-desc {
    line-height: 1.7;
    margin-bottom: 20px;
}

.certifications-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cert-badge {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

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

.footer-links a {
    color: #94A3B8;
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact .icon {
    font-size: 1.2rem;
}

.footer-contact a {
    color: #94A3B8;
}

.footer-contact a:hover {
    color: var(--light-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 25px 0;
    font-size: 0.85rem;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

@media(min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
    }
}

.footer-legal-links a {
    color: #94A3B8;
}

.footer-legal-links a:hover {
    color: var(--white);
}

.footer-legal-links .sep {
    margin: 0 10px;
    color: rgba(255,255,255,0.1);
}

/* --- Product details spec table --- */
.specs-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.specs-table-wrapper th,
.specs-table-wrapper td {
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    text-align: left;
}

.specs-table-wrapper tr:nth-child(even) {
    background-color: var(--bg-light);
}

.specs-table-wrapper td:first-child {
    font-weight: 600;
    color: var(--dark-green);
    width: 35%;
}

/* --- Interactive Timeline Steps --- */
.timeline-item::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 30px;
    width: 2px;
    height: calc(100% - 10px);
    background-color: var(--border-color);
    z-index: 1;
}

.timeline-item:last-child::after {
    display: none;
}

/* --- Screen Reader Text --- */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

/* --- Forms & General Styling --- */
.form-group label {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 3px rgba(14, 159, 61, 0.15);
}

.breadcrumbs {
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs .current {
    color: var(--light-green);
}

.breadcrumbs .sep {
    margin: 0 8px;
    opacity: 0.6;
}

/* --- Accessibility Focus outlines --- */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}
