/* ==========================================================================
   Modern Aesthetics for ICIN Website
   ========================================================================== */

/* Import Modern Font: Outfit */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   Design tokens + global polish
   ========================================================================== */

:root {
    --icin-bg: #fbfdff;
    --icin-surface: #ffffff;
    --icin-text: #0f172a;
    --icin-muted: #64748b;
    --icin-border: rgba(15, 23, 42, 0.10);

    --icin-primary: #198754;
    --icin-primary-600: #146c43;
    --icin-primary-100: rgba(25, 135, 84, 0.12);

    --icin-radius-lg: 18px;
    --icin-radius-md: 14px;
    --icin-radius-sm: 12px;

    --icin-shadow-sm: 0 6px 18px rgba(2, 6, 23, 0.06);
    --icin-shadow-md: 0 14px 40px rgba(2, 6, 23, 0.10);
}

body {
    font-family: 'Outfit', sans-serif !important;
    background-color: var(--icin-bg); /* Soft off-white to make cards pop */
    color: #334155;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .heading {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
    color: var(--icin-text);
    letter-spacing: -0.02em;
}

/* Better default text rhythm */
p, li {
    color: #334155;
}
.text-muted {
    color: var(--icin-muted) !important;
}

/* More modern container width on large screens */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ==========================================================================
   Navbar polish
   ========================================================================== */

.navbar.bg-primary {
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

/* Keep menu feeling modern and anchored */
header[role="banner"] .navbar {
    position: sticky;
    top: 0;
    z-index: 1050;
}

/* Make navbar content feel centered + premium (not edge-to-edge) */
header[role="banner"] .navbar > .container,
header[role="banner"] .navbar > .container-fluid {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* More attractive vertical rhythm */
header[role="banner"] .navbar {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

/* Align logo + menu items */
.navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}

.navbar-nav {
    gap: 0.35rem;
    align-items: center;
}

/* Modern mobile menu panel */
.navbar-collapse {
    margin-top: 0.65rem;
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.78);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 16px;
        padding: 0.75rem;
        box-shadow: 0 18px 50px rgba(2, 6, 23, 0.35);
    }
    .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.85rem 0.95rem !important;
    }
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    letter-spacing: 0.2px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
    background: rgba(25, 135, 84, 0.22);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.25) !important;
    border-radius: 12px;
    padding: 0.45rem 0.6rem;
}

/* Fix Logo Size */
.navbar-brand img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}


/* ==========================================================================
   Hero Section Animations
   ========================================================================== */

.home-slider,
.inner-page .slider-item {
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    overflow: hidden;
}

.home-slider {
    box-shadow: 0 26px 70px rgba(2, 6, 23, 0.22);
}

.slider-item {
    position: relative;
}
.slider-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 6, 23, 0.72) 0%,
        rgba(2, 6, 23, 0.25) 55%,
        rgba(2, 6, 23, 0.55) 100%
    );
}
.slider-item .container,
.slider-item .row {
    position: relative;
    z-index: 2;
}

.slider-item .slider-text h1 span,
.slider-item .slider-text h1 {
    color: #ffffff;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.slider-item .slider-text p {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.slider-item .slider-text h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}
.slider-item .slider-text p {
    font-size: 1.1rem;
}

/* Modernize OwlCarousel arrows and dots */
.home-slider .owl-nav {
    opacity: 1 !important;
}
.home-slider .owl-nav button.owl-prev,
.home-slider .owl-nav button.owl-next {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.32);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.home-slider .owl-nav button.owl-prev:hover,
.home-slider .owl-nav button.owl-next:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}
.home-slider .owl-nav button span:before {
    font-size: 20px !important;
    color: #ffffff !important;
}

.home-slider .owl-dots {
    bottom: 18px !important;
}
.home-slider .owl-dots .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    margin: 0 6px !important;
    background: rgba(255, 255, 255, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    transition: transform 0.2s ease, background 0.2s ease;
}
.home-slider .owl-dots .owl-dot.active span {
    transform: scale(1.25);
    background: rgba(255, 255, 255, 0.85) !important;
}

/* Tone down the template's "top-shadow" strip */
.top-shadow {
    display: none;
}

/* The template hides content until Waypoints runs (.element-animate).
   On some mobile browsers this can prevent sections from ever appearing. */
.element-animate {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ==========================================================================
   About page: people cards
   ========================================================================== */

.person-card {
    background: var(--icin-surface);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--icin-radius-lg);
    box-shadow: var(--icin-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}
.person-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(2, 6, 23, 0.12);
    border-color: rgba(25, 135, 84, 0.18);
}
.person-photo {
    width: 92px;
    height: 92px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid rgba(25, 135, 84, 0.18);
    box-shadow: 0 16px 35px rgba(2, 6, 23, 0.14);
}
.person-name {
    font-weight: 600;
    color: var(--icin-text);
    line-height: 1.2;
}
.person-role {
    font-size: 0.95rem;
}

/* About page utilities */
.badge-soft-primary {
    background: rgba(25, 135, 84, 0.10) !important;
    color: var(--icin-primary) !important;
    font-weight: 500;
}

.content-card {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--icin-radius-lg) !important;
    box-shadow: var(--icin-shadow-sm) !important;
}

.list-lg li {
    margin-bottom: 0.35rem;
    line-height: 1.8;
}

.slider-item .slider-text h1 {
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.slider-item .slider-text p {
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile reliability: avoid "invisible hero" if animations are skipped */
@media (max-width: 575.98px) {
    .slider-item {
        min-height: 520px;
        height: 100vh;
    }
    .slider-item .slider-text {
        min-height: 520px;
        height: 100vh;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .slider-item .slider-text h1,
    .slider-item .slider-text p {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Interactive Cards (Vision, Mission, Goals)
   ========================================================================== */

.media.block-6 {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.media.block-6:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.1);
}

.media.block-6 .icon {
    width: 80px;
    height: 80px;
    background: rgba(25, 135, 84, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    transition: transform 0.4s ease, background 0.4s ease;
}

.media.block-6:hover .icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(25, 135, 84, 0.15);
}

.media.block-6 .icon span {
    font-size: 36px;
    color: #198754;
    line-height: 0;
}

.media.block-6 h3.heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.media.block-6 p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Spacing Adjustments */
.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: #f8fafc !important;
}

/* ==========================================================================
   Footer Redesign
   ========================================================================== */

.site-footer {
    background: #0f172a !important; /* Deep modern dark tone */
    color: #94a3b8;
    padding: 5rem 0 3rem 0;
    border-top: 5px solid #198754;
}

.site-footer h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.site-footer p {
    color: #cbd5e1;
}

.footer-link a {
    color: #94a3b8;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-link a:hover {
    color: #198754;
    padding-left: 5px;
    text-decoration: none;
}

/* Social Media Icons */
.footer-social li {
    display: inline-block;
    margin-right: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #198754;
    transform: translateY(-3px);
    padding-left: 0; /* Override generic link hover */
}

/* Buttons Modernization */
.btn {
    font-weight: 500;
    padding: 0.8rem 2rem;
    border-radius: 50px; /* Pill shape */
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.25);
}

.btn-outline-white {
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
    background: white;
    color: #198754 !important;
}

/* Fix Logo Size */
.navbar-brand img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   Accessibility: focus, skip link, reduced motion
   ========================================================================== */

/* Always show a visible keyboard focus indicator */
:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

/* Improve focus visibility for common interactive elements */
.btn:focus-visible,
.nav-link:focus-visible,
.navbar-toggler:focus-visible,
.footer-link a:focus-visible,
.footer-social a:focus-visible,
.form-control:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 191, 71, 0.55), 0 0 0 6px rgba(25, 135, 84, 0.25);
}

/* Skip link becomes visible on focus (Bootstrap has sr-only-focusable too) */
.skip-link {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    z-index: 9999;
    background: #ffffff;
    color: #0f172a;
    padding: 0.6rem 0.9rem;
    border-radius: 0.75rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ==========================================================================
   New Modern NGO Components (Stats, Focus Cards, Projects, CTA Banner)
   ========================================================================== */

/* Navbar Donate CTA Button */
.btn-donate {
    background: linear-gradient(135deg, #198754 0%, #157347 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 0.55rem 1.4rem !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-donate:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.5) !important;
    background: linear-gradient(135deg, #157347 0%, #0e4b2e 100%) !important;
}

/* Hero Badge Pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #20c997;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(32, 201, 151, 0.7);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(32, 201, 151, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(32, 201, 151, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(32, 201, 151, 0);
    }
}

/* Trust Badges */
.trust-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f1f5f9;
    color: #334155;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.trust-badge i {
    color: #198754;
}

/* Statistics Section */
.stats-section {
    position: relative;
    margin-top: -50px;
    z-index: 10;
    padding-bottom: 2rem;
}

.stat-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-center: center;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(25, 135, 84, 0.14);
    border-color: rgba(25, 135, 84, 0.2);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(25, 135, 84, 0.08);
    color: #198754;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.2rem auto;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: #198754;
    color: #ffffff;
    transform: scale(1.1);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.stat-card .stat-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

/* Focus Area Cards Grid */
.focus-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.2rem 1.8rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.focus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(25, 135, 84, 0.12);
    border-color: rgba(25, 135, 84, 0.25);
}

.focus-card .focus-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.12) 0%, rgba(25, 135, 84, 0.04) 100%);
    color: #198754;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.focus-card:hover .focus-icon-box {
    background: #198754;
    color: #ffffff;
    transform: scale(1.05);
}

.focus-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.focus-card p {
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

/* Featured Projects Cards */
.project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.project-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
}

.project-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-location {
    font-size: 0.85rem;
    color: #198754;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.project-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.project-link {
    color: #198754;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease;
}

.project-link:hover {
    gap: 0.75rem;
    color: #146c43;
    text-decoration: none;
}

/* Call to Action Banner */
.cta-banner {
    background: linear-gradient(135deg, #0f172a 0%, #146c43 100%);
    border-radius: 28px;
    padding: 4rem 3rem;
    color: #ffffff;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

/* Section Header styling */
.section-subtitle {
    display: inline-block;
    color: #198754;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-desc {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto;
}

/* Quote / Beneficiary Card */
.quote-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    position: relative;
    height: 100%;
}

.quote-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(25, 135, 84, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-text {
    font-size: 1.05rem;
    color: #334155;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.quote-author {
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.quote-role {
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================================================
   Project Page Specific Styles & Filter System
   ========================================================================== */

/* Category Filter Nav Tabs */
.project-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: #ffffff;
    color: #475569;
    border: 1px solid rgba(15, 23, 42, 0.1);
    padding: 0.55rem 1.35rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.filter-btn:hover {
    color: #198754;
    background: rgba(25, 135, 84, 0.06);
    border-color: rgba(25, 135, 84, 0.25);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #198754;
    color: #ffffff;
    border-color: #198754;
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.28);
}

/* Status Badges */
.badge-status-active {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-status-completed {
    background: rgba(15, 23, 42, 0.08);
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Process Step Card */
.process-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.6rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
}

.process-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(25, 135, 84, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.process-card:hover .process-number {
    color: #198754;
}

/* Gallery Redirect Card */
.gallery-redirect-card {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.08) 0%, rgba(25, 135, 84, 0.02) 100%);
    border: 2px dashed rgba(25, 135, 84, 0.25);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.gallery-redirect-card:hover {
    border-color: #198754;
    background: rgba(25, 135, 84, 0.1);
}

/* ==========================================================================
   Contact Page Modern Components & Interactive Layout
   ========================================================================== */

/* Modern Contact Card Containers */
.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.2rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(25, 135, 84, 0.12);
    border-color: rgba(25, 135, 84, 0.2);
}

.contact-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}
.contact-card:hover .contact-icon-box {
    background: #198754;
    color: #ffffff;
    transform: scale(1.08) rotate(3deg);
}

/* Status Badges */
.status-badge-open {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.5rem;
}
.status-badge-open .dot {
    width: 7px;
    height: 7px;
    background-color: #20c997;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(32, 201, 151, 0.7);
    animation: pulseDot 2s infinite;
}

/* Leadership Contact Cards */
.contact-person-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.8rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.contact-person-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(25, 135, 84, 0.12);
    border-color: rgba(25, 135, 84, 0.2);
}

.person-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.person-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(25, 135, 84, 0.2);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
    flex-shrink: 0;
}
.person-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #0f172a;
}
.person-role-tag {
    font-size: 0.85rem;
    color: #198754;
    font-weight: 600;
    background: rgba(25, 135, 84, 0.08);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    display: inline-block;
}

.contact-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed rgba(15, 23, 42, 0.08);
}
.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f8fafc;
    color: #334155;
    padding: 0.45rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(15, 23, 42, 0.08);
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.contact-chip:hover {
    background: #198754;
    color: #ffffff !important;
    border-color: #198754;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
}
.contact-chip i, .contact-chip span {
    font-size: 0.95rem;
}

/* Modern Form Styling */
.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.06);
}

.form-group-modern {
    margin-bottom: 1.5rem;
    position: relative;
}
.form-group-modern label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
    display: block;
}
.form-group-modern label span.required {
    color: #e11d48;
}

.form-control-modern {
    width: 100%;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    padding: 0.85rem 1.1rem;
    font-size: 0.98rem;
    color: #0f172a;
    transition: all 0.25s ease;
}
.form-control-modern:focus {
    background: #ffffff;
    border-color: #198754;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.15);
    outline: none;
}

select.form-control-modern {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1em;
    padding-right: 2.5rem;
}

/* Submission alert box */
.form-alert-custom {
    display: none;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-alert-custom.show {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.form-alert-success {
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.3);
    color: #146c43;
}
.form-alert-success i {
    font-size: 1.5rem;
    color: #198754;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Map Wrapper & Card */
.contact-map-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.06);
    position: relative;
}

.map-iframe-container {
    width: 100%;
    height: 420px;
    border: 0;
}
.map-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-overlay-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
    max-width: 320px;
    z-index: 5;
}

/* Custom FAQ Accordion */
.faq-accordion .faq-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px !important;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-accordion .faq-card:hover {
    border-color: rgba(25, 135, 84, 0.2);
    box-shadow: 0 10px 25px rgba(25, 135, 84, 0.08);
}

.faq-accordion .faq-header {
    background: transparent;
    padding: 0;
    border: none;
}

.faq-accordion .faq-btn {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-decoration: none !important;
    transition: color 0.2s ease;
}
.faq-accordion .faq-btn:hover {
    color: #198754;
}
.faq-accordion .faq-btn .icon-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.08);
    color: #198754;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}
.faq-accordion .faq-btn[aria-expanded="true"] .icon-toggle {
    transform: rotate(180deg);
    background: #198754;
    color: #ffffff;
}

.faq-accordion .faq-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.7;
}

/* ==========================================================================
   Top Header Utility Bar & Floating Back-To-Top Button
   ========================================================================== */

.top-bar {
    background: #0b1329;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar a:hover {
    color: #20c997;
    text-decoration: none;
}

.top-bar .top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar .top-bar-item i {
    color: #20c997;
    font-size: 0.95rem;
}

.top-bar .verification-chip {
    background: rgba(32, 201, 151, 0.12);
    color: #20c997;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(32, 201, 151, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Floating Back-To-Top Button */
#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    background: #198754;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 10px 25px rgba(25, 135, 84, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: #146c43;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 14px 30px rgba(25, 135, 84, 0.5);
    color: #ffffff;
    text-decoration: none;
}

/* Partners & Community Network Cards */
.partner-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: rgba(25, 135, 84, 0.2);
    box-shadow: 0 12px 30px rgba(25, 135, 84, 0.1);
}

.partner-icon {
    font-size: 2.2rem;
    color: #198754;
    margin-bottom: 0.75rem;
    opacity: 0.88;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.partner-card:hover .partner-icon {
    transform: scale(1.1);
    opacity: 1;
}

.partner-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

/* Mobile Top Bar Optimization */
@media (max-width: 767.98px) {
    .top-bar .top-bar-left {
        text-align: center;
        margin-bottom: 0.3rem;
    }
    .top-bar .top-bar-right {
        text-align: center;
        justify-content: center !important;
    }
}

/* ==========================================================================
   Home Page Photo Gallery Grid & Lightbox Cards
   ========================================================================== */

.gallery-grid-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #ffffff;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    height: 240px;
}

.gallery-grid-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid-card:hover img {
    transform: scale(1.08);
}

.gallery-grid-card .gallery-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.25) 60%, rgba(15, 23, 42, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.4rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-grid-card:hover .gallery-grid-overlay {
    opacity: 1;
}

.gallery-grid-overlay .zoom-badge {
    width: 44px;
    height: 44px;
    background: #198754;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.4);
    transform: translateY(10px);
    transition: transform 0.35s ease;
}

.gallery-grid-card:hover .gallery-grid-overlay .zoom-badge {
    transform: translateY(0);
}

.gallery-grid-overlay .gallery-caption-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.gallery-grid-overlay .gallery-caption-tag {
    color: #20c997;
    font-size: 0.82rem;
    font-weight: 500;
}

/* ==========================================================================
   Redesigned Projects Page - State-of-the-Art Elements
   ========================================================================== */

/* Search & Filter Toolbar */
.projects-toolbar {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem 1.8rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.08);
    margin-bottom: 2.5rem;
}

.search-box-wrapper {
    position: relative;
    width: 100%;
}

.search-box-wrapper .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
    pointer-events: none;
}

.search-input-field {
    width: 100%;
    padding: 0.85rem 1.2rem 0.85rem 3rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #1e293b;
    outline: none;
    transition: all 0.25s ease;
}

.search-input-field:focus {
    background: #ffffff;
    border-color: #198754;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.12);
}

.projects-counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
}

/* Featured Spotlight Project Card */
.spotlight-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #14532d 100%);
    border-radius: 24px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3.5rem;
    position: relative;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.spotlight-image-holder {
    position: relative;
    min-height: 380px;
    height: 100%;
    overflow: hidden;
}

.spotlight-image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.spotlight-card:hover .spotlight-image-holder img {
    transform: scale(1.05);
}

.spotlight-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #198754;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.4);
    z-index: 2;
}

.spotlight-content {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.spotlight-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.spotlight-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.spotlight-desc {
    color: #cbd5e1;
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.spotlight-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 576px) {
    .spotlight-highlights {
        grid-template-columns: 1fr;
    }
}

.spotlight-highlight-item .highlight-val {
    font-size: 1.35rem;
    font-weight: 700;
    color: #4ade80;
    display: block;
}

.spotlight-highlight-item .highlight-lbl {
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Project Card Extras */
.project-card {
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border-color: rgba(25, 135, 84, 0.3);
}

.project-partner-tag {
    font-size: 0.76rem;
    color: #475569;
    background: #f1f5f9;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.project-metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(25, 135, 84, 0.08);
    color: #146c43;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* Empty search state */
.no-projects-found {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.no-projects-found .empty-icon {
    font-size: 3.5rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

/* Pillar Quick Cards */
.pillar-summary-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.8rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
    transition: all 0.3s ease;
    height: 100%;
}

.pillar-summary-card:hover {
    transform: translateY(-5px);
    border-color: rgba(25, 135, 84, 0.25);
    box-shadow: 0 16px 36px rgba(25, 135, 84, 0.08);
}

.pillar-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}


