/* ===== Donate Page ===== */

html:has(.donate-page),
.donate-page {
    height: auto;
    min-height: 100%;
    background: #193A65;
}

/* ===== Floating Background Shapes ===== */
.floating-shapes {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation-fill-mode: forwards;
}

.shape--circle { background: rgba(234, 95, 92, 0.08); }
.shape--ring   { background: transparent; border: 2px solid rgba(245, 185, 24, 0.12); }
.shape--dot    { background: rgba(255, 255, 255, 0.06); }

.shape--1 { width: 280px; height: 280px; top: 10%; left: -60px;  animation: floatShape1 14s ease-in-out infinite alternate; }
.shape--2 { width: 160px; height: 160px; top: 50%; right: -30px; animation: floatShape2 18s ease-in-out infinite alternate; }
.shape--3 { width: 200px; height: 200px; top: 25%; right: 10%;   animation: floatShape3 16s ease-in-out infinite alternate; }
.shape--4 { width: 140px; height: 140px; bottom: 30%; left: -20px; animation: floatShape4 20s ease-in-out infinite alternate; }
.shape--5 { width: 8px; height: 8px; top: 20%; left: 25%;   animation: floatDot 6s ease-in-out infinite alternate; }
.shape--6 { width: 6px; height: 6px; top: 60%; right: 20%;  animation: floatDot 8s ease-in-out infinite alternate-reverse; }
.shape--7 { width: 10px; height: 10px; bottom: 25%; right: 12%; animation: floatDot 7s ease-in-out infinite alternate; }

@keyframes floatShape1 { 0% { transform: translateY(0) rotate(0deg); opacity: 0.08; } 100% { transform: translateY(-60px) rotate(20deg); opacity: 0.12; } }
@keyframes floatShape2 { 0% { transform: translateY(0) translateX(0); opacity: 0.06; } 100% { transform: translateY(-40px) translateX(-30px); opacity: 0.1; } }
@keyframes floatShape3 { 0% { transform: translateY(0) rotate(0deg); opacity: 0.1; } 100% { transform: translateY(-35px) rotate(-15deg); opacity: 0.15; } }
@keyframes floatShape4 { 0% { transform: translate(0,0) rotate(0); opacity: 0.08; } 100% { transform: translate(20px,-45px) rotate(30deg); opacity: 0.12; } }
@keyframes floatDot    { 0% { transform: translateY(0); opacity: 0.15; } 100% { transform: translateY(-20px); opacity: 0.4; } }

/* ===== Scroll Navbar ===== */
.scroll-navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: transparent;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
}
.scroll-navbar.visible { transform: translateY(0); }

/* Logo — in hero, visible immediately */
.donate-page .hero-logo {
    position: absolute;
    top: 24px;
    left: 32px;
    z-index: 20;
    width: 160px;
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
}

/* ===== Donate Hero ===== */
.donate-hero {
    position: relative;
    width: 100%;
    min-height: 52vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #10243e 0%, #193A65 30%, #0E5E9E 70%, #193A65 100%);
}

.donate-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 85%, rgba(234, 95, 92, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(245, 185, 24, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(25, 58, 101, 0.1) 0%, transparent 60%);
    z-index: 1;
    animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
    0%   { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Hero particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.particle--1 { width: 4px; height: 4px; top: 18%; left: 12%;  animation: drift 12s linear infinite; }
.particle--2 { width: 6px; height: 6px; top: 35%; left: 78%;  animation: drift 16s linear infinite reverse; animation-delay: -3s; }
.particle--3 { width: 3px; height: 3px; top: 65%; left: 25%;  animation: drift 10s linear infinite; animation-delay: -5s; }
.particle--4 { width: 5px; height: 5px; top: 50%; left: 60%;  animation: drift 14s linear infinite reverse; animation-delay: -2s; }
.particle--5 { width: 3px; height: 3px; top: 22%; left: 45%;  animation: drift 18s linear infinite; animation-delay: -7s; }
.particle--6 { width: 4px; height: 4px; top: 72%; left: 85%;  animation: drift 11s linear infinite reverse; animation-delay: -4s; }
.particle--7 { width: 5px; height: 5px; top: 80%; left: 40%;  animation: drift 15s linear infinite; animation-delay: -6s; }
.particle--8 { width: 3px; height: 3px; top: 15%; left: 92%;  animation: drift 13s linear infinite reverse; animation-delay: -1s; }

@keyframes drift {
    0%   { transform: translate(0, 0) scale(1); opacity: 0; }
    10%  { opacity: 0.6; }
    50%  { transform: translate(-30px, -50px) scale(1.5); opacity: 0.3; }
    90%  { opacity: 0.5; }
    100% { transform: translate(20px, -100px) scale(0.8); opacity: 0; }
}

.donate-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    padding: 80px 24px 100px;
}

.donate-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100px;
    margin-bottom: 20px;
    width: 100%;
    overflow: visible;
}

.donate-heading svg {
    display: block;
    overflow: visible;
}

.donate-tagline {
    font-family: 'Zen Dots', cursive;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
}

.tagline-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(15px);
}

/* Hero curved bottom */
.hero-curve {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 6;
    line-height: 0;
}

.hero-curve svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ===== Why Donate Section ===== */
.why-donate {
    position: relative;
    z-index: 1;
    padding: 80px 24px 60px;
    text-align: center;
}

.why-donate-heading {
    font-family: 'Zen Dots', cursive;
    font-size: clamp(2rem, 6vw, 4rem);
    color: #fff;
    line-height: 1.3;
    letter-spacing: 3px;
    margin-bottom: 50px;
}

.impact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.impact-card {
    background: rgba(14, 94, 158, 0.45);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 28px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
}

.impact-card:hover {
    transform: translateY(-8px);
    background: rgba(14, 94, 158, 0.6);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
}

.impact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EA5F5C, #d94845);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    transition: transform 0.3s ease;
}

.impact-card:hover .impact-icon {
    transform: scale(1.1);
}

.impact-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.impact-desc {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ===== Section Label ===== */
.section-label {
    font-family: 'Nunito', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    padding-left: 16px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #EA5F5C, #F5B918);
}

/* ===== Bank Transfer Section ===== */
.bank-section {
    position: relative;
    z-index: 1;
    padding: 40px 24px 60px;
    max-width: 680px;
    margin: 0 auto;
}

.bank-transfer-card {
    background: linear-gradient(145deg, rgba(25, 58, 101, 0.7), rgba(14, 94, 158, 0.5));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 185, 24, 0.15);
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.bank-transfer-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #EA5F5C, #F5B918, #0E5E9E);
    border-radius: 20px 20px 0 0;
}

.bank-transfer-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 185, 24, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.bank-transfer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(245, 185, 24, 0.3);
}

.bank-transfer-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bank-transfer-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(245, 185, 24, 0.15);
    color: #F5B918;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bank-transfer-name {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.bank-transfer-body {
    padding: 28px 32px 32px;
    text-align: center;
}

.bank-transfer-label {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.bank-transfer-number {
    display: block;
    font-family: 'Zen Dots', cursive;
    font-size: 1.4rem;
    color: #F5B918;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

.btn-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    border: 2px solid rgba(245, 185, 24, 0.3);
    border-radius: 12px;
    background: rgba(245, 185, 24, 0.1);
    color: #F5B918;
    font-family: 'Nunito', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-copy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 185, 24, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn-copy:hover::before {
    left: 100%;
}

.btn-copy:hover {
    transform: translateY(-2px);
    background: rgba(245, 185, 24, 0.2);
    border-color: rgba(245, 185, 24, 0.5);
    box-shadow: 0 8px 30px rgba(245, 185, 24, 0.15);
}

.btn-copy:active {
    transform: translateY(0);
}

.btn-copy.copied {
    background: rgba(13, 142, 142, 0.2);
    border-color: rgba(13, 142, 142, 0.5);
    color: #0D8E8E;
}

.bank-international {
    font-family: 'Nunito', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    margin-top: 20px;
    line-height: 1.6;
}

.bank-international a {
    color: #F5B918;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.bank-international a:hover {
    color: #fff;
}

/* ===== CTA Section ===== */
.donate-cta {
    position: relative;
    z-index: 1;
    padding: 60px 24px 80px;
    text-align: center;
    margin-top: 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(14, 94, 158, 0.3) 100%);
}

.cta-text {
    font-family: 'Zen Dots', cursive;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: #fff;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn--navy {
    background: #10243e;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.cta-btn--navy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
}

.cta-btn--coral {
    background: linear-gradient(135deg, #EA5F5C, #d94845);
    color: #fff;
    border: 2px solid transparent;
}

.cta-btn--coral:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(234, 95, 92, 0.4);
}

.cta-btn:active {
    transform: translateY(0);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    display: flex;
    align-items: center;
    gap: 12px;
    background: #193A65;
    border: 1px solid rgba(13, 142, 142, 0.4);
    border-radius: 14px;
    padding: 14px 28px;
    z-index: 9999;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    color: #0D8E8E;
    display: flex;
}

.toast-text {
    font-family: 'Nunito', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 480px;
    }
    .donate-hero-content { padding: 80px 24px 90px; }
}

@media (max-width: 768px) {
    .donate-heading { min-height: 80px; }
    .donate-tagline { font-size: 0.8rem; }
    .donate-page .hero-logo { width: 130px; }
    .shape--1, .shape--2 { display: none; }
    .why-donate { padding: 60px 16px 40px; }
    .why-donate-heading { font-size: clamp(1.6rem, 5vw, 3rem); }
    .bank-section { padding: 30px 16px 50px; }
    .section-label { font-size: 1.2rem; }
    .bank-transfer-header { padding: 24px 24px 16px; }
    .bank-transfer-body { padding: 24px 24px 28px; }
    .donate-cta { padding: 50px 16px 70px; }
}

@media (max-width: 580px) {
    .scroll-navbar { padding: 10px 16px; }
    .donate-hero { min-height: 45vh; }
    .donate-hero-content { padding: 70px 20px 80px; }
    .donate-page .hero-logo { width: 110px; top: 14px; left: 14px; }
    .donate-heading { min-height: 60px; }
    .donate-tagline { font-size: 0.72rem; }
    .hero-curve svg { height: 50px; }
    .why-donate-heading { font-size: clamp(1.4rem, 5vw, 2.2rem); }
    .impact-card { padding: 32px 20px; border-radius: 16px; }
    .bank-transfer-card { border-radius: 16px; }
    .bank-transfer-header { padding: 20px 18px 14px; gap: 12px; }
    .bank-transfer-icon { width: 44px; height: 44px; border-radius: 10px; }
    .bank-transfer-name { font-size: 0.95rem; }
    .bank-transfer-body { padding: 20px 18px 24px; }
    .bank-transfer-number { font-size: 1.15rem; letter-spacing: 2px; }
    .floating-shapes { display: none; }
    .hero-particles { display: none; }
    .donate-cta { padding: 40px 14px 60px; margin-top: 20px; }
}

@media (max-width: 400px) {
    .donate-hero { min-height: 40vh; }
    .donate-page .hero-logo { width: 95px; top: 10px; left: 10px; }
    .bank-transfer-number { font-size: 1rem; letter-spacing: 1.5px; }
    .btn-copy { padding: 11px 20px; font-size: 0.85rem; }
    .cta-btn { padding: 12px 28px; font-size: 0.92rem; }
}
