:root {
    --primary-green: rgb(0,168,89);
    --secondary-orange: rgb(255,102,0);
    --text-dark: #333333;
    --bg-light: #f9f9f9;
    --light-bg: #f8f9fa;
    --nav-height: 80px;
    --transition-speed: 0.3s;
}

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

html, body {
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    overflow-x: hidden;
    position: relative;
    font-family: 'Merriweather', serif;
    background: var(--bg-light);
    color: var(--text-dark);
}

#forNavigation {
    width: 100%;
    position: relative;
}

/* Modern Glassy Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
    border-bottom: 1.5px solid rgba(0,0,0,0.04);
    border-radius: 0 0 18px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    transition: background 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s cubic-bezier(.4,0,.2,1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 2rem;
}
.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    background: #fff;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.logo-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 1px;
}
.logo-caption {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    opacity: 0.7;
    letter-spacing: 1px;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    position: relative;
}
nav ul {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
nav ul li {
    position: relative;
}
nav ul li a {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    background: transparent;
    transition: color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}
nav ul li a::before {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
nav ul li a:hover, nav ul li a:focus {
    color: var(--primary-green);
    background: rgba(0,168,89,0.07);
    box-shadow: 0 2px 12px 0 rgba(0,168,89,0.07);
    transform: translateY(-2px) scale(1.04);
}
nav ul li a:hover::before, nav ul li a:focus::before {
    transform: scaleX(1);
}
nav ul li a.donate {
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 12px 0 rgba(0,168,89,0.10);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}
nav ul li a.donate:hover, nav ul li a.donate:focus {
    background: linear-gradient(90deg, var(--secondary-orange), var(--primary-green));
    color: #fff;
    box-shadow: 0 4px 18px 0 rgba(255,102,0,0.13);
    transform: scale(1.06);
}

/* Dropdowns */
.dropdown {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%) scaleY(0.95);
    min-width: 220px;
    background: rgba(255,255,255,0.98);
    border-radius: 14px;
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
    padding: 0.7rem 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s cubic-bezier(.4,0,.2,1), transform 0.32s cubic-bezier(.4,0,.2,1), max-height 0.4s ease-out;
    z-index: 100;
    border: 1px solid rgba(0,168,89,0.07);
    max-height: 0;
    overflow: hidden;
}
nav ul li:hover .dropdown, nav ul li:focus-within .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scaleY(1);
    max-height: 500px;
}
.dropdown a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--text-dark);
    border-radius: 6px;
    background: transparent;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.25s, color 0.25s, padding 0.25s;
}
.dropdown a:hover, .dropdown a:focus {
    background: var(--primary-green);
    color: #fff;
    padding-left: 2.2rem;
}

/* Dropdown caret spacing and animation */
.dropdown-icon {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.5rem;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.dropdown-icon .fa-caret-down {
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
/* Desktop: rotate caret on hover */
@media (min-width: 901px) {
    nav ul li:hover > a .dropdown-icon .fa-caret-down,
    nav ul li:focus-within > a .dropdown-icon .fa-caret-down {
        transform: rotate(-180deg);
    }
}
/* Mobile: rotate caret when open and handle dropdown appearance */
@media (max-width: 900px) {
    .dropdown {
        background: #fff;
        color: #222;
        border-radius: 0 0 12px 12px;
        box-shadow: none;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.32s cubic-bezier(.4,0,.2,1), padding 0.32s cubic-bezier(.4,0,.2,1);
        border: none;
        padding: 0 0;
    }
    nav ul li.open .dropdown {
        display: flex;
        flex-direction: column;
        max-height: 500px;
        padding: 0.5rem 0 0.5rem 0;
        align-items: center;
    }
    .dropdown a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
        padding: 1rem 0;
        font-size: 1.1rem;
        color: #222 !important;
        background: #f8f9fa;
        margin: 0.2rem 0;
        border-radius: 0;
        text-align: center;
        font-weight: 500;
        transition: background 0.25s, color 0.25s, padding 0.25s;
        opacity: 1;
        visibility: visible;
    }
    .dropdown a:hover, .dropdown a:focus {
        background: var(--primary-green);
        color: #fff !important;
        padding-left: 0;
    }
    nav ul li.open > a .dropdown-icon .fa-caret-down {
        transform: rotate(-180deg);
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    }
    .dropdown-icon .fa-caret-down {
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    }
    .menu-toggle .fa-bars {
        display: block;
    }
    .menu-toggle .fa-times {
        display: block;
    }
    .menu-toggle .hidden {
        display: none !important;
    }
    .dropdown a {
        padding: 0.5rem 2rem;
        font-size: 0.95rem;
        background: rgba(0,0,0,0.03);
        margin: 0.2rem 1rem;
        border-radius: 8px;
    }
    .dropdown a:hover, .dropdown a:focus {
        background: var(--primary-green);
        color: #fff;
        padding-left: 2.5rem;
    }
}

/* Hamburger and mobile nav */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-green);
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
    border-radius: 50%;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.menu-toggle:focus, .menu-toggle:hover {
    background: rgba(0,168,89,0.08);
    color: var(--secondary-orange);
}
.menu-toggle .hidden { display: none; }

@media (max-width: 900px) {
    header {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        z-index: 1000;
        background: rgba(255,255,255,0.85);
        backdrop-filter: blur(12px);
        box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
        border-bottom: 1.5px solid rgba(0,0,0,0.04);
        border-radius: 0 0 18px 18px;
        padding: 0.5rem 0;
    }
    .logo {
        margin-right: 0.5rem;
        margin-left: 2.8rem; /* space for close button */
    }
    .menu-toggle {
        position: fixed;
        top: 1.2rem;
        left: 1.2rem;
        right: auto;
        margin-top: 0;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        border-radius: 50%;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        z-index: 3002;
        padding: 0;
        display: flex;
    }
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 80vw;
        max-width: 350px;
        height: 100vh;
        background: #fff;
        box-shadow: 2px 0 16px rgba(0,0,0,0.08);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(.4,0,.2,1);
        z-index: 3001;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0;
    }
    nav.active {
        transform: translateX(0);
    }
    .nav-backdrop {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.3);
        z-index: 3000;
        display: none;
    }
    .nav-backdrop.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        width: 100%;
        padding: 5.5rem 0.5rem 1rem 0.5rem;
        margin: 0;
    }
    nav ul li {
        width: 100%;
    }
    nav ul li a {
        width: 100%;
        border-radius: 8px;
        padding: 1rem 1.2rem;
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
        background: transparent;
        box-shadow: none;
        justify-content: space-between;
    }
    .dropdown {
        position: static;
        left: 0;
        top: auto;
        transform: none;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0 0 12px 12px;
        background: var(--light-bg);
        opacity: 1;
        pointer-events: auto;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.32s cubic-bezier(.4,0,.2,1), padding 0.32s cubic-bezier(.4,0,.2,1);
        border: none;
        padding: 0 0;
    }
    nav ul li.open .dropdown {
        display: flex;
        flex-direction: column;
        max-height: 500px;
        padding: 0.5rem 0 0.5rem 0;
    }
    .dropdown a {
        padding: 1rem 2rem;
        font-size: 1.05rem;
        border-radius: 0;
        background: #f8f9fa;
        color: #222;
        margin: 0.2rem 0;
        text-align: left;
        font-weight: 500;
        transition: background 0.25s, color 0.25s, padding 0.25s;
    }
    .dropdown a:hover, .dropdown a:focus {
        background: var(--primary-green);
        color: #fff;
        padding-left: 2.5rem;
    }
    body.nav-open {
        overflow: hidden;
    }
}

@media (max-width: 600px) {
    .logo-img {
        width: 36px;
        height: 36px;
    }
    .logo-text {
        font-size: 0.95rem;
    }
    .logo-caption {
        font-size: 0.8rem;
    }
}

/* Ensure all sections take full width */
section {
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

img.loaded {
    opacity: 1;
}

/* Ensure modals are properly centered */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 90%;
    max-width: 500px;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-backdrop.active .modal {
    transform: scale(1);
    opacity: 1;
}

.modal h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.modal h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-orange);
    border-radius: 2px;
}

.paybill-details {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.paybill-details strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.paybill-details span {
    display: block;
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.paybill-details small {
    display: block;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.paybill-details em {
    color: var(--secondary-orange);
    font-style: normal;
    font-weight: 600;
}

.donation-form {
    margin-top: 2rem;
}

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

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

.form-group select,
.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select:focus,
.form-group input:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 168, 89, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

.submit-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--secondary-orange);
    transform: rotate(90deg);
}

/* Mobile Responsive Styles */
@media (max-width: 480px) {
    .modal {
        padding: 1.5rem;
        width: 95%;
    }

    .modal h2 {
        font-size: 1.5rem;
    }

    .paybill-details {
        padding: 1rem;
    }

    .paybill-details strong {
        font-size: 1rem;
    }

    .paybill-details span {
        font-size: 1.1rem;
    }

    .close-modal {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* Carousel Styles */
.programs-carousel {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    background: var(--bg-light);
    overflow: hidden;
    margin-top: var(--nav-height);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 30px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(0,168,89,0.10);
    display: block;
    margin: 0 auto;
}

.carousel-slide img:hover {
    /* Remove transform or filter to prevent flicker */
    transform: none;
    filter: none;
}

.carousel-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 40px;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.carousel-slide.active .carousel-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.carousel-title, .carousel-description {
    background: rgba(0,0,0,0.75) !important;
    color: #fff !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    opacity: 1 !important;
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: #fff !important;
    background-clip: border-box !important;
}

/* Special centering for last carousel slide (Talent Development) */
.carousel-slide.talent-center .carousel-content {
    justify-content: center !important;
    align-items: center !important;
    padding-bottom: 0 !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.1;
    background: var(--primary-green) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 0.5rem 1.2rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    opacity: 1 !important;
}
.carousel-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-dark);
    background: rgba(255,255,255,0.92);
    border-radius: 10px;
    padding: 1.1rem 1.5rem;
    margin: 0 auto;
    max-width: 700px;
    box-shadow: 0 2px 12px 0 rgba(0,168,89,0.07);
    text-align: center;
    font-weight: 500;
    border-left: 5px solid var(--primary-green);
    border-right: 5px solid var(--secondary-orange);
    transition: background 0.6s, border-color 0.6s;
    background: rgba(0,0,0,0.75) !important;
    color: #fff !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    opacity: 1 !important;
}
@media (max-width: 768px) {
    .carousel-title {
        font-size: 1.3rem;
        padding: 0 0.5rem;
    }
    .carousel-description {
        font-size: 1rem;
        padding: 0.7rem 0.7rem;
        max-width: 98vw;
    }
    .carousel-content {
        padding-bottom: 16px;
    }
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 4px 16px 0 rgba(0,168,89,0.13);
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    z-index: 3;
    opacity: 0.96;
    padding: 0;
}
.carousel-button i {
    color: #fff;
    font-size: 2rem;
    pointer-events: none;
}
.carousel-button.prev {
    left: 5px;
}
.carousel-button.next {
    right: 5px;
}
.carousel-button:hover {
    /* Keep only color/box-shadow changes, no transform scale to avoid flicker */
    background: linear-gradient(135deg, var(--secondary-orange), var(--primary-green));
    box-shadow: 0 6px 24px 0 rgba(255,102,0,0.18);
}

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

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .programs-carousel {
        height: 60vh;
        min-height: 400px;
        margin-top: 70px;
    }

    .carousel-title {
        font-size: 2rem;
    }

    .carousel-description {
        font-size: 1rem;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .programs-carousel {
        margin-top: 4px !important;
        height: 65vh !important;
        min-height: 250px !important;
    }
    .carousel-slide img {
        height: 95vh !important;
        max-height: 80vw !important;
        object-fit: cover !important;
        margin-top: 0 !important;
    }
    .carousel-title {
        font-size: 0.9rem !important;
    }
    .carousel-description {
        font-size: 0.7rem !important;
    }
}

/* Ensure footer spans full width */
footer {
    width: 100%;
    position: relative;
    background: var(--text-dark);
    color: white;
    padding: 2rem 0;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .logo-text {
        font-size: 0.8rem;
    }
    
    .logo-caption {
        font-size: 0.7rem;
    }
    
    .modal {
        width: 95%;
        padding: 1rem;
    }
}

/* Additional Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Smooth transitions for all interactive elements */
a, button, input, select, textarea {
    transition: all var(--transition-speed) ease;
}

/* Hover effects for interactive elements */
button:hover, 
a:hover:not(.donate) {
    transform: translateY(-2px);
}

/* Theme colors for nav */
header, nav, .dropdown {
    background: white;
    color: var(--text-dark);
}
nav ul li a:hover, nav ul li.open > a {
    color: var(--primary-green);
}
nav ul li a.donate {
    background: var(--primary-green);
    color: white;
}
nav ul li a.donate:hover {
    background: var(--secondary-orange);
}

/* Our Story Section */
.our-story-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.story-header {
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story-header h2 {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

.story-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-orange);
    border-radius: 2px;
}

.story-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-green);
    border-radius: 50%;
    border: 3px solid var(--secondary-orange);
    box-shadow: 0 0 0 5px rgba(0,168,89,0.2);
    z-index: 1;
}

.timeline-line {
    width: 150px;
    height: 3px;
    background: var(--secondary-orange);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.story-timeline .year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-left: 1.5rem;
}

.story-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    text-align: left;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.story-text {
    flex: 1;
    min-width: 300px; /* Ensure text block doesn't get too small */
    max-width: 600px;
    padding: 1.5rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,168,89,0.05);
    position: relative;
    z-index: 1;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-illustration {
    flex: 0 0 auto; /* Don't grow or shrink */
    width: 280px; /* Fixed width for the illustration container */
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin: 2rem;
}

.illustration-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,168,89,0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 0 0 0px rgba(255,102,0,0.4); /* Initial state for pulse effect */
}

.illustration-container:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(255,102,0,0.0); /* Animation end state for pulse */
}

.story-logo {
    width: 70%;
    height: 70%;
    object-fit: contain;
    border-radius: 50%;
    border: 5px solid var(--primary-green);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), border-color 0.4s;
    animation: fancyLogoMove 8s infinite ease-in-out;
}

.illustration-container:hover .story-logo {
    transform: rotate(5deg) scale(1.02);
    border-color: var(--secondary-orange);
    animation-play-state: paused;
}

.illustration-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--secondary-orange);
    animation: rotate 15s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fancyLogoMove {
    0% { transform: scale(1) rotate(0deg); filter: brightness(100%); }
    25% { transform: scale(1.05) rotate(5deg); filter: brightness(110%); }
    50% { transform: scale(1) rotate(0deg); filter: brightness(100%); }
    75% { transform: scale(1.05) rotate(-5deg); filter: brightness(110%); }
    100% { transform: scale(1) rotate(0deg); filter: brightness(100%); }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .our-story-section {
        padding: 4rem 1rem;
    }

    .story-header h2 {
        font-size: 2.5rem;
    }

    .story-content {
        flex-direction: column; /* Stack columns on smaller screens */
        gap: 2.5rem;
    }

    .story-text {
        max-width: 90%; /* Adjust width for smaller screens */
        padding: 1rem;
    }

    .story-illustration {
        width: 200px;
        height: 200px;
        margin: 1rem;
    }

    .story-logo {
        width: 80%;
        height: 80%;
    }
}

@media (max-width: 600px) {
    .story-header h2 {
        font-size: 2rem;
    }

    .story-text p {
        font-size: 1rem;
    }
}

/* Vision & Mission Section */
.vision-mission {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
}

.vision-box, .mission-box {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s cubic-bezier(.4,0,.2,1);
    border: 1px solid rgba(0,168,89,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vision-box:hover, .mission-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}

.icon-container {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,168,89,0.2);
    transition: background 0.3s, transform 0.3s;
}

.icon-container i {
    font-size: 2.8rem;
    color: #fff;
}

.vision-box:hover .icon-container, .mission-box:hover .icon-container {
    background: var(--secondary-orange);
    transform: rotate(15deg);
}

.vision-box h3, .mission-box h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.vision-box p, .mission-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    opacity: 0.9;
}

/* Core Values Section */
.core-values {
    margin-top: 6rem;
    width: 100%;
    text-align: center;
}

.core-values h3 {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.core-values h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-orange);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
}

.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s cubic-bezier(.4,0,.2,1), border-color 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}

.value-card i {
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 1.2rem;
    transition: color 0.3s, transform 0.3s;
}

.value-card:hover i {
    color: var(--secondary-orange);
    transform: scale(1.1) rotate(-5deg);
}

.value-card h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Responsive adjustments for Vision, Mission, Values */
@media (max-width: 768px) {
    .vision-box, .mission-box {
        min-width: unset;
        max-width: 90%;
        padding: 2rem;
    }

    .vision-box h3, .mission-box h3 {
        font-size: 1.6rem;
    }

    .vision-box p, .mission-box p {
        font-size: 1rem;
    }

    .core-values h3 {
        font-size: 2.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .vision-mission {
        margin-top: 2.5rem;
    }
    .vision-box, .mission-box {
        padding: 1.5rem;
    }
    .vision-box h3, .mission-box h3 {
        font-size: 1.4rem;
    }
    .icon-container {
        width: 60px;
        height: 60px;
    }
    .icon-container i {
        font-size: 2rem;
    }
    .core-values h3 {
        font-size: 2rem;
    }
    .value-card h4 {
        font-size: 1.2rem;
    }
    .value-card i {
        font-size: 2.5rem;
    }
}

/* --- Modern Strategy & Approach Section --- */
.strategy-approach-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e6fff3 50%, #fff5e6 100%);
    padding: 6rem 1rem 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.strategy-approach-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.strategy-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.strategy-header h2 {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.strategy-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-orange);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.strategy-intro {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Strategic Framework */
.strategic-framework {
    margin: 0 auto 4rem auto;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.framework-header {
    text-align: center;
    margin-bottom: 3rem;
}

.framework-header h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.framework-header p {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.framework-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,168,89,0.08);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.framework-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.framework-card:hover::before {
    transform: scaleX(1);
}

.framework-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,168,89,0.15);
    border-color: rgba(0,168,89,0.1);
}

.framework-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.framework-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    border-radius: 50%;
}

.framework-icon i {
    font-size: 2.5rem;
    color: #fff;
    z-index: 1;
    position: relative;
}

.framework-content h4 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

.framework-description {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.framework-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-orange);
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.stat-number.animated::after {
    width: 100%;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dark);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.framework-card:hover .stat-label {
    opacity: 1;
}

.framework-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #e6fff3, #fff5e6);
    color: var(--primary-green);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0,168,89,0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: var(--primary-green);
    color: #fff;
    transform: translateY(-2px);
}

.framework-arrow {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--secondary-orange);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.framework-card:hover .framework-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}

/* Impact Visualization */
.impact-visualization {
    margin: 0 auto 4rem auto;
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.impact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.impact-header h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.impact-header p {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
}

.impact-timeline {
    position: relative;
    padding: 2rem 0;
}

.impact-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-green), var(--secondary-orange));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0,168,89,0.15);
    transition: all 0.3s ease;
}

.timeline-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0,168,89,0.25);
}

.timeline-icon i {
    font-size: 2rem;
    color: var(--primary-green);
}

.timeline-content {
    flex: 1;
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin: 0 2rem;
    box-shadow: 0 8px 32px rgba(0,168,89,0.08);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,168,89,0.15);
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.timeline-progress {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
    border-radius: 4px;
    width: 0%;
    transition: width 2s ease;
}

/* Success Metrics */
.success-metrics {
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.metrics-header {
    text-align: center;
    margin-bottom: 3rem;
}

.metrics-header h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.metrics-header p {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.metric-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,168,89,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,168,89,0.05), rgba(255,165,0,0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0,168,89,0.15);
}

.metric-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    position: relative;
    z-index: 1;
}

.metric-icon i {
    font-size: 2rem;
    color: #fff;
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,168,89,0.1);
}

.metric-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0,168,89,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: -1;
}

.metric-number.animated::before {
    width: 120px;
    height: 120px;
}

.metric-label {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.metric-description {
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 900px) {
    .strategy-header h2 {
        font-size: 2.5rem;
    }
    
    .framework-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .impact-timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-icon {
        width: 60px;
        height: 60px;
        margin-right: 1rem;
    }
    
    .timeline-icon i {
        font-size: 1.5rem;
    }
    
    .timeline-content {
        margin: 0 0 0 1rem;
        padding: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .strategy-approach-section {
        padding: 4rem 1rem 3rem 1rem;
    }
    
    .strategy-header h2 {
        font-size: 2rem;
    }
    
    .strategy-subtitle {
        font-size: 1.1rem;
    }
    
    .strategy-intro {
        font-size: 1rem;
    }
    
    .framework-card {
        padding: 1.5rem;
    }
    
    .framework-icon {
        width: 60px;
        height: 60px;
    }
    
    .framework-icon i {
        font-size: 2rem;
    }
    
    .framework-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .impact-timeline::before {
        left: 1.5rem;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
    }
    
    .timeline-icon i {
        font-size: 1.2rem;
    }
    
    .timeline-content {
        padding: 1.2rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .metric-card {
        padding: 2rem 1.5rem;
    }
    
    .metric-number {
        font-size: 2.5rem;
    }
}

/* --- Modern Partners Ticker --- */
.partners-ticker-modern {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #f8f9fa 60%, #e6fff3 100%);
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,168,89,0.07);
    margin: 2.5rem 0 0 0;
    padding: 1.2rem 0;
    position: relative;
}
.partners-ticker-track {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    animation: tickerMove 32s linear infinite;
    will-change: transform;
}
.partners-ticker-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    max-width: 180px;
    padding: 0.5rem 1.2rem;
    opacity: 0.95;
    transition: transform 0.3s, box-shadow 0.3s;
}
.partners-ticker-item img {
    max-height: 60px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.2) contrast(1.1) brightness(1.05);
    transition: filter 0.3s, transform 0.3s;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,168,89,0.04);
}
.partners-ticker-item:hover img {
    filter: grayscale(0) contrast(1.2) brightness(1.1);
    transform: scale(1.07) rotate(-2deg);
}
@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 900px) {
    .partners-ticker-track {
        gap: 2rem;
    }
    .partners-ticker-item {
        min-width: 80px;
        max-width: 120px;
        padding: 0.3rem 0.5rem;
    }
    .partners-ticker-item img {
        max-height: 36px;
        max-width: 90px;
    }
}
/* --- End Modern Partners Ticker --- */

/* --- Modern Footer --- */
.footer-container-modern {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.footer-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 2.5fr 1.8fr;
    gap: 2.5rem;
    background: var(--text-dark);
    color: #fff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 0 32px rgba(0,168,89,0.07);
    padding: 3rem 2rem 2rem 2rem;
    align-items: flex-start;
}
.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}
.footer-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,168,89,0.10);
    border: 2px solid var(--primary-green);
}
.footer-tagline {
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-top: 0.5rem;
}
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.footer-links-col h4 {
    color: var(--secondary-orange);
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links-col li {
    margin-bottom: 0.5rem;
}
.footer-links-col a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.92;
    transition: color 0.2s, opacity 0.2s;
}
.footer-links-col a:hover {
    color: var(--primary-green);
    opacity: 1;
}
.footer-news-contact {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}
.footer-newsletter h4,
.footer-contact h4 {
    color: var(--secondary-orange);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.footer-newsletter p {
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
    color: #e0e0e0;
}
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    outline: none;
    background: #fff;
    color: var(--text-dark);
}
.newsletter-form button {
    background: var(--primary-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.newsletter-form button:hover {
    background: var(--secondary-orange);
}
.footer-contact p {
    font-size: 0.98rem;
    margin-bottom: 0.3rem;
    color: #e0e0e0;
}
.footer-social-icons {
    display: flex;
    gap: 0.7rem;
    margin-top: 0.7rem;
}
.footer-social-icons a {
    color: #fff;
    background: var(--primary-green);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social-icons a:hover {
    background: var(--secondary-orange);
    color: #fff;
    transform: scale(1.12);
}
.footer-bottom {
    text-align: center;
    color: #fff;
    background: var(--primary-green);
    padding: 1.1rem 0 0.7rem 0;
    border-radius: 0 0 18px 18px;
    font-size: 1rem;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}
@media (max-width: 1100px) {
    .footer-main-grid {
        grid-template-columns: 1fr 2fr 1.5fr;
        gap: 1.2rem;
        padding: 2rem 0.5rem 1.5rem 0.5rem;
    }
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}
@media (max-width: 800px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem 0.5rem 1.5rem 0.5rem;
    }
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }
    .footer-news-contact {
        flex-direction: column;
        gap: 1.2rem;
    }
    .footer-logo-section {
        align-items: center;
        text-align: center;
    }
}
@media (max-width: 600px) {
    .footer-main-grid {
        padding: 1.2rem 0.2rem 1rem 0.2rem;
    }
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    .footer-logo {
        width: 48px;
        height: 48px;
    }
}
/* --- End Modern Footer --- */

/* --- Fancy Gradient Partners Section Title --- */
.partners-title-gradient {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange), #00b4d8 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 12px rgba(0,168,89,0.08);
    animation: partnersTitleGlow 3s infinite alternate;
}
@keyframes partnersTitleGlow {
    0% { text-shadow: 0 2px 12px rgba(0,168,89,0.08); }
    100% { text-shadow: 0 4px 24px rgba(255,102,0,0.18); }
}
.partners-subtitle-gradient {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--secondary-orange), var(--primary-green) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 2.2rem;
    letter-spacing: 0.7px;
    text-shadow: 0 1px 8px rgba(0,168,89,0.07);
}
/* --- End Fancy Gradient Partners Section Title --- */

/* --- Fixed Social Media Bar --- */
.fixed-social {
    position: fixed;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    background: none;
    pointer-events: none;
}
.fixed-social .social-icon {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,168,89,0.10);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.3rem;
    transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
    border: 2px solid transparent;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}
.fixed-social .social-icon:hover {
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
    color: #fff;
    transform: scale(1.13) translateX(8px) rotate(-6deg);
    box-shadow: 0 6px 24px rgba(0,168,89,0.18);
    border: 2px solid var(--secondary-orange);
}
.fixed-social .social-icon:active {
    transform: scale(0.97) translateX(4px);
}
.fixed-social .social-icon i {
    transition: transform 0.25s;
}
.fixed-social .social-icon:hover i {
    transform: rotate(8deg) scale(1.12);
}
@media (max-width: 900px) {
    .fixed-social {
        left: 0.3rem;
        gap: 0.7rem;
    }
    .fixed-social .social-icon {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }
}
@media (max-width: 600px) {
    .fixed-social {
        display: none;
    }
}
/* --- End Fixed Social Media Bar --- */

/* Modern Scroll to Top Button */
#scrollToTop {
    position: fixed;
    right: 2.5rem;
    bottom: 2.5rem;
    z-index: 1200;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
    color: #fff;
    border: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, box-shadow 0.3s, background 0.3s, transform 0.2s;
    cursor: pointer;
}
#scrollToTop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
#scrollToTop:hover {
    background: linear-gradient(135deg, var(--secondary-orange), var(--primary-green));
    box-shadow: 0 8px 32px rgba(0,168,89,0.18);
    transform: translateY(-4px) scale(1.08);
}
#scrollToTop:active {
    transform: scale(0.96);
}
@media (max-width: 600px) {
    #scrollToTop {
        right: 1rem;
        bottom: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Board & Team Section - Modern Grid Design */
.board-team-section {
    background: linear-gradient(135deg, #f8fafb 0%, #e8f5e8 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.board-team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300a859' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.board-team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.board-team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.board-team-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-green), #004d2a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.board-team-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.board-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.team-member-card {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,168,89,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,168,89,0.15);
}

.team-member-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #fff 0%, #f8fff8 100%);
    border: 2px solid var(--primary-green);
}

.team-member-card.featured .member-image-container {
    width: 240px;
    height: 240px;
}

.member-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.member-image {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.6s ease-in-out;
    animation: gentleScale 4s ease-in-out infinite;
}

@keyframes gentleScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.team-member-card:hover .member-image {
    transform: scale(1.1);
    animation-play-state: paused;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,168,89,0.8), rgba(255,102,0,0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-card:hover .member-overlay {
    opacity: 1;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.member-social a {
    background: rgba(255,255,255,0.9);
    color: var(--primary-green);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.member-social a:hover {
    background: var(--primary-green);
    color: #fff;
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    color: var(--secondary-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.member-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tag {
    background: linear-gradient(135deg, var(--primary-green), #004d2a);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.board-team-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,168,89,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-width: 150px;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0,168,89,0.15);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,168,89,0.1);
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.stat-number.animated::after {
    width: 100%;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.stat-item:hover .stat-label {
    opacity: 1;
    color: var(--primary-green);
}

/* --- Programs Modern Cards (Strategy Section) --- */
.programs-modern {
  margin: 3rem 0 2rem 0;
}
.programs-modern h3 {
  font-size: 1.7rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.programs-modern-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.programs-modern-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(0,168,89,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  flex: 1 1 260px;
  max-width: 340px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.programs-modern-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,168,89,0.13);
}
.programs-modern-icon {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 0.7rem;
}
.programs-modern-percentage {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--secondary-orange);
  margin-bottom: 0.5rem;
  margin-top: -0.5rem;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.programs-modern-card h4 {
  font-size: 1.25rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  margin-top: 0.2rem;
  text-align: center;
}
.programs-modern-card p {
  font-size: 1.02rem;
  color: #222;
  text-align: center;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .programs-modern-grid {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .programs-modern-card {
    max-width: 98vw;
    min-width: 0;
  }
}

/* Responsive Design for Board Team Section */
@media (max-width: 900px) {
    .board-team-title {
        font-size: 2.5rem;
    }
    
    .board-team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member-card.featured {
        grid-column: span 1;
    }
    
    .team-member-card.featured .member-image-container {
        width: 240px;
        height: 240px;
    }
    
    .board-team-stats {
        gap: 2rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .board-team-section {
        padding: 3rem 0;
    }

    .board-team-title {
        font-size: 2rem;
    }

    .board-team-subtitle {
        font-size: 1rem;
    }
    
    .member-info {
        padding: 1.5rem;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .board-team-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stat-item {
        padding: 1.5rem;
        min-width: 200px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

.team-member-card.featured .member-image {
    width: 192px;
    height: 192px;
}

.communities-served-design {
    margin: 2rem 0 2.5rem 0;
    padding: 1.2rem 1.5rem;
    background: #f8f9fa;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,168,89,0.07);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.communities-served-design h4 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.communities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.communities-list li {
    font-size: 1.08rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.communities-list li strong {
    color: var(--secondary-orange);
    font-weight: 700;
}
.communities-list .villages {
    color: #555;
    font-size: 0.98rem;
    margin-left: 0.3rem;
}

/* Modern Communities & Partners Section */
.modern-communities-partners {
  margin: 2.5rem auto 2.5rem auto;
  background: linear-gradient(90deg, #eafff3 0%, #f8f9fa 100%);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,168,89,0.07);
  padding: 2.2rem 1.5rem;
  max-width: 1100px;
}
.communities-partners-flex {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  align-items: stretch;
  justify-content: space-between;
}
.communities-list-block, .partners-breakdown-block {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.communities-list-block h4, .partners-breakdown-block h4 {
  color: var(--primary-green);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.communities-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.communities-list li {
  font-size: 1.08rem;
  color: #1a5d2b;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.communities-list .villages {
  color: var(--secondary-orange);
  font-size: 0.98rem;
  font-weight: 500;
}
.partners-breakdown-block {
  align-items: flex-start;
}
.partners-stats-row {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}
.partner-stat {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,168,89,0.07);
  padding: 1.1rem 1.2rem 0.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  max-width: 120px;
  flex: 1 1 90px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 2px solid transparent;
}
.partner-stat i {
  color: var(--secondary-orange);
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}
.partner-stat .stat-number {
  color: var(--primary-green);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.partner-stat .stat-label {
  color: #1a5d2b;
  font-size: 1.01rem;
  font-weight: 600;
}
.partner-stat:hover {
  box-shadow: 0 8px 32px rgba(255,102,0,0.13);
  border: 2px solid var(--secondary-orange);
  transform: translateY(-4px) scale(1.04);
}
@media (max-width: 900px) {
  .modern-communities-partners {
    padding: 1.2rem 0.5rem;
  }
  .communities-partners-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  .partners-stats-row {
    gap: 0.7rem;
  }
}
@media (max-width: 600px) {
  .modern-communities-partners {
    padding: 0.7rem 0.1rem;
  }
  .partners-stats-row {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }
  .partner-stat {
    min-width: 0;
    max-width: 100vw;
    width: 100%;
    padding: 0.7rem 0.5rem 0.7rem 0.5rem;
  }
}

@media (max-width: 600px) {
  .modern-communities-partners,
  .communities-served-design,
  .communities-list-block,
  .partners-breakdown-block {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .communities-list,
  .partners-stats-row {
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 600px) {
  .partner-stat .stat-label {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 600px) {
  .partners-title-gradient {
    font-size: 1.3rem !important;
  }
  .partners-subtitle-gradient {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column !important;
    gap: 0.5rem;
    align-items: stretch;
  }
  .footer-newsletter h3,
  .footer-newsletter p {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }
}