/* -------------------------------------------------------------------
 *  1. GLOBAL THEME VARIABLES
 * ------------------------------------------------------------------- */
:root {
    --primary: #22C55E;
    --primary-dark: #16A34A;
    --secondary: #2563EB;
    --dark: #0F172A;
    --footer-bg: #020617; 
    --footer-text: #94A3B8;
    --muted: #64748B;
    --light: #F8FAFC;
    --white: #ffffff;
    --border: #E5E7EB;
    --soft-bg: #F1F5F9;

    /* CTA Gradient */
    --cta-bg: #86EFAC;
    --cta-bg-gradient: linear-gradient(135deg, #86EFAC 0%, #4ADE80 100%);
    --cta-text: #052e16;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 18px 40px rgba(15,23,42,0.08);
    --shadow-xl: 0 20px 45px rgba(15,23,42,0.08);
    --shadow-exam-hover: 0 22px 50px rgba(15,23,42,0.10);
    --shadow-admin-hero: 0 40px 90px rgba(15,23,42,0.14);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    --radius: 16px;
}

/* -------------------------------------------------------------------
 *  2. RESET & TYPOGRAPHY
 * ------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* -------------------------------------------------------------------
 *  3. LAYOUT UTILITIES
 * ------------------------------------------------------------------- */
.container {
    max-width: 1350px; 
    margin: 0 auto;
    padding: 0 24px;
}

.d-flex { display: flex; align-items: center; }
.d-grid { display: grid; gap: 30px; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: var(--white); }
.text-muted { color: var(--muted); }
.w-100 { width: 100%; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.ms-1 { margin-left: 4px; }
.me-1 { margin-right: 4px; }
.me-2 { margin-right: 8px; }
.gap-3 { gap: 15px; }
.gap-4 { gap: 24px; }
.d-none { display: none; }
.d-lg-flex { display: flex; } 

.section-py { padding: 80px 0; }
.bg-light { background-color: var(--light); }

/* Grid Columns */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* -------------------------------------------------------------------
 *  4. PREMIUM NAVBAR (UPDATED)
 * ------------------------------------------------------------------- */
.navbar {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.98);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between; 
}

.nav-brand {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Center Menu */
.nav-center {
    display: none;
    gap: 30px;
}
@media (min-width: 992px) {
    .nav-center {
        display: flex;
        align-items: center;
    }
}

/* Right Side Actions */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    text-decoration: none;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

.lang-dropdown {
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.3s;
}
.lang-dropdown:hover { background: var(--soft-bg); }

.nav-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* -------------------------------------------------------------------
 *  5. GLOBAL COMPONENTS (Buttons & Cards)
 * ------------------------------------------------------------------- */
.btn {
    display: inline-block; padding: 12px 28px; border-radius: 50px;
    font-weight: 600; font-size: 1rem; cursor: pointer; border: none;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s; text-align: center;
}
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(34,197,94,0.25); }
.btn-outline { background: transparent; border: 2px solid var(--muted); color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); border-color: var(--dark); }
.btn-cta { background: var(--white); color: var(--secondary); }
.gradient-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); }

.section-title { max-width: 700px; margin: 0 auto 50px auto; text-align: center; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-title p { font-size: 1.1rem; color: var(--muted); }

.card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px; transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }

/* -------------------------------------------------------------------
 *  6. HERO SECTION
 * ------------------------------------------------------------------- */
.hero { padding-top: 100px; padding-bottom: 100px; background: radial-gradient(circle at top right, rgba(34,197,94,0.08), transparent 45%), radial-gradient(circle at bottom left, rgba(37,99,235,0.06), transparent 45%), var(--white); overflow: hidden; }
.hero-wrapper { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 60px; width: 100%; }
.hero-content { max-width: 700px; }
.hero-badge { background: rgba(34,197,94,0.12); color: #15803D; padding: 6px 16px; border-radius: 20px; font-size: 0.875rem; font-weight: 600; display: inline-block; margin-bottom: 1.5rem; white-space: nowrap; animation: badgePulse 3s infinite; }
@keyframes badgePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.7; } }
.hero-title { font-size: 3.8rem; margin-bottom: 20px; line-height: 1.1; letter-spacing: -1px; color: var(--dark); }
.hero-description { font-size: 1.2rem; margin-bottom: 30px; color: var(--muted); }
.gradient-text { background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.ai-highlight { color: var(--secondary); }
.hero-btns { display: flex; gap: 15px; margin-bottom: 40px; }
.hero-image-container { display: flex; justify-content: center; align-items: center; }
.hero-mockup { position: relative; width: 100%; margin: 0; animation: float 6s ease-in-out infinite; }
.hero-mockup img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(15,23,42,0.12), 0 0 0 1px rgba(0,0,0,0.03); transform: rotateX(5deg) perspective(1000px); transition: box-shadow 0.5s; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-12px); } 100% { transform: translateY(0px); } }

.rating-proof { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.avatar-group { display: flex; position: relative; padding-left: 20px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--white); background-color: var(--light); object-fit: cover; margin-left: -20px; box-shadow: var(--shadow-sm); }
.stars { color: #FBBF24; font-size: 1.25rem; }
.rating-info { line-height: 1.2; }
.rating-score { font-size: 1.5rem; font-weight: 700; color: var(--dark); }
.rating-trust { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

.trust-stack-bottom { display: flex; gap: 15px; flex-wrap: wrap; }
.trust-box { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 10px 16px; font-size: 0.9rem; font-weight: 600; color: var(--dark); display: flex; align-items: center; white-space: nowrap; transition: transform 0.3s, box-shadow 0.3s; }
.trust-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-box i { color: var(--primary); }

/* -------------------------------------------------------------------
 *  7. CATEGORY CARDS
 * ------------------------------------------------------------------- */
.icon-wrap { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; transition: background 0.4s; }
.icon-wrap.blue { background: rgba(37,99,235,0.1); color: var(--secondary); }
.icon-wrap.green { background: rgba(34,197,94,0.1); color: var(--primary-dark); }
.icon-wrap.orange { background: rgba(245,158,11,0.1); color: #F59E0B; }
.icon-wrap.purple { background: rgba(139,92,246,0.1); color: #8B5CF6; }
.card:hover .icon-wrap.blue { background: rgba(37,99,235,0.2); }
.card:hover .icon-wrap.green { background: rgba(34,197,94,0.2); }
.card:hover .icon-wrap.orange { background: rgba(245,158,11,0.2); }
.card:hover .icon-wrap.purple { background: rgba(139,92,246,0.2); }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.audience-grid .card { opacity: 0; transform: translateY(20px); animation: fadeUp 0.6s ease forwards; }
.audience-grid .card:nth-child(1) { animation-delay: 0s; }
.audience-grid .card:nth-child(2) { animation-delay: 0.1s; }
.audience-grid .card:nth-child(3) { animation-delay: 0.2s; }
.audience-grid .card:nth-child(4) { animation-delay: 0.3s; }

/* Category Grid */
.category-grid-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.category-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; display: flex; flex-direction: column; height: 100%; position: relative; opacity: 0; transform: translateY(20px); animation: fadeUp 0.6s ease forwards; }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(15,23,42,0.08); border-color: var(--primary); }
.category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.category-icon-wrap { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; transition: background 0.3s ease; }
.category-icon-wrap.blue-light { background: #DBEAFE; color: var(--secondary); }
.category-icon-wrap.green-light { background: #DCFCE7; color: var(--primary-dark); }
.category-icon-wrap.purple-light { background: #F3E8FF; color: #9333EA; }
.category-icon-wrap.orange-light { background: #FFEDD5; color: #F97316; }
.category-icon-wrap.teal-light { background: #CCFBF1; color: #0F766E; }
.category-icon-wrap.pink-light { background: #FCE7F3; color: #DB2777; }
.exam-count-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--primary-dark); background: #DCFCE7; padding: 6px 14px; border-radius: 50px; text-decoration: none; transition: all 0.3s ease; }
.exam-count-badge i { font-size: 0.75rem; transition: transform 0.3s ease; }
.exam-count-badge:hover { background: var(--primary); color: var(--white); }
.exam-count-badge:hover i { transform: translateX(3px); }
.category-title { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.category-desc { font-size: 0.95rem; color: var(--muted); margin-bottom: 25px; line-height: 1.5; flex-grow: 1; }
.category-meta { display: flex; gap: 15px; font-size: 0.85rem; font-weight: 500; color: var(--muted); border-top: 1px solid var(--soft-bg); padding-top: 15px; }
.category-meta span { display: flex; align-items: center; gap: 6px; }
.category-meta i { color: var(--primary); }
.category-grid-wrapper .category-card:nth-child(1) { animation-delay: 0s; }
.category-grid-wrapper .category-card:nth-child(2) { animation-delay: 0.1s; }
.category-grid-wrapper .category-card:nth-child(3) { animation-delay: 0.2s; }
.category-grid-wrapper .category-card:nth-child(4) { animation-delay: 0.3s; }
.category-grid-wrapper .category-card:nth-child(5) { animation-delay: 0.4s; }
.category-grid-wrapper .category-card:nth-child(6) { animation-delay: 0.5s; }

/* -------------------------------------------------------------------
 *  8. FEATURES SECTION
 * ------------------------------------------------------------------- */
.feature-header { margin-bottom: 80px; }
.feature-stack-wrapper { position: relative; width: 100%; max-width: 100%; margin: 0 auto; }
.feature-panel { position: sticky; top: 120px; margin-bottom: 60px; border-radius: 24px; background: transparent; }
.panel-content-card { display: grid; grid-template-columns: 420px 1fr; background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 80px 60px; min-height: 500px; box-shadow: var(--shadow-lg); position: relative; z-index: 2; overflow: hidden; }
.panel-depth-layer { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 24px 24px 0 0; border: 1px solid var(--border); background: #ffffff; box-shadow: 0 -2px 10px rgba(0,0,0,0.02); }
.panel-depth-layer.back { top: -24px; width: 95%; height: 30px; background: #F1F5F9; z-index: 0; }
.panel-depth-layer.mid { top: -12px; width: 98%; height: 30px; background: #F8FAFC; z-index: 1; }
.panel-sidebar { padding-right: 60px; border-right: 1px solid var(--soft-bg); }
.panel-number { font-size: 5.5rem; font-weight: 800; color: var(--soft-bg); line-height: 1; margin-bottom: 25px; }
.panel-title { font-size: 2.2rem; margin-bottom: 20px; color: var(--dark); font-weight: 800; }
.panel-desc { color: var(--muted); font-size: 1.15rem; margin-bottom: 40px; line-height: 1.6; }
.panel-visual-hint { display: inline-flex; align-items: center; gap: 10px; background: var(--soft-bg); padding: 10px 20px; border-radius: 50px; font-size: 0.95rem; font-weight: 600; color: var(--dark); }
.panel-visual-hint i { color: var(--primary); }
.panel-grid { padding-left: 80px; display: flex; flex-direction: column; justify-content: center; gap: 50px; }
.panel-item { display: flex; gap: 25px; align-items: flex-start; }
.item-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: rgba(34,197,94,0.1); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-top: 0px; }
.item-text h5 { font-size: 1.3rem; margin-bottom: 8px; font-weight: 700; margin-top: 0; }
.item-text p { font-size: 1.05rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* -------------------------------------------------------------------
 *  9. HOW IT WORKS
 * ------------------------------------------------------------------- */
.steps-wrapper { position: relative; padding-top: 20px; }
.steps-connector { position: absolute; top: 40px; left: 10%; right: 10%; height: 2px; background-image: linear-gradient(to right, var(--border) 50%, transparent 50%); background-size: 20px 100%; z-index: 0; }
.step-card { position: relative; z-index: 1; padding: 0 15px; }
.step-icon-wrap { width: 80px; height: 80px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 25px auto; font-size: 2rem; position: relative; box-shadow: var(--shadow-md); transition: transform 0.3s; }
.step-icon-wrap:hover { transform: translateY(-5px); }
.step-icon-wrap.step-1 { color: var(--primary); border-color: rgba(34,197,94,0.3); background: #F0FDF4; }
.step-icon-wrap.step-2 { color: var(--secondary); border-color: rgba(37,99,235,0.3); background: #EFF6FF; }
.step-icon-wrap.step-3 { color: #F59E0B; border-color: rgba(245,158,11,0.3); background: #FFFBEB; }
.step-icon-wrap.step-4 { color: #8B5CF6; border-color: rgba(139,92,246,0.3); background: #F5F3FF; }
.step-number { position: absolute; top: -5px; right: -5px; width: 28px; height: 28px; background: var(--dark); color: var(--white); border-radius: 50%; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--white); }
.step-card h5 { font-weight: 700; margin-bottom: 10px; color: var(--dark); }

/* -------------------------------------------------------------------
 *  10. ADMIN DASHBOARD PREVIEW
 * ------------------------------------------------------------------- */
.admin-section { padding: 100px 0; background-color: var(--white); }
.admin-dashboard-wrapper { position: relative; max-width: 1000px; margin: 40px auto 60px auto; z-index: 1; }
.admin-mockup-frame { background: var(--white); padding: 10px; border-radius: 20px; box-shadow: 0 40px 100px rgba(15, 23, 42, 0.15); border: 1px solid var(--border); animation: float 6s ease-in-out infinite; }
.admin-mockup-frame img { width: 100%; border-radius: 12px; }
.admin-stats-row { display: flex; justify-content: space-around; max-width: 900px; margin: 0 auto 50px auto; flex-wrap: wrap; gap: 30px; }
.stat-item { text-align: center; }
.stat-value { display: block; font-size: 2rem; font-weight: 800; margin-bottom: 5px; }
.stat-label { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.section-divider { width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); margin: 60px 0; }
.admin-features-grid { max-width: 1000px; margin: 0 auto 60px auto; gap: 40px; }
.admin-feature-card { display: flex; align-items: flex-start; gap: 20px; padding: 30px; background: var(--light); border-radius: 16px; transition: 0.3s; }
.admin-feature-card:hover { transform: translateY(-3px); background: #F0FDF4; }
.admin-feature-card h5 { margin-bottom: 8px; font-weight: 700; color: var(--dark); font-size: 1.1rem; }
.admin-feature-card p { font-size: 0.95rem; color: var(--muted); margin: 0; line-height: 1.5; }
.icon-soft { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.blue-soft { background: #DBEAFE; color: var(--secondary); }
.green-soft { background: #DCFCE7; color: var(--primary); }
.purple-soft { background: #F3E8FF; color: #9333EA; }
.orange-soft { background: #FFEDD5; color: #F97316; }
.admin-trust-row { display: flex; justify-content: center; gap: 40px; font-size: 0.95rem; font-weight: 600; color: var(--dark); flex-wrap: wrap; }

/* -------------------------------------------------------------------
 *  11. CMS SECTION
 * ------------------------------------------------------------------- */
.cms-section { padding: 100px 0; overflow: hidden; }
.cms-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cms-content { max-width: 600px; }
.cms-badge { background: #E0F2F7; color: #0891B2; padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; display: inline-block; margin-bottom: 20px; }
.cms-title { font-size: 2.2rem; margin-bottom: 20px; line-height: 1.2; }
.cms-description { font-size: 1.1rem; color: var(--muted); margin-bottom: 40px; }
.cms-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 35px; }
.cms-feature { display: flex; align-items: flex-start; gap: 18px; }
.cms-feature-text h6 { font-size: 1rem; font-weight: 700; margin-bottom: 5px; margin-top: 5px; }
.cms-feature-text p { font-size: 0.9rem; color: var(--muted); line-height: 1.4; margin: 0; }
.icon-circle { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.icon-circle.blue-circle { background: rgba(37,99,235,0.1); color: var(--secondary); }
.icon-circle.green-circle { background: rgba(34,197,94,0.1); color: var(--primary-dark); }
.icon-circle.orange-circle { background: rgba(245,158,11,0.1); color: #F59E0B; }
.icon-circle.purple-circle { background: rgba(139,92,246,0.1); color: #8B5CF6; }
.cms-visuals { position: relative; height: 600px; display: flex; align-items: center; justify-content: center; }
.cms-glow { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; z-index: 1; }
.cms-ui-card { position: absolute; background: var(--white); border-radius: 12px; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1); border: 1px solid var(--border); padding: 25px; z-index: 2; transition: transform 0.5s ease; }
.cms-ui-card:hover { transform: scale(1.02) translateY(-5px) !important; z-index: 5; box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15); }
.card-top { width: 380px; top: 40px; left: 20px; transform: rotate(-3deg); animation: float 6s ease-in-out infinite; }
.card-bottom { width: 440px; bottom: 60px; right: 0px; transform: rotate(2deg); animation: float 6s ease-in-out infinite reverse; }
.ui-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--soft-bg); }
.ui-dots { display: flex; gap: 4px; }
.ui-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.ui-dots span:nth-child(1) { background: #EF4444; }
.ui-dots span:nth-child(2) { background: #F59E0B; }
.ui-dots span:nth-child(3) { background: #22C55E; }
.ui-title { font-size: 0.75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.ui-skeleton-line { height: 10px; background: var(--soft-bg); border-radius: 4px; margin-bottom: 10px; }
.ui-skeleton-box { height: 80px; background: var(--soft-bg); border-radius: 6px; margin-top: 15px; }
.ui-row { display: flex; gap: 10px; }
.ui-col { flex: 1; height: 50px; background: var(--soft-bg); border-radius: 6px; }
.ui-button-skele { width: 100px; height: 30px; background: var(--secondary); border-radius: 4px; margin-left: auto; margin-top: 15px; opacity: 0.2; }

/* -------------------------------------------------------------------
 *  12. EXAMS / MARKETPLACE
 * ------------------------------------------------------------------- */
.exam-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 22px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; opacity: 0; transform: translateY(20px); animation: fadeUp 0.6s ease forwards; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.exam-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-exam-hover); border-color: var(--primary); }
.exam-banner-top { width: 100%; height: 180px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; opacity: 0.9; }
.blue-banner { background-color: #DBEAFE; color: var(--secondary); }
.green-banner { background-color: #DCFCE7; color: var(--primary); }
.orange-banner { background-color: #FEF3C7; color: #F59E0B; }
.exam-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.badge-category { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
.blue-badge { background: #DBEAFE; color: var(--secondary); }
.green-badge { background: #DCFCE7; color: var(--primary-dark); }
.orange-badge { background: #FEF3C7; color: #F59E0B; }
.price { font-weight: 700; font-size: 1.2rem; }
.price.free { color: var(--dark); font-size: 1rem; }
.exam-title { font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.exam-desc { font-size: 0.95rem; color: var(--muted); margin-bottom: 15px; line-height: 1.5; }
.exam-meta { display: flex; gap: 20px; font-size: 0.9rem; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.exam-meta i { margin-right: 5px; }
.btn-exam-full { width: 100%; text-align: center; margin-top: auto; }
.subscription-wrapper { display: flex; justify-content: center; margin-top: 60px; }
.subscription-strip { display: flex; align-items: center; gap: 25px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px 30px; box-shadow: var(--shadow-md); max-width: 800px; }
.sub-icon { font-size: 2.5rem; color: var(--secondary); opacity: 0.8; }
.sub-content h5 { margin: 0; font-weight: 700; font-size: 1rem; }
.sub-content p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* -------------------------------------------------------------------
 *  13. TESTIMONIAL MARQUEE
 * ------------------------------------------------------------------- */
.testimonial-section { padding: 50px 0; background-color: #0F172A; overflow: hidden; position: relative; }
.testimonial-title { color: #ffffff; font-size: 2.5rem !important; font-weight: 800; margin-bottom: 25px; letter-spacing: -1px; line-height: 1.2; }
.testimonial-desc { color: rgba(255, 255, 255, 0.85); font-size: 1.25rem !important; max-width: 750px; margin: 0 auto; margin-bottom: 80px !important; line-height: 1.6; }
.marquee-wrapper { display: flex; flex-direction: column; gap: 30px; position: relative; width: 100%; }
.marquee-wrapper::before, .marquee-wrapper::after { content: ""; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; pointer-events: none; }
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, #0F172A, transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, #0F172A, transparent); }
.marquee-track { display: flex; gap: 30px; width: max-content; }
.scroll-left { animation: scrollLeft 50s linear infinite; }
.scroll-right { animation: scrollRight 55s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.testimonial-card { background: #ffffff; border-radius: 16px; padding: 40px 35px; width: 420px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; white-space: normal; }
.testimonial-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.2); z-index: 10; }
.quote-icon { font-size: 4rem; line-height: 1; color: var(--primary); opacity: 0.8; margin-bottom: 30px; display: block; width: 100%; }
.review-text { font-size: 1.1rem; color: var(--dark); line-height: 1.6; margin-bottom: 30px; font-weight: 500; flex-grow: 1; }
.user-info { display: flex; align-items: center; gap: 15px; margin-top: auto; }
.user-avatar { width: 55px; height: 55px; border-radius: 50%; background-color: var(--soft-bg); background-size: cover; background-position: center; border: 2px solid var(--light); }
.user-name { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin: 0; }
.user-role { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

/* -------------------------------------------------------------------
 *  14. PRICING SECTION
 * ------------------------------------------------------------------- */
.pricing-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; margin-bottom: 60px; }
.pricing-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; height: 100%; position: relative; transition: all 0.3s ease; opacity: 0; transform: translateY(20px); animation: fadeUp 0.6s ease forwards; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: var(--primary); }
.pricing-card.popular { border: 2px solid var(--primary); box-shadow: var(--shadow-premium); padding: 40px 30px; z-index: 2; transform: scale(1.03); animation-delay: 0.1s; }
.pricing-card.popular:hover { transform: scale(1.03) translateY(-5px); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--white); padding: 6px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; box-shadow: 0 4px 10px rgba(34,197,94,0.3); white-space: nowrap; }
.card-header { text-align: center; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid var(--soft-bg); }
.plan-name { font-size: 1.25rem; color: var(--dark); margin-bottom: 10px; }
.plan-price { font-size: 3rem; font-weight: 800; color: var(--dark); line-height: 1; display: flex; align-items: center; justify-content: center; }
.plan-price .currency { font-size: 1.5rem; margin-right: 5px; color: var(--muted); align-self: flex-start; margin-top: 5px; }
.plan-price .period { font-size: 0.9rem; color: var(--muted); font-weight: 500; align-self: flex-end; margin-bottom: 6px; margin-left: 6px; }
.card-body { flex-grow: 1; margin-bottom: 30px; }
.feature-list li { display: flex; align-items: center; margin-bottom: 15px; font-size: 0.95rem; color: var(--dark); }
.feature-list li i { color: var(--primary); margin-right: 12px; width: 20px; text-align: center; }
.feature-list li.disabled { color: #CBD5E1; text-decoration: line-through; }
.feature-list li.disabled i { color: #E2E8F0; }
.feature-list li.highlight-feature { color: #7C3AED; font-weight: 600; }
.feature-list li.highlight-feature i { color: #7C3AED; }
.card-footer { margin-top: auto; width: 100%; }
.btn-primary-plan { display: block; width: 100%; padding: 14px 20px; background: var(--primary); color: var(--white); border-radius: 12px; font-weight: 600; text-align: center; transition: 0.3s; border: none; }
.btn-primary-plan:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(34,197,94,0.25); color: var(--white); }
.btn-outline-plan { display: block; width: 100%; padding: 14px 20px; background: transparent; border: 1px solid var(--border); color: var(--dark); border-radius: 12px; font-weight: 600; text-align: center; transition: 0.3s; }
.btn-outline-plan:hover { border-color: var(--dark); background: var(--dark); color: var(--white); transform: translateY(-2px); }
.trust-strip { display: flex; justify-content: center; gap: 30px; margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.trust-item { font-weight: 600; color: var(--dark); display: flex; align-items: center; }
.trust-item i { color: var(--primary); margin-right: 8px; font-size: 1.1rem; }

/* -------------------------------------------------------------------
 *  15. FAQ & CTA
 * ------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.faq-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 30px; display: flex; align-items: flex-start; gap: 20px; transition: all 0.3s ease; }
.faq-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); border-color: var(--primary); }
.faq-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: rgba(34,197,94,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.faq-content h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.faq-content p { font-size: 0.95rem; color: var(--muted); margin-bottom: 0; line-height: 1.6; }

.cta-section { position: relative; padding: 60px 0; }
.cta-card { background: var(--cta-bg-gradient); border-radius: 30px; padding: 80px 40px; text-align: center; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(74, 222, 128, 0.25); }
.cta-shape { position: absolute; background: rgba(255, 255, 255, 0.15); border-radius: 50%; z-index: 1; }
.cta-shape.shape-1 { width: 600px; height: 600px; top: -50%; left: -10%; }
.cta-shape.shape-2 { width: 500px; height: 500px; bottom: -40%; right: -5%; }
.cta-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-title { font-size: 3rem; font-weight: 800; margin-bottom: 20px; color: var(--cta-text); line-height: 1.1; }
.cta-desc { font-size: 1.2rem; margin-bottom: 40px; color: var(--cta-text); opacity: 0.9; }
.cta-btns { display: flex; justify-content: center; gap: 15px; }
.btn-black { background: #000000; color: #ffffff; padding: 14px 32px; border-radius: 50px; font-weight: 600; transition: all 0.3s ease; }
.btn-black:hover { background: #1a1a1a; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); color: #ffffff; }
.btn-outline-black { background: transparent; border: 2px solid #000000; color: #000000; padding: 12px 30px; border-radius: 50px; font-weight: 600; transition: all 0.3s ease; }
.btn-outline-black:hover { background: #000000; color: #ffffff; transform: translateY(-2px); }

/* -------------------------------------------------------------------
 *  16. FOOTER
 * ------------------------------------------------------------------- */
.footer-section { background-color: var(--footer-bg); color: var(--footer-text); padding: 80px 0 0 0; font-size: 0.95rem; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-logo { display: inline-block; font-size: 1.8rem; font-weight: 700; font-family: 'Poppins', sans-serif; color: var(--white); margin-bottom: 20px; }
.footer-logo span { color: var(--primary); }
.footer-desc { color: var(--footer-text); line-height: 1.6; max-width: 320px; }
.widget-title { color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: 25px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--footer-text); transition: 0.3s; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.contact-list li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; color: var(--footer-text); }
.contact-list i { color: var(--primary); margin-top: 5px; }
.footer-bottom { padding: 30px 0; display: flex; justify-content: space-between; align-items: center; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); color: var(--white); display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: 0.3s; }
.social-icons a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

.scroll-top-btn { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(34,197,94,0.4); z-index: 1000; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: all 0.4s ease; animation: bounce 2s infinite; }
.scroll-top-btn:hover { background: var(--primary-dark); transform: translateY(-5px); }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-6px);} 60% {transform: translateY(-3px);} }

/* -------------------------------------------------------------------
 *  17. RESPONSIVE
 * ------------------------------------------------------------------- */
@media (max-width: 992px) {
    .nav-center { display: none; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-wrapper { grid-template-columns: 1fr; text-align: center; }
    .hero-content { margin: 0 auto; padding-right: 0; }
    .hero-btns { justify-content: center; }
    .hero-mockup { padding-top: 40px; }
    .panel-content-card { grid-template-columns: 1fr; gap: 30px; padding: 40px; }
    .panel-sidebar { padding-right: 0; border-right: none; border-bottom: 1px solid var(--soft-bg); padding-bottom: 30px; }
    .panel-grid { padding-left: 0; }
    .pricing-wrapper { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .cta-card { padding: 50px 20px; }
    .cta-title { font-size: 2.2rem; }
    .cms-wrapper { grid-template-columns: 1fr; text-align: center; }
    .cms-content { margin: 0 auto; }
    .cms-feature-grid { text-align: left; }
    .cms-visuals { height: 400px; margin-top: 50px; }
    .card-top { width: 280px; }
    .card-bottom { width: 320px; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .cta-btns { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .admin-stats-row { flex-direction: column; gap: 20px; }
    .admin-features-grid { grid-template-columns: 1fr; }
    .d-lg-block { display: none !important; }
}

@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
    .d-lg-none { display: none !important; }
}

@media (max-width: 768px) {
    .nav-right { display: flex; align-items: center; gap: 12px; }
    .nav-right .nav-btn { display: none; }
    #mobileMenuBtn { display: inline-flex; align-items: center; justify-content: center; }
    .grid-2 { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 2rem; }
    .hero-title { font-size: 2.5rem; }
    .trust-strip, .subscription-strip { flex-direction: column; align-items: center; gap: 15px; }
    .subscription-strip { text-align: center; }
    .subscription-strip > div { width: 100%; max-width: none; }
    .subscription-strip > a { margin-top: 15px; }
    .pricing-wrapper { grid-template-columns: 1fr; max-width: 450px; margin-left: auto; margin-right: auto; }
    .btn-black, .btn-outline-black { width: 100%; }
    .cms-feature-grid, .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .scroll-top-btn { bottom: 20px; right: 20px; }
    .testimonial-section .section-title h2 { font-size: 2.5rem; }
    .testimonial-section .section-title p { margin-bottom: 50px; }
    .testimonial-card { width: 340px; padding: 30px; min-height: 250px; }
    .quote-icon { font-size: 3rem; margin-bottom: 20px; }
}

/* -------------------------------------------------------------------
 *  18. UTILITIES (DROPDOWN & BUTTONS)
 * ------------------------------------------------------------------- */
.btn-light {
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}
.btn-light:hover, .btn-light:focus {
    background-color: var(--soft-bg);
    border-color: var(--muted);
}

.dropdown-toggle::after {
    display: none;
}
.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: .5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}
.dropdown-menu.show {
    display: block;
}

/* Skeleton Loading */
.skeleton {
    background-color: #e2e8f0;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.4) 20%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0));
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    display: block;
}
@keyframes skeleton-loading { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.exam-card.skeleton-card { pointer-events: none; border-color: transparent; box-shadow: none; background: #fff; }
.skeleton-banner { width: 100%; height: 160px; border-radius: 12px; margin-bottom: 20px; }
.skeleton-header { display: flex; justify-content: space-between; margin-bottom: 15px; }
.skeleton-badge { width: 80px; height: 20px; border-radius: 50px; }
.skeleton-price { width: 60px; height: 20px; }
.skeleton-title { width: 80%; height: 24px; margin-bottom: 10px; }
.skeleton-desc { width: 100%; height: 16px; margin-bottom: 8px; }
.skeleton-desc.short { width: 60%; }
.skeleton-meta { display: flex; gap: 20px; margin-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--soft-bg); }
.skeleton-meta-item { width: 60px; height: 16px; }
.skeleton-btn { width: 100%; height: 45px; border-radius: 12px; margin-top: 20px; }

/* =================================================================
   21. ADMIN STYLE LANGUAGE SWITCHER (NEW)
   ================================================================= */

/* 1. Circular Trigger Button */
.circle-flag-trigger {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--border); /* Subtle border like admin */
    background: transparent;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.circle-flag-trigger:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Ensure the flag inside covers the whole circle */
.circle-flag-trigger .fi {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: block;
}

/* Fallback Icon if no flag */
.circle-flag-trigger i {
    font-size: 1.2rem;
    color: var(--muted);
}

/* 2. Dropdown Menu Container */
.lang-menu {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px !important;
    margin-top: 12px !important; /* Spacing from trigger */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* Hide default arrow */
.dropdown-toggle::after {
    display: none !important;
}

/* 3. Header inside Dropdown */
.dropdown-header-custom {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94A3B8; /* Muted text color */
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 4. Dropdown Items */
.lang-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.2s;
}

.lang-item:hover {
    background-color: #F1F5F9; /* Hover bg */
    color: var(--dark);
}

.lang-item.active {
    background-color: #F0FDF4; /* Active green light bg */
    color: var(--primary-dark);
}

/* Small flag inside menu */
.lang-flag-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lang-name {
    font-size: 0.95rem;
}

/* Responsive Fixes */
@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
}

/* =========================================
   MOBILE MENU FIXES (Add to bottom of CSS)
   ========================================= */

/* Mobile Overlay Container */
.mobile-menu-overlay {
    background: #ffffff;
    border-top: 1px solid #eee;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Mobile Language Switcher Area */
.mobile-lang-wrapper {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-lang-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

/* Mobile Language Buttons Grid */
.mobile-lang-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-mobile-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-mobile-lang:hover {
    background: var(--soft-bg);
}

.btn-mobile-lang.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-mobile-lang .fi {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

/* Mobile Nav Links */
.mobile-nav-link {
    display: block;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    border-bottom: 1px solid #f8f9fa;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Mobile Auth Buttons Area */
.mobile-auth-area {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}