/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    color: #333;
    background: url('../img/hero-tree.jpg') no-repeat center center fixed;
    background-size: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    z-index: 1000;
}

header .logo {
    margin-left: 20px;
    font-size: 1.5em;
    font-weight: bold;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    padding: 5px 10px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

.burger {
    display: none;
    font-size: 2em;
    cursor: pointer;
    margin-right: 20px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
}

#hero h1 {
    font-size: 3em;
    margin: 0;
}

#hero p {
    font-size: 1.5em;
    margin: 10px 0 20px;
}

.cta-button {
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #218838;
}

/* About Section */
#about {
    padding: 50px 0;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
}

#about .container {
    max-width: 1200px;
    margin: 0 auto;
}

#about h2 {
    font-size: 2.5em;
}

.about-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.about-item {
    width: calc(33.33% - 40px);
    margin-bottom: 40px;
    text-align: center;
}

.about-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.about-item p {
    font-size: 1.1em;
}

/* How It Works Section */
#how-it-works {
    padding: 50px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
}

#how-it-works h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.step {
    width: 30%;
    margin: 10px 0;
    text-align: center;
}

.step img {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.step h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.step p {
    font-size: 1.2em;
}

/* Testimonials Section */
#testimonials {
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
}

#testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.testimonial {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

/* Call-to-Action Section */
#cta {
    padding: 50px 20px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    color: white;
}

#cta h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* Contact Section */
#contact {
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.8);
    text-align: center;
}

#contact h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.map {
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.map iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Footer */
footer {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
}

footer .quick-links a {
    color: white;
    margin: 0 10px;
}

footer .newsletter {
    margin: 20px 0;
}

footer .newsletter input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
}

footer .newsletter a {
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

footer .newsletter button:hover {
    background: #218838;
}

footer p {
    margin: 0;
}

/* Media Queries */
@media (max-width: 1200px) {
    .about-item, .step {
        width: calc(50% - 40px);
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .burger {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        position: absolute;
        left: 0;
        padding: 20px;
        opacity: 0;
        transition: top 0.5s ease-in-out, opacity 0.5s ease-in-out;
        border-radius: 10px;
        z-index: 1000;
    }

    .nav-links.nav-active {
        animation: slideDown 0.5s forwards;
    }
}

@media (max-width: 576px) {
    #hero h1 {
        font-size: 2em;
    }
    #hero p {
        font-size: 1em;
    }
    .cta-button {
        font-size: 1em;
    }
    .about-item h3, .step h3, #contact h2, #cta h2 {
        font-size: 1.2em;
    }
    .about-item p, .step p, .testimonial span, .contact-info p {
        font-size: 1em;
    }
}

/* Animation Keyframes */
@keyframes slideDown {
    0% {
        top: -100%;
        opacity: 0;
    }
    100% {
        top: 60px;
        opacity: 1;
    }
}
