/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary: #2E7D32;      /* Farming Green */
    --primary-dark: #1B5E20; /* Deep Green */
    --secondary: #F9A825;    /* Harvest Gold */
    --dark: #1b1b1b;
    --light: #f4f7f6;
    --white: #ffffff;
    --text-grey: #444;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* 🌟 LINKS FIX: This line makes scrolling work properly */
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-grey);
    line-height: 1.6;
    background-color: var(--white);
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); color: var(--white); }
.text-center { text-align: center; }

/* =========================================
   2. PROFESSIONAL HEADER
   ========================================= */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
}
.top-flex { display: flex; justify-content: space-between; align-items: center; }
.contact-info span { margin-right: 20px; }
.contact-info i { margin-right: 5px; color: var(--secondary); }
.social-icons a { color: var(--white); margin-left: 15px; font-size: 14px; transition: 0.3s; }
.social-icons a:hover { color: var(--secondary); }

.navbar {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 45px; }
.logo-text { font-size: 26px; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; }

.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links li { position: relative; }
.nav-links a { color: var(--dark); font-weight: 600; font-size: 15px; padding: 5px 0; }

/* Underline Animation */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--primary); }

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
}
.nav-links a.btn-nav::after { display: none; }
.btn-nav:hover { background: var(--secondary); color: var(--dark) !important; transform: translateY(-2px); }

.hamburger { display: none; font-size: 24px; cursor: pointer; color: var(--primary); }

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    background: url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    height: 90vh;
    position: relative;
    display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white);
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.hero-content { position: relative; z-index: 2; max-width: 900px; }

.badge { background: var(--secondary); color: var(--dark); padding: 5px 15px; border-radius: 30px; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; display: inline-block; margin-bottom: 20px; }
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.hero h2 { font-size: 1.5rem; font-weight: 400; margin-bottom: 20px; color: #e0e0e0; }
.hero p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; max-width: 700px; margin: 0 auto 30px; }

.btn { display: inline-block; padding: 12px 30px; border-radius: 5px; font-weight: 600; margin: 10px; transition: 0.3s; }
.btn-primary { background: var(--primary); color: var(--white); border: 2px solid var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* =========================================
   4. ABOUT & SLIDER STYLES
   ========================================= */
.about-intro { margin-bottom: 50px; max-width: 800px; margin-left: auto; margin-right: auto; }
.lead-text { font-size: 1.1rem; color: var(--primary-dark); font-weight: 500; }

.legacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.award-box {
    background: #FFFDE7; /* Light Yellow */
    border-left: 5px solid var(--secondary);
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}
.award-box h4 { color: var(--primary); margin-bottom: 5px; }
.award-title { font-weight: 700; color: var(--dark); }

/* --- SLIDER CSS --- */
.legacy-slider { position: relative; width: 100%; }
.slider-container {
    position: relative;
    width: 100%;
    height: 400px; /* Slider Height */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #f4f4f4;
}

.slide {
    display: none; /* Hide all slides */
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block; /* Show active slide */
    animation: fade 1s;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Photo kategi nahi, fit hogi */
}

.caption {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Black Transparent */
    color: #fff;
    width: 100%;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

/* Slider Buttons */
.prev-btn, .next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    border: none;
}
.next-btn { right: 0; border-radius: 3px 0 0 3px; }
.prev-btn:hover, .next-btn:hover { background-color: var(--primary); }

/* Disclaimer Box */
.disclaimer-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}
.disclaimer-box h5 { margin-bottom: 10px; color: #333; }

/* Fade Animation */
@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* =========================================
   5. REST OF SECTIONS
   ========================================= */
.trust-strip { background: var(--secondary); color: var(--dark); padding: 15px 0; font-weight: 700; font-size: 0.95rem; }
.trust-flex { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 15px; text-align: center; }
.trust-item i { margin-right: 8px; }

.section-title { font-size: 2.2rem; color: var(--primary); margin-bottom: 20px; font-weight: 700; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img img { border-radius: 10px; box-shadow: var(--shadow); }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-top: 40px; }
.card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: var(--shadow); text-align: center; border: 1px solid #eee; transition: transform 0.3s; }
.card:hover { transform: translateY(-10px); border-color: var(--primary); }
.icon-box { font-size: 50px; margin-bottom: 15px; }
.highlight-card { background: #FFFDE7; border: 2px solid var(--secondary); }

.process-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 40px; }
.step { background: var(--white); padding: 15px 25px; border-radius: 50px; box-shadow: 0 3px 6px rgba(0,0,0,0.1); font-weight: 600; display: flex; align-items: center; gap: 15px; border: 1px solid #eee; }
.step span { background: var(--primary); color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; }
.step.success { background: var(--secondary); border-color: var(--secondary); color: var(--dark); }

.fpo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.fpo-img img { border-radius: 10px; width: 100%; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.impact-col h3 { color: var(--primary); margin-bottom: 20px; border-bottom: 2px solid var(--secondary); display: inline-block; padding-bottom: 5px; }
.check-list li { margin-bottom: 10px; padding-left: 25px; position: relative; }
.check-list li::before { content: '✔'; color: var(--primary); font-weight: bold; position: absolute; left: 0; }

.form-wrapper { background: var(--white); max-width: 800px; margin: 40px auto 0; padding: 10px; border-radius: 10px; box-shadow: var(--shadow); border-top: 5px solid var(--primary); overflow: hidden; }
iframe { width: 100%; border: none; display: block; }

footer { background: #111; color: #ccc; padding-top: 60px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-col h3 { color: var(--secondary); margin-bottom: 20px; }
.footer-col h4 { color: var(--white); margin-bottom: 15px; }
.footer-col a { display: block; color: #bbb; margin-bottom: 10px; }
.footer-col a:hover { color: var(--secondary); padding-left: 5px; }
.copyright { border-top: 1px solid #333; text-align: center; padding: 20px 0; font-size: 0.9rem; }

@media (max-width: 992px) {
    .top-bar { display: none; }
    .nav-links {
        position: fixed; right: -100%; top: 70px; height: 100vh;
        background: var(--white); flex-direction: column; width: 70%;
        padding-top: 50px; box-shadow: -5px 0 10px rgba(0,0,0,0.1); transition: 0.4s;
    }
    .nav-links.active { right: 0; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .about-grid, .fpo-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons .btn { display: block; width: 100%; margin: 10px 0; }
    .legacy-grid { grid-template-columns: 1fr; } /* Mobile About Section */
    .slider-container { height: 250px; } /* Mobile Slider Height */
}