/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    z-index: 10;
    animation: fadeInText 1.5s ease-in-out;
}

.hero-text h1 {
    font-size: 3rem;
    margin: 0;
}

.hero-text h1 span {
    color: #ffcc00;
    font-weight: bold;
}

.hero-text p {
    font-size: 1.5rem;
    margin-top: 10px;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 50%;
    z-index: 100;
    transition: background 0.3s ease;
}

.prev:hover, .next:hover {
    background: #ffcc00;
    color: #000;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Section Styles */
section {
    padding: 50px 20px;
    text-align: center;
}

.mission, .education, .research, .events, .membership {
    background-color: #f7f7f7;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

section h2 {
    font-size: 2.5rem;
    color: #9e3b1f; /* Primary color */
}

section p {
    font-size: 1.2rem;
    margin: 10px 0 20px;
}

.btn {
    padding: 15px 25px;
    background-color: #c65a3d; /* Secondary color */
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #ffcc00;
    color: #000;
}


/* Hero Section CTA Button */
.cta-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #ffcc00; /* Bright yellow for visibility */
    color: #000; /* Contrasting text color */
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background-color: #ffc107; /* Slightly darker yellow for hover */
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3);
}



/* General Section Styling */
section {
    padding: 60px 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}



/* Education Section */
.education {
    background: linear-gradient(135deg, #004d40, #9e3b1f);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.education h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #ffcc00; /* Vibrant yellow for the heading */
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.education .section-description {
    font-size: 1.2rem;
    color: #fcd9b0; /* Soft peach for the description */
    margin-bottom: 40px;
}

/* Education Cards */
.education-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.education-card {
    background: #fff;
    color: #004d40;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.education-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #9e3b1f; /* Primary color for headings */
    text-transform: uppercase;
}

.education-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Learn More Button */
.education .btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background-color: #ffcc00; /* Vibrant yellow */
    color: #004d40; /* Complementary green for text */
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.education .btn:hover {
    background-color: #9e3b1f; /* Primary color */
    color: #fff;
    transform: scale(1.05);
}


/* Executives Section */
.executives {
    background: linear-gradient(135deg, #004d40, #9e3b1f); /* Green and primary color */
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.executives h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #ffcc00; /* Vibrant yellow */
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.executives .section-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #fcd9b0; /* Soft peach */
}

/* Executive Cards */
.executive-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.executive-card {
    background: #fff;
    color: #004d40; /* Green for text */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.executive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.executive-card .image-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.executive-card img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the entire image is visible */
    background-color: #fff; /* Adds a background to fill the extra space around the image */
}

.executive-card h3 {
    font-size: 1.5rem;
    color: #9e3b1f; /* Primary color for names */
    margin-bottom: 10px;
    text-transform: uppercase;
}

.executive-card p {
    font-size: 1rem;
    color: #555;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .executive-cards {
        grid-template-columns: 1fr;
    }
}


/* About Us Section */
.about-us {
    position: relative;
    background: linear-gradient(to right, rgba(158, 59, 31, 0.8), rgba(198, 90, 61, 0.8)), url('images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

/* About Text */
.about-text {
    flex: 1;
    max-width: 600px;
    animation: fadeInLeft 1.5s ease-in-out;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #ffcc00; /* Vibrant yellow */
    letter-spacing: 2px;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #fcd9b0; /* Light peach */
}

.about-text .btn {
    padding: 12px 25px;
    background-color: #ffcc00;
    color: #000;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.about-text .btn:hover {
    background-color: #9e3b1f;
    color: #fff;
    transform: scale(1.05);
}

/* About Image */
.about-image {
    flex: 1;
    max-width: 500px;
    animation: fadeInRight 1.5s ease-in-out;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Event Cards Styling */
.event-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.event-card h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #9e3b1f;
}

.event-card p {
    font-size: 1rem;
    color: #555;
}

.event-card .event-date, .event-card .event-location {
    font-weight: bold;
    color: #004d40;
}

/* Grid Adjustments for Images */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.event-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
