/* --- CSS VARIABLES & RESET --- */
:root {
    --primary-color: #014421;
    /* Forest Green */
    --secondary-color: #e6f0e6;
    /* Soft Green Background */
    --accent-color: #a6f23d;
    /* Lime Accent */
    --text-dark: #1b1b1b;
    --text-light: #555555;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --max-width: 1200px;
}


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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* --- UTILITIES --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #004494;
    transform: translateY(-2px);
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* --- HEADER --- */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

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

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    background-color: var(--secondary-color);
    padding: 80px 0;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {

    height: 400px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

/* Placeholder visual representation */
.hero-visual::after {

    text-align: center;
    padding: 20px;
}

/* --- ABOUT SECTION --- */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-bullets li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-weight: 500;
}

.about-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- CATEGORIES SECTION --- */
.categories {
    background-color: var(--secondary-color);
}

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

.category-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid #eee;
    transition: 0.3s;
}

.category-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* --- WHY CHOOSE US --- */
.why-us {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns */
    gap: 20px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: var(--radius);
    background: #fafafa;
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* --- TESTIMONIALS --- */
.testimonials {
    background-color: var(--secondary-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent-color);
    font-style: italic;
}

.testimonial-author {
    margin-top: 15px;
    font-weight: bold;
    font-style: normal;
    color: var(--primary-color);
    text-align: right;
}

/* --- QUOTE FORM --- */
.quote-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.quote-section .section-title h2,
.quote-section .section-title p {
    color: var(--white);
}

.quote-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px;
    font-size: 1.1rem;
}

/* --- MODULES SECTION --- */
.modules {
    background-color: var(--white);
}

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

.module-card {
    border: 1px solid #eee;
    padding: 25px;
    border-radius: var(--radius);
    background: #fff;
}

.module-card p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.module-card .btn {
    width: 100%;
    text-align: center;
}

/* Newsletter Styles */
.newsletter-card {
    background-color: var(--secondary-color);
    border: none;
}

.newsletter-card .form-row {
    grid-template-columns: 1fr;
    /* Stack fields */
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* --- FOOTER --- */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-col ul li a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #777;
}

/* --- NOTIFICATIONS --- */
.notification {
    display: none;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    animation: fadeIn 0.5s;
}

.notification.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .hero-content,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 250px;
        order: -1;
        /* Image on top on mobile */
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Modal Overlay */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    transition: opacity 0.3s ease;
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff6b35;
}

/* Scrollable Content */
.modal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}