:root {
    --blue: #0a4b78;
    --deep-blue: #0a2e4a;
    --bright-blue: #1b6b9e;
    --green: #2ecc71;
    --accent-green: #27ae60;
    --red: #e63946;
    --white: #ffffff;
    --light: #f8fafc;
    --soft-white: #f8fafc;
    --text: #1e293b;
    --text-light: #475569;
    --transition: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ========== HEADER ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--deep-blue);
    background: linear-gradient(135deg, #0a2e4a 0%, #113a56 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transition: all var(--transition);
}
.site-header.scrolled {
    box-shadow: 0 6px 28px rgba(0,0,0,0.25);
    background: #0a2e4a;
}
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #e63946 0%, #e63946 33%, #27ae60 33%, #27ae60 66%, var(--bright-blue) 66%, var(--bright-blue) 100%);
    z-index: 1;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 78px;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* ----- LOGO (stacked) ----- */
.logo-section { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: rgba(255,255,255,0.1); padding: 4px; transition: transform var(--transition); }
.logo-section:hover .logo-img { transform: scale(1.06); }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.site-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.4px;
    /* white-space: nowrap;   removed so tagline can wrap */
}

.site-name .green-heart {
    color: var(--accent-green);
    font-weight: 800;
}

.foundation-tagline {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* ----- NAVIGATION ----- */
.main-nav { display: flex; align-items: center; flex: 1; justify-content: center; }
.main-nav>ul { display: flex; list-style: none; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: center; }
.main-nav>ul>li { position: relative; padding: 10px 14px; cursor: pointer; color: #d4e2f0; font-weight: 500; font-size: 0.95rem; white-space: nowrap; border-radius: 6px; transition: all var(--transition); user-select: none; }
.main-nav>ul>li:hover { color: white; background: rgba(255,255,255,0.08); }
.main-nav>ul>li.dropdown-parent::after { content: '▾'; margin-left: 5px; font-size: 0.7rem; color: var(--accent-green); transition: transform var(--transition); }
.main-nav>ul>li.dropdown-parent:hover::after { transform: rotate(180deg); }
.main-nav .dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px); background: white; list-style: none; min-width: 200px; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,0.15); opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.2s ease; padding: 8px 0; z-index: 100; border: 1px solid rgba(0,0,0,0.05); }
.main-nav>ul>li.dropdown-parent:hover>.dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0px); }
.main-nav .dropdown-menu li { padding: 10px 20px; color: #1e293b; font-size: 0.9rem; cursor: pointer; white-space: nowrap; border-left: 3px solid transparent; transition: background 0.2s, border-color 0.2s; }
.main-nav .dropdown-menu li:hover { background: #f0f7fa; border-left-color: var(--accent-green); color: var(--deep-blue); }

/* ----- ACTIONS ----- */
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.social-icons { display: flex; align-items: center; gap: 8px; }
.social-icon-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.12); color: white; transition: all var(--transition); text-decoration: none; }
.social-icon-link i { font-size: 1rem; }
.social-icon-link:hover { transform: translateY(-2px); background: white; }
.social-icon-link.youtube:hover { color: red; background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.social-icon-link.twitter:hover { color: #000; background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.social-icon-link.whatsapp:hover { color: #25d366; background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.donation-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; background: var(--red); color: white; font-weight: 700; font-size: 0.95rem; border-radius: 6px; text-decoration: none; letter-spacing: 0.3px; transition: all var(--transition); white-space: nowrap; box-shadow: 0 4px 14px rgba(230,57,70,0.4); border: 1px solid rgba(255,255,255,0.15); }
.donation-btn:hover { background: #c62828; box-shadow: 0 6px 20px rgba(230,57,70,0.6); transform: translateY(-1px); }

/* ----- HAMBURGER & MOBILE MENU ----- */
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; width: 42px; height: 42px; background: rgba(255,255,255,0.08); border: none; border-radius: 8px; cursor: pointer; z-index: 1001; gap: 5px; transition: background var(--transition); }
.hamburger span { display: block; width: 20px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 280px; height: 100vh; background: #0a2e4a; z-index: 999; overflow-y: auto; padding: 20px 20px 30px; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 4px 0 20px rgba(0,0,0,0.3); }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .close-area { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.mobile-close-btn { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; padding: 6px; }
.mobile-menu>ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mobile-menu>ul>li { color: #e0eef7; font-weight: 500; font-size: 1rem; padding: 12px 10px; cursor: pointer; border-radius: 6px; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu>ul>li.dropdown-parent::after { content: '▾'; color: var(--accent-green); transition: transform 0.3s; }
.mobile-menu>ul>li.dropdown-parent.expanded::after { transform: rotate(180deg); }
.mobile-submenu { width: 100%; list-style: none; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding-left: 0; }
.mobile-menu>ul>li.dropdown-parent.expanded>.mobile-submenu { max-height: 300px; }
.mobile-submenu li { padding: 10px 10px 10px 24px; color: #c4d6e4; font-size: 0.9rem; cursor: pointer; border-left: 2px solid transparent; transition: all var(--transition); }
.mobile-submenu li:hover { background: rgba(255,255,255,0.05); border-left-color: var(--accent-green); color: white; }
.mobile-social-row { display: flex; gap: 14px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.15); }
.mobile-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 998; opacity: 0; transition: opacity 0.3s; }
.mobile-overlay.show { display: block; opacity: 1; }

/* ----- RESPONSIVE ----- */
@media (max-width: 1023px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; flex-direction: column; }
    .header-actions .social-icons { display: none; }
    .header-container { height: 68px; padding: 0 16px; gap: 12px; }
    .logo-img { width: 38px; height: 38px; }
    .site-name { font-size: 1.1rem; }
    .foundation-tagline { font-size: 0.6rem; }
    .donation-btn { padding: 9px 16px; font-size: 0.85rem; border-radius: 5px; }
}

@media (max-width: 480px) {
    .header-container { height: 60px; padding: 0 12px; gap: 8px; }
    .logo-img { width: 32px; height: 32px; }
    .site-name { font-size: 0.9rem; }
    .foundation-tagline { font-size: 0.55rem; }
    .donation-btn { padding: 8px 14px; font-size: 0.8rem; }
    .mobile-menu { width: 260px; }
}

/* Extra small phones */
@media (max-width: 360px) {
    .header-container { height: 54px; padding: 0 8px; gap: 5px; }
    .logo-section { gap: 5px; }
    .logo-img { width: 26px; height: 26px; padding: 2px; }
    .site-name { font-size: 0.72rem; }
    .foundation-tagline { font-size: 0.48rem; }
    .donation-btn { padding: 6px 10px; font-size: 0.7rem; border-radius: 4px; }
    .hamburger { width: 34px; height: 34px; }
}

/* ========== FLOATING DONATE ========== */
.floating-donate {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--red);
    color: white;
    border: none;
    border-radius: 60px;
    padding: 16px 28px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 12px 30px rgba(230,57,70,0.5);
    z-index: 999;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-slow);
    text-decoration: none;
}
.floating-donate:hover { background: #c62828; transform: translateY(-3px); box-shadow: 0 16px 36px rgba(230,57,70,0.6); }

/* ========== HERO ========== */
.hero-donate { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; background: url('volunteer-helping-with-donation-box.webp') center/cover no-repeat; }
.hero-donate::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10,46,74,0.75); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; align-items: center; width: 100%; }
.hero-text { flex: 1 1 500px; color: white; }
.hero-text .icon-circle { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 30px; font-size: 2.5rem; color: var(--green); border: 2px dashed rgba(255,255,255,0.3); }
.hero-text h1 { font-size: 3.4rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; text-shadow: 0 4px 14px rgba(0,0,0,0.4); }
.hero-text h1 span { color: var(--green); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 8px; }
.hero-text p { font-size: 1.2rem; opacity: 0.95; margin-bottom: 36px; max-width: 550px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero-donate-btn { background: var(--red); color: white; padding: 18px 44px; border-radius: 40px; font-weight: 700; font-size: 1.2rem; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; transition: all var(--transition-slow); box-shadow: 0 10px 28px rgba(230,57,70,0.5); text-decoration: none; }
.hero-donate-btn:hover { background: #c62828; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(230,57,70,0.65); }
.hero-visual { flex: 1 1 400px; display: flex; justify-content: center; align-items: center; margin-top: 40px; }
.card-stack { position: relative; width: 280px; height: 320px; }
.card-stack .card-item { position: absolute; width: 100%; height: 100%; background: white; border-radius: 24px; box-shadow: 0 24px 48px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--deep-blue); transition: all 0.4s ease; }
.card-stack .card-item:nth-child(1) { transform: rotate(-4deg); z-index: 3; background: #f8fafc; color: var(--red); }
.card-stack .card-item:nth-child(2) { transform: rotate(2deg) translateY(10px); z-index: 2; background: #ffffff; color: var(--green); }
.card-stack .card-item:nth-child(3) { transform: rotate(-2deg) translateY(20px); z-index: 1; background: #f1f5f9; color: var(--blue); }
@media (max-width: 768px) { .hero-text h1 { font-size: 2.2rem; } .hero-visual { display: none; } }

/* ========== IMPACT TIMELINE ========== */
.impact-timeline { padding: 100px 24px; background: var(--light); }
.impact-timeline h2 { text-align: center; font-size: 2.5rem; color: var(--deep-blue); margin-bottom: 50px; }
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--green); transform: translateX(-50%); opacity: 0.4; }
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 40px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content { width: 45%; background: white; padding: 25px; border-radius: 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.05); position: relative; border-left: 5px solid var(--blue); }
.timeline-item:nth-child(even) .timeline-content { border-left: none; border-right: 5px solid var(--red); }
.timeline-marker { width: 40px; height: 40px; border-radius: 50%; background: var(--green); position: absolute; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; border: 4px solid white; }
.timeline-content h4 { color: var(--deep-blue); margin-bottom: 8px; }
.timeline-content p { color: var(--text-light); font-size: 0.95rem; }
@media (max-width: 768px) { .timeline::before { left: 20px; } .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; padding-left: 60px; } .timeline-content { width: 100%; } .timeline-marker { left: 20px; } }

/* ========== BENEFICIARIES SLIDER ========== */
.beneficiaries-slider-section { padding: 80px 24px; background: var(--white); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; color: var(--deep-blue); margin-bottom: 10px; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.slider-container { position: relative; max-width: 1100px; margin: 0 auto; overflow: hidden; }
.slider-track { display: flex; transition: transform 0.4s ease; }
.beneficiary-slide { flex: 0 0 calc(100% / 3); padding: 0 10px; box-sizing: border-box; }
.beneficiary-card { background: var(--light); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.05); display: flex; flex-direction: column; height: 100%; transition: transform 0.3s; }
.beneficiary-card:hover { transform: translateY(-4px); }
.beneficiary-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.beneficiary-card .info { padding: 18px 16px; flex: 1; display: flex; flex-direction: column; }
.beneficiary-card .info h3 { color: var(--deep-blue); margin-bottom: 6px; font-size: 1.2rem; }
.beneficiary-card .info .story { color: var(--text-light); font-size: 0.9rem; line-height: 1.5; flex: 1; }
.beneficiary-card .info .read-more { margin-top: 12px; color: var(--accent-green); font-weight: 600; font-size: 0.9rem; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.beneficiary-card .info .read-more:hover { text-decoration: underline; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: white; border: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 4px 12px rgba(0,0,0,0.15); cursor: pointer; z-index: 2; font-size: 1.2rem; color: var(--deep-blue); transition: 0.2s; }
.slider-btn:hover { background: var(--accent-green); color: white; }
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 25px; }
.slider-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; cursor: pointer; transition: background 0.2s; }
.slider-dots .dot.active { background: var(--accent-green); }
@media (max-width: 900px) { .beneficiary-slide { flex: 0 0 50%; } }
@media (max-width: 600px) { .beneficiary-slide { flex: 0 0 100%; } .slider-btn { width: 36px; height: 36px; font-size: 1rem; } }

/* ========== PAST EVENTS ========== */
.past-events-section { background: var(--light); padding: 60px 24px; text-align: center; }
.past-events-section h3 { font-size: 2rem; color: var(--deep-blue); margin-bottom: 30px; }
.events-list { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; max-width: 900px; margin: 0 auto 25px; }
.event-card { background: white; border-radius: 12px; padding: 18px 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.04); flex: 1 1 200px; max-width: 250px; text-align: left; border-left: 4px solid var(--accent-green); }
.event-card .event-date { color: var(--red); font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; }
.event-card .event-title { font-weight: 700; color: var(--deep-blue); margin-bottom: 6px; }
.event-card .event-desc { color: var(--text-light); font-size: 0.85rem; }
.btn-outline { display: inline-block; padding: 10px 24px; border: 2px solid var(--accent-green); color: var(--accent-green); border-radius: 30px; text-decoration: none; font-weight: 600; transition: 0.2s; }
.btn-outline:hover { background: var(--accent-green); color: white; }

/* ========== MAIN GOALS ========== */
.main-goals-section { padding: 80px 24px; background: var(--white); }
.main-goals-section .section-header { margin-bottom: 50px; }
.goals-grid { display: flex; flex-wrap: wrap; gap: 30px; max-width: 1200px; margin: 0 auto; justify-content: center; }
.goal-card { flex: 1 1 350px; background: var(--light); border-radius: 20px; padding: 30px 25px; box-shadow: 0 8px 20px rgba(0,0,0,0.04); text-align: left; border-top: 5px solid var(--accent-green); display: flex; flex-direction: column; }
.goal-card .goal-icon { font-size: 2.5rem; color: var(--accent-green); margin-bottom: 16px; }
.goal-card h3 { font-size: 1.8rem; color: var(--deep-blue); margin-bottom: 10px; }
.goal-card .goal-desc { color: var(--text-light); margin-bottom: 20px; font-size: 1rem; line-height: 1.5; }
.donation-areas { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.donation-area-item { display: flex; gap: 12px; align-items: flex-start; }
.donation-area-item i { color: var(--accent-green); font-size: 1.2rem; margin-top: 2px; }
.donation-area-item strong { display: block; color: var(--deep-blue); margin-bottom: 4px; }
.donation-area-item span { color: var(--text-light); font-size: 0.9rem; }

/* ========== FINAL CTA ========== */
.final-cta-donate { background: linear-gradient(135deg, var(--deep-blue) 0%, var(--blue) 100%); padding: 100px 24px; text-align: center; color: white; }
.final-cta-donate h2 { font-size: 2.8rem; margin-bottom: 20px; }
.final-cta-donate p { font-size: 1.2rem; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ========== FOOTER ========== */
.site-footer { background: var(--deep-blue); color: #d4e2f0; padding: 48px 24px 24px; margin-top: auto; }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; }
.footer-col { flex: 1; min-width: 200px; }
.footer-col h3 { color: white; font-size: 1.1rem; margin-bottom: 16px; padding-bottom: 12px; position: relative; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--accent-green); border-radius: 3px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #c4d6e4; text-decoration: none; }
.footer-col ul li a:hover { color: white; }
.footer-col p { margin-bottom: 12px; line-height: 1.5; }
.footer-social-icons { display: flex; gap: 12px; margin-top: 12px; }
.footer-social-icons .social-icon-link { background: rgba(255,255,255,0.1); width: 38px; height: 38px; }
.footer-social-icons .social-icon-link:hover { background: white; color: #1877f2; }
.footer-bottom { max-width: 1200px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); text-align: center; font-size: 0.9rem; color: #a0b9ce; }
.footer-bottom a { color: var(--accent-green); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
@media (max-width: 768px) { .footer-container { flex-direction: column; gap: 28px; } }

/* ===== BREADCRUMB ===== */
.breadcrumb { max-width: 1280px; margin: 0 auto; padding: 12px 24px; background: transparent; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; padding: 0; }
.breadcrumb li { font-size: 0.9rem; color: #475569; }
.breadcrumb li a { color: #0a4b78; text-decoration: none; font-weight: 500; }
.breadcrumb li a:hover { text-decoration: underline; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 6px; color: #27ae60; font-weight: 600; }
.breadcrumb li [aria-current="page"] { color: #e63946; font-weight: 600; }
@media (max-width: 480px) { .breadcrumb li { font-size: 0.8rem; } }

/* ===== FLOATING CLOCK ===== */
.floating-clock { position: fixed; left: 12px; top: 50%; transform: translateY(-50%); z-index: 990; background: #0a2e4a; color: white; padding: 10px 14px; border-radius: 40px; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,0.25); font-family: 'Segoe UI', system-ui, sans-serif; min-width: 90px; }
.fc-time { display: block; font-size: 1.3rem; font-weight: 800; letter-spacing: 1px; color: #ffffff; }
.fc-date { display: block; font-size: 0.7rem; color: #27ae60; margin-top: 2px; white-space: nowrap; }
.floating-clock::after { content: ''; position: absolute; bottom: 0; left: 10%; width: 80%; height: 3px; background: linear-gradient(to right, #e63946, #27ae60, #799aaf); border-radius: 0 0 20px 20px; }
@media (max-width: 480px) { .floating-clock { left: 6px; padding: 8px 10px; min-width: 75px; } .fc-time { font-size: 1.1rem; } .fc-date { font-size: 0.65rem; } }

/* ===== FLOATING EMAIL ===== */
.floating-email { position: fixed; left: 20px; bottom: 120px; z-index: 998; display: flex; align-items: center; gap: 0; background: #0a2e4a; color: white; border-radius: 50px; padding: 12px; text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,0.2); transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2); overflow: hidden; white-space: nowrap; }
.floating-email .email-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #27ae60; color: white; font-size: 1.3rem; flex-shrink: 0; transition: background 0.3s; }
.floating-email .email-label { max-width: 0; opacity: 0; margin-left: 0; font-weight: 600; font-size: 0.95rem; transition: max-width 0.4s ease, opacity 0.3s ease, margin-left 0.4s ease; overflow: hidden; }
.floating-email.expanded { padding-right: 20px; background: #0a4b78; }
.floating-email.expanded .email-icon { background: #e63946; }
.floating-email.expanded .email-label { max-width: 200px; opacity: 1; margin-left: 12px; }
.floating-email.expanded:hover { background: #0a2e4a; transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.3); }
@media (max-width: 600px) { .floating-email { left: 12px; bottom: 80px; } .floating-email .email-icon { width: 38px; height: 38px; font-size: 1.1rem; } .floating-email.expanded .email-label { font-size: 0.85rem; margin-left: 8px; } }

/* ===== BANK ACCOUNTS ===== */
.bank-accounts { padding: 70px 24px; background: var(--white); }
.bank-container { max-width: 900px; margin: 0 auto; text-align: center; }
.bank-header { margin-bottom: 40px; }
.bank-header h2 { font-size: 2.2rem; font-weight: 800; color: var(--deep-blue); margin-bottom: 10px; }
.bank-header h2 span { color: var(--accent-green); }
.bank-header p { color: var(--text-light); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.bank-card { background: white; border-radius: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.04); padding: 30px 25px; margin-bottom: 30px; border-top: 6px solid var(--accent-green); transition: transform 0.3s, box-shadow 0.3s; }
.bank-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
.bank-title { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 8px; color: var(--deep-blue); }
.bank-title i { font-size: 1.8rem; color: var(--accent-green); }
.bank-title h3 { font-size: 1.5rem; font-weight: 700; margin: 0; }
.account-name { display: inline-block; background: var(--light); color: var(--deep-blue); font-weight: 600; padding: 8px 20px; border-radius: 30px; font-size: 0.95rem; margin-bottom: 20px; margin-top: 5px; }
.bank-table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.bank-table th, .bank-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #e2e8f0; }
.bank-table th { background: var(--light); color: var(--deep-blue); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.3px; }
.bank-table td { color: var(--text-light); font-size: 1rem; }
.account-number { font-family: 'Consolas', 'Courier New', monospace; font-weight: 700; color: var(--deep-blue) !important; letter-spacing: 0.5px; user-select: all; }
@media (max-width: 600px) { .bank-accounts { padding: 50px 16px; } .bank-card { padding: 20px 16px; } .bank-table th, .bank-table td { padding: 10px 12px; font-size: 0.85rem; } .bank-title h3 { font-size: 1.3rem; } }

/* ===== POPUP STYLES (Dayspring Heart Care theme) ===== */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 46, 74, 0.75);   /* deep‑blue with transparency */
  backdrop-filter: blur(4px);            /* soft blur (modern browsers) */
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;                        /* so popup never touches screen edges */
}

.popup-overlay.show {
  display: flex;
}

.popup-box {
  background: linear-gradient(145deg, #0a2e4a 0%, #113a56 100%);
  color: #ffffff;
  padding: 32px 28px 28px;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  animation: popupFadeIn 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  border-bottom: 4px solid #27ae60;     /* accent‑green bottom line */
}

/* Close button (×) */
.popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.2s;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

/* Text inside popup */
.popup-box p {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}

/* Contact link */
.popup-box a {
  color: #27ae60;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.popup-box a:hover {
  color: #2ecc71;
  border-bottom-color: #2ecc71;
}

/* Subtle animation */
@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile: make it cozy */
@media (max-width: 480px) {
  .popup-box {
    padding: 28px 20px 24px;
  }
  .popup-box p {
    font-size: 0.95rem;
  }
}