/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #f9f9f9;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #2e7d32;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.02);
}

.logo i {
    margin-right: 10px;
    font-size: 32px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2e7d32;
    transition: width 0.3s;
}

nav ul li a:hover {
    color: #2e7d32;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1501854140801-50d01698950b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #1b5e20;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #555;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.btn {
    display: inline-block;
    background-color: #2e7d32;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #2e7d32;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn:hover {
    background-color: #1b5e20;
    border-color: #1b5e20;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(27, 94, 32, 0.2);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #1b5e20;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2e7d32;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 18px;
}

/* Gallery Section */
.gallery {
    background-color: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-content {
    padding: 20px;
}

.gallery-content h3 {
    margin-bottom: 10px;
    color: #1b5e20;
    font-size: 22px;
}

.gallery-content p {
    color: #666;
    font-size: 16px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

.feature:hover {
    background-color: #f0f7f0;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 50px;
    color: #2e7d32;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
}

.feature h3 {
    margin-bottom: 15px;
    color: #1b5e20;
    font-size: 22px;
}

.feature p {
    color: #666;
    font-size: 16px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    color: #1b5e20;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 17px;
    line-height: 1.7;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}

.about-img:hover {
    transform: scale(1.02);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Statistics Section */
.statistics {
    background-color: #1b5e20;
    color: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #a5d6a7;
}

.stat-label {
    font-size: 18px;
    color: #e8f5e9;
}

/* Footer */
footer {
    background-color: #1b5e20;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #a5d6a7;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #4caf50;
}

.footer-column p, .footer-column a {
    color: #e0e0e0;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.6;
}

.footer-column a:hover {
    color: #a5d6a7;
    padding-left: 5px;
}

.footer-column i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
    color: white;
    font-size: 18px;
}

.social-icons a:hover {
    background-color: #4caf50;
    transform: translateY(-3px);
}

.newsletter-form {
    margin-top: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 30px;
    border: none;
    margin-bottom: 10px;
    font-size: 16px;
}

.newsletter-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdbdbd;
    font-size: 14px;
}

.copyright i {
    color: #ff6b6b;
    margin: 0 5px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top:hover {
    background-color: #1b5e20;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-img {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 5px 15px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
