/* ==========================================
   INDEX PAGE EXCLUSIVE STYLES
   ========================================== */

/* Button Utilities for Index Page */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #0f172a;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: #cbd5e1;
    color: #0f172a;
    background-color: #ffffff;
}

.btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
    background-color: #eff6ff;
}

.btn-outline-light {
    border: 2px solid #2563eb;
    color: #2563eb;
    background-color: #ffffff;
}

.btn-outline-light:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
}

/* ==================== PREMIUM HERO SECTION ==================== */
.hero {
    padding: 90px 0 100px;
    background: #0b0f19; /* ডিপ ব্যাকগ্রাউন্ড */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* ব্যাকগ্রাউন্ড ডায়নামিক নিয়ন গ্লো (Glowing Orbs) */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-text-center {
    max-width: 920px;
    text-align: center;
    margin: 0 auto;
}

/* ==================== PURE CSS TYPING ANIMATION ==================== */
.typing-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #2563eb; /* টাইপিং কার্সর লাইনের কালার */
    vertical-align: bottom;
    animation: 
        typing 4s steps(15, end) infinite,
        blink-cursor 0.75s step-end infinite;
}

/* টাইপিং এবং ডিলিট হওয়ার টাইমিং ও লুপ */
@keyframes typing {
    0% { width: 0; }
    40% { width: 14ch; }   /* টাইপ হয়ে শেষ হবে (১৫টি অক্ষরের স্পেস) */
    80% { width: 14ch; }   /* কিছুক্ষণ থেমে থাকবে */
    100% { width: 0; }     /* আবার মুছে গিয়ে ০ হবে এবং নতুন লুপ শুরু হবে */
}

/* ব্লিংকিং কার্সর ইফেক্ট ( | ) */
@keyframes blink-cursor {
    from, to { border-color: transparent; }
    50% { border-color: #2563eb; }
}

/* গ্লোয়িং ব্যাজ (Badge) */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.12);
    color: #60a5fa;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.badge i {
    color: #3b82f6;
}

/* প্রিমিয়াম হেডিং (Heading) */
.hero-text-center h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.25;
    color: #f8fafc;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

/* হাইলাইট কালার ও গ্রেডিয়েন্ট টেক্সট */
.highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* সাবটাইটেল (Paragraph) */
.hero-text-center p {
    font-size: 19px;
    color: #94a3b8;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
}

/* ==================== SEARCH BOX STYLING ==================== */
.hero-search-box {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    margin-bottom: 35px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input-group {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #64748b;
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #f8fafc;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: rgba(15, 23, 42, 0.8);
}

.search-input option {
    background: #0f172a;
    color: #f8fafc;
}

.search-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.5);
}

/* ==================== QUICK ACTION BUTTONS ==================== */
.hero-action-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #94a3b8;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: #3b82f6;
    color: #60a5fa;
    transform: translateY(-2px);
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0 60px;
    }

    .hero-text-center h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-text-center p {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .search-form {
        flex-direction: column;
        gap: 10px;
    }

    .search-input-group, 
    .search-btn {
        width: 100%;
    }

    .search-btn {
        justify-content: center;
    }

    .hero-action-btns {
        flex-direction: column;
        gap: 10px;
    }

    .btn-secondary, 
    .btn-outline-light {
        width: 100%;
        justify-content: center;
    }
}

/* SEARCH BOX STYLES */
.hero-search-box {
    background: #ffffff;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.12);
    border: 1px solid #e2e8f0;
    margin-bottom: 32px;
}

.search-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-input-group {
    position: relative;
    flex: 1;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-size: 18px;
}

.search-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background-color: #f8fafc;
    color: #0f172a;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-btn {
    padding: 14px 30px;
    border-radius: 10px;
    white-space: nowrap;
}

/* ==================== ACTION BUTTONS GROUP ==================== */
.hero-action-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Base Style for Hero Action Buttons */
.hero-action-btns .btn {
    position: relative;
    padding: 15px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- BUTTON 1: টিউটর রিকোয়েস্ট দিন (আকর্ষণীয় অরেঞ্জ গ্রেডিয়েন্ট) --- */
.hero-action-btns .btn-secondary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4);
}

.hero-action-btns .btn-secondary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(217, 119, 6, 0.6);
    color: #ffffff !important;
}

/* --- BUTTON 2: Become a Tutor (ভাইব্রেন্ট গ্রিন গ্রেডিয়েন্ট) --- */
.hero-action-btns .btn-outline-light {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.hero-action-btns .btn-outline-light:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff !important;
    border-color: #34d399;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.6);
}

/* --- BUTTON SHINE ANIMATION EFFECT --- */
.hero-action-btns .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.35), 
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.75s ease;
    z-index: 2;
}

.hero-action-btns .btn:hover::before {
    left: 140%;
}

/* --- ICON ANIMATION --- */
.hero-action-btns .btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.hero-action-btns .btn-secondary:hover i {
    transform: translateX(4px) rotate(-10deg);
}

.hero-action-btns .btn-outline-light:hover i {
    transform: scale(1.2) rotate(15deg);
}

/* ==================== MOBILE ANIMATION & RESPONSIVE ==================== */
/* মোবাইলের নড়াচড়া (Floating/Pulse) অ্যানিমেশন */
@keyframes mobilePulse {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.015);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 576px) {
    .hero-action-btns {
        flex-direction: column;
        width: 100%;
        gap: 14px;
    }

    .hero-action-btns .btn {
        width: 100%;
        padding: 15px 20px;
    }

    /* প্রথম বাটনটি ২.৫ সেকেন্ড পর পর হালকা নড়বে */
    .hero-action-btns .btn-secondary {
        animation: mobilePulse 2.5s infinite ease-in-out;
    }

    /* দ্বিতীয় বাটনটি একটু সময় পর (ডিলে নিয়ে) নড়বে যাতে সুন্দর একটা ইফেক্ট আসে */
    .hero-action-btns .btn-outline-light {
        animation: mobilePulse 2.5s infinite ease-in-out;
        animation-delay: 1.25s;
    }
}

/* ==================== PREMIUM STATS SECTION ==================== */
.stats {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 32px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ব্যাকগ্রাউন্ড লাইট গ্লো ইফেক্ট */
.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.stats-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* প্রিমিয়াম গ্লাসমর্ফিজম কার্ড */
.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.25);
}

/* নেয়ন গ্লোয়িং আইকন बॉक्स */
.stat-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.08) rotate(-3deg);
}

.stat-info {
    min-width: 0;
}

.stat-info h3 {
    font-size: 22px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.1;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-info p {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {
    .stats {
        padding: 16px 0;
    }

    .stats-container {
        padding: 0 8px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }

    .stat-card {
        flex-direction: row;
        align-items: center;
        padding: 10px 8px !important;
        gap: 8px !important;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.06);
    }

    .stat-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 14px !important;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    }

    .stat-info h3 {
        font-size: 13px !important;
        line-height: 1;
        margin-bottom: 2px;
    }

    .stat-info p {
        font-size: 9px !important;
        color: #cbd5e1;
        line-height: 1.1;
        white-space: nowrap;
    }
}

/*---------------- JOBS SECTION *--------------------/
.jobs-section {
    padding: 80px 0;
    position: relative;
    background: #ffffff; /* লাইট/সাদা ব্যাকগ্রাউন্ড */
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a; /* স্পষ্ট ডার্ক টেক্সট */
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-title p {
    font-size: 16px;
    color: #64748b;
}

.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* 🟦 ক্লিন হোয়াইট কার্ড উইথ ব্লু আউটলাইন লাইটিং */
.job-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    
    /* সফট ব্লু আউটলাইন বর্ডার ও লাইটিং গ্লো */
    border: 1.5px solid #bfdbfe; 
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08), 
                0 0 12px rgba(59, 130, 246, 0.1); 
    
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

/* মাউস হোভার করলে আউটলাইন ব্লু গ্লো উজ্জ্বল হবে */
.job-card:hover {
    transform: translateY(-6px);
    border-color: #2563eb;
    /* উজ্জ্বল ব্লু আউটলাইন নিয়ন গ্লো */
    box-shadow: 0 18px 30px -8px rgba(37, 99, 235, 0.2), 
                0 0 20px rgba(37, 99, 235, 0.25);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.job-id {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.job-tag {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    letter-spacing: 0.3px;
}

.tag-urgent { background-color: #fef2f2; color: #ef4444; border: 1px solid #fecaca; }
.tag-featured { background-color: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.tag-normal { background-color: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }

.job-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.4;
}

.job-subject {
    color: #2563eb;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-details p {
    font-size: 14.5px;
    color: #475569;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-details p i {
    width: 18px;
    color: #2563eb;
    font-size: 14px;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed #cbd5e1;
}

/* 💰 টাকার পরিমাণ - উজ্জ্বল প্রিমিয়াম গ্রীন কালার */
.salary {
    font-size: 22px;
    font-weight: 800;
    color: #059669; /* ব্রাইট ভাইব্রেন্ট গ্রীন */
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.salary span {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

/* 🔘 বিস্তারিত / অ্যাপ্লাই বাটন স্টাইলিং */
.btn-apply, 
.job-footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-apply:hover, 
.job-footer a:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.text-center { 
  text-align: center; 
}

.mt-5 { 
  margin-top: 40px; 
  margin-bottom: 30px; /* বাটনের নিচে অল্প ফাঁকা জায়গা তৈরি করবে */
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .search-form {
        flex-direction: column;
    }
    .search-input-group, .search-btn {
        width: 100%;
    }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .job-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .hero-text-center h1 { font-size: 32px; }
    .hero-action-btns { flex-direction: column; }
    .hero-action-btns .btn { width: 100%; }
    .stats-grid, .job-cards-grid { grid-template-columns: 1fr; }
}

/* ==================== PREMIUM HORIZONTAL REVIEWS STYLES ==================== */
.reviews-section {
    padding: 90px 0;
    background: #0b0f19; /* ডার্ক থিম ব্যাকগ্রাউন্ড */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* ব্যাকগ্রাউন্ড অরা (Glow Background) */
.reviews-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(11, 15, 25, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* সেকশনের টাইটেল ও হেডার টেক্সট স্টাইল (যাতে স্পষ্ট বোঝা যায়) */
.reviews-section .section-title,
.reviews-section h2,
.reviews-section h3 {
    color: #ffffff !important;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.reviews-section .section-subtitle,
.reviews-section .subtitle,
.reviews-section p.section-desc {
    color: #94a3b8 !important;
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.reviews-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 15px 5px 35px;
    position: relative;
}

/* পাশাপাশি ১ লাইনে রাখার Flexbox */
.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* প্রিমিয়াম ডার্ক-গ্লাস কার্ড */
.review-card {
    min-width: 360px;
    max-width: 360px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    
    /* আউটসাইড গ্লো বর্ডার */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 26px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* মাউস হভার করলে হাই-এন্ড লাইটিং ইফেক্ট */
.review-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 23, 42, 0.9);
    border-color: #3b82f6;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                0 0 25px rgba(59, 130, 246, 0.35); /* আউটসাইড নিয়ন গ্লো */
}

/* ইউজার হেডার */
.card-header-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3b82f6;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

/* নাম ও লোকেশন টেক্সট (ধবধবে স্পষ্ট) */
.user-meta h4 {
    font-size: 17px;
    font-weight: 700;
    color: #f8fafc !important; /* সম্পূর্ণ উজ্জ্বল সাদা */
    margin: 0;
}

.user-meta .location {
    font-size: 13px;
    color: #a1a1aa !important; /* হালকা কিন্তু পরিষ্কার ধূসর */
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
}

.user-meta .location i {
    color: #60a5fa;
    font-size: 12px;
}

/* রেটিং স্টার */
.review-card .stars {
    color: #fbbf24;
    font-size: 15px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

/* রিভিউ মেসেজ (সহজে পড়ার উপযোগী) */
.review-card p {
    font-size: 14.5px;
    color: #e2e8f0 !important; /* একদম ব্রাইট কন্ট্রাস্ট টেক্সট */
    line-height: 1.65;
    font-style: normal;
    margin: 0;
    font-weight: 400;
}

/* মোবাইল রেসপন্সিভ */
@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
    }
    
    .review-card {
        min-width: 84vw;
        max-width: 84vw;
        padding: 22px;
    }
    
    .reviews-section .section-title,
    .reviews-section h2 {
        font-size: 24px;
    }
}
/* ==================== GUIDELINE / HOW IT WORKS ==================== */
.how-it-works {
    background: #f8fafc;
    padding: 60px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.guideline-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styling */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 45px auto;
}

.guide-badge {
    background: #eff6ff;
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
    border: 1px solid #bfdbfe;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 10px;
}

.highlight-text {
    color: #2563eb;
    position: relative;
}

.section-header p {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

/* Step Card & Animations */
.step-card {
    background: #ffffff;
    padding: 28px 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.12);
    border-color: #93c5fd;
}

/* Step Number Badge */
.step-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 14px;
    font-weight: 800;
    background: #f1f5f9;
    color: #475569;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    background: #2563eb;
    color: #ffffff;
}

/* Icon Box */
.step-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: #2563eb;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* CTA Buttons Styling */
.guideline-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4);
    color: #ffffff;
}

.btn-cta-call {
    background: #16a34a;
    color: #ffffff;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-call:hover {
    background: #15803d;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(22, 163, 74, 0.4);
    color: #ffffff;
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr); /* ট্যাবলেটে ২ কলাম */
    }
}

@media (max-width: 576px) {
    .how-it-works {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 14px;
    }

    /* মোবাইলে কার্ডগুলো লম্বালম্বি ২x২ অথবা ১ কলামে সুন্দর স্পেসিং সহ আসবে */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-card {
        padding: 20px 16px;
    }

    .guideline-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-primary, .btn-cta-call {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   Fixed Layout: Side Margins & Spacing (Desktop & Mobile)
   ========================================================= */

/* ১. হিরো কার্ডস কনটেইনার */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-left: 20px;   /* বামে মার্জিন যোগ করা হয়েছে */
  margin-right: 20px;  /* ডানে মার্জিন যোগ করা হয়েছে */
  margin-bottom: 28px;
}

.hero-cards .card {
  padding: 24px 16px 20px 16px;
  border-radius: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #bfdbfe; /* স্পষ্ট নীল রঙের বর্ডার */
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-cards .card:hover {
  transform: translateY(-2px);
  border-color: #60a5fa;
}

/* মোট এভেইলেবল টিউশন */
.card-purple {
  background-color: #f0f3ff;
}

.card-purple .icon-box {
  background-color: #e2e8ff;
  color: #4338ca;
}

.card-purple h2 {
  color: #312e81;
}

/* নতুন এভেইলেবল টিউশন */
.card-green {
  background-color: #f0fdf4;
}

.card-green .icon-box {
  background-color: #dcfce7;
  color: #059669;
}

.card-green h2 {
  color: #065f46;
}

/* আইকন বক্স */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* সংখ্যা ও টেক্সট */
.hero-cards .card h2 {
  margin: 0;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-cards .card p {
  margin: 8px 0 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  line-height: 1.35;
}

/* ২. সেকশন হেডার */
.area-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 20px;   /* বামে মার্জিন */
  margin-right: 20px;  /* ডানে মার্জিন */
  margin-bottom: 20px;
}

.area-section-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.total-area-badge {
  background-color: #f0f9ff;
  color: #0284c7;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
}

/* ৩. এরিয়া কার্ডস */
.area-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-left: 20px;   /* বামে মার্জিন */
  margin-right: 20px;  /* ডানে মার্জিন */
  margin-bottom: 24px;
}

.area-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  border: 1.5px solid #bfdbfe; /* নীল বর্ডার */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 95px;
  transition: all 0.2s ease;
}

.area-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12);
  border-color: #2563eb;
}

.area-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.loc-icon {
  width: 38px;
  height: 38px;
  background-color: #f0f9ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.count-badge {
  background-color: #0284c7;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 10px;
}

.area-card h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
}

/* ৪. See More Button */
.btn-see-more {
  width: calc(100% - 40px); /* ডানে-বামের ৪০px মার্জিন অ্যাডজাস্ট করার জন্য calc() */
  margin-left: 20px;        /* বামে মার্জিন */
  margin-right: 20px;       /* ডানে মার্জিন */
  background-color: #f0f9ff;
  color: #0284c7;
  border: 1.5px dashed #3b82f6;
  padding: 14px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
}

/* মেইন বাটন স্টাইল */
.btn-see-more {
  display: inline-block; 
  padding: 8px 16px;    
  margin: 0 auto 15px auto; 
  text-align: center;      
  transition: all 0.3s ease;
}

/* আপনার হোভার ইফেক্ট */
.btn-see-more:hover {
  background-color: #e0f2fe;
  border-color: #1d4ed8;
}

/* ৫. মডাল পপআপ */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(15, 23, 42, 0.3); 
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #ffffff;
  margin: 4% auto;
  padding: 24px;
  width: 90%;
  max-width: 950px;
  border-radius: 24px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
  border: 1.5px solid #bfdbfe;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.close-btn {
  font-size: 22px;
  font-weight: bold;
  color: #64748b;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8fafc;
}

.close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

.area-cards-modal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ৬. মোবাইল রেসপন্সিভনেস (মার্জিন ১৬px করা হয়েছে) */
@media (max-width: 768px) {
  .hero-cards,
  .area-section-header,
  .area-cards {
    margin-left: 16px;
    margin-right: 16px;
  }

  .btn-see-more {
    width: calc(100% - 32px);
    margin-left: 16px;
    margin-right: 16px;
  }

  .area-cards, 
  .area-cards-modal {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero-cards {
    gap: 12px;
  }

  .hero-cards .card {
    padding: 20px 12px;
    border-radius: 24px;
  }

  .hero-cards .card h2 {
    font-size: 1.9rem;
  }

  .hero-cards .card p {
    font-size: 0.8rem;
  }
}

/* মডাল পপআপ স্টাইলিং (ক্লিন ও পরিষ্কার লেআউট) */
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(15, 23, 42, 0.4); 
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #ffffff;
  margin: 3% auto;
  padding: 24px;
  width: 90%;
  max-width: 900px;
  border-radius: 24px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
  border: 1.5px solid #bfdbfe;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.close-btn {
  font-size: 24px;
  font-weight: bold;
  color: #64748b;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
}

.close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* মডালের ভেতরের এরিয়া কার্ডস (সুন্দর স্ক্রোলিং) */
.area-cards-modal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  overflow-y: auto; /* সব এরিয়া থাকলে এখানে স্ক্রোলবার আসবে */
  padding-right: 6px;
  padding-bottom: 10px;
}

/* মোবাইলে পপআপে ২ কলাম করে দেখাবে */
@media (max-width: 768px) {
  .area-cards-modal {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}