* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fffa;
    color: #222;
    overflow-x: hidden;
    transition: .3s;
}

/* THEME */

.theme-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
    border: none;
    cursor: pointer;
    padding: 12px 15px;
    border-radius: 50%;
    font-size: 18px;
}

.dark-mode {
    background: #111;
    color: white;
}

.dark-mode .stat-card,
.dark-mode .modal-content {
    background: #1e1e1e;
    color: white;
}

.dark-mode .content-section {
    background: #151515;
}

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    color: white;

    background:
        linear-gradient(135deg,
            #0f5132,
            #1f8f55,
            #7ce38b);

    background-attachment: fixed;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 20px;
}

.hero p {
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
}

.hero-illustration {
    margin-top: 40px;
}

.hero-illustration svg {
    width: 100%;
    max-width: 600px;
    fill: rgba(255, 255, 255, .15);
    stroke: white;
    stroke-width: 3;
}

/* STATS */

.stats-section {
    padding: 100px 8%;
    text-align: center;
}

.stats-section h2 {
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .08);
    transition: .3s;
}

.stat-card:hover {
    transform: translateY(-8px);
}

.icon {
    font-size: 3rem;
}

.stat-card h3 {
    font-size: 3rem;
    color: #0f8a4f;
}

/* CONTENT */

.content-section {
    padding: 120px 10%;
    text-align: center;
}

.content-section h2 {
    margin-bottom: 20px;
    font-size: 2.3rem;
}

.content-section p {
    max-width: 800px;
    margin: auto;
    line-height: 1.8;
}

.alt {
    background: #eefcf1;
}

.lottie-section {
    padding: 100px 10%;
    text-align: center;
}

/* CTA */

.cta-section {
    padding: 120px 10%;
}

.cta-box {
    text-align: center;
    color: white;
    border-radius: 30px;
    padding: 70px 40px;

    background:
        linear-gradient(135deg,
            #0f5132,
            #1f8f55);
}

.cta-box h2 {
    font-size: 3rem;
}

.cta-box p {
    margin: 20px 0;
}

.cta-btn {
    border: none;
    cursor: pointer;
    background: white;
    color: #0f5132;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
}

/* MODAL */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 1000;
}

.modal-content {
    background: white;
    max-width: 500px;
    margin: 8% auto;
    padding: 30px;
    border-radius: 20px;
}

.modal-content input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
}

.modal-content button {
    width: 100%;
    padding: 15px;
    border: none;
    cursor: pointer;
    background: #0f8a4f;
    color: white;
}

#closeModal {
    float: right;
    cursor: pointer;
    font-size: 28px;
}

/* FADE */

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: .8s;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}