/* ==========================================
   1. RESET & GLOBAL STYLES (বেসিক ও গ্লোবাল সেটআপ)
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-shadow: 0 10px 20px rgba(0,0,0,0.1);
    --hover-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ড্যাশবোর্ড বাটন ও স্টুডেন্ট প্রোফাইল লেআউট CSS */
        .user-nav-profile {
            display: flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            color: #ffffff;
            padding: 6px 16px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
        }
        .user-nav-profile:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(30, 58, 138, 0.3);
            color: #ffffff;
        }
        .user-nav-profile img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #ffffff;
        }

/* --- Right Single Card Design --- */
        .hero-single-card {
            background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
            border-radius: 24px;
            padding: 40px 30px;
            color: #ffffff;
            box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3);
            text-align: center;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .hero-single-card i.main-icon {
            font-size: 50px;
            margin-bottom: 20px;
            background: rgba(255, 255, 255, 0.2);
            width: 90px;
            height: 90px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .hero-single-card h3 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .hero-single-card p {
            font-size: 1rem;
            line-height: 1.5;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 25px;
        }

        .card-action-btn {
            display: inline-block;
            background: #ffffff;
            color: #ea580c;
            padding: 10px 24px;
            border-radius: 50px;
            font-weight: 700;
            text-decoration: none;
            transition: 0.3s;
        }

        .card-action-btn:hover {
            background: #0f172a;
            color: #ffffff;
        }










/* ==========================================
   2. NAVBAR SECTION (নেভিগেশন বার)
   ========================================== */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-box {
    background: #2563eb;
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover { color: #2563eb; }

.btn-auth {
    background: #f97316;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}


/* ==========================================
   3. HERO SECTION (হিরো বা ব্যানার সেকশন)
   ========================================== */
.hero {
    color: white;
    padding: 80px 0 140px;
}

.gradient-bg {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.promo-badge {
    background: rgba(191, 219, 254, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight { color: #fbbf24; }

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: #1d4ed8;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- Hero Image Wrapper & Animation --- */
.img-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulse-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 50%;
    z-index: 1;
    transform: scale(0.9);
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    display: block;
}


/* ==========================================
   4. STATISTICS SECTION (স্ট্যাটিস্টিক্স কার্ড)
   ========================================== */
.stats-container { 
    margin-top: -60px; 
    position: relative; 
    z-index: 10; 
    margin-bottom:20px;
}

.stats-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) and (max-width: 1023px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    font-family: 'Hind Siliguri', sans-serif;
}

.border-blue { 
    border-bottom: 5px solid #3b82f6 !important; 
}

.border-orange { 
    border-bottom: 5px solid #f97316 !important; 
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #1e293b;
}

.stat-card p {
    font-weight: 600;
    color: #64748b;
}

.stat-card:hover {
    transform: translateY(-5px);
}


/* ==========================================
   5. FREE RESOURCES SECTION (ফ্রি রিসোর্স সেকশন)
   ========================================== */
.free-resources {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.free-resources .section-header p {
    color: #94a3b8;
    margin-bottom: 10px;
}

.resource-grid {
    display: grid;
    gap: 30px;
    margin-top: 50px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .resource-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .resource-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ==========================================
   6. COURSES SECTION (কোর্সসমূহ ও কার্ড ডিজাইন)
   ========================================== */
/*.courses { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 60px; }

.underline { width: 80px; height: 4px; background: #f97316; margin: 10px auto; border-radius: 2px; }

.container_course {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #edf2f7;
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
}

.card-banner {
    height: 140px;
    background: #e2e8f0;
}

.card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 15px;
}

.course-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.meta-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: #64748b;
}

.chapter-name {
    color: #1e3a8a;
    font-weight: 600;
}

.card-footer {
    padding: 12px 15px 18px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amount {
    font-size: 19px;
    font-weight: 800;
    color: #1e3a8a;
}

.buy-btn-wrapper {
    background: var(--primary-gradient);
    padding: 1.5px;
    border-radius: 8px;
}

.buy-btn {
    background: #fff;
    color: #1e3a8a;
    padding: 7px 14px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    font-size: 14px;
    transition: 0.3s;
    border: 1px solid #1e3a8a;
}

.buy-btn:hover {
    background: #1e3a8a;
    color: #fff;
}*/



/* ==========================================
   COURSES SECTION STYLING
   ========================================== */
.courses {
    padding: 80px 0;
    background-color: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #1e293b;
    font-weight: 700;
}

.section-header p {
    color: #64748b;
    margin-top: 10px;
    font-size: 1.05rem;
}

.underline {
    width: 70px;
    height: 4px;
    background: #f97316;
    margin: 12px auto 0;
    border-radius: 2px;
}

.container_course {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.course-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.card-banner {
    height: 170px;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.course-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(30, 58, 138, 0.85);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .card-banner img {
    transform: scale(1.08);
}

.card-body {
    padding: 20px;
    flex-grow: 1;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.meta-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
    color: #64748b;
}

.meta-info i {
    color: #3b82f6;
    margin-right: 6px;
}

.chapter-name {
    color: #1e3a8a;
    font-weight: 600;
}

.card-footer {
    padding: 15px 20px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafafa;
}

.amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e3a8a;
}

.buy-btn-wrapper {
    background: var(--primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    padding: 2px;
    border-radius: 10px;
}

.buy-btn {
    background: #fff;
    color: #1e3a8a;
    padding: 8px 18px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.buy-btn:hover {
    background: #1e3a8a;
    color: #fff;
}
/* Smart and Minimal Enrollment Badge */
.enrollment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #64748b;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.enrollment-badge i {
    color: #3b82f6;
    font-size: 0.75rem;
}
/* Mobile Responsiveness Fine-tuning */
@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    .courses {
        padding: 50px 0;
    }
    .container_course {
        padding: 0 15px;
    }
}


/* ==========================================
   MONTHLY CHAMPIONS SECTION STYLING
   ========================================== */
.champions-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

/* Current Exam Banner */
.current-exam-banner {
    max-width: 1000px;
    margin: 0 auto 50px auto;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 16px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15);
}

.exam-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 8px;
}

.exam-info h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.exam-info p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 0;
}

.exam-btn {
    background: #f97316;
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

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

/* Winners Podium Section */
.winners-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 35px;
}

.winners-title i {
    color: #f59e0b;
    margin-right: 8px;
}

.podium-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 25px;
}

.podium-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    width: 300px;
    transition: 0.3s;
}

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

/* Styling for 1st Winner (Highlighted higher/different) */
.podium-card.rank-1 {
    border: 2px solid #f59e0b;
    background: linear-gradient(to bottom, #fffbeb 0%, #fff 40%);
    transform: scale(1.05);
}

.podium-card.rank-1:hover {
    transform: scale(1.05) translateY(-5px);
}

.crown-icon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.rank-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 15px;
}

.rank-1 .rank-badge {
    background: #fef3c7;
    color: #d97706;
}

.rank-2 .rank-badge {
    background: #f1f5f9;
    color: #475569;
}

.rank-3 .rank-badge {
    background: #ffedd5;
    color: #c2410c;
}

.winner-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px auto;
    border: 3px solid #1e3a8a;
}

.rank-1 .winner-img {
    border-color: #f59e0b;
}

.winner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.college-name {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 500;
}

.college-name i {
    color: #2563eb;
    margin-right: 4px;
}

.exam-stats {
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.exam-stats span {
    display: block;
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 3px;
}

.exam-stats strong {
    color: #16a34a;
}

.exam-stats small {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .current-exam-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    .podium-grid {
        flex-direction: column;
        align-items: center;
    }
    .podium-card {
        width: 100%;
        max-width: 350px;
    }
    .podium-card.rank-1 {
        transform: none;
    }
    .podium-card.rank-1:hover {
        transform: translateY(-5px);
    }
}





/* ==========================================
   7. FREE VIDEO LESSONS SECTION (ফ্রি ভিডিও সেকশন)
   ========================================== */
.video-lessons-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    font-family: 'Hind Siliguri', sans-serif;
    color: #ffffff;
    text-align: center;
}

.video-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: start;
}

.main-video-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
}

.video-info {
    text-align: left;
    margin-top: 15px;
    padding: 0 10px;
}

.video-info h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #fff;
}

.video-playlist {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    max-height: 450px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    text-align: left;
    border: 1px solid transparent;
}

.playlist-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.thumb-mini {
    width: 80px;
    height: 50px;
    background: #000;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.playlist-item h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
}

.video-playlist::-webkit-scrollbar { width: 5px; }
.video-playlist::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 10px; }

@media (max-width: 992px) {
    .video-container { grid-template-columns: 1fr; }
    .video-section-title { font-size: 1.8rem; }
}


/* ==========================================
   8. E-CHAPTER SECTION (ডিজিটাল লার্নিং সেন্টার/অধ্যায়সমূহ)
   ========================================== */
.header-section_elearn {
    text-align: center;
    margin-bottom: 50px;
    margin-top:80px;
}

.header-section_elearn h1 {
    font-size: 2.5rem;
    color: #2d3436;
    margin-bottom: 10px;
    font-weight: 700;
}

.header-section_elearn p {
    font-size: 1.1rem;
    color: #636e72;
}

.grid-container_elearn {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.e_chapter-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.e_chapter-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
}

.e_chapter-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: #764ba2;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #764ba2;
    transition: 0.3s;
}

.e_chapter-card:hover .icon-box {
    background: var(--primary-gradient);
    color: #fff;
}

.e_chapter-badge {
    background: #e8f0fe;
    color: #1a73e8;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.e_chapter-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.features-list {
    font-size: 0.95rem;
    color: #636e72;
    line-height: 1.6;
}

.btn-start {
    margin-top: 20px;
    padding: 8px 20px;
    background: #f1f3f4;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.e_chapter-card:hover .btn-start {
    background: #764ba2;
    color: #fff;
}



/* ==========================================
   INSTRUCTOR SECTION STYLING (FIXED)
   ========================================== */
.instructor-section {
    padding: 80px 0;
    background-color: #fff;
}

.instructor-card {
    max-width: 900px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.instructor-img-box {
    position: relative; /* Badge needs this context */
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    border-radius: 50%; /* Make box circular */
    /* REMOVED: overflow: hidden; */ /* This was hiding half the badge */
}

.instructor-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Make image circular */
    border: 4px solid #1e3a8a; /* Border on image directly */
}

.experience-badge {
    position: absolute;
    top: 140px; /* Pull badge upwards and outwards */
    right: -4px; /* Shift to the right of the main image */
    background: #f97316;
    color: #fff;
    width: 60px; /* Slightly increased size for better legibility */
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 5px 12px rgba(0,0,0,0.25); /* Improved shadow */
    line-height: 1;
    z-index: 10; /* Ensure it stays on top */
}

.experience-badge small {
    font-size: 0.6rem;
    font-weight: 400;
}

.instructor-info {
    flex-grow: 1;
}

.instructor-tag {
    background: #e0e7ff;
    color: #1e3a8a;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.instructor-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.instructor-edu {
    color: #475569;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.instructor-edu i {
    color: #2563eb;
    margin-right: 5px;
}

.instructor-bio {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.instructor-socials {
    display: flex;
    gap: 10px;
}

.instructor-socials a {
    width: 38px;
    height: 38px;
    background: #fff;
    color: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: 0.3s;
    border: 1px solid #e2e8f0;
}

.instructor-socials a:hover {
    background: #1e3a8a;
    color: #fff;
}


/* ==========================================
   CTA BANNER SECTION STYLING
   ========================================== */
.cta-banner-section {
    padding: 60px 0;
    background-color: #f8fafc;
}

.cta-card {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.2);
    box-sizing: border-box;
}

.cta-content h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.cta-content p {
    color: #cbd5e1;
    font-size: 1.05rem;
}

.cta-action {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cta-btn-primary {
    background: #f97316;
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    white-space: nowrap;
}

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

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}


/* ==========================================
   MOBILE RESPONSIVENESS
   ========================================== */
@media (max-width: 768px) {
    .instructor-section, .cta-banner-section {
        padding: 40px 15px;
    }
    .instructor-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
    .instructor-socials {
        justify-content: center;
    }
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 25px;
    }
    .cta-action {
        flex-direction: column;
        width: 100%;
    }
    .cta-btn-primary, .cta-btn-secondary {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}







/* ==========================================
   9. FAQ SECTION (সচরাচর জিজ্ঞাসিত প্রশ্নসমূহ)
   ========================================== */
.faq-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 30px;
}

.faq-header h2 {
    font-size: 2rem;
    color: #2d3436;
    font-weight: 700;
}

.faq-container {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
    transition: background 0.3s;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item summary {
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
    color: #444;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    color: #764ba2;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 15px 0 5px;
    color: #636e72;
    line-height: 1.6;
    font-size: 1rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-item:hover {
    background: #fcfcfc;
}


/* ==========================================
   10. FOOTER SECTION (ফুটার সেকশন)
   ========================================== */
.main-footer {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 60px 20px;
    text-align: center;
    margin-top:50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1e293b;
}

.footer-logo span {
    color: #f97316;
}

.footer-text {
    color: #64748b;
    max-width: 450px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.social-link {
    text-decoration: none;
    color: #94a3b8;
    font-size: 1.2rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.social-link.facebook:hover { color: #2563eb; }
.social-link.youtube:hover { color: #dc2626; } 
.social-link.telegram:hover { color: #38bdf8; }

.footer-copy {
    font-size: 0.9rem;
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}


/* ==========================================
   11. GLOBAL RESPONSIVENESS / MEDIA QUERIES
   ========================================== */
@media (max-width: 768px) {
    .hero-grid, .grid-2 { 
        grid-template-columns: 1fr !important; 
        text-align: center; 
    }
    .nav-links { display: none; }
    .hero-btns { justify-content: center; }
    .why-stats { margin-top: 40px; }
    
    .hero-image {
        margin-top: 40px;
        width: 100%;
    }
    .img-wrapper {
        max-width: 100%;
        padding: 0 10px;
    }
    .hero-image img {
        border-radius: 20px;
    }
    .footer-socials {
        flex-direction: column;
        gap: 15px;
    }
}