/* Who Are We Section */
.who-are-we {
    background-color: rgb(238, 249, 255);
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.heading-waw {
    font-weight: bold;
    color: #2c3e50; /* Dark navy for clarity */
    font-size: 2.5rem; /* Larger heading */
    line-height: 2.7rem;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-in-out;
}

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

.container-waw {
    font-size: 1.1rem; /* Keep the text readable */
    line-height: 1.8; /* Better spacing between lines */
    width: 50vw;
    max-width: 800px;
    color: #4d4d4d; /* Neutral text color */
    text-align: center;
}

/* Responsive Typography */
@media (max-width: 1024px) {
    .heading-waw {
        font-size: 2rem;
    }
    .container-waw {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .heading-waw {
        font-size: 1.8rem;
    }
    .container-waw {
        font-size: 0.9rem;
        width: 70vw;
    }
}

@media (max-width: 480px) {
    .heading-waw {
        font-size: 1.5rem;
    }
    .container-waw {
        font-size: 0.8rem;
    }
}

/* FEATURED EVENT */
.featured-event {
    margin: auto;
    height: auto;
    width: 80vw;
    max-width: 1200px;
    padding: 20px;
    border-radius: 15px;
    margin-top: 100px;
}

.event-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

/* Image Styling */
.event-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-event {
    width: 50%;
    flex-shrink: 0;
}

/* Event Details Styling */
.event-details {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.event-para {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .featured-event{
        margin-top: 0px;
    }

    .event-content {
        flex-direction: column;
    }

    .image-event, 
    .event-details {
        width: 100%;
    }

    .event-title {
        font-size: 24px;
        text-align: center;
    }

    .event-para {
        font-size: 14px;
        text-align: justify;
    }

    .event-details {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .featured-event {
        width: 90vw;
        padding: 10px;
    }

    .event-title {
        font-size: 18px;
    }

    .event-para {
        font-size: 14px;
    }
}

/* Meet team section */
.team{
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: max-content;
}
.heading{
    font-weight: bold;
    color: #2c3e50; /* Dark navy for clarity */
    font-size: 2.5rem; /* Larger heading */
    line-height: 2.7rem;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-in-out;
}
/* Keeping the first two members only */
.team-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Display only two members */
    grid-template-rows: auto;
    gap: 20px;
    justify-content: center;
    margin-bottom: 25px;
}

/* Volunteer button style */
.volunteer-button {
    padding: 10px 20px;
    background-color: #007bff; /* Blue button */
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none; /* Remove underline */
    text-align: center;
}

.volunteer-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

@media (max-width: 768px) {
    .team-container {
        grid-template-columns: 1fr; /* Display one column on smaller screens */
    }

    .volunteer-button {
        font-size: 1rem; /* Smaller font on mobile */
        padding: 8px 16px;
    }
}
.team-member{
    padding: 10px;
    height: 350px;
    width: 250px;
    background-color: #ebebeb;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items:center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.team-image{
    border-radius: 500px;
    height: 200px;
    width: 200px;
}
.tname{
    color: rgb(0, 94, 255);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 9px;
    text-align: center;
}
.post{
    color: #4d4d4d;
    text-align: center;
}

@media (max-width: 1150px) and (min-width: 769px) {
    .team-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-member {
        height: 320px; 
        width: 220px;
    }
    .team-image {
        height: 160px;
        width: 160px;
    }
    .tname {
        font-size: 1.1rem;
    }
    .post {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .team-container {
        grid-template-columns: repeat(2, 1fr); 
    }
    .team-member {
        height: 300px;
        width: 200px;
    }
    .team-image {
        height: 150px;
        width: 150px;
    }
}

@media (max-width: 480px) {
    .team-container {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }
    .heading {
        font-size: 2rem;
        line-height: 2.2rem;
    }
    .team-member {
        height: auto;
        width: 100%;
        padding: 15px;
    }
    .team-image {
        height: 120px;
        width: 120px;
    }
    .tname {
        font-size: 1rem;
    }
    .post {
        font-size: 0.9rem;
    }
}

/* Video Section */
.video-section {
    padding: 50px;
    text-align: center;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

iframe {
    width: 800px;
    height: 400px;
    border-radius: 10px; /* Rounded corners for better style */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

@media (max-width: 768px) {
    .heading {
        font-size: 2rem; 
    }
}

@media (max-width: 480px) {
    .video-heading {
        font-size: 1.8rem; /* Smaller heading for mobile */
    }

    iframe {
        width: 100%; /* Make the iframe responsive */
        height: 250px; /* Adjust height for mobile screens */
    }
}
/* TESTIMONIALS */
.testimonial {
    background: #f0f4f8; /* Light background */
    padding: 40px 20px; /* Top and bottom padding */
    max-width: 80vw; /* Set width */
    margin: auto; /* Center the section */
    text-align: center; /* Center align text */
    margin-top: 100px;
}

.testimonial-container {
    display: flex; /* Use flexbox for layout */
    justify-content: center; /* Center items */
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
    gap: 20px; /* Adjust gap for spacing between items */
}

.testimonial-item {
    background: white; /* White background for testimonial */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 20px; /* Inner padding */
    width: 25%; /* Width for desktop screens */
    margin: 12px;
    position: relative; /* Position relative for image overlay */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for effects */
}

.testimonial-item:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

.testimonial-image {
    width: 80px; /* Set width for circular image */
    height: 80px; /* Set height for circular image */
    border-radius: 50%; /* Circular shape */
    overflow: hidden; /* Hide overflow */
    margin: auto; /* Center the image */
    margin-bottom: 15px; /* Space below image */
}

.testimonial-image img {
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
}

.testimonial-text {
    font-size: 1.1rem; /* Font size for testimonial text */
    color: #555; /* Dark text color */
    margin: 10px 0; /* Space above and below text */
}

.testimonial-author {
    font-weight: bold; /* Bold font for author */
    color: #333; /* Dark color for author */
}

.footer-text {
    margin-top: 30px; /* Space above footer text */
    font-size: 0.9rem; /* Smaller font size */
    color: #666; /* Gray color for footer text */
}

.testimonial-item:nth-child(odd) {
    background: #f3fdff; /* Light blue background for odd testimonials */
}

.testimonial-item:nth-child(even) {
    background: #fff; /* White background for even testimonials */
}

/* Responsive Design for laptop screens (13-inch and 14-inch) */
@media (max-width: 1024px) {
    .testimonial-item {
        width: 33%; /* Adjust width for smaller laptop screens */
    }
}

/* Responsive Design for tablets and mobile screens */
@media (max-width: 768px) {
    .testimonial{
        margin: 50px 0;
        max-width: 100%;
    }
    .testimonial-item {
        width: 33%; /* Adjust width for tablets and small screens */
    }
    
    .testimonial-text {
        font-size: 1rem; /* Slightly reduce text size for smaller screens */
    }
}

@media (max-width: 480px) {
    .testimonial-item {
        width: 90%; /* Full width for mobile screens */
        margin: 10px 0; /* Adjust margin for mobile */
    }
    
    .testimonial-text {
        font-size: 0.9rem; /* Further reduce font size for smaller mobile screens */
    }

    .testimonial-author {
        font-size: 1rem; /* Adjust author text size */
    }
}



/* FAQs */
#faq {
    margin-top: 100px;
    margin: auto;
    padding: 40px 20px;
    width: 84%;
    border-radius: 8px;
}

#faq h2 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.faq-question {
    width: 100%;
    padding: 20px; /* Increased height */
    font-size: 1.3rem; /* Slightly larger font */
    background-color: #c5e3ff; /* Lighter blue */
    color: #004080; /* Softer text color */
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: background-color 0.3s, padding 0.3s;
    border-radius: 6px;
}

.faq-question:hover {
    background-color: #cde4f9; /* Even lighter blue on hover */
}

.faq-answer {
    display: none;
    padding: 20px; /* Increased padding for more space */
    background-color: #fff;
    font-size: 1.05rem; /* Slightly larger answer text */
    color: #444;
    border-left: 4px solid #b3d7ff; /* Soft blue for accent */
    margin-top: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question.active + .faq-answer {
    display: block;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    #faq {
        width: 95%;
        padding: 30px 15px;
    }

    .faq-question {
        font-size: 1.2rem;
        padding: 18px; /* Adjusted for responsiveness */
    }

    .faq-answer {
        font-size: 1rem;
        padding: 18px;
    }

    #faq h2 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .faq-question {
        font-size: 1.1rem;
        padding: 15px; /* Reduced padding for small screens */
    }

    .faq-answer {
        font-size: 0.95rem;
        padding: 16px;
    }

    #faq h2 {
        font-size: 1.6rem;
    }
}
