* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

header {
    background: linear-gradient(to right, #2c5e2e, #3f7c41);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    letter-spacing: 1px;
}

header h1 {
    font-size: 2.2rem;
}

nav {
    background: #4a8b4c;
    padding: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffdf91;
}

.hero {
    background: url('https://source.unsplash.com/1600x700/?rural,india') no-repeat center/cover;
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 3rem;
    border-radius: 10px;
    color: white;
    animation: fadeIn 1.5s ease-in-out;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    background: #ff6f61;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #e55a50;
    transform: scale(1.05);
}

.section {
    padding: 3rem 1rem;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c5e2e;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6f61;
    margin: 0.5rem auto 0;
}

.services ul {
    max-width: 700px;
    margin: auto;
    padding-left: 1.5rem;
}

.services li {
    margin-bottom: 0.8rem;
}

.contact form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact input, .contact textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact button {
    background: #2c5e2e;
    color: white;
    border: none;
    padding: 0.8rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.contact button:hover {
    background: #1e3f20;
}

footer {
    background: #2c5e2e;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Animation Effects */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stats counter style */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
}
.stat h3 {
    font-size: 2rem;
    color: #ff6f61;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
}