/* Core Styling Variables & Layout Definitions */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    overflow-x: hidden;
}

.container {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.bg-light { background-color: #f7f9fc; }
.section-padding { padding: 55px 0; }
.text-blue-light { color: #64b5f6; }
.text-green-light { color: #81c784; }

/* 1. Header Contact Strip */
.top-header-strip {
    background-color: #011d3a;
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
}
.strip-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-meta span { margin-right: 15px; }
.social-meta { display: flex; align-items: center; gap: 12px; }
.social-meta a { color: #ffffff; text-decoration: none; }
.top-donate-btn { background-color: #2e7d32; padding: 4px 12px; border-radius: 4px; font-weight: bold; }

/* 2. Main Fixed Sticky Navbar Navigation */
.main-navigation-bar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.app-logo { display: flex; align-items: center; gap: 10px; }
.app-logo img { max-height: 52px; }
.app-logo-text { font-size: 18px; font-weight: 800; color: #03346e; letter-spacing: 0.3px; }
.navigation-links ul { display: flex; list-style: none; gap: 18px; align-items: center; }
.navigation-links a { text-decoration: none; color: #444; font-weight: bold; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.navigation-links a.active-link, .navigation-links a:hover { color: #03346e; border-bottom: 2px solid #03346e; }
.login-nav-btn {
    background: linear-gradient(135deg, #03346e, #0076f5);
    color: #ffffff !important;
    padding: 9px 15px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(3, 52, 110, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.login-nav-btn:hover,
.login-nav-btn.active-link {
    color: #ffffff !important;
    border-bottom: none !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(3, 52, 110, 0.25);
}
.header-login-btn {
    background: linear-gradient(135deg, #03346e, #0076f5);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(3, 52, 110, 0.2);
}
.header-login-btn:hover {
    transform: translateY(-1px);
}
.login-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 20, 43, 0.72);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}
.login-modal-overlay.open {
    display: flex;
}
.login-modal {
    width: min(100%, 420px);
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    position: relative;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}
.login-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: #667085;
}
.login-modal-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.login-modal-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #03346e, #0076f5);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-modal-brand h3 {
    margin: 0 0 2px;
    color: #03346e;
    font-size: 18px;
}
.login-modal-brand p {
    margin: 0;
    font-size: 13px;
    color: #667085;
}
.login-modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.login-modal-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #344054;
    font-weight: 600;
}
.login-modal-label input {
    padding: 10px 12px;
    border: 1px solid #d0d7e2;
    border-radius: 8px;
    font-size: 14px;
}
.login-modal-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}
.forgot-password-link {
    color: #0076f5;
    text-decoration: none;
    font-size: 13px;
}
.login-modal-submit {
    background: #2e7d32;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}
.login-modal-status {
    margin: 0;
    font-size: 12px;
    color: #667085;
}
.login-page-body {
    background: linear-gradient(135deg, #f3f8ff 0%, #e8f3ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.login-card {
    background: #ffffff;
    width: min(100%, 420px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(3, 52, 110, 0.14);
}
.login-card h1 {
    font-size: 24px;
    color: #03346e;
    margin-bottom: 8px;
}
.login-card p { color: #667085; margin-bottom: 20px; line-height: 1.5; }
.login-brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.login-brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #03346e, #0076f5);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.login-brand-name { font-size: 16px; color: #03346e; }
.login-brand-subtitle { font-size: 12px; margin: 0; color: #667085; }
.login-form { display: flex; flex-direction: column; gap: 12px; }
.login-form input {
    padding: 12px 14px;
    border: 1px solid #d0d7e2;
    border-radius: 8px;
    font-size: 14px;
}
.login-form button {
    background: #2e7d32;
    color: #ffffff;
    border: none;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}
.login-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    color: #03346e;
    text-decoration: none;
    font-weight: bold;
}
.auth-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border: 1px solid #d0d7e2;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
    font-weight: 600;
    text-decoration: none;
    color: #111827;
    background: #ffffff;
}
.auth-option-btn.google { color: #d93025; }
.auth-option-btn.facebook { color: #1877f2; }
.login-section-context {
    font-size: 12px;
    text-align: center;
    color: #667085;
    margin-top: 10px;
}
.login-meta {
    font-size: 12px;
    text-align: center;
    color: #667085;
    margin-top: 14px;
}

.page-shell {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5faff 0%, #eef7ff 100%);
    padding: 32px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-card {
    background: #ffffff;
    width: min(100%, 560px);
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(3, 52, 110, 0.14);
    padding: 30px;
}
.page-card h1 {
    font-size: 26px;
    color: #03346e;
    margin-bottom: 10px;
}
.page-card p {
    color: #556070;
    line-height: 1.6;
    margin-bottom: 14px;
}
.page-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}
.page-form input,
.page-form select,
.page-form textarea {
    padding: 12px 14px;
    border: 1px solid #d7e1ea;
    border-radius: 8px;
    font-size: 14px;
}
.page-form button {
    background: #2e7d32;
    color: #ffffff;
    border: none;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}
.page-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #03346e;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 16px;
}
.page-highlight {
    background: #f0f7ff;
    border-left: 4px solid #0076f5;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: #03346e;
    margin-bottom: 16px;
}

/* 3. Hero Layout Showcase Viewport */
.hero-showcase {
    background: linear-gradient(135deg, #022347 50%, #03346e 100%);
    color: #ffffff;
    padding: 60px 0;
}
.hero-split-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 35px; }
.hero-left-text h1 { font-size: 32px; line-height: 1.3; margin-bottom: 15px; }
.hero-left-text p { font-size: 15px; margin-bottom: 25px; opacity: 0.9; line-height: 1.5; }

.hero-cta-group { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 25px; }
.btn-cta { text-decoration: none; padding: 10px 16px; font-size: 12.5px; font-weight: bold; color: white; border-radius: 4px; }
.btn-solid-blue { background-color: #0076f5; }
.btn-solid-green { background-color: #2e7d32; }
.btn-solid-teal { background-color: #00695c; }

.video-story-trigger { margin-top: 15px; }
.play-btn-link { color: white; text-decoration: none; font-weight: bold; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.play-icon-circle { width: 36px; height: 36px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.hero-right-media img { width: 100%; border-radius: 6px; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

/* 4. Dashboard Key Metrics Counters Panel */
.impact-metrics-row { background: #ffffff; padding: 30px 0; border-bottom: 2px solid #edf2f7; }
.section-badge-heading { font-size: 18px; color: #03346e; font-weight: bold; margin-bottom: 35px; text-transform: uppercase; letter-spacing: 0.5px; }
.metrics-flex-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; }
.metric-block i { font-size: 26px; color: #ff9100; margin-bottom: 6px; }
.metric-block h3 { font-size: 20px; color: #03346e; font-weight: bold; }
.metric-block p { font-size: 12px; color: #666; font-weight: 500; }

/* 5. Split About Frame Area */
.about-split-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-left-graphic img { width: 100%; border-radius: 6px; }
.main-panel-title { font-size: 20px; color: #03346e; margin-bottom: 15px; font-weight: bold; }
.about-right-info p { font-size: 14.5px; line-height: 1.6; color: #555; margin-bottom: 20px; }
.about-mini-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.mini-badge { background: #f0f4f8; padding: 8px; border-radius: 4px; font-size: 12.5px; font-weight: bold; color: #03346e; }
.btn-read-more { background: #03346e; color: white; border: none; padding: 10px 18px; border-radius: 4px; font-weight: bold; cursor: pointer; }

/* 6. Focus Tiles Grid System */
.focus-8-matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-top: 20px; }
.focus-tile { background: white; border: 1px solid #e2e8f0; padding: 20px 10px; border-radius: 6px; }
.focus-tile i { font-size: 24px; color: #03346e; margin-bottom: 8px; }
.focus-tile h3 { font-size: 13px; color: #444; }

/* 7. Column Card Showcase Grid */
.section-header-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.btn-outline-blue { background: transparent; border: 2px solid #03346e; color: #03346e; padding: 8px 16px; border-radius: 4px; font-weight: bold; cursor: pointer; }
.programs-3-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.program-card { background: white; border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; }
.program-card img { width: 100%; height: 180px; object-fit: cover; }
.p-card-body { padding: 20px; }
.p-card-body h3 { font-size: 16px; color: #03346e; margin-bottom: 8px; }
.p-card-body p { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 15px; }
.p-learn-link { text-decoration: none; color: #2e7d32; font-weight: bold; font-size: 13px; }

/* 8. Split Calendar Feeds Layout Frame */
.split-feed-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 35px; }
.feed-title { font-size: 16px; color: #03346e; font-weight: bold; }
.view-link-sm { text-decoration: none; font-size: 12px; font-weight: bold; color: #03346e; }
.event-strip-item { display: flex; align-items: center; background: white; padding: 12px; border-radius: 6px; margin-bottom: 12px; gap: 15px; border: 1px solid #e2e8f0; }
.date-badge { background: #f0f4f8; text-align: center; padding: 8px; border-radius: 4px; min-width: 65px; border-left: 3px solid #ff9100; }
.date-badge h3 { font-size: 18px; color: #03346e; }
.date-badge span { font-size: 9px; font-weight: bold; color: #555; }
.event-meta-info { flex-grow: 1; }
.event-meta-info h4 { font-size: 13.5px; color: #333; margin-bottom: 4px; }
.event-meta-info p { font-size: 11px; color: #666; }
.btn-register-sm { background: #03346e; color: white; border: none; padding: 6px 12px; font-size: 11px; font-weight: bold; border-radius: 4px; cursor: pointer; text-decoration: none; display: inline-block; }
.focus-tile-link { text-decoration: none; color: inherit; display: block; }

.news-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.news-box-item img { width: 100%; border-radius: 4px; }
.news-box-item span { font-size: 10px; color: #888; display: block; margin: 6px 0; }
.news-box-item h4 { font-size: 12.5px; color: #333; line-height: 1.4; margin-bottom: 8px; }
.news-box-item a { font-size: 11.5px; text-decoration: none; color: #03346e; font-weight: bold; }

/* 9. Endorsements & Stories Blocks */
.testimonials-flex-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.testimonial-card { background: #ffffff; border: 1px solid #e2e8f0; padding: 20px; border-radius: 6px; text-align: center; }
.testimonial-card img { border-radius: 50%; margin-bottom: 10px; }
.testimonial-card p { font-size: 13px; font-style: italic; color: #555; margin-bottom: 12px; }
.testimonial-card h4 { font-size: 14px; color: #03346e; }
.testimonial-card span { font-size: 11px; color: #777; }

.brands-footer-strip { background: white; padding: 25px 0; border-top: 1px solid #eee; }
.brands-flex-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; align-items: center; }
.brands-flex-row img { max-height: 35px; filter: grayscale(100%); opacity: 0.6; }

/* 10. Call to Action System */
.action-banner-strip { background: #011d3a; color: white; padding: 40px 0; }
.action-banner-strip h2 { font-size: 22px; margin-bottom: 8px; }
.action-banner-strip p { font-size: 14px; opacity: 0.85; margin-bottom: 20px; }
.action-btn-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.footer-cta-btn { text-decoration: none; padding: 12px 22px; color: white; font-weight: bold; border-radius: 4px; font-size: 13.5px; }
.bg-green { background: #2e7d32; }
.bg-blue { background: #0076f5; }
.bg-orange { background: #d84315; }

/* 11. Core Deep Footer Base Matrix */
.app-base-footer { background: #011226; color: #aac2db; font-size: 13.5px; padding-top: 40px; border-top: 4px solid #ff9100; }
.footer-four-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; padding-bottom: 35px; }
.app-base-footer h3 { color: white; font-size: 14.5px; margin-bottom: 18px; border-bottom: 1px solid #142a42; padding-bottom: 6px; }
.app-base-footer p { margin-bottom: 8px; line-height: 1.4; }
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 8px; }
.footer-nav-list a { color: #aac2db; text-decoration: none; }
.footer-nav-list a:hover { color: white; }
.subscribe-form-box { display: flex; margin-top: 10px; }
.subscribe-form-box input { padding: 8px; border: none; border-radius: 4px 0 0 4px; width: 70%; }
.subscribe-form-box button { background: #2e7d32; color: white; border: none; padding: 8px; font-size: 11px; font-weight: bold; border-radius: 0 4px 4px 0; cursor: pointer; }
.footer-copyright { border-top: 1px solid #142a42; padding: 20px 0; font-size: 12px; }

/* --- INTERSECTION SCROLL EFFECTS CONFIGURATION --- */
.reveal-left { opacity: 0; transform: translateX(-35px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal-right { opacity: 0; transform: translateX(35px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal-bottom { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal-active { opacity: 1; transform: translate(0, 0); }

@media (max-width: 768px) {
    .hero-split-layout, .about-split-panel, .split-feed-layout, .news-split-grid { grid-template-columns: 1fr !important; }
}
/* Core Styling & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    overflow-x: hidden;
}

/* TOP BAR */
.top-bar {
    background-color: #051d3b;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 6%;
    font-size: 13px;
}
.top-info span { margin-right: 20px; }
.top-info i, .top-social i { color: #14a362; margin-right: 6px; }
.top-social a { color: #ffffff; margin-left: 12px; text-decoration: none; transition: 0.3s; }
.top-social a:hover { color: #14a362; }
.donate-btn { background-color: #14a362; padding: 5px 15px; border-radius: 4px; font-weight: bold; margin-left: 15px !important; }

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 6%;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}
.logo-circle { width: 52px; height: 52px; border-radius: 50%; background-color: #051d3b; color: #ffffff; display: flex; justify-content: center; align-items: center; font-size: 26px; margin-right: 12px; }
.logo-area { display: flex; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { max-height: 52px; display: block; }
.logo-title { font-size: 18px; font-weight: 800; color: #03346e; line-height: 1.2; }
.footer-brand-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-brand-link img { max-height: 42px; display: block; }
.footer-brand-text { font-size: 16px; font-weight: 800; color: #03346e; line-height: 1.2; }
.logo-text h2 { color: #051d3b; font-size: 20px; font-weight: 800; letter-spacing: 0.5px; }
.logo-text p { color: #14a362; font-size: 11px; font-weight: bold; margin-top: -3px; }
.logo-text span { font-size: 9.5px; color: #666; display: block; }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 24px; }
.nav-links a { text-decoration: none; color: #333333; font-weight: 700; font-size: 13px; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: #14a362; }

/* HERO HERO SECTION WITH BLUR ACCENT BACKGROUND */
.hero-banner {
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.88)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 80px 15%;
}
.hero-content h1 { font-size: 42px; color: #051d3b; font-weight: 800; }
.hero-content .highlight { color: #14a362; }
.hero-content h2 { font-size: 21px; color: #051d3b; margin-top: 12px; font-weight: 600; }
.decorator-line { margin: 15px 0; color: #14a362; display: flex; justify-content: center; align-items: center; }
.decorator-line span { width: 55px; height: 1px; background-color: #14a362; margin: 0 10px; }
.hero-content p { font-size: 14.5px; color: #555555; max-width: 820px; margin: 0 auto; line-height: 1.65; }

/* HEADERS */
.section-header { display: flex; justify-content: center; align-items: center; margin: 45px 0 35px 0; }
.section-header h2 { color: #051d3b; font-size: 23px; font-weight: 700; margin: 0 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.side-line { width: 35px; height: 2px; background-color: #14a362; }

/* PROGRAMS GRIDS Layout */
.programs-section { padding: 10px 6% 50px 6%; }
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }

/* SMOOTH HOVER EFFECT CARD */
.program-card {
    background: #ffffff;
    border: 1px solid #edf1f4;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.01);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.program-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(5, 29, 59, 0.12); }
.card-icon { width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 15px auto; display: flex; justify-content: center; align-items: center; color: #ffffff; font-size: 19px; }

/* Distinct Icon Colors */
.bg-blue { background-color: #1a5276; }
.bg-green { background-color: #27ae60; }
.bg-orange { background-color: #e67e22; }
.bg-purple { background-color: #8e44ad; }
.bg-lightgreen { background-color: #2ecc71; }
.bg-magenta { background-color: #c0392b; }
.bg-teal { background-color: #16a085; }
.bg-navy { background-color: #2980b9; }

.program-card h3 { font-size: 15px; color: #051d3b; font-weight: 700; }
.card-tagline { font-size: 12px; color: #666; font-style: italic; margin: 4px 0 12px 0; }
.program-card ul { list-style: none; text-align: left; margin-bottom: 20px; }
.program-card ul li { font-size: 13px; color: #444; padding: 6px 0; border-bottom: 1px dashed #f5f5f5; }
.program-card ul li::before { content: "› "; color: #14a362; font-weight: bold; font-size: 15px; }
.learn-more-btn { text-decoration: none; color: #1a5276; font-size: 13px; font-weight: bold; transition: 0.2s; }
.learn-more-btn:hover { color: #14a362; }

/* IMPACT STATS CSS */
.impact-section { background-color: #f8fafc; padding: 40px 6% 60px 6%; }
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 25px; text-align: center; }
.impact-item { background: white; padding: 20px; border-radius: 6px; border: 1px solid #edf2f7; transition: 0.3s; }
.impact-item:hover { transform: translateY(-3px); }
.impact-icon { font-size: 22px; color: #14a362; margin-bottom: 6px; }
.impact-item h3 { font-size: 24px; color: #051d3b; font-weight: 800; }
.impact-item p { font-size: 13px; color: #555; margin-top: 2px; }

/* MISSION GRID */
.mission-section { padding: 55px 10%; text-align: center; background: #ffffff; }
.mission-section h2 { color: #051d3b; font-size: 25px; font-weight: 800; }
.mission-subtitle { color: #14a362; font-weight: bold; font-size: 15px; margin: 4px 0 12px 0; }
.mission-desc { color: #666; font-size: 14px; max-width: 740px; margin: 0 auto 35px auto; }
.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; }
.action-btn { border: 1px solid #e2e8f0; padding: 15px; border-radius: 6px; cursor: pointer; transition: 0.3s; }
.action-btn:hover { background-color: #f8fafc; border-color: #14a362; transform: scale(1.03); }
.action-btn i { font-size: 19px; color: #14a362; margin-bottom: 6px; display: block; }
.action-btn span { font-size: 11px; font-weight: bold; color: #051d3b; line-height: 1.2; display: inline-block; }

/* FOOTER MODULE */
.main-footer { background-color: #051d3b; color: #ffffff; padding: 50px 6% 20px 6%; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.brand-col h3 { font-weight: 800; line-height: 1.2; }
.brand-col p { font-size: 13px; color: #bdc3c7; margin-top: 12px; line-height: 1.6; }
.footer-col h4 { font-size: 14px; margin-bottom: 18px; border-left: 3px solid #14a362; padding-left: 10px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: #bdc3c7; text-decoration: none; font-size: 13px; transition: 0.2s; }
.footer-col ul a:hover { color: #14a362; padding-left: 4px; }
.footer-col p { font-size: 13px; color: #bdc3c7; margin-bottom: 10px; }
.footer-col i { margin-right: 8px; color: #14a362; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 35px; padding-top: 20px; font-size: 12px; color: #95a5a6; }
/* CSS STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeInUp 1s ease-out forwards;
}

/* Top Header */
.top-header {
    background-color: #002147;
    color: white;
    padding: 10px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-header a { color: white; text-decoration: none; margin-right: 15px; }
.donate-btn { background-color: #28a745; padding: 5px 15px; border-radius: 4px; font-weight: bold; }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.nav-links { display: flex; list-style: none; }
.nav-links li { margin: 0 15px; }
.nav-links a { text-decoration: none; color: #333; font-weight: 600; transition: 0.3s; }
.nav-links a.active, .nav-links a:hover { color: #28a745; }

/* Hero Section */
.hero {
    display: flex;
    padding: 60px 50px;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}
.hero-text { max-width: 50%; }
.hero-text h1 { font-size: 45px; color: #002147; }
.hero-text h1 span { color: #28a745; }
.hero-text h2 { font-size: 20px; color: #555; margin: 15px 0; font-weight: 400; }
.hero-buttons .btn { padding: 12px 24px; margin-right: 10px; border: none; font-weight: bold; border-radius: 4px; cursor: pointer; transition: 0.3s; display: inline-block; text-decoration: none; text-align: center; }
.hero-buttons .btn:hover { transform: scale(1.05); }
.btn-green { background: #28a745; color: white; }
.btn-blue { background: #002147; color: white; }
.btn-outline { border: 1px solid #333; background: transparent; }

.hero-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; max-width: 45%; }
.hero-img-box { overflow: hidden; border-radius: 8px; }
.hero-gallery img { width: 100%; height: 150px; object-fit: cover; transition: 0.5s; }
.hero-gallery img:hover { transform: scale(1.1) rotate(2deg); }

/* Stats Bar */
.stats-bar {
    background: #002147;
    color: white;
    padding: 40px 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item i { font-size: 32px; color: #28a745; margin-bottom: 10px; }
.stat-item h3 { font-size: 28px; margin-bottom: 5px; }

/* Categories */
.section-title { text-align: center; margin: 50px 0 20px; color: #002147; }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 50px; }
.category-card { background: white; padding: 35px 20px; text-align: center; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: 0.3s; cursor: pointer; }
.category-card:hover { transform: translateY(-10px); background: #28a745; color: white; }
.category-card:hover i { color: white; }
.category-card i { font-size: 35px; color: #002147; margin-bottom: 15px; transition: 0.3s; }

/* Main Section Layout */
.main-container { display: flex; padding: 50px; gap: 40px; }
.events-column { flex: 2.5; }
.sidebar-column { flex: 1; }
.column-title { color: #002147; margin-bottom: 25px; font-size: 24px; position: relative; }

/* Event Cards */
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.event-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.event-img-container { position: relative; }
.event-card img { width: 100%; height: 220px; object-fit: cover; }
.date-badge { position: absolute; top: 15px; left: 15px; background: #002147; color: white; padding: 8px 12px; border-radius: 4px; text-align: center; font-weight: bold; }
.date-badge span { display: block; font-size: 10px; }
.event-details { padding: 20px; }
.event-details h3 { font-size: 18px; margin-bottom: 15px; color: #002147; }
.event-details p { font-size: 14px; margin-bottom: 8px; color: #555; }
.btn-register { width: 100%; background: #28a745; color: white; border: none; padding: 10px; font-weight: bold; border-radius: 4px; cursor: pointer; margin-top: 15px; }

/* Sidebar Widgets */
.sidebar-box { background: white; padding: 25px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 30px; }
.sidebar-box h3 { color: #002147; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 15px; }
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; text-align: center; font-size: 14px; }
.active-day { background: #28a745; color: white; border-radius: 50%; padding: 5px; }

.today-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.live-dot { width: 12px; height: 12px; background: red; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.upcoming-dot { width: 12px; height: 12px; background: orange; border-radius: 50%; }

/* Featured Events Grid */
.featured-section { padding: 0 50px 50px; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.featured-card { position: relative; border-radius: 8px; overflow: hidden; height: 200px; }
.featured-card img { width: 100%; height: 100%; object-fit: cover; }
.featured-overlay { position: absolute; bottom: 0; background: rgba(0,33,71,0.85); color: white; width: 100%; padding: 15px; text-align: center; font-weight: bold; }

/* Photo Gallery Filters */
.gallery-filters { text-align: center; margin-bottom: 30px; }
.filter-btn { padding: 10px 20px; margin: 5px; border: none; background: #e0e0e0; cursor: pointer; border-radius: 4px; font-weight: bold; }
.filter-btn.active, .filter-btn:hover { background: #28a745; color: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; padding: 0 50px; }
.gallery-item { border-radius: 8px; overflow: hidden; display: block; transition: 0.4s ease; }
.gallery-item img { width: 100%; height: 180px; object-fit: cover; }

/* Testimonials Slide Animation */
.testimonials-section { background: #002147; color: white; padding: 60px 50px; text-align: center; margin-top: 50px; }
.testimonial-slide { max-width: 700px; margin: 0 auto; display: none; }
.testimonial-slide.active { display: block; animation: fadeInUp 0.5s ease; }
.testimonial-slide p { font-style: italic; font-size: 18px; margin-bottom: 20px; }
.testimonial-slide img { border-radius: 50%; margin-bottom: 10px; }

/* Partners & Footer */
.partners-bar { text-align: center; padding: 40px; background: white; }
.partner-logos img { max-height: 40px; margin: 0 20px; filter: grayscale(100%); transition: 0.3s; }
.partner-logos img:hover { filter: grayscale(0); }

footer { background: #00152e; color: #bbb; padding: 60px 50px 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h4 { color: white; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #bbb; text-decoration: none; }
.newsletter input { padding: 10px; border: none; width: 70%; border-radius: 4px 0 0 4px; }
.newsletter button { padding: 10px; border: none; background: #28a745; color: white; width: 30%; border-radius: 0 4px 4px 0; cursor: pointer; }
.footer-bottom { text-align: center; border-top: 1px solid #002552; margin-top: 40px; padding-top: 20px; font-size: 13px; }

/* High Security Admin Panel */
.admin-panel-card {
    background: linear-gradient(135deg, #001f3f 0%, #0c2461 100%);
    color: white;
    border-radius: 18px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 16px 40px rgba(0, 33, 71, 0.2);
    margin-bottom: 30px;
}
.admin-panel-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}
.admin-panel-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: white;
}
.admin-panel-content p {
    margin-bottom: 14px;
    color: #dfefff;
}
.admin-panel-btn {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 12px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}
.admin-panel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.25);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero, .main-container { flex-direction: column; }
    .hero-text, .hero-gallery { max-width: 100%; }
    .stats-bar, .categories-grid, .featured-grid, .gallery-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .stats-bar, .categories-grid, .featured-grid, .gallery-grid, .footer-grid, .events-grid { grid-template-columns: 1fr; }
    .admin-panel-card { flex-direction: column; text-align: center; }
}
/* EXTENSION FOR JOIN US PAGE - CSS */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Modifications */
.main-hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.btn-orange { background: #f07e13; color: white; }
.btn-red { background: #dc3545; color: white; }
.btn-navy { background: #0c2461; color: white; }
.btn-purple { background: #6f42c1; color: white; }
.btn-teal { background: #20c997; color: white; }
.btn-pink { background: #e83e8c; color: white; }
.btn-dark-green { background: #198754; color: white; }

/* Why Join Us Grid */
.why-join-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 50px;
    margin-bottom: 50px;
}
.why-card {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border-bottom: 3px solid #28a745;
}
.why-card i { font-size: 28px; color: #002147; margin-bottom: 10px; }
.why-card p { font-size: 14px; font-weight: 600; }

/* Ways To Join 8 Cards Grid Layout */
.ways-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 0 50px;
    margin-bottom: 60px;
}
.way-box {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
}
.icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}
.icon-wrap.green { background: #28a745; }
.icon-wrap.blue { background: #002147; }
.icon-wrap.orange { background: #f07e13; }
.icon-wrap.red { background: #dc3545; }
.icon-wrap.purple { background: #6f42c1; }
.icon-wrap.teal { background: #20c997; }
.icon-wrap.pink { background: #e83e8c; }
.icon-wrap.dark-green { background: #198754; }

.way-box h4 { font-size: 16px; color: #002147; margin-bottom: 10px; }
.way-box p { font-size: 13px; color: #666; margin-bottom: 15px; min-height: 40px; }
.way-box ul { list-style: none; margin-bottom: 20px; flex-grow: 1; }
.way-box ul li { font-size: 13px; margin-bottom: 6px; color: #444; }
.way-box ul li i { color: #dc3545; font-size: 11px; margin-right: 5px; }
.card-action {
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}
.card-action:hover { opacity: 0.9; transform: translateY(-2px); }

/* Split Metrics & Flow Section */
.split-metrics-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 5px 50px;
    margin-bottom: 60px;
}
.process-block, .metrics-block {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.process-block h3, .metrics-block h3 { color: #002147; margin-bottom: 25px; line-height: 1.3; }
.steps-flow { display: flex; justify-content: space-between; position: relative; }
.step { text-align: center; width: 22%; }
.step .num { width: 35px; height: 35px; background: #28a745; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-weight: bold; }
.step p { font-size: 12px; font-weight: 600; color: #555; }

.metrics-grid-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.m-item { background: #f8f9fa; padding: 15px; border-radius: 6px; text-align: center; }
.m-item h4 { font-size: 24px; color: #28a745; margin-bottom: 5px; }
.m-item p { font-size: 13px; color: #666; }

/* Testimonials Slider Styles */
.testimonials-slider {
    background: #002147;
    color: white;
    padding: 50px;
    text-align: center;
    position: relative;
    margin-bottom: 60px;
}
.t-slide { display: none; max-width: 700px; margin: 0 auto; }
.t-slide.active { display: block; animation: fadeIn 0.5s ease-in-out; }
.t-slide p { font-style: italic; font-size: 16px; margin-bottom: 20px; opacity: 0.9; }
.t-slide img { border-radius: 50%; margin-bottom: 10px; border: 3px solid #28a745; }
.slider-dots { margin-top: 20px; }
.slider-dots .dot { display: inline-block; width: 10px; height: 10px; background: rgba(255,255,255,0.4); margin: 0 5px; border-radius: 50%; cursor: pointer; }
.slider-dots .dot.active { background: #28a745; }

/* Bottom Dual Layout Modules */
.bottom-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 0 50px 60px;
}
.faq-column h3, .form-column h3 { color: #002147; margin-bottom: 15px; }
.accordion-item { background: white; margin-bottom: 10px; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.03); overflow: hidden; }
.accordion-title { padding: 15px; font-weight: 600; color: #333; display: flex; justify-content: space-between; cursor: pointer; background: #fff; }
.accordion-content { padding: 0 15px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fafafa; color: #555; font-size: 14px; }

.form-column form { background: white; padding: 25px; border-radius: 6px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.form-column input, .form-column select, .form-column textarea { width: 100%; padding: 10px; margin-bottom: 12px; border: 1px solid #ddd; border-radius: 4px; outline: none; }
.submit-form-btn { width: 100%; background: #28a745; color: white; padding: 12px; border: none; font-weight: bold; border-radius: 4px; cursor: pointer; }

/* Bottom CTA Links Ribbon */
.footer-cta-strip { background: #002147; color: white; display: flex; justify-content: space-between; align-items: center; padding: 25px 50px; }
.footer-cta-strip h3 { font-size: 18px; }
.cta-btns .btn { padding: 10px 20px; margin-left: 10px; border: none; font-weight: bold; border-radius: 4px; }

/* Animations Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .ways-container, .why-join-grid { grid-template-columns: repeat(2, 1fr); }
    .split-metrics-container, .bottom-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .ways-container, .why-join-grid { grid-template-columns: 1fr; }
    .top-header, .navbar, .hero { padding: 15px; }
}
/* EXTENSION FOR CONTACT US PAGE - CSS */

.contact-main-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    padding: 40px 50px;
}

.sub-heading {
    color: #002147;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
    padding-left: 10px;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    display: flex;
    gap: 15px;
}

.info-card i {
    font-size: 24px;
    color: #28a745;
    margin-top: 3px;
}

.info-card h4 {
    font-size: 14px;
    color: #002147;
    margin-bottom: 5px;
}

.info-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

/* Departments Grid inside Contact */
.dept-title { color: #002147; margin-bottom: 20px; }
.depts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.dept-item {
    background: #ffffff;
    padding: 15px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: 0.3s;
}
.dept-item:hover {
    background: #002147;
    color: white;
    transform: translateY(-3px);
}
.dept-item i { font-size: 20px; color: #28a745; margin-bottom: 8px; }
.dept-item p { font-size: 12px; font-weight: 600; }

/* Contact Form Specifics */
.contact-form-column form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}
.form-row-twin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.send-msg-btn {
    width: 100%;
    background: #28a745;
    color: white;
    padding: 14px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}
.send-msg-btn:hover { background: #218838; }

/* Quick Support Component */
.quick-support { margin-top: 30px; }
.quick-support h4 { color: #002147; margin-bottom: 15px; }
.support-buttons { display: flex; flex-direction: column; gap: 10px; }
.s-btn {
    display: block;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    border-radius: 4px;
    font-size: 13px;
}
.s-btn.phone { background: #002147; }
.s-btn.whatsapp { background: #25d366; }
.s-btn.meeting { background: #f07e13; }

/* Map & Social block Grid */
.map-social-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 0 50px 50px;
}
.social-links-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}
.soc-item {
    padding: 12px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.soc-item.fb { background: #3b5998; }
.soc-item.insta { background: #e1306c; }
.soc-item.link { background: #0077b5; }
.soc-item.yt { background: #ff0000; }

/* Impact Bottom Strip */
.impact-strip {
    background: #f8f9fa;
    padding: 40px 50px;
    text-align: center;
    border-top: 1px solid #eee;
}
.impact-strip h3 { color: #002147; margin-bottom: 30px; }
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.imp-item {
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.imp-item i { font-size: 30px; color: #28a745; margin-bottom: 10px; }
.imp-item h4 { font-size: 26px; color: #002147; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-main-layout, .map-social-container, .info-cards-grid, .impact-grid { grid-template-columns: 1fr; }
    .depts-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ==========================================================================
   ANIMATED SEARCH TRIGGER PAGE STYLES
   ========================================================================== */

.search-page-body {
    background: linear-gradient(135deg, #002147 0%, #001124 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
}

.search-page-wrapper {
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Header Animation */
.search-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    animation: searchSlideDown 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.search-back-btn {
    color: #28a745;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.search-back-btn:hover {
    color: #ffffff;
    transform: translateX(-5px);
}

/* Search Card Container with Scale Animation */
.search-card-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: searchGrowBox 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.search-title-area h1 {
    font-size: 38px;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.search-title-area p {
    color: #b3cbfa;
    font-size: 15px;
    margin-bottom: 35px;
}

/* Input Wrapper & Transitions */
.search-input-group {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.07);
    padding: 8px 10px 8px 22px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    align-items: center;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #28a745;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 25px rgba(40, 167, 69, 0.35);
}

.input-focus-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.main-bar-icon {
    font-size: 20px;
    color: #28a745;
    transition: transform 0.3s ease;
}

.search-input-group:focus-within .main-bar-icon {
    transform: scale(1.15) rotate(10deg);
}

.search-input-group input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
}

.search-input-group input::placeholder {
    color: #8fa5c2;
}

/* Submit Button Hover Ripple Effect */
.search-trigger-submit {
    background: #28a745;
    color: #ffffff;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.search-trigger-submit:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 136, 56, 0.4);
}

/* Suggestions Tags Grid */
.search-suggestions-container {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.suggest-title {
    font-size: 14px;
    color: #8fa5c2;
    font-weight: 600;
}

.suggest-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-item {
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tag-item:hover {
    background: #28a745;
    border-color: #28a745;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Status Alert Box Styling */
.search-alert-box {
    margin-top: 25px;
    font-size: 14px;
    font-weight: 600;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.search-alert-box.show { opacity: 1; }
.search-alert-box.error { color: #dc3545; }
.search-alert-box.success { color: #28a745; }

.search-footer {
    background: rgba(0, 10, 22, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #8fa5c2;
}

/* KEYFRAMES CORE ANIMATIONS */
@keyframes searchSlideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes searchGrowBox {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Media Queries */
@media (max-width: 650px) {
    .search-input-group { flex-direction: column; border-radius: 16px; padding: 15px; }
    .search-trigger-submit { width: 100%; border-radius: 10px; }
    .search-card-box { padding: 30px 20px; }
    .search-title-area h1 { font-size: 28px; }
    .search-suggestions-container { flex-direction: column; }
}
/* ==========================================================================
   ANIMATED DONATE NOW PORTAL STYLES
   ========================================================================== */

.donate-page-body {
    background: #f4f7fa;
    color: #333333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.donate-back-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.donate-back-btn {
    color: #28a745;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s ease;
}

.donate-back-btn:hover {
    color: #002147;
    transform: translateX(-4px);
}

/* Master Grid Card Layout */
.donate-card-wrapper {
    max-width: 1000px;
    width: 90%;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    overflow: hidden;
    animation: donateFadeIn 0.6s ease-out;
}

.donate-left-info {
    background: #002147;
    color: #ffffff;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.donate-left-info h2 {
    font-size: 28px;
    line-height: 1.3;
}

.donate-left-info h2 span {
    color: #28a745;
}

.donate-left-info p {
    color: #bccbe2;
    font-size: 14px;
    line-height: 1.5;
    margin: 20px 0;
}

.secure-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    color: #28a745;
    font-weight: 600;
    margin-bottom: 25px;
}

.secure-badges i {
    margin-right: 5px;
}

.donate-side-img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}

/* Right Interactive Form Area */
.donate-right-form {
    padding: 45px;
}

.donate-right-form h3 {
    color: #002147;
    font-size: 22px;
    margin-bottom: 25px;
}

.donate-field-group {
    margin-bottom: 22px;
}

.donate-field-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #555555;
    margin-bottom: 8px;
}

.donate-field-group select, .custom-amount-wrap input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

/* Preset Buttons Grid */
.amount-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.amt-btn {
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-weight: 700;
    color: #495057;
    cursor: pointer;
    transition: 0.2s ease;
}

.amt-btn:hover, .amt-btn.active {
    background: #002147;
    color: #ffffff;
    border-color: #002147;
}

.custom-amount-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-amount-wrap span {
    position: absolute;
    left: 15px;
    font-weight: 700;
    color: #495057;
}

.custom-amount-wrap input {
    padding-left: 30px;
    font-weight: 700;
    font-size: 16px;
    color: #28a745;
}

/* Forms Input Setup */
#ngo-payment-form input {
    width: 100%;
    padding: 11px;
    margin-bottom: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    outline: none;
}

.form-twin-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.final-payment-btn {
    width: 100%;
    background: #28a745;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
    transition: 0.3s ease;
}

.final-payment-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* ==========================================================================
   ANIMATED MODAL BOX FOR SUCCESS STATE
   ========================================================================== */
.success-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 33, 71, 0.9);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.success-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.success-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-overlay.open .success-card {
    transform: scale(1);
}

.success-icon-animated i {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 20px;
    animation: heartBeat 1s infinite alternate;
}

.success-card h2 { color: #002147; margin-bottom: 12px; }
.success-card p { font-size: 14px; color: #555; margin-bottom: 25px; line-height: 1.4; }

.modal-close-btn {
    background: #002147; color: white; border: none; padding: 10px 25px;
    font-weight: bold; border-radius: 4px; cursor: pointer;
}

.donate-footer {
    background: #001022; color: #8fa5c2; text-align: center; padding: 15px; font-size: 13px;
}

/* ANIMATION KEYFRAMES */
@keyframes donateFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heartBeat {
    to { transform: scale(1.1); }
}

/* Responsive Handling */
@media (max-width: 850px) {
    .donate-card-wrapper { grid-template-columns: 1fr; }
    .donate-left-info { padding: 30px; }
}