/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9; /* Softer, light gray background */
    color: #333; /* Use dark text for contrast */
    padding: 15px 20px; /* Maintain spacing */
    height: 50px; /* Set consistent height */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for depth */
    position: sticky; /* Make navbar stick to the top when scrolling */
    top: 0;
    z-index: 1000; /* Ensure navbar stays above other content */
}

.logo img {
    width: 100px; /* Adjust logo size */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra spacing */
    transition: transform 0.3s ease; /* Smooth hover animation */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px; /* Increase spacing for better balance */
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #333; /* Default link color */
    font-size: 1.1em; /* Slightly larger text for readability */
    font-style: oblique;
    position: relative; /* For underline animation */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effects */
}

.nav-links a::after {
    content: ''; /* Creates the underline effect */
    position: absolute;
    left: 0;
    bottom: -4px; /* Adjusts the position of the underline */
    width: 0; /* Hidden by default */
    height: 2px; /* Line thickness */
    background-color: #007bff; /* Accent color for the line */
    transition: width 0.4s ease; /* Smooth expansion effect */
}

.nav-links a:hover {
    color: #007bff; /* Change link color on hover */
    transform: translateY(-2px); /* Subtle lift effect */
}

.nav-links a:hover::after {
    width: 100%; /* Expand the underline on hover */
}

.menu-toggle {
    display: none; /* Hide toggle by default */
    font-size: 1.8em;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease; /* Smooth hover effect */
}

.menu-toggle:hover {
    color: #007bff; /* Change color on hover */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    /* Navigation Links */
    .nav-links {
        display: none; /* Hidden by default */
        flex-direction: column; /* Stack items vertically */
        position: absolute;
        background: rgba(0, 0, 0, 0.8); /* Semi-transparent black for visibility */
        width: 100%;
        top: 60px; /* Position dropdown below the navbar */
        left: 0;
        padding: 15px 0; /* Add padding inside the dropdown */
        text-align: center; /* Center-align text */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Adds a soft shadow for depth */
        z-index: 1001; /* ADD THIS LINE: Ensures the menu appears on top of other content */
    }

    .nav-links.active {
        display: flex; /* Show the dropdown when active */
    }
    .menu-toggle {
        display: block; /* Show menu toggle on small screens */
    }

    /* Additional styling for mobile menu items */
    .nav-links li {
        margin-bottom: 15px; /* Add spacing between vertical links */
        text-align: center; /* Center the text in the mobile menu */
    }

    .nav-links li:last-child {
        margin-bottom: 0; /* No margin after the last item */
    }

    .nav-links a {
        padding: 10px 0; /* Add vertical padding to make links easier to tap */
        display: block; /* Make the entire link area clickable */
    }

    /* Optionally, remove the underline animation for mobile to keep it cleaner */
    .nav-links a::after {
        display: none;
    }
}

/* Hero Section */


/* Hero Section */


.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #f5f1f1;
    text-align: center;
    padding: 100px 20px;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    animation: backgroundSlide 30s infinite; /* Increased duration to 30s */
}

@keyframes backgroundSlide {
    0% { background-image: url('images/2 (8).jpg'); }
    10% { background-image: url('images/3 (24).jpg'); }
    20% { background-image: url('images/3 (1).jpg'); }
    30% { background-image: url('images/4 (4).jpg'); }
    40% { background-image: url('images/3 (16).jpg'); }
    50% { background-image: url('images/3 (14).jpg'); }
    60% { background-image: url('images/2 (13).jpg'); }
    70% { background-image: url('images/2 (9).jpg'); }
    80% { background-image: url('images/2 (8).jpg'); }
    90% { background-image: url('images/2 (29).jpg'); }
    100% { background-image: url('images/3 (2).jpg'); }
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 20px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.hero h5 {
    font-size: 20px;
    margin-top: 10px;
    max-width: 80%;
    line-height: 1.6;
    color: #dcdcdc;
    text-shadow: 1px 3px 6px rgba(0, 0, 0, 0.4);
    font-family: "Brush Script MT", cursive;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero * {
    position: relative;
    z-index: 2;
}
/*about page*/
.hero-about {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #f5f1f1;
    text-align: center;
    padding: 80px 20px;
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    animation: backgroundSlideAbout 24s infinite; /* Unique animation name */
}

@keyframes backgroundSlideAbout { /* Unique keyframes name */
    0% { background-image: url('images/1 (3).jpg'); }
    20% { background-image: url('images/3 (9).jpg'); }
    40% { background-image: url('images/3 (10).jpg'); }
    60% { background-image: url('images/3 (26).jpg'); }
    80% { background-image: url('images/2 (15).jpg'); }
    100% { background-image: url('images/2 (2).jpg'); }
}

.hero-about h1 {
    font-size: 45px;
    margin-bottom: 15px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.hero-about h5 {
    font-size: 18px;
    margin-top: 8px;
    max-width: 80%;
    line-height: 1.5;
    color: #dcdcdc;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
    font-family: "Brush Script MT", cursive;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-about * {
    position: relative;
    z-index: 2;
}
/* Responsive Design */
@media (max-width: 768px) {
    .hero-about {
        height: 30vh;
        padding: 60px 15px;
    }
    .hero-about h1 {
        font-size: 35px;
    }
    .hero-about h5 {
        font-size: 16px;
    }
}

/* Content Sections */
.content, .programs, .news-events, .team {
    padding: 30px 20px;
    max-width: 100%;
    margin: auto;
    

    
   
}
.work {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 15px; /* Added gap */
    font-family: 'Poppins', sans-serif;
    text-align: center;
    max-width: 100%;
    margin: 20px auto; /* Reduced margin */
    padding: 60px 20px; /* Increased padding */
}

.work > div {
    padding: 50px 30px; /* Increased padding */
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Added box shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added transition */
}

.work > div:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.work h2 {
    font-size: 26px; /* Increased font size */
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px; /* Added letter spacing */
}

.work p {
    font-size: 18px; /* Increased font size */
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 400; /* Added font weight */
}

/* Underlines */
.work h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: white;
    margin: 15px auto;
}

/* Alternating colors with subtle gradients */
.work > div:nth-child(odd) { background: linear-gradient(135deg, #1ABC9C, #16A085); } /* Turquoise gradient */
.work > div:nth-child(even) { background: linear-gradient(135deg, #34495E, #2C3E50); } /* Charcoal gradient */

/* Responsive adjustments */
@media (max-width: 768px) {
    .work {
        grid-template-columns: 1fr;
        padding: 40px 15px; /* Adjusted padding */
        gap: 10px; /* Adjusted gap */
    }
    .work > div {
        padding: 40px 20px; /* Adjusted padding */
    }
    .work h2 {
        font-size: 22px; /* Adjusted font size */
    }
    .work p {
        font-size: 16px; /* Adjusted font size */
    }
}

/* Adjusted content container to span full width */
.content-container {
    display: flex;
    align-items: center;
    gap: 50px; /* Increased gap for better spacing */
    font-family: 'Poppins', sans-serif; /* Modern font */
    font-size: 16px;
    background-color: #ffffff;
    padding: 60px; /* Increased padding */
    border-radius: 16px; /* Slightly more rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* More pronounced shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.content-container:hover {
    transform: translateY(-8px); /* More noticeable lift on hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18); /* More pronounced shadow on hover */
}

/* Image Styling */
.content-container img {
    width: 45%; /* Slightly larger image */
    border-radius: 16px; /* Consistent rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); /* More pronounced image shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.content-container img:hover {
    transform: scale(1.05); /* Slightly more noticeable scale on hover */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22); /* More pronounced hover shadow */
}

/* Text Content Styling */
.content-container div {
    max-width: 55%; /* Adjusted text width */
    color: #333;
    line-height: 1.8;
}

/* Heading Styling */
.content-container h2 {
    font-size: 32px; /* Larger heading */
    margin-bottom: 20px;
    color: #2c3e50; /* More professional color */
    font-weight: 700;
    letter-spacing: -0.8px; /* Tighter letter spacing */
}

/* Paragraph Styling */
.content-container p {
    margin: 0 0 25px; /* Increased margin */
    font-family: 'Poppins', sans-serif;
    font-size: 17px; /* Slightly larger text */
    line-height: 1.9; /* Increased line-height */
    color: #4a4a4a; /* Slightly darker text color */
}

/* Hidden Content Styling */
.hidden-content {
    display: none;
    margin-top: 25px;
}

/* Show More Button Styling */
.show-more-btn {
    background: linear-gradient(135deg, #42a5f5, #2979ff); /* Brighter blue gradient */
    color: white;
    padding: 14px 24px;
    border: none;
    cursor: pointer;
    margin-top: 30px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.show-more-btn:hover {
    background: linear-gradient(135deg, #2979ff, #1976d2);
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
        text-align: left;
        gap: 30px;
        padding: 40px;
    }

    .content-container img {
        width: 100%;
    }

    .content-container div {
        max-width: 100%;
    }

    .content-container h2 {
        font-size: 28px;
    }

    .content-container p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .content-container {
        padding: 30px;
    }

    .content-container h2 {
        font-size: 26px;
    }

    .content-container p {
        font-size: 15px;
    }
}




/* Programs Section */


.program {
    display: flex;
    align-items: center;
    gap: 40px; /* Adjusted gap for better spacing */
    font-family: 'Poppins', sans-serif; /* Modern and clean font */
    font-size: 17px; /* Adjusted font size */
    background-color: #ffffff; /* Brighter background */
    padding: 35px; /* Adjusted padding */
    border-radius: 16px; /* Slightly more rounded corners */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12); /* Slightly more pronounced shadow */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Adjusted transition for smoother effect */
}

.program.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image Styling */
.program img {
    width: 40%; /* Adjusted width */
    border-radius: 12px; /* Slightly more rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Slightly more pronounced shadow */
    transition: transform 0.4s ease-out, box-shadow 0.3s ease-out; /* Adjusted transition */
}

.program img:hover {
    transform: scale(1.04); /* Adjusted scale */
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2); /* Adjusted shadow on hover */
}

/* Text Content */
.program div {
    max-width: 60%; /* Adjusted width */
    color: #333;
    line-height: 1.6; /* Adjusted line height */
}

/* Heading */
.program h3 {
    font-size: 24px; /* Adjusted font size */
    margin-bottom: 12px; /* Adjusted margin */
    color: #007bff;
    font-weight: 600; /* Adjusted font weight */
}

/* Paragraph */
.program p {
    margin: 0;
    font-size: 16px;
    color: #4a4a4a; /* Adjusted color */
    line-height: 1.8; /* Adjusted line-height */
}

/* Responsive Design */
@media (max-width: 768px) {
    .program {
        flex-direction: column;
        text-align: left; /* Adjusted text alignment */
        gap: 30px; /* Adjusted gap */
        padding: 30px; /* Adjusted padding */
    }

    .program img {
        width: 100%;
    }

    .program div {
        max-width: 100%;
    }

    .program h3 {
        font-size: 22px; /* Adjusted font size */
    }

    .program p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .program {
        padding: 20px;
        gap: 20px;
    }

    .program h3 {
        font-size: 20px;
    }

    .program p {
        font-size: 14px;
    }
}


/*ABOUT PAGE*/

 /*about what we do*/
 .programs-about {
    font-family: 'Poppins', sans-serif; /* Clean and modern font */
    background: linear-gradient(135deg, #f7f9fc, #e9edf4); /* Subtle blue gradient for a clean, professional look */
    padding: 50px; /* Add generous padding around the section */
    text-align: center; /* Center-align the heading */
    border-radius: 16px; /* Rounded corners for a polished appearance */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin: 30px auto; /* Center the section with some margin */
    max-width: 1200px; /* Limit maximum width for readability */
}

.programs-about h2 {
    font-size: 36px; /* Larger font size for the heading */
    font-weight: bold;
    color: #003366; /* Deep blue to match ASLP branding */
    margin-bottom: 30px; /* Add spacing below the heading */
    text-transform: none; /* Keep original text casing for elegance */
    letter-spacing: 1px; /* Add spacing for visual balance */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
}

.program-about {
    display: flex;
    align-items: center;
    gap: 40px; /* Space between the image and content */
    flex-wrap: wrap; /* Ensure responsiveness and wrapping */
    text-align: left; /* Align text to the left */
    margin-top: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1); /* Add a subtle border */
    border-radius: 12px; /* Rounded corners for elegance */
    padding: 20px; /* Add padding inside the container */
    background-color: #ffffff; /* White background for contrast */
}

.program-about img {
    width: 45%; /* Slightly larger image */
    max-width: 480px; /* Limit maximum width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 12px; /* Rounded corners for the image */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow for depth */
    transition: transform 0.4s ease, box-shadow 0.4s ease; /* Smooth hover animations */
}

.program-about img:hover {
    transform: scale(1.1); /* Dynamic zoom effect on hover */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

.program-about div {
    flex: 1; /* Use remaining space for content */
    color: #333; /* Darker gray for better readability */
    font-size: 18px; /* Larger font for better clarity */
    line-height: 1.8; /* Improve readability with line spacing */
}

.program-about h3 {
    font-size: 26px; /* Moderate heading size */
    color: #006699; /* Softer blue accent for better alignment with ASLP branding */
    margin-bottom: 20px; /* Add spacing below heading */
    font-weight: bold; /* Bold for emphasis */
    letter-spacing: 0.5px; /* Slight letter spacing for elegance */
    text-transform: none; /* Maintain natural casing */
}

.program-about p {
    margin: 0;
    font-size: 16px; /* Standard font size for readability */
    line-height: 1.6; /* Enhance readability */
    color: #555; /* Neutral gray tone for the body text */
}

/* Styling for the Learn More Button */
.program-about .learn-more-button {
    display: inline-block;
    margin-top: 20px; /* Add space above the button */
    padding: 12px 25px; /* Button padding for a larger clickable area */
    font-size: 16px; /* Standard button font size */
    font-weight: bold;
    color: #ffffff; /* White text for contrast */
    background: linear-gradient(90deg, #007bff, #0056b3); /* Gradient for a modern look */
    border: none; /* Remove border */
    border-radius: 8px; /* Rounded corners for a smooth appearance */
    text-decoration: none; /* Remove underline for the link */
    cursor: pointer; /* Pointer cursor for interactivity */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add a soft shadow for depth */
    transition: all 0.3s ease; /* Smooth hover effects */
}

.program-about .learn-more-button:hover {
    background: linear-gradient(90deg, #0056b3, #003f7f); /* Darker gradient on hover */
    transform: scale(1.05); /* Slight zoom effect on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}


 /*hidden text about page*/
 .hidden-text {
    display: none; /* Initially hide the extra text */
}

.learn-more-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.learn-more-button:hover {
    background-color: #0056b3; /* Slightly darker blue on hover */
}

 


  /*achievemts about page*/

.achievements {
    background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
    padding: 30px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    font-family: Arial, sans-serif;
  }
  
  .achievements h1 {
    text-align: center;
    color: #0077b6;
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .achievements ul {
    list-style-type: decimal;
    margin: 0;
    padding: 0 20px;
    color: #333;
  }
  
  .achievements li {
    margin: 10px 0;
    font-size: 1.2rem;
    line-height: 1.6;
    transition: font-weight 0.3s ease-in-out;
  }
  
  .achievements li:hover {
    font-weight: bold;
  }
  



@media screen and (max-width: 768px) {
    .program {
        flex-direction: column; /* Stack the image and text vertically */
        text-align: center; /* Center-align text on small screens */
    }

    .program img {
        width: 80%; /* Adjust image width for smaller screens */
        margin-bottom: 20px; /* Add space below the image */
    }
}






/* News Section */
.news-events {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Increased gap for better spacing */
    background-color: #ffffff;
    padding: 40px; /* Increased padding */
    border-radius: 12px; /* Slightly more rounded corners */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12); /* Slightly more pronounced shadow */
    font-family: 'Poppins', sans-serif; /* Modern font */
}

.event {
    display: flex;
    align-items: center;
    gap: 30px; /* Increased gap */
    width: 100%;
    background-color: #f8f8f8; /* Slightly darker background */
    border-radius: 10px; /* Slightly more rounded corners */
    padding: 20px; /* Increased padding */
    transition: transform 0.35s ease-out, box-shadow 0.35s ease-out; /* Adjusted transition */
}

.event:hover {
    transform: translateY(-5px); /* Added slight lift on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); /* Increased shadow on hover */
}

.event img {
    width: 180px; /* Increased image size */
    height: 120px; /* Increased image height */
    object-fit: cover;
    border-radius: 10px; /* Slightly more rounded corners */
    transition: transform 0.35s ease-out; /* Adjusted transition */
}

.event img:hover {
    transform: scale(1.05); /* Adjusted scale */
}

.event div {
    max-width: 75%; /* Adjusted text width */
}

.event h3 {
    font-size: 20px; /* Increased font size */
    margin-bottom: 8px; /* Adjusted margin */
    color: #007bff;
    font-weight: 600; /* Added font weight */
}

.event p {
    font-size: 15px; /* Adjusted font size */
    color: #4a4a4a; /* Adjusted color */
    margin: 0;
    line-height: 1.7; /* Adjusted line height */
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-events {
        padding: 30px;
        gap: 30px;
    }

    .event {
        flex-direction: column; /* Stacked layout on smaller screens */
        align-items: flex-start; /* Aligned to the start */
        gap: 20px;
    }

    .event img {
        width: 100%; /* Full width image */
        height: auto; /* Auto height */
    }

    .event div {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .news-events {
        padding: 20px;
        gap: 20px;
    }

    .event {
        padding: 15px;
    }

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

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






/* Team Section */
.leader {
    display: flex;
    align-items: center;
    gap: 20px;
}

.leader img {
    width: 100px;
    border-radius: 50%;
}

/* Footer */
footer {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.9); /* Slightly darker background */
    padding: 30px 20px; /* Increased vertical padding */
    margin-top: 30px; /* Increased margin */
    font-family: 'Roboto', sans-serif; /* Modern font */
    color: #e0e0e0; /* Softer text color */
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
}

footer p {
    margin: 15px 0; /* Increased margin */
    font-size: 14px;
    line-height: 1.6; /* Improved line height */
    color: #9e9e9e; /* Darker text color */
}

.contact-info {
    margin: 20px 0; /* Increased margin */
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Increased gap */
    flex-wrap: wrap;
}

.contact-info a {
    color: #e0e0e0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px; /* Increased gap */
    font-weight: 400; /* Adjusted font weight */
    transition: color 0.3s ease-in-out; /* Smoother transition */
}

.contact-info a:hover {
    color: #4fc3f7; /* Brighter accent color */
}

.contact-info i {
    font-size: 22px; /* Increased icon size */
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px; /* Increased gap */
    margin-top: 20px; /* Increased margin */
}

.social-icons a {
    font-size: 28px; /* Increased icon size */
    color: #e0e0e0;
    text-decoration: none;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out; /* Smoother transitions */
}

.social-icons a:hover {
    transform: scale(1.1); /* Reduced scale */
    color: #4fc3f7; /* Brighter accent color */
}

footer .social-icons a i {
    transition: transform 0.3s ease-in-out; /* Smoother transition */
}

footer .social-icons a:hover i {
    transform: rotate(360deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    footer {
        padding: 25px 15px;
    }

    .contact-info {
        gap: 20px;
    }

    .social-icons {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 20px 10px;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .social-icons {
        gap: 15px;
    }
}


/*partner*/
.partners {
    text-align: center;
    padding: 40px; /* Increase padding for a more spacious look */
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa; /* Light background */
    color: #333; /* Dark text for contrast */
}

.partners h2 {
    font-size: 28px; /* Slightly larger heading */
    margin-bottom: 15px;
    color: #007bff; /* Accent color for heading */
}

.partners p {
    margin-bottom: 30px; /* Add more spacing below the intro text */
    font-size: 16px;
}

.partner-grid {
    display: flex;
    flex-wrap: wrap; /* Ensure items wrap to the next row on smaller screens */
    gap: 30px; /* Add more space between partner items */
    justify-content: center; /* Center the grid within the section */
}

.partner {
    width: 220px; /* Slightly increase the width for more space */
    text-align: center; /* Center each partner's content */
    padding: 15px; /* Add padding for a clean look */
    border: 1px solid #ddd; /* Add a subtle border */
    border-radius: 8px; /* Rounded corners */
    background-color: #ffffff; /* White background for partner blocks */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Soft shadow for a polished look */
}

.partner img {
    width: 100%; /* Make the logo responsive */
    max-width: 150px; /* Limit the maximum size */
    height: auto;
    margin-bottom: 15px; /* Add spacing between the logo and description */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.partner img:hover {
    transform: scale(1.1); /* Subtle zoom effect on hover */
}

.partner p {
    font-size: 14px;
    color: #666; /* Use a lighter color for text contrast */
    margin: 0;
}
/*join us button*/
.register-button {
    display: inline-block;
    margin-top: 30px; /* Adds space above the button */
    padding: 15px 30px; /* Larger padding for a bigger button */
    font-size: 18px; /* Bigger font size */
    font-family: 'Arial', sans-serif; /* Clean and professional font */
    font-weight: bold; /* Make the text bold */
    color: #ffffff; /* White text */
    background: linear-gradient(90deg, #007bff, #0056b3); /* Stylish gradient background */
    border: none; /* Removes border */
    border-radius: 50px; /* Fully rounded corners for a pill-shaped button */
    text-decoration: none; /* Remove underline (if using <a>) */
    cursor: pointer; /* Add pointer cursor */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Add subtle shadow for depth */
    transition: all 0.3s ease; /* Smooth animation for hover effects */
}

.register-button:hover {
    background: linear-gradient(90deg, #0056b3, #003f7f); /* Darker gradient on hover */
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
    transform: scale(1.1); /* Slight zoom effect */
}




/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        background: none; /* Transparent background for the toggle button */
        border: none; /* Removes default border */
        color: #007bff; /* Sets icon color for visibility */
        font-size: 28px; /* Slightly larger icon size for better usability */
        position: absolute;
        right: 20px; /* Positions it near the right edge */
        top: 15px; /* Adjusts spacing from the top */
        cursor: pointer; /* Adds a pointer cursor */
        transition: color 0.3s ease, transform 0.3s ease; /* Smooth hover animation */
    }

    .menu-toggle:hover {
        color: #0056b3; /* Darker blue on hover for better feedback */
        transform: scale(1.2); /* Slight zoom effect */
    }
}

@media (max-width: 768px) {
    /* Navigation Links */
    .nav-links {
        display: none; /* Hidden by default */
        flex-direction: column; /* Stack items vertically */
        position: absolute;
        background: rgba(0, 0, 0, 0.8); /* Semi-transparent black for visibility */
        width: 100%; /* Full width for mobile view */
        top: 60px; /* Position dropdown below the navbar */
        left: 0;
        padding: 15px 0; /* Add padding inside the dropdown */
        text-align: center; /* Center-align text */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Adds a soft shadow for depth */
    }

    .nav-links.active {
        display: flex; /* Show the dropdown when active */
    }

    .nav-links li {
        margin: 10px 0; /* Add spacing between navigation links */
    }

    .nav-links a {
        color: #ffffff; /* White text for better contrast */
        text-decoration: none; /* Remove underline */
        font-size: 18px; /* Larger text for better readability */
        transition: color 0.3s ease; /* Smooth hover transition */
    }

    .nav-links a:hover {
        color: #00bfff; /* Light blue color on hover */
    }

    /* Program and News-Events Sections */
    .program, .news-events {
        display: flex; /* Use flex for better control */
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center-align the items */
        gap: 20px; /* Add spacing between elements */
        text-align: center; /* Center-align the text */
        padding: 10px; /* Add some padding for spacing */
    }

    /* Individual Events and Images */
    .event {
        display: flex; /* Flexbox ensures layout flexibility */
        flex-direction: column; /* Stack image on top of text */
        width: 100%; /* Take full width on smaller screens */
        align-items: center; /* Center-align the image and text */
        text-align: center; /* Ensure text stays centered */
        gap: 10px; /* Space between the image and text */
    }

    .program img, .news-events img, .event img {
        width: 90%; /* Make the image nearly full width */
        max-width: 400px; /* Prevent the image from becoming too large */
        height: auto; /* Maintain the aspect ratio */
        border-radius: 8px; /* Add rounded corners for aesthetics */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a shadow for depth */
        transition: transform 0.3s ease; /* Smooth hover animation */
    }

    .program img:hover, .news-events img:hover, .event img:hover {
        transform: scale(1.05); /* Slight zoom effect on hover */
    }
}

    
    




/* Responsive Fixes  work section*/
@media (max-width: 768px) {

    
}

/* Fix Content Section */


@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
        display: flex;
        align-items: center;
        gap: 40px;
        font-family: 'Georgia', serif; /* Modern serif for elegance */
        font-size: 15px;
        background-color: #f9f9f9; /* Light background for contrast */
        padding: 20px 40px; /* Internal space */
        border: 1px solid #ddd; /* Subtle structure */
        border-radius: 10px; /* Polished look */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft depth */
    }
    
    .content-container img {
        width: 40%; /* Ensures the image has a defined size */
        border-radius: 10px; /* Keeps the rounded corners */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for aesthetics */
        transition: transform 0.6s ease; /* Smooth zoom effect on hover */
    }
    
    .content-container img:hover {
        transform: scale(1.1); /* Zoom-in effect when hovered */
    }
    
    
    /* Updated text container */
    .content-container div {
        width: 100%;           /* Span full container width */
        max-width: 100%;       /* Remove the 50% limitation */
        padding: 0 20px;       /* Add horizontal padding for breathing room */
        box-sizing: border-box;/* Ensure padding is included in the width */
        color: #333;           /* Dark gray text for readability */
        line-height: 1.6;      /* Comfortable spacing between lines */
        text-align: center;    /* Center the text or try 'justify' if you prefer */
    }
    
    .content-container h3 {
        font-size: 24px;       /* More prominent heading */
        margin-bottom: 10px;
        color: #007bff;        /* Accent color for the heading */
    }
    
    .content-container p {
        margin: 0;             /* Reset margin for consistency */
    }
}

/*----SIGN UP SECTION-------*/

.signup-section {
    background: 
      url('images/2\ \(30\).jpg') no-repeat center center;
    background-size: cover;
    padding: 60px 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  
  
  
  .signup-container {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef); /* Softer and smoother gradient */
    padding: 50px 40px;
    border-radius: 20px;                  /* Slightly more rounded edges */
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Deeper shadow for elegance */
    border: 2px solid rgba(230, 230, 230, 0.8); /* Slightly translucent border */
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease; /* Smooth animations */
    position: relative; /* Allows adding decorative elements */
    overflow: hidden;   /* Keeps all content inside rounded corners */
  }
  
  .signup-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1), transparent);
    z-index: 0;
    filter: blur(50px);
  }
  
  .signup-container:hover {
    transform: translateY(-12px); /* Slightly more lift on hover */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25); /* Enhanced depth */
  }
  
  .signup-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #495057; /* Soft, elegant shade of black */
    font-size: 2.4rem; /* Larger and more prominent */
    font-weight: 900; /* Extra bold for emphasis */
    text-transform: uppercase;
    letter-spacing: 2px; /* Enhanced spacing for modern style */
    position: relative;
    z-index: 1; /* Ensures it stays above decorative elements */
  }
  
  .signup-container h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #007bff; /* Accent bar below the title */
    margin: 15px auto 0;
  }
  
  .signup-container:hover h2 {
    color: #0056b3; /* Slightly darker tone on hover */
  }
  
  /* Optional: Floating animation for added engagement */
  .signup-container:hover::before {
    animation: float 2s infinite alternate ease-in-out;
  }
  
  @keyframes float {
    from {
      top: -20px;
      left: -20px;
    }
    to {
      top: -10px;
      left: -10px;
    }
  }
  
  
  .signup-form .form-group {
    margin-bottom: 20px;
  }
  
  .signup-form label {
    display: block;
    margin-bottom: 8px;
    color: #6c757d;
    font-weight: 600; /* Slightly bolder */
  }
  
  .signup-form input,
  .signup-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px; /* Rounder input edges */
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    background: #f8f9fa; /* Subtle background for fields */
  }
  
  .signup-form input:focus,
  .signup-form select:focus {
    border-color: #17a2b8; /* A vibrant cyan color */
    box-shadow: 0 0 8px rgba(23, 162, 184, 0.4); /* Add glowing focus */
    outline: none;
  }
  
  /* ---------- Submit Button Styling ---------- */
  .submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #007bff, #0056b3); /* Gradient button background */
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase; /* Stand-out text */
    border: none;
    border-radius: 50px; /* Fully rounded button */
    cursor: pointer;
    transition: background 0.3s ease, transform 0.4s ease;
    margin-top: 20px;
  }
  
  .submit-button:hover {
    background: linear-gradient(90deg, #0056b3, #003d80); /* Darker gradient on hover */
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 91, 187, 0.4); /* Add shadow for depth */
  }
  
  /* ---------- Responsive Adjustments ---------- */
  @media screen and (max-width: 768px) {
    .signup-container {
      padding: 30px 20px;
    }
  
    .signup-container h2 {
      font-size: 1.8rem;
    }
  
    .submit-button {
      font-size: 1.1rem;
      padding: 14px;
    }
  }
  


 /* Gallery Section */
.interactive-gallery {
    padding: 30px; /* Increased padding */
    text-align: center;
    background-color: #f9f9f9;
}

.interactive-gallery h2 {
    font-size: 28px; /* Increased title font size */
    color: #333;
    margin-bottom: 20px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); /* Responsive grid */
    grid-gap: 10px; /* Increased grid gap */
    max-width: 1300px; /* Use max-width for flexibility */
    margin: 0 auto;
}

.photo {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;
    padding-top: 70%; /* Adjusted aspect ratio */
    border-radius: 12px; /* Increased corner radius */
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease; /* Added transition */
}

.photo:hover {
    transform: scale(1.05); /* Added hover effect */
}

.photo .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-size: 16px; /* Increased text size */
    text-transform: uppercase;
    font-weight: bold;
}

.photo:hover .overlay {
    opacity: 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Darker modal background */
    transition: opacity 0.4s ease; /* Added transition */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%; /* Increased modal width */
    max-height: 90%; /* Increased modal height */
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px; /* Increased close button size */
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #ccc; /* Lighter color on hover */
}

#caption {
    text-align: center;
    color: #fff;
    padding: 15px 0;
    font-size: 18px; /* Increased caption size */
}

/* Responsive Design */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
        grid-gap: 15px;
    }
}


/* Navigation Buttons */
.prev,
.next {
    touch-action: manipulation; /* Ensure proper touch handling */
    padding: 15px; /* Slightly increase the area for touch input */
    position: absolute;
    top: 50%;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 30px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover,
.next:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: #000;
}




/*contact us page design*/


.contact-us {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
}

.contact-us h2 {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-in-out;
}

.contact-us p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #555;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-container h3 {
    font-size: 24px;
    color: #007bff;
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.contact-item a {
    text-decoration: none;
}

.contact-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: #f7f7f7;
}

.contact-item i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 16px;
    color: #333;
}

.social-media-container {
    display: flex;
    justify-content: center;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-media a {
    display: inline-block;
    font-size: 24px;
    color: white;
    background: #007bff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-media a:hover {
    background-color: #0056b3;
    transform: scale(1.2);
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}




/*home recent-events*/

.recent-events-section {
    width: 100%; /* Ensure the section spans the full width */
    padding: 40px 0; /* Add vertical padding */
    background: #f4f4f4; /* A slightly different background */
}

.recent-events-container {
    max-width: 1200px; /* Increase max-width for wider screens */
    width: 90%; /* Take up 90% of the container width */
    margin: 0 auto; /* Center the container */
}

.recent-events-header {
    text-align: center;
    margin-bottom: 30px;
}

.recent-events-header h2 {
    font-size: 36px;
    color: #333;
    font-weight: 700;
    letter-spacing: -1px;
    text-transform: uppercase; /* Optional: Make the title uppercase */
}



.recent-events {
    max-width: 900px;
    margin: 60px auto; /* Increased margin for better spacing */
    padding: 40px; /* Increased padding */
    background: #f9f9f9; /* Lighter background for a cleaner look */
    border: 1px solid #e0e0e0; /* Softer border */
    border-radius: 16px; /* Slightly more rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* More subtle shadow */
    text-align: center;
    transition: all 0.3s ease-in-out; /* Smooth transitions */
}


.event-summary p {
    line-height: 1.6;
    color: #555;
    text-align: left; /* Align text to the left for better readability */
    padding: 0 20px; /* Add padding to the summary text */
}
.recent-events:hover {
    transform: translateY(-5px); /* Gentle lift on hover */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1); /* Slightly more pronounced shadow on hover */
}

.recent-events h2 {
    color: #2c3e50; /* More professional dark blue-gray */
    font-size: 32px; /* Slightly larger heading */
    margin-bottom: 20px;
    font-weight: 600; /* Semi-bold for emphasis */
    letter-spacing: -0.5px; /* Tighten letter spacing for a polished look */
}

.hidden-content {
    display: none;
    transition: all 0.3s ease-in-out;
    margin-top: 20px; /* Add some space above the hidden content */
    text-align: left; /* Align text to the left for better readability */
    padding: 0 20px; /* Add padding to the hidden content */
}

.hidden-content p {
    line-height: 1.6; /* Improved line height for readability */
    color: #555; /* Slightly lighter text color */
}

/* Modern Read More Button */
.read-more-btn {
    background: linear-gradient(135deg, #3498db, #2980b9); /* Softer blue gradient */
    color: white;
    padding: 14px 24px; /* Slightly larger button */
    border: none;
    cursor: pointer;
    margin-top: 25px; /* Increased margin */
    border-radius: 10px; /* More rounded corners */
    font-size: 17px; /* Slightly larger font */
    font-weight: 600; /* Semi-bold font */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Subtle shadow */
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1c6aa1); /* Darker blue gradient on hover */
    transform: translateY(-3px); /* Gentle lift on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* More pronounced shadow on hover */
}

/* 📷 Improved Gallery - Larger Images with Subtle Hover Effects */
.gallery {
    margin-top: 30px; /* Increased margin */
    display: grid; /* Using grid for a cleaner layout */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Responsive grid */
    gap: 20px; /* Increased gap */
}

.gallery img {
    width: 100%; /* Make images responsive within their grid cells */
    height: auto; /* Maintain aspect ratio */
    aspect-ratio: 1 / 1; /* Enforce square aspect ratio */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05); /* Gentle scale on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.flyer {
    display: flex;
    justify-content: center; /* Centers the flyer */
    align-items: center;
    margin: 20px auto; /* Adds spacing around the flyer */
    max-width: 600px; /* Limits the maximum width */
    width: 90%; /* Ensures responsiveness */
}

/* Flyer Image Styling */
.flyer img {
    width: 100%; /* Makes the image fill its container */
    height: auto; /* Maintains the aspect ratio */
    border-radius: 12px; /* Softly rounded corners for a sleek look */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Adds a subtle shadow */
    object-fit: contain; /* Ensures the entire flyer fits without cropping */
}


/* Responsive Adjustments */

@media (max-width: 768px) {
    .recent-events-container {
        width: 95%; /* Adjust for smaller screens */
    }
}
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }

    .recent-events h2 {
        font-size: 28px;
    }
}



/* officials home page section */
/* --- Refined Officials Section CSS --- */
.officials-section {
    background-color: #ffffff; /* Keep white for a clean look */
    padding: 80px 20px; /* Increased vertical padding for more breathing room */
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08); /* Softer, more prominent shadow for the entire section */
    margin: 40px auto; /* Add vertical margin to separate it from other sections */
    max-width: 1200px; /* Allow wider sections if desired for larger screens */
    border-radius: 15px; /* Slightly more pronounced rounded corners for the section container */
}

.officials-container {
    max-width: 1000px; /* Keep content contained */
    margin: auto;
    padding: 0 15px; /* Add some horizontal padding for smaller screens */
}

/* Assuming you'll add an <h2> inside .officials-section for the main title */
.officials-section h2 {
    font-size: 2.8em; /* Larger, more impactful heading */
    margin-bottom: 60px; /* More space below the main heading */
    color: #004d40; /* A darker shade of your button green for consistency */
    position: relative;
    display: inline-block;
}

/* Optional: Add a subtle underline effect to the section title */
.officials-section h2::after {
    content: '';
    display: block;
    width: 60px; /* Short underline */
    height: 4px;
    background-color: #007b5e; /* Match button color */
    margin: 15px auto 0; /* Center and space it */
    border-radius: 2px;
}

.officials-photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px; /* Increased gap for better separation of larger photos */
    margin-top: 50px; /* More space from heading */
    margin-bottom: 50px; /* More space before button */
}

/* Wrapper div for each official's photo and text */
.officials-photo-item {
    text-align: center;
    width: 250px; /* Increased width for each photo block (was 200px) */
    flex-shrink: 0; /* Prevent shrinking below this width */
    background-color: #fff; /* White background for each item */
    border-radius: 12px; /* Rounded corners for the individual photo item */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Subtle shadow for each item */
    padding-bottom: 20px; /* Padding at the bottom for text */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.officials-photo-item:hover {
    transform: translateY(-8px); /* Lift the whole item on hover */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* More pronounced shadow */
}

.officials-photos img {
    width: 100%; /* Make image fill its container */
    height: auto; /* Allow height to adjust naturally */
    max-height: 300px; /* Set a max height for consistency (adjust as needed) */
    object-fit: contain; /* Use 'contain' to ensure entire image (including embedded text) is visible */
    border-radius: 12px 12px 0 0; /* Only top corners rounded to fit container, no rounding at bottom for text */
    /* Remove individual img shadow, as the item has a shadow now */
    border-bottom: 1px solid #eee; /* Subtle separator from text */
}


.view-all-btn {
    display: inline-block;
    padding: 15px 35px; /* Larger padding for a more substantial button */
    background-color: #007b5e;
    color: white;
    border-radius: 50px; /* Pill-shaped button for a modern look */
    text-decoration: none;
    font-weight: 700; /* Bolder text */
    font-size: 1.1em; /* Slightly larger font */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.5px; /* A bit of letter spacing for polish */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

.view-all-btn:hover {
    background-color: #005a42;
    transform: translateY(-3px); /* Lift button on hover */
    box-shadow: 0 6px 15px rgba(0,0,0,0.2); /* More pronounced shadow */
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .officials-photo-item {
        width: 220px; /* Slightly smaller on medium screens */
    }
    .officials-photos {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .officials-section {
        padding: 60px 15px; /* Less padding on smaller screens */
        margin: 20px auto; /* Less margin */
    }

    .officials-section h2 {
        font-size: 2em; /* Smaller heading */
        margin-bottom: 40px;
    }

    .officials-photos {
        gap: 20px; /* Smaller gap */
    }

    .officials-photo-item {
        width: 180px; /* Smaller photo items */
    }

        .view-all-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 576px) {
    .officials-photos {
        flex-direction: column; /* Stack photos vertically on very small screens */
        align-items: center; /* Center them when stacked */
    }
    .officials-photo-item {
        width: 85%; /* Wider individual photo item when stacked */
        max-width: 300px; /* Limit max width for very large images */
    }
    .officials-photos img {
        max-height: 250px; /* Adjust max height for vertical stacking */
    }
}


/* --- Core Team Bios Section Styling --- */



/* --- Core Team Bios Section Styling --- */

/* --- Core Team Bios Section Styling (Remains as previously optimized for long bios) --- */
.core-team-bios-section {
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin: 40px auto;
    max-width: 1200px;
    border-radius: 15px;
}

.core-team-bios-section h2 {
    font-size: 2.8em;
    margin-bottom: 60px;
    color: #004d40;
    position: relative;
    display: inline-block;
}

.core-team-bios-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #007b5e;
    margin: 15px auto 0;
    border-radius: 2px;
}

.team-member-bio-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
}

.team-member-bio-card {
    background-color: #fcfcfc;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 850px;
    margin: 0 auto;
}

.team-member-bio-card:nth-child(even) {
    background-color: #f5f7f9;
}

.team-member-bio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.team-member-bio-img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.team-member-bio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-bio-content {
    padding: 35px;
}

.team-member-bio-content h3 {
    font-size: 2em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 8px;
    color: #004d40;
}

.team-member-bio-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #007b5e;
    margin-bottom: 25px;
}

.team-member-bio-text {
    font-size: 1em;
    color: #555;
    line-height: 1.8;
    text-align: justify;
    max-width: 100%;
    margin-bottom: 1em;
}

.team-member-bio-text p + p {
    margin-top: 1em;
}


/* --- Additional Team Members Section Styling (Pictures Only) --- */
.additional-members-section {
    background-color: #f0f2f5;
    padding: 80px 0;
    text-align: center;
    margin: 40px auto;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.additional-members-section h2 {
    font-size: 2.2em;
    margin-bottom: 50px;
    color: #212529;
    position: relative;
    display: inline-block;
}

.additional-members-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #007b5e;
    margin: 10px auto 0;
    border-radius: 2px;
}

.additional-members-photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px; /* Increased gap for bigger pictures (was 30px) */
    margin-top: 40px;
}

.member-photo-item {
    text-align: center;
    width: 220px; /* Increased width for bigger pictures (was 180px) */
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-photo-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.member-photo-item img {
    width: 100%;
    height: 220px; /* Increased height to match width for square consistency (was 180px) */
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* --- Responsive Adjustments for Sections --- */
@media (min-width: 769px) {
    .team-member-bio-card {
        flex-direction: row;
        text-align: left;
    }
    .team-member-bio-img-wrapper {
        width: 40%;
        height: auto;
        max-height: 380px;
        border-radius: 12px 0 0 12px;
    }
    .team-member-bio-img-wrapper img {
        height: 100%;
        object-fit: cover;
    }
    .team-member-bio-content {
        width: 60%;
        padding: 35px 45px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .team-member-bio-card:nth-child(even) {
        flex-direction: row-reverse;
    }
    .team-member-bio-card:nth-child(even) .team-member-bio-img-wrapper {
        border-radius: 0 12px 12px 0;
    }
}


@media (max-width: 992px) {
    .core-team-bios-section {
        padding: 70px 0;
    }
    .core-team-bios-section h2 {
        font-size: 2.4em;
    }
    .team-member-bio-card {
        max-width: 700px;
    }
    .team-member-bio-content h3 {
        font-size: 1.8em;
    }
    .team-member-bio-title {
        font-size: 1.1em;
    }
    .team-member-bio-text {
        font-size: 0.95em;
    }
    .additional-members-section h2 {
        font-size: 2em;
    }
    .member-photo-item {
        width: 180px; /* Adjust for smaller screens (was 220px) */
        height: 180px; /* Adjust for smaller screens (was 220px) */
    }
    .member-photo-item img {
        height: 180px; /* Adjust for smaller screens (was 220px) */
    }
}

@media (max-width: 768px) {
    .core-team-bios-section {
        padding: 60px 0;
    }
    .core-team-bios-section h2 {
        font-size: 2.2em;
        margin-bottom: 40px;
    }
    .team-member-bio-card {
        flex-direction: column;
        margin: 0 auto;
        max-width: 450px;
        text-align: center;
    }
    .team-member-bio-img-wrapper {
        width: 100%;
        height: 250px;
        border-radius: 12px 12px 0 0;
    }
    .team-member-bio-content {
        padding: 25px;
        width: auto;
    }
    .team-member-bio-content h3,
    .team-member-bio-title {
        text-align: center;
    }
    .team-member-bio-text {
        text-align: left;
        max-width: 100%;
    }
    .team-member-bio-card:nth-child(even) {
        flex-direction: column;
    }
    .team-member-bio-card:nth-child(even) .team-member-bio-img-wrapper {
        border-radius: 12px 12px 0 0;
    }

    .additional-members-section {
        padding: 60px 0;
    }
    .additional-members-section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .additional-members-photos {
        gap: 20px;
    }
    .member-photo-item {
        width: 140px; /* Further reduced for smaller screens (was 180px) */
        height: 140px; /* Further reduced for smaller screens (was 180px) */
    }
    .member-photo-item img {
        height: 140px; /* Further reduced for smaller screens (was 180px) */
    }
}

@media (max-width: 480px) {
    .core-team-bios-section h2 {
        font-size: 1.8em;
    }
    .team-member-bio-content {
        padding: 20px;
    }
    .team-member-bio-content h3 {
        font-size: 1.6em;
    }
    .team-member-bio-title {
        font-size: 1.1em;
    }
    .team-member-bio-text {
        font-size: 0.95em;
    }

    .additional-members-section h2 {
        font-size: 1.6em;
    }
    .additional-members-photos {
        flex-direction: column;
        align-items: center;
    }
    .member-photo-item {
        width: 200px;
        height: 200px;
    }
    .member-photo-item img {
        height: 200px;
    }
}
