/* ==========================================================================
   WHY IT MATTERS PAGE STYLESHEET - KUSUM FOUNDATION
   ========================================================================== */

/* --- SITE HEADER OVERRIDES FOR WHY IT MATTERS PAGE --- */
.why-matters-page .site-header {
    background-color: #FAF6ED;
    border-bottom: 1px solid #EBE2D3;
    height: 88px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.why-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.why-brand-logo-area {
    display: flex;
    align-items: center;
}

.why-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.why-brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.why-brand-text {
    display: flex;
    flex-direction: column;
}

.why-brand-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0D2E2C;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.why-brand-subtext {
    font-size: 0.62rem;
    font-weight: 600;
    color: #48635E;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
}

.why-desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.why-nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2C433F;
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: color 0.25s ease;
}

.why-nav-link:hover,
.why-nav-link.active {
    color: #0D2E2C;
    font-weight: 600;
}

.why-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0D2E2C;
    border-radius: 2px;
}

/* Header Contact Info (Right Side) */
.header-contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.82rem;
    color: #2C433F;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-contact-item strong {
    font-weight: 600;
    color: #0D2E2C;
}

.header-contact-item a {
    color: #2C433F;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-contact-item a:hover {
    color: #0D2E2C;
}

/* --- HERO SECTION --- */
.why-hero-section {
    position: relative;
    background-image: url('Images/WHY-IT-MATTERS-BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 90px 24px 85px 24px;
    text-align: center;
    color: #FFFFFF;
}

.why-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 46, 44, 0.88) 0%, rgba(10, 38, 36, 0.92) 100%);
    z-index: 1;
}

.why-hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
}

.why-hero-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: #FFFFFF;
    line-height: 1.15;
}

.why-hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.01em;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 680px;
}

/* --- MAIN CARDS SECTION --- */
.why-cards-section {
    background-color: #FAF5EE;
    padding: 70px 0;
}

.why-cards-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Individual Feature Card Box */
.matters-card {
    background-color: #FFFFFF;
    border: 1.5px solid #E3D7C7;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 370px;
    align-items: stretch;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.matters-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(13, 46, 44, 0.08);
    border-color: #D6C5B1;
}

.matters-card-content {
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.matters-card-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: #1A322D;
    line-height: 1.3;
    margin-bottom: 16px;
}

.matters-card-text {
    font-size: 0.98rem;
    line-height: 1.68;
    color: #4A5754;
    font-weight: 400;
}

.matters-card-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
    overflow: hidden;
}

.matters-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.matters-card:hover .matters-card-img {
    transform: scale(1.03);
}

/* --- BE PART OF THIS SECTION --- */
.be-part-section {
    background-color: #FBE6B6;
    padding: 64px 24px;
    text-align: center;
}

.be-part-container {
    max-width: 800px;
    margin: 0 auto;
}

.be-part-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: #162E2A;
    margin-bottom: 12px;
    line-height: 1.2;
}

.be-part-subtitle {
    font-size: 1.02rem;
    color: #3D4F4B;
    margin-bottom: 32px;
    line-height: 1.5;
}

.be-part-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-donate-solid {
    background-color: #D89B3E;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 11px 32px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #D89B3E;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(216, 155, 62, 0.25);
}

.btn-donate-solid:hover {
    background-color: #C6892E;
    border-color: #C6892E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(216, 155, 62, 0.35);
}

.btn-action-outline {
    background-color: #FFFFFF;
    color: #233B36;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 11px 32px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #D6C7B5;
    transition: all 0.25s ease;
}

.btn-action-outline:hover {
    background-color: #FAF6ED;
    border-color: #C2B09B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}



/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .header-contact-info {
        display: none;
    }
}

@media (max-width: 860px) {
    .matters-card {
        grid-template-columns: 1fr;
    }
    
    .matters-card-media {
        order: 1;
        min-height: 250px;
        max-height: 320px;
    }

    .matters-card-content {
        order: 2;
        padding: 32px 28px;
    }
    
    .why-hero-title {
        font-size: 2.2rem;
    }
    
    .why-hero-subtitle {
        font-size: 1rem;
    }

    .why-desktop-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 576px) {
    .why-cards-container {
        padding: 0 16px;
    }

    .matters-card-content {
        padding: 24px 20px;
    }

    .matters-card-title {
        font-size: 1.3rem;
    }

    .matters-card-text {
        font-size: 0.92rem;
    }

    .be-part-title {
        font-size: 1.75rem;
    }

    .be-part-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-donate-solid,
    .btn-action-outline {
        width: 100%;
    }


}
