﻿:root {
    --primary: #2b4eff;
    --secondary: #ff8a05;
    --dark: #0a2540;
    --light: #f8f9fc;
    --text: #333;
    --radius: 16px;
}

/* ====== GLOBAL RESET ====== */
body {
    font-family: "Inter", "Segoe UI", sans-serif;
    color: var(--text);
    background-color: var(--light);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--dark);
    }

    .section-header p {
        color: #666;
        font-size: 1.1rem;
    }


/* ====== HERO SECTION (Light Green Image Compatible) ====== */

.hero-section {
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5fff6; /* soft eco-friendly tone */
    padding: 40px 20px;
    border-radius: 0 0 60px 60px;
    font-family: "Poppins", sans-serif;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 320px;
    color: #1a3c2f; /* deep eco green */
}

    .hero-text h1 {
        font-size: 2.8rem;
        line-height: 1.2;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .hero-text .highlight {
        color: #2ba84a; /* bright green accent */
    }

    .hero-text .subtitle {
        font-size: 1.1rem;
        color: #333;
        margin-bottom: 15px;
    }

    .hero-text .description {
        font-size: 1rem;
        color: #444;
        line-height: 1.7;
        margin-bottom: 30px;
    }

.btn-primary {
    background: #2ba84a;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

    .btn-primary:hover {
        background: #228b3a;
    }

.hero-image {
    flex: 1;
    min-width: 320px;
    min-height: 400px;
    background: url('/images/main-page.jpg') right center / cover no-repeat;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive layout */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-image {
        width: 100%;
        height: 300px;
    }
}

/* ====== FEATURES SECTION ====== */
.features-section {
    padding: 40px 20px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fdfdfd;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .feature-card .icon {
        font-size: 2.5rem;
        color: var(--secondary);
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
        color: var(--dark);
    }

/* ====== WORKFLOW SECTION ====== */
.workflow-section {
    padding: 40px 20px;
    background: var(--light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
}

.step-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 2rem 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .step-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }

.step-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.step-card h4 {
    color: var(--dark);
    font-weight: 600;
}

/* ====== FAQ SECTION ====== */
.faq-section {
    padding: 40px 20px;
}

.faq-list {
    margin: auto;
}

.faq-item {
    background: var(--light);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .faq-question span {
        transition: transform 0.3s ease;
    }

    .faq-question.active span {
        transform: rotate(45deg);
        color: var(--secondary);
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    color: #555;
    padding: 0 1.5rem;
    transition: all 0.3s ease;
}

.faq-question.active + .faq-answer {
    padding: 1rem 1.5rem;
}

/* ====== DOWNLOAD SECTION ====== */
.download-section {
    background: linear-gradient(272deg, #198754, #328535);
    color: #fff;
    padding: 100px 20px;
    text-align: left;
}

.download-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.download-text {
    flex: 1;
    min-width: 300px;
}

.download-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

    .download-image img {
        width: 100%;
        max-width: 420px;
    }

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .download-container {
        flex-direction: column;
        text-align: center;
    }
}
