/* ==========================================
   ০. স্ক্রলবার সম্পূর্ণ হাইড ও লেআউট ফিক্স (Hide Scrollbar)
   ========================================== */
/* স্ক্রলিং চালু থাকবে কিন্তু ডানপাশের বার দেখা যাবে না */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

html, body {
    -ms-overflow-style: none;  /* IE & Edge */
    scrollbar-width: none;  /* Firefox */
    max-width: 100% !important;
    overflow-x: hidden !important; /* ডানে স্ক্রল বা ফাঁকা জায়গা হওয়া পুরোপুরি বন্ধ করবে */
}

/* ==========================================
   ১. ফন্ট এবং গ্লোবাল সেটিংস
   ========================================== */
body {
    font-family: 'Anek Bangla', sans-serif;
}

/* ==========================================
   ২. সেক্টর ১: স্লাইডার স্টাইল (উইডথ রেসপন্সিভ, হাইট ফিক্সড)
   ========================================== */
.hero-slider-section .slider-image {
    width: 100%;             /* উইডথ সবসময় রেসপন্সিভ থাকবে */
    height: 350px;           /* ডেক্সটপের জন্য ফিক্সড হাইট */
    object-fit: cover;       /* ছবি ক্রপ হয়ে সুন্দরভাবে ফিট হবে */
    display: block;
}

/* রেসপন্সিভ ডিভাইস অনুযায়ী হাইট অ্যাডজাস্টমেন্ট */
@media (max-width: 991px) {
    .hero-slider-section .slider-image {
        height: 280px;      /* ট্যাবলেটের জন্য হাইট */
    }
}

@media (max-width: 576px) {
    .hero-slider-section .slider-image {
        height: 200px;      /* মোবাইল স্ক্রিনের জন্য ফিক্সড হাইট */
    }
}

/* ==========================================
   ৩. সেক্টর ২: আমাদের প্রোগ্রামসমূহ স্টাইল
   ========================================== */
.our-programs-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.our-programs-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.programs-header {
    margin-bottom: 40px;
}

.program-tagline {
    color: #ff3131;
    font-weight: 600;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

.main-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
}

/* গ্রিড লেআউট */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* প্রোগ্রাম কার্ড */
.program-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.program-card:hover {
    transform: translateY(-5px);
}

/* গোল আইকন কন্টেইনার */
.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 30px;
}

.card-content {
    flex-grow: 1;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ==========================================
   ৪. কার্ডের ব্যাকগ্রাউন্ড ও আইকন কালারসমূহ
   ========================================== */
.card-light-blue .card-icon { background-color: #e3f2fd; }
.card-light-blue .card-icon i { color: #1565c0; }

.card-light-orange .card-icon { background-color: #fff3e0; }
.card-light-orange .card-icon i { color: #ef6c00; }

.card-light-green .card-icon { background-color: #e8f5e9; }
.card-light-green .card-icon i { color: #2e7d32; }

.card-light-teal .card-icon { background-color: #e0f2f1; }
.card-light-teal .card-icon i { color: #00695c; }

.card-light-yellow .card-icon { background-color: #fffde7; }
.card-light-yellow .card-icon i { color: #fbc02d; }

/* ==========================================
   ৫. কোর্স সেকশন স্টাইল
   ========================================== */
.courses-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.courses-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-tagline {
    color: #ff3131;
    font-weight: 600;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    color: #1a1a1a;
}

/* গ্রিড লেআউট: ডেক্সটপে ৩টি কোর্স */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* কোর্স কার্ড */
.course-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.course-image-wrapper {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .course-image {
    transform: scale(1.05);
}

.course-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.course-description {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ==========================================
   প্রাইস সেকশন (আপডেটেড ও বাটনের উপরে পজিশন)
   ========================================== */
.course-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.65);
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.price-label {
    font-size: 14px;
    font-weight: 600;
    color: #555555;
}

.course-price-badge {
    font-size: 20px; /* প্রাইস সাইজ বড় করা হয়েছে */
    font-weight: 800;
    color: #0d6efd; /* প্রাইসের কালার নীল করা হয়েছে */
    letter-spacing: 0.3px;
}

/* কোর্স ফ্রি থাকলে আকর্ষণীয় সবুজ লুক */
.course-price-badge.free-badge {
    color: #2e7d32;
    background-color: #e8f5e9;
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 16px;
}

.course-btn {
    display: inline-block;
    text-align: center;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.course-btn:hover {
    opacity: 0.9;
    color: #ffffff;
}

.no-courses-found {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #6c757d;
}

/* ==========================================
   ৬. কোর্স সেকশন হেডার ও বাটন স্টাইল
   ========================================== */
.custom-course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
}

.custom-course-header .section-title {
    color: #0d6efd;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.view-all-btn:hover {
    background: linear-gradient(135deg, #0b5ed7, #0a58ca);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.4);
    transform: translateY(-2px);
}

.view-all-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(4px);
}
/* ==========================================
   ৭. রিভিউ সেকশন ও লেআউট (Pure Design)
   ========================================== */
.reviews-section {
    padding: 30px 0;
    background-color: #f8f9fa;
    overflow: hidden;
    width: 100%;
}

.reviews-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

/* দুই পাশের হালকা শেড (Fading Effect) */
.reviews-slider-container::before,
.reviews-slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.reviews-slider-container::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, rgba(248, 249, 250, 0));
}

.reviews-slider-container::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, rgba(248, 249, 250, 0));
}

.reviews-track {
    display: flex;
    gap: 15px;
    width: max-content;
    will-change: transform;
}

/* 
  ডেস্কটপ কার্ড সাইজ
*/
.review-card {
    width: 250px; /* ডেস্কটপ কার্ড উইডথ */
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.25);
}

.reviewer-name {
    font-size: 15px;
    font-weight: 700;
    color: #212529;
    margin: 0;
    line-height: 1.2;
}

.review-stars {
    color: #ffc107;
    font-size: 13px;
    margin-top: 2px;
}

/* টেক্সট রাপিং ও ক্লিপিং */
.review-text {
    font-size: 13.5px;
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================
   ৮. রেসপন্সিভ ব্রেকপয়েন্ট (Mobile & Tablet)
   ========================================== */
@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 22px;
    }

    .course-image-wrapper {
        height: 200px;
    }

    .custom-course-header .section-title {
        font-size: 20px;
    }
    
    .view-all-btn {
        padding: 8px 16px;
        font-size: 13.5px;
    }

    /* মোবাইল স্লাইডার ডিজাইন */
    .reviews-section {
        padding: 20px 0;
    }

    .reviews-slider-container::before,
    .reviews-slider-container::after {
        width: 15px;
    }

    .reviews-track {
        gap: 15px;
    }

    .review-card {
        width: calc(100vw - 40px);
        max-width: 340px;
        padding: 14px 16px;
    }

    .review-text {
        font-size: 13px;
        line-height: 1.5;
        white-space: normal !important;
        word-break: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* ==========================================
   Why Choose Us Section Style
   ========================================== */
.why-choose-us-section {
    padding: 60px 0;
    background-color: #ffffff;
    width: 100%;
}

.why-choose-us-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* সেকশন হেডার */
.why-choose-us-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.why-choose-us-section .section-tagline {
    color: #ff3131;
    font-weight: 600;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

.why-choose-us-section .section-title {
    font-size: 30px;
    font-weight: 800;
    color: #0d6efd;
    margin: 0;
}

/* গ্রিড লেআউট: ডেক্সটপে ৩ কলাম (৩x২ = ৬টি) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ফিচার কার্ড বেসিক স্টাইল */
.feature-card {
    padding: 25px 20px;
    border-radius: 16px;
    border: 1px solid transparent;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* আইকন বেসিক স্টাইল */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px auto;
    font-size: 24px;
    background-color: #ffffff; /* আইকনের ব্যাকগ্রাউন্ড সাদা রাখা হয়েছে যেন ফুটে ওঠে */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    color: #555555;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================
   আলাদা আলাদা হালকা (Pastel) কালার কম্বিনেশন
   ========================================== */

/* কার্ড ১: হালকা প্রিমিয়াম ব্লু */
.feature-card:nth-child(1) {
    background-color: #f0f7ff;
    border-color: #d0e5ff;
}
.feature-card:nth-child(1) .feature-icon {
    color: #0d6efd;
}

/* কার্ড ২: হালকা সফট অরেঞ্জ */
.feature-card:nth-child(2) {
    background-color: #fff8f0;
    border-color: #ffe8cc;
}
.feature-card:nth-child(2) .feature-icon {
    color: #fd7e14;
}

/* কার্ড ৩: হালকা মিন্ট গ্রিন */
.feature-card:nth-child(3) {
    background-color: #f0fdf4;
    border-color: #dcfce7;
}
.feature-card:nth-child(3) .feature-icon {
    color: #198754;
}

/* কার্ড ৪: হালকা পার্পল/বেগুনি */
.feature-card:nth-child(4) {
    background-color: #f8f0ff;
    border-color: #eed5ff;
}
.feature-card:nth-child(4) .feature-icon {
    color: #6f42c1;
}

/* কার্ড ৫: হালকা টিল/সায়ান */
.feature-card:nth-child(5) {
    background-color: #f0fcfc;
    border-color: #ccf5f5;
}
.feature-card:nth-child(5) .feature-icon {
    color: #20c997;
}

/* কার্ড ৬: হালকা পিঙ্ক/রোজ */
.feature-card:nth-child(6) {
    background-color: #fff0f5;
    border-color: #ffd6e5;
}
.feature-card:nth-child(6) .feature-icon {
    color: #d63384;
}

/* ==========================================
   রেসপন্সিভ ব্রেকপয়েন্ট (Mobile)
   ========================================== */
@media (max-width: 768px) {
    /* মোবাইলে ২ কলাম (২x৩ = ৬টি) */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-card {
        padding: 16px 12px;
        border-radius: 12px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .feature-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .feature-desc {
        font-size: 12px;
        line-height: 1.4;
    }

    .why-choose-us-section .section-title {
        font-size: 22px;
    }
}