body {
    color: var(--text-color);
}

h1, h2, h3 {
    color: var(--heading-color);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
}

a {
    color: var(--primary-color);
}

/* DEFAULT */
body {
    padding-top: 70px; /* navbar height */
}

#mainNavbar {
    top: 0;
    transition: all 0.3s ease;
}



/* =========================
   NAVBAR SYSTEM (CLEAN)
========================= */

/* DEFAULT (TOP) → TRANSPARENT */
#mainNavbar {
    background: transparent;
    transition: all 0.3s ease;
}

/* SCROLLED → SOLID */
#mainNavbar.navbar-scrolled {
    background: var(--accent-color) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
}

/* NAV LINKS */
#mainNavbar .nav-link {
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

#mainNavbar .nav-link:hover {
    color: var(--secondary-color);
}

/* MOBILE FIX */
@media (max-width: 991px) {
    #mainNavbar {
        background: var(--accent-color);
    }
}

/* =========================
   NAV CTA BUTTONS
========================= */

/* PRIMARY (JOIN) */
.btn-nav-primary {
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

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

/* OUTLINE (SIGN IN / PROFILE) */
.btn-nav-outline {
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-nav-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* DONATE */
.btn-donate {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    color: #fff;
}

/* MOBILE FIX */
@media (max-width: 991px) {
    .nav-item .btn {
        width: 100%;
        text-align: center;
    }
}

.footer-section {
    background-color: #28342e;
    color: #FAFAFACC;
}

.footer-title {
    color: #ffffff;
}

.footer-heading {
    color: #ffffff;
    font-weight: 600;
}

.footer-text {
    color: #FAFAFACC;
    font-size: 0.95rem;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #FAFAFACC;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-divider {
    border-color: rgba(255,255,255,0.15);
}

.footer-link {
    color: hsl(145 63% 35%);
    text-decoration: none;
}

.footer-link:hover {
    color: #ffffff;
}
/* HERO BASE */
#hero {
    position: relative;
    margin-top: -80px;
}

.hero-slide {
    height: 100vh;
    min-height: 650px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.65)
    );
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    top: 42%;
    transform: translateY(-50%);
    max-width: 900px;
    opacity: 0;
    animation: heroTextFadeUp 1.2s ease forwards;
}

/* Trigger animation only for active slide */
.carousel-item.active .hero-content {
    animation-delay: 0.6s;
}

/* Text styles */
.hero-badge {
    background: rgba(40, 180, 99, 0.2);
    color: #28b463;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.hero-highlight {
    color: var(--secondary-color);
}

.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 auto 30px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animation */
@keyframes heroTextFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Indicators */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #28b463;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide {
        height: 90vh;
    }

    .hero-text {
        font-size: 1rem;
    }
}
.icon-box {
    width: 48px;
    height: 48px;
    font-size: 22px;
}

.impact-section {
    background-color: var(--secondary-color);
}

.impact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto;
}

.impact-item p {
    opacity: 0.9;
    font-size: 1rem;
}

.event-card img {
    height: 220px;
    object-fit: cover;
}

.event-card {
    transition: all 0.35s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}
.event-image {
    width: 100%;
    height: 220px; /* adjust if needed */
    overflow: hidden;
   
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* 👈 cover */
    object-position: center;  /* 👈 center center */
    display: block;
}

/* Event Hero */
.event-hero {
    height: 420px;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
}

.event-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
}

.event-hero .container {
    padding-top: 200px;
}

/* PAGE HEADER */
.page-header {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    padding: 150px 0 60px;
    color: #fff;
    margin-top: -80px;
}

.page-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin: 12px 0 10px;
}

.page-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
}

.page-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .page-header {
        padding: 55px 0 45px;
    }

    .page-title {
        font-size: 2rem;
    }
}
/* MASONRY GRID */
.masonry-grid {
    column-count: 3;
    column-gap: 1.2rem;
}

@media (max-width: 992px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .masonry-grid {
        column-count: 1;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.2rem;
}

.gallery-img {
    cursor: zoom-in;
    transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

/* LIGHTBOX */
#lightboxModal {
    background: rgba(0,0,0,.85);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.5);
    color: #fff;
    font-size: 3rem;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    z-index: 10;
}

.lightbox-nav.prev { left: 10px; }
.lightbox-nav.next { right: 10px; }

.lightbox-nav:hover {
    background: rgba(0,0,0,.8);
}



/* Leadership Section */
.leadership-card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.leadership-img {
    height: 260px;
    width: 100%;
    object-fit: cover;
    object-position: top; /* ✅ keeps face visible */
    transition: transform 0.4s ease;
}

.leadership-card:hover .leadership-img {
    transform: scale(1.05);
}

.btn-success {
    border-radius: 30px;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

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

/* Button stripe and Paypal */
.payment-btn {
    font-size: 16px;
    font-weight: 600;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stripe */
.stripe-btn {
    background: linear-gradient(135deg, #635bff, #4f46e5);
    color: #fff;
    border: none;
}

.stripe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(99, 91, 255, 0.4);
    color: #FFFFFF;
}

/* PayPal */
.paypal-btn {
    background: linear-gradient(135deg, #0070ba, #003087);
    color: #fff;
    border: none;
}

.paypal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 112, 186, 0.4);
     color: #FFFFFF;
}

/* Notice bar CSS */
.notice-bar {
    position: fixed;
    top: 0;
    width: 100%;
    overflow: hidden;
    z-index: 1050;
    background: var(--primary-color);
    color: #fff;
}

/* Track */
.notice-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%; /* 👈 START FROM RIGHT */
    animation: noticeScroll 35s linear infinite;
}

/* Items */
.notice-item {
    display: inline-block;
    margin-right: 40px;
}

/* Animation */
@keyframes noticeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}




.notice-track {
    display: inline-block;
    animation: scroll-left 40s linear infinite;
}
@media (max-width: 768px) {
    .notice-track {
        animation: scroll-left 60s linear infinite;
    }
}

.notice-item {
    display: inline-block;
    margin-right: 40px;
}

.notice-item a {
    color: #fff;
    text-decoration: none;
}

.notice-item a:hover {
    text-decoration: underline;
}
.notice-track:hover {
    animation-play-state: paused;
}
/* animation */
@keyframes scroll-left {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* =========================
   BOOTSTRAP OVERRIDE (THEME)
========================= */

/* SUCCESS COLOR OVERRIDE */
.bg-success {
    background-color: var(--primary-color) !important;
}

.text-success {
    color: var(--primary-color) !important;
}

.border-success {
    border-color: var(--primary-color) !important;
}

/* BUTTON SUCCESS */
.btn-success {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff;
}

.btn-success:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

/* OUTLINE BUTTON */
.btn-outline-success {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

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


.footer-section {
    background-color: var(--accent-color);
    color: var(--text-color);
}
.btn {
    border-radius: var(--btn-radius);
}
:root {
    --btn-radius: 30px;
    --card-radius: 12px;
}

/* DARK BACKGROUND DETECTED AREAS */
.bg-success,
.page-header,
.navbar,
.footer-section {
    --heading-color: #ffffff;
    --text-color: rgba(255,255,255,0.85);
}

/* LIGHT BACKGROUND */
body {
    --heading-color: {{ $settings->heading_color ?? '#111827' }};
    --text-color: {{ $settings->text_color ?? '#374151' }};
}

/* =========================
   ICON SYSTEM (UNIVERSAL)
========================= */

/* DEFAULT VARIABLES */
:root {
    --icon-bg: var(--secondary-color);
    --icon-color: #ffffff;
    --icon-bg-hover: var(--primary-color);
    --icon-size: 50px;
    --icon-inner-size: 28px;
}

/* ICON CONTAINER */
.icon-circle {
    width: var(--icon-size);
    height: var(--icon-size);
    background-color: var(--icon-bg);
    color: var(--icon-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all 0.3s ease;
}

/* ICON SVG */
.icon-circle svg {
    width: var(--icon-inner-size);
    height: var(--icon-inner-size);
    color: inherit;
}

/* HOVER EFFECT */
.icon-circle:hover {
    background-color: var(--icon-bg-hover);
    transform: translateY(-4px);
}

/* CARD HOVER (NO HARDCODED COLOR) */
.card:hover .icon-circle {
    background-color: var(--icon-bg-hover);
}

.card:hover .icon-circle svg {
    color: #ffffff;
}

/* =========================
   DARK BACKGROUND CONTEXT
========================= */

.bg-success,
.page-header,
.navbar,
.footer-section {
    --icon-bg: rgba(255,255,255,0.12);
    --icon-color: #ffffff;
    --icon-bg-hover: #ffffff;
}

/* Hover fix in dark */
.bg-success .icon-circle:hover,
.page-header .icon-circle:hover,
.navbar .icon-circle:hover {
    color: var(--primary-color);
}

/* =========================
   ICON TYPES (SHARED STYLE)
========================= */

.footer-icon,
.social-icon {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* =========================
   SOCIAL ICON
========================= */

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

/* Social hover */
.social-icon:hover {
    background: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* DARK BG SOCIAL FIX */
.bg-success .social-icon,
.footer-section .social-icon {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
}

.bg-success .social-icon:hover,
.footer-section .social-icon:hover {
    background: #ffffff;
    color: var(--primary-color);
}

