/* ThemeFisher-inspired NGO charity theme */
:root {
    --primary: #1e5f9e;
    --primary-dark: #154770;
    --accent: #2d9f4f;
    --accent-dark: #1f7a3a;
    --dark: #0f1923;
    --dark-soft: #1a2a38;
    --text: #4a5568;
    --text-dark: #1a202c;
    --light: #f7f9fc;
    --border: #e8edf3;
    --shadow: 0 10px 40px rgba(15, 25, 35, 0.08);
    --shadow-hover: 0 20px 50px rgba(30, 95, 158, 0.15);
    --radius: 6px;
    --radius-lg: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.navbar-brand .brand-name {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-dark);
}

/* Top bar */
.top-bar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8125rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar a:hover { color: var(--accent); }

.top-bar .social-link {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
}

.top-bar .social-link:hover {
    background: var(--accent);
    color: #fff !important;
}

/* Navbar */
.navbar {
    padding: 0.85rem 0;
    background: #fff !important;
    box-shadow: 0 1px 0 var(--border);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-brand .brand-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    border: 1px solid var(--border);
    overflow: hidden;
    padding: 2px;
}

.navbar-brand .brand-logos {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar-brand .brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.navbar-brand .brand-icon-secondary {
    width: 48px;
    height: 48px;
}

.navbar-brand .brand-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary) !important;
    line-height: 1.2;
}

.navbar-brand .brand-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    color: var(--text);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-link {
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    color: var(--text-dark) !important;
    padding: 0.5rem 0.9rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.btn-donate-nav {
    background: var(--accent) !important;
    border: none;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1.35rem !important;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-donate-nav:hover {
    background: var(--accent-dark) !important;
    color: #fff !important;
}

/* Announcement */
.announcement-bar {
    background: var(--accent);
    color: #fff;
    font-size: 0.875rem;
    padding: 0.65rem 0;
    font-weight: 500;
}

/* Hero — photo background, image-forward NGO layout */
.hero-section {
    min-height: 92vh;
    background-color: #0f1923;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Left scrim for text readability — photo stays visible on the right */
    background: linear-gradient(
        90deg,
        rgba(10, 18, 28, 0.88) 0%,
        rgba(10, 18, 28, 0.72) 42%,
        rgba(10, 18, 28, 0.35) 68%,
        rgba(10, 18, 28, 0.15) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 5.5rem 0 4.5rem;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-photo-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    border: 4px solid rgba(255, 255, 255, 0.9);
}

.hero-photo-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.hero-logo-badge {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    padding: 10px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    border: 3px solid var(--accent);
}

.hero-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
}

.hero-trust-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.hero-label {
    display: inline-block;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
    border-left: 3px solid var(--accent);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-section h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-section .lead {
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 520px;
    font-weight: 400;
}

.btn-hero-primary {
    background: var(--accent);
    border: 2px solid var(--accent);
    color: #fff;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.btn-hero-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.btn-hero-outline {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    background: transparent;
}

.btn-hero-outline:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

/* Stats counter strip */
.stats-strip {
    background: var(--primary);
    padding: 3.5rem 0;
    margin-top: -1px;
    position: relative;
    z-index: 3;
}

.stats-strip .stat-item {
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.stats-strip .stat-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stats-strip .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stats-strip .stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    font-weight: 500;
}

/* Section headers - ThemeFisher pattern */
.section-padding { padding: 5.5rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 1rem;
}

.bg-light-section { background: var(--light); }

/* Who We Are / about image stack */
.about-image-stack {
    position: relative;
    padding-bottom: 2rem;
    padding-right: 2rem;
}

.about-image-stack .about-image-main {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.about-image-stack .about-image-float {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 6px solid #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-experience-badge {
    position: absolute;
    top: 1.5rem;
    left: -1rem;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1rem 1.4rem;
    text-align: center;
    box-shadow: 0 12px 30px rgba(45, 159, 79, 0.35);
}

.about-experience-badge .years {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-experience-badge .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.section-title.text-start { text-align: left; }

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.about-feature i {
    color: var(--accent);
    font-size: 1.15rem;
}

/* Cause card image tags */
.cause-img { position: relative; text-decoration: none; }

.cause-img-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius);
    z-index: 2;
}

.cause-img-tag-green { background: var(--accent); }

/* Service / action cards */
.service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    height: 100%;
}

.service-card .service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: rgba(30, 95, 158, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
}

.service-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.service-card .service-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.service-card .service-link:hover { color: var(--primary); }

/* Founder / about block */
.founder-block {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.founder-block .founder-img-wrap {
    position: relative;
    min-height: 320px;
    background: var(--primary);
}

.founder-block .founder-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.founder-block .founder-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 25, 35, 0.5), transparent);
}

.founder-block .founder-body {
    padding: 2.5rem;
}

.founder-block .founder-name {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

/* Cause / program cards */
.cause-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 100%;
}

.cause-card .cause-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.cause-card .cause-img-overlay {
    display: none;
}

.cause-card .cause-img-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.cause-card .cause-body {
    padding: 1.5rem;
}

.cause-card h5 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.cause-card .btn-cause {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.cause-card .btn-cause:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Blog cards */
.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 100%;
}

.blog-card .blog-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-card .blog-date {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--accent);
    color: #fff;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius);
}

.blog-card .blog-body { padding: 1.5rem; }

.blog-card .blog-meta {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-card-ngo {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    height: 100%;
    position: relative;
}

.testimonial-card-ngo .quote-icon {
    font-size: 2.5rem;
    color: rgba(30, 95, 158, 0.12);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial-card-ngo .stars { color: #f5a623; font-size: 0.85rem; }

.testimonial-card-ngo .author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Partners */
.partner-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA banner */
.cta-banner {
    background: var(--dark);
    padding: 5rem 0;
    position: relative;
}

.cta-banner h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); }

/* Newsletter */
.newsletter-box {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--border);
}

/* Page banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 5rem 0 4rem;
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 71, 112, 0.92), rgba(30, 95, 158, 0.85));
}

.page-banner .container { position: relative; z-index: 2; }

.page-banner h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.breadcrumb-idea { background: transparent; padding: 0; margin: 0 0 1rem; justify-content: center; }

.breadcrumb-idea .breadcrumb-item a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }

.breadcrumb-idea .breadcrumb-item.active { color: #fff; }

.breadcrumb-idea .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.45); }

/* Footer */
.site-footer {
    background: var(--dark);
    color: #9aa8b8;
    padding-top: 4rem;
}

.site-footer h5, .site-footer h6 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.site-footer a {
    color: #9aa8b8;
    text-decoration: none;
    font-size: 0.9rem;
}

.site-footer a:hover { color: var(--accent); }

.site-footer .footer-brand-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1rem;
}

.site-footer .footer-logos {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.site-footer .footer-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    margin-top: 3rem;
    font-size: 0.85rem;
}

/* Utility buttons */
.btn-idea-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    padding: 0.625rem 1.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-idea-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.btn-idea-secondary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    padding: 0.625rem 1.75rem;
    font-weight: 600;
}

.btn-idea-secondary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.btn-idea-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.btn-idea-outline:hover {
    background: var(--primary);
    color: #fff;
}

.text-idea-blue { color: var(--primary) !important; }
.text-idea-green { color: var(--accent) !important; }
.bg-idea-blue { background: var(--primary) !important; }
.bg-idea-green { background: var(--accent) !important; }
.bg-idea-blue-light { background: rgba(30, 95, 158, 0.08); }
.bg-idea-green-light { background: rgba(45, 159, 79, 0.08); }

.idea-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    background: #fff;
}

.program-icon {
    width: 56px;
    height: 56px;
    background: rgba(30, 95, 158, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--primary);
}

.gallery-thumb {
    height: 200px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .hero-section { min-height: auto; }
    .hero-content { padding: 4rem 0 2rem; }
    .hero-overlay {
        background: linear-gradient(180deg, rgba(10, 18, 28, 0.82) 0%, rgba(10, 18, 28, 0.55) 100%);
    }
    .hero-photo-frame img { height: 280px; }
    .hero-visual { margin-top: 2rem; padding-bottom: 2.5rem; }
    .stats-strip .stat-number { font-size: 2rem; }
}
