/* Global Reset */
body, h1, h2, p, div {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Image Slider */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    display: flex;
    justify-content: center; /* Align images to the center */
}

/* Ensure the height is fixed to 400px, while covering without distortion */
.slider img {
    width: 100%;
    height: 600px; /* Fixed height of 400px */
    object-fit: cover; /* Ensure images cover the container without distortion */
    object-position: center; /* Optionally adjust image focus if cropping occurs */
    border-radius: 10px;
}

/* Navigation buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Make the slider responsive */
@media (max-width: 768px) {
    .slider img {
        height: 450px; /* Adjust height on smaller screens */
    }
}

/* Main Container */
.team-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

/* Header Styling */
h1 {
    text-align: center;
    font-size: 38px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #0b0c0d;
    margin-bottom: 30px;
}

/* Team Section */
.team-section {
    margin-bottom: 60px;
}

/* Team Members Container - Responsive Grid */
.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Team Member Card */
.team-member {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 20px;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 70%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.team-member h2 {
    font-size: 1.6rem;
    color: #080809;
    margin: 10px 0;
}

.team-member h3 {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 10px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 30px;
    }

    .section-title {
        font-size: 24px;
    }

    .team-member h2 {
        font-size: 1.4rem;
    }

    .team-member h3 {
        font-size: 1rem;
    }

    .team-member img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 26px;
    }

    .section-title {
        font-size: 22px;
    }

    .team-member {
        padding: 15px;
    }

    .team-member h2 {
        font-size: 1.2rem;
    }

    .team-member h3 {
        font-size: 0.95rem;
    }

    .team-member img {
        height: 140px;
        width: 80%;
    }
}


/* Volunteer Section */
.division.timeline {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.infoTitle {
    text-align: center;
    margin-bottom: 30px;
}

.infoTitle h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.infoTitle .tag {
    background-color: #007bff;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 15px;
}

.paragraphPrimary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.volunteer-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 18px;
    margin: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    flex: 1 1 220px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
}

.volunteer-card:hover {
    transform: scale(1.05);
}

.volunteer-card b {
    font-size: 1.2rem;
    color: #007bff;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    .team-member img {
        height: 220px;
    }

    .team-member h2 {
        font-size: 1.3rem;
    }

    .team-member h3 {
        font-size: 1rem;
    }

    .volunteer-card {
        font-size: 1rem;
        padding: 12px;
    }
}

/* Volunteer Section */
.volunteer-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.volunteer-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    font-weight: 600;
}

.volunteer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.volunteer-card h2 {
    font-size: 1.4rem;
    color: #007bff;
    margin: 10px 0;
}

.volunteer-card h3 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .volunteer-card {
        width: 200px;
        padding: 15px;
    }

    .volunteer-card h2 {
        font-size: 1.2rem;
    }

    .volunteer-card h3 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .volunteer-card {
        width: 100%;
        padding: 12px;
    }

    .volunteer-card h2 {
        font-size: 1.1rem;
    }

    .volunteer-card h3 {
        font-size: 0.9rem;
    }
}



.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    margin: 1rem;
    background-color: #f9f9f9;  /* Light background */
    border-radius: 8px;         /* Rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow */
    max-width: 300px;           /* Prevent member info from growing too wide */
    width: 70%;                /* Make it responsive */
}

.image-placeholder {
    width: 30vw;               /* Use viewport width to make the size relative */
    height: 30vw;              /* Same as width to maintain a square shape */
    max-width: 150px;          /* Maximum size on larger screens */
    max-height: 150px;         /* Maximum size on larger screens */
    background-color: #ddd;    /* Light gray background */
    border-radius: 50%;        /* Circular shape */
    margin-bottom: 1rem;       /* Space below the image */
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;    /* Make the background image cover the placeholder */
    background-position: center; /* Center the background image */
}

.image-placeholder::before {
    content: "No Image";       /* Optional text when no image is available */
    font-size: 14px;
    color: #555;
    text-align: center;
    display: block;
}

/* Media Query for Smaller Screens (e.g., mobile) */
@media screen and (max-width: 400px) {
    .team-member {
        padding: 0.5rem;         /* Less padding on smaller screens */
        margin: 0.5rem;          /* Less margin on smaller screens */
    }

    .image-placeholder {
        width: 40vw;             /* Adjust width to 40% of viewport width on mobile */
        height: 40vw;            /* Maintain square shape */
        max-width: 120px;        /* Maximum size */
        max-height: 120px;       /* Maximum size */
    }
}

/* Media Query for Larger Screens */
@media screen and (min-width: 1060px) {
    .team-member {
        max-width: 400px;        /* Increase the max-width for larger screens */
    }

    .image-placeholder {
        width: 20vw;             /* 20% of viewport width on larger screens */
        height: 20vw;            /* Maintain square aspect ratio */
        max-width: 150px;        /* Maximum size */
        max-height: 150px;       /* Maximum size */
    }
}

/* Footer */
.footerText {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-tint);
}
.footerText2 {
    font-size: 1.4rem;
    
    line-height: 1.9;
    color: var(--color-tint);
    font-style: italic;
}
footer {
    background-color: #0b0b0c;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 14px;
}




/* Responsive Design */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    .team-member img {
        height: 200px;
    }

    .team-member h2 {
        font-size: 1.3rem;
    }

    .volunteer-card {
        flex: 1 1 150px;
    }

    .infoTitle h3 {
        font-size: 20px;
    }
}