body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

li a.active {
    color: yellow; 
    border-bottom: 2px solidrgba(214, 231, 60, 0.55); /* Underline for active link */
}

main {
    padding: 20px;
}

.mission, .team, .testimonials {
    margin-bottom: 40px;
}

.mission-image {
    width: 100%;
    height: auto;
    margin-top: 10px;
}

/* Team Section Styles */
.team {
    background-color: #f9f9f9; /* Light background for contrast */
    padding: 40px 20px; /* Padding around the section */
    text-align: center; /* Center text */
}

.team h2 {
    font-size: 2.5em; /* Larger font size for the section title */
    margin-bottom: 20px; /* Space below the title */
    color: #4CAF50; /* Theme color */
}

.team-container {
    display: flex;
    justify-content: center; /* Center items in the container */
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
    gap: 20px; /* Space between team members */
}

.team-member {
    background: white; /* White background for each member */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 20px; /* Padding inside the member card */
    width: 250px; /* Fixed width for member cards */
    transition: transform 0.3s; /* Smooth transformation on hover */
}

.team-member:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.team-member img {
    width: 100px; /* Fixed width for images */
    height: 100px; /* Fixed height for images */
    border-radius: 50%; /* Circular images */
    object-fit: cover; /* Ensure the image covers the area */
    margin-bottom: 15px; /* Space below the image */
}

.team-member h3 {
    font-size: 1.5em; /* Font size for names */
    margin: 10px 0 5px; /* Margins around the name */
    color: #333; /* Dark color for names */
}

.team-member p {
    margin: 5px 0; /* Space between paragraphs */
    color: #666; /* Gray color for titles and descriptions */
    font-size: 0.9em; /* Slightly smaller font for descriptions */
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #0056b3;
}

/*upcoming events css code and the code for team member in single file*/

.upcoming-events {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
    position: relative;
}

.upcoming-events h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.event-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive grid */
    gap: 20px;
}

.event {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative; /* For hover effect */
}

.event:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.event h3 {
    font-size: 1.8rem;
    color: #007bff; /* Accent color for event titles */
    margin-bottom: 10px;
}

.event p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555; /* Slightly lighter text for descriptions */
}

.register-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: inline-block; /* Align button */
    margin-top: 10px; /* Space above button */
}

.register-button:hover {
    background-color: #0056b3;
    transform: scale(1.05); /* Slight scaling effect on hover */
}

/* Responsive styles for smaller screens */
@media (max-width: 600px) {
    .event h3 {
        font-size: 1.5rem; /* Smaller font size for mobile */
    }

    .event p {
        font-size: 0.9rem; /* Adjust paragraph font size */
    }
}