 /* ---------- TOP HEADER ---------- */
.top-header {
    background: #ffe7b8;
    padding: 6px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3000;
}

.header-left, .header-center, .header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Social Icons */
.social-icons a {
    color: #4745e6;
    font-size: 20px;
    margin-left: 12px;
    transition: .3s;
}

.social-icons a:hover {
    transform: scale(1.15);
    opacity: 0.7;
}

/* ---------- NAVBAR ---------- */
.navbar-area {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 18px rgba(0,0,0,0.06);
    margin-top: 42px;
}

.theme-navbar {
    background: var(--theme-color);
    padding: 10px 22px;
    border-radius: 40px;
    gap: 16px;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
}

/* Buttons */
.theme-btn, .theme-btns {
    padding: 13px 24px !important;
    border-radius: 40px !important;
    font-weight: 600;
    color: #fff !important;
    cursor: pointer;
}

.theme-btn { background: #5abfe9 !important; }
.theme-btns { background: #ff8b00 !important; }

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 768px) {

    .top-header .container-fluid {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }

    .navbar-area {
        margin-top: 95px;  
    }

    .theme-navbar {
        border-radius: 12px;
        padding: 10px;
        gap: 6px;
    }

    .nav-link {
        color: #000 !important;
    }
}


:root {
    --theme-color: #ff8c00;
}

/* HERO */
.hero-img {
    width: 100%;
    max-width: 380px;        
    height: auto;            
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0px 12px 30px rgba(0,0,0,0.15);
    animation: fadeUp 1.2s ease-in-out;
}

.hero .col-lg-6:last-child {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-img {
        max-width: 280px;   
    }
}

/* ABOUT */
.about {
    padding: 75px 0;
    background: #fff;
}

.about-img-box {
    width: 100%;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.10);
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-subtitle {
    color: var(--theme-color);
    font-style: italic;
    font-size: 24px;
}

.about-title {
    font-size: 38px;
    font-weight: 700;
    color: #111;
}

.about-text {
    color: #444;
    font-size: 16px;
}

.icon-box {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: center;
}

.icon-box img {
    width: 36px;
    height: 36px;
}

.icon-text {
    margin: 0;
    color: #555;
}

/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE FIXES */
@media (max-width: 992px) {
    .hero-title {
        font-size: 32px;
    }
    .about-title {
        font-size: 30px;
    }
    .about-img-box {
        height: 280px;
    }
}

:root {
    --site-bg: #ffffff;  /* default */
}

/* Main Background Apply */
.top-header,nav,.header-left, .header-center, .header-right, section, .hero, .about, .program-section, .csr-intro,
.why-partner, .csr-programs, .impact {
    background: var(--site-bg) !important;
}


@media (max-width: 768px) {
    .hero {
        text-align: center;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-text {
        font-size: 15px;
    }
    .about-img-box {
        height: 240px;
    }
}

 /* COUNTER SECTION */
:root {
    --theme-color: #ff8b00;
}

/* =================== COUNTER SECTION =================== */
.donat-counter-section {
    background: #f9f9f9;
    padding: 70px 0;
}

.donat-counter-box {
    background: #fff;
    padding: 35px 20px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.donat-counter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.donat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff3e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: var(--theme-color);
    box-shadow: 0 4px 15px rgba(255,139,0,0.2);
}

.counter-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--theme-color);
}

.counter-text {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

/* =================== CAROUSEL SECTION =================== */
.donat-carousel-section {
    padding: 70px 0;
    background: #f9f9f9;
}

.donat-carousel-wrap {
    max-width: 1150px;
    margin: auto;
    padding: 10px 25px;
}

.donat-carousel-track {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0 15px;
    scroll-behavior: smooth;
}

.donat-carousel-track::-webkit-scrollbar {
    height: 8px;
}

.donat-carousel-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 30px;
    padding: 30px 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    border-top: 6px solid var(--theme-color);
}

.donat-carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.card-icon-circle {
    width: 70px;
    height: 70px;
    background: #fff3e0;
    border-radius: 50%;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--theme-color);
    font-size: 28px;
    box-shadow: 0 5px 16px rgba(255,139,0,0.25);
}

.donat-carousel-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.donat-carousel-card p,
.donat-carousel-card ul {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

.donat-carousel-card ul {
    list-style: none;
    padding-left: 0;
}

@media (max-width: 992px) {
    .donat-carousel-card {
        flex: 0 0 250px;
    }
}

@media (max-width: 768px) {
    .donat-counter-box {
        padding: 25px 15px;
    }
    .counter-number {
        font-size: 36px;
    }
    .donat-carousel-card {
        flex: 0 0 200px;
        padding: 20px 15px;
    }
}

 /* WHAT WE DO / OUR PROGRAMS */
 :root {
    --theme-color: #ff8b00;
}

/* SECTION */
.program-section {
    padding: 70px 15px;
    background: #fffaf3;
    font-family: 'Poppins', sans-serif;
}

.section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #222;
}

.section-sub {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

/* GRID */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* CARD */
.program-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: .3s ease;
    border-top: 6px solid var(--theme-color);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* ICON */
.program-card .icon {
    width: 70px;
    height: 70px;
    background: #fff3e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 32px;
    color: var(--theme-color);
    box-shadow: 0 5px 16px rgba(255,139,0,0.25);
}

/* HEADINGS */
.program-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

/* TEXT */
.program-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* LIST */
.program-card ul {
    padding-left: 18px;
}

.program-card ul li {
    color: #444;
    font-size: 15px;
    margin-bottom: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .program-section {
        padding: 50px 10px;
    }
    .section-title {
        font-size: 28px;
    }
    .section-sub {
        font-size: 14px;
    }
    .program-card {
        padding: 25px 15px;
    }
    .program-card .icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    .program-card h3 {
        font-size: 18px;
    }
    .program-card p, .program-card ul li {
        font-size: 14px;
    }
}


 /* Before Death Foundation */
:root {
    --theme-color: #ff8b00;
    --body-font: 'Poppins', sans-serif;
}

/* GLOBAL */
body {
    font-family: var(--body-font);
    color: #444;
    line-height: 1.7;
}

/* HERO */
.hero {
    background: #fff3e0;
    padding: 90px 15px;
    text-align: center;
}
.hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #222;
}
.hero p {
    font-size: 18px;
    color: #555;
    margin-top: 10px;
}

/* SECTION TITLE */
.section-title {
    font-weight: 800;
    color: #222;
    text-align: center;
    margin-bottom: 1.8rem;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    width: 70px;
    height: 5px;
    background: var(--theme-color);
    display: block;
    margin: 10px auto 0;
    border-radius: 4px;
}

/* CARDS */
.card {
    border-radius: 30px;
    padding: 25px;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.08);
    border: none;
    transition: 0.3s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 12px 35px rgba(0,0,0,0.15);
}

/* CARD TITLE */
.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ICON */
.program-icon {
    width: 55px;
    height: 55px;
    background: #fff3e0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--theme-color);
    font-size: 24px;
    box-shadow: 0 5px 16px rgba(255,139,0,0.25);
}

/* ACCORDION */
.accordion-button {
    font-weight: 600;
    font-size: 18px;
    color: #333;
}
.accordion-button:not(.collapsed) {
    background: #fff7eb;
    color: var(--theme-color);
    border-bottom: 2px solid var(--theme-color);
}
.accordion-button:focus {
    box-shadow: none;
    border-color: var(--theme-color);
}
.accordion-button .program-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
    margin-right: 12px;
}

/* IMPACT LIST */
.impact-list {
    font-size: 16px;
    color: #444;
}
.impact-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}
.impact-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--theme-color);
    font-weight: 700;
}

/* RESPONSIVE */
@media(max-width: 1200px) {
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 16px; }
    .card-title { font-size: 18px; }
}
@media(max-width: 768px) {
    .hero { padding: 60px 10px; }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 15px; }
    .card { padding: 20px; }
    .card-title { font-size: 16px; }
    .accordion-button { font-size: 16px; }
}
@media(max-width: 480px) {
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 14px; }
    .program-icon { width: 40px; height: 40px; font-size: 18px; }
    .accordion-button .program-icon { width: 35px; height: 35px; font-size: 16px; }
}

 /* CTA SECTION */
 :root {
    --theme-color: #ff8b00;
    --body-font: 'Poppins', sans-serif;
}

.cta {
    background: linear-gradient(135deg, var(--theme-color), #ff9d2f);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    font-family: var(--body-font);
}

.cta .section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* CTA BUTTONS */
.btn-custom {
    background: #fff;
    color: var(--theme-color);
    border-radius: 50px;
    font-weight: 700;
    padding: 12px 32px;
    transition: 0.3s ease;
    border: 2px solid #fff;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-custom:hover {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    padding: 12px 32px;
    border: 2px solid #fff;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: 0.3s ease;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--theme-color);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .cta .section-title {
        font-size: 32px;
    }
    .cta p {
        font-size: 16px;
    }
    .cta-buttons .btn {
        padding: 10px 24px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .cta {
        padding: 60px 15px;
    }
    .cta .section-title {
        font-size: 28px;
    }
    .cta p {
        font-size: 14px;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .cta-buttons .btn {
        width: 100%;
        padding: 12px 0;
    }
}
/* Footer */
:root {
    --theme-color: #ff8b00;
    --footer-bg: #111;
    --footer-text: #f8f9fa;
    --footer-accent: #ffc107;
}

/* FOOTER SECTION */
.footer-section {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 30px;
    font-size: 14px;
}

.footer-section a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--footer-accent);
}

/* FOOTER HEADINGS */
.footer-section h5 {
    color: var(--footer-accent);
    font-weight: 600;
    margin-bottom: 20px;
}

/* FOOTER ICONS */
.footer-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--footer-accent);
    color: var(--footer-bg);
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-social:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* LIST STYLE */
.footer-links li {
    margin-bottom: 10px;
}

/* COPYRIGHT */
.footer-section .copyright {
    font-size: 13px;
    color: #ccc;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-section .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .footer-section .col-lg-3, .footer-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    .footer-section .footer-icon, .footer-social {
        margin: 0 auto 10px;
    }
}


 /* About Hero */
 .fade-in {
     opacity: 0;
     animation: fadeInUp 0.9s ease forwards;
 }

 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* TEAM SECTION */
.team-card {
    background: rgba(255,255,255,0.8);
    border-radius: 15px;
    text-align: center;
    padding: 20px;
    backdrop-filter: blur(8px);
    transition: 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    height: 100%;    /* all cards equal height */
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* IMAGE FIX – FULL IMAGE, NO CUT, SAME SIZE AREA */
.team-img {
    height: 250px;          /* same height for all cards */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;    /* full image visible */
    border-radius: 12px;
}

.team-social {
    margin-top: 12px;
}

.team-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    margin: 0 5px;
    border-radius: 50%;
    background: var(--theme-color);
    color: #fff;
    transition: 0.3s;
}

.team-social a:hover {
    background: #000;
}


 /* Hero Title Styling */
 .hero-title {
     font-size: 2.8rem;
     font-weight: 700;
     line-height: 1.3;
 }

 /* Highlight Effect */
 .highlight {
     color: #00a76f;
     background: rgba(0, 167, 111, 0.1);
     padding: 2px 8px;
     border-radius: 6px;
 }

 /* Hero Text */
 .hero-text {
     font-size: 1.05rem;
     line-height: 1.7;
     color: #444;
 }

 /* Image Style */
 /* Make right column image match left column height */
 .hero-img-wrapper {
     height: 100%;
     width: 100%;
     max-height: 100%;
     padding: 0;
     background: white;
     border-radius: 20px;
     overflow: hidden;
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
 }

 .hero-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     border-radius: 20px;
 }

 .hero .row {
     align-items: stretch !important;
     /* force equal column heights */
 }

 /* Color Switcher */
 #switcherToggle {
     position: fixed;
     right: 0;
     top: 50%;
     transform: translateY(-50%);
     padding: 12px 14px;
     border-radius: 8px 0 0 8px;
     font-size: 20px;
     background: var(--theme-color);
     color: #fff;
     cursor: pointer;
     z-index: 999;
     transition: background 0.4s ease;
     box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.2);
 }

 #colorSwitcher {
     width: 260px;
     background: #111;
     color: #fff;
     height: 380px;
     position: fixed;
     right: -260px;
     top: 50%;
     transform: translateY(-50%);
     padding: 20px;
     transition: right 0.4s ease;
     z-index: 1000;
     border-radius: 8px 0 0 8px;
     box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.3);
 }

 #colorSwitcher.open {
     right: 0;
 }

 .switcher-close {
     background: none;
     border: none;
     color: #fff;
     font-size: 26px;
     float: right;
     cursor: pointer;
 }

 .swatch {
     width: 28px;
     height: 28px;
     border-radius: 6px;
     border: 2px solid #fff;
     cursor: pointer;
 }

 .picker-row {
     display: flex;
     align-items: center;
     gap: 10px;
     margin-bottom: 15px;
 }

 .discover-btn {
     background: var(--theme-color);
     color: #fff;
     padding: 10px 22px;
     border-radius: 50px;
     text-decoration: none;
     font-weight: 600;
     transition: background 0.4s ease;
 }

 .discover-btn:hover {
     opacity: 0.85;
 }