/* ==========================================================================
   MOCK LAGAO — PREMIUM EDTECH FRONTEND STYLESHEET
   ========================================================================== */

/* Critical Structural & Grid Resets */
*, *::before, *::after { box-sizing: border-box !important; }
body, html { margin: 0 !important; padding: 0 !important; font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important; background-color: #f8fafc !important; color: #1e293b !important; }
#page, #content, .site-content, main#primary, article, .entry-content, .grid-container, .container { background-color: transparent !important; padding: 0 !important; margin: 0 !important; max-width: 100% !important; width: 100% !important; float: none !important; }
.ml-container { max-width: 1280px !important; margin: 0 auto !important; padding: 0 20px !important; width: 100% !important; box-sizing: border-box !important; }

header.ml-site-header { background-color: rgba(255, 255, 255, 0.98) !important; backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important; border-bottom: 1px solid #e2e8f0 !important; position: sticky !important; top: 0 !important; z-index: 9999 !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important; }
.ml-header-inner { display: flex !important; align-items: center !important; justify-content: space-between !important; height: 76px !important; gap: 16px !important; }
a.ml-brand-logo { display: flex !important; align-items: center !important; gap: 12px !important; text-decoration: none !important; flex-shrink: 0 !important; }
.ml-brand-icon { width: 42px !important; height: 42px !important; background: #2563eb !important; color: #ffffff !important; border-radius: 12px !important; font-weight: 900 !important; font-size: 1.5rem !important; display: flex !important; align-items: center !important; justify-content: center !important; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important; flex-shrink: 0 !important; }
.ml-brand-text-wrapper { display: flex !important; flex-direction: column !important; justify-content: center !important; line-height: 1.1 !important; }
.ml-brand-title { display: block !important; font-size: 1.35rem !important; font-weight: 900 !important; color: #0f172a !important; line-height: 1.1 !important; letter-spacing: -0.02em !important; white-space: nowrap !important; }
.ml-brand-tagline { display: block !important; font-size: 0.72rem !important; font-weight: 600 !important; color: #64748b !important; margin-top: 3px !important; white-space: nowrap !important; }

.ml-desktop-nav-container { display: block !important; }
@media (max-width: 991px) { .ml-desktop-nav-container { display: none !important; } }
.ml-desktop-nav { display: flex !important; align-items: center !important; gap: 24px !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ml-nav-link { font-size: 0.95rem !important; font-weight: 600 !important; color: #475569 !important; text-decoration: none !important; }
.ml-nav-link:hover, .ml-nav-link.active { color: #2563eb !important; }
.ml-header-actions { display: flex !important; align-items: center !important; gap: 12px !important; }

/* HERO */
.ml-hero-section { background: #f8fafc; padding: 56px 0 64px 0 !important; position: relative !important; }
.ml-hero-section.ml-hero-dark, section.ml-hero-dark { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important; color: #ffffff !important; }
.ml-hero-dark h1, .ml-hero-dark .ml-hero-title { color: #ffffff !important; }
.ml-hero-dark p, .ml-hero-dark .ml-hero-subtitle { color: #cbd5e1 !important; }
.ml-hero-grid { display: grid !important; grid-template-columns: 1.15fr 0.85fr !important; gap: 48px !important; align-items: center !important; }
@media (max-width: 991px) { .ml-hero-grid { grid-template-columns: 1fr !important; gap: 36px !important; } }
.ml-hero-badge-pill { display: inline-flex !important; align-items: center !important; gap: 8px !important; background: #eff6ff !important; color: #2563eb !important; padding: 6px 16px !important; border-radius: 9999px !important; font-size: 0.85rem !important; font-weight: 700 !important; border: 1px solid #bfdbfe !important; margin-bottom: 20px !important; }
.ml-hero-headline { font-size: 2.85rem !important; font-weight: 900 !important; color: #0f172a !important; line-height: 1.2 !important; letter-spacing: -0.02em !important; margin: 0 0 20px 0 !important; }
.ml-highlight-blue { color: #2563eb !important; }
.ml-hero-subheadline { font-size: 1.1rem !important; color: #475569 !important; line-height: 1.6 !important; margin: 0 0 32px 0 !important; }
.ml-hero-cta-group { display: flex !important; align-items: center !important; gap: 16px !important; margin-bottom: 36px !important; flex-wrap: wrap !important; }
.ml-btn-hero-primary { background: #2563eb !important; color: #ffffff !important; font-size: 1.05rem !important; font-weight: 700 !important; padding: 14px 28px !important; border-radius: 14px !important; text-decoration: none !important; display: inline-flex !important; align-items: center !important; gap: 10px !important; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25) !important; }
.ml-btn-hero-outline { background: #ffffff !important; color: #1e293b !important; font-size: 1.05rem !important; font-weight: 700 !important; padding: 14px 28px !important; border-radius: 14px !important; border: 1px solid #cbd5e1 !important; text-decoration: none !important; }
.ml-trust-pills-row { display: flex !important; align-items: center !important; gap: 16px !important; flex-wrap: wrap !important; }
.ml-trust-pill { display: inline-flex !important; align-items: center !important; gap: 6px !important; font-size: 0.85rem !important; font-weight: 700 !important; color: #475569 !important; }

.ml-hero-visual-wrapper { position: relative !important; width: 100% !important; }
.ml-hero-card-backdrop { position: relative !important; background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 28px !important; padding: 24px !important; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important; display: flex !important; flex-direction: row !important; gap: 20px !important; align-items: center !important; }
@media (max-width: 600px) { .ml-hero-card-backdrop { flex-direction: column !important; } }
.ml-tilted-yellow-badge { position: absolute !important; top: -16px !important; left: -16px !important; background: #fbbf24 !important; color: #0f172a !important; font-weight: 800 !important; font-size: 0.8rem !important; text-transform: uppercase !important; letter-spacing: 0.05em !important; padding: 10px 16px !important; border-radius: 12px !important; transform: rotate(-6deg) !important; box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3) !important; line-height: 1.3 !important; text-align: center !important; z-index: 10 !important; }
.ml-hero-student-img-box { width: 220px !important; height: 280px !important; border-radius: 20px !important; overflow: hidden !important; flex-shrink: 0 !important; box-shadow: 0 8px 16px rgba(0,0,0,0.08) !important; }
@media (max-width: 600px) { .ml-hero-student-img-box { width: 100% !important; height: 220px !important; } }
.ml-hero-student-img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.ml-floating-stats-column { display: flex !important; flex-direction: column !important; gap: 14px !important; flex-grow: 1 !important; }
.ml-floating-stat-card { display: flex !important; align-items: center !important; gap: 12px !important; background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 16px !important; padding: 12px 16px !important; }
.ml-stat-icon-circle { width: 38px !important; height: 38px !important; border-radius: 12px !important; display: flex !important; align-items: center !important; justify-content: center !important; flex-shrink: 0 !important; }
.ml-stat-icon-circle.blue { background: #eff6ff !important; color: #2563eb !important; }
.ml-stat-icon-circle.cyan { background: #ecfeff !important; color: #0891b2 !important; }
.ml-stat-icon-circle.green { background: #f0fdf4 !important; color: #16a34a !important; }
.ml-floating-stat-val { font-size: 1.15rem !important; font-weight: 800 !important; color: #0f172a !important; line-height: 1.1 !important; }
.ml-floating-stat-lbl { font-size: 0.78rem !important; color: #64748b !important; margin-top: 2px !important; }

/* GENERAL SECTIONS & HEADINGS */
.ml-section { padding: 56px 0 !important; }
.ml-section-header-center { text-align: center !important; margin-bottom: 36px !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; }
.ml-section-top-bar { display: flex !important; align-items: flex-end !important; justify-content: space-between !important; gap: 20px !important; margin-bottom: 36px !important; flex-wrap: wrap !important; }
.ml-section-eyebrow { display: inline-flex !important; align-items: center !important; gap: 6px !important; background: #eff6ff !important; color: #2563eb !important; padding: 5px 14px !important; border-radius: 9999px !important; font-size: 0.8rem !important; font-weight: 800 !important; border: 1px solid #bfdbfe !important; text-transform: uppercase !important; letter-spacing: 0.05em !important; margin-bottom: 12px !important; }
.ml-section-main-title { font-size: 2.2rem !important; font-weight: 900 !important; color: #0f172a !important; letter-spacing: -0.025em !important; line-height: 1.25 !important; margin: 0 0 8px 0 !important; }
.ml-section-sub-desc { font-size: 1.05rem !important; color: #64748b !important; line-height: 1.6 !important; font-weight: 500 !important; margin: 0 !important; max-width: 680px !important; }
.ml-view-all-link { display: inline-flex !important; align-items: center !important; gap: 8px !important; background: #ffffff !important; color: #2563eb !important; border: 1.5px solid #bfdbfe !important; padding: 10px 20px !important; border-radius: 12px !important; font-weight: 700 !important; font-size: 0.92rem !important; text-decoration: none !important; transition: all 0.2s ease !important; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08) !important; white-space: nowrap !important; }
.ml-view-all-link:hover { background: #2563eb !important; color: #ffffff !important; border-color: #2563eb !important; transform: translateY(-2px) !important; box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25) !important; }

/* SEARCH SECTION */
.ml-find-exam-section { padding: 24px 0 !important; background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 50%, #f8fafc 100%) !important; }
.ml-find-exam-card { background: #ffffff !important; border: 1.5px solid #bfdbfe !important; border-radius: 24px !important; padding: 36px 32px !important; box-shadow: 0 16px 36px rgba(37, 99, 235, 0.08) !important; text-align: center !important; max-width: 880px !important; margin: 0 auto !important; }
.ml-find-exam-title { font-size: 2rem !important; font-weight: 900 !important; color: #0f172a !important; margin: 0 0 6px 0 !important; letter-spacing: -0.02em !important; }
.ml-find-exam-subtitle { font-size: 1rem !important; color: #64748b !important; margin: 0 0 24px 0 !important; }
.ml-find-input-box { display: flex !important; align-items: center !important; background: #ffffff !important; border: 2px solid #2563eb !important; border-radius: 16px !important; padding: 6px 6px 6px 16px !important; gap: 12px !important; margin-bottom: 20px !important; box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1) !important; }
.ml-find-search-input { flex: 1 !important; border: none !important; outline: none !important; font-size: 1.02rem !important; background: transparent !important; color: #0f172a !important; padding: 8px 0 !important; font-weight: 500 !important; }
.ml-find-submit-btn { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important; color: #ffffff !important; font-weight: 800 !important; font-size: 0.98rem !important; border-radius: 12px !important; padding: 12px 28px !important; border: none !important; cursor: pointer !important; white-space: nowrap !important; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important; transition: all 0.2s ease !important; }
.ml-trending-tags-row { display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; flex-wrap: wrap !important; font-size: 0.85rem !important; }
.ml-trending-label { color: #64748b !important; font-weight: 700 !important; }
.ml-trending-chip { background: #eff6ff !important; color: #2563eb !important; padding: 6px 14px !important; border-radius: 9999px !important; text-decoration: none !important; font-weight: 700 !important; font-size: 0.82rem !important; border: 1px solid #bfdbfe !important; transition: all 0.2s ease !important; }
.ml-trending-chip:hover { background: #2563eb !important; color: #ffffff !important; border-color: #2563eb !important; }

/* CATEGORIES GRID */
.ml-categories-section { padding: 64px 0 !important; background: #ffffff !important; }
.ml-cat-cards-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; }
@media (max-width: 768px) { .ml-cat-cards-grid { grid-template-columns: repeat(2, 1fr) !important; } }
.ml-single-cat-card { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 20px !important; padding: 24px 16px !important; text-decoration: none !important; transition: all 0.2s ease !important; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important; }
.ml-single-cat-card:hover { background: #ffffff !important; border-color: #bfdbfe !important; box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12) !important; transform: translateY(-4px) !important; }
.ml-cat-icon-circle { width: 52px !important; height: 52px !important; border-radius: 16px !important; display: flex !important; align-items: center !important; justify-content: center !important; margin-bottom: 12px !important; }
.ml-cat-card-title { font-size: 1.15rem !important; font-weight: 800 !important; color: #0f172a !important; margin: 0 0 4px 0 !important; }
.ml-cat-card-count { font-size: 0.82rem !important; font-weight: 600 !important; color: #2563eb !important; }

/* WHY SECTION */
.ml-why-section { padding: 64px 0 !important; background: #f8fafc !important; }
.ml-features-6grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; }
@media (max-width: 991px) { .ml-features-6grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { .ml-features-6grid { grid-template-columns: 1fr !important; } }
.ml-feature-item-card { background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 20px !important; padding: 28px 24px !important; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important; }
.ml-feat-icon-box { width: 48px !important; height: 48px !important; background: #eff6ff !important; color: #2563eb !important; border-radius: 14px !important; display: flex !important; align-items: center !important; justify-content: center !important; margin-bottom: 16px !important; }
.ml-feat-title { font-size: 1.1rem !important; font-weight: 800 !important; color: #0f172a !important; margin: 0 0 8px 0 !important; }
.ml-feat-desc { font-size: 0.9rem !important; color: #64748b !important; margin: 0 !important; line-height: 1.5 !important; }

/* HOW IT WORKS SECTION */
.ml-how-section { padding: 64px 0 !important; background: #ffffff !important; }
.ml-how-steps-timeline { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 20px !important; }
@media (max-width: 991px) { .ml-how-steps-timeline { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { .ml-how-steps-timeline { grid-template-columns: 1fr !important; } }
.ml-how-step-item { background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 20px !important; padding: 28px 20px !important; text-align: center !important; }
.ml-step-circle-num { width: 44px !important; height: 44px !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; font-weight: 800 !important; font-size: 1.1rem !important; margin: 0 auto 16px auto !important; }
.ml-step-circle-num.blue { background: #eff6ff !important; color: #2563eb !important; }
.ml-step-circle-num.purple { background: #f5f3ff !important; color: #7c3aed !important; }
.ml-step-circle-num.green { background: #f0fdf4 !important; color: #16a34a !important; }
.ml-step-circle-num.orange { background: #fff7ed !important; color: #ea580c !important; }
.ml-how-step-title { font-size: 1.1rem !important; font-weight: 800 !important; color: #0f172a !important; margin: 0 0 6px 0 !important; }
.ml-how-step-desc { font-size: 0.88rem !important; color: #64748b !important; margin: 0 !important; }

/* TEST SERIES SECTION */
.ml-test-series-section { padding: 64px 0 !important; background: #f8fafc !important; }
.ml-series-3grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 24px !important; }
@media (max-width: 991px) { .ml-series-3grid { grid-template-columns: 1fr !important; } }
.ml-single-series-card { background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 20px !important; padding: 28px !important; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; }
.ml-series-card-header { display: flex !important; align-items: center !important; justify-content: space-between !important; margin-bottom: 8px !important; }
.ml-series-card-title { font-size: 1.25rem !important; font-weight: 800 !important; color: #0f172a !important; margin: 0 !important; }
.ml-series-badge { font-size: 0.75rem !important; font-weight: 800 !important; padding: 4px 10px !important; border-radius: 9999px !important; text-transform: uppercase !important; }
.ml-series-badge.red { background: #fef2f2 !important; color: #dc2626 !important; }
.ml-series-badge.purple { background: #f5f3ff !important; color: #7c3aed !important; }
.ml-series-badge.orange { background: #fff7ed !important; color: #ea580c !important; }
.ml-series-card-desc { font-size: 0.9rem !important; color: #64748b !important; margin: 0 0 20px 0 !important; }
.ml-series-meta-row { display: flex !important; align-items: center !important; gap: 16px !important; font-size: 0.85rem !important; color: #475569 !important; margin-bottom: 24px !important; font-weight: 600 !important; }
.ml-series-price-bottom { display: flex !important; align-items: center !important; justify-content: space-between !important; border-top: 1px solid #f1f5f9 !important; padding-top: 16px !important; }
.ml-curr-price { font-size: 1.35rem !important; font-weight: 900 !important; color: #0f172a !important; }
.ml-old-price { font-size: 0.9rem !important; color: #94a3b8 !important; text-decoration: line-through !important; margin-left: 6px !important; }
.ml-discount-tag { font-size: 0.75rem !important; font-weight: 800 !important; color: #16a34a !important; margin-left: 6px !important; }
.ml-btn-buy-now { background: #2563eb !important; color: #ffffff !important; font-weight: 700 !important; padding: 8px 18px !important; border-radius: 10px !important; text-decoration: none !important; }

/* TESTIMONIALS SECTION */
.ml-testimonials-section { padding: 64px 0 !important; background: #ffffff !important; }
.ml-testimonials-layout { display: grid !important; grid-template-columns: 1fr 300px !important; gap: 24px !important; align-items: start !important; }
@media (max-width: 991px) { .ml-testimonials-layout { grid-template-columns: 1fr !important; } }
.ml-testimonials-3col { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; }
@media (max-width: 768px) { .ml-testimonials-3col { grid-template-columns: 1fr !important; } }
.ml-testimonial-card { background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 20px !important; padding: 24px !important; display: flex !important; flex-direction: column !important; gap: 12px !important; }
.ml-testi-avatar { width: 52px !important; height: 52px !important; border-radius: 50% !important; object-fit: cover !important; display: block !important; border: 2px solid #2563eb !important; }
.ml-testi-quote { font-size: 0.92rem !important; color: #334155 !important; line-height: 1.6 !important; font-style: italic !important; margin: 0 !important; }
.ml-testi-author-name { font-size: 1rem !important; font-weight: 800 !important; color: #0f172a !important; }
.ml-testi-author-sub { font-size: 0.8rem !important; font-weight: 700 !important; color: #2563eb !important; }
.ml-testimonials-side-stats { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important; color: #ffffff !important; border-radius: 24px !important; padding: 32px 24px !important; display: flex !important; flex-direction: column !important; gap: 24px !important; }
.ml-side-stat-row { display: flex !important; align-items: center !important; gap: 16px !important; }
.ml-side-stat-icon { width: 44px !important; height: 44px !important; border-radius: 14px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: rgba(255, 255, 255, 0.1) !important; }
.ml-side-stat-number { font-size: 1.35rem !important; font-weight: 900 !important; color: #ffffff !important; line-height: 1.1 !important; }
.ml-side-stat-label { font-size: 0.82rem !important; color: #94a3b8 !important; }

/* CTA BANNER & FAQ */
.ml-cta-faq-section { padding: 64px 0 !important; background: #f8fafc !important; }
.ml-cta-faq-grid { display: grid !important; grid-template-columns: 1fr 1.25fr !important; gap: 32px !important; align-items: start !important; }
@media (max-width: 991px) { .ml-cta-faq-grid { grid-template-columns: 1fr !important; } }
.ml-blue-trophy-banner { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important; color: #ffffff !important; border-radius: 28px !important; padding: 40px 32px !important; text-align: center !important; box-shadow: 0 16px 36px rgba(37, 99, 235, 0.2) !important; }
.ml-trophy-graphic-container { margin-bottom: 20px !important; display: flex !important; justify-content: center !important; }
.ml-trophy-headline { font-size: 1.85rem !important; font-weight: 900 !important; color: #ffffff !important; margin: 0 0 12px 0 !important; line-height: 1.25 !important; }
.ml-trophy-subtitle { font-size: 0.98rem !important; color: #bfdbfe !important; margin: 0 0 28px 0 !important; line-height: 1.6 !important; }
.ml-trophy-btn-group { display: flex !important; flex-direction: column !important; gap: 12px !important; }
.ml-btn-trophy-white { background: #ffffff !important; color: #1d4ed8 !important; font-size: 1rem !important; font-weight: 800 !important; padding: 14px 24px !important; border-radius: 12px !important; text-decoration: none !important; display: block !important; }
.ml-btn-trophy-glass { background: rgba(255, 255, 255, 0.15) !important; color: #ffffff !important; font-size: 1rem !important; font-weight: 700 !important; padding: 14px 24px !important; border-radius: 12px !important; text-decoration: none !important; display: block !important; border: 1px solid rgba(255, 255, 255, 0.3) !important; }

.ml-faq-accordion-container { background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 28px !important; padding: 32px !important; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04) !important; }
.ml-faq-header-row { display: flex !important; align-items: center !important; justify-content: space-between !important; margin-bottom: 24px !important; }
.ml-faq-title { font-size: 1.6rem !important; font-weight: 800 !important; color: #0f172a !important; margin: 0 !important; }
.ml-faq-view-all { font-size: 0.9rem !important; font-weight: 700 !important; color: #2563eb !important; text-decoration: none !important; }
.ml-faq-list { display: flex !important; flex-direction: column !important; gap: 12px !important; }
.ml-faq-item { background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 14px !important; overflow: hidden !important; transition: all 0.2s ease !important; }
.ml-faq-question-btn { width: 100% !important; display: flex !important; align-items: center !important; justify-content: space-between !important; background: #f8fafc !important; border: none !important; padding: 16px 20px !important; font-size: 0.98rem !important; font-weight: 700 !important; color: #0f172a !important; cursor: pointer !important; text-align: left !important; outline: none !important; }
.ml-faq-arrow { width: 18px !important; height: 18px !important; flex-shrink: 0 !important; transition: transform 0.2s ease !important; color: #64748b !important; }
.ml-faq-item.open .ml-faq-question-btn { background: #eff6ff !important; color: #1d4ed8 !important; }
.ml-faq-item.open .ml-faq-arrow { transform: rotate(180deg) !important; color: #2563eb !important; }
.ml-faq-answer-content { display: none !important; padding: 16px 20px !important; font-size: 0.92rem !important; color: #475569 !important; line-height: 1.6 !important; background: #ffffff !important; border-top: 1px solid #e2e8f0 !important; }
.ml-faq-item.open .ml-faq-answer-content { display: block !important; }

:root {
  --ml-brand-blue: #1e3a8a;
  --ml-brand-indigo: #2563eb;
  --ml-brand-indigo-hover: #1d4ed8;
  --ml-brand-purple: #7c3aed;
  --ml-brand-green: #059669;
  --ml-brand-green-hover: #047857;
  --ml-brand-orange: #d97706;
  --ml-brand-amber: #f59e0b;
  
  --ml-bg-body: #f8fafc;
  --ml-bg-surface: #ffffff;
  --ml-bg-soft: #f1f5f9;
  --ml-bg-blue-light: #eff6ff;
  
  --ml-text-dark: #0f172a;
  --ml-text-main: #334155;
  --ml-text-muted: #64748b;
  --ml-text-light: #94a3b8;
  
  --ml-border-subtle: #e2e8f0;
  --ml-border-focus: #bfdbfe;
  
  --ml-radius-sm: 8px;
  --ml-radius-md: 12px;
  --ml-radius-lg: 18px;
  --ml-radius-xl: 24px;
  
  --ml-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --ml-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --ml-shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.1), 0 4px 10px rgba(15, 23, 42, 0.05);
  
  --ml-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Base Reset & Typography */
html, body {
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--ml-font-sans);
  background-color: var(--ml-bg-body);
  color: var(--ml-text-main);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

img, video, canvas {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ml-brand-indigo);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: var(--ml-brand-indigo-hover);
}

.ml-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Section Containers */
.ml-section {
  padding: 64px 0;
}

.ml-section-alt {
  background-color: #ffffff;
  border-top: 1px solid var(--ml-border-subtle);
  border-bottom: 1px solid var(--ml-border-subtle);
}

.ml-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
}

.ml-section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ml-brand-indigo);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.ml-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ml-text-dark);
  line-height: 1.2;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.ml-section-subtitle {
  font-size: 1.05rem;
  color: var(--ml-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   COMPONENT-SCOPED ICON SIZING SYSTEM
   ========================================================================== */
.ml-icon-xs {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  flex-shrink: 0 !important;
  display: block;
}

.ml-icon-sm {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  flex-shrink: 0 !important;
  display: block;
}

.ml-icon-md {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  flex-shrink: 0 !important;
  display: block;
}

.ml-icon-lg {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  flex-shrink: 0 !important;
  display: block;
}

.ml-icon-xl {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  flex-shrink: 0 !important;
  display: block;
}

/* Scoped Icon Base Rules */
.ml-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  max-width: 24px;
  flex-shrink: 0;
  display: block;
}

.ml-nav-icon,
.ml-dashboard-nav-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  max-width: 20px;
  flex-shrink: 0;
  display: block;
}

.ml-stat-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  max-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ml-stat-icon svg,
.ml-stat-icon .ml-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  max-width: 22px;
  flex-shrink: 0;
  display: block;
}

.ml-auth-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  max-width: 48px;
  border-radius: 50%;
  background-color: var(--ml-bg-blue-light);
  color: var(--ml-brand-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.ml-auth-icon svg,
.ml-auth-icon .ml-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  max-width: 24px;
  flex-shrink: 0;
  display: block;
}

.ml-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  border-radius: 12px;
  background-color: var(--ml-bg-blue-light);
  color: var(--ml-brand-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.ml-feature-icon svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  max-width: 24px;
  flex-shrink: 0;
}

/* Buttons & Form Elements */
.ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.925rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--ml-radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background-color: #f1f5f9;
  color: #0f172a !important;
  white-space: nowrap;
  text-decoration: none !important;
}

.ml-btn-sm {
  padding: 6px 14px !important;
  font-size: 0.825rem !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  color: #0f172a !important;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
}

.ml-btn-sm:hover {
  background-color: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

button:not(.ml-btn-primary):not(.ml-btn-secondary) {
  color: #0f172a;
}

.ml-btn-primary {
  background-color: var(--ml-brand-indigo) !important;
  color: #ffffff !important;
  border-color: var(--ml-brand-indigo) !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.ml-btn-primary:hover {
  background-color: var(--ml-brand-indigo-hover) !important;
  border-color: var(--ml-brand-indigo-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.ml-btn-outline {
  background-color: #ffffff !important;
  border-color: var(--ml-border-subtle) !important;
  color: var(--ml-text-dark) !important;
}

.ml-btn-outline:hover {
  background-color: var(--ml-bg-soft) !important;
  border-color: #cbd5e1 !important;
  color: var(--ml-text-dark) !important;
}

.ml-btn-secondary {
  background-color: var(--ml-brand-green) !important;
  color: #ffffff !important;
  border-color: var(--ml-brand-green) !important;
}

.ml-btn-secondary:hover {
  background-color: var(--ml-brand-green-hover) !important;
  border-color: var(--ml-brand-green-hover) !important;
  color: #ffffff !important;
}

.ml-btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--ml-radius-md);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.ml-site-header {
  background-color: var(--ml-bg-surface);
  border-bottom: 1px solid var(--ml-border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--ml-shadow-sm);
}

body.admin-bar .ml-site-header {
  top: 32px;
}

.ml-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.ml-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ml-brand-blue) !important;
  letter-spacing: -0.02em;
  text-decoration: none !important;
}

.ml-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--ml-brand-blue), var(--ml-brand-indigo));
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Desktop Navigation */
.ml-desktop-nav-container {
  display: flex;
  align-items: center;
}

.ml-desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ml-desktop-nav li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ml-nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ml-text-main) !important;
  padding: 8px 0;
  position: relative;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.ml-nav-link:hover,
.ml-nav-link.active {
  color: var(--ml-brand-indigo) !important;
}

.ml-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* User Dropdown */
.ml-user-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ml-user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  padding: 6px 14px;
  border-radius: var(--ml-radius-sm);
  cursor: pointer;
  color: var(--ml-text-dark);
  font-family: inherit;
  font-weight: 700;
  transition: all 0.15s ease;
}

.ml-user-avatar-btn:hover {
  background: var(--ml-bg-soft);
  border-color: #cbd5e1;
}

.ml-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ml-brand-indigo);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
}

.ml-user-menu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  background: #ffffff !important;
  border: 1px solid var(--ml-border-subtle) !important;
  border-radius: var(--ml-radius-md) !important;
  box-shadow: var(--ml-shadow-lg) !important;
  min-width: 220px !important;
  padding: 8px 0 !important;
  z-index: 9999 !important;
  flex-direction: column !important;
}

.ml-user-dropdown.active .ml-user-menu,
.ml-user-menu.active {
  display: flex !important;
}

.ml-user-menu-item {
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ml-text-main) !important;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
  display: block;
}

.ml-user-menu-item:hover {
  background: var(--ml-bg-soft);
  color: var(--ml-brand-indigo) !important;
}

/* Dashboard Mobile Bar - Hidden on Desktop */
.ml-mobile-nav {
  display: none !important;
}

@media (min-width: 769px) {
  .ml-mobile-nav {
    display: none !important;
  }
  .ml-mobile-toggle,
  .ml-mobile-nav-drawer {
    display: none !important;
  }
}

/* Mobile Toggle & Drawer */
.ml-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-sm);
  padding: 8px;
  cursor: pointer;
  color: var(--ml-text-dark);
}

.ml-mobile-nav-drawer {
  display: none;
}

/* ==========================================================================
   HERO & SEARCH SECTIONS
   ========================================================================== */
.ml-hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  padding: 64px 0 80px 0;
  border-bottom: 1px solid var(--ml-border-subtle);
  overflow: hidden;
}

.ml-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.ml-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #dbeafe;
  border: 1px solid #bfdbfe;
  color: var(--ml-brand-blue);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.ml-hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--ml-brand-indigo);
  border-radius: 50%;
  display: inline-block;
}

.ml-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--ml-text-dark);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 20px 0;
}

.ml-hero-title span {
  color: var(--ml-brand-indigo);
}

.ml-hero-subtitle {
  font-size: 1.15rem;
  color: var(--ml-text-muted);
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 600px;
}

.ml-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.ml-trust-pills {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ml-trust-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ml-text-main);
}

.ml-trust-pill svg {
  color: var(--ml-brand-green);
}

.ml-hero-visual {
  width: 100%;
}

.ml-hero-card-preview {
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-xl);
  padding: 16px;
  box-shadow: var(--ml-shadow-lg);
}

/* Exam Search Bar */
.ml-search-section {
  margin-top: -36px;
  position: relative;
  z-index: 10;
}

.ml-search-card {
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-lg);
  padding: 18px 24px;
  box-shadow: var(--ml-shadow-md);
}

.ml-search-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.ml-search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.ml-search-input-wrapper svg {
  position: absolute;
  left: 16px;
  color: var(--ml-text-light);
  pointer-events: none;
  z-index: 2;
}

.ml-search-input {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 48px;
  font-size: 1rem;
  color: var(--ml-text-dark);
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-md);
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  background-color: #ffffff;
}

.ml-search-input:focus {
  border-color: var(--ml-brand-indigo);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ml-search-form button {
  height: 52px;
  padding: 0 28px;
  font-size: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   POPULAR CATEGORIES, TESTS & FEATURES GRIDS
   ========================================================================== */
.ml-section-categories {
  background-color: #f8fafc;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--ml-border-subtle);
  border-bottom: 1px solid var(--ml-border-subtle);
}

.ml-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.ml-category-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease-in-out;
  position: relative;
}

.ml-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
  border-color: #cbd5e1;
}

.ml-cat-thumbnail-header {
  height: 90px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  overflow: hidden;
}

.ml-cat-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.ml-cat-icon-emblem {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 2;
}

.ml-cat-count-pill {
  font-size: 0.725rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.02em;
  z-index: 2;
}

.ml-cat-body {
  padding: 18px 18px 12px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ml-cat-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ml-text-dark);
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

.ml-cat-subtext {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ml-text-muted);
  margin-bottom: 10px;
}

.ml-cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}

.ml-tag-chip {
  font-size: 0.7rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #334155;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.ml-category-card:hover .ml-tag-chip {
  background: #ffffff;
  border-color: #cbd5e1;
}

.ml-cat-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none !important;
  border-top: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.ml-cat-link-btn:hover {
  filter: brightness(0.96);
  padding-right: 14px;
}

.ml-cat-link-btn svg {
  transition: transform 0.2s ease;
}

.ml-cat-link-btn:hover svg {
  transform: translateX(4px);
}

/* Tests Grid */
.ml-tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.ml-test-card {
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-md);
  padding: 24px;
  box-shadow: var(--ml-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.2s ease;
}

.ml-test-card:hover {
  box-shadow: var(--ml-shadow-md);
  border-color: var(--ml-border-focus);
}

.ml-test-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ml-badge-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ml-brand-indigo);
  background: var(--ml-bg-blue-light);
  padding: 4px 10px;
  border-radius: 9999px;
}

.ml-badge-free {
  font-size: 0.75rem;
  font-weight: 800;
  color: #059669;
  background: #dcfce7;
  padding: 4px 10px;
  border-radius: 9999px;
}

.ml-badge-premium {
  font-size: 0.75rem;
  font-weight: 800;
  color: #d97706;
  background: #fef3c7;
  padding: 4px 10px;
  border-radius: 9999px;
}

.ml-test-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ml-text-dark);
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.ml-test-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ml-text-muted);
  margin-bottom: 16px;
}

.ml-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Features Grid */
.ml-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.ml-feature-card {
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-md);
  padding: 24px;
  box-shadow: var(--ml-shadow-sm);
}

.ml-feature-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ml-text-dark);
  margin: 0 0 8px 0;
}

.ml-feature-desc {
  font-size: 0.9rem;
  color: var(--ml-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Steps Grid */
.ml-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ml-step-card {
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-md);
  padding: 24px;
  box-shadow: var(--ml-shadow-sm);
}

.ml-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ml-brand-indigo);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
}

.ml-step-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ml-text-dark);
  margin: 0 0 8px 0;
}

.ml-step-desc {
  font-size: 0.875rem;
  color: var(--ml-text-muted);
  margin: 0;
}

/* Student Section Grid */
.ml-student-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Analytics Preview Card */
.ml-analytics-preview-card {
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-lg);
  padding: 28px;
  box-shadow: var(--ml-shadow-md);
}

.ml-analytics-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.ml-metric-box {
  background: var(--ml-bg-soft);
  border-radius: var(--ml-radius-sm);
  padding: 16px;
  text-align: center;
}

.ml-metric-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ml-brand-indigo);
  line-height: 1.2;
}

.ml-metric-lbl {
  font-size: 0.8rem;
  color: var(--ml-text-muted);
  margin-top: 4px;
}

/* Pricing Grid */
.ml-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  justify-content: center;
}

.ml-pricing-card {
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-lg);
  padding: 32px;
  box-shadow: var(--ml-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}

.ml-pricing-card.featured {
  border: 2px solid var(--ml-brand-indigo);
  box-shadow: var(--ml-shadow-lg);
}

.ml-pricing-featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ml-brand-indigo);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.ml-price-val {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--ml-text-dark);
  margin: 16px 0 24px 0;
}

.ml-price-val span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ml-text-muted);
}

.ml-pricing-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 28px 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ml-pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ml-text-main);
  list-style: none !important;
}

/* CTA Banner */
.ml-cta-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: var(--ml-radius-xl);
  padding: 56px 36px;
  text-align: center;
  box-shadow: var(--ml-shadow-lg);
}

.ml-cta-banner h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.ml-cta-banner p {
  font-size: 1.1rem;
  color: #dbeafe;
  margin: 0 0 28px 0;
}

/* Empty State */
.ml-empty-state {
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-md);
  padding: 40px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.ml-empty-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ml-text-dark);
  margin: 0 0 8px 0;
}

.ml-empty-desc {
  font-size: 0.925rem;
  color: var(--ml-text-muted);
  margin: 0;
}

/* ==========================================================================
   STUDENT LOGIN / AUTHENTICATION PAGE
   ========================================================================== */
.ml-auth-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 48px;
  align-items: center;
  min-width: 0;
}

.ml-auth-illustration-side {
  min-width: 0;
}

.ml-auth-card-wrapper {
  width: 100%;
  min-width: 0;
}

.ml-auth-card {
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--ml-shadow-lg);
  box-sizing: border-box;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.ml-auth-header {
  margin-bottom: 24px;
  text-align: left;
}

.ml-auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ml-text-dark);
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.ml-auth-subtitle {
  font-size: 0.9rem;
  color: var(--ml-text-muted);
  margin: 0;
}

.ml-auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ml-form-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ml-form-group label,
.ml-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ml-text-dark);
}

.ml-input,
.ml-form-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-sm);
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #ffffff;
}

.ml-input:focus,
.ml-form-input:focus {
  border-color: var(--ml-brand-indigo);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ml-form-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ml-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ml-text-main);
  cursor: pointer;
}

.ml-btn-full {
  width: 100%;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 700;
}

.ml-auth-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ml-border-subtle);
  text-align: center;
  font-size: 0.9rem;
  color: var(--ml-text-muted);
}

.ml-auth-footer p {
  margin: 0;
}

/* ==========================================================================
   STUDENT DASHBOARD PRESENTATION
   ========================================================================== */
.ml-dashboard-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
  min-width: 0;
}

.ml-dashboard-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  min-width: 0;
}

/* Sidebar */
.ml-dashboard-sidebar {
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-md);
  padding: 20px;
  box-shadow: var(--ml-shadow-sm);
  position: sticky;
  top: 96px;
  box-sizing: border-box;
}

.ml-sidebar-header {
  margin-bottom: 20px;
}

.ml-user-profile-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ml-border-subtle);
}

.ml-avatar-lg {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ml-brand-blue), var(--ml-brand-indigo));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ml-avatar-sm {
  width: 36px;
  height: 36px;
  min-width: 36px;
  max-width: 36px;
  border-radius: 50%;
  background: var(--ml-brand-indigo);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.ml-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ml-user-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ml-text-dark);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ml-user-email {
  font-size: 0.785rem;
  color: var(--ml-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ml-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ml-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--ml-radius-sm);
  border: none;
  background: transparent;
  color: var(--ml-text-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  box-sizing: border-box;
  text-decoration: none !important;
}

.ml-nav-item:hover {
  background: var(--ml-bg-soft);
  color: var(--ml-brand-indigo);
}

.ml-nav-item.active {
  background: var(--ml-bg-blue-light);
  color: var(--ml-brand-indigo);
  font-weight: 700;
}

.ml-nav-tag {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 800;
  background: #fef3c7;
  color: #b45309;
  padding: 2px 6px;
  border-radius: 4px;
}

.ml-nav-divider {
  height: 1px;
  background: var(--ml-border-subtle);
  margin: 8px 0;
}

.ml-nav-logout {
  color: #dc2626;
}

.ml-nav-logout:hover {
  background: #fef2f2;
  color: #b91c1c;
}

/* Dashboard Main Area */
.ml-dashboard-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ml-tab-content,
.ml-tab-panel {
  display: none;
}

.ml-tab-content.active,
.ml-tab-panel.active {
  display: block;
}

/* Welcome Banner */
.ml-welcome-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: var(--ml-radius-md);
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--ml-shadow-md);
  margin-bottom: 24px;
}

.ml-welcome-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  color: #ffffff;
}

.ml-welcome-text p {
  font-size: 0.95rem;
  color: #dbeafe;
  margin: 0;
}

/* Stats Grid */
.ml-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.ml-stat-card {
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-md);
  padding: 20px;
  box-shadow: var(--ml-shadow-sm);
  min-width: 0;
}

.ml-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ml-stat-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ml-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ml-stat-icon-blue { background: #eff6ff; color: #2563eb; }
.ml-stat-icon-indigo { background: #e0e7ff; color: #4f46e5; }
.ml-stat-icon-emerald { background: #dcfce7; color: #16a34a; }
.ml-stat-icon-amber { background: #fef3c7; color: #d97706; }

.ml-stat-value {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--ml-text-dark);
  line-height: 1.1;
  margin-bottom: 6px;
}

.ml-stat-desc {
  font-size: 0.8rem;
  color: var(--ml-text-muted);
}

/* ==========================================================================
   FAQ PAGE & ACCORDION STYLING
   ========================================================================== */
.ml-faq-search-wrapper {
  margin-bottom: 32px;
  position: relative;
}

.ml-faq-search-input {
  width: 100%;
  padding: 14px 18px 14px 48px;
  font-size: 1rem;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-md);
  outline: none;
  font-family: inherit;
  box-shadow: var(--ml-shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.ml-faq-search-input:focus {
  border-color: var(--ml-brand-indigo);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.ml-faq-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ml-text-light);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.ml-faq-categories {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.ml-faq-cat-btn {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid var(--ml-border-subtle);
  background: #ffffff;
  color: var(--ml-text-main);
  cursor: pointer;
  transition: all 0.15s ease;
}

.ml-faq-cat-btn:hover,
.ml-faq-cat-btn.active {
  background: var(--ml-brand-indigo);
  border-color: var(--ml-brand-indigo);
  color: #ffffff;
}

.ml-faq-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ml-faq-item {
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ml-faq-item:hover {
  border-color: var(--ml-border-focus);
}

.ml-faq-item.open {
  border-color: var(--ml-brand-indigo);
  box-shadow: var(--ml-shadow-sm);
}

.ml-faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ml-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
  box-sizing: border-box;
}

.ml-faq-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  max-width: 20px;
  flex-shrink: 0;
  color: var(--ml-text-muted);
  transition: transform 0.2s ease;
}

.ml-faq-item.open .ml-faq-icon {
  transform: rotate(180deg);
  color: var(--ml-brand-indigo);
}

.ml-faq-answer {
  display: none;
  padding: 0 24px 20px 24px;
  font-size: 0.95rem;
  color: var(--ml-text-muted);
  line-height: 1.6;
}

.ml-faq-item.open .ml-faq-answer {
  display: block;
}

.ml-faq-cta {
  margin-top: 48px;
  background: var(--ml-bg-blue-light);
  border: 1px solid var(--ml-border-focus);
  border-radius: var(--ml-radius-lg);
  padding: 32px;
  text-align: center;
}

.ml-faq-cta h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ml-text-dark);
  margin: 0 0 8px 0;
}

.ml-faq-cta p {
  font-size: 0.95rem;
  color: var(--ml-text-muted);
  margin: 0 0 20px 0;
}

/* ==========================================================================
   LEGAL & GENERIC PAGES
   ========================================================================== */
.ml-legal-page-container {
  max-width: 860px;
  margin: 40px auto;
  padding: 40px 32px;
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-lg);
  box-shadow: var(--ml-shadow-sm);
}

.ml-legal-header {
  border-bottom: 1px solid var(--ml-border-subtle);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.ml-legal-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ml-text-dark);
  margin: 0;
}

.ml-legal-body {
  font-size: 1rem;
  color: var(--ml-text-main);
  line-height: 1.7;
}

.ml-legal-body h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ml-text-dark);
  margin: 32px 0 12px 0;
}

.ml-legal-body p {
  margin-bottom: 16px;
}

/* ==========================================================================
   FOOTER STYLING OVERHAUL
   ========================================================================== */
.ml-site-footer {
  background: linear-gradient(180deg, #090d16 0%, #030712 100%) !important;
  color: #e2e8f0 !important;
  padding: 64px 0 28px 0 !important;
  font-size: 0.925rem !important;
  margin-top: 64px !important;
  border-top: 2px solid #1e293b !important;
  position: relative !important;
}

.ml-site-footer::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, #2563eb, #38bdf8, #818cf8, #2563eb) !important;
}

.ml-footer-grid {
  display: grid !important;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr 1fr !important;
  gap: 36px !important;
  padding-bottom: 48px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.ml-footer-brand-title {
  color: #ffffff !important;
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  margin-bottom: 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.ml-footer-brand-desc {
  color: #cbd5e1 !important;
  line-height: 1.65 !important;
  margin-bottom: 20px !important;
  font-size: 0.9rem !important;
}

.ml-footer-heading {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  margin: 0 0 20px 0 !important;
  letter-spacing: 0.01em !important;
  position: relative !important;
  padding-bottom: 8px !important;
}

.ml-footer-heading::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 32px !important;
  height: 2.5px !important;
  background: linear-gradient(90deg, #2563eb, #38bdf8) !important;
  border-radius: 2px !important;
}

.ml-footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

.ml-footer-links li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ml-footer-links a {
  color: #cbd5e1 !important;
  transition: all 0.2s ease !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.ml-footer-links a:hover {
  color: #38bdf8 !important;
  transform: translateX(4px) !important;
}

.ml-footer-bottom {
  padding: 24px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  color: #cbd5e1 !important;
  font-size: 0.88rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.ml-footer-bottom-links {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
}

.ml-footer-bottom-links a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.15s ease !important;
}

.ml-footer-bottom-links a:hover {
  color: #38bdf8 !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .ml-hero-grid,
  .ml-student-section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ml-hero-title {
    font-size: 2.5rem;
  }

  .ml-dashboard-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
  }

  .ml-stats-grid,
  .ml-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ml-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ml-header-hidden-take-test {
  display: none !important;
}

@media (max-width: 768px) {
  .ml-header-inner {
    padding: 8px 0;
  }

  .ml-header-actions {
    gap: 8px !important;
  }

  .ml-user-avatar-btn {
    padding: 4px 8px !important;
    gap: 4px !important;
  }

  .ml-dash-link-btn {
    padding: 6px 10px !important;
  }

  .ml-desktop-nav-container {
    display: none !important;
  }

  .ml-mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .ml-user-name-text,
  .ml-user-arrow {
    display: none !important;
  }

  .ml-user-avatar-btn {
    border-radius: 50% !important;
    padding: 2px !important;
  }
}

@media (max-width: 480px) {
  .ml-dash-text {
    display: none !important;
  }

  .ml-brand-logo {
    font-size: 1.05rem !important;
  }

  .ml-brand-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 768px) {
  .ml-mobile-nav-drawer {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid var(--ml-border-subtle);
    padding: 16px 24px;
    box-shadow: var(--ml-shadow-md);
  }

  .ml-mobile-nav-drawer.active {
    display: block !important;
  }

  .ml-mobile-drawer-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .ml-mobile-nav-link {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ml-text-dark) !important;
    display: block;
    padding: 6px 0;
  }

  .ml-auth-page-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ml-auth-illustration-side {
    order: 2;
  }

  .ml-auth-card-wrapper {
    order: 1;
  }

  .ml-dashboard-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ml-dashboard-sidebar {
    position: static;
  }

  .ml-welcome-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .ml-search-form {
    flex-direction: column;
  }

  .ml-search-form button {
    width: 100%;
  }

  .ml-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .ml-container,
  .ml-dashboard-wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }

  .ml-hero-title {
    font-size: 2rem;
  }

  .ml-auth-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .ml-stats-grid,
  .ml-steps-grid,
  .ml-analytics-metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* ==========================================================================
   MOBILE DASHBOARD & NAVIGATION POLISH
   ========================================================================== */
.ml-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99990;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ml-sidebar-backdrop.active {
  display: block;
  opacity: 1;
}

.ml-mobile-nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--ml-border-subtle);
  border-radius: var(--ml-radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ml-mobile-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ml-mobile-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ml-mobile-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ml-text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.ml-mobile-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.ml-mobile-menu-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.ml-mobile-menu-btn:hover {
  background: #e2e8f0;
}
.ml-mobile-menu-btn .ml-icon {
  width: 22px;
  height: 22px;
}

/* Horizontal Quick Pills */
.ml-mobile-quick-pills {
  display: none;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 12px 2px;
  margin-bottom: 16px;
  scrollbar-width: none;
}
.ml-mobile-quick-pills::-webkit-scrollbar {
  display: none;
}
.ml-quick-pill {
  flex: 0 0 auto;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 9999px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.ml-quick-pill:hover,
.ml-quick-pill.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Mobile Bottom Navigation Bar */
.ml-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  align-items: center;
  justify-content: space-around;
  z-index: 99980;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
  padding: 0 4px;
}
.ml-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 0;
  cursor: pointer;
  transition: color 0.15s ease;
}
.ml-bottom-nav-item svg {
  width: 22px;
  height: 22px;
}
.ml-bottom-nav-item.active {
  color: #2563eb;
}

/* Responsiveness on Mobile (<= 768px) */
@media (max-width: 768px) {
  /* Hide the desktop site header on mobile when student dashboard is active */
  .ml-site-header {
    display: none !important;
  }

  .ml-mobile-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 12px 14px !important;
    margin: 0 0 12px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
  }

  .ml-mobile-top-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .ml-tab-content#tab-home {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  .ml-mobile-quick-pills {
    display: flex !important;
  }

  .ml-mobile-bottom-nav {
    display: flex !important;
  }

  .ml-dashboard-wrapper {
    padding: 0 0 76px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background-color: #f8fafc !important;
  }

  .ml-dashboard-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .ml-dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: -320px !important;
    width: 290px !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 99995 !important;
    background: #ffffff !important;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2) !important;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 20px 16px 40px 16px !important;
    border-radius: 0 16px 16px 0 !important;
    border-right: 1px solid #e2e8f0 !important;
  }

  .ml-dashboard-sidebar.mobile-open {
    left: 0 !important;
  }

  .ml-sidebar-close-btn {
    display: flex !important;
    position: absolute;
    top: 14px;
    right: 14px;
    background: #f1f5f9;
    border: none;
    font-size: 22px;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
  }

  .ml-user-profile-badge {
    padding-right: 32px;
  }

  .ml-dashboard-main {
    padding-bottom: 20px !important;
  }

  .ml-user-name {
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ml-user-email {
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ml-badge {
    display: inline-block !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}

@media (min-width: 769px) {
  .ml-sidebar-close-btn {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .ml-card,
  .ml-tab-content {
    padding: 14px 12px !important;
  }

  .ml-welcome-banner {
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }

  .ml-stats-grid,
  .ml-quick-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .wp-list-table,
  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   MOBILE APP DASHBOARD SPECIFIC STYLES (MATCHING SCREENSHOT DESIGN)
   ========================================================================== */
.ml-mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ml-brand-logo-icon {
  width: 38px;
  height: 38px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 900;
  font-size: 20px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}
.ml-brand-logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}
.ml-mobile-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ml-mobile-action-btn {
  position: relative;
  background: transparent;
  border: none;
  color: #0f172a;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.ml-mobile-action-btn svg {
  width: 24px;
  height: 24px;
  stroke: #0f172a;
  stroke-width: 2.2;
}
.ml-notification-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ml-avatar-sm,
#mlMobileAvatarBtn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
  user-select: none;
}

/* Hero Dark Blue Card */
.ml-app-hero-card {
  background: linear-gradient(135deg, #0b3cb8 0%, #1d4ed8 55%, #1e1b4b 100%);
  border-radius: 20px;
  padding: 20px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(29, 78, 216, 0.4);
  margin-bottom: 20px;
}
.ml-app-hero-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.ml-app-hero-content {
  flex: 1;
  min-width: 0;
  z-index: 2;
}
.ml-app-hero-greeting {
  font-size: 13px;
  font-weight: 600;
  color: #bfdbfe;
  margin-bottom: 4px;
}
.ml-app-hero-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px 0;
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.ml-app-hero-sub {
  font-size: 12px;
  color: #93c5fd;
  margin: 0 0 14px 0;
}
.ml-app-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.ml-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}
.ml-badge-gold {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.ml-badge-fire {
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}
.ml-app-hero-xp {
  width: 100%;
  max-width: 220px;
}
.ml-xp-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #dbeafe;
  margin-bottom: 6px;
}
.ml-xp-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  overflow: hidden;
}
.ml-xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #60a5fa);
  border-radius: 9999px;
}

/* Goal Ring Widget */
.ml-app-hero-graphic {
  position: relative;
  z-index: 2;
  margin-left: 12px;
  flex-shrink: 0;
}
.ml-goal-ring {
  position: relative;
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ml-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ml-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 3.5;
}
.ml-ring-fill {
  fill: none;
  stroke: #38bdf8;
  stroke-width: 3.5;
  stroke-linecap: round;
}
.ml-ring-text {
  position: absolute;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ml-ring-text strong {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.ml-ring-text span {
  font-size: 8px;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 2px;
  font-weight: 700;
}

/* Quick Action Cards */
.ml-app-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.ml-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ml-action-icon svg {
  width: 22px;
  height: 22px;
}
.ml-icon-blue { background: #eff6ff; color: #2563eb; }
.ml-icon-green { background: #f0fdf4; color: #16a34a; }
.ml-icon-purple { background: #faf5ff; color: #9333ea; }
.ml-icon-cyan { background: #ecfeff; color: #0891b2; }

/* Sections */
.ml-app-section {
  margin-bottom: 22px;
}
.ml-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ml-section-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.2px;
}
.ml-view-all-link {
  background: transparent;
  border: none;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

/* Progress Grid */
.ml-progress-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 640px) {
  .ml-progress-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ml-progress-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}
.ml-prog-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.ml-prog-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ml-prog-icon svg {
  width: 18px;
  height: 18px;
}
.ml-prog-blue { background: #eff6ff; color: #2563eb; }
.ml-prog-purple { background: #faf5ff; color: #9333ea; }
.ml-prog-amber { background: #fffbeb; color: #d97706; }
.ml-prog-green { background: #f0fdf4; color: #16a34a; }
.ml-prog-pink { background: #fdf2f8; color: #db2777; }

.ml-prog-title {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}
.ml-prog-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.1;
}
.ml-prog-trend {
  font-size: 11px;
  font-weight: 700;
}
.ml-trend-up {
  color: #16a34a;
}
.ml-prog-subtext {
  font-size: 11px;
  color: #64748b;
}
.ml-prog-action-text {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
}

/* Continue Card */
.ml-continue-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.ml-continue-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.ml-continue-icon {
  width: 42px;
  height: 42px;
  background: #f0f3ff;
  color: #4f46e5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ml-continue-icon svg {
  width: 22px;
  height: 22px;
}
.ml-continue-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}
.ml-continue-meta {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}
.ml-continue-time {
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
}
.ml-continue-progress-bar {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 14px;
}
.ml-continue-fill {
  height: 100%;
  background: #2563eb;
  border-radius: 9999px;
}
.ml-continue-actions {
  display: flex;
  justify-content: flex-end;
}
.ml-resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  background: #2563eb;
  color: #ffffff;
  border: none;
  cursor: pointer;
}
.ml-resume-btn svg {
  width: 16px;
  height: 16px;
}

/* Upcoming Exams Row */
.ml-upcoming-exams-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.ml-upcoming-exams-row::-webkit-scrollbar {
  display: none;
}
.ml-exam-chip {
  flex: 0 0 200px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.ml-exam-date {
  width: 44px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ml-exam-date strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}
.ml-exam-date span {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 2px;
}
.ml-date-blue { background: #eff6ff; color: #2563eb; }
.ml-date-green { background: #f0fdf4; color: #16a34a; }
.ml-date-purple { background: #faf5ff; color: #9333ea; }
.ml-date-amber { background: #fffbeb; color: #d97706; }

.ml-exam-details h4 {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.ml-exam-details p {
  font-size: 11px;
  color: #64748b;
  margin: 0 0 2px 0;
}
.ml-days-left {
  font-size: 10px;
  font-weight: 800;
  color: #2563eb;
}

/* AI Coach Banner */
.ml-ai-coach-banner {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #3730a3 100%);
  border-radius: 16px;
  padding: 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
  margin-top: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}
.ml-ai-coach-icon {
  font-size: 36px;
  flex-shrink: 0;
}
.ml-ai-coach-content {
  flex: 1;
  min-width: 0;
}
.ml-ai-coach-content h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px 0;
}
.ml-ai-coach-content p {
  font-size: 11px;
  color: #e0e7ff;
  margin: 0;
}
.ml-ai-ask-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   DESKTOP DASHBOARD GRID & COMPONENT STYLES (MATCHING SAMPLE IMAGE)
   ========================================================================== */

/* Hide Theme Site Header on Student Dashboard for Seamless Look */
.ml-header-hidden-dash,
header.ml-site-header.ml-header-hidden-dash,
body.page-template-student-dashboard-view header.ml-site-header,
body.page-template-student-dashboard-view .site-header,
body.page-template-student-dashboard-view #site-header,
body.page-template-student-dashboard-view header#masthead {
  display: none !important;
}

/* Full Width Container Overrides on Student Dashboard */
body.page-template-student-dashboard-view #secondary,
body.page-template-student-dashboard-view .widget-area,
body.page-template-student-dashboard-view .ast-sidebar-one,
body.page-template-student-dashboard-view .ast-sidebar-two,
.ml-student-dashboard-page-container ~ #secondary,
.ml-student-dashboard-page-container ~ .widget-area {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ml-student-dashboard-page-container,
body.page-template-student-dashboard-view,
body.page-template-student-dashboard-view #page,
body.page-template-student-dashboard-view #content,
body.page-template-student-dashboard-view #primary,
body.page-template-student-dashboard-view #main,
body.page-template-student-dashboard-view main,
body.page-template-student-dashboard-view .site-content,
body.page-template-student-dashboard-view .ast-container,
body.page-template-student-dashboard-view .container,
body.page-template-student-dashboard-view .entry-content,
body.page-template-student-dashboard-view article,
body.page-template-student-dashboard-view .site-main,
body.page-template-student-dashboard-view .ml-container,
.ml-student-dashboard-page-container .ml-container,
.ml-student-dashboard-page-container article,
.ml-student-dashboard-page-container .entry-content,
.ml-student-dashboard-page-container .ast-container,
.ml-student-dashboard-page-container .container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
}

@media (min-width: 992px) {
  .ml-desktop-top-header {
    display: flex !important;
  }
  .ml-mobile-nav {
    display: none !important;
  }
  .ml-mobile-bottom-nav {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .ml-desktop-top-header {
    display: none !important;
  }
  .ml-mobile-nav {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 12px 0 !important;
    padding: 12px 14px !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
  }
  .ml-dashboard-wrapper {
    padding: 0 0 80px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background-color: #f8fafc !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .ml-mobile-quick-pills {
    padding: 0 14px 10px 14px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .ml-dashboard-main {
    padding: 0 14px 20px 14px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .ml-dash-top-grid,
  .ml-dash-top-right {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
  }
  .ml-app-hero-card {
    margin-bottom: 16px !important;
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 16px !important;
    box-sizing: border-box !important;
  }
  .ml-tab-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .ml-side-plan-card,
  .ml-side-wallet-card,
  .ml-action-card,
  .ml-progress-card,
  .ml-continue-card,
  .ml-ai-coach-banner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .ml-mobile-quick-pills {
    padding: 0 12px 10px 12px !important;
  }
  .ml-dashboard-main {
    padding: 0 12px 20px 12px !important;
  }
  .ml-app-hero-card {
    padding: 16px 14px !important;
  }
  .ml-goal-ring {
    width: 70px !important;
    height: 70px !important;
  }
}

.ml-mobile-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
}

.ml-mobile-brand:hover {
  opacity: 0.9;
}

/* Desktop Header Component Styles */
.ml-desktop-top-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  height: 68px;
  box-sizing: border-box;
  width: 100%;
}

.ml-top-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.ml-top-header-left .ml-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.ml-top-header-left .ml-brand-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 900;
  font-size: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.ml-top-header-left .ml-brand-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.ml-top-header-center {
  flex: 1;
  max-width: 440px;
  margin: 0 24px;
}

.ml-search-form {
  width: 100%;
  margin: 0;
}

.ml-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.ml-search-input-wrapper .ml-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #64748b;
  pointer-events: none;
  z-index: 2;
}

.ml-top-search-input {
  width: 100%;
  height: 42px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 102px 0 42px;
  font-size: 13.5px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ml-top-search-input:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ml-search-submit-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
  line-height: 1;
}

.ml-search-submit-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.ml-search-submit-btn svg {
  flex-shrink: 0;
}

.ml-top-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.ml-live-tests-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff5f5;
  color: #e11d48;
  border: 1px solid #fecdd3;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 42px;
  white-space: nowrap;
}

.ml-live-tests-btn:hover {
  background: #ffe4e6;
  border-color: #fda4af;
  transform: translateY(-1px);
}

.ml-header-icon-btn {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  padding: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ml-header-icon-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.ml-header-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: #475569;
}

.ml-header-icon-btn .ml-notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.ml-header-profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 14px 4px 5px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 42px;
  box-sizing: border-box;
}

.ml-header-profile-pill:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.ml-header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ml-header-profile-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.ml-header-name {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.ml-header-role {
  font-size: 10px;
  font-weight: 700;
  color: #16a34a;
  white-space: nowrap;
}

.ml-header-caret {
  color: #64748b;
  flex-shrink: 0;
  margin-left: 2px;
}

/* Sidebar Headings & Bottom Card */
.ml-sidebar-section-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #94a3b8;
  padding: 16px 12px 6px 12px;
  text-transform: uppercase;
}

.ml-sidebar-upgrade-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 14px;
  margin: 16px 0;
  text-align: center;
}

.ml-upgrade-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.ml-sidebar-upgrade-box h4 {
  font-size: 13px;
  font-weight: 800;
  color: #1e40af;
  margin: 0 0 2px 0;
}

.ml-sidebar-upgrade-box p {
  font-size: 11px;
  color: #3b82f6;
  margin: 0 0 10px 0;
}

.ml-upgrade-btn {
  width: 100%;
  background: #2563eb;
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ml-upgrade-btn:hover {
  background: #1d4ed8;
}

/* --- 1. TOP SECTION GRID (Hero + Right Side Cards) --- */
.ml-dash-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 1024px) {
  .ml-dash-top-grid {
    grid-template-columns: 1fr 340px;
  }
}

.ml-dash-top-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ml-side-plan-card,
.ml-side-wallet-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ml-side-plan-card:hover,
.ml-side-wallet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.ml-side-card-info {
  flex: 1;
  min-width: 0;
}

.ml-side-card-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.ml-side-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.ml-side-card-sub {
  font-size: 11px;
  color: #16a34a;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.ml-wallet-val-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.ml-add-money-pill {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  cursor: pointer;
}

.ml-referral-earning {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 8px;
}

.ml-referral-earning strong {
  color: #2563eb;
}

.ml-side-card-link {
  background: transparent;
  border: none;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}

.ml-side-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.ml-icon-crown { background: #fef3c7; }
.ml-icon-wallet { background: #dcfce7; }

/* --- 2. QUICK ACTIONS BAR --- */
.ml-app-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .ml-app-quick-actions {
    grid-template-columns: repeat(4, 1fr);
  }
}

button.ml-action-card,
.ml-action-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 16px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
  text-decoration: none !important;
  outline: none !important;
  color: #0f172a !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

button.ml-action-card:hover,
button.ml-action-card:focus,
.ml-action-card:hover,
.ml-action-card:focus {
  background: #ffffff !important;
  border-color: #2563eb !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.15) !important;
}

button.ml-action-card:active,
.ml-action-card:active {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.12) !important;
}

.ml-action-card .ml-action-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease, background-color 0.25s ease !important;
}

.ml-action-card:hover .ml-action-icon {
  transform: scale(1.08) !important;
}

.ml-action-text-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}

.ml-action-card .ml-action-title,
button.ml-action-card .ml-action-title,
.ml-action-card span.ml-action-title {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  transition: color 0.2s ease !important;
}

button.ml-action-card:hover .ml-action-title,
.ml-action-card:hover .ml-action-title {
  color: #2563eb !important;
}

.ml-action-card .ml-action-sub,
button.ml-action-card .ml-action-sub,
.ml-action-card span.ml-action-sub {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: #64748b !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  transition: color 0.2s ease !important;
}

button.ml-action-card:hover .ml-action-sub,
.ml-action-card:hover .ml-action-sub {
  color: #475569 !important;
}

/* --- 3. PROGRESS STATS GRID (4 CARDS) --- */
.ml-progress-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

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

/* --- 4. MIDDLE 3-COLUMN GRID --- */
.ml-dash-middle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 1024px) {
  .ml-dash-middle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ml-dash-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.ml-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ml-card-title-row h3 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.ml-time-select {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  padding: 2px 6px;
}

/* Continue Prep Details */
.ml-continue-test-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.ml-continue-icon-box {
  width: 40px;
  height: 40px;
  background: #eff6ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ml-continue-test-info h4 {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.ml-continue-meta {
  font-size: 11px;
  color: #64748b;
  display: block;
}

.ml-continue-time {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  margin-top: 2px;
}

.ml-continue-bar {
  background: #e2e8f0;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
}

.ml-continue-fill {
  background: #2563eb;
  height: 100%;
}

.ml-continue-footer .ml-resume-btn {
  width: 100%;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  border-radius: 8px;
}

/* Performance Overview SVG & Bars */
.ml-chart-container {
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
}

.ml-perf-svg {
  width: 100%;
  height: 70px;
}

.ml-subject-strengths {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ml-subj-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #475569;
  margin-bottom: 2px;
}

.ml-subj-label strong {
  color: #0f172a;
}

.ml-subj-bar {
  background: #f1f5f9;
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
}

.ml-subj-fill {
  height: 100%;
}

/* Upcoming Exams Card */
.ml-upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ml-upcoming-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 8px 12px;
}

.ml-date-pill {
  width: 38px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ml-date-pill strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.ml-date-pill span {
  font-size: 8px;
  font-weight: 800;
  margin-top: 1px;
}

.ml-pill-blue { background: #eff6ff; color: #2563eb; }
.ml-pill-green { background: #f0fdf4; color: #16a34a; }
.ml-pill-purple { background: #faf5ff; color: #9333ea; }
.ml-pill-amber { background: #fffbeb; color: #d97706; }

.ml-upcoming-info {
  flex: 1;
  min-width: 0;
}

.ml-upcoming-info h4 {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1px 0;
}

.ml-upcoming-info p {
  font-size: 10px;
  color: #64748b;
  margin: 0 0 2px 0;
}

.ml-days-tag {
  font-size: 10px;
  font-weight: 800;
  color: #2563eb;
}

.ml-upcoming-icon {
  font-size: 16px;
  color: #94a3b8;
}

/* --- 5. BOTTOM 3-COLUMN GRID --- */
.ml-dash-bottom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 1024px) {
  .ml-dash-bottom-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Recommended Cards */
.ml-recommended-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ml-rec-series-item {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}

.ml-bestseller-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fef3c7;
  color: #b45309;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.ml-rec-series-item h4 {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.ml-rec-sub {
  font-size: 10px;
  color: #64748b;
  margin: 0 0 4px 0;
}

.ml-rec-meta {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}

.ml-rec-price {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ml-rec-price strong {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.ml-rec-price del {
  font-size: 10px;
  color: #94a3b8;
}

.ml-off-tag {
  font-size: 9px;
  font-weight: 800;
  color: #16a34a;
  background: #dcfce7;
  padding: 1px 4px;
  border-radius: 3px;
}

/* Recent Achievements */
.ml-achieve-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ml-achieve-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 8px 12px;
}

.ml-achieve-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ml-ach-gold { background: #fef3c7; }
.ml-ach-blue { background: #eff6ff; }
.ml-ach-fire { background: #fee2e2; }

.ml-achieve-info h4 {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1px 0;
}

.ml-achieve-info p {
  font-size: 10px;
  color: #64748b;
  margin: 0 0 2px 0;
}

.ml-achieve-info span {
  font-size: 9px;
  color: #94a3b8;
}

/* AI Coach Bottom Card */
.ml-ai-coach-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #1e40af 100%);
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
}

.ml-ai-coach-robot {
  font-size: 42px;
  margin-bottom: 8px;
}

.ml-ai-coach-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.ml-ai-coach-card p {
  font-size: 12px;
  color: #bfdbfe;
  margin: 0 0 16px 0;
  max-width: 220px;
}

.ml-ai-ask-now-btn {
  background: #ffffff;
  color: #1e40af;
  border: none;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.ml-ai-ask-now-btn:hover {
  transform: scale(1.04);
}

/* --- 6. FOOTER STATS BAR --- */
.ml-dash-footer-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .ml-dash-footer-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ml-footer-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ml-stat-icon {
  font-size: 24px;
}

.ml-stat-text {
  display: flex;
  flex-direction: column;
}

.ml-stat-text strong {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.ml-stat-text span {
  font-size: 11px;
  color: #64748b;
}

/* ==========================================================================
   EXACT REDESIGNED HOMEPAGE STYLES (MATCHING REFERENCE DEMO)
   ========================================================================== */

/* Header Brand Tagline & Action Buttons */
.ml-brand-text-wrapper {
  display: flex;
  flex-direction: column;
}

.ml-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.ml-brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
}

.ml-header-search-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  background: #f1f5f9;
  transition: all 0.2s ease;
}

.ml-header-search-icon-btn:hover {
  background: #e2e8f0;
  color: #1e3a8a;
}

.ml-btn-login-text {
  font-weight: 700;
  color: #334155 !important;
  padding: 8px 16px;
  text-decoration: none;
}

.ml-btn-login-text:hover {
  color: #2563eb !important;
}

.ml-btn-start-free {
  background: #2563eb !important;
  background-color: #2563eb !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  padding: 8px 22px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.ml-btn-start-free:hover {
  background-color: #1d4ed8 !important;
  transform: translateY(-1px);
}

/* 1. HERO SECTION */
.ml-hero-section {
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
  padding: 48px 0 64px 0;
  position: relative;
  overflow: hidden;
}

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

@media (min-width: 992px) {
  .ml-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.ml-hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.ml-hero-badge-star {
  font-size: 0.95rem;
}

.ml-hero-headline {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 20px 0;
}

@media (min-width: 768px) {
  .ml-hero-headline {
    font-size: 3.25rem;
  }
}

.ml-highlight-blue {
  color: #2563eb;
  display: inline-block;
}

.ml-hero-subheadline {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 0 32px 0;
}

.ml-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.ml-btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2563eb;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 9999px;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.ml-btn-hero-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.35);
}

.ml-btn-hero-outline {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #1e293b !important;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.ml-btn-hero-outline:hover {
  border-color: #2563eb;
  color: #2563eb !important;
  background: #f8fafc;
}

.ml-trust-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ml-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.ml-pill-icon {
  font-size: 0.9rem;
}

/* Hero Right Visual */
.ml-hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.ml-hero-card-backdrop {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ml-tilted-yellow-badge {
  position: absolute;
  top: -16px;
  left: -12px;
  background: #facc15;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.25;
  padding: 8px 14px;
  border-radius: 12px;
  transform: rotate(-8deg);
  box-shadow: 0 8px 16px rgba(234, 179, 8, 0.35);
  z-index: 10;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ml-hero-student-img-box {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  background: #ffffff;
}

.ml-hero-student-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.ml-floating-stats-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.ml-floating-stat-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  border: 1px solid #f1f5f9;
}

.ml-stat-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ml-stat-icon-circle.blue {
  background: #eff6ff;
  color: #2563eb;
}

.ml-stat-icon-circle.cyan {
  background: #ecfeff;
  color: #0891b2;
}

.ml-stat-icon-circle.green {
  background: #f0fdf4;
  color: #16a34a;
}

.ml-floating-stat-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.ml-floating-stat-lbl {
  font-size: 0.75rem;
  color: #64748b;
}

/* 2. FIND YOUR EXAM SECTION */
.ml-find-exam-section {
  padding: 24px 0 40px 0;
  margin-top: -20px;
  position: relative;
  z-index: 5;
}

.ml-find-exam-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.ml-find-exam-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.ml-find-exam-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 24px 0;
}

.ml-find-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 9999px;
  padding: 6px 6px 6px 18px;
  transition: all 0.2s ease;
}

.ml-find-input-box:focus-within {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.ml-find-search-icon {
  color: #94a3b8;
  margin-right: 12px;
  flex-shrink: 0;
}

.ml-find-search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 1rem;
  color: #0f172a;
  outline: none;
  padding: 8px 0;
}

.ml-find-submit-btn {
  background: #2563eb;
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 9999px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.ml-find-submit-btn:hover {
  background: #1d4ed8;
}

.ml-trending-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.ml-trending-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
}

.ml-trending-chip {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.ml-trending-chip:hover {
  background: #eff6ff;
  color: #2563eb;
}

/* 3. CATEGORIES SECTION */
.ml-categories-section {
  padding: 48px 0;
}

.ml-section-top-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .ml-section-top-bar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.ml-section-eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}

.ml-section-main-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0;
}

.ml-section-sub-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin: 4px 0 0 0;
}

.ml-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none !important;
  transition: gap 0.2s ease;
}

.ml-view-all-link:hover {
  gap: 10px;
}

.ml-cat-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .ml-cat-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .ml-cat-cards-grid {
    grid-template-columns: repeat(9, 1fr);
  }
}

.ml-single-cat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ml-single-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
  border-color: #bfdbfe;
}

.ml-cat-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ml-cat-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.ml-cat-card-count {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

/* 4. WHY CHOOSE SECTION */
.ml-why-section {
  background: #ffffff;
  padding: 56px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.ml-section-header-center {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.ml-features-6grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .ml-features-6grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ml-features-6grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ml-feature-item-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.2s ease;
}

.ml-feature-item-card:hover {
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  border-color: #bfdbfe;
}

.ml-feat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ml-feat-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.ml-feat-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* 5. HOW IT WORKS SECTION */
.ml-how-section {
  padding: 56px 0;
}

.ml-how-steps-timeline {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  position: relative;
}

@media (min-width: 768px) {
  .ml-how-steps-timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ml-how-step-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ml-step-circle-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.ml-step-circle-num.blue { background: #eff6ff; color: #2563eb; }
.ml-step-circle-num.purple { background: #f5f3ff; color: #7c3aed; }
.ml-step-circle-num.green { background: #f0fdf4; color: #16a34a; }
.ml-step-circle-num.orange { background: #fff7ed; color: #ea580c; }

.ml-step-circle-icon {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #ffffff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.ml-how-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.ml-how-step-desc {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* 6. POPULAR TEST SERIES */
.ml-test-series-section {
  padding: 48px 0;
}

.ml-series-3grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .ml-series-3grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ml-single-series-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.ml-single-series-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  border-color: #bfdbfe;
}

.ml-series-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ml-series-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.ml-series-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.ml-series-badge.red { background: #fef2f2; color: #dc2626; }
.ml-series-badge.purple { background: #f5f3ff; color: #7c3aed; }
.ml-series-badge.orange { background: #fff7ed; color: #ea580c; }

.ml-series-card-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 20px 0;
}

.ml-series-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
  margin-bottom: 20px;
}

.ml-sm-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ml-series-price-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.ml-price-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.ml-curr-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.ml-old-price {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.ml-discount-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #16a34a;
  background: #f0fdf4;
  padding: 2px 6px;
  border-radius: 4px;
}

.ml-btn-buy-now {
  background: #2563eb;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 20px;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.ml-btn-buy-now:hover {
  background: #1d4ed8;
}

/* 7. STUDENT SUCCESS STORIES */
.ml-testimonials-section {
  background: #ffffff;
  padding: 56px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.ml-testimonials-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .ml-testimonials-layout {
    grid-template-columns: 1fr 300px;
  }
}

.ml-testimonials-3col {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .ml-testimonials-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ml-testimonial-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.ml-testi-top-user {
  margin-bottom: 16px;
}

.ml-testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.ml-testi-quote {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.5;
  font-style: italic;
  margin: 0 0 16px 0;
}

.ml-testi-author-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.ml-testi-author-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: #2563eb;
}

.ml-testimonials-side-stats {
  background: #f0f6ff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.ml-side-stat-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ml-side-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ml-side-stat-icon.blue { background: #ffffff; color: #2563eb; }
.ml-side-stat-icon.cyan { background: #ffffff; color: #0891b2; }
.ml-side-stat-icon.yellow { background: #ffffff; color: #eab308; }

.ml-side-stat-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.ml-side-stat-label {
  font-size: 0.8rem;
  color: #64748b;
}

/* 8. CTA BANNER + FAQ */
.ml-cta-faq-section {
  padding: 56px 0;
}

.ml-cta-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .ml-cta-faq-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.ml-blue-trophy-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  border-radius: 24px;
  padding: 40px 32px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 16px 36px rgba(30, 58, 138, 0.25);
}

.ml-trophy-graphic-container {
  margin-bottom: 20px;
}

.ml-trophy-headline {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 12px 0;
  color: #ffffff;
}

.ml-trophy-subtitle {
  font-size: 0.95rem;
  color: #bfdbfe;
  line-height: 1.5;
  margin: 0 0 28px 0;
  max-width: 420px;
}

.ml-trophy-btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

@media (min-width: 480px) {
  .ml-trophy-btn-group {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
}

.ml-btn-trophy-white {
  background: #ffffff;
  color: #1e3a8a !important;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: transform 0.2s ease;
}

.ml-btn-trophy-white:hover {
  transform: translateY(-2px);
  background: #f8fafc;
}

.ml-btn-trophy-glass {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.ml-btn-trophy-glass:hover {
  background: rgba(255, 255, 255, 0.25);
}

.ml-faq-accordion-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
}

.ml-faq-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ml-faq-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.ml-faq-view-all {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none !important;
}

.ml-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ml-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.ml-faq-item.open {
  border-color: #bfdbfe;
  background: #f8fafc;
}

.ml-faq-question-btn {
  width: 100%;
  padding: 14px 18px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
}

.ml-faq-arrow {
  transition: transform 0.2s ease;
  color: #64748b;
  flex-shrink: 0;
}

.ml-faq-item.open .ml-faq-arrow {
  transform: rotate(180deg);
  color: #2563eb;
}

.ml-faq-answer-content {
  padding: 0 18px 14px 18px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  display: none;
}

.ml-faq-item.open .ml-faq-answer-content {
  display: block;
}

/* Footer Social Buttons & Newsletter */
.ml-footer-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.ml-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #334155;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.ml-social-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.ml-newsletter-input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #334155;
  border-radius: 9999px;
  padding: 4px 4px 4px 14px;
}

.ml-newsletter-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.85rem;
  color: #0f172a;
  background: transparent;
}

.ml-newsletter-submit-btn {
  background: #2563eb;
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.ml-newsletter-submit-btn:hover {
  background: #1d4ed8;
}





/* ==========================================================================
   CRITICAL PRIORITY OVERRIDES FOR MOCK LAGAO HOMEPAGE & HEADER
   ========================================================================== */

/* 1. Global Box Sizing & Image Safety */
*, *::before, *::after {
  box-sizing: border-box !important;
}

body.home, body.front-page, body.page-template-front-page {
  background-color: #f8fafc !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

.site-content, #content, #page, .grid-container, .inside-article, main.site-main {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* 2. Header Fixes */
header.ml-site-header {
  display: block !important;
  width: 100% !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.admin-bar header.ml-site-header {
  top: 32px !important;
}

header.ml-site-header .ml-container {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ml-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 72px !important;
  gap: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ml-brand-logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ml-brand-icon {
  width: 40px !important;
  height: 40px !important;
  background: linear-gradient(135deg, #1e3a8a, #2563eb) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3) !important;
  flex-shrink: 0 !important;
}

.ml-brand-text-wrapper {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ml-brand-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #1e3a8a !important;
  line-height: 1.1 !important;
  display: block !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ml-brand-tagline {
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  letter-spacing: 0.02em !important;
  display: block !important;
  margin-top: 1px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

/* 3. Hero Section Fixes */
.ml-hero-section {
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%) !important;
  padding: 48px 0 64px 0 !important;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ml-hero-section .ml-container {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ml-hero-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 40px !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (min-width: 992px) {
  .ml-hero-grid {
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 48px !important;
  }
}

.ml-hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
}

.ml-hero-badge-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #1d4ed8 !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  padding: 6px 16px !important;
  border-radius: 9999px !important;
  margin-bottom: 20px !important;
}

.ml-hero-headline {
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.18 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 20px 0 !important;
}

@media (min-width: 768px) {
  .ml-hero-headline {
    font-size: 3.25rem !important;
  }
}

.ml-highlight-blue {
  color: #2563eb !important;
  display: inline-block !important;
}

.ml-hero-subheadline {
  font-size: 1.05rem !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  max-width: 600px !important;
  margin: 0 0 32px 0 !important;
}

.ml-hero-cta-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin-bottom: 36px !important;
}

.ml-btn-hero-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #2563eb !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 14px 28px !important;
  border-radius: 9999px !important;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.ml-btn-hero-outline {
  display: inline-flex !important;
  align-items: center !important;
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 14px 28px !important;
  border-radius: 9999px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

/* Hero Right Visual Card Fixes */
.ml-hero-visual-wrapper {
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ml-hero-card-backdrop {
  position: relative !important;
  width: 100% !important;
  max-width: 440px !important;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%) !important;
  border-radius: 32px !important;
  padding: 24px !important;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.ml-tilted-yellow-badge {
  position: absolute !important;
  top: -16px !important;
  left: -12px !important;
  background: #facc15 !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  line-height: 1.25 !important;
  padding: 8px 14px !important;
  border-radius: 12px !important;
  transform: rotate(-8deg) !important;
  box-shadow: 0 8px 16px rgba(234, 179, 8, 0.35) !important;
  z-index: 10 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  display: block !important;
}

.ml-hero-student-img-box {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08) !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ml-hero-student-img {
  width: 100% !important;
  max-width: 100% !important;
  height: 380px !important;
  max-height: 380px !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
  border-radius: 24px !important;
  margin: 0 !important;
}

.ml-floating-stats-column {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 16px !important;
  box-sizing: border-box !important;
}

.ml-floating-stat-card {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 10px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
  border: 1px solid #f1f5f9 !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   FRONT-PAGE.PHP & GLOBAL MOBILE RESPONSIVE STYLES
   ========================================================================== */
.ml-homepage-wrapper {
  width: 100% !important;
  overflow-x: hidden !important;
}

/* Desktop Hero Layout (>= 992px) */
@media (min-width: 992px) {
  .ml-hero-section .ml-container {
    display: block !important;
    max-width: 1280px !important;
  }
  .ml-hero-grid {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 48px !important;
    align-items: center !important;
  }
  .ml-hero-content {
    align-items: flex-start !important;
    text-align: left !important;
  }
  .ml-hero-headline {
    font-size: 3.1rem !important;
    text-align: left !important;
    margin-left: 0 !important;
  }
  .ml-hero-subheadline {
    text-align: left !important;
    margin-left: 0 !important;
    font-size: 1.05rem !important;
  }
  .ml-hero-cta-group {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 16px !important;
  }
  .ml-trust-pills-row {
    justify-content: flex-start !important;
  }
}

/* Mobile & Tablet Hero Layout (< 992px) */
@media (max-width: 991px) {
  .ml-hero-section {
    padding: 32px 0 48px 0 !important;
  }
  .ml-hero-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .ml-hero-content {
    align-items: center !important;
    text-align: center !important;
  }
  .ml-hero-headline {
    font-size: 2.1rem !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.22 !important;
  }
  .ml-hero-subheadline {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
  }
  .ml-hero-cta-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
  }
  .ml-btn-hero-primary,
  .ml-btn-hero-outline {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 13px 20px !important;
    font-size: 0.95rem !important;
  }
  .ml-trust-pills-row {
    justify-content: center !important;
    gap: 8px !important;
  }
  .ml-trust-pill {
    font-size: 0.78rem !important;
    padding: 5px 12px !important;
  }
  .ml-hero-card-backdrop {
    padding: 16px !important;
    border-radius: 20px !important;
    max-width: 100% !important;
  }
  .ml-tilted-yellow-badge {
    top: -12px !important;
    left: 8px !important;
    font-size: 0.7rem !important;
    padding: 6px 10px !important;
  }
  .ml-hero-student-img {
    height: 230px !important;
    border-radius: 16px !important;
  }
  .ml-floating-stats-column {
    margin-top: 12px !important;
    gap: 8px !important;
  }
  .ml-floating-stat-card {
    padding: 8px 12px !important;
    border-radius: 12px !important;
  }
  .ml-floating-stat-val {
    font-size: 0.9rem !important;
  }
  .ml-floating-stat-lbl {
    font-size: 0.72rem !important;
  }
}

/* Find Exam Search Section Responsive (< 640px) */
@media (max-width: 640px) {
  .ml-find-exam-section {
    padding: 20px 0 32px 0 !important;
    margin-top: 0 !important;
  }
  .ml-find-exam-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
  .ml-find-exam-title {
    font-size: 1.45rem !important;
  }
  .ml-find-exam-subtitle {
    font-size: 0.88rem !important;
    margin-bottom: 18px !important;
  }
  .ml-find-input-box {
    flex-direction: column !important;
    border-radius: 16px !important;
    padding: 10px !important;
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    gap: 10px !important;
  }
  .ml-find-search-input {
    font-size: 0.95rem !important;
    padding: 6px 0 !important;
  }
  .ml-find-submit-btn {
    width: 100% !important;
    border-radius: 10px !important;
    padding: 12px !important;
    font-size: 0.95rem !important;
    text-align: center !important;
    font-weight: 700 !important;
  }
  .ml-trending-tags-row {
    gap: 6px !important;
    margin-top: 16px !important;
  }
  .ml-trending-chip {
    font-size: 0.78rem !important;
    padding: 5px 12px !important;
  }
}

/* Exam Categories Grid Responsive (< 640px) */
@media (max-width: 640px) {
  .ml-categories-section {
    padding: 32px 0 !important;
  }
  .ml-section-main-title {
    font-size: 1.45rem !important;
  }
  .ml-cat-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
  .ml-single-cat-card {
    padding: 12px 6px !important;
    border-radius: 14px !important;
  }
  .ml-cat-icon-circle {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 6px !important;
  }
  .ml-cat-card-title {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
  }
  .ml-cat-card-count {
    font-size: 0.68rem !important;
  }
}

/* Why Choose Section Responsive (< 640px) */
@media (max-width: 640px) {
  .ml-why-section {
    padding: 36px 0 !important;
  }
  .ml-features-6grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .ml-feature-item-card {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }
  .ml-feat-icon-box {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
  }
  .ml-feat-title {
    font-size: 1rem !important;
  }
  .ml-feat-desc {
    font-size: 0.85rem !important;
  }
}

/* How It Works Section Responsive (< 768px) */
@media (max-width: 768px) {
  .ml-how-section {
    padding: 36px 0 !important;
  }
  .ml-how-steps-timeline {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .ml-how-step-item {
    padding: 16px 14px !important;
    border-radius: 16px !important;
    flex-direction: row !important;
    text-align: left !important;
    align-items: center !important;
    gap: 14px !important;
  }
  .ml-step-circle-num {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    margin-bottom: 0 !important;
    font-size: 1rem !important;
  }
  .ml-how-step-title {
    font-size: 0.95rem !important;
    margin-bottom: 2px !important;
  }
  .ml-how-step-desc {
    font-size: 0.82rem !important;
  }
}

/* Popular Test Series Responsive (< 768px) */
@media (max-width: 768px) {
  .ml-test-series-section {
    padding: 36px 0 !important;
  }
  .ml-series-3grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .ml-single-series-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .ml-series-card-title {
    font-size: 1.1rem !important;
  }
  .ml-series-meta-row {
    gap: 10px !important;
    padding: 10px 0 !important;
    margin-bottom: 16px !important;
  }
  .ml-series-price-bottom {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
}

/* Testimonials Responsive (< 991px) */
@media (max-width: 991px) {
  .ml-testimonials-section {
    padding: 36px 0 !important;
  }
  .ml-testimonials-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .ml-testimonials-3col {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .ml-testimonial-card {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }
  .ml-testimonials-side-stats {
    padding: 18px 16px !important;
    border-radius: 16px !important;
    gap: 14px !important;
  }
  .ml-side-stat-number {
    font-size: 1.1rem !important;
  }
}

/* CTA Banner + FAQ Accordion Responsive (< 991px) */
@media (max-width: 991px) {
  .ml-cta-faq-section {
    padding: 36px 0 !important;
  }
  .ml-cta-faq-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .ml-blue-trophy-banner {
    padding: 28px 18px !important;
    border-radius: 20px !important;
  }
  .ml-trophy-headline {
    font-size: 1.4rem !important;
  }
  .ml-trophy-subtitle {
    font-size: 0.88rem !important;
    margin-bottom: 20px !important;
  }
  .ml-trophy-btn-group {
    width: 100% !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .ml-btn-trophy-white,
  .ml-btn-trophy-glass {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
    box-sizing: border-box !important;
  }
  .ml-faq-accordion-container {
    padding: 20px 16px !important;
    border-radius: 20px !important;
  }
  .ml-faq-title {
    font-size: 1.25rem !important;
  }
  .ml-faq-question-btn {
    padding: 12px 10px !important;
    font-size: 0.88rem !important;
  }
  .ml-faq-answer-content {
    padding: 0 10px 12px 10px !important;
    font-size: 0.82rem !important;
  }
}

/* Centered Search Card on Inner Pages */
.ml-search-section {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.ml-search-section .ml-container {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.ml-search-card {
  background: #ffffff !important;
  border: 1px solid var(--ml-border-subtle) !important;
  border-radius: var(--ml-radius-lg) !important;
  padding: 18px 24px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02) !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

/* ==========================================================================
   MOBILE RESPONSIVE FOOTER STYLES
   ========================================================================== */
@media (max-width: 991px) {
  .ml-site-footer {
    padding: 48px 0 24px 0 !important;
    margin-top: 48px !important;
  }

  .ml-footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px 24px !important;
    padding-bottom: 36px !important;
  }

  .ml-footer-col-brand {
    grid-column: 1 / -1 !important;
    text-align: left !important;
    margin-bottom: 8px !important;
  }

  .ml-footer-brand-title {
    font-size: 1.35rem !important;
  }

  .ml-footer-brand-desc {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
    max-width: 540px !important;
  }

  .ml-footer-social-links {
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .ml-social-btn {
    width: 36px !important;
    height: 36px !important;
  }

  .ml-footer-heading {
    font-size: 0.98rem !important;
    margin-bottom: 14px !important;
    padding-bottom: 6px !important;
  }

  .ml-footer-links {
    gap: 10px !important;
  }

  .ml-footer-links a {
    font-size: 0.88rem !important;
    display: inline-block !important;
    padding: 2px 0 !important;
  }

  .ml-footer-newsletter-box {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    padding: 24px 20px !important;
    border-radius: 18px !important;
    margin-bottom: 32px !important;
    gap: 18px !important;
  }

  .ml-footer-news-text {
    max-width: 100% !important;
  }

  .ml-footer-news-heading {
    font-size: 1.15rem !important;
  }

  .ml-footer-news-sub {
    font-size: 0.85rem !important;
  }

  .ml-newsletter-form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .ml-newsletter-input-group {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 640px) {
  .ml-site-footer {
    padding: 36px 0 20px 0 !important;
    margin-top: 36px !important;
  }

  .ml-footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px 16px !important;
    padding-bottom: 28px !important;
  }

  .ml-footer-col-brand {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .ml-footer-brand-title {
    justify-content: center !important;
    font-size: 1.3rem !important;
    margin-bottom: 10px !important;
  }

  .ml-footer-brand-desc {
    text-align: center !important;
    font-size: 0.85rem !important;
    margin-bottom: 14px !important;
  }

  .ml-footer-social-links {
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .ml-social-btn {
    width: 38px !important;
    height: 38px !important;
  }

  .ml-footer-heading {
    font-size: 0.95rem !important;
    margin-bottom: 12px !important;
  }

  .ml-footer-heading::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .ml-footer-links {
    gap: 8px !important;
    align-items: center !important;
  }

  .ml-footer-links a {
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
  }

  /* Newsletter Box Mobile Form Layout */
  .ml-footer-newsletter-box {
    padding: 20px 14px !important;
    border-radius: 16px !important;
    margin-bottom: 28px !important;
  }

  .ml-footer-news-heading {
    font-size: 1.05rem !important;
  }

  .ml-footer-news-sub {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  .ml-newsletter-input-group {
    flex-direction: column !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    gap: 10px !important;
  }

  .ml-newsletter-input {
    background: #090d16 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    width: 100% !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
  }

  .ml-newsletter-submit-btn {
    width: 100% !important;
    justify-content: center !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 0.88rem !important;
    height: 46px !important;
  }

  /* Bottom Copyright & Legal Row */
  .ml-footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    padding-top: 20px !important;
  }

  .ml-footer-copy {
    text-align: center !important;
    font-size: 0.82rem !important;
  }

  .ml-footer-bottom-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    font-size: 0.82rem !important;
  }

  .ml-footer-made {
    text-align: center !important;
    font-size: 0.82rem !important;
  }
}

/* ==========================================================================
   BLOG SINGLE POST CONTENT TYPOGRAPHY & TABLE STYLING
   ========================================================================== */
/* Reading Progress Bar at top */
#ml-reading-progress {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #2563eb, #38bdf8, #25D366) !important;
  z-index: 999999 !important;
  width: 0%;
  transition: width 0.1s ease-out !important;
}

/* Pulsing Keyframe Animations */
@keyframes ml-pulse-glow-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes ml-pulse-glow-blue {
  0% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(0, 136, 204, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0); }
}

@keyframes ml-live-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.2); }
}

.ml-live-dot-green {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  display: inline-block !important;
  animation: ml-live-blink 1.5s infinite ease-in-out !important;
  box-shadow: 0 0 8px #25D366 !important;
}

.ml-live-dot-blue {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #38bdf8 !important;
  display: inline-block !important;
  animation: ml-live-blink 1.5s infinite ease-in-out !important;
  box-shadow: 0 0 8px #38bdf8 !important;
}

/* ==========================================================================
   BLOG MOBILE VIEW COMPREHENSIVE CSS FIXES & BUTTON STYLING
   ========================================================================== */

/* High specificity for WhatsApp & Telegram Community Buttons */
a.ml-btn-whatsapp,
.ml-btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  padding: 11px 20px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  animation: ml-pulse-glow-green 2.5s infinite !important;
  transition: all 0.2s ease !important;
  line-height: 1.3 !important;
}

a.ml-btn-whatsapp:hover,
a.ml-btn-whatsapp:focus,
.ml-btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.55) !important;
  color: #ffffff !important;
}

a.ml-btn-telegram,
.ml-btn-telegram {
  background: linear-gradient(135deg, #0088cc 0%, #005580 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  padding: 11px 20px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 6px 18px rgba(0, 136, 204, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  animation: ml-pulse-glow-blue 2.5s infinite !important;
  transition: all 0.2s ease !important;
  line-height: 1.3 !important;
}

a.ml-btn-telegram:hover,
a.ml-btn-telegram:focus,
.ml-btn-telegram:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 24px rgba(0, 136, 204, 0.55) !important;
  color: #ffffff !important;
}

/* STICKY BOTTOM BAR IN MOBILE VIEW */
.ml-mobile-sticky-community {
  display: none !important;
}

@media (max-width: 768px) {
  .ml-mobile-sticky-community {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #0f172a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 10px 12px !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.4) !important;
    box-sizing: border-box !important;
  }
  
  .ml-mobile-sticky-community a.ml-mobile-btn,
  .ml-mobile-sticky-community .ml-mobile-btn {
    flex: 1 !important;
    padding: 10px 8px !important;
    font-size: 0.8rem !important;
    border-radius: 10px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  /* Blog Hero Header Mobile Tweaks */
  .ml-hero-section {
    padding: 32px 14px 28px 14px !important;
  }

  .ml-hero-title {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  .ml-hero-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
  }

  /* Community Buttons inside Hero on Mobile */
  .ml-hero-section .ml-btn-whatsapp,
  .ml-hero-section .ml-btn-telegram {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    font-size: 0.88rem !important;
    padding: 12px 16px !important;
  }

  /* Hero Search Form Mobile */
  .ml-hero-section form {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .ml-hero-section form input {
    width: 100% !important;
    font-size: 0.9rem !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
  }

  .ml-hero-section form button {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
  }

  /* Category Filter Pills horizontal scroll on mobile */
  .ml-hero-section div[style*="flex-wrap"] {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .ml-hero-section div[style*="flex-wrap"] a {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.8rem !important;
    padding: 6px 14px !important;
  }

  /* Single Post Article Container & Headings Mobile */
  article {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  .ml-single-title {
    font-size: 1.45rem !important;
    line-height: 1.26 !important;
  }

  .ml-single-content,
  .single .entry-content,
  .entry-content {
    font-size: 0.96rem !important;
    line-height: 1.65 !important;
  }

  .ml-single-content p,
  .single .entry-content p,
  .entry-content p {
    font-size: 0.96rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1.15rem !important;
  }

  .ml-single-content h1,
  .entry-content h1 {
    font-size: 1.5rem !important;
    margin-top: 1.3rem !important;
    margin-bottom: 0.8rem !important;
    line-height: 1.28 !important;
  }

  .ml-single-content h2,
  .entry-content h2,
  .wp-block-heading {
    font-size: 1.22rem !important;
    padding: 7px 12px !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.8rem !important;
    line-height: 1.3 !important;
  }

  .ml-single-content h3,
  .entry-content h3 {
    font-size: 1.1rem !important;
    margin-top: 1.3rem !important;
    margin-bottom: 0.6rem !important;
    line-height: 1.32 !important;
  }

  .ml-single-content h4,
  .entry-content h4 {
    font-size: 1.02rem !important;
    margin-top: 1.1rem !important;
    margin-bottom: 0.5rem !important;
  }

  /* Single Post Header Meta */
  .ml-hero-dark div[style*="border-top"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .ml-hero-dark div[style*="margin-left: auto"] {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .ml-hero-dark div[style*="margin-left: auto"] a {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   DESKTOP & GENERAL POST CONTENT TYPOGRAPHY
   ========================================================================== */

.ml-single-content,
.single .entry-content,
.entry-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
  color: #1e293b !important;
  word-break: break-word !important;
}

.ml-single-content p,
.single .entry-content p,
.entry-content p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  margin-top: 0 !important;
  margin-bottom: 1.4rem !important;
  font-size: 1.02rem !important;
  line-height: 1.72 !important;
  color: #334155 !important;
  font-weight: 450 !important;
  letter-spacing: -0.005em !important;
}

.ml-single-content strong,
.ml-single-content b,
.entry-content strong,
.entry-content b {
  color: #0f172a !important;
  font-weight: 750 !important;
}

/* HEADINGS TYPOGRAPHY FOR H1, H2, H3, H4, H5, H6, .wp-block-heading */
.ml-single-content h1,
.ml-single-content h2,
.ml-single-content h3,
.ml-single-content h4,
.ml-single-content h5,
.ml-single-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-heading,
.ml-single-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  letter-spacing: -0.02em !important;
  font-weight: 850 !important;
  line-height: 1.28 !important;
  color: #0f172a !important;
}

.ml-single-content h1,
.entry-content h1,
.ml-single-title {
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.ml-single-content h2,
.entry-content h2,
.wp-block-heading {
  font-size: 1.52rem !important;
  font-weight: 850 !important;
  color: #0f172a !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
  padding: 8px 16px !important;
  border-left: 5px solid #2563eb !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: linear-gradient(90deg, #eff6ff 0%, #ffffff 100%) !important;
  border-radius: 6px !important;
  letter-spacing: -0.01em !important;
}

.ml-single-content h3,
.entry-content h3 {
  font-size: 1.26rem !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin-top: 1.7rem !important;
  margin-bottom: 0.85rem !important;
}

.ml-single-content h4,
.entry-content h4 {
  font-size: 1.1rem !important;
  font-weight: 750 !important;
  color: #334155 !important;
  margin-top: 1.4rem !important;
  margin-bottom: 0.65rem !important;
  letter-spacing: -0.01em !important;
}

.ml-single-content ul,
.ml-single-content ol,
.entry-content ul,
.entry-content ol {
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
  padding-left: 24px !important;
}

.ml-single-content li,
.entry-content li {
  margin-bottom: 8px !important;
  line-height: 1.7 !important;
  color: #334155 !important;
}

/* RESPONSIVE FULLY STYLED TABLES */
.ml-single-content table,
.entry-content table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse !important;
  margin: 1.8rem 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 0.95rem !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
}

@media (max-width: 768px) {
  .ml-single-content table,
  .entry-content table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

.ml-single-content th,
.entry-content th {
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  padding: 12px 16px !important;
  text-align: left !important;
  font-size: 0.88rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  border-bottom: 2px solid #334155 !important;
}

.ml-single-content td,
.entry-content td {
  padding: 12px 16px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
  font-size: 0.95rem !important;
  vertical-align: middle !important;
}

.ml-single-content tr:nth-child(even),
.entry-content tr:nth-child(even) {
  background-color: #f8fafc !important;
}

.ml-single-content tr:hover,
.entry-content tr:hover {
  background-color: #eff6ff !important;
}

/* BUTTONS & LINKS INSIDE BLOG CONTENT */
.ml-single-content a:not(.ml-btn):not(.ml-btn-primary):not(.ml-btn-whatsapp):not(.ml-btn-telegram):not(.button):not(.wp-block-button__link),
.entry-content a:not(.ml-btn):not(.ml-btn-primary):not(.ml-btn-whatsapp):not(.ml-btn-telegram):not(.button):not(.wp-block-button__link) {
  color: #2563eb !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: color 0.15s ease !important;
}

.ml-single-content a:not(.ml-btn):not(.ml-btn-primary):not(.ml-btn-whatsapp):not(.ml-btn-telegram):not(.button):not(.wp-block-button__link):hover,
.entry-content a:not(.ml-btn):not(.ml-btn-primary):not(.ml-btn-whatsapp):not(.ml-btn-telegram):not(.button):not(.wp-block-button__link):hover {
  color: #1d4ed8 !important;
}

.ml-single-content a.ml-btn-primary,
.ml-single-content a.ml-btn,
.ml-single-content a.btn,
.ml-single-content a.button,
.ml-single-content .wp-block-button__link,
.entry-content a.ml-btn-primary,
.entry-content a.ml-btn,
.entry-content a.btn,
.entry-content a.button,
.entry-content .wp-block-button__link,
.ml-test-notice-box a,
.ml-test-notice-box a.ml-btn-primary,
.ml-btn-primary {
  display: inline-block !important;
  background: #2563eb !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  padding: 12px 24px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37,99,235,0.3) !important;
  margin: 10px 0 !important;
  transition: all 0.2s ease !important;
}

.ml-single-content a.ml-btn-primary:hover,
.ml-single-content a.ml-btn:hover,
.ml-single-content a.btn:hover,
.ml-single-content a.button:hover,
.ml-single-content .wp-block-button__link:hover,
.entry-content a.ml-btn-primary:hover,
.entry-content a.ml-btn:hover,
.entry-content a.btn:hover,
.entry-content a.button:hover,
.entry-content .wp-block-button__link:hover,
.ml-test-notice-box a:hover,
.ml-test-notice-box a.ml-btn-primary:hover,
.ml-btn-primary:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(37,99,235,0.4) !important;
}

/* BLOCKQUOTES & CALLOUTS */
.ml-single-content blockquote,
.entry-content blockquote {
  margin: 1.8rem 0 !important;
  padding: 16px 20px 16px 24px !important;
  background: #eff6ff !important;
  border-left: 4px solid #2563eb !important;
  border-radius: 0 12px 12px 0 !important;
  color: #1e3a8a !important;
  font-style: italic !important;
  font-size: 1.05rem !important;
}

.ml-single-content img,
.entry-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  margin: 1.5rem 0 !important;
  display: block !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}

/* RESPONSIVE LAYOUT FOR SINGLE POST GRID */
@media (max-width: 991px) {
  .ml-single-grid {
    flex-direction: column !important;
  }
  .ml-single-sidebar {
    width: 100% !important;
  }
}




