/* --- Landing Page Styles --- */
:root {
    --primary-color: #2E7D32;
    --primary-color-dark: #1B5E20;
    --secondary-color: #f4f7f6;
    --text-color: #333;
    --heading-color: #1a1a1a;
    --font-family: 'Poppins', sans-serif;
}

body { font-family: var(--font-family); color: var(--text-color); line-height: 1.7; margin: 0; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; }

/* --- Navigation --- */
.main-nav { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.main-nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.logo i { margin-right: 8px; }
.nav-links { display: flex; align-items: center; }
.nav-links a { margin-left: 25px; text-decoration: none; color: var(--text-color); font-weight: 500; }
.nav-btn { display: inline-block; padding: 8px 20px; border-radius: 50px; color: #fff; text-align: center; font-size: 0.9rem; }
.btn-primary { background-color: var(--primary-color); }
.btn-secondary { background-color: #6c757d; }

/* --- Hero Section --- */
.hero { background: var(--secondary-color); padding: 100px 0; text-align: center; }
.hero h1 { font-size: 3.5rem; color: var(--heading-color); margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.2rem; color: #555; max-width: 700px; margin: 0 auto 30px; }
.hero .cta-buttons a { margin: 10px; font-size: 1.1rem; }

/* --- Features Section --- */
.features-section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; color: var(--heading-color); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.07); text-align: center; }
.feature-card .icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.feature-card h3 { font-size: 1.5rem; color: var(--heading-color); margin-bottom: 10px; }

/* --- Footer --- */
.main-footer { background: #333; color: #fff; text-align: center; padding: 20px 0; margin-top: 50px; }

/*
 * ========================================================
 *  MOBILE RESPONSIVE STYLES
 * ========================================================
 */
.mobile-toggle { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: #333; }

/* For Tablets and Smaller Devices */
@media(max-width: 991px) {
    /* --- Mobile Navigation --- */
    .nav-links {
        display: none; /* Hide the links by default */
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column; /* Stack the links vertically */
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        text-align: center;
        border-top: 1px solid #eee;
    }
    .nav-links.active {
        display: flex; /* Show the links when active class is added by JS */
    }
    .nav-links a {
        margin: 10px 0; /* Adjust margin for vertical layout */
        width: 100%;
    }
    .mobile-toggle {
        display: block; /* Show the hamburger menu button */
    }

    /* --- Hero Section Adjustments --- */
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .hero .cta-buttons { display: flex; flex-direction: column; gap: 15px; align-items: center; }
    .hero .cta-buttons a { width: 80%; max-width: 300px; }

    /* --- Features Section Adjustments --- */
    .section-title h2 { font-size: 2rem; }
    .features-grid {
        grid-template-columns: 1fr; /* Stack the feature cards into a single column */
    }
}