:root {
    --primary-color: #38761d;
    --secondary-color: #f1c232;
    --tertiary-color: #1a73e8;
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --background-light: #ffffff;
    --background-dark: #f0f2f5;
    --font-family-body: 'Inter', sans-serif;
    --font-family-header: 'Outfit', sans-serif;
    --contact-bg-light: #fefefe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: var(--font-family-header);
    font-weight: 700;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 0.5rem 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.9rem;
}

.top-bar-left {
    margin-right: auto;
    display: flex;
    gap: 20px;
}

.top-bar a {
    color: var(--text-light);
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

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

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-identity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 80px;
    width: auto;
    max-width: 150px;
}

.logo-text {
    font-family: var(--font-family-header);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    padding-top: 5px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    position: relative;
    /* Needed for dropdown positioning */
}

/* Dropdown Menu Styles */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 10px;
    top: 100%;
    left: 0;
    padding: 10px 0;
    flex-direction: column;
    /* Stack items vertically */
}

.dropdown:hover .dropdown-content {
    display: flex;
    /* Show on hover */
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content li a {
    color: var(--primary-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: 0;
    /* Reset border radius for list items */
}

.dropdown-content li a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 5px;
    /* Add slight radius on hover */
}

/* Arrow for dropdown parent */
.dropdown>a::after {
    content: " ▼";
    font-size: 0.8em;
    margin-left: 5px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    /* Green text */
    padding: 0.6rem 1.2rem;
    /* Increased padding for button look */
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 50px;
    /* Round (pill) shape */
}

nav ul li a:hover,
nav ul li a.active {
    background: var(--secondary-color);
    /* Yellow background */
    color: var(--primary-color);
    /* Green text */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    /* Soft shadow */
    backdrop-filter: blur(4px);
    /* Blur effect */
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    /* Subtle border */
    transform: translateY(-2px);
}

/* Slideshow */
.slideshow-container {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 2rem;
    z-index: 10;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slide-dot.active {
    background-color: var(--secondary-color);
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--text-light);
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 20;
    border: none;
}

.slide-arrow:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.slide-arrow.prev {
    left: 20px;
}

.slide-arrow.next {
    right: 20px;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    margin: 0.75rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
}

.primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

/* Section Styling */
.section {
    padding: 4rem 5%;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 1.5rem 5%;
    font-size: 0.9rem;
    border-top: 3px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: left;
}

.footer-copyright {
    margin-right: auto;
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-top: 0;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Global Image Responsiveness */
img {
    max-width: 100%;
    height: auto;
}

/* Menu Toggle (Hamburger) - Hidden on Desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }

    .top-bar-left {
        margin-right: 0;
        order: 2;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .main-header {
        flex-wrap: wrap;
        padding: 1rem 5%;
        position: relative;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 5%;
        top: 1.5rem;
    }

    nav {
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        margin-top: 0;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        padding: 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 1rem 1.5rem;
        color: var(--text-dark);
        border-radius: 0;
        margin: 0;
    }

    nav ul li a:hover,
    nav ul li a.active {
        background-color: var(--primary-color);
        color: #ffffff;
        box-shadow: none;
        transform: none;
        border: none;
        backdrop-filter: none;
    }

    /* Mobile Dropdown */
    .dropdown-content {
        position: static;
        display: block;
        /* Always visible on mobile */
        width: 100%;
        background-color: #f8f9fa;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        border-top: 1px solid #eee;
    }

    .dropdown-content li a {
        padding: 0.8rem 1rem 0.8rem 2.5rem;
        font-size: 0.95rem;
        color: #555;
    }

    .dropdown-content li a:hover {
        background-color: #e9ecef;
        color: var(--primary-color);
        border-radius: 0;
    }

    .dropdown>a::after {
        content: "";
        /* Remove arrow */
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slide-arrow {
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-copyright {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    .footer-links {
        justify-content: center;
        gap: 15px;
    }
}

/* --- About Page Styles --- */
/* Page Header Banner */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/house.jpg');
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 5%;
    text-align: center;
    color: var(--text-light);
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.breadcrumb {
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* About Info Blocks */
.about-info-block {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.about-info-block:last-child {
    border-bottom: none;
}

.about-info-block h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.about-info-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-info-block ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.about-info-block ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* MISSION & VISION CUSTOM LAYOUT */
.mv-wrap {
    width: 100vw;
    position: relative;
    height: 400px;
    margin-top: 3rem;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 2rem;
    pointer-events: none;
}

.mv-pill-left,
.mv-pill-right {
    flex: 0 1 35%;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: var(--text-dark);
    color: white;
    border-radius: 90px;
    pointer-events: auto;
    z-index: 30;
    text-align: center;
}

.mv-pill-left {
    margin-right: 0px;
    text-align: center;
    position: relative;
    left: 0;
    border-radius: 0 100px 100px 0;
    top: -100px;
    margin-bottom: 20px;
}

.mv-pill-right {
    margin-left: 0px;
    text-align: center;
    position: relative;
    right: calc(-50vw + 50% + 2rem);
    border-radius: 100px 0 0 100px;
    top: 100px;
}

.mv-badge {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 70%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    margin-bottom: 1.6rem;
    margin-top: 1.5rem;
}

.mv-badge i {
    font-size: 32px;
    color: #fff;
}

.mv-pill-content {
    color: #fff;
}

.mv-pill-content h4 {
    font-family: var(--font-family-header);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #fff;
    font-weight: 700;
}

.mv-pill-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.95;
}

.mv-center {
    position: relative;
    flex: 0 1 28%;
    width: 280px;
    height: 490px;
    border-radius: 150px;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 10px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    z-index: 60;
    background: white;
    pointer-events: auto;
}

.mv-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mv-center::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(241, 194, 50, 0.25) 0%, rgba(241, 194, 50, 0.08) 50%, transparent 100%);
    pointer-events: none;
}

@media (max-width: 1100px) {
    .mv-wrap {
        height: auto;
        flex-wrap: wrap;
    }

    .mv-pill-left,
    .mv-pill-right {
        flex: 0 1 45%;
        margin: 12px;
    }

    .mv-pill-left {
        margin-right: 12px;
    }

    .mv-pill-right {
        margin-left: 12px;
    }

    .mv-center {
        flex: 0 1 100%;
        width: 240px;
        height: 300px;
        border-radius: 50px;
        margin: 12px 0;
    }
}

@media (max-width: 860px) {
    .mv-wrap {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 20px;
    }

    .mv-pill-left,
    .mv-pill-right {
        flex: 1 1 100%;
        width: 100%;
        margin: 0;
        height: auto;
        padding: 2rem;
        border-radius: 24px;
    }

    .mv-center {
        flex: 1 1 100%;
        width: 100%;
        height: 300px;
        border-radius: 28px;
        margin: 0;
    }
}

.who-we-serve-list {
    list-style: disc;
    display: block;
    margin-top: 1rem;
    padding-left: 20px;
}

.who-we-serve-list li {
    margin-bottom: 8px;
    font-weight: 400;
}

/* CEO Profile */
.ceo-section {
    background-color: var(--background-dark);
    padding: 4rem 5%;
}

.ceo-profile {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    text-align: left;
}

.ceo-profile img {
    min-width: 200px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ceo-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.ceo-info .role {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.ceo-info p {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Divider */
.divider {
    border: 0;
    height: 1px;
    background-color: var(--secondary-color);
    margin: 3rem auto;
    max-width: 500px;
}

@media (max-width: 900px) {
    .ceo-profile {
        flex-direction: column;
        text-align: center;
    }

    .ceo-profile img {
        min-width: 180px;
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* --- Contact Page Styles --- */
/* Contact Header Banner */
.contact-header-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1600');
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 5%;
    text-align: left;
    color: var(--text-light);
}

.contact-header-banner h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Contact Content Box */
.contact-content-box {
    max-width: 1000px;
    margin: -60px auto 4rem;
    background-color: var(--contact-bg-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 3rem;
    position: relative;
    z-index: 10;
}

.contact-content-box>p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Contact Info Section */
.vnr-contact-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.contact-info-item i {
    color: var(--text-dark);
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.contact-info-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

/* Social Media Links (Contact Page) */
.vnr-social-media {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
    align-items: center;
}

.vnr-social-media p {
    font-weight: 600;
    margin-right: 10px;
    color: var(--text-dark);
}

.vnr-social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
}

.vnr-social-media a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* Contact Form Section */
.contact-form-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.contact-form-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Thank You Message Styles */
.thank-you-message {
    text-align: center;
    padding: 3rem;
    background-color: #f9fdf9;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    animation: fadeIn 0.5s ease-in-out;
}

.thank-you-message i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thank-you-message h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.thank-you-message p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Map Section */
.map-section {
    margin-top: 4rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

@media (max-width: 768px) {
    .contact-content-box {
        padding: 2rem;
        margin-top: -40px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}



/* Contact Form Section */
.contact-form-section {
    margin-top: 3rem;
}

.contact-form-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* Map Section */
.map-section {
    margin-top: 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

@media (max-width: 768px) {
    .contact-header-banner h1 {
        font-size: 2.5rem;
    }

    .contact-content-box {
        padding: 2rem 1.5rem;
        margin-top: -30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .vnr-social-media {
        flex-wrap: wrap;
    }
}

/* --- Leadership Page Styles --- */
.leadership-section {
    padding: 5rem 5%;
    background-color: var(--background-light);
    text-align: center;
}

.leadership-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.leadership-header h1 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.leadership-header p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-member-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Color Backgrounds for Images */
.bg-yellow {
    background: linear-gradient(135deg, #f1c232, #d4a929);
}

.bg-green {
    background: linear-gradient(135deg, #38761d, #2e5c15);
}

.bg-cyan {
    background: linear-gradient(135deg, #00d4aa, #00b894);
}

.bg-blue {
    background: linear-gradient(135deg, #1a73e8, #1557b0);
}

.bg-coral {
    background: linear-gradient(135deg, #ff9a76, #ff7e5f);
}

.bg-orange {
    background: linear-gradient(135deg, #ff9a44, #fc6c44);
}

.team-member-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-member-info .role {
    font-size: 0.95rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .leadership-header h1 {
        font-size: 2.2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member-image img {
        height: 350px;
    }
}

/* --- Partnership Page Styles --- */
/* Interactive Card Grid */
.interactive-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.interactive-card {
    background-color: var(--background-light);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.interactive-card:hover {
    background-color: var(--primary-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.interactive-card i {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.interactive-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s;
}

.interactive-card p {
    font-size: 0.95rem;
    color: #666;
    transition: color 0.3s;
    text-align: left;
    margin: 0;
}

.interactive-card:hover h3,
.interactive-card:hover i,
.interactive-card:hover p {
    color: var(--text-light);
}

/* Accordion Section */
.accordion-section {
    background-color: var(--background-dark);
    padding: 4rem 5%;
}

.accordion-container {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--background-light);
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 1.2rem 1.5rem;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-family-body);
}

.accordion-header:hover {
    background-color: #f7f7f7;
}

.accordion-header.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: #fcfcfc;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-content.active {
    max-height: 500px;
    padding: 1.5rem;
    border-top: 2px solid var(--secondary-color);
}

.accordion-content p {
    text-align: left;
    margin: 0;
    line-height: 1.8;
    font-size: 1.05rem;
}

.accordion-content strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #2e5c15);
    color: var(--text-light);
    padding: 4rem 5%;
    text-align: center;
}

.cta-section h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .interactive-card-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

/* --- Programs Page Styles --- */
/* Program Cards */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.program-card-header {
    background: linear-gradient(135deg, var(--primary-color), #2e5c15);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
}

.program-card-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.program-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.program-card-body {
    padding: 2rem;
}

.program-card-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.program-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.program-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.program-cta {
    text-align: center;
    margin-top: 1.5rem;
}

.program-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.program-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Stats Section */
.stats-section {
    background: #1a1a1a;
    /* Soft black */
    color: var(--text-light);
    padding: 4rem 5%;
    text-align: center;
}

.stats-section h2 {
    color: var(--text-light);
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-family-header);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* --- Work Page Styles --- */
/* Impact Stats Section */
.impact-stats {
    background: #1a1a1a;
    /* Soft black */
    color: var(--text-light);
    padding: 4rem 5%;
    text-align: center;
}

.impact-stats h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.impact-stats-intro {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.95;
}

.impact-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-card .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-family-header);
}

.stat-card .stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 5%;
    background-color: var(--background-light);
}

.gallery-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #000;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover img {
    opacity: 0.85;
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem;
    color: var(--text-light);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Video Section */
.video-section {
    padding: 5rem 5%;
    background-color: var(--background-dark);
}

.video-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.video-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 5%;
    background-color: var(--background-light);
}

.testimonials-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 300px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Leadership Page Styles --- */
.leadership-section {
    padding: 5rem 5%;
    background-color: var(--background-light);
    /* Reverted to light background */
}

.leadership-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.leadership-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    /* Reverted to primary color */
    margin-bottom: 1rem;
}

.leadership-header p {
    font-size: 1.1rem;
    color: #666;
    /* Reverted to gray */
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: var(--secondary-color);
    /* Yellow background for cards */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 2rem;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-member-image {
    width: 100%;
    height: 350px;
    /* Fixed height for consistency */
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
    /* Fallback color */
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image covers the area without distortion */
    object-position: top center;
    /* Focus on faces usually at the top */
    transition: transform 0.5s ease;
}

.team-member:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-info {
    padding: 1.5rem 1.5rem 0;
}

.team-member-info h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    /* Dark text for contrast on yellow */
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-member-info .role {
    color: var(--primary-color);
    /* Green text for role */
    font-weight: 700;
    /* Made bolder for better readability */
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Optional: Social links for team members if you add them later */
.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
}

.team-social a {
    color: #444;
    /* Darker social icons for contrast */
    transition: color 0.3s;
}

.team-social a:hover {
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .leadership-header h1 {
        font-size: 2.5rem;
    }

    .team-grid {
        gap: 2rem;
    }

    .team-member-image {
        height: 300px;
    }
}