/* ============================================================================
   DONATE PAGE - WCK-Inspired Clean Layout
   Minimal, human-centered design
   ============================================================================ */

/* === Hero Section === */
.donate-hero {
    position: relative;
    height: clamp(360px, 52vh, 620px);
    min-height: 360px;
    margin-top: 100px; /* Account for fixed header - increased for full visibility */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.donate-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.donate-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.donate-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.donate-hero-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.donate-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    color: var(--white);
}

/* === Content Sections === */
.donate-content-section {
    padding: 6rem 6%;
}

.donate-content-section.alt-bg {
    background: var(--gray-50);
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Text on left, images on right */
.donate-grid.text-left .donate-text {
    order: 1;
}

.donate-grid.text-left .donate-images {
    order: 2;
}

/* Images on left, text on right */
.donate-grid.text-right .donate-images {
    order: 1;
}

.donate-grid.text-right .donate-text {
    order: 2;
}

/* Text Content */
.donate-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.donate-text h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-green);
    margin: 2rem 0 1rem;
}

.donate-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.donate-text p:last-child {
    margin-bottom: 0;
}

.donate-text .subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.donate-text .disclaimer {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-top: 1.5rem;
}

/* Bank Details */
.bank-details {
    background: var(--primary-green-pale);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bank-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-green-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bank-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    font-family: var(--font-heading);
}

/* === Four Images Grid === */
.donate-images.four-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.donate-images.four-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.donate-images.four-grid img:hover {
    transform: scale(1.02);
}

/* === CTA Cards Section === */
.donate-cta-cards {
    padding: 6rem 6%;
    text-align: center;
    background: var(--white);
}

.donate-cta-cards h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.cta-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cta-card {
    position: relative;
    border-radius: var(--radius-xl);
    min-height: 400px;
    text-decoration: none;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

.cta-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    transition: background 0.3s ease;
}

.cta-card:hover .cta-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cta-card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    width: 100%;
}

.cta-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cta-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.cta-card .btn-primary {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.cta-card .btn-primary:hover {
    background: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.cta-card .btn svg {
    transition: transform 0.3s ease;
}

.cta-card .btn:hover svg {
    transform: translateX(4px);
}

/* === Partners Section === */
.donate-partners {
    padding: 6rem 0;
    background: var(--gray-50);
    overflow: hidden;
}

.donate-partners h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
    padding: 0 6%;
}

.partners-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    padding: 0 6%;
}

/* Partners Carousel - Edge to Edge */
.partners-carousel-multi {
    position: relative;
    width: 100%;
}

.partner-category {
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.partner-category:last-child {
    margin-bottom: 0;
}

.category-label {
    text-align: center;
    margin-bottom: 1.25rem;
    padding: 0 6%;
}

.category-title {
    display: inline-block;
    background: var(--primary-green-pale);
    color: var(--primary-green-dark);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Remove edge gradients for true edge-to-edge */
.partner-category::before,
.partner-category::after {
    display: none;
}

.partners-track {
    display: flex;
    gap: 1.25rem;
    width: fit-content;
}

/* Different animations for each track */
.stores-track {
    animation: scroll-partners-right 45s linear infinite;
}

.foundations-track {
    animation: scroll-partners-left 55s linear infinite;
}

.collaborators-track {
    animation: scroll-partners-right 50s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-partners-right {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-partners-left {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.partner-logo {
    flex-shrink: 0;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: var(--radius-lg);
    box-shadow: none;
    padding: 0;
    transition: all 0.3s ease;
    border: 0;
}

.partner-logo:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0%) opacity(0.9);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Partner Placeholder Styling */
.partner-placeholder {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

.partner-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.1;
    text-align: center;
}

.partner-type {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Partner Stats */
.partner-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    min-width: 150px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.2;
}

/* Responsive Design for Multi-Track Partners */
@media (max-width: 1024px) {
    .partners-track {
        gap: 2rem;
    }

    .partner-logo {
        width: 150px;
        height: 80px;
    }

    .category-title {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }

    .partner-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .partners-showcase-section {
        padding: 1.5rem 0;
    }

    .partners-carousel-multi {
        margin-bottom: 1rem;
        padding: 0.75rem 0;
    }

    .partner-category {
        margin-bottom: 1rem;
    }

    .category-label {
        margin-bottom: 0.75rem;
    }

    .category-title {
        font-size: 0.85rem;
        padding: 0.5rem 1.25rem;
    }

    .partners-track {
        gap: 1.5rem;
    }

    .partner-logo {
        width: 120px;
        height: 70px;
        padding: 0.75rem;
    }

    .partner-stats {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        padding: 1.5rem;
        min-width: 120px;
        width: 100%;
        max-width: 200px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .partner-category::before,
    .partner-category::after {
        width: 50px;
    }

    .partner-category {
        margin-bottom: 2rem;
    }

    .category-title {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .partners-track {
        gap: 1rem;
    }

    .partner-logo {
        width: 100px;
        height: 60px;
        padding: 0.5rem;
    }

    .partner-name {
        font-size: 0.85rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

/* === Section Divider === */
.donate-divider {
    background: var(--primary-green);
    height: 80px;
}

/* ===== RESPONSIVE STYLES FOR DONATE PAGE ===== */

/* Tablet */
@media (max-width: 1024px) {
    .donate-hero {
        height: clamp(340px, 48vh, 520px);
        min-height: 340px;
        margin-top: 95px;
    }

    .donate-grid {
        gap: 3rem;
    }

    .donate-images.four-grid img {
        height: 180px;
    }
}

/* Mobile */
@media (max-width: 900px) {
    .donate-hero {
        height: clamp(320px, 45vh, 460px);
        min-height: 320px;
        margin-top: 92px;
    }
}

@media (max-width: 768px) {
    .donate-hero {
        height: clamp(250px, 40vh, 340px);
        min-height: 250px;
        margin-top: 90px;
    }

    .donate-hero h1 {
        font-size: 2rem;
    }

    .donate-content-section {
        padding: 3rem 5%;
    }

    .donate-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Reset order for mobile - always text first, images second */
    .donate-grid.text-left .donate-text,
    .donate-grid.text-right .donate-text {
        order: 1;
    }

    .donate-grid.text-left .donate-images,
    .donate-grid.text-right .donate-images {
        order: 2;
    }

    .donate-images.four-grid {
        gap: 0.75rem;
    }

    .donate-images.four-grid img {
        height: 140px;
    }

    .donate-cta-cards {
        padding: 3rem 5%;
    }

    .cta-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-card {
        min-height: 300px;
    }

    .donate-partners {
        padding: 3rem 0;
    }

    .donate-partners h2,
    .partners-subtitle {
        padding: 0 5%;
    }

    .donate-divider {
        height: 60px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .donate-hero {
        height: clamp(220px, 35vh, 290px);
        min-height: 220px;
        margin-top: 80px;
    }

    .donate-hero-label {
        font-size: 0.75rem;
    }

    .donate-hero h1 {
        font-size: 1.75rem;
    }

    .donate-content-section {
        padding: 2.5rem 4%;
    }

    .donate-cta-cards {
        padding: 2.5rem 4%;
    }

    .donate-text h2 {
        font-size: 1.5rem;
    }

    .donate-text h3 {
        font-size: 1.1rem;
    }

    .donate-text p {
        font-size: 1rem;
    }

    .bank-details {
        padding: 1.25rem 1.5rem;
    }

    .bank-number {
        font-size: 1.25rem;
    }

    .donate-images.four-grid img {
        height: 120px;
        border-radius: var(--radius-md);
    }

    .donate-cta-cards h2 {
        font-size: 1.5rem;
    }

    .cta-card h3 {
        font-size: 1.25rem;
    }

    .donate-partners h2 {
        font-size: 1.5rem;
        padding: 0 4%;
    }

    .partners-subtitle {
        font-size: 1rem;
        padding: 0 4%;
    }

    .donate-divider {
        height: 50px;
    }
}



