* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f4fff6;
    color: #1b3a2f;
}

/* Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #dff5e1;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: bold;
    font-size: 20px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #1b3a2f;
    font-weight: 500;
}

nav a:hover {
    color: #2e7d32;
}

/* Hero */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(223,245,225,0.8), rgba(223,245,225,0.8)),
                url('https://images.unsplash.com/photo-1501004318641-b39e6451bec6');
    background-size: cover;
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.hero p {
    margin-bottom: 20px;
    font-size: 18px;
}

.hero button {
    padding: 10px 20px;
    border: none;
    background: #2e7d32;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.hero button:hover {
    background: #1b5e20;
}

/* Sections */
section {
    padding: 60px 50px;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
}

/* Services */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Contact Button */
.mail-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #2e7d32;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.mail-btn:hover {
    background: #1b5e20;
}

/* Footer */
footer {
    background: #dff5e1;
    text-align: center;
    padding: 15px;
}

/* Mobile Dimensions */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }
    nav {
        margin-top: 15px;
    }
    nav a {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 28px;
    }
    section {
        padding: 40px 20px;
    }
}
/* Logo animation setup */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
}

.logo.active {
    flex-direction: column;
}

.leaf-icon {
    font-size: 26px;
    transition: all 0.5s ease;
}

/* Falling leaves */
.leaf {
    position: absolute;
    top: 0;
    font-size: 18px;
    animation: fall 3s linear infinite;
    pointer-events: none;
}

@keyframes fall {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(120px) rotate(360deg);
        opacity: 0;
    }
}
