/* ==========================================================================
   Stats Bar, Top Progress Bar, RC 150 Years Banner & Scroll-Top Stylesheet
   ========================================================================== */

/* ০. টপ স্ক্রল রিডিং প্রগ্রেস বার */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ea580c, #164282);
    z-index: 99999;
    transition: width 0.1s ease-out;
}

/* ১. মূল স্ট্যাটস বার কনটেইনার */
.stats-bar {
    background: var(--surface, #ffffff);
    border-bottom: 1px solid var(--border-light, #e2e8f0);
    padding: 1.6rem 0 2rem;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    transition: transform 0.25s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-blue, #164282);
    line-height: 1.2;
    margin-bottom: 0.25rem;
    font-variant-numeric: tabular-nums;
}

.stat-txt {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ২. রাজশাহী কলেজ ১৫০ বছর পূর্তি ব্যানার কার্ড */
.rc150-card {
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-left: 5px solid #ea580c;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 18px rgba(234, 88, 12, 0.08);
    background: linear-gradient(135deg, #ffffff 60%, #fff7ed 100%);
}

.rc150-img-wrap {
    flex: 0 0 250px;
    max-width: 250px;
    height: 200px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
}

.rc150-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rc150-content {
    flex: 1;
    padding: 1.2rem 1.6rem 1.2rem 0.5rem;
}

/* ব্যাজ ও তারিখ গ্রুপ */
.rc150-badge-group {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.45rem;
}

.rc150-badge {
    display: inline-block;
    background: #ffedd5;
    color: #c2410c;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.rc150-date-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.rc150-date-badge.danger {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.rc150-date-badge.primary {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ৩. লাইভ কাউন্টডাউন টাইমার বক্স */
.rc150-countdown-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #fed7aa;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    margin-bottom: 0.6rem;
    font-size: 0.78rem;
    color: #475569;
}

.countdown-timer {
    color: #c2410c;
    font-weight: 700;
}

.countdown-timer strong {
    font-size: 0.88rem;
    color: #ea580c;
}

/* টাইটেল ও বিবরণ */
.rc150-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: #164282;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.rc150-desc {
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 0.9rem;
}

/* বাটন একশন */
.rc150-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.rc150-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.55rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rc150-btn.primary {
    background: #ea580c;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.3);
}

.rc150-btn.primary:hover {
    background: #c2410c;
    transform: translateY(-2px);
}

.rc150-btn.whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.rc150-btn.whatsapp:hover {
    background: #1eb956;
    transform: translateY(-2px);
}

.rc150-btn.whatsapp svg {
    flex-shrink: 0;
}

/* ৪. স্ক্রল-টু-টপ বাটন */
.scroll-top-btn {
    position: fixed;
    bottom: 22px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #164282;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(22, 66, 130, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

/* ৫. মোবাইল রেসপনসিভ */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .stat-txt {
        font-size: 0.72rem;
    }

    .rc150-card {
        flex-direction: column;
        text-align: center;
        border-left: 1px solid #fed7aa;
        border-top: 4px solid #ea580c;
    }

    .rc150-img-wrap {
        flex: auto;
        max-width: 100%;
        height: 160px;
        padding-top: 1rem;
    }

    .rc150-badge-group {
        justify-content: center;
    }

    .rc150-countdown-box {
        justify-content: center;
        width: 100%;
    }

    .rc150-content {
        padding: 0.8rem 1.1rem 1.3rem;
    }

    .rc150-title {
        font-size: 1.15rem;
    }

    .rc150-desc {
        font-size: 0.83rem;
    }

    .rc150-actions {
        justify-content: center;
    }
}
