/* ==========================================================================
   General Styles
   ========================================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: Arial, sans-serif; 
    overflow-x: hidden; 
    color: #333; 
    line-height: 1.6;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px; 
}

img {
    max-width: 100%;
    height: auto;
}

p {text-align: justify !important;}

/* ==========================================================================
   Sub Header
   ========================================================================== */
.sub-header { 
    background: #0b163f; /* Updated to Dark Blue */
    border-bottom: none; /* Removed border */
    padding: 10px 0; 
    font-size: 13px; 
}

.sub-header-wrapper { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 10px;
}

.sh-item { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    color: #fff; /* Text changed to white for dark bg */
}

.sh-item i { 
    color: #e31e24; /* Red icons remain */
}

.sh-social a { 
    color: #fff; /* Icons changed to white */
    margin-left: 12px; 
    font-size: 15px; 
    transition: 0.3s;
}

.sh-social a:hover {
    color: #e31e24; /* Hover state remains red */
}

/* ==========================================================================
   Main Header & Navigation
   ========================================================================== */
.main-header { 
    background: #fff; 
    padding: 10px 0; 
    position: sticky; 
    top: 0; 
    z-index: 998; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}

.header-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo img { 
    height: 65px; 
    display: block;
}

.nav-menu ul { 
    display: flex; 
    list-style: none; 
    gap: 20px; 
}

.nav-menu a { 
    color: #0b163f; 
    font-weight: bold; 
    text-transform: uppercase; 
    font-size: 13px; 
    text-decoration: none; 
    transition: 0.3s;
}

.nav-menu a:hover, 
.nav-menu a.active { 
    color: #e31e24; 
}

.btn-donate { 
    background: #e31e24; 
    color: #fff !important; 
    padding: 10px 20px; 
    border-radius: 4px; 
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn-donate:hover {
    background: #0b163f;
}

/* Menu Toggle Hidden on Desktop */
.menu-toggle, 
.menu-close, 
.mobile-only-btn { 
    display: none; 
}

/* ==========================================================================
   Hero Slider - Letterboxed with Max Height
   ========================================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 315px; 
    background: #000; /* Black is better than blue for letterboxing */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide {
    position: absolute;
    width: 33.33%; 
    height: 100%;
    /* Changed to 2s for a very smooth, professional drift */
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1); 
    opacity: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center; /* Ensures no top/bottom gaps if image is smaller */
}

/* Desktop 3-Image Layout */
@media (min-width: 769px) {
    .slide.active {
        opacity: 1;
        left: 33.33%; 
        z-index: 3;
        transform: scale(1); /* Center image is full size */
    }
    .slide.prev {
        opacity: 0.4; 
        left: 0;
        z-index: 2;
        transform: scale(0.9); /* Side images slightly smaller for depth */
    }
    .slide.next {
        opacity: 0.4; 
        left: 66.66%;
        z-index: 2;
        transform: scale(0.9);
    }
}

/* Mobile: Single Image View */
@media (max-width: 768px) {
    .hero-slider { height: 207px; }
    .slide { width: 100% !important; left: 0 !important; }
    .slide.active { opacity: 1; z-index: 3; }
    .slide.prev, .slide.next { opacity: 0; visibility: hidden; }
}

.slide img {
    width: 100%;
    height: 100%;
    /* Change this to 'cover' ONLY if you want to remove ALL gaps, 
       but 'contain' is safer for text-heavy banners. 
       Let's stick to contain with a black background. */
    object-fit: contain; 
    display: block;
}

/* ==========================================================================
   Home Sections
   ========================================================================== */
.about-section { 
    padding: 80px 0; 
}

.impact-stats-section {padding: 80px 0;}

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: center; 
}

.about-content h2 { 
    font-size: 32px; 
    color: #0b163f; 
    margin-bottom: 20px; 
    text-transform: uppercase;
}

.about-content h2 span { 
    color: #e31e24; 
}

.about-content p {
    margin-bottom: 20px;
    color: #555;
	text-align: justify !important;
}

.about-image img { 
    width: 100%; 
    border-radius: 8px; 
    box-shadow: 15px 15px 0px #f0f0f0;
}

.btn-primary { 
    display: inline-block; 
    background: #0b163f; 
    color: #fff; 
    padding: 12px 25px; 
    text-decoration: none; 
    margin-top: 15px; 
    border-radius: 4px; 
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #e31e24;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { 
    background: #0b163f; /* Dark Blue from your image */
    color: #fff; 
    padding: 60px 0 0; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 0.8fr 1.2fr 1.2fr; 
    gap: 30px; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding-bottom: 40px; 
}

.footer-logo { 
    height: 60px; 
    /* Removed filter invert so the logo displays exactly as uploaded */
    margin-bottom: 15px; 
    background: #fff; /* Added white background to logo block if it's not transparent */
    padding: 5px;
    border-radius: 5px;
}

.footer-col h4 { 
    margin-bottom: 25px; 
    font-size: 18px; 
    border-left: 3px solid #e31e24; 
    padding-left: 10px; 
    text-transform: uppercase;
    color: #fff; /* Ensure headers are white */
}

.footer-links { 
    list-style: none; 
}

.footer-links li { 
    margin-bottom: 12px; 
}

.footer-links a { 
    color: #ccc; 
    text-decoration: none; 
    font-size: 14px; 
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-col p { 
    font-size: 14px; 
    color: #ccc; 
    line-height: 1.8; 
    margin-bottom: 15px; 
}

.footer-col strong {
    color: #fff;
}

.know-more {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.footer-bottom { 
    background: #08102b; /* Slightly darker shade for the very bottom */
    padding: 20px 0; 
    font-size: 13px; 
    color: #ccc; 
}

.fb-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.footer-social span { 
    margin-right: 10px; 
    color: #fff;
}

.footer-social a { 
    color: #fff; 
    margin-left: 15px; 
    font-size: 16px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #e31e24;
}

/* ==========================================================================
   Responsive Side-Slide Menu Logic
   ========================================================================== */
.menu-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.6); 
    visibility: hidden; 
    opacity: 0; 
    transition: 0.3s; 
}

.menu-overlay.active { 
    visibility: visible; 
    opacity: 1; 
}

@media (max-width: 991px) {
    .hide-mobile { display: none; }
    
    .menu-toggle { 
        display: block; 
        font-size: 26px; 
        color: #0b163f;
        cursor: pointer; 
    }

    .nav-menu {
        position: fixed; 
        top: 0; 
        right: -300px; 
        width: 300px; 
        height: 100%;
        background: #fff; 
        z-index: 1001; 
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
        padding: 80px 0 30px;
        display: flex;
        flex-direction: column;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-menu.active { 
        right: 0; 
    }

    .nav-menu ul { 
        flex-direction: column; 
        gap: 0; 
        width: 100%;
    }

    .nav-menu ul li { 
        border-bottom: 1px solid #f5f5f5; 
        width: 100%;
    }

    .nav-menu a { 
        display: block; 
        padding: 15px 25px; 
        font-size: 14px; 
        width: 100%;
        text-align: left;
    }

    .menu-close { 
        display: block; 
        position: absolute; 
        top: 25px; 
        right: 25px; 
        font-size: 24px; 
        color: #333; 
        cursor: pointer;
    }

    .mobile-only-btn { 
        display: block; 
        padding: 25px; 
        border-bottom: none !important; 
    }

    .btn-donate-mobile {
        background: #e31e24;
        color: #fff !important;
        text-align: center !important;
        display: block !important;
        width: 100%;
        padding: 15px !important;
        border-radius: 5px;
        font-weight: bold;
        text-decoration: none;
        letter-spacing: 1px;
    }

    .about-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    
    .about-image {
        order: -1; 
    }

    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
    }
}

@media (max-width: 600px) {
    .sub-header-wrapper {
        justify-content: center;
        text-align: center;
    }

    .footer-grid { 
        grid-template-columns: 1fr; 
    }

    .fb-flex { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center; 
    }

    .sh-item { 
        font-size: 11px; 
    }

    .about-content h2 {
        font-size: 26px;
    }
}

/* ==========================================================================
   About ATSWA Trust Section (Two Column Layout)
   ========================================================================== */
.about-section { 
    padding: 80px 0; 
}

/* Flex row acting like Bootstrap row */
.row-50 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

/* Flex columns acting like col-md-6 */
.col-50 {
    flex: 1 1 calc(50% - 20px); /* 50% width minus half the gap */
}

.content-left h2 { 
    font-size: 32px; 
    color: #0b163f; 
    margin-bottom: 10px; 
    text-transform: uppercase;
}

.content-left h2 span { 
    color: #e31e24; 
}

.tagline {
    font-size: 18px;
    color: #e31e24;
    margin-bottom: 20px;
}

.content-left p {
    color: #555;
    margin-bottom: 25px;
	
}

.about-features {
    list-style: none;
}

.about-features li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features li i {
    color: #e31e24;
}

.image-right img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* Mobile Stacking (like changing from col-md-6 to col-12) */
@media (max-width: 991px) {
    .row-50 {
        flex-direction: column;
        text-align: center;
    }
    .col-50 {
        flex: 1 1 100%;
        width: 100%;
    }
    .about-features li {
        justify-content: center;
    }
    .image-right {
        order: -1; /* Moves image above text on mobile */
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   Impact Section & Data Tables
   ========================================================================== */
.impact-section {
    padding: 80px 0;
    background-color: #f4f6f9; /* Subtle off-white/gray background to separate from white sections */
}

.impact-header {
    text-align: center;
    margin-bottom: 50px;
}

.impact-header h2 {
    font-size: 32px;
    color: #0b163f;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.impact-header h2 span {
    color: #e31e24;
}

.impact-lead {
    font-size: 22px;
    color: #e31e24;
    font-weight: bold;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Modifies the flex layout so tables don't stretch unevenly vertically */
.align-items-start {
    align-items: flex-start !important;
}

/* Admin/Dashboard Style Table Wrappers */
.table-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.table-title {
    color: #0b163f;
    font-size: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #e31e24;
    padding-left: 10px;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.custom-table th, 
.custom-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #eee;
}

.custom-table th {
    background-color: #0b163f;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    text-transform: uppercase;
}

.custom-table tbody tr {
    transition: background-color 0.2s ease;
}

.custom-table tbody tr:hover {
    background-color: #f8f9fa; /* Subtle row hover effect */
}

.custom-table tbody td {
    color: #444;
    font-size: 15px;
}

.custom-table tbody tr:last-child td {
    border-bottom: none;
}

/* Mobile Adjustments for Impact Section */
@media (max-width: 991px) {
    .impact-lead {
        font-size: 18px;
    }
    .table-wrapper {
        padding: 20px;
        margin-bottom: 20px; /* Space between stacked tables */
    }
    .custom-table th, 
    .custom-table td {
        padding: 12px 10px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Partners / Logo Slider Section
   ========================================================================== */
.partners-section { 
    padding: 60px 0; 
    background-color: #fff; 
    border-top: 1px solid #eee;
    overflow: hidden; /* Prevents horizontal scrollbar on the page */
}

.section-title-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-center h2 {
    font-size: 32px;
    color: #0b163f;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title-center h2 span {
    color: #e31e24;
}

.title-divider {
    width: 60px;
    height: 4px;
    background-color: #e31e24;
    margin: 0 auto;
    border-radius: 2px;
}

/* Slider Container */
.logo-slider { 
    width: 100%;
    overflow: hidden; 
    position: relative;
    /* Optional: Adds a subtle fade on the left/right edges */
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

/* Track logic: 9 logos + 9 duplicates = 18 logos. 
   Assuming 200px width + 40px gap = 240px per item.
*/
.logo-track { 
    display: flex; 
    gap: 40px; 
    width: calc(240px * 18); 
    /* Animation: 40s duration, linear speed, infinite loop */
    animation: scrollLeftToRight 40s linear infinite; 
}

/* Professional touch: Grayscale normally, color on hover */
.logo-track img { 
    width: 200px;
    height: 100px;
    object-fit: contain; /* Ensures logos aren't stretched */
    transition: all 0.3s ease; 
    cursor: pointer;
}

.logo-track img:hover { 
    filter: grayscale(0%); 
    opacity: 1; 
}

/* Keyframes for LEFT to RIGHT scrolling.
   It starts shifted to the left (showing the second set of 9),
   and moves to 0 (showing the first set of 9).
*/
@keyframes scrollLeftToRight { 
    0% { transform: translateX(calc(-240px * 9)); } 
    100% { transform: translateX(0); } 
}

/* Pause animation when user hovers over the logos */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

/* ==========================================================================
   Donate Promo Section (Col-8 / Col-4 Layout) - Updated Colors
   ========================================================================== */
.donate-promo-section {
    padding: 70px 0;
    background-color: #f4f6f9; /* Changed to a soft off-white/gray */
    color: #333; /* Dark text for readability */
    border-top: 1px solid #eaeaea; /* Subtle border to separate from partners */
}

.donate-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

/* Col-8 Equivalent (approx 66.66%) */
.donate-content-col {
    flex: 0 0 calc(66.666% - 20px);
    max-width: calc(66.666% - 20px);
}

/* Col-4 Equivalent (approx 33.33%) */
.donate-qr-col {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    display: flex;
    justify-content: center;
}

.donate-content-col h2 {
    font-size: 36px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #0b163f; /* Dark Blue */
}

.donate-content-col h2 span {
    color: #e31e24; /* Red accent */
}

.donate-lead {
    font-size: 20px;
    color: #555;
    margin-bottom: 20px;
    font-weight: bold;
}

.donate-content-col p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.tax-benefit {
    background: #fff;
    padding: 15px 20px;
    border-left: 4px solid #e31e24;
    border-radius: 4px;
    font-size: 15px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Added slight shadow so it pops off the light background */
}

.tax-benefit i {
    color: #e31e24;
    margin-right: 8px;
    font-size: 18px;
}

/* QR Code Box Styling */
.qr-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Softened the shadow for the light background */
    color: #333;
    width: 100%;
    max-width: 280px;
}

.qr-box h4 {
    color: #0b163f;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.qr-box img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border: 2px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
}

.qr-box p {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-weight: bold;
}

/* Mobile Stacking (Changes to Col-12 for both) */
@media (max-width: 991px) {
    .donate-row {
        flex-direction: column;
        text-align: center;
    }
    .donate-content-col,
    .donate-qr-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .tax-benefit {
        text-align: left;
    }
}

/* ==========================================================================
   Inner Page Global Styles
   ========================================================================== */
.page-banner {
    background-color: #0b163f;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 22, 63, 0.8); /* Dark blue overlay */
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-banner h1 span {
    color: #e31e24;
}

.page-section {
    padding: 60px 0;
}

.bg-light {
    background-color: #f9f9f9;
}

.mt-20 {
    margin-top: 20px !important;
}

/* ==========================================================================
   About Page Specific Layouts
   ========================================================================== */

/* Highlight Box */
.about-highlight-box {
    background: #f4f6f9;
    padding: 40px;
    border-radius: 8px;
    border-top: 4px solid #e31e24;
}

.about-highlight-box h3 {
    color: #0b163f;
    font-size: 22px;
    margin-bottom: 15px;
}

/* Vision & Mission Cards */
.vm-section {
    padding: 20px 0 60px;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-card {
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.vm-card.vision {
    background: linear-gradient(135deg, #0b163f 0%, #1a2a6c 100%);
}

.vm-card.mission {
    background: linear-gradient(135deg, #a11418 0%, #e31e24 100%);
}

.vm-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

.vm-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vm-card p {
    font-size: 18px;
    line-height: 1.6;
}

/* Approach Grid Model */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.approach-card {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-bottom: 3px solid #e31e24;
}

.approach-card i {
    font-size: 36px;
    color: #0b163f;
    margin-bottom: 15px;
}

.approach-card h4 {
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

/* Align Center for Founders row */
.align-items-center {
    align-items: center !important;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-banner {
        padding: 50px 0;
    }
}

@media (max-width: 600px) {
    .approach-grid {
        grid-template-columns: 1fr;
    }
    .about-highlight-box {
        padding: 20px;
    }
}

/* ==========================================================================
   Programs Page Specific Layouts
   ========================================================================== */
.mt-40 {
    margin-top: 40px !important;
}

.programs-grid {
    display: grid;
    /* 3 columns on desktop */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.program-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid #e31e24;
}

.program-info {
    padding: 25px;
    flex-grow: 1; /* Pushes the button to the bottom if text length varies */
    display: flex;
    flex-direction: column;
}

.program-info h3 {
    font-size: 20px;
    color: #0b163f;
    margin-bottom: 12px;
    line-height: 1.3;
}

.program-info p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e31e24;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.3s;
}

.read-more:hover {
    color: #0b163f;
    gap: 12px; /* Slight arrow animation on hover */
}

/* Responsive Grid Adjustments */
@media (max-width: 991px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 600px) {
    .programs-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

/* ==========================================================================
   Program Details Page Layout
   ========================================================================== */
.mb-30 {
    margin-bottom: 30px !important;
}

/* 2-Column Grid: Main Content (70%) and Sidebar (30%) */
.details-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.details-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.details-main-content h2 {
    font-size: 32px;
    color: #0b163f;
    margin-bottom: 10px;
}

/* Formatted Text Block (for dynamic HTML content) */
.formatted-text {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

.formatted-text p {
    margin-bottom: 20px;
}

.formatted-text h4 {
    color: #0b163f;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.formatted-text em {
    color: #e31e24;
    font-style: italic;
    font-size: 14px;
    display: block;
    margin-top: -10px;
    margin-bottom: 15px;
}

.content-list {
    list-style: none;
    margin-bottom: 25px;
    background: #fdfdfd;
    padding: 20px;
    border-left: 4px solid #0b163f;
    border-radius: 0 8px 8px 0;
}

.content-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-list li:last-child {
    margin-bottom: 0;
}

.content-list li i {
    color: #e31e24;
}

/* Sidebar Styling */
.sidebar-widget {
    background: #f9f9f9;
    padding: 30px 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-top: 4px solid #0b163f;
}

.sidebar-widget h3 {
    font-size: 20px;
    color: #0b163f;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    border-bottom: 1px solid #eaeaea;
}

.sidebar-links li:last-child {
    border-bottom: none;
}

.sidebar-links a {
    display: block;
    padding: 12px 0;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.sidebar-links a i {
    color: #e31e24;
    margin-right: 8px;
    font-size: 12px;
    transition: 0.3s;
}

.sidebar-links a:hover {
    color: #e31e24;
    padding-left: 5px;
}

.sidebar-donate-widget {
    background: #0b163f;
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.sidebar-donate-widget h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 20px;
}

.sidebar-donate-widget p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .details-layout {
        grid-template-columns: 1fr; /* Stacks sidebar under main content on mobile */
    }
    
    .details-main-img {
        height: 300px;
    }
    
    .details-main-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .details-main-img {
        height: 200px;
    }
}

/* ==========================================================================
   Impact Page Specific Layouts
   ========================================================================== */

/* Table Responsiveness for Wide Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.custom-table small {
    display: block;
    color: #666;
    margin-top: 4px;
    font-weight: normal;
}

/* Detailed Case Study Cards */
.case-study-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    align-items: stretch;
}

.case-study-img {
    flex: 0 0 40%;
    position: relative;
}

.case-study-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
}

.case-study-content {
    flex: 0 0 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study-content .badge {
    background: #e31e24;
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 15px;
}

.case-study-content h3 {
    font-size: 28px;
    color: #0b163f;
    margin-bottom: 20px;
}

.case-study-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Stories of Change Grid */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.story-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border-top: 4px solid #0b163f;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.story-card:hover {
    transform: translateY(-5px);
    border-top-color: #e31e24;
}

.quote-icon {
    font-size: 30px;
    color: #e31e24;
    opacity: 0.3;
    margin-bottom: 15px;
}

.story-card h4 {
    font-size: 20px;
    color: #0b163f;
    margin-bottom: 15px;
}

.story-quote {
    font-style: italic;
    color: #333;
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: bold;
    border-left: 3px solid #eee;
    padding-left: 15px;
}

.story-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Voices from the Community (Small Quote Boxes) */
.voices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.voice-box {
    background: #fdfdfd;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: center;
}

.voice-box i {
    font-size: 24px;
    color: #0b163f;
    margin-bottom: 15px;
}

.voice-box p {
    font-size: 15px;
    color: #444;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.5;
}

.voice-box span {
    display: block;
    color: #e31e24;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .case-study-card {
        flex-direction: column;
    }
    .case-study-img {
        flex: 0 0 250px;
    }
    .case-study-img img {
        position: relative;
    }
    .voices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .case-study-content {
        padding: 25px;
    }
    .voices-grid {
        grid-template-columns: 1fr;
    }
}

/* Impact Action Images */
.impact-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: block;
    transition: transform 0.3s ease;
}

.impact-image-wrapper img:hover {
    transform: translateY(-5px);
}

/* ==========================================================================
   Get Involved Page Layout
   ========================================================================== */
.involve-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.involve-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.involve-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.involve-card.highlight-card {
    border-top: 4px solid #e31e24;
    background: #fdfdfd;
}

.involve-icon {
    width: 60px;
    height: 60px;
    background: #f4f6f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0b163f;
    margin-bottom: 20px;
}

.highlight-card .involve-icon {
    background: #ffe8e8;
    color: #e31e24;
}

.involve-card h3 {
    font-size: 24px;
    color: #0b163f;
    margin-bottom: 15px;
}

.involve-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes the button to the bottom evenly */
}

.involve-perk {
    font-size: 14px;
    color: #e31e24;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Corporate Card Span Layout */
.corporate-card {
    background: #0b163f;
    color: #fff;
    border: none;
}

.corporate-flex {
    display: flex;
    gap: 30px;
    align-items: center;
}

.corporate-icon {
    font-size: 60px;
    color: rgba(255,255,255,0.2);
    flex: 0 0 100px;
    text-align: center;
}

.corporate-content h3 {
    color: #fff;
}

.corporate-content p {
    color: #ccc;
    margin-bottom: 0;
}

/* Button Styles for Cards */
.btn-full {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-outline {
    display: inline-block;
    border: 2px solid #0b163f;
    color: #0b163f;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #0b163f;
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .involve-grid {
        grid-template-columns: 1fr;
    }
    .corporate-flex {
        flex-direction: column;
        text-align: center;
    }
    .corporate-icon {
        flex: auto;
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   Financials & Compliance Page Layout
   ========================================================================== */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.doc-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: #e31e24;
}

.doc-icon {
    font-size: 35px;
    color: #e31e24;
    background: #fdfdfd;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.doc-info {
    flex-grow: 1;
}

.doc-info h3 {
    font-size: 20px;
    color: #0b163f;
    margin-bottom: 5px;
}

.doc-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0b163f;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.view-link:hover {
    color: #e31e24;
}

.multi-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mt-10 {
    margin-top: 10px !important;
}

.justify-center {
    justify-content: center;
}

/* Badge specific override for Board Members */
.custom-table tbody .badge {
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Responsive Grid Adjustments */
@media (max-width: 991px) {
    .docs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .doc-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .multi-links {
        justify-content: center;
    }
}

/* ==========================================================================
   Board Members Block / Tile Layout
   ========================================================================== */
.board-grid {
    display: grid;
    /* This creates the exact "col-4" 3-column layout on desktop */
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    justify-content: center;
}

/* Centers the last row if there are fewer than 3 items (like the 2 trustees) */
.board-grid {
    justify-items: center;
}

.board-card {
    background: #fff;
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.board-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid #e31e24; /* Highlights red on hover */
}

.member-img-wrapper {
    width: 100%;
    height: 200px; /* Uniform height for all profile pictures */
    overflow: hidden;
}

.member-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* Keeps faces in frame */
    transition: transform 0.5s ease;
}

/* Subtle image zoom effect on card hover */
.board-card:hover .member-img-wrapper img {
    transform: scale(1.08);
}

.member-info {
    padding: 25px 20px;
}

.member-info h3 {
    font-size: 14px;
    color: #0b163f;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badge Styling */
.board-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.president-badge {
    background: #0b163f;
    color: #fff;
}

.standard-badge {
    background: #f4f6f9;
    color: #555;
    border: 1px solid #ddd;
}

/* Responsive Grid Adjustments */
@media (max-width: 991px) {
    .board-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets (col-6) */
    }
}

@media (max-width: 600px) {
    .board-grid {
        grid-template-columns: 1fr; /* 1 column on mobile (col-12) */
    }
}

/* ==========================================================================
   Partners Page Specific Layouts
   ========================================================================== */

/* Partner Category Grid */
.partner-category-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .partner-box {
        background: #ffffff;
        padding: 35px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        border: 1px solid #eee;
    }

    .partner-box.full-width {
        grid-column: 1 / -1;
    }

    .partner-box-header {
        display: flex;
        align-items: center;
        margin-bottom: 25px;
        border-bottom: 2px solid #f8fafc;
        padding-bottom: 15px;
    }

    .partner-box-header i {
        font-size: 24px;
        color: #ff8c00;
        margin-right: 15px;
    }

    .partner-box-header h3 {
        font-size: 20px;
        font-weight: 700;
        color: #003366;
        margin: 0;
    }

    .partner-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .partner-list li {
        font-size: 15px;
        color: #555;
        margin-bottom: 12px;
        display: flex;
        align-items: flex-start;
    }

    .partner-list li i {
        color: #22c55e; /* Success Green */
        margin-right: 10px;
        margin-top: 4px;
        font-size: 14px;
    }

    /* Column Logic */
    .partner-list.cols-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    /* Mobile adjustments */
    @media (max-width: 991px) {
        .partner-category-grid {
            grid-template-columns: 1fr;
        }
        .partner-list.cols-3 {
            grid-template-columns: 1fr;
        }
    }

/* Volunteering CTA Block */
.volunteering-cta {
    display: flex;
    background: #fdfdfd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.volunteering-content {
    flex: 0 0 60%;
    padding: 50px;
}

.volunteering-content h2 {
    font-size: 32px;
    color: #e31e24;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.volunteering-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.volunteering-img {
    flex: 0 0 40%;
}

.volunteering-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Grid Adjustments */
@media (max-width: 991px) {
    .partner-category-grid {
        grid-template-columns: 1fr;
    }
    .partner-list.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .volunteering-cta {
        flex-direction: column;
    }
    .volunteering-img {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .partner-list.cols-3 {
        grid-template-columns: 1fr;
    }
    .volunteering-content {
        padding: 30px 20px;
    }
    .partner-box-header h3 {
        font-size: 18px;
    }
}

/* ==========================================================================
   Contact Us Page Layout & Form Styles
   ========================================================================== */

/* Left Side Contact Info */
.info-block {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-block i {
    font-size: 24px;
    color: #e31e24;
    background: #ffe8e8;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-block h4 {
    font-size: 18px;
    color: #0b163f;
    margin-bottom: 5px;
}

.info-block p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Right Side Form Wrapper */
.contact-form-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border-top: 4px solid #0b163f;
}

.contact-form-wrap h3 {
    font-size: 26px;
    color: #0b163f;
    margin-bottom: 10px;
}

.contact-form-wrap p {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
}

/* Form Elements */
.inquiry-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.form-group .req {
    color: #e31e24;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: 0.3s;
}

.form-control:focus {
    border-color: #0b163f;
    outline: none;
    box-shadow: 0 0 5px rgba(11, 22, 63, 0.2);
}

textarea.form-control {
    resize: vertical;
}

.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.checkbox-group input {
    margin-top: 3px;
}

/* Captcha Layout */
.captcha-group {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border: 1px dashed #ccc;
}

.captcha-input {
    width: 150px;
    margin-top: 5px;
}

.form-submit-btn {
    padding: 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 600px) {
    .contact-form-wrap {
        padding: 25px 20px;
    }
}

/* ==========================================================================
   Program Details Dynamic Image Gallery
   ========================================================================== */
.gallery-slider {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    scroll-snap-type: x mandatory;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

/* Custom Scrollbar for the gallery */
.gallery-slider::-webkit-scrollbar {
    height: 8px;
}
.gallery-slider::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 4px;
}
.gallery-slider::-webkit-scrollbar-thumb {
    background: #e31e24; 
    border-radius: 4px;
}

.gallery-slider img {
    flex: 0 0 100%; /* Shows 1 image at a time on mobile */
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: start;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Desktop: Show 2 images side-by-side in the scroll view */
@media (min-width: 768px) {
    .gallery-slider img {
        flex: 0 0 calc(50% - 7.5px); 
    }
}

.impact-section {
        padding: 60px 0;
        background-color: #f8fafc;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .section-title {
        text-align: center;
        font-size: 2rem;
        font-weight: 800;
        color: #003366; /* ATSWA Blue */
        margin-bottom: 50px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .impact-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .impact-card {
        background: #ffffff;
        padding: 30px;
        border-radius: 15px;
        display: flex;
        align-items: center;
        gap: 20px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        border: 1px solid #e2e8f0;
    }

    .impact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .impact-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .impact-icon.blue { background-color: #e0f2fe; color: #003366; }
    .impact-icon.orange { background-color: #ffedd5; color: #ff8c00; }

    .impact-number {
        display: block;
        font-size: 1.8rem;
        font-weight: 800;
        color: #1e293b;
        margin-bottom: 4px;
    }

    .impact-label {
        font-size: 0.85rem;
        font-weight: 600;
        color: #64748b;
        text-transform: uppercase;
        margin: 0;
        line-height: 1.3;
    }

    .impact-footer {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .impact-card.highlight {
        border-bottom: 4px solid #ff8c00;
        min-width: 320px;
    }

    /* Mobile adjustments */
    @media (max-width: 768px) {
        .impact-grid { grid-template-columns: 1fr; }
        .section-title { font-size: 1.5rem; }
    }



/* Layout Containers */
.impact-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
}
.impact-left-col { flex: 1; min-width: 300px; }
.impact-right-col { flex: 2; min-width: 350px; }

@media (max-width: 991px) {
    .impact-left-col, .impact-right-col { flex: 1 1 100%; }
}

/* Titles */
.column-title {
    font-size: 24px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid;
}
.orange-border { border-left-color: #ff8c00; }
.blue-border { border-left-color: #003366; }

/* Left Side Cards */
.stat-cards-stack { display: flex; flex-direction: column; gap: 24px; }
.stat-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.05);
    border-bottom: 5px solid #003366;
    transition: transform 0.3s ease;
}
.stat-card.shadow-orange { border-bottom-color: #ff8c00; }
.stat-card:hover { transform: translateY(-5px); }
.stat-card i { font-size: 36px; color: #ff8c00; margin-right: 20px; }

.stat-value { font-size: 36px; font-weight: 900; color: #003366; line-height: 1; }
.stat-value::after { content: '+'; font-size: 20px; color: #ff8c00; }
.counter-no-plus::after { content: '' !important; }
.stat-label { font-size: 14px; font-weight: 700; color: #64748b; text-transform: uppercase; margin-top: 5px; }

/* Right Side - Demographics */
.demo-container {
    background: #f8fafc;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
}
.demo-subtitle { color: #64748b; font-size: 14px; font-style: italic; margin-bottom: 30px; }

.progress-stack { display: flex; flex-direction: column; gap: 25px; }
.progress-info { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 700; }
.progress-bar-bg { background: #e2e8f0; border-radius: 10px; height: 10px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 10px; transition: width 1.5s ease-in-out; }

.gender-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.gender-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid;
    display: flex;
    justify-content: space-between;
}
.pink-border { border-color: #fce7f3; }
.blue-border-light { border-color: #e0f2fe; }

.mini-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px; }
.mini-stat { background: #fff; padding: 15px; border-radius: 12px; border: 1px solid #f1f5f9; text-align: center; }
.mini-stat label { display: block; font-size: 10px; text-transform: uppercase; color: #94a3b8; font-weight: 800; }
.mini-stat strong { font-size: 18px; color: #003366; }

/* Utility Colors for Bars */
.bg-blue-900 { background-color: #003366; }
.bg-blue-600 { background-color: #2563eb; }


/* Grid & Layout */
.founder-section { padding: 80px 0; }
.container { max-width: 1200px; margin: 0 auto; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }

@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 25%; max-width: 25%; padding: 0 15px; }
    .col-md-9 { flex: 0 0 75%; max-width: 75%; padding: 0 15px; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
}

/* Fix: Sidebar & Image */
.founder-sidebar {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}
.founder-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Fix: Blue Meta Block text visibility */
.founder-meta {
    background-color: #003366 !important;
    color: #ffffff !important;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
	padding: 0 15px;
}
.founder-meta h5 { color: #ffffff !important; margin: 0; }
.founder-meta p { color: rgba(255,255,255,0.8) !important; margin-top: 5px; }

/* Spacing and Typography */
.text-primary, .text-blue-900 { color: #003366 !important; }
.text-orange-500 { color: #ff8c00 !important; }
.bg-orange-500 { background-color: #ff8c00 !important; }
.border-orange-500 { border-color: #ff8c00 !important; }

.leading-relaxed { line-height: 1.9 !important; padding: 0 15px; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

/* Conclusion Box */
.apple-seed-box {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.apple-seed-box::after {
    content: '\f06c'; /* Leaf Icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 20px;
    bottom: -10px;
    font-size: 90px;
    opacity: 0.05;
    color: #003366;
    z-index: -1;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .col-md-3, .col-md-9 { flex: 0 0 100%; max-width: 100%; }
    .founder-sidebar { margin-bottom: 30px; }
}

.volunteer-slider {
    position: relative;
    overflow: hidden;
    min-height: 400px; /* Ensure container has height */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.v-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.v-slide.active {
    opacity: 1;
    z-index: 2;
    position: relative; /* Maintains height for the container */
}

.v-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the volunteer photos look uniform */
    display: block;
}

@media (max-width: 768px) {
    .volunteer-slider {
        min-height: 300px;
        margin-top: 20px;
    }
}