:root {
    /* Vibrant Palette */
    --primary: #2D6A4F;
    /* Deep Jungle Green */
    --primary-light: #52B788;
    --accent: #e67839;
    /* Vibrant Red/Orange */
    --accent-yellow: #FFB703;
    /* Pop of Yellow */
    --dark: #25512d;
    /* Dark Blue/Grey for text */
    --light: #F1FAEE;
    /* Soft White */
    --white: #FFFFFF;

    --font-heading: 'Playfair Display', serif;
    /* Updated to Playfair Display */
    --font-body: 'Open Sans', sans-serif;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--light);
    color: var(--dark);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

/* Animations using Intersection Observer classes */
.section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.section-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary);
    /* Green background */
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 5%;
    /* Reduced padding from 1rem */
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.8rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1ebd8;
    /* Cream Yellow */
    text-transform: capitalize;
    white-space: nowrap;
}

.highlight-text {
    color: #FFB703;
    /* Pop of Yellow to stand out on Green */
}

.nav-logo {
    height: 45px;
    /* Reduced from 50px */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo a:hover .nav-logo {
    transform: scale(1.05) rotate(-5deg);
}

.accent-dot {
    color: var(--accent);
}

.nav-links a {
    text-decoration: none;
    color: #f1ebd8;
    /* Cream Yellow */
    font-weight: 600;
    margin-left: 2rem;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-link {
    background: #f1ebd8;
    /* Cream Yellow */
    color: var(--primary) !important;
    /* Green Text */
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(45, 106, 79, 0.3);
    text-decoration: none;
}

.nav-links .cta-link::after,
.mobile-register-btn::after {
    content: none;
}

.cta-link:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(45, 106, 79, 0.4);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #f1ebd8;
    /* Cream Yellow */
    cursor: pointer;
}

.mobile-register-btn {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    /* Reduced from 100vh */
    display: flex;
    align-items: center;
    padding: 6rem 5% 4rem;
    /* Added bottom padding, kept top for nav */
    /* Top padding for navbar */
    position: relative;
    /* Background Image with Overlay */
    background: linear-gradient(135deg, rgba(241, 250, 238, 0) 0%, rgba(233, 245, 249, 0.8) 100%), url('Images/Leaf_BG.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax */
    overflow: hidden;
}

/* Decorative circles */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    flex: 1;
    z-index: 10;
    padding-right: 2rem;
    padding-left: 20rem;
    /* Shift text to the right */
}

.tagline {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--accent);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.main-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: #FFB703;
    z-index: -1;
    border-radius: 4px;
}

.hero-desc {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.4);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(45, 106, 79, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid transparent;
    /* Placeholder to keep size */
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Image & Badges */
.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-visual {
    width: 100%;
    max-width: 600px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark);
    z-index: 2;
    font-family: var(--font-heading);
}

.badge-1 {
    top: 80%;
    left: 10%;
    animation: float 5s ease-in-out infinite;
    animation-delay: 1s;
}

.badge-1 i {
    color: var(--primary);
}

.badge-2 {
    bottom: 20%;
    right: 10%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 0.5s;
}

.badge-2 i {
    color: var(--accent);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Content Sections */
.content-section {
    padding: 4rem 5% 4rem;
    position: relative;
    /* About bg */
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95)), url('Images/Vegetables.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
    font-family: var(--font-heading);
}

.features-grid-small {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #E8F5E9;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s;
}

.feature-item:hover .icon-box {
    background: var(--primary);
    color: var(--white);
    transform: rotate(10deg);
}

.image-block img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Checklist / Cards */
.checklist-section {
    padding: 8rem 5%;
    position: relative;
    background: linear-gradient(rgba(250, 250, 250, 0.85), rgba(250, 250, 250, 0.85)), url('Images/Home.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    /* Reduced from 3rem */
    font-family: var(--font-heading);
}

.checklist-container {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.checklist-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 106, 79, 0.05), transparent);
    transition: all 0.5s;
    z-index: -1;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.benefit-card:hover::before {
    left: 100%;
}

.card-icon {
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: #666;
}

.shaped-image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease;
}

.shaped-image:hover {
    transform: scale(1.03);
}

/* Videos */
.video-section {
    padding: 4rem 5%;
    background: linear-gradient(rgba(9, 75, 0, 0.281), rgba(0, 109, 5, 0.329)), url('Images/Rice_bag_2.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

.video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
}

.video-overlay .play-button {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transform: scale(0.8);
    transition: transform 0.3s;
}

.video-wrapper:hover .play-button {
    transform: scale(1);
}

.video-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-family: var(--font-heading);
}

.video-card p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.video-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Benefits Section (Exact Match Refined) */
.benefits-section {
    padding: 4rem 5% 4rem;
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('Images/Leaf_BG.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    text-align: center;
}

.benefits-bg-texture {
    display: none;
}

.benefits-section .container {
    display: block;
    max-width: 100%;
    text-align: center;
}


.leaf-flourish-top {
    font-size: 2.22rem;
    color: #2D4B1F;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.benefits-header {
    margin-bottom: 2.5rem;
    /* Reduced from 4rem */
    text-align: center;
    width: 100%;
}

.benefits-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: #2D4B1F;
    /* Exact deep earthy green */
    text-align: center;
    font-weight: 700;
    margin: 0 auto 2.5rem;
    /* Reduced from 3.5rem */
    display: block;
    width: 100%;
}

.benefits-grid-refined {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: flex-start;
    max-width: 1300px;
    margin: 0 auto 50px;
}

.benefit-col {
    text-align: left;
    padding: 0 30px;
}

.col-header {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #2D4B1F;
    /* Exact earthy green */
    margin-bottom: 25px;
    display: block;
    font-weight: 700;
}

.col-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.col-list li {
    font-size: 1.4rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-weight: 600;
}

.col-list li i {
    color: #2D4B1F;
    /* Exact dark green checkmark */
    font-size: 1.5rem;
}

.benefit-img-middle {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.main-basket {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
    /* Deeper shadow as per image */
    transition: transform 0.5s ease;
}

.main-basket:hover {
    transform: scale(1.02);
}

.benefits-footer-center {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.read-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 12px 50px;
    background: linear-gradient(to bottom, #4f6e3c, #2d4123);
    /* Exact dark green textured gradient look */
    color: #f1ebd8;
    /* Cream/Light gold text */
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.6rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border: 1px solid #1a2715;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.read-more-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

/* Statistics Section */
.stats-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, rgba(241, 250, 238, 0.5) 0%, rgba(233, 245, 249, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 3rem;
}

.stat-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .benefits-grid-refined {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefit-col {
        text-align: left;
    }

    .col-list li {
        justify-content: flex-start;
        white-space: nowrap;
    }

    .benefit-img-middle {
        order: -1;
    }

    .benefits-main-title {
        font-size: 2.5rem;
    }
}

/* Helper */
.counters-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.counter-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius);
    width: 200px;
    backdrop-filter: blur(5px);
}

.counter-box i {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    font-family: var(--font-heading);
}

/* Register */
.registration-section {
    padding: 4rem 5%;
    display: flex;
    justify-content: center;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('Images/Hero.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.form-wrapper {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 750px;
    /* Increased slightly to spread content */
    text-align: center;
    position: relative;
    overflow: visible;
}

.form-floating-logo {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 80px;
    /* Small size */
    height: auto;
    background: var(--white);
    padding: 8px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 10;
    animation: floatingLogo 4s ease-in-out infinite;
}

@keyframes floatingLogo {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(10deg);
    }
}

.form-header h2 {
    color: var(--dark);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.form-header p {
    font-family: var(--font-heading);
    color: #666;
}

.modern-form {
    margin: 1rem 0;
    /* Reduced margin */
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    /* Tighter gap */
    margin-bottom: 1rem;
    /* Reduced margin */
}

.input-group {
    position: relative;
}

.input-group.full-width {
    grid-column: span 2;
}

.input-group i {
    position: absolute;
    left: 0.8rem;
    /* Adjusted left */
    top: 1rem;
    /* Adjusted top */
    color: var(--primary);
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.8rem;
    /* Compact padding */
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #F9F9F9;
    font-family: var(--font-body);
    transition: all 0.3s;
    font-size: 0.95rem;
    /* Smaller font */
}

.input-group textarea {
    resize: vertical;
    padding-top: 0.7rem;
    height: 80px;
    /* Force smaller height */
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    /* Reduced margin */
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    padding: 0.8rem;
    /* Reduced padding */
}

@media (max-width: 600px) {
    .form-wrapper {
        padding: 1.5rem 1rem;
        /* Tighter padding for mobile */
    }

    /* Keep 2 columns to save height, but ensure they fit */
    .form-grid {
        gap: 0.5rem;
        /* Smaller gap for mobile */
    }

    /* Ensure full width inputs span correctly if needed, but default grid is 1fr 1fr */

    /* Ensure full width inputs span correctly if needed, but default grid is 1fr 1fr */

    /* Mobile Form Refinements */
    .form-header h2 {
        font-size: 1.5rem;
        /* Ensure one line */
    }

    .form-header p {
        font-size: 0.9rem;
    }

    .input-group input,
    .input-group textarea {
        font-size: 0.85rem;
        /* Smaller font for placeholders */
        padding-left: 2.2rem;
        /* Reduce left padding */
    }

    .input-group i {
        left: 0.7rem;
        /* Adjust icon position */
        font-size: 0.9rem;
        /* Smaller icon */
    }
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 0.5rem 10%;
    text-align: center;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.1);
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-yellow);
}

/* Statistics Section */
.stats-section {
    padding: 100px 5%;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('Images/Leaf_BG.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 3rem;
}

.stat-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 60px;
        /* Ensure compact height */
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--primary);
        /* Green background */
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: -5px 10px 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        border-bottom-left-radius: 15px;
        /* Nice rounded corner at bottom */
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 0;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        /* Light border for green bg */
        font-size: 1.1rem;
    }

    .nav-links a:hover {
        background: rgba(45, 106, 79, 0.05);
    }

    .desktop-register-btn {
        display: none !important;
    }

    .mobile-register-btn {
        display: inline-flex !important;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        margin-right: 0.5rem;
        white-space: nowrap;
        /* Prevent text wrap */
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1000;
    }

    .mobile-menu-btn.active i {
        color: #f1ebd8;
        /* Keep cream yellow when active */
    }

    .hero {
        flex-direction: column-reverse;
        /* Image on top? No, let's keep text top for readability or standard column */
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 3rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        /* Allow wrapping if screen is very small, but prefer side-by-side */
        gap: 1rem;
    }

    .hero-buttons .btn {
        padding: 0.6rem 1.2rem;
        /* Reduce padding */
        font-size: 0.9rem;
        /* Reduce font size */
        white-space: nowrap;
        /* Prevent text wrap */
        width: auto;
        /* Prevent full width expansion if flex causing it */
    }

    .hero-image-container::before {
        width: 100%;
        height: 100%;
    }

    .container,
    .checklist-container,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .checklist-cards {
        grid-template-columns: 1fr;
    }

    .checklist-image {
        grid-row: 1;
    }

    .impact-image-container {
        margin-top: 2rem;
    }

    .form-floating-logo {
        width: 70px;
        top: -20px;
        right: 10px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    /* Image on top for checklist */
    #about .text-block {
        text-align: center;
    }

    /* --- FIXES START --- */

    /* 1. Logo Adjustments */
    .logo-text {
        font-size: 1.1rem;
    }

    .logo a {
        gap: 0.3rem;
        margin-left: -5px;
        /* Move slightly left */
    }

    .nav-logo {
        height: 40px;
        /* Resize logo image */
    }

    /* 2. Tagline (Bridge between nature...) */
    .tagline {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .hero .main-title {
        font-size: 2.5rem;
        /* Ensure main title isn't too huge either */
    }

    /* 3. Floating Buttons Size */
    .floating-badge {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
        border-radius: 8px;
    }

    /* 4. About Section Spacing */
    .features-grid-small {
        justify-content: space-evenly;
        gap: 0.5rem;
    }

    .feature-item span {
        font-size: 0.9rem;
    }

    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: 0 auto 0.5rem;
    }

    /* 5. Why Hire Farmer Title */
    .benefits-main-title {
        font-size: 1.8rem;
        /* Make it one line */
        margin-bottom: 2rem;
    }

    /* 6. Read More Stories Button */
    .read-more-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        white-space: nowrap;
        width: auto;
        max-width: 100%;
    }

    .benefits-footer-center {
        width: 100%;
    }

    /* 7. Height Optimization (Reduce Lag Feel) */
    .content-section,
    .benefits-section,
    .stats-section,
    .video-section,
    .registration-section,
    .checklist-section {
        padding: 3rem 5% !important;
        /* Reduced from 8rem/100px to 3rem */
    }

    .hero {
        min-height: auto;
        /* Remove 100vh constraint */
        padding-bottom: 3rem;
    }

    .section-title,
    .benefits-main-title {
        margin-bottom: 1.5rem;
    }

    .benefits-header {
        margin-bottom: 1.5rem;
    }

    .stats-grid,
    .video-grid {
        padding-top: 1rem;
    }

    .footer {
        padding: 1.5rem 5% 1rem;
    }
}