:root {
    /* Brand Colors (Deep Navy & Amber) */
    --primary-color: #26286a;
    --primary-dark: #1b1d4f;
    --primary-light: #3d4099;
    --accent-color: #D90429;
    --accent-hover: #A80320;
    --accent-soft: rgba(213, 119, 6, 0.12);

    /* Text */
    --text-color: #1a1a24;
    --text-light: #5a5a68;
    --text-muted: #9494a3;

    /* Backgrounds */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-card: #ffffff;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;

    /* Layout */
    --container-width: 1200px;

    /* Radii */
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    --border-radius-full: 9999px;

    /* Shadows (Softer) */
    --shadow-xs: 0 1px 3px rgba(38, 40, 106, 0.04);
    --shadow-sm: 0 4px 12px rgba(38, 40, 106, 0.06);
    --shadow-md: 0 8px 24px rgba(38, 40, 106, 0.08);
    --shadow-lg: 0 16px 48px rgba(38, 40, 106, 0.12);
    --shadow-accent: 0 8px 28px rgba(213, 119, 6, 0.25);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #26286a 0%, #3d4099 100%);
    --gradient-accent: linear-gradient(135deg, #D90429 0%, #A80320 100%);
    --gradient-hero: linear-gradient(135deg, rgba(27, 29, 79, 0.88) 0%, rgba(38, 40, 106, 0.65) 60%, rgba(38, 40, 106, 0.3) 100%);

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Global */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Text Selection */
::selection {
    background-color: var(--primary-color);
    color: white;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* --- Header System --- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    color: white;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 5px;
}

.social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 0.9rem;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* Main Navigation */
.main-header-inner {
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Adjust as needed */
}

.main-nav>ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-color);
}

/* Donate Button in Menu */
.main-nav a.btn-donate {
    background: var(--gradient-accent);
    color: white !important;
    padding: 10px 26px;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: var(--transition-bounce);
}

.main-nav a.btn-donate:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(213, 119, 6, 0.45);
    color: white !important;
}



/* --- Generic Section Styles --- */
.section {
    padding: 80px 0;
}

.section-gray {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    letter-spacing: -0.3px;
    font-weight: 800;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: var(--border-radius-full);
}

.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 15px auto 0;
}

/* --- Split Feature (Welcome) --- */
.split-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-charity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-soft);
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: var(--border-radius-full);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.split-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.btn-primary-solid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 13px 32px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    margin-top: 20px;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-md);
}

.btn-primary-solid:hover {
    background: var(--gradient-accent);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 30px rgba(213, 119, 6, 0.35);
    color: white;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(37, 39, 105, 0.06);
    transition: var(--transition-bounce);
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(38, 40, 106, 0.15);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--gradient-accent);
    transform: rotate(-5deg) scale(1.05);
}

.feature-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- Mission Grid --- */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(37, 39, 105, 0.06);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.mission-card:hover::before {
    background: var(--gradient-accent);
}

.grid-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.mission-card:hover .grid-icon-box {
    background: var(--gradient-accent);
    transform: scale(1.08) rotate(-4deg);
}

.mission-card h3 {
    margin-bottom: 15px;
}

/* --- Team/Values Carousel --- */
.team-carousel-wrapper {
    position: relative;
    padding: 0 50px;
    /* Space for buttons */
}

.team-carousel-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
    /* Firefox */
}

.team-carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    min-width: 300px;
    flex-shrink: 0;
}

.team-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(37, 39, 105, 0.06);
    transition: var(--transition-bounce);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.team-img-wrapper {
    height: 350px;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.1);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
}

.carousel-btn:hover {
    background: var(--gradient-accent);
    transform: translateY(-50%) scale(1.1);
}

.prev-team,
.prev-values {
    left: 0;
}

.next-team,
.next-values {
    right: 0;
}

/* Values Section Specifics */
.value-card {
    border: 1px solid #eee;
}

.values-carousel-track .carousel-card {
    min-width: calc(33.333% - 20px);
    /* Show 3 at a time minus gap */
    width: calc(33.333% - 20px);
}

.team-carousel-track .carousel-card {
    min-width: calc(25% - 23px);
    /* Show 4 at a time (gap 30px * 3 / 4) */
    width: calc(25% - 23px);
}

/* Mobile Carousel Fixes */
@media (max-width: 768px) {
    .team-carousel-wrapper {
        padding: 0 10px;
        /* Reduce side padding */
    }

    /* Hide buttons on mobile (use swipe) */
    .carousel-btn {
        display: none;
    }

    /* Make cards nearly full width on mobile */
    .values-carousel-track .carousel-card,
    .team-carousel-track .carousel-card {
        min-width: 85vw;
        width: 85vw;
    }
}


/* --- Who We Are Page Specifics --- */
/* --- Donate Page Specifics --- */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.payment-card {
    background: white;
    padding: 44px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid rgba(37, 39, 105, 0.06);
    transition: var(--transition-bounce);
}

.payment-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.payment-card.bank-card {
    border-top: 4px solid var(--primary-color);
}

.payment-card.mobile-card {
    border-top: 4px solid var(--accent-color);
}

.card-header-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
    opacity: 0.8;
}

.bank-details-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: 600;
    color: var(--text-light);
}

.detail-row .value {
    font-weight: 700;
    color: var(--text-color);
    text-align: right;
}

.detail-row .value.highlight {
    color: var(--primary-color);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.mobile-providers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.provider-badge {
    background: var(--bg-light);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    border: 1px solid #eee;
}

.provider-badge i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Donate Online Tab Specifics */
.online-donate-wrapper {
    animation: fadeIn 0.5s ease;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
}

.btn-amount {
    padding: 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-light);
    font-size: 1rem;
}

.btn-amount:hover,
.btn-amount.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(37, 39, 105, 0.2);
}

.gateway-option {
    position: relative;
    margin-bottom: 15px;
}

.gateway-option input {
    display: none;
}

.gateway-label {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.gateway-label i {
    font-size: 1.8rem;
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

.gateway-label:hover {
    border-color: #ddd;
    background: #fdfdfd;
}

.gateway-option input:checked+.gateway-label {
    border-color: var(--primary-color);
    background: #f0f2ff;
    box-shadow: 0 0 0 1px var(--primary-color) inset;
}

.gateway-option input:checked+.gateway-label span {
    font-weight: 600;
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- Contact Page Specifics --- */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    padding: 44px 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    border: 1px solid rgba(37, 39, 105, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

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

.contact-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-md);
}

.text-muted {
    color: #666;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

/* --- Activities Page Specifics --- */
.activity-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.activity-image {
    aspect-ratio: 16/9;
    width: 100%;
}

.activity-card-row:last-child {
    margin-bottom: 0;
}

.activity-card-row.reverse .activity-image {
    order: 2;
}

.activity-card-row.reverse .activity-content {
    order: 1;
}

.activity-items-list {
    list-style: none;
    margin-top: 15px;
}

.activity-items-list li {
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
    font-size: 0.95rem;
}

.activity-items-list li i {
    margin-top: 4px;
}

@media (max-width: 768px) {
    .activity-card-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }

    .activity-card-row.reverse .activity-image {
        order: -1;
    }

    .activity-card-row.reverse .activity-content {
        order: 2;
    }
}

/* --- Who We Are Custom Layout --- */
.who-we-are-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.who-we-are-grid .image-content {
    aspect-ratio: 16/9;
    width: 100%;
}

.who-we-are-grid.reverse .text-content {
    order: 2;
}

.img-cover {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.shadow-sm {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.overflow-hidden {
    overflow: hidden;
}

@media (max-width: 768px) {
    .who-we-are-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .who-we-are-grid.reverse .image-content {
        order: -1;
    }
}

.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.p-4 {
    padding: 1.5rem;
}

.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

.bg-light {
    background-color: var(--bg-light);
}

.rounded {
    border-radius: var(--border-radius);
}

.lead {
    font-size: 1.15rem;
    font-weight: 300;
}

.values-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.value-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.value-item i {
    color: var(--accent-color);
    margin-top: 4px;
    font-size: 1.2rem;
}

.value-item span {
    font-weight: 500;
    color: var(--text-color);
}

.objectives-list {
    list-style: none;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}

.objectives-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.objectives-list li:last-child {
    border-bottom: none;
}

.objectives-list li i {
    margin-top: 5px;
}

.specific-objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.objective-category-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--accent-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-bounce);
    border: 1px solid rgba(37, 39, 105, 0.06);
    border-top: 4px solid var(--accent-color);
}

.objective-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.objective-category-card h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.objective-category-card ul {
    list-style: none;
    flex-grow: 1;
}

.objective-category-card li {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.objective-category-card li i {
    color: var(--accent-color);
    margin-top: 4px;
    flex-shrink: 0;
}

/* --- Donation Tiers Section --- */
.donation-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.donation-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 44px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    border: 1px solid rgba(37, 39, 105, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.donation-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top, rgba(37, 39, 105, 0.02), transparent);
    transition: height 0.4s ease;
}

.donation-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(38, 40, 106, 0.15);
}

.donation-card:hover::after {
    height: 100%;
}

.donation-icon {
    font-size: 2.8rem;
    margin-bottom: 22px;
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.donation-card:hover .donation-icon {
    transform: scale(1.1) rotate(-5deg);
}

.donation-name {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.donation-range {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 30px;
    font-size: 1rem;
    min-height: 50px;
    /* Ensure alignment */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-donate-tier {
    display: inline-block;
    color: white;
    padding: 12px 38px;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    transition: var(--transition-bounce);
    margin-top: auto;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-donate-tier:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 25px rgba(213, 119, 6, 0.3);
    filter: brightness(1.1);
}

/* --- Dual CTA Section (The Request) --- */
.dual-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.cta-block {
    position: relative;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.cta-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(38, 40, 106, 0.25);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 39, 105, 0.9);
    /* Strong brand overlay */
    z-index: 1;
    transition: background 0.3s;
}

.cta-block:hover .cta-overlay {
    background: rgba(37, 39, 105, 0.8);
}

.cta-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
}

.cta-content h4 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border: 2px solid white;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.88rem;
    letter-spacing: 0.8px;
    border-radius: var(--border-radius-full);
    transition: var(--transition-bounce);
    backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* --- Cards Grid (Activities/Causes) --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    border: 1px solid rgba(37, 39, 105, 0.05);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.card-img {
    height: 200px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.btn-text {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.btn-text:hover {
    gap: 12px;
    color: var(--primary-color);
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid rgba(37, 39, 105, 0.06);
    position: relative;
    transition: var(--transition-bounce);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 5rem;
    line-height: 1;
    color: var(--accent-color);
    opacity: 0.12;
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    opacity: 0.6;
    margin-bottom: 16px;
}

.quote-text {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.quote-author {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Footer --- */
.site-footer {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245,158,11,0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* 4-column footer grid — responsive */
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

@media (max-width: 1024px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .site-footer .footer-top {
        padding: 40px 0 30px;
    }
}

.footer-col h3 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: var(--border-radius-full);
}

.footer-col p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-col ul a:hover {
    color: var(--accent-color) !important;
    padding-left: 4px;
    transition: all 0.2s;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-news-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-news-date {
    font-size: 0.8rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 5px;
}

.footer-news-title {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.3s;
    display: block;
    margin-top: 4px;
}

.footer-news-title:hover {
    color: var(--accent-color);
}

.copyright-bar {
    text-align: center;
    padding-top: 20px;
    font-size: 0.85rem;
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.4s;
}

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Subpage Grids --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Contact Form Styles --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.form-wrapper {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-wrapper h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8edf2;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-color);
    background: var(--bg-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 39, 105, 0.08);
}

.btn-submit {
    background: var(--gradient-accent);
    color: white;
    padding: 14px 36px;
    border: none;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-accent);
    letter-spacing: 0.3px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
    filter: brightness(1.08);
}

.map-wrapper {
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Responsive for Contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        min-height: 300px;
    }
}

/* --- Responsive Media Queries --- */
/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1002;
}

@media (max-width: 992px) {
    .split-feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-content-centered h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    /* Top Bar - Visible & Compact */
    .top-bar {
        display: block;
        padding: 10px 0;
        /* More breathing room */
        font-size: 0.85rem;
        /* Increased readability */
        text-align: center;
        background-color: var(--primary-color);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        justify-content: center;
    }

    .contact-info {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        align-items: center;
    }

    .contact-info span {
        margin: 0;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .social-icons {
        display: none;
    }

    /* Hide socials on mobile top bar to save space, or keep if preferred */

    /* Main Header - Logo Left, Toggle Right */
    .main-header-inner {
        padding: 15px 0;
        position: relative;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
        /* Stronger gradient for text contrast */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        /* Subtle shadow for depth */
    }

    .header-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        /* Prevent wrapping */
        position: relative;
        z-index: 51;
        /* Above hero content */
    }

    .logo img {
        height: 55px;
        /* Larger logo for mobile visibility */
    }

    .mobile-toggle {
        display: block;
        padding: 10px;
        /* Increase touch target */
        margin-left: auto;
        /* Push to far right */
    }

    /* Mobile Navigation Drawer */
    .main-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        background-color: var(--primary-color);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 0;
        /* Reset padding */
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 50;
        /* Ensure drawer sits below header bar but above page */
    }

    .main-nav.active {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }

    .main-nav>ul {
        gap: 0;
        font-size: 1rem;
        flex-direction: column;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-align: left;
    }

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

    .main-nav a {
        display: flex;
        /* Allow justify space between for toggle */
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        color: white;
        font-weight: 500;
    }

    .main-nav a:hover {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--accent-color);
    }

    /* Submenu in Mobile */
    .main-nav .dropdown-menu {
        position: static;
        /* Relative flow */
        background-color: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border: none;
        padding: 0;
        display: none;
        /* Hidden by default */
    }

    .main-nav li.active .dropdown-menu {
        display: block;
        /* Show when li is active */
    }

    .dropdown-menu a {
        padding-left: 40px;
        /* Indent sub items */
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
    }

    /* Donate Button Adjustment */
    .main-nav a.btn-donate {
        text-align: center;
        margin: 20px;
        justify-content: center;
        background-color: var(--accent-color);
        display: block;
        /* Ensure visibility inside drawer */
    }

    .cta-block {
        min-height: 350px;
        padding: 30px;
    }

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

    /* Hero Spacing Fix for Mobile */
    .hero-content-centered {
        padding-top: 140px;
        /* Push content down on mobile */
    }
}

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

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

/* --- Utility Class for Solid Header (Inner Pages) --- */
.header-solid {
    position: relative !important;
    background-color: var(--primary-dark) !important;
}

.header-solid .main-header-inner {
    background: transparent !important;
    padding: 14px 0;
}

.header-solid .top-bar {
    background: rgba(0, 0, 0, 0.2);
}


/* --- Gallery Overlay --- */
.gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 39, 105, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Gallery Tabs --- */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-tab {
    background: none;
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-tab:hover,
.btn-tab.active {
    background: var(--primary-color);
    color: white;
}

/* --- Donation Copy Button --- */
.copy-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    margin-left: 10px;
    font-size: 1rem;
    transition: transform 0.2s;
}

.copy-btn:hover {
    transform: scale(1.1);
}

.copy-tooltip {
    position: absolute;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    top: -30px;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.copy-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}


/* --- Dropdown Menu Styles --- */
.main-nav li {
    position: relative;
    padding: 10px 0;
    /* Add trigger area */
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    min-width: 220px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    border-top: 2px solid var(--accent-color);
}

/* Desktop Hover Effect */
@media (min-width: 769px) {
    .main-nav li:hover .dropdown-menu {
        display: flex;
        animation: fadeIn 0.2s ease-in-out;
    }
}

/* Mobile Dropdown Styling */
@media (max-width: 768px) {
    .main-nav .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
        /* Slightly darker */
        border-top: none;
        padding-left: 20px;
        display: none;
        /* Ensure hidden by default on mobile */
    }

    /* Ensure it shows when active on mobile */
    .main-nav li.active .dropdown-menu {
        display: flex;
        animation: none;
        /* No animation for smoother expansion */
    }

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

.dropdown-menu li {
    width: 100%;
    padding: 0;
    /* Reset trigger area padding for items */
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: capitalize;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 500;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-color);
    padding-left: 25px;
    /* Slide effect */
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Adjust Main Nav Spacing (Desktop) */
@media (min-width: 769px) {
    .main-nav>ul {
        gap: 25px;
        /* Slightly reduce gap to prevent wrapping */
    }
}

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

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


/* --- Click-based Dropdown Support (Mobile Only Logic Applied Above) --- */
/* Removed global rule to prevent desktop stickiness */

/* Ensure toggle is clickable */
.submenu-toggle {
    cursor: pointer;
    transition: transform 0.2s;
}

.submenu-toggle:hover {
    transform: scale(1.2);
    color: var(--accent-color);
}


/* --- Success Stories Grid --- */
.stories-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-bounce);
    border: 1px solid rgba(37, 39, 105, 0.05);
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.story-img {
    height: 250px;
}

.story-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.story-quote {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    margin-top: auto;
    /* Push to bottom */
    position: relative;
}

.story-quote .quote-mark {
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 1.5rem;
    color: var(--accent-color);
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* --- News Grid --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(37, 39, 105, 0.05);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.news-img {
    height: 220px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 10px;
}


/* --- MODERN VISUAL UPGRADES --- */

/* 1. Animated Background Gradient for CTA Sections */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.gradient-bg-animate {
    background: linear-gradient(-45deg, var(--primary-color), #3a3d99, #252769, var(--accent-color));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
}

/* 2. Floating Animation for Icons/Images */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* 3. Pulse Animation for Donate Buttons */
@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.btn-donate.pulse-effect {
    animation: pulse-red 2.5s infinite;
}

/* 4. Card Hover — governed by individual component rules above */
/* (removed global override to preserve per-component transitions) */

/* 5. Subtle Pattern Background for Gray Sections */
.section-gray {
    background-color: var(--bg-light);
    background-image:
        radial-gradient(circle at 1px 1px, rgba(37, 39, 105, 0.06) 1px, transparent 0);
    background-size: 28px 28px;
}

/* 6. Section Divider (Wave) */
.wave-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider-bottom .shape-fill {
    fill: #ffffff;
}


/* Overrides for Gradient Section */
.gradient-bg-animate .section-title h2 {
    color: white;
}

.gradient-bg-animate .section-title h2::after {
    background: rgba(255, 255, 255, 0.6);
}




/* ============================================
   PHASE 2 — MODERN FEATURE ADDITIONS
   ============================================ */

/* ---- Scroll Progress Bar ---- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-accent);
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

/* ---- Sticky Header ---- */
.site-header.is-sticky .main-header-inner {
    background: rgba(26, 28, 82, 0.96) !important;
    backdrop-filter: blur(12px) saturate(1.5);
    -webkit-backdrop-filter: blur(12px) saturate(1.5);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    padding: 12px 0;
}

.site-header {
    transition: all 0.4s ease;
}

/* ---- Back To Top Button ---- */
.back-to-top {
    position: fixed;
    bottom: 36px;
    right: 36px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    z-index: 9000;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--gradient-accent);
    transform: translateY(-4px) scale(1.08);
    box-shadow: var(--shadow-accent);
}

/* ---- Page Banner (inner pages) ---- */
.page-banner {
    background: var(--gradient-primary);
    padding: 100px 0 120px !important;
}

.page-banner h1 {
    color: white !important;
    font-weight: 800 !important;
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.page-banner .wave-divider-bottom .shape-fill {
    fill: white;
}

/* ---- Top Bar Refinement ---- */
.top-bar {
    background: var(--primary-dark);
    padding: 10px 0;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- Gradient Donation Section — Better Gradient ---- */
.gradient-bg-animate {
    background: linear-gradient(-45deg, #1a1c52, #252769, #3a3d99, #202368);
    background-size: 400% 400%;
    animation: gradientBG 18s ease infinite;
    color: white;
}

/* ---- Floating animation — more subtle ---- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ---- Split Content — heading refinement ---- */
.split-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 24px;
    line-height: 1.25;
    font-weight: 800;
}

/* ---- Section padding refinement ---- */
.section {
    padding: 90px 0;
}

/* ---- Gallery Overlay modern ---- */
.gallery-overlay {
    background: linear-gradient(to top, rgba(26, 28, 82, 0.88) 0%, rgba(37, 39, 105, 0.5) 100%);
}

.gallery-overlay span {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 22px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-full);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    backdrop-filter: blur(4px);
}

/* ---- Tab Buttons ---- */
.btn-tab {
    border: 2px solid var(--primary-color);
    padding: 9px 24px;
    border-radius: var(--border-radius-full);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-bounce);
}

.btn-tab:hover,
.btn-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ---- Amount Buttons (Donate) ---- */
.btn-amount:hover,
.btn-amount.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

/* ---- Gateway Payment Labels ---- */
.gateway-option input:checked+.gateway-label {
    border-color: var(--primary-color);
    background: rgba(37, 39, 105, 0.04);
    box-shadow: 0 0 0 2px rgba(37, 39, 105, 0.15);
}

/* ---- Donation Goal Label ---- */
.donation-name {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.donation-range {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 28px;
    font-size: 1rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Provider Badge ---- */
.provider-badge {
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: var(--border-radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-color);
    border: 1px solid rgba(37, 39, 105, 0.1);
    transition: var(--transition);
}

.provider-badge:hover {
    background: white;
    box-shadow: var(--shadow-sm);
}

/* ---- Bank Details Box ---- */
.bank-details-box {
    background: var(--bg-light);
    padding: 22px;
    border-radius: var(--border-radius);
    text-align: left;
    margin-top: 20px;
    border: 1px solid rgba(37, 39, 105, 0.08);
}

/* ---- News Card Date ---- */
.news-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

/* ---- Inline news section cleanup (home page) ---- */
.home-news-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(37, 39, 105, 0.05);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
}

.home-news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.home-news-card .news-img-wrap {
    height: 210px;
    overflow: hidden;
}

.home-news-card .news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-news-card:hover .news-img-wrap img {
    transform: scale(1.08);
}

.home-news-card .news-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-news-card .news-body h3 {
    font-size: 1.1rem;
    margin: 8px 0;
    color: var(--text-color);
    line-height: 1.4;
}

.home-news-card .news-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

/* ---- Objectives List ---- */
.objectives-list {
    list-style: none;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--gradient-primary);
    border-left: 5px solid var(--primary-color);
}

/* ---- Value Card (carousel) ---- */
.value-card {
    border: 1px solid rgba(37, 39, 105, 0.08);
    border-top: 4px solid var(--primary-color);
}

/* ---- CTA Overlay refinement ---- */
.cta-overlay {
    background: linear-gradient(135deg, rgba(26, 28, 82, 0.93) 0%, rgba(37, 39, 105, 0.82) 100%);
}

/* ---- Responsive: Mobile Back-to-top ---- */
@media (max-width: 480px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* ---- Link Hover Color ---- */
.footer-contact-item a:hover {
    color: var(--accent-color);
}

/* ---- Top-bar social icon hover ---- */
.top-bar .social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.top-bar .social-icons a {
    display: inline-block;
    transition: var(--transition);
}

/* ---- Header Nav Active Link underline ---- */
.main-nav a:not(.btn-donate) {
    position: relative;
}

.main-nav a:not(.btn-donate)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.main-nav a:not(.btn-donate):hover::after,
.main-nav a.active:not(.btn-donate)::after {
    transform: scaleX(1);
}

/* ---- Gallery item radius ---- */
.gallery-item {
    border-radius: var(--border-radius);
}

/* ---- Form wrapper ---- */
.form-wrapper {
    background: white;
    padding: 36px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(37, 39, 105, 0.06);
}

/* ---- Map wrapper ---- */
.map-wrapper {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* ---- Copyright bar ---- */
.copyright-bar {
    text-align: center;
    padding-top: 24px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- Section title p spacing ---- */
.section-title {
    text-align: center;
    margin-bottom: 56px;
}

/* ---- Page content wrapper ---- */
.page-content-wrapper {
    padding: 70px 20px;
}

/* ---- Gradient section section-title subtitle ---- */
.gradient-bg-animate .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

/* ---- Split content p spacing ---- */
.split-content p {
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 1.02rem;
    line-height: 1.8;
}

/* ---- Feature text refinement ---- */
.feature-text h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--primary-color);
}

.feature-text p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---- Mission card text ---- */
.mission-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---- Value item icon ---- */
.value-item i {
    color: var(--accent-color);
    margin-top: 3px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ---- CTA content h2 clamp ---- */
.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: white;
    margin-bottom: 18px;
    line-height: 1.15;
    font-weight: 800;
}

/* ---- Activity content typography ---- */
.activity-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* ---- Responsive: small mobile hero text ---- */
@media (max-width: 480px) {
    .hero-content-centered {
        padding-top: 160px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .page-content-wrapper {
        padding: 48px 16px;
    }
}

/* ---- Utility ---- */
.text-white {
    color: white !important;
}

.text-white::after {
    background: rgba(255, 255, 255, 0.5) !important;
}

/* ---- Donation section subtitle ---- */
.donation-section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}