﻿.bdf-slider-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
}

.bdf-slider-wrapper::-webkit-scrollbar {
    display: none; /* Chrome */
}

.bdf-tab-box {
    display: inline-block;
    min-width: 260px;
    padding: 20px;
    margin-right: 15px;
    border-radius: 18px;
    text-align: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 0 12px rgba(255, 0, 90, 0.5);
}

    .bdf-tab-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 25px rgba(255, 0, 90, 0.8);
    }

.bdf-tab-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
}

/* ---- GLOBAL TRANSPARENT BACKGROUND ---- */
.gradient-bg {
    background: transparent; /* Removed gradient */
    padding: 70px 0;
    border-radius: 18px;
    box-shadow: none; /* Remove glow shadow if needed */
    color: #000; /* Change text to dark for visibility */
}

/* ---- GLASS/TRANSPARENT CARDS ---- */
.card-custom {
    border: none;
    border-radius: 16px;
    padding: 25px;
    background: linear-gradient(135deg, #0062ff, #00d4ff);
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.5); /* very light transparent */
    backdrop-filter: blur(12px);
    transition: .4s;
    color: #000; /* dark text */
}

    .card-custom:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 15px rgba(0, 150, 255, 0.5);
    }

/* ICON WRAPPER */
.icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    background: rgba(255,255,255,0.2); /* soft transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

/* ANIMATION */
.fade-up {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeUp .9s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

/* TEXT */
.section-title {
    font-weight: 800;
    font-size: 34px;
    color: #000; /* dark text for visibility */
}

a:hover {
    color: #010101;
}
/* ===== BDF STEPS SECTION ===== */

.bdf-steps {
    padding: 60px 0;
}

.bdf-steps-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.bdf-step-card {
    position: relative;
    padding: 35px 25px;
    border-radius: 26px;
    background: #cdebf6;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transition: 0.4s ease;
}

    .bdf-step-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 55px rgba(0,0,0,0.14);
        background: linear-gradient(105deg, rgba(51, 204, 197, 1) 0%, rgba(8, 141, 195, 1) 100%);
        color: white;
    }

    /* Active (first) card */
    .bdf-step-card.active {
        background: linear-gradient(135deg, #00bcd4, #0097a7);
        color: #ffffff;
    }

/* Step Number */
.bdf-step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
}

.step-one {
    background: linear-gradient(135deg, #ff6a00, #ff3d00);
}

.step-two {
    background: linear-gradient(135deg, #ffc800, #ff7a00);
}

.step-three {
    background: linear-gradient(135deg, #7f00ff, #3f51b5);
}

/* Icon */
.bdf-icon {
    font-size: 42px;
    margin: 25px 0 15px;
}

/* Text */
.bdf-step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.bdf-step-card p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
}

/* Button */
.bdf-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 26px;
    border-radius: 25px;
    background: linear-gradient(135deg, #ffcb01, #00b0ff);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

    .bdf-btn:hover {
        background: linear-gradient(135deg, #0091ea, #006064);
    }

/* Responsive */
@media (max-width: 992px) {
    .bdf-steps-container {
        grid-template-columns: 1fr;
    }
}
/* ===== ABOUT US SECTION ===== */

.bdf-about {
    padding: 40px 0;
}

.bdf-about-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* IMAGE */
.bdf-about-image img {
    width: 100%;
    max-width: 520px;
    display: block;
}

/* CONTENT */
.bdf-about-content {
    color: #111;
}

.bdf-subtitle {
    color: #25c7b7;
    font-weight: 700;
    letter-spacing: 1px;
}

.bdf-about-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 12px 0 25px;
}

    .bdf-about-content h2 span {
        color: #00a8c5;
    }

/* STATS */
.bdf-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 25px;
}

    .bdf-stats h3 {
        font-size: 36px;
        color: #00a8c5;
        margin-bottom: 4px;
    }

    .bdf-stats p {
        font-size: 15px;
        color: #444;
    }

/* DESCRIPTION */
.bdf-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 35px;
    text-align: justify;
}

/* BUTTON */
.bdf-about-btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 40px;
    background: linear-gradient(135deg, #32d2c0, #00a8c5);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

    .bdf-about-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0,168,197,0.35);
    }

/* RESPONSIVE */
@media (max-width: 992px) {
    .bdf-about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bdf-stats {
        justify-content: center;
    }

    .bdf-about-image img {
        margin: auto;
    }
}
/* ===== MOBILE VIEW ENHANCEMENTS ===== */
@media (max-width: 768px) {

    /* SECTION SPACING */
    .bdf-steps,
    .bdf-about {
        padding: 40px 15px;
    }

    /* ===== STEPS SECTION ===== */
    .bdf-steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bdf-step-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .bdf-step-number {
        font-size: 16px;
        padding: 6px 16px;
    }

    .bdf-icon {
        font-size: 36px;
        margin: 20px 0 12px;
    }

    .bdf-step-card h3 {
        font-size: 18px;
        line-height: 1.4;
    }

    .bdf-step-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .bdf-btn {
        padding: 10px 22px;
        font-size: 14px;
    }

    /* ===== ABOUT SECTION ===== */
    .bdf-about-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .bdf-about-image img {
        max-width: 90%;
        margin: auto;
    }

    .bdf-about-content h2 {
        font-size: 30px;
        line-height: 1.3;
    }

    .bdf-desc {
        font-size: 15px;
        line-height: 1.7;
    }

    /* STATS */
    .bdf-stats {
        flex-direction: column;
        gap: 18px;
        margin-bottom: 20px;
    }

        .bdf-stats h3 {
            font-size: 32px;
        }

    /* BUTTON */
    .bdf-about-btn {
        padding: 12px 30px;
        font-size: 15px;
    }
}

.header-carousel-item img {
    height: 500px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .header-carousel {
        display: none !important;
    }
}
/* MOBILE CTA BUTTONS */
.mobile-cta {
    display: none;
    padding: 30px 10px;
}

/* Show only in mobile */
@media (max-width: 768px) {
    .mobile-cta {
        display: block;
    }
}

.cta-btn {
    display: block;
    margin: 15px auto;
    padding: 14px 20px;
    width: 85%;
    max-width: 320px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: blinkGlow 1.5s infinite alternate;
}

/* JOIN BUTTON */
.join-btn {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    box-shadow: 0 0 15px rgba(255, 75, 43, 0.8);
}

/* VOLUNTEER BUTTON */
.volunteer-btn {
    background: linear-gradient(135deg, #00c9ff, #92fe9d);
    box-shadow: 0 0 15px rgba(0, 201, 255, 0.8);
}

/* 🔥 Glow + Blink Animation */
@keyframes blinkGlow {
    from {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255,255,255,0.6);
    }

    to {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(255,255,255,1);
    }
}

/* Hover effect */
.cta-btn:hover {
    transform: scale(1.08);
}
