/* General Styles */
body {
    background: linear-gradient(135deg, #ffffff 60%, #e8f5e9 100%);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    scroll-behavior: smooth;
}

/* Header */
.header {
    background: #1a4427;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Base Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: white;
}

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

.navbar ul {
    list-style: none;
    padding: 0;
    display: flex;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s;
}

.navbar ul li a:hover {
    color: #d4f1c5;
}

/* Mobile Styles */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar ul {
        display: none; /* Hide menu by default */
        flex-direction: column;
        background-color: #1a4427; /* Optional: Add background color for mobile dropdown */
        position: absolute;
        top: 50px;
        right: 20px;
        width: 200px;
        padding: 10px;
        border-radius: 5px;
    }

    .navbar ul.active {
        display: flex; /* Show menu when active */
    }

    .menu-toggle {
        display: block; /* Show toggle button */
    }

    .navbar ul li {
        margin: 10px 0; /* Add spacing between items */
    }
}

.logo {
    margin: 0;
}

.logo img {
    height: 90px;
    width: 100%;
}

/* Hero Section */
.hero {
    background: url('image-hero.jpeg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    animation: fadeIn 2s ease-in-out;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white; /* Text color */
    text-shadow:
      -1px -1px 0 black,  
       1px -1px 0 black,  
      -1px  1px 0 black,  
       1px  1px 0 black; /* Shadow color */
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: white; /* Text color */
    text-shadow:
      -1px -1px 0 black,  
       1px -1px 0 black,  
      -1px  1px 0 black,  
       1px  1px 0 black; /* Shadow color */
}

.hero .btn {
    background-color: #1a5d44;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.hero .btn:hover {
    background-color: #004d00;
}

/* Section Styles */
section {
    padding: 50px 20px;
}


/* About Us Section */
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background:#d7ded7;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    gap: 20px;
}

.about-content {
    flex: 1 1 50%;
    padding: 20px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #2e7d32;
    margin-bottom: 15px;
    text-align: left;
}

.about-content p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-image {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery,
.donate,
.events,
.team,
.sponsor,
.whatsapp {
    text-align: center;
}

.events ul {
    text-decoration: none;
}

.donate h2 {
    color: #2e7d32;
}

/* General Styling */
.gallery-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.gallery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #006400;
}

.gallery-section p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #333;
}

/* Gallery Grid */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    color: white;
    font-size: 1.5rem;
    text-align: center;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-section h2 {
        font-size: 2rem;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* General Styling for the Events Section */
.events {
    padding: 20px;
    background-color: #f9f9f9; /* Subtle background */
    color: #333;
    text-align: center;
}

.events h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2e7d32; /* Dark green for the title */
}

/* Calendar Table Styling */
.calendar-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.calendar-table {
    width: 90%;
    max-width: 800px;
    border-collapse: collapse;
    background-color: #ffffff; /* White table background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.calendar-table th,
.calendar-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.calendar-table th {
    background-color: #2e7d32; /* Green header */
    color: white;
    font-size: 16px;
}

.calendar-table td {
    font-size: 14px;
    color: #555;
}

.calendar-table tr:nth-child(even) {
    background-color: #f3f3f3; /* Light gray for alternating rows */
}

.calendar-table tr:nth-child(odd) {
    background-color: #ffffff;
}

/* General Styles for the Team Section */
.team {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
}

.team h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

/* Container for team members */
.team-container {
    display: flex;
    justify-content: center; /* Centers the team members horizontally */
    gap: 20px; /* Adds space between members */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    padding: 0 10px;
}

/* Individual Team Member */
.team-member {
    text-align: center;
    max-width: 150px; /* Restrict the width of each team member */
}

.team-member img {
    width: 150px; /* Adjust the image size */
    height: 150px;
    border-radius: 50%; /* Makes the image circular */
    margin-bottom: 5px; /* Adds space below the image */
}

.team-member h3 {
    font-size: 18px;
    color: #444;
    margin: 5px 0;
}

.team-member p {
    font-size: 14px;
    color: #777;
}



/* Buttons */
.btn {
    background-color: #1a5d44;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn:hover {
    background-color: #004d00;
}

.contact-us {
    background-color: #f5f5f5; /* Light background for contrast */
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    color: #2e7d32; /* Green theme */
    line-height: 1.8;
}

.contact-us h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #1b5e20; /* Dark green for heading */
}

.contact-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto; /* Center the content */
}

.contact-item {
    flex: 1;
    min-width: 200px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1b5e20;
    font-weight: bold;
}

.contact-item p {
    font-size: 16px;
    color: #444;
    margin: 0;
}

.contact-item a {
    text-decoration: none;
    color: #2e7d32;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1b5e20; /* Darker green on hover */
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Stack items vertically on smaller screens */
    }
}


/* Footer Styling */
.footer {
    color: white;
    text-align: center; /* Fallback alignment */
    font-family: 'Poppins', sans-serif;
    background: #1a4427;
    background-size: cover;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.footer-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between; /* Spreads items evenly */
    max-width: 1200px;
    margin: 0 auto; /* Centers the content */
}

/* Social Icons */
.social-icons a {
    color: white;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: #cddc39; /* Light green hover effect */
}

/* Footer Text */
.footer-text p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-text .power a {
    color: #cddc39; /* Light green link color */
    text-decoration: none;
}

.footer-text .power a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack items on smaller screens */
        text-align: center;
    }
}



.power a {
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* For mobile devices (max width: 768px) */
@media screen and (max-width: 768px) {
    /* Adjust layout for mobile view */
    body {
        font-size: 16px; /* Adjust font size */
    }

    .container {
        padding: 10px; /* Adjust container padding */
    }

    .header {
        font-size: 18px; /* Adjust header font size */
    }

    .menu {
        display: block;
        text-align: center;
        margin-top: 20px;
    }

    .main-content {
        padding: 15px;
    }

    .sidebar {
        display: none; /* Hide sidebar on small screens */
    }

    .footer {
        font-size: 14px; /* Adjust footer font size */
    }
}

/* For tablets (min-width: 769px and max-width: 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* Adjust layout for tablet view */
    body {
        font-size: 18px; /* Adjust font size */
    }

    .container {
        padding: 20px; /* Adjust container padding */
    }

    .header {
        font-size: 20px; /* Adjust header font size */
    }

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

    .sidebar {
        display: block;
        width: 30%;
        float: right;
    }

    .main-content {
        width: 65%;
        float: left;
    }

    .footer {
        font-size: 16px; /* Adjust footer font size */
    }
}

/* For desktops (min-width: 1025px) */
@media screen and (min-width: 1025px) {
    /* Adjust layout for desktop view */
    body {
        font-size: 20px; /* Adjust font size */
    }

    .container {
        padding: 30px; /* Adjust container padding */
    }

    .header {
        font-size: 24px; /* Adjust header font size */
    }

    .menu {
        display: flex;
        justify-content: space-between;
    }

    .main-content {
        width: 70%;
        float: left;
    }

    .sidebar {
        width: 25%;
        float: right;
    }

    .footer {
        font-size: 18px; /* Adjust footer font size */
    }
}

