:root {
    --deep-blue: #0a2e4a;
    --bright-blue: #1b6b9e;
    --accent-green: #27ae60;
    --red: #e63946;
    --white: #ffffff;
    --light: #f8fafc;
    --text: #1e293b;
    --text-light: #475569;
    --transition: 0.25s ease;
}

* { 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; }

/* ===== HEADER ===== */
.site-header {
    position: sticky; top: 0; z-index: 1000; width: 100%;
    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 the long name can wrap on small screens */
}

.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); }
.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: #ffffff;
     background: red; 
     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 { 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 (320px and below) */
@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; }
}

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    background: url('image4.jpeg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 80px 24px;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 46, 74, 0.7);
    z-index: 0;
}
.page-hero h1,
.page-hero p {
    position: relative;
    z-index: 1;
}
.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== AIMS SECTION ===== */
.aims-section {
    padding: 80px 24px;
    background: var(--white);
}
.container {
    max-width: 1100px;
    margin: 0 auto;
}
.aim-card {
    background: var(--light);
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    border-top: 5px solid var(--accent-green);
    transition: transform 0.2s;
}
.aim-card:hover { transform: translateY(-4px); }
.aim-card:last-child { margin-bottom: 0; }
.aim-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.aim-header i {
    font-size: 2.8rem;
    color: var(--accent-green);
}
.aim-header h2 {
    font-size: 2rem;
    color: var(--deep-blue);
}
.aim-description {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.7;
}
.donation-areas {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.area-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: white;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.area-item i {
    color: var(--accent-green);
    font-size: 1.4rem;
    margin-top: 2px;
}
.area-text strong {
    display: block;
    color: var(--deep-blue);
    margin-bottom: 4px;
    font-size: 1rem;
}
.area-text span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--deep-blue), #113a56);
    text-align: center;
    padding: 60px 24px;
    color: white;
}
.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.cta-btn {
    display: inline-block;
    background: var(--red);
    color: white;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}
.cta-btn:hover { background: #c62828; }

/* ===== FOOTER ===== */
.site-footer { background: var(--deep-blue); color: #d4e2f0; padding: 48px 24px 24px; }
.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; }

@media (max-width: 768px) {
    .page-hero h1 { font-size: 2.2rem; }
    .aim-header h2 { font-size: 1.6rem; }
    .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 EMAIL BUTTON ===== */
.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; }
}