/* Base styles */
:root {
    --primary-color: #1e8b4d;
    --primary-light: #2caa63;
    --primary-dark: #156e3a;
    --secondary-color: #f4a261;
    --text-color: #333;
    --text-light: #6e6e6e;
    --background-light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

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

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

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

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background-color: rgba(30, 139, 77, 0.1);
    transform: translateY(-3px);
}

/* Header and Navigation */
header {
    position: relative;
    width: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), url('img/farm-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-bottom: 80px;
}

nav {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

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

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
}

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

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

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 80px 0 40px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero-content .tagline {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    font-style: italic;
}

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

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-screenshot {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.hero-screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--background-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

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

.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background-color: rgba(30, 139, 77, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--text-light);
}

.feature-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

/* Commitment Section */
.commitment {
    padding: 100px 0;
}

.commitment .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.commitment-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.commitment-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.commitment-content .btn {
    margin-top: 20px;
}

.commitment-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.commitment-photo {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}

.commitment-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: var(--background-light);
}

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

.benefit-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    background-color: rgba(30, 139, 77, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.benefit-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.benefit-card p {
    color: var(--text-light);
}

.benefit-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

/* Partners Section */
.partners {
    padding: 100px 0;
    background-color: var(--white);
}

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

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    padding: 20px;
    border-radius: var(--border-radius);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.partner-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.partner-logo {
    height: 80px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: var(--transition);
}

.partner-card:hover .partner-logo {
    transform: scale(1.05);
}

.partner-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.partner-card:hover h4 {
    color: var(--primary-color);
}

/* Request Demo Section */
.request-demo {
    padding: 100px 0;
    background-color: var(--background-light);
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.demo-info h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.demo-info p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.demo-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.demo-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-benefit i {
    color: var(--primary-color);
    font-size: 18px;
}

.demo-benefit span {
    color: var(--text-color);
    font-weight: 500;
}

.demo-form-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 139, 77, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}

.form-note {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

.form-message {
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background-color: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

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

.cta .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    background-color: #222;
    color: #ddd;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-col p {
    margin-bottom: 20px;
    color: #bbb;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
}

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

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

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-info i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #999;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #999;
    font-size: 14px;
}

.legal-links a:hover {
    color: var(--primary-light);
}

/* Responsive Styles */
@media (max-width: 992px) {

    .hero .container,
    .commitment .container,
    .demo-content {
        grid-template-columns: 1fr;
    }

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

    .cta-buttons {
        justify-content: center;
    }

    .hero-image,
    .commitment-image {
        margin: 0 auto;
        max-width: 500px;
    }

    .commitment-content {
        order: 2;
    }

    .commitment-image {
        order: 1;
    }

    .feature-card,
    .benefit-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .section-header h2,
    .commitment-content h2,
    .cta h2 {
        font-size: 30px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        padding: 80px 20px;
        z-index: 100;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: 0.5s;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 101;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content .tagline,
    .section-header p,
    .cta p {
        font-size: 16px;
    }
}

/* Sticky Navigation */
nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Reveal Animations */
.feature-card,
.benefit-card,
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.revealed,
.benefit-card.revealed,
.testimonial-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Add animation delay for staggered effect */
.feature-card:nth-child(2),
.benefit-card:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(3),
.benefit-card:nth-child(3) {
    transition-delay: 0.2s;
}

.feature-card:nth-child(4),
.benefit-card:nth-child(4) {
    transition-delay: 0.3s;
}