/* ================= SLIDER STYLES ================= */
.slider-container {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    background-color: #000;
}

.slider {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(11, 73, 157, 0.7);
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 10;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(252, 163, 17, 0.9);
    color: #000;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fca311;
    width: 25px;
    border-radius: 10px;
}

/* Responsive height for Mobile devices */
@media (max-width: 768px) {
    .slide img {
        height: 250px;
    }
    .prev-btn, .next-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}



/* ================= NEWS TICKER STYLES ================= */
.news-ticker-container {
    background-color: #031c44; /* ছবির মতো গাঢ় ব্লু ব্যাকগ্রাউন্ড */
    padding: 10px 0;
    width: 100%;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

.news-ticker-text marquee {
    color: #fca311; /* ছবির মতো ইয়েলো/গোল্ডেন টেক্সট কালার */
    font-size: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
}




/* ================= ABOUT SECTION STYLES ================= */
.about-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left Content */
.about-content {
    flex: 1;
}

.sub-title {
    color: #0b499d;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    border-bottom: 2px solid #fca311;
    padding-bottom: 2px;
    margin-bottom: 10px;
}

.main-title {
    color: #0b499d;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.description {
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #0b499d;
    font-weight: bold;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Stats Counter Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.stat-card {
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stat-card h3 {
    color: #0b499d;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-card p {
    color: #666666;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Right Side Image Frame */
.about-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.framed-img {
    width: 100%;
    max-width: 550px;
    height: 420px;
    object-fit: cover;
    /* রেফারেন্স ছবির মতো টপ-লেফট এবং বটম-রাইট কর্নার কার্ভড ফ্রেম */
    border-radius: 120px 0 120px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ================= RESPONSIVE STYLES ================= */
@media (max-width: 991px) {
    .about-container {
        flex-direction: column;
    }
    
    .about-image-wrapper {
        width: 100%;
    }
    
    .framed-img {
        height: 300px;
        border-radius: 80px 0 80px 0; /* মোবাইলের জন্য কার্ভ কিছুটা ছোট */
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-title {
        font-size: 24px;
    }
}




/* ================= LATEST NEWS STYLES ================= */
.latest-news-section {
    padding: 50px 20px;
    background-color: #f8fafd;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: #0b499d;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 30px;
}

/* Grid Layout */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Card Main Outer Frame */
.news-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Card Header Banner (for Card 3 style) */
.card-header-banner {
    background-color: #ffffff;
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.card-header-banner h4 {
    color: #0b499d;
    font-size: 13px;
    font-weight: bold;
    margin: 0;
}

/* Card Image Wrapper */
.card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Text Content */
.card-content {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.news-title {
    color: #1a202c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-date {
    color: #0b499d;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pagination Dots Below Grid */
.news-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.p-dot {
    width: 8px;
    height: 8px;
    background-color: #cbd5e1;
    border-radius: 4px;
}

.p-dot.active {
    width: 18px;
    background-color: #0b499d;
}

/* View All Button */
.view-all-wrapper {
    margin-top: 10px;
}

.btn-view-all {
    display: inline-block;
    padding: 6px 22px;
    border: 1.5px solid #0b499d;
    color: #0b499d;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background-color: #0b499d;
    color: #ffffff;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 991px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}




/* ================= NOTICE & EVENTS STYLES ================= */
.notice-events-section {
    position: relative;
    padding: 60px 20px;
    background-image: linear-gradient(rgba(10, 35, 75, 0.75), rgba(10, 35, 75, 0.75)), url('../uploads/images/bg1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.notice-events-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* White Card Box Style */
.info-card {
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

/* Header Badge Style */
.card-header-badge {
    background-color: #0b499d;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    padding: 10px 20px;
    display: inline-block;
    align-self: flex-start;
}

/* Card Body Content */
.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex-grow: 1;
}

.notice-item {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}

.notice-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.notice-item h4 {
    color: #1a202c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
    cursor: pointer;
    transition: color 0.2s;
}

.notice-item h4:hover {
    color: #0b499d;
}

.notice-date {
    color: #0b499d;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

/* See More Button Style */
.see-more-wrapper {
    margin-top: auto;
    padding-top: 10px;
}

.btn-see-more {
    display: inline-block;
    padding: 5px 20px;
    border: 1.5px solid #0b499d;
    color: #0b499d;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-see-more:hover {
    background-color: #0b499d;
    color: #ffffff;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 850px) {
    .notice-events-container {
        grid-template-columns: 1fr;
    }
}




/* ================= RANKINGS SECTION STYLES ================= */
.rankings-section {
    padding: 50px 20px;
    background-color: #f4f6f9;
}

.rankings-container {
    max-width: 1200px;
    margin: 0 auto;
}

.rankings-section .section-title {
    color: #0b499d;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
}

.ranking-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.ranking-slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

/* Desktop: 4 items per slide (25% width each) */
.ranking-card {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px;
    box-sizing: border-box;
}

.card-inner {
    background-color: #ffffff;
    border: 1px solid #b0cbef;
    border-radius: 10px;
    padding: 15px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Dots Styling */
.ranking-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
}

.rank-dot {
    width: 7px;
    height: 7px;
    background-color: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rank-dot.active {
    background-color: #1a202c;
    transform: scale(1.3);
}

/* Mobile Responsive: 2 items per slide (50% width each) */
@media (max-width: 768px) {
    .ranking-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .card-inner {
        height: 75px;
        padding: 10px;
    }
}