/* Responsive Design */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
	.footer-bottom {
		margin-bottom:20px;
	}
}

@media (max-width: 650px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}
/* ল্যাপটপ ও ছোট ডেস্কটপ (1150px এর নিচে) */
@media (max-width: 1150px) {
    .nav-list {
        gap: 14px;
    }

    .nav-link {
        font-size: 12.5px;
    }

    .btn {
        padding: 6px 13px;
        font-size: 13px;
    }

    .hero-title {
        font-size: 38px;
    }
	/* মোবাইল ব্রাউজারে ডান পাশের ইলাস্ট্রেশন ডিভটি সম্পূর্ণ হাইড করার জন্য */
    .hero-right {
        display: none !important;
    }
	
	.stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}





@media (max-width: 680px) {
    .tuition-types-section {
        padding: 55px 18px 70px;
    }

    .types-main-title {
        font-size: 26px;
    }

    .types-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .type-card {
        padding: 28px 20px 32px;
    }
}



/* Mobile Responsive */
@media (max-width: 768px) {
	/* ==================== 5. OUR POPULAR TUTORS SECTION ==================== */
	.tutors-section-header {
        align-items: flex-start;
    }
    .section-main-title {
        font-size: 26px;
    }
	/* ==================== 6. SUBJECT SPECIALIST SECTION ==================== */
    .subject-specialist-section {
        padding: 55px 18px 70px;
    }
    .subject-main-title {
        font-size: 26px;
    }
    .subject-card {
        width: 240px;
        height: 165px;
    }
	.services-section-header {
        align-items: flex-start;
    }
    .services-main-title {
        font-size: 26px;
    }
    .service-card {
        width: 250px;
    }
}
/* ট্যাবলেট ও মোবাইল ভিউ (991px এর নিচে) */
@media (max-width: 991px) {
    /* Header Responsive */
    .header-container {
        padding: 12px 18px;
    }

    .logo {
        font-size: 24px;
    }

    .bn-full {
        display: none;
    }

    .bn-short {
        display: inline;
    }

    .lang-btn {
        padding: 4px 10px;
        font-size: 12px;
    }

    .desktop-auth-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 19px;
        background: transparent;
        border: none;
        cursor: pointer;
        margin-left: 4px;
    }

    .hamburger .bar {
        width: 100%;
        height: 3px;
        background-color: #ffffff;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(180deg, #680659 0%, #4b0441 100%);
        flex-direction: column;
        padding: 0 24px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    }

    .nav-menu.open {
        max-height: 420px;
        opacity: 1;
        padding: 20px 24px 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 12px;
    }

    .nav-list li, .nav-link {
        width: 100%;
    }

    .nav-link {
        padding: 8px 0;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-auth-buttons {
        display: flex;
        gap: 12px;
        margin-top: 18px;
        width: 100%;
    }

    .mobile-auth-buttons .btn {
        flex: 1;
        justify-content: center;
    }

    /* Banner Responsive */
    .hero-banner {
        padding: 45px 18px 75px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        justify-content: center;
        font-size: 16px;
    }

    .ticker-viewport {
        margin: 0 auto;
    }

    .floating-illustration {
        max-width: 340px;
        margin-top: 15px;
    }
	
	.types-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px;
		display: flex;
		flex-direction: column;
	}
	
	.tutor-banner-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .top-badge, .feature-pills, .banner-buttons {
        justify-content: center;
    }

    .banner-desc {
        margin: 0 auto 28px;
    }

    .tutor-right-cards {
		height: 183px;
		max-width: 320px;
		display: flex;
	}
	.floating-stat-card{
		width:100%;
	}
	.floating-stat-card{
		width:100%;
	}
	.floating-stat-card {
		width: 279px !important;
	}
	
    
    .card-top-right { 
		top: 0; left: 0; 
	}
    .card-bottom-right { bottom: 0; left: 0; }
	
	.love-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .love-card {
        min-height: auto;
        padding: 30px 20px;
    }
}

/* ছোট মোবাইল স্ক্রিনের জন্য (576px এর নিচে) */
@media (max-width: 576px) {
    .hero-title {
        font-size: 26px;
    }

    .find-tutor-btn {
        padding: 14px 28px;
        font-size: 14.5px;
    }

    .search-modal-box {
        padding: 24px 20px;
    }

    .modal-title {
        font-size: 25px;
    }

    .modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .modal-submit-btn {
        justify-content: center;
        width: 100%;
    }
	.tutoring-jobs-section {
        padding: 50px 18px 65px;
    }

    /* মোবাইল ব্রাউজারে অর্ডার সাজানোর জন্য display: contents ব্যবহার করা হয়েছে */
    .jobs-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
    }

    .jobs-header,
    .jobs-content-box {
        display: contents;
    }

    /* ১. সবার উপরে SEARCH TUTORING JOBS */
    .jobs-main-title {
        order: 1;
        font-size: 26px;
        margin-bottom: 18px;
    }

    /* ২. তার ঠিক নিচে ২নং ছবিটি */
    .jobs-image-box {
        order: 2;
        margin-bottom: 20px;
        width: 100%;
    }

    .jobs-floating-img {
        max-width: 340px;
    }

    /* ৩. তার নিচে Find Your Tution Jobs, in your area */
    .jobs-sub-title {
        order: 3;
        font-size: 17px;
        margin-bottom: 16px;
    }

    /* ৪. তার নিচে বিস্তারিত লেখাগুলো */
    .jobs-content-heading {
        order: 4;
        font-size: 18.5px;
        margin-bottom: 12px;
		display:none;
    }

    .jobs-content-desc {
        order: 5;
        font-size: 14.5px;
        margin-bottom: 26px;
		display:none;
    }

    /* ৫. সবার নিচে SEARCH TUTION বাটন */
    .search-tution-btn {
        order: 6;
    }
	
	.stats-counter-section {
        padding: 50px 18px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 20px 18px;
    }

    .stat-number {
        font-size: 28px;
    }
	.banner-title {
        font-size: 30px;
    }
    .floating-stat-card {
        width: 240px;
        padding: 16px 18px;
    }
	
	
	
	
	/* শুধুমাত্র মোবাইল ও ট্যাবলেট স্ক্রিনে (991px এর নিচে) নিচের দিকে স্টিকি হয়ে থাকবে */
	.mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: linear-gradient(90deg, #5e0654 0%, #a50473 50%, #580550 100%);
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
        padding: 8px 10px;
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #ffffff;
        font-size: 11px;
        font-weight: 600;
        gap: 3px;
        padding: 6px 10px;
        border-radius: 30px;
        transition: all 0.3s ease;
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 15px;
    }

    /* ছবির মতো মাঝখানের Home বাটন বা Active আইটেমের স্টাইল */
    .mobile-bottom-nav .nav-item.active {
        background-color: #ffffff;
        color: #790561;
        padding: 6px 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }
	
	.scroll-toggle-btn {
        display: none !important;
    }
}
