/* Base Global Styles Configuration */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #444455;
    background-color: #fcfdfe;
}

/* Base Alignment Container Framework */
.ContentAreaWeb {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   SPLIT BACKGROUND HERO SECTION
   ========================================================================== */
.ngo-hero-section {
    width: 100%;
    position: relative;
    background-color: #0c3619;
    background-image: linear-gradient(to right, #05240e 55%, rgba(5, 36, 14, 0.25) 75%), 
                      url('/images/Ngo_background_group.jpg');
    background-size: cover;
    background-position: center right;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-overlay-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 2rem;
}

.hero-left-content {
    color: #ffffff;
}

.hero-left-content h1 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1.15rem;
    color: #7eed57; /* High visibility bright light-green tagline accent color */
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}
.Team-img{
    width:250px !important;
    height:250px !important;
}
.hero-description {
    font-size: 1.02rem;
    line-height: 1.65;
    opacity: 0.9;
    max-width: 650px;
    margin-bottom: 2rem;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #05240e;
    color: #ffffff;
    border: 1.5px solid #ffffff;
    text-decoration: none;
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s, transform 0.1s;
}

.hero-cta-btn:hover {
    background-color: #ffffff;
    color: #05240e;
}

.hero-circular-logo-box {
    width: 200px;
    height: 200px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-circular-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* ==========================================================================
   BREADCRUMBS DESIGN
   ========================================================================== */
.breadcrumb-container {
    background-color: #f6faf7;
    border-bottom: 1px solid #e3ebe7;
    padding: 0.8rem 0;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #666677;
}

.breadcrumb-content a {
    color: #666677;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.breadcrumb-content a:hover {
    color: #0b3b17;
}

.breadcrumb-separator {
    color: #bbb;
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: #444455;
    font-weight: 500;
}

/* ==========================================================================
   MAIN SECTIONS STRUCTURAL FORMATTING
   ========================================================================== */
.ngo-body-section {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

.section-container {
    margin-bottom: 3.5rem;
}

.section-main-heading {
    font-size: 1.6rem;
    color: #0b3b17;
    text-align: center;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-main-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #7ed957;
    border-radius: 2px;
}

/* ==========================================================================
   MISSION COMPONENT BAR
   ========================================================================== */
.mission-banner-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #eef4f0;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    margin-bottom: 3rem;
}

.mission-icon-box {
    width: 54px;
    height: 54px;
    background-color: #eaf5ee;
    color: #0b3b17;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mission-text-box h3 {
    font-size: 1.15rem;
    color: #0b3b17;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.mission-text-box p {
    font-size: 1.02rem;
    color: #555566;
}

/* ==========================================================================
   FOUR PILLARS STRUCTURAL GRID
   ========================================================================== */
.pillars-four-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

#MeetOurLeaders-div{
     grid-template-columns: repeat(3, 1fr);
}
.pillar-mini-card {
    background: #ffffff;
    border: 1px solid #eef4f1;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.01);
    
}

.pillar-icon {
    font-size: 1.75rem;
    color: #117833;
    margin-bottom: 0.75rem;
    display:flex;
    justify-content:center;
    align-items:center;
}

.pillar-mini-card h4 {
    font-size: 1.05rem;
    color: #0b3b17;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.pillar-mini-card p {
    font-size: 0.88rem;
    line-height: 1.45;
    color: #666677;
}

/* ==========================================================================
   PROGRAMS BLOCK ROW GRIDS WITH VISUAL WELLNESS HIGHLIGHT
   ========================================================================== */
.programs-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.program-feature-card {
    background-color: #ffffff;
    border: 1px solid #eef4f1;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.program-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(11, 59, 23, 0.06);
}

.program-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #f0f7f3;
    color: #117833;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.program-content-wrapper h3 {
    font-size: 1.2rem;
    color: #0b3b17;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.program-content-wrapper p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #666677;
}

/* Specialized High-Contrast Wellness Highlighting */
.program-feature-card.wellness-highlight {
    background-color: #fdf3f5; /* Soft Rose Background */
    border: 1px solid #f9d2dc;
    box-shadow: 0 4px 20px rgba(168, 50, 86, 0.04);
}

.program-feature-card.wellness-highlight:hover {
    box-shadow: 0 8px 25px rgba(168, 50, 86, 0.12);
}

.program-feature-card.wellness-highlight .program-icon-wrapper {
    background-color: #fbc6d3;
    color: #a83256; /* Strong magenta accent */
}

.program-feature-card.wellness-highlight .program-content-wrapper h3 {
    color: #7d1f3b;
}

.program-feature-card.wellness-highlight .program-content-wrapper p {
    color: #6e4e56;
}

/* ==========================================================================
   RECENT EVENTS COMPONENT LAYOUTS
   ========================================================================== */
.events-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.event-card-item {
    background-color: #ffffff;
    border: 1px solid #edf3ef;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.event-image-box {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background-color: #eaeaea;
}

.event-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card-item:hover .event-image-box img {
    transform: scale(1.03);
}

.event-details-box {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-details-box h3 {
    font-size: 1.25rem;
    color: #0b3b17;
    margin-bottom: 0.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.event-date-meta {
    font-size: 0.88rem;
    color: #777788;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.event-details-box p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #555566;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.event-link-btn {
    align-self: flex-start;
    color: #0b3b17;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.event-link-btn:hover {
    gap: 10px;
    color: #1a662c;
}

.global-center-footer-btn {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.view-all-events-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #0c471d;
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.96rem;
    box-shadow: 0 4px 12px rgba(5, 36, 14, 0.15);
}

.view-all-events-btn:hover {
    background-color: white;
    transform: scale(1.05);
    color: #0c471d !important;
    border: 1px solid #0c471d;
}

.view-all-events-btn:active {
    color: white !important;
    transform: scale(0.98);
}

/* ==========================================================================
   MEDIA QUERY BREAKPOINTS (RESPONSIVE CONFIGURATION)
   ========================================================================== */

@media (max-width: 992px) {
    .pillars-four-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .programs-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-left-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-overlay-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ngo-hero-section {
        background-image: linear-gradient(180deg, #05240e 75%, rgba(5, 36, 14, 0.9) 100%);
        padding: 3rem 0;
    }

    .hero-circular-logo-box {
        width: 160px;
        height: 160px;
        margin-top: 1rem;
    }

    .pillars-four-grid,
    .programs-grid-layout, 
    .events-grid-layout {
        grid-template-columns: 1fr;
    }

    .mission-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .event-image-box {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-left-content h1 {
        font-size: 1.8rem;
    }
    .section-main-heading {
        font-size: 1.4rem;
    }
}



/* ==========================================================================
   PARTNER WITH US EXTENDED PAGE STYLES
   ========================================================================== */
.partnership-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 1rem;
}

/* Left side form wrapper styling */
.partner-form-container {
    background-color: #ffffff;
    border: 1px solid #edf3ef;
    border-radius: 14px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.partner-form-container h2 {
    font-size: 1.5rem;
    color: #0b3b17;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.partner-form-container p {
    font-size: 0.95rem;
    color: #666677;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Form structural components */
.ngo-interactive-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-input-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333344;
}

.form-input-group input,
.form-input-group select,
.form-input-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #dcdce6;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #444455;
    background-color: #fbfbfc;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input-group input:focus,
.form-input-group select:focus,
.form-input-group textarea:focus {
    outline: none;
    border-color: #117833;
    box-shadow: 0 0 0 3px rgba(17, 120, 51, 0.1);
    background-color: #ffffff;
}

/* Submit Action Button */
.form-submit-btn {
    background-color: #0c471d;
    color: #ffffff;
    border: none;
    padding: 0.85rem 1.5rem;
    font-size: 0.96rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 0.5rem;
}

.form-submit-btn:hover {
    background-color: #05240e;
}

.form-submit-btn:active {
    transform: scale(0.98);
}

/* Right panel information cards architecture */
.partner-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-info-card {
    background: #ffffff;
    border: 1px solid #eef4f1;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.sidebar-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.sidebar-info-card h3 {
    font-size: 1.1rem;
    color: #0b3b17;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.sidebar-info-card p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #666677;
}

/* Contextual theme coloring matching core page specifications */
.color-green { color: #117833; }
.color-blue { color: #2b6cb0; }
.color-berry { color: #a83256; }

.sidebar-info-card.training-theme-card {
    background-color: #fdf3f5;
    border-color: #f9d2dc;
}
.sidebar-info-card.training-theme-card h3 {
    color: #7d1f3b;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS EXTENSION
   ========================================================================== */
@media (max-width: 992px) {
    .partnership-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    #MeetOurLeaders-div {
    grid-template-columns: repeat(1, 1fr);
}
}

@media (max-width: 576px) {
    .partner-form-container {
        padding: 1.5rem;
    }
    .form-row-split {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    #MeetOurLeaders-div {
    grid-template-columns: repeat(1, 1fr);
}
}
/* Safeguard fallback if elements fail to trigger visibility on small devices */
@media (max-width: 480px) {
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
    #MeetOurLeaders-div {
    grid-template-columns: repeat(1, 1fr);
}
}

/* Specialized rule for iPhone SE and small screens */
@media (max-width: 400px) {
    .ContentAreaWeb {
        padding: 0 1rem; /* Reduce container padding to save horizontal space */
    }

    .ngo-hero-section {
        padding: 2rem 0; /* Shrink excessive vertical hero padding */
    }

    .hero-left-content h1 {
        font-size: 1.6rem !important; /* Scale down heading text */
    }

    .hero-circular-logo-box {
        width: 130px; /* Scale down logo box from 200px */
        height: 130px;
    }
    
    .mission-banner-card {
        padding: 1rem; /* Reduce card inset spacing */

    }
    #MeetOurLeaders-div {
    grid-template-columns: repeat(1, 1fr);
}
}

.hero-overlay-container {
    display: grid;
    /* Uses minmax to prevent track structural blowing out */
    grid-template-rows: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-content: center;
    gap: 1.5rem; /* Slightly reduced gap for small displays */
}