/* বেসিক রিসেট */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

/* নেভিগেশন বার - প্রফেশনাল ডার্ক ব্লু কালার */





.nav-links li { position: relative; padding: 0 15px; }

/* ফন্ট সাইজ ১৬পিক্সেল এবং সাদা রঙ */
.nav-links a { 
    text-decoration: none; 
    color: #ffffff; 
    font-weight: 500; 
    font-size: 16px; 
    transition: 0.3s;
}

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

/* ড্রপডাউন ডিজাইন */


.dropdown:hover 

.dropdown-content li { padding: 8px 15px; }
.dropdown-content li a { color: #1e293b; font-size: 15px; }
.dropdown-content li a:hover { color: #1a2a6c; }

/* হ্যামবার্গার মেনু (মোবাইল) */
.menu-toggle { display: none; font-size: 28px; cursor: pointer; color: white; }

@media (max-width: 992px) {
    .menu-toggle { display: block; }
    
    .nav-links.active { display: flex; }
    .nav-links li { padding: 15px 20px; width: 100%; }
    
    .dropdown-content li a { color: white; }
}
/* এটি মেনু আইটেমগুলোকে ক্লিন করবে */


.nav-links li { 
    position: relative; 
    padding: 0 15px; 
    list-style: none; /* নিশ্চিত করা হচ্ছে কোনো বুলেট না থাকে */
}

/* লগইন বাটনটিকে অন্য লিঙ্কের সমান স্টাইল দিতে */
.btn-login { 
    background: none !important; /* কোনো আলাদা ব্যাকগ্রাউন্ড কালার থাকবে না */
    color: #ffffff !important; 
    padding: 0 !important; 
    border: none !important; 
    font-weight: 500 !important;
}
/* =========================================
   Landing Page Styles (Hero & Features)
   ========================================= */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a2a6c, #112240);
    color: #ffffff;
    padding: 100px 20px;
    text-align: center;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffcc00;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: #ffcc00;
    color: #1a2a6c;
}

.btn-primary:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffcc00;
}

.btn-secondary:hover {
    background-color: #ffcc00;
    color: #1a2a6c;
    transform: translateY(-3px);
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background-color: #f4f7f6;
    text-align: center;
}

.features-section h2 {
    font-size: 2.2rem;
    color: #1a2a6c;
    margin-bottom: 50px;
}

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

.feature-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-bottom: 4px solid #1a2a6c;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #1a2a6c;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: #1e293b;
    line-height: 1.6;
    margin-bottom: 25px;
}

.feature-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.2s;
}

.feature-link:hover {
    color: #1a2a6c;
    transform: translateX(5px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-section { padding: 60px 20px; }
    .hero-buttons { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; box-sizing: border-box; }
}
/* =========================================
   Learning Page Template (LLB, IELTS, etc.)
   ========================================= */

.learning-header {
    background: linear-gradient(135deg, #1a2a6c, #112240);
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.learning-header h1 {
    margin-bottom: 10px;
    color: #ffcc00;
}

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

.video-section {
    margin-bottom: 40px;
}

.video-section h2 {
    color: #1a2a6c;
    margin-bottom: 15px;
}

/* রেসপন্সিভ ইউটিউব ভিডিও */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.reading-section {
    margin-bottom: 40px;
}

.reading-section h3 {
    color: #1a2a6c;
    margin-bottom: 15px;
}

.content-box {
    background: #ffffff;
    padding: 25px;
    border-left: 5px solid #ffcc00;
    border-radius: 8px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #1e293b;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-box ul {
    padding-left: 20px;
}

.content-box ul li {
    margin-bottom: 10px;
}

.quiz-cta {
    background: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    border-top: 5px solid #1a2a6c;
    margin-bottom: 60px;
}

.quiz-cta h3 {
    color: #1a2a6c;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.quiz-cta p {
    color: #1e293b;
    margin-bottom: 25px;
    font-size: 1.1rem;
}
/* =========================================
   Playlist Selection Grid Styles
   ========================================= */

.playlist-selector {
    margin-bottom: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.playlist-selector h3 {
    color: #1a2a6c;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.playlist-btn {
    background: #f4f7f6;
    color: #1e293b;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.playlist-btn:hover {
    background: #e9f5ff;
    border-color: #007bff;
    color: #007bff;
}

/* যে সাবজেক্টটি সিলেক্ট করা থাকবে তার স্টাইল */
.playlist-btn.active {
    background: #1a2a6c;
    color: #ffcc00;
    border-color: #1a2a6c;
    box-shadow: 0 4px 10px rgba(26, 42, 108, 0.2);
}
/* =========================================
   Authentication Pages (Login & Signup)
   ========================================= */
.auth-page {
    background: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.auth-wrapper {
    width: 100%;
    max-width: 500px;
}

.auth-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid #1a2a6c;
}

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

.auth-header h2 {
    color: #1a2a6c;
    margin-bottom: 10px;
    font-size: 2rem;
}

.auth-header p {
    color: #1e293b;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 15px;
}

.half-width {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #1e293b;
    font-size: 0.95rem;
}

.text-danger {
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: 0.3s ease border-color;
}

.form-control:focus {
    border-color: #1a2a6c;
    outline: none;
    box-shadow: 0 0 5px rgba(26, 42, 108, 0.2);
}

.full-width-btn {
    width: 100%;
    margin-top: 10px;
    font-size: 1.1rem;
    padding: 15px;
    cursor: pointer;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.auth-footer p {
    color: #1e293b;
    margin-bottom: 10px;
}

.auth-footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .auth-card {
        padding: 30px 20px;
    }
}
/* =========================================
   OTP Modal Styles
   ========================================= */
.modal-overlay {
    display: none; /* ডিফল্টভাবে লুকানো থাকবে */
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: slideDown 0.3s ease-out;
}

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

.modal-card h3 {
    color: #1a2a6c;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.modal-card p {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}
/* =========================================
   Password Toggle Button Styles
   ========================================= */
.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    padding-right: 40px; /* আইকনের জন্য জায়গা ফাঁকা রাখা */
}

.toggle-password {
    position: absolute;
    right: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #1e293b;
    user-select: none;
    transition: 0.3s;
}

.toggle-password:hover {
    color: #1a2a6c;
}
/* =========================================
   User Profile Dropdown Styles
   ========================================= */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: #ffcc00;
    color: #1a2a6c;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: inherit;
    transition: 0.3s;
}

.dropdown-btn:hover {
    background: #e6b800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}



.dropdown-content a, .dropdown-content button {
    color: #1e293b;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 0.95rem;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    box-sizing: border-box;
    font-family: inherit;
    transition: 0.2s;
}

.dropdown-content a:hover, .dropdown-content button:hover {
    background-color: #f4f7f6;
    color: #1a2a6c;
}

/* মাউস ড্রপডাউন বাটনের ওপর রাখলে মেনু ওপেন হবে */
.user-dropdown:hover 

.dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 0;
}


/* Global Navbar CSS Injected by rebuild script */
.navbar {
    background-color: #ffffff;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); 
    border-bottom: 2px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo { font-size: 1.8rem; font-weight: 700; color: #1a2a6c; text-decoration: none; display: flex; align-items: center; gap: 8px;}
.nav-links { display: flex; list-style: none; align-items: center; margin: 0; padding: 0;}
.nav-links li { position: relative; padding: 0 12px; }
.nav-links a { text-decoration: none; color: #1e293b; font-weight: 600; font-size: 1.05rem; transition: 0.3s; display: inline-block;}
.nav-links a:hover { color: #4f46e5; }
.dropdown-content { visibility: hidden; position: absolute; background: #ffffff; min-width: 240px; top: 100%; left: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 1000; border-radius: 12px; padding: 12px 0; border: 1px solid #e2e8f0; margin-top: 10px; opacity: 0; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;}
/* কার্সর মেনু থেকে ড্রপডাউনে নামার সময় যেন মাঝপথে হারিয়ে না যায় — অদৃশ্য সেতু */
.dropdown-content::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 20px; }
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content { visibility: visible; opacity: 1; transform: translateY(0); transition: opacity .18s ease, transform .18s ease, visibility 0s; }
.dropdown-content li { padding: 6px 15px; }
.dropdown-content li a { color: #1e293b; font-size: 0.95rem; font-weight: 500; display: block; padding: 8px 12px; border-radius: 8px; transition: 0.2s;}
.dropdown-content li a:hover { color: #4f46e5; background: #f8fafc; padding-left: 18px;}
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: #0f172a; }
@media (max-width: 992px) {
    .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background: white; padding: 15px 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .dropdown-content { position: static; box-shadow: none; border-left: 2px solid #e2e8f0; margin-left: 20px; display: none; visibility: visible; padding: 5px 0; min-width: auto; margin-top: 5px; border-radius: 0; border-top: none; border-right: none; border-bottom: none; transition: none;}
    .dropdown.active .dropdown-content { display: block; opacity: 1; transform: translateY(0); }
}

/* Fix Dropdown Spacing */
.dropdown-content li { padding: 0 8px !important; margin: 2px 0 !important; }
.dropdown-content li a { padding: 10px 15px !important; display: block !important; border-radius: 6px !important; }
.dropdown-content { padding: 8px 0 !important; }
