/* ============================================

   تيم المنهج E-Learning Platform — Global CSS

   Design System — Figma Faithful Translation

   ============================================ */



@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Nunito:wght@400;500;600;700;800;900&display=swap');



:root {

    --primary: #D97706; /* Original Gold */

    --primary-dark: #B45309;

    --primary-light: rgba(217, 119, 6, 0.15);

    --secondary-dark: #FFFFFF; 

    --secondary-gray: #D4D4D4; 

    --bg-dark: #1a1a1a; 

    --bg-darker: #0F0F0F; 

    --bg-card: #161616;

    --white: #FFFFFF;

    --text-main: #F5F5F5;

    --text-muted: #A3A3A3;

    

    --font-ar: 'Cairo', sans-serif;

    --font-en: 'Nunito', sans-serif;

    

    --navy: #F5F5F5;

    --bg-cream: #0A0A0A;

    --shadow-soft: 0px 10px 40px rgba(0, 0, 0, 0.4);

    --shadow-hover: 0px 15px 45px rgba(0, 0, 0, 0.6);

    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.5);

    --shadow-btn: 0px 10px 30px rgba(217, 119, 6, 0.2);

    

    --radius-sm: 12px;

    --radius-md: 24px;

    --radius-lg: 32px;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    

    /* Premium Glassmorphism */

    --glass-bg: rgba(255, 255, 255, 0.03);

    --glass-border: rgba(255, 255, 255, 0.05);

    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

}




body {

    background-color: var(--bg-darker);

    color: var(--text-main);

    font-family: var(--font-ar);

}



/* Custom Professional Dark Scrollbar */

::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background: var(--bg-darker);

}

::-webkit-scrollbar-thumb {

    background: #262626;

    border-radius: 10px;

    border: 2px solid var(--bg-darker);

}

::-webkit-scrollbar-thumb:hover {

    background: #404040;

}



/* Force Dark Styles for all elements */

.section-padding, 

.success-stats, 

.target-cards, 

.feature-block, 

#news-section, 

#faq-section {

    background-color: var(--bg-darker) !important;

}



/* Dark Mode Form Controls Consistency */

[data-theme="dark"] .form-control,

[data-theme="dark"] .form-select {

    background-color: #262626;

    border-color: #404040;

    color: #F5F5F5;

}



[data-theme="dark"] .form-control:focus,

[data-theme="dark"] .form-select:focus {

    background-color: #262626;

    border-color: var(--primary);

    color: #F5F5F5;

    box-shadow: 0 0 0 0.25rem rgba(217, 119, 6, 0.25);

}



[data-theme="dark"] .form-control::placeholder {

    color: #737373;

}



[data-theme="dark"] .input-group-text {

    background-color: #262626;

    border-color: #404040;

    color: #A3A3A3;

}



/* Dark Mode Accordion Consistency */

[data-theme="dark"] .accordion-item {

    background-color: #171717;

    border-color: #262626;

}



[data-theme="dark"] .accordion-button {

    background-color: #171717;

    color: #F5F5F5;

}



[data-theme="dark"] .accordion-button:not(.collapsed) {

    background-color: #262626;

    color: var(--primary);

}



[data-theme="dark"] .accordion-button::after {

    filter: invert(1);

}



[data-theme="dark"] .accordion-body {

    background-color: #171717;

    color: #A3A3A3;

}



/* Dark Mode Card Consistency */

[data-theme="dark"] .card {

    background-color: #171717;

    border-color: #262626;

}



[data-theme="dark"] .card-title,

[data-theme="dark"] .card-header {

    color: #F5F5F5;

}



[data-theme="dark"] .card-text,

[data-theme="dark"] .card-body,

[data-theme="dark"] .card p {

    color: #E5E5E5 !important; /* Force readable light color */

}



/* Dark Mode Modal Consistency */

[data-theme="dark"] .modal-content {

    background-color: #171717;

    border-color: #262626;

}



[data-theme="dark"] .modal-header {

    border-bottom-color: #262626;

}



[data-theme="dark"] .modal-footer {

    border-top-color: #262626;

}



[data-theme="dark"] .btn-close {

    filter: invert(1);

}



/* 🛒 Shopping Cart Global Styles - Ultra Premium */

.cart-dropdown {

    width: 360px !important;

    border-radius: 24px !important;

    background: rgba(8, 8, 16, 0.9) !important;

    backdrop-filter: blur(20px) !important;

    border: 1px solid rgba(217, 119, 6, 0.25) !important;

    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(217, 119, 6, 0.1) !important;

    padding: 0 !important;

    margin-top: 15px !important;

    overflow: hidden;

    animation: cartDropdownFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);

}



@keyframes cartDropdownFade {

    from { opacity: 0; transform: translateY(10px) scale(0.95); }

    to { opacity: 1; transform: translateY(0) scale(1); }

}



.cart-badge {

    position: absolute;

    top: -5px;

    right: -10px;

    background: linear-gradient(135deg, #D97706, #B45309);

    color: #fff;

    font-size: 10px;

    font-weight: 800;

    width: 20px;

    height: 20px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 2px solid #080810;

    box-shadow: 0 0 15px rgba(217, 119, 6, 0.4);

    z-index: 10;

    transition: 0.3s;

}



.cart-btn:hover .cart-badge {

    transform: scale(1.1) rotate(5deg);

}



.cart-item-row {

    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    background: rgba(255, 255, 255, 0.02);

    border: 1px solid rgba(255, 255, 255, 0.03);

    margin: 8px 12px;

}



.cart-item-row:hover {

    background: rgba(217, 119, 6, 0.05) !important;

    border-color: rgba(217, 119, 6, 0.2) !important;

    transform: translateX(-5px);

}



.item-remove-btn {

    width: 28px;

    height: 28px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: 0.2s;

    background: rgba(220, 38, 38, 0.1);

    color: #dc2626 !important;

    border: none;

    opacity: 0.4;

}



.cart-item-row:hover .item-remove-btn {

    opacity: 1;

}



.item-remove-btn:hover {

    background: #dc2626;

    color: #fff !important;

    transform: rotate(90deg);

}



.btn-checkout-premium {

    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);

    color: #000 !important;

    font-weight: 800;

    border: none;

    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);

    transition: 0.3s;

}



.btn-checkout-premium:hover {

    box-shadow: 0 15px 30px rgba(217, 119, 6, 0.5);

    transform: translateY(-2px);

}



.custom-scrollbar::-webkit-scrollbar {

    width: 5px;

}

.custom-scrollbar::-webkit-scrollbar-track {

    background: transparent;

}

.custom-scrollbar::-webkit-scrollbar-thumb {

    background: rgba(217, 119, 6, 0.3);

    border-radius: 10px;

}



/* Dark dropdown consistency */

.dropdown-menu {
    background: rgba(8, 8, 16, 0.96) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(217, 119, 6, 0.25) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.72) !important;
    color: #F5F5F5 !important;
    z-index: 1085 !important;
}

.dropdown-item {
    color: #F5F5F5 !important;
    border-radius: 10px !important;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background-color: rgba(217, 119, 6, 0.12) !important;
    color: #F59E0B !important;
}

.dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.1) !important;
}

select,
.form-select,
select option,
.form-select option {
    background-color: #080810 !important;
    color: #F5F5F5 !important;
}

.navbar,
.premium-navbar,
.navbar .dropdown,
.navbar [data-bs-toggle="dropdown"],
.navbar .dropdown-menu,
.navbar .nav-link,
.navbar .cart-btn,
.navbar .dropdown-item {
    pointer-events: auto !important;
}

.premium-navbar {
    isolation: isolate;
}

.cart-btn,
[data-bs-toggle="dropdown"] {
    cursor: pointer;
}

[data-theme="dark"] .dropdown-menu {
    background: rgba(8, 8, 16, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(217, 119, 6, 0.25) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8) !important;
    padding: 0.75rem !important;
    margin-top: 15px !important;
}

[data-theme="dark"] .dropdown-item {
    color: #F5F5F5 !important;
    border-radius: 12px !important;
    padding: 0.6rem 1.25rem !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

[data-theme="dark"] .dropdown-item:hover {
    background-color: rgba(217, 119, 6, 0.1) !important;
    color: var(--primary) !important;
    padding-right: 1.75rem !important;
}

[data-theme="dark"] .dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
    margin: 0.5rem 0.75rem !important;
}



/* Dark Mode Table Consistency */

[data-theme="dark"] .table {

    --bs-table-bg: transparent;

    --bs-table-color: #F5F5F5;

    --bs-table-border-color: #262626;

    --bs-table-striped-bg: #1a1a1a;

    --bs-table-hover-bg: #262626;

}



/* Dark Mode Badge Consistency */

[data-theme="dark"] .badge.bg-light {

    background-color: #262626 !important;

    color: #F5F5F5 !important;

}



/* Dark Mode Breadcrumb Consistency */

[data-theme="dark"] .breadcrumb-item.active {

    color: #737373;

}



[data-theme="dark"] .breadcrumb-item a {

    color: #A3A3A3;

}



[data-theme="dark"] .breadcrumb-item a:hover {

    color: var(--primary);

}



/* ── Reset Setup ──────────────────────────────── */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {

    font-family: var(--font-ar);

    color: var(--text-main);

    background-color: var(--bg-darker);

    line-height: 1.6;

    direction: rtl; /* Arabic first */

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;

}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

ul, ol { list-style: none; padding: 0; margin: 0; }



h1,h2,h3,h4,h5,h6 {

    font-family: var(--font-ar);

    color: var(--white);

    font-weight: 700;

    line-height: 1.3;

}

p { margin-bottom: 0; }



/* ── Utilities ──────────────────────────────── */

.text-primary { color: var(--primary) !important; }

.text-dark { color: var(--secondary-dark) !important; }

.bg-primary { background-color: var(--primary) !important; }



/* Legacy Page Utilities */

.sec { padding: 5rem 0; }

.fcard { background: var(--white); border-radius: var(--radius-card); padding: 2.5rem 2rem; text-align: center; border: 1px solid #ececec; transition: var(--transition); height: 100%; }

.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }

.info-img { border-radius: 1.4rem; overflow: hidden; }

.info-img img { width: 100%; border-radius: 1.4rem; }

.info-tag { color: var(--primary); font-weight: 600; font-size: .82rem; letter-spacing: .5px; text-transform: uppercase; display: block; margin-bottom: .5rem; }

.info-list li { padding: 7px 0; display: flex; align-items: center; gap: 10px; color: var(--secondary-gray); font-size: .92rem; }

.info-list li i { color: var(--primary); font-size: .8rem; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.fade-in-up { animation: fadeUp .55s ease-out both; }

.text-center { text-align: center !important; }

    

.section-padding-sm { padding: 2.5rem 0; }

.section-title {

    text-align: center;

    margin-bottom: 2rem;

}

.section-title h2 {

    font-size: 2.25rem;

    font-weight: 700;

    margin-bottom: 1rem;

}

.section-title h2 span { color: var(--primary); }

.section-title p {

    font-size: 1.125rem;

    max-width: 600px;

    margin: 0 auto;

    color: #E5E5E5;

}



/* ── Premium UI Utilities ───────────────────── */

.glass-card {

    background: var(--glass-bg);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    border: 1px solid var(--glass-border);

    box-shadow: var(--glass-shadow);

    border-radius: var(--radius-md);

}



.gold-glow {

    box-shadow: 0 0 20px rgba(217, 119, 6, 0.2);

}



.skeleton {

    background-color: #262626;

    background-image: linear-gradient(

        90deg,

        rgba(255, 255, 255, 0),

        rgba(255, 255, 255, 0.05),

        rgba(255, 255, 255, 0)

    );

    background-size: 200% 100%;

    animation: skeleton-loading 1.5s infinite;

}



@keyframes skeleton-loading {

    0% { background-position: 200% 0; }

    100% { background-position: -200% 0; }

}



.hover-lift {

    transition: var(--transition);

}

.hover-lift:hover {

    transform: translateY(-8px);

}



/* ── Skeleton Loading Styles ────────────────── */

.skeleton-card {

    height: 380px;

    background: var(--bg-card);

    border-radius: var(--radius-md);

    overflow: hidden;

    position: relative;

    border: 1px solid rgba(255,255,255,0.05);

}

.skeleton-thumb {

    height: 180px;

}

.skeleton-line {

    height: 12px;

    margin: 10px 15px;

    border-radius: 4px;

}

.skeleton-line.title { height: 20px; width: 70%; margin-top: 15px; }

.skeleton-line.desc { height: 10px; width: 90%; }

.skeleton-line.price { height: 15px; width: 40%; margin-top: 20px; }

.skeleton-line.btn { height: 40px; width: calc(100% - 30px); margin-top: 20px; border-radius: 50px; }



/* Section Spacing Optimization - More compact layout */



/* Dots Background Pattern */

.dots-bg {

    position: absolute;

    z-index: -1;

    background-image: radial-gradient(var(--primary) 20%, transparent 20%);

    background-size: 20px 20px;

    opacity: 0.15;

}



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   NAVBAR (Figma Faithful)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.navbar {

    padding: 0.8rem 0;

    transition: all 0.3s ease;

    background: #080810 !important; /* Solid Opaque Dark Background */

    z-index: 1050;

    border-bottom: 1px solid rgba(217, 119, 6, 0.15);

}

.navbar.scrolled {

    background: #000000 !important; /* Even darker on scroll */

    box-shadow: 0 10px 30px rgba(0,0,0,0.5);

    padding: 0.6rem 0;

}

.navbar-brand {

    font-family: var(--font-en);

    font-size: 1.5rem;

    font-weight: 800;

    color:white !important;

    letter-spacing: 2px;

}

.navbar-nav .nav-link {

    color: rgba(255,255,255,0.8) !important;

    font-weight: 500;

    font-size: 1rem;

    padding: 0.5rem 1.2rem !important;

    position: relative;

}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {

    color: var(--primary) !important;

}

.navbar-nav .nav-link.active::after {

    content: '';

    position: absolute;

    bottom: -5px;

    left: 50%;

    transform: translateX(-50%);

    width: 6px;

    height: 6px;

    background-color: var(--white);

    border-radius: 50%;

}

.btn-login {

    color: var(--white) !important;

    background: rgba(255,255,255,0.08) !important;

    border: 1px solid rgba(255,255,255,0.2) !important;

    font-weight: 700;

    padding: 8px 24px !important;

    border-radius: 12px !important;

    transition: all 0.3s ease;

}

.btn-login:hover { 

    background: rgba(255,255,255,0.15) !important;

    border-color: rgba(255,255,255,0.4) !important;

}

.btn-signup {

    color: #000 !important;

    background: var(--primary) !important;

    font-weight: 800;

    padding: 8px 24px !important;

    border-radius: 12px !important;

    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);

}

.btn-signup:hover { 

    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.5);

}



.nav-icon-btn {

    color: rgba(255,255,255,0.8);

    font-size: 1.1rem;

    background: transparent;

    border: none;

    padding: 0;

    transition: var(--transition);

    cursor: pointer;

}

.nav-icon-btn:hover { color: var(--white); transform: scale(1.1); }

.navbar.scrolled .nav-icon-btn { color: var(--secondary-dark); }



/* Mobile Menu */

@media (max-width: 991px) {

    .navbar-collapse {

        background: #080810;

        padding: 1.5rem;

        border-radius: 20px;

        margin-top: 1rem;

        box-shadow: 0 20px 40px rgba(0,0,0,0.5);

        border: 1px solid rgba(217, 119, 6, 0.2);

    }

    .navbar-nav .nav-link {

        padding: 10px 0 !important;

        border-bottom: 1px solid rgba(255,255,255,0.05);

    }

}



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   HERO SECTION

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hero {

    position: relative;

    padding: 10rem 0 6rem;

    overflow: hidden;

}

.hero-bg-shape {

    position: absolute;

    top: -5%;

    left: -10%;

    width: 120%;

    height: 100%;

    background-color: var(--primary);

    border-bottom-left-radius: 50% 15%;

    border-bottom-right-radius: 50% 15%;

    z-index: 0;

}

.hero .container { position: relative; z-index: 1; }

.hero h1 {

    font-size: 3.5rem;

    color: var(--white);

    margin-bottom: 2rem;

    line-height: 1.2;

}

.hero h1 span { color: var(--accent-orange); }

.hero p {

    color: rgba(255,255,255,0.9);

    font-size: 1.25rem;

    margin-bottom: 3rem;

    max-width: 500px;

}

.btn-hero {

    background: rgba(255,255,255,0.2);

    color: var(--white) !important;

    padding: 14px 35px;

    border-radius: var(--radius-pill);

    font-weight: 600;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    backdrop-filter: blur(10px);

    transition: var(--transition);

}

.btn-hero:hover { background: rgba(255,255,255,0.3); }



/* Hero Graphic & Floating Badges */

.hero-graphic {

    position: relative;

    z-index: 10;

    display: flex;

    justify-content: center;

    align-items: center;

}

.hero-img {

    position: relative;

    z-index: 2;

    max-height: 600px;

    margin-top: 2rem;

}

.float-card {

    position: absolute;

    background: rgba(255,255,255,0.9);

    backdrop-filter: blur(8px);

    border-radius: var(--radius-sm);

    padding: 15px 20px;

    display: flex;

    align-items: center;

    gap: 15px;

    box-shadow: var(--shadow-soft);

    z-index: 5;

    animation: floating 4s ease-in-out infinite;

}

.fc-1 { top: 15%; right: 0; animation-delay: 0s; } /* Translates to left in RTL visually if positioned right? Let's use left/right explicitly */

.fc-2 { bottom: 20%; left: -5%; animation-delay: 1.5s; }



@keyframes floating {

    0% { transform: translateY(0); }

    50% { transform: translateY(-15px); }

    100% { transform: translateY(0); }

}

.fc-icon {

    width: 45px; height: 45px;

    border-radius: 12px;

    display: flex; justify-content: center; align-items: center;

    font-size: 1.25rem; color: var(--white);

}

.fc-icon.blue { background: var(--accent-blue); }

.fc-icon.orange { background: var(--accent-orange); }

.fc-text h5 { margin: 0; font-size: 1.1rem; color: var(--secondary-dark); }

.fc-text p { margin: 0; font-size: 0.85rem; color: var(--secondary-gray); }



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   SUCCESS HIGHLIGHTS (Stats)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.success-stats { padding: 0; }

.stat-box { text-align: center; }

.stat-box h2 {

    font-size: 3rem;

    color: var(--primary);

    margin-bottom: 0px;

    font-family: var(--font-en);

}

.stat-box p { font-size: 1.1rem; color: var(--secondary-dark); font-weight: 500;}



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   CLOUD SOFTWARE CARDS (What is تيم المنهج?)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cloud-cards .card {

    border: none;

    border-radius: var(--radius-md);

    padding: 1.5rem 1.25rem;

    text-align: center;

    box-shadow: var(--shadow-soft);

    transition: var(--transition);

    height: 100%;

}

.cloud-cards .card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

.cloud-cards .icon-wrap {

    width: 60px; height: 60px;

    border-radius: 50%;

    display: flex; justify-content: center; align-items: center;

    margin: 0 auto 0.75rem;

    font-size: 1.5rem; color: var(--white);

    position: relative;

}

.cloud-cards .icon-wrap::after {

    content: ''; position: absolute; inset: -10px;

    border-radius: 50%;

    opacity: 0.2; z-index: -1;

}

.cloud-cards .card-purple .icon-wrap { background: var(--accent-purple); box-shadow: 0 10px 20px rgba(91,114,238,0.3); }

.cloud-cards .card-teal .icon-wrap { background: var(--primary); box-shadow: 0 10px 20px rgba(245, 158, 11,0.3); }

.cloud-cards .card-blue .icon-wrap { background: var(--accent-blue); box-shadow: 0 10px 20px rgba(35,189,238,0.3); }

.cloud-cards h4 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--white); }

.cloud-cards p { font-size: 0.95rem; line-height: 1.7; color: #E5E5E5 !important; }



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   FOR INSTRUCTORS / STUDENTS

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.target-cards { padding: 0; }

.target-card {

    position: relative;

    border-radius: var(--radius-md);

    overflow: hidden;

    height: 280px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 2rem;

}

.target-card img {

    position: absolute;

    top: 0; left: 0; width: 100%; height: 100%;

    object-fit: cover; z-index: 1;

}

.target-card::before {

    content: ''; position: absolute; inset: 0;

    background: rgba(37,38,65,0.6); z-index: 2;

}

.target-card.blue::before { background: rgba(245, 158, 11,0.7); }

.target-card .content { position: relative; z-index: 3; color: var(--white); }

.target-card h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 1rem; }

.btn-outline-custom {

    color: var(--white);

    border: 1px solid rgba(255,255,255,0.5);

    padding: 10px 30px; border-radius: var(--radius-pill);

    font-weight: 600; font-size: 1rem; transition: var(--transition);

}

.btn-outline-custom:hover { background: var(--white); color: var(--secondary-dark); }



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   FEATURES ZIG-ZAG

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.feature-block { padding: 0; overflow: hidden;}

.feature-text h2 { font-size: 2rem; margin-bottom: 0.75rem; }

.feature-text h2 span { color: var(--primary); }

.feature-text p { font-size: 1.125rem; margin-bottom: 1rem; }

.feature-list li {

    position: relative;

    padding-right: 30px;

    margin-bottom: 1rem;

    font-size: 1rem;

    color: var(--secondary-gray);

}

.feature-list li::before {

    content: '';

    position: absolute;

    right: 0;

    top: 8px;

    width: 14px;

    height: 14px;

    border-radius: 50%;

    background: var(--primary);

    box-shadow: 0 0 0 4px var(--primary-light);

}

.feature-img-wrapper { position: relative; }

.feature-img-wrapper .decor-dots {

    width: 100px; height: 100px; right: -20px; bottom: -20px;

}

.feature-img-wrapper img.main-img {

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-soft);

    position: relative;

    z-index: 2;

}



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   COURSES CARDS

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.course-grid .t-card {

    background: var(--white);

    border-radius: var(--radius-md);

    overflow: hidden;

    box-shadow: var(--shadow-soft);

    transition: var(--transition);

    height: 100%;

    display: flex; flex-direction: column;

}

.course-grid .t-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.course-grid .card-img { height: 200px; overflow: hidden; position: relative; }

.course-grid .card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }

.course-grid .t-card:hover .card-img img { transform: scale(1.05); }

.card-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }

.card-meta { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 0.85rem; }

.card-meta .tag { background: rgba(245, 158, 11,0.1); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-weight: 600; }

.card-title { font-size: 1.25rem; font-weight: 700; color: var(--secondary-dark); margin-bottom: 1rem; }

.card-author { display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem; }

.card-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.card-author span { font-size: 0.95rem; font-weight: 500; color: var(--secondary-dark); }

.card-footer-box {

    margin-top: auto;

    display: flex; justify-content: space-between; align-items: center;

    padding-top: 1rem; border-top: 1px solid #efefef;

}

.price { font-size: 1.25rem; font-weight: 700; color: var(--primary); }



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   TESTIMONIALS

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.testi-wrapper {

    position: relative;

    padding: 0;

}

.testi-card {

    background: var(--white);

    border-radius: var(--radius-md);

    padding: 3rem;

    box-shadow: var(--shadow-soft);

    position: relative;

    z-index: 5;

    border-right: 5px solid var(--accent-orange);

}

.testi-card p {

    font-size: 1.05rem;

    color: #E5E5E5 !important;

    line-height: 1.8;

    margin-bottom: 2rem;

}

.testi-author { display: flex; align-items: center; gap: 15px; }

.testi-author h4 { margin: 0; font-size: 1.1rem; }

.testi-author span { font-size: 0.9rem; color: var(--secondary-gray); }



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   LATEST NEWS

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.news-big-card {

    position: relative;

    border-radius: var(--radius-md);

    overflow: hidden;

    height: 100%;

    min-height: 280px;

}

.news-big-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; }

.news-big-card .overlay {

    position: absolute; inset: 0;

    background: linear-gradient(0deg, rgba(37,38,65,0.9), transparent);

    display: flex; flex-direction: column; justify-content: flex-end;

    padding: 1.5rem;

}

.news-big-card .badge { background: var(--primary); padding: 5px 15px; border-radius: 20px; font-weight: 600; margin-bottom: 15px; width: fit-content; }

.news-big-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 15px; }

.news-img-wrapper { width: 100%; height: 100%; overflow: hidden; position: absolute; top: 0; left: 0; }

.news-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }

.news-big-card:hover .news-img-wrapper img { transform: scale(1.1); }



.news-small-card { display: flex; gap: 15px; margin-bottom: 20px; align-items: start; border-radius: var(--radius-md); padding: 15px; transition: var(--transition); background: var(--bg-card); box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,0.05); }

.news-small-card:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-hover); border-color: var(--primary); }

.news-small-img-wrapper { width: 120px; height: 90px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }

.news-small-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }

.news-small-card:hover .news-small-img-wrapper img { transform: scale(1.1); }

.news-small-card h4 { font-size: 1rem; margin-bottom: 5px; font-weight: 700; color: var(--white); }



/* Dark Mode News Overrides */

[data-theme="dark"] .news-small-card {

    background: rgba(38,38,38,0.4);

    backdrop-filter: blur(5px);

    border-color: rgba(255,255,255,0.05);

}

[data-theme="dark"] .news-small-card:hover {

    background: rgba(38,38,38,0.6);

    border-color: var(--primary);

}

[data-theme="dark"] .news-big-card h3 {

    text-shadow: 0 2px 10px rgba(0,0,0,0.8);

}

[data-theme="dark"] .news-big-card .overlay {

    background: linear-gradient(0deg, rgba(0,0,0,0.9), transparent);

}



.text-truncate-2 {

    display: -webkit-box;

    -webkit-line-clamp: 2;

    line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



.news-placeholder .spinner-border {

    width: 3rem;

    height: 3rem;

    color: var(--primary) !important;

}



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   FOOTER

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.footer {

    background: var(--secondary-dark);

    padding: 6rem 0 3rem;

    color: var(--white);

}

.footer-logo { font-family: var(--font-en); font-size: 2rem; font-weight: 800; letter-spacing: 2px; margin-bottom: 2rem; text-align: center; }

.footer-subscribe { text-align: center; margin-bottom: 4rem; }

.footer-subscribe h3 { color: var(--white); margin-bottom: 1rem; }

.footer-form {

    max-width: 450px; margin: 0 auto;

    position: relative;

}

.footer-form .form-control {

    border-radius: var(--radius-pill);

    padding: 15px 120px 15px 25px; /* RTL padding adjustments */

    border: 1px solid rgba(255,255,255,0.2);

    background: transparent;

    color: var(--white);

}

.footer-form .btn-subscribe {

    position: absolute;

    top: 5px; left: 5px; /* RTL means button is on the left side */

    bottom: 5px;

    background: var(--primary);

    color: var(--white);

    border: none;

    border-radius: var(--radius-pill);

    padding: 0 25px;

    font-weight: 600;

}

.footer-links { text-align: center; margin-bottom: 3rem; }

.footer-links a { color: rgba(255,255,255,0.7); margin: 0 15px; font-size: 0.95rem; }

.footer-links a:hover { color: var(--white); }

.footer-bottom { text-align: center; color: rgba(255,255,255,0.5); font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   RESPONSIVE OVERRIDES

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 991px) {

    .hero { padding: 8rem 0 4rem; text-align: center; }

    .hero-bg-shape { border-bottom-left-radius: 50% 5%; border-bottom-right-radius: 50% 5%; height: 90%; }

    .hero p { margin: 0 auto 2rem; }

    .float-card { display: none; } /* Hide floating elements on smaller screens for cleaner view */

    .stat-box { margin-bottom: 2rem; }

    .feature-text { text-align: center; margin-bottom: 3rem; }

    .feature-list { display: inline-block; text-align: right; }

}



@media (max-width: 767px) {

    .hero h1 { font-size: 2.25rem; }

    .section-title h2 { font-size: 1.75rem; }

    .target-card { height: 300px; padding: 2rem; margin-bottom: 1.5rem; }

    .news-small-card { flex-direction: column; text-align: center; }

    .news-small-card img { width: 100%; height: 200px; }

}



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   INNER PAGES RESTORE

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.page-header { background: var(--primary); padding: 8rem 0 4rem; position: relative; overflow: hidden; text-align: center; }

.page-header::after { content:''; position:absolute; bottom:-1px; left:-5%; right:-5%; height:80px; background:var(--bg-darker); border-radius:50% 50% 0 0; }

.page-header h1 { color: var(--white); font-size: 2.4rem; font-weight: 800; position: relative; z-index: 2; margin-bottom:1rem; }

.page-header p { color: rgba(255,255,255,.78); position: relative; z-index: 2; }

.course-card { background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; border: 1px solid #262626; transition: var(--transition); height: 100%; }

.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }

.course-card__thumb { height: 180px; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--primary-light), #d0efef); }

.course-card__thumb img { width: 100%; height: 100%; object-fit: cover; }

.course-card__body { padding: 1.25rem; }

.course-card__title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; color: var(--secondary-dark); }

.course-card__meta { font-size: .78rem; color: var(--secondary-gray); display: flex; gap: .8rem; margin-bottom: 1rem; flex-wrap: wrap; }

.course-card__foot { display: flex; align-items: center; justify-content: space-between; }

.course-card__price { font-size: 1rem; font-weight: 800; color: var(--primary); }

.course-card__btn { background: var(--primary); color: #fff; border: none; border-radius: var(--radius-pill); padding: 7px 20px; font-size: .82rem; font-weight: 600; cursor: pointer; transition: var(--transition); }

.payment-dialog { font-family: var(--font-ar); }

.payment-dialog code { font-size: 1.1rem; letter-spacing: 1px; color: var(--secondary-dark); }

.swal2-popup.rounded-4 { border-radius: 20px !important; background: #1a1a1a !important; color: #fff !important; }



/* =========================================

   INLINE STYLE MONOCHROME & GOLD OVERRIDES

   ========================================= */

.btn-subscribe { background: var(--primary) !important; color: var(--secondary-dark) !important; font-weight: 800 !important; }

[data-theme="dark"] .btn-subscribe { color: var(--navy) !important; }



/* Dashboard/Admin stat icons hardcoded Sky Blue */

.stat-icon { background: var(--primary-light) !important; color: var(--primary) !important; }



/* BOOTSTRAP UTILITIES (MONOCHROME/GOLD) */

.text-primary, .text-info { color: var(--primary) !important; }

.bg-primary { background-color: var(--primary) !important; color: var(--secondary-dark) !important; }

.bg-info { background-color: var(--primary-light) !important; }

.btn-primary { 

    background-color: var(--primary) !important; 

    border-color: var(--primary) !important; 

    color: var(--secondary-dark) !important; 

    font-weight: 700 !important; 

}

.btn-primary:hover { 

    background-color: #B45309 !important; /* Darker Gold */

    border-color: #B45309 !important; 

    color: #FFFFFF !important; 

}



/* =========================================

   NEW PREMIUM HERO (Inspired by User Reference)

   ========================================= */

.hero-premium {

    min-height: 100vh;

    background-color: var(--bg-light); 

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    padding-top: 80px;

}

[data-theme="dark"] .hero-premium {

    background-color: #020202; /* Extremely dark for luxury feel */

}



/* Subtle background glow matching the image's vibe */

[data-theme="dark"] .hero-premium::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 20%;

    width: 600px;

    height: 600px;

    background: radial-gradient(circle, rgba(217,119,6,0.08) 0%, transparent 70%);

    transform: translate(-50%, -50%);

    z-index: 1;

    pointer-events: none;

}



.hero-premium-content {

    display: flex;

    flex-wrap: wrap-reverse;

    align-items: center;

    justify-content: space-between;

    z-index: 2;

    position: relative;

    width: 100%;

}



.hero-premium-image {

    width: 45%;

    position: relative;

}

.hero-premium-image img {

    max-width: 120%;

    margin-right: -10%; /* Pull image towards edge */

    filter: drop-shadow(0 0 40px rgba(0,0,0,0.5));

}



.hero-premium-text {

    width: 50%;

    text-align: right;

    padding-right: 2rem;

}



.premium-subtitle {

    font-size: 1.5rem;

    font-weight: 700;

    color: var(--secondary-gray);

    margin-bottom: -10px;

}



.premium-title {

    font-family: var(--font-ar);

    line-height: 1.1;

    margin-bottom: 2rem;

    position: relative;

}



.premium-title-part1 {

    display: block;

    font-size: clamp(2rem, 5vw, 4rem);

    font-weight: 900;

    color: var(--secondary-dark);

}



.premium-title-part2 {

    display: block;

    color: var(--primary);

    text-shadow: 0 0 40px rgba(217, 119, 6, 0.3);

    font-size: clamp(3.5rem, 8vw, 6.5rem);

    font-weight: 900;

    margin-top: -10px;

    letter-spacing: -2px;

}



.premium-desc {

    font-size: 1.4rem;

    color: var(--secondary-gray);

    max-width: 90%;

    margin-left: auto;

    margin-bottom: 3rem;

    font-weight: 600;

}



/* Glowing Buttons */

.premium-btn-group {

    display: flex;

    gap: 1.5rem;

    justify-content: flex-end;

}



.btn-glow-gold {

    position: relative;

    padding: 12px 35px;

    border-radius: 50px;

    background: #000;

    color: #fff !important;

    font-weight: 700;

    font-size: 1.2rem;

    border: 1px solid rgba(255,255,255,0.1);

    z-index: 1;

    transition: all 0.3s ease;

    text-decoration: none;

    display: inline-flex;

    align-items: center;

    justify-content: center;

}



[data-theme="light"] .btn-glow-gold {

    background: #fff;

    color: #000 !important;

    border-color: rgba(0,0,0,0.1);

}



.btn-glow-gold::before {

    content: '';

    position: absolute;

    inset: -2px;

    border-radius: 50px;

    background: linear-gradient(90deg, #F59E0B, #B45309, #F59E0B);

    background-size: 200% auto;

    z-index: -1;

    opacity: 0.8;

    transition: opacity 0.3s ease;

    filter: blur(3px);

    animation: shine 3s linear infinite;

}



.btn-glow-outline {

    position: relative;

    padding: 12px 35px;

    border-radius: 50px;

    background: #111;

    color: #fff !important;

    font-weight: 700;

    font-size: 1.2rem;

    border: 1px solid rgba(255,255,255,0.2);

    transition: all 0.3s ease;

    text-decoration: none;

    display: inline-flex;

    align-items: center;

    justify-content: center;

}



[data-theme="light"] .btn-glow-outline {

    background: #f5f5f5;

    color: #111 !important;

    border-color: rgba(0,0,0,0.2);

}



.btn-glow-outline:hover {

    background: rgba(217, 119, 6, 0.1);

    border-color: var(--primary);

    color: var(--primary) !important;

    box-shadow: 0 0 20px rgba(217, 119, 6, 0.2);

}



@keyframes shine {

    to { background-position: 200% center; }

}



/* Navbar Icon Group for Theme & Language */

.nav-icon-group {

    display: flex;

    align-items: center;

    gap: 8px;

}



.theme-icon {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,0.1);

    border: 1px solid rgba(255,255,255,0.2);

    color: var(--white);

    font-size: 1rem;

    cursor: pointer;

    transition: all 0.3s ease;

}



.theme-icon:hover {

    background: var(--primary);

    border-color: var(--primary);

    color: #fff;

}



[data-theme="light"] .theme-icon {

    background: rgba(0,0,0,0.05);

    border-color: rgba(0,0,0,0.1);

    color: var(--secondary-dark);

}



[data-theme="light"] .theme-icon:hover {

    background: var(--primary);

    border-color: var(--primary);

    color: #fff;

}



.nav-icon-btn {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    background: rgba(255,255,255,0.1);

    border: 1px solid rgba(255,255,255,0.2);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    font-size: 1rem;

    cursor: pointer;

    transition: all 0.3s ease;

    padding: 0;

}



.nav-icon-btn:hover {

    background: var(--primary);

    border-color: var(--primary);

    color: #fff;

}



[data-theme="light"] .nav-icon-btn {

    background: rgba(0,0,0,0.05);

    border-color: rgba(0,0,0,0.1);

    color: var(--secondary-dark);

}



[data-theme="light"] .nav-icon-btn:hover {

    background: var(--primary);

    border-color: var(--primary);

    color: #fff;

}



/* Keep old pill switcher styles for backwards compatibility */

.nav-pill-switcher {

    display: flex;

    align-items: center;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 50px;

    padding: 4px;

    gap: 5px;

}

[data-theme="light"] .nav-pill-switcher {

    background: rgba(0,0,0,0.05);

    border-color: rgba(0,0,0,0.1);

}



.nav-pill-btn {

    background: transparent;

    border: none;

    color: var(--secondary-gray);

    padding: 6px 16px;

    border-radius: 50px;

    font-size: 0.9rem;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s;

}



.nav-pill-btn.active {

    background: rgba(255,255,255,0.1);

    color: var(--white);

}

[data-theme="light"] .nav-pill-btn.active {

    background: rgba(0,0,0,0.05);

    color: var(--secondary-dark);

}



.nav-circle-btn {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.1);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    font-weight: 700;

    cursor: pointer;

    transition: all 0.3s;

}

[data-theme="light"] .nav-circle-btn {

    background: rgba(0,0,0,0.05);

    border-color: rgba(0,0,0,0.1);

    color: var(--secondary-dark);

}



.nav-circle-btn:hover {

    background: var(--primary);

    color: #fff;

    border-color: var(--primary);

}



@media (max-width: 991px) {

    .premium-title-part1 { font-size: 2.5rem; }

    .premium-title-part2 { font-size: 3.5rem; margin-top: -10px; }

    .hero-premium-content { flex-direction: column; text-align: center; }

    .hero-premium-text, .hero-premium-image { width: 100%; text-align: center; padding: 0; }

    .premium-desc { max-width: 100%; margin: 1rem auto 2rem; font-size: 1.1rem; }

    .premium-btn-group { justify-content: center; flex-wrap: wrap; }

    .hero-premium-image img { max-width: 100%; margin-right: 0; margin-top: 2rem; }

    .hero-premium { padding-top: 120px; padding-bottom: 60px; height: auto; }

}



/* =========================================

   PREMIUM OVERLAPPING SECTION TITLES (Reference Concept)

   ========================================= */

.premium-section-title {

    position: relative;

    text-align: center;

    margin-bottom: 0.75rem !important;

    padding-top: 0;

    z-index: 10;

}



.premium-heading {

    position: relative;

    display: inline-flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    line-height: 0.85;

    margin-bottom: 0;

    padding-top: 4px;

}



.premium-heading-main {

    font-family: var(--font-ar);

    font-size: clamp(2rem, 10vw, 4.5rem);

    font-weight: 900;

    background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%);

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    opacity: 0.55; /* High visibility as requested */

    filter: drop-shadow(0 0 20px rgba(217, 119, 6, 0.4));

    letter-spacing: -2px;

    user-select: none;

    pointer-events: none;

    text-transform: uppercase;

    transition: var(--transition);

}



.premium-heading-sub {

    font-size: clamp(1.2rem, 3.5vw, 2rem);

    font-weight: 900;

    color: var(--secondary-dark); /* White in dark mode */

    position: absolute;

    bottom: -6px;

    right: auto;

    left: 50%;

    transform: translateX(-50%);

    width: 100%;

    background: transparent;

    text-shadow: 0 4px 25px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.8);

    pointer-events: none;

    z-index: 5;

    white-space: nowrap;

    text-align: center;

}

[data-theme="light"] .premium-heading-sub {

    text-shadow: 0 2px 10px rgba(255,255,255,0.9);

}



.premium-section-desc {

    font-size: 1rem;

    color: #E5E5E5;

    margin-top: 0.25rem;

    margin-bottom: 0;

    max-width: 600px;

    margin-left: auto;

    margin-right: auto;

    font-weight: 500;

    line-height: 1.5;

}



/* Scroll Indicator */

.scroll-indicator {

    position: absolute;

    bottom: 25px;

    left: 50%;

    transform: translateX(-50%);

    text-align: center;

    color: var(--secondary-gray);

    z-index: 10;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-decoration: none;

}

.scroll-indicator p { margin-bottom: 0; font-size: 0.95rem; font-weight: 600; letter-spacing: 1px; color: var(--secondary-gray); }

.scroll-indicator-arrows {

    display: flex;

    flex-direction: column;

    align-items: center;

    margin-top: -5px;

}

.scroll-indicator i {

    font-size: 1.4rem;

    color: var(--secondary-gray);

    animation: fadeDown 1.5s infinite;

    margin-top: -8px;

}

.scroll-indicator i:nth-child(1) { animation-delay: 0s; opacity: 0.3; }

.scroll-indicator i:nth-child(2) { animation-delay: 0.2s; opacity: 0.6; }

.scroll-indicator i:nth-child(3) { animation-delay: 0.4s; opacity: 1; color: var(--primary); text-shadow: 0 0 10px rgba(217,119,6,0.5); }



@keyframes fadeDown {

    0% { opacity: 0; transform: translateY(-5px); }

    50% { opacity: 1; transform: translateY(0); }

    100% { opacity: 0; transform: translateY(5px); }

}



/* Dark Mode Text Visibility Fixes */



/* Feature Cards - Bright Dark Mode Colors */

[data-theme="dark"] .card-purple {

    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.3)) !important;

    border: 1px solid rgba(139, 92, 246, 0.4) !important;

}



[data-theme="dark"] .card-purple .icon-wrap {

    background: linear-gradient(135deg, #A78BFA, #7C3AED);

    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);

}



[data-theme="dark"] .card-teal {

    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(13, 148, 136, 0.3)) !important;

    border: 1px solid rgba(20, 184, 166, 0.4) !important;

}



[data-theme="dark"] .card-teal .icon-wrap {

    background: linear-gradient(135deg, #2DD4BF, #0D9488);

    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.5);

}



[data-theme="dark"] .card-blue {

    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.3)) !important;

}



[data-theme="dark"] .card-blue .icon-wrap,

html[data-theme="dark"] .card-blue .icon-wrap {

    background: linear-gradient(135deg, #3B82F6, #2563EB) !important;

    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6) !important;

}



/* Dark Mode Text Visibility Fixes */

[data-theme="dark"] .text-muted,

[data-theme="dark"] .small.text-muted {

    color: #D4D4D4 !important;

}



[data-theme="dark"] .text-dark {

    color: #F5F5F5 !important;

}



[data-theme="dark"] h1,

[data-theme="dark"] h2,

[data-theme="dark"] h3,

[data-theme="dark"] h4,

[data-theme="dark"] h5,

[data-theme="dark"] h6 {

    color: #F5F5F5 !important;

}



[data-theme="dark"] .lead {

    color: #A3A3A3 !important;

}



[data-theme="dark"] .page-header p,

[data-theme="dark"] .breadcrumb-item.active {

    color: #A3A3A3 !important;

}



[data-theme="dark"] .breadcrumb-item a {

    color: #D97706 !important;

}



/* Light Mode Fixes */

[data-theme="light"] .premium-heading-sub {

    color: #171717 !important;

}



[data-theme="light"] .premium-section-desc {

    color: #525252 !important;

}



/* Fix stat boxes for dark mode */

[data-theme="dark"] .stat-box p {

    color: #A3A3A3 !important;

}



[data-theme="dark"] .stat-box h2 {

    color: var(--primary) !important;

}



/* Fix course cards for dark mode */

[data-theme="dark"] .course-card {

    background: #1a1a1a !important;

    border-color: #262626 !important;

}



[data-theme="dark"] .course-card__title {

    color: #F5F5F5 !important;

}



[data-theme="dark"] .course-card__meta {

    color: #A3A3A3 !important;

}



[data-theme="dark"] .course-card__thumb {

    background: linear-gradient(135deg, rgba(217,119,6,0.1), #1a1a1a) !important;

}



/* Fix fcard for dark mode */

[data-theme="dark"] .fcard {

    background: #1a1a1a !important;

    border-color: #262626 !important;

}



[data-theme="dark"] .fcard h3 {

    color: #F5F5F5 !important;

}



[data-theme="dark"] .fcard p {

    color: #A3A3A3 !important;

}



/* Fix contact form for dark mode */

[data-theme="dark"] .contact-form {

    background: #1a1a1a !important;

}



[data-theme="dark"] .contact-info {

    background: #1a1a1a !important;

}



[data-theme="dark"] .info-item h4 {

    color: #F5F5F5 !important;

}



[data-theme="dark"] .info-item p,

[data-theme="dark"] .info-item a,

[data-theme="dark"] .premium-section-desc,

[data-theme="dark"] .testi-card p,

[data-theme="dark"] .cloud-cards p,

[data-theme="dark"] .card-body-content p {

    color: #E5E5E5 !important; /* Unified High-Contrast Readable White */

}



/* Fix accordion text */

[data-theme="dark"] .accordion-button span:not(.badge) {

    color: #F5F5F5 !important;

}



[data-theme="dark"] .lesson-item span {

    color: #F5F5F5 !important;

}



[data-theme="dark"] .lesson-item .text-muted {

    color: #737373 !important;

}



/* Fix learning outcomes */

[data-theme="dark"] .outcome-item span {

    color: #F5F5F5 !important;

}



/* Fix purchase card */

[data-theme="dark"] .purchase-card {

    background: #1a1a1a !important;

    border-color: #262626 !important;

}



[data-theme="dark"] .purchase-card li {

    color: #A3A3A3 !important;

}



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   FOOTER (Premium Style)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.premium-footer {

    background-color: var(--bg-darker);

    border-top: 1px solid rgba(255, 255, 255, 0.05);

}



.footer-contact-bar .icon-box {

    width: 45px;

    height: 45px;

    background: rgba(255, 255, 255, 0.03);

    border: 1px solid rgba(255, 255, 255, 0.05);

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--primary);

    font-size: 1.2rem;

}



.footer-main-card {

    background-color: #161616;

    border: 1px solid rgba(255, 255, 255, 0.05);

    z-index: 1;

}



.footer-logo {

    color: var(--primary);

    font-weight: 800;

    font-size: 1.8rem;

}



.social-icon {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #FFF;

    font-size: 1.1rem;

    transition: var(--transition);

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.05);

}



.social-icon:hover {

    transform: translateY(-5px);

    background: var(--primary);

    color: #000;

}



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   PREMIUM SECTIONS & CARDS

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.premium-card {

    background: #161616;

    border: 1px solid rgba(255, 255, 255, 0.05);

    border-radius: 12px;

    overflow: hidden;

    transition: var(--transition);

}



.premium-card:hover {

    transform: translateY(-10px);

    border-color: var(--primary);

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);

}



.card-thumb {

    position: relative;

    height: 200px;

    overflow: hidden;

}



.card-thumb img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;

}



.premium-card:hover .card-thumb img {

    transform: scale(1.1);

}



.badge-overlay {

    position: absolute;

    top: 15px;

    right: 15px;

    z-index: 2;

}



.btn-view-all {

    position: relative;

    display: inline-block;

    padding: 12px 40px;

    color: var(--primary);

    font-weight: 700;

    text-decoration: none;

    border: 1px solid var(--primary);

    border-radius: 8px;

    overflow: hidden;

    transition: var(--transition);

}



.btn-view-all:hover {

    background-color: var(--primary);

    color: #000;

}



.empty-state-card {

    background: rgba(255, 255, 255, 0.02);

    border: 1px dashed rgba(255, 255, 255, 0.1);

}



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   ACCORDION & TESTIMONIALS (Dark)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.accordion-item {

    background-color: #161616;

    border: 1px solid rgba(255, 255, 255, 0.05) !important;

}



.accordion-button {

    background-color: #161616 !important;

    color: #FFF !important;

    box-shadow: none !important;

}



.accordion-button:not(.collapsed) {

    color: var(--primary) !important;

    background-color: rgba(217, 119, 6, 0.05) !important;

}



.accordion-body {

    background-color: #111;

    color: #A3A3A3;

    border-top: 1px solid rgba(255, 255, 255, 0.05);

}



.testi-card {

    background: rgba(38, 38, 38, 0.4);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.05);

    border-radius: 20px;

    padding: 35px;

    box-shadow: 0 15px 35px rgba(0,0,0,0.2);

    transition: var(--transition);

}



.testi-card:hover {

    transform: translateY(-5px);

    border-color: var(--primary);

    background: rgba(38, 38, 38, 0.6);

}



.testi-card p {

    color: #D4D4D4;

}



.testi-card .fw-bold {

    color: #FFF !important;

}



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   MICRO-INTERACTIONS & SHINE

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.premium-card, .testi-card, .news-small-card, .news-big-card {

    position: relative;

    overflow: hidden;

}



.premium-card::after, .testi-card::after {

    content: "";

    position: absolute;

    top: -50%;

    left: -60%;

    width: 20%;

    height: 200%;

    background: linear-gradient(

        to right,

        rgba(255, 255, 255, 0) 0%,

        rgba(255, 255, 255, 0.03) 50%,

        rgba(255, 255, 255, 0) 100%

    );

    transform: rotate(30deg);

    transition: all 0.6s ease;

    pointer-events: none;

    z-index: 5;

}



.premium-card:hover::after, .testi-card:hover::after {

    left: 120%;

}



/* Scroll Reveal Base */

.reveal {

    opacity: 0;

    transform: translateY(30px);

    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);

}



.reveal.active {

    opacity: 1;

    transform: translateY(0);

}



.reveal-delay-1 { transition-delay: 0.1s; }

.reveal-delay-2 { transition-delay: 0.2s; }

.reveal-delay-3 { transition-delay: 0.3s; }



/* Section Overrides for dark theme consistency */

/* Unified Section Spacing - Compact & Professional */

.section-padding {

    padding: 1.5rem 0;

}



@media (max-width: 768px) {

    .section-padding {

        padding: 1rem 0;

    }

}



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   TARGET CARDS (Instructors & Students)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.target-card {

    background: #161616;

    border: 1px solid rgba(255, 255, 255, 0.05);

    border-radius: 20px;

    padding: 30px;

    display: flex;

    align-items: center;

    gap: 20px;

    transition: var(--transition);

    overflow: hidden;

    position: relative;

}



.target-card:hover {

    transform: scale(1.02);

    border-color: var(--primary);

}



.target-card img {

    width: 120px;

    height: 120px;

    object-fit: cover;

    border-radius: 12px;

}



.target-card .content {

    display: flex;

    flex-direction: column;

    justify-content: center;

}



.target-card h3 {

    margin-bottom: 10px;

    font-size: 1.8rem;

    font-weight: 800;

}



.target-card.blue {

    border-color: rgba(59, 130, 246, 0.2);

}



.target-card.blue:hover {

    border-color: #3b82f6;

}



.btn-outline-custom {

    color: var(--primary);

    border: 1px solid var(--primary);

    padding: 10px 25px;

    border-radius: 50px;

    transition: var(--transition);

    text-decoration: none;

    font-weight: 600;

}



.btn-outline-custom:hover {

    background: var(--primary);

    color: #000;

}



/* ── Success Stats & Subjects ────────────────── */

.stat-box {

    text-align: center;

    padding: 1.5rem;

    background: rgba(255,255,255,0.02);

    border: 1px solid rgba(255,255,255,0.05);

    border-radius: var(--radius-md);

    transition: var(--transition);

}

.stat-box:hover {

    background: rgba(217,119,6,0.05);

    border-color: rgba(217,119,6,0.2);

    transform: translateY(-5px);

}

.stat-box h2 {

    font-size: 2.8rem;

    font-weight: 900;

    color: var(--primary); /* Vibrant Brand Orange/Gold */

    margin-bottom: 0.2rem;

    text-shadow: 0 0 20px rgba(217, 119, 6, 0.4);

}

.stat-box p {

    color: var(--secondary-gray);

    margin-bottom: 0;

    font-size: 0.95rem;

    font-weight: 600;

}



.subject-card {

    cursor: pointer;

    transition: var(--transition);

}

.subject-card:hover {

    transform: translateY(-10px);

}

.subject-card h5 {

    font-weight: 800;

    margin-top: 10px;

    transition: var(--transition);

}

.subject-card:hover h5 {

    color: var(--primary) !important;

}



/* ── YouTube Recommendations ────────────────── */

.play-btn-glass {

    width: 60px;

    height: 60px;

    background: rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(8px);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #fff;

    font-size: 1.5rem;

    transition: all 0.3s ease;

    border: 1px solid rgba(255, 255, 255, 0.3);

    text-decoration: none;

}



.play-btn-glass:hover {

    background: var(--primary);

    color: #000;

    transform: scale(1.1);

    box-shadow: 0 0 20px rgba(217, 119, 6, 0.5);

}



.text-truncate-2 {

    display: -webkit-box;

    -webkit-line-clamp: 2;

    line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



/* ═══════════════════════════════════════════════

   NEWS / BLOG CARDS - Professional Design

════════════════════════════════════════════════ */

.news-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1200px) {
    .news-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .news-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}



/* Big Featured Card */

.news-featured-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    border: 1px solid rgba(217, 119, 6, 0.15);
    min-height: 520px;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(217, 119, 6, 0.1);
}

.news-featured-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(217, 119, 6, 0.4);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(217, 119, 6, 0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}

.news-featured-card .news-image-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.news-featured-card .news-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease;
}

.news-featured-card:hover .news-image-wrap img {
    transform: scale(1.15);
}

.news-featured-card .news-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 8, 16, 0.98) 0%, rgba(8, 8, 16, 0.7) 30%, rgba(8, 8, 16, 0.3) 60%, transparent 100%);
}

.news-featured-card .news-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--primary);
    color: #000;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 950;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4);
}

.news-featured-card .news-content {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 35px 40px 40px;
    background: linear-gradient(to top, rgba(8, 8, 16, 0.98) 0%, rgba(8, 8, 16, 0.85) 40%, rgba(8, 8, 16, 0.4) 70%, transparent 100%);
}

.news-featured-card .news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.news-featured-card .news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-featured-card .news-meta i {
    color: var(--primary);
    font-size: 0.9rem;
}

.news-featured-card .news-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 14px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.news-featured-card .news-excerpt {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-featured-card .news-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(217, 119, 6, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.news-featured-card .news-link:hover {
    gap: 14px;
    background: rgba(217, 119, 6, 0.2);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

/* Small Cards Stack */

.news-stack {

    display: flex;

    flex-direction: column;

    gap: 16px;

}



.news-small-card {

    display: flex;

    gap: 18px;

    padding: 16px;

    background: linear-gradient(145deg, #1a1a2e 0%, #141421 100%);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 18px;

    transition: all 0.3s ease;

    text-decoration: none;

    box-shadow: 0 4px 15px rgba(0,0,0,0.2);

}



.news-small-card:hover {

    background: linear-gradient(145deg, #1e1e36 0%, #18182c 100%);

    border-color: rgba(217,119,6,0.3);

    transform: translateX(-5px) translateY(-2px);

    box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 0 1px rgba(217,119,6,0.1);

}



.news-small-card .news-thumb {

    width: 110px;

    height: 110px;

    border-radius: 14px;

    overflow: hidden;

    flex-shrink: 0;

    border: 2px solid rgba(255,255,255,0.05);

    box-shadow: 0 4px 10px rgba(0,0,0,0.3);

}



.news-small-card .news-thumb img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transition: transform 0.5s ease;

}



.news-small-card:hover .news-thumb img {

    transform: scale(1.12);

}



.news-small-card .news-info {

    display: flex;

    flex-direction: column;

    justify-content: center;

    flex-grow: 1;

}



.news-small-card .news-date {

    font-size: 0.8rem;

    color: var(--primary);

    font-weight: 600;

    margin-bottom: 6px;

}



.news-small-card .news-title-small {

    font-size: 1rem;

    font-weight: 700;

    line-height: 1.5;

    color: var(--white);

    margin-bottom: 8px;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



.news-small-card .read-more {

    font-size: 0.85rem;

    color: var(--text-muted);

    display: flex;

    align-items: center;

    gap: 6px;

    transition: all 0.3s ease;

}



.news-small-card:hover .read-more {

    color: var(--primary);

    gap: 10px;

}



/* Loading State */

.news-skeleton {

    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);

    background-size: 200% 100%;

    animation: shimmer 1.5s infinite;

    border-radius: 16px;

}



@keyframes shimmer {

    0% { background-position: -200% 0; }

    100% { background-position: 200% 0; }

}



/* ── PREMIUM COURSE CARDS ── */

.premium-card {

    background: #161616;

    border-radius: 24px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.05);

    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    height: 100%;

    display: flex;

    flex-direction: column;

}



.premium-card:hover {

    transform: translateY(-8px);

    border-color: var(--primary);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(217, 119, 6, 0.08);

}



.card-thumb {

    position: relative;

    aspect-ratio: 16/9;

    overflow: hidden;

    background: #000;

}



.card-thumb img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}



.premium-card:hover .card-thumb img {

    transform: scale(1.1);

}



.badge-overlay {

    position: absolute;

    top: 15px;

    right: 15px;

    z-index: 2;

}



.p-badge {

    background: var(--primary);

    color: #000;

    padding: 4px 12px;

    border-radius: 8px;

    font-size: 0.75rem;

    font-weight: 800;

    box-shadow: 0 4px 10px rgba(0,0,0,0.3);

}



.p-course-body {

    padding: 20px;

    flex-grow: 1;

    display: flex;

    flex-direction: column;

}



.instructor-meta {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 12px;

}



.instructor-avatar {

    width: 32px;

    height: 32px;

    border-radius: 50%;

    border: 1.5px solid var(--primary);

}



.instructor-name {

    font-size: 0.85rem;

    font-weight: 700;

    color: var(--text-muted);

}



.p-course-title {

    font-size: 1.15rem;

    font-weight: 800;

    margin-bottom: 15px;

    line-height: 1.4;

    color: #fff;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    height: 3.2em;

}



.p-course-stats {

    display: flex;

    gap: 15px;

    color: #A3A3A3;

    font-size: 0.8rem;

    margin-bottom: 20px;

    padding-bottom: 15px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

}



.p-course-stats span i {

    color: var(--primary);

    margin-left: 4px;

}



.p-course-foot {

    margin-top: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.p-price {

    font-size: 1.1rem;

    font-weight: 800;

    color: var(--primary);

}



.p-free {
    color: #10b981;
    font-weight: 900;
}

/* ═══════════════════════════════════════════════════════════════
   STATS SECTION SPACING - More breathing room
   ═══════════════════════════════════════════════════════════════ */

/* Stats section with good padding */
.success-stats {
    padding: 4rem 0 5rem !important;
    margin: 0 !important;
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.03) 0%, transparent 50%, rgba(217, 119, 6, 0.03) 100%);
}

/* Stat boxes with more internal spacing */
.success-stats .stat-box {
    padding: 2rem 1.5rem !important;
    margin: 0.5rem !important;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.success-stats .stat-box:hover {
    background: rgba(217, 119, 6, 0.05);
    border-color: rgba(217, 119, 6, 0.2);
    transform: translateY(-5px);
}

/* Larger numbers */
.success-stats .stat-box h2 {
    font-size: 3.5rem !important;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 30px rgba(217, 119, 6, 0.3);
}

/* Labels with better spacing */
.success-stats .stat-box p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin: 0;
}

/* Section title spacing */
.success-stats .premium-section-title {
    margin-bottom: 3rem !important;
}

.success-stats .premium-section-desc {
    margin-top: 1rem !important;
    font-size: 1.1rem;
}

/* Gap between stat boxes */
.success-stats .row {
    gap: 1.5rem 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .success-stats {
        padding: 3rem 0 !important;
    }
    
    .success-stats .stat-box {
        padding: 1.5rem 1rem !important;
        margin: 0.25rem !important;
    }
    
    .success-stats .stat-box h2 {
        font-size: 2.5rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   BALANCED SPACING FIXES - Moderate padding, no large gaps
   ═══════════════════════════════════════════════════════════════ */

/* Hero - reduce from 100vh to auto with moderate padding */
.hero-premium {
    min-height: unset !important;
    padding: 9rem 0 4rem !important;
} 

/* All sections - balanced 3rem padding */
.section-padding {
    padding: 3rem 0 !important;
    margin: 0 !important;
}

/* Fix reveal to not cause invisible content */
.reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* FAQ section - ensure good spacing with new content */
#faq-section {
    padding: 3rem 0 !important;
}

/* Accordion items spacing */
.accordion-item {
    margin-bottom: 1rem !important;
}

.accordion-body {
    padding: 1.25rem !important;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   PROFESSIONAL DESIGN ENHANCEMENTS v2.0
   ═══════════════════════════════════════════════════════════════ */

/* ── FLOATING ORBS (Hero Background) ── */
.hero-premium {
    position: relative;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217,119,6,0.25) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(217,119,6,0.15) 0%, transparent 70%);
    bottom: 10%;
    left: -5%;
    animation: orbFloat 15s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation: orbFloat 18s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── GRADIENT TEXT ── */
.text-gradient-gold {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #B45309 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── GLASS STAT CARDS ── */
.glass-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.75rem 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.glass-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(217, 119, 6, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(217,119,6,0.05);
}

.glass-stat-card:hover::before {
    opacity: 1;
}

.glass-stat-card h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.glass-stat-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

/* ── GRADIENT BORDER CARDS (Features) ── */
.gradient-border-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    overflow: hidden;
}

.gradient-border-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(217,119,6,0.3), transparent 50%, rgba(217,119,6,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.gradient-border-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(217,119,6,0.6), transparent 40%, rgba(217,119,6,0.3));
}

.gradient-border-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.icon-glow-wrap {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
}

.icon-glow-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: inherit;
    filter: blur(12px);
    opacity: 0.4;
    z-index: -1;
}

.icon-purple { background: rgba(139, 92, 246, 0.15); color: #A78BFA; }
.icon-teal { background: rgba(20, 184, 166, 0.15); color: #2DD4BF; }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: #60A5FA; }

/* ── TRUST BADGES STRIP ── */
.trust-strip {
    background: linear-gradient(180deg, transparent 0%, rgba(217,119,6,0.02) 50%, transparent 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.trust-marquee {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.trust-marquee:hover {
    animation-play-state: paused;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trust-item:hover {
    opacity: 1;
    color: var(--white);
}

.trust-item i {
    font-size: 1.25rem;
    color: var(--primary);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── CTA BANNER ── */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(217,119,6,0.08) 0%, rgba(217,119,6,0.02) 50%, rgba(0,0,0,0) 100%);
    border: 1px solid rgba(217,119,6,0.15);
    border-radius: 32px;
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
    margin: 2rem 0;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(217,119,6,0.05) 0%, transparent 50%);
    animation: ctaPulse 8s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-banner-content {
    position: relative;
    z-index: 1;
}

.cta-banner h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* ── WAVE DIVIDER ── */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider .shape-fill {
    fill: var(--bg-darker);
}

/* ── ENHANCED FAQ ── */
.faq-number {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(217,119,6,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    margin-left: 0.75rem;
    flex-shrink: 0;
    border: 1px solid rgba(217,119,6,0.2);
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) .faq-number {
    background: var(--primary);
    color: #000;
}

.accordion-item {
    border-radius: 16px !important;
    overflow: hidden;
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
}

.accordion-button {
    background: transparent !important;
    color: var(--white) !important;
    padding: 1.25rem 1.5rem !important;
    font-size: 1.05rem !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(217,119,6,0.05) !important;
    box-shadow: none !important;
    color: var(--primary) !important;
}

.accordion-button::after {
    filter: invert(1) brightness(0.8);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    filter: invert(0.5) sepia(1) saturate(5) hue-rotate(350deg);
}

/* ── SECTION GLOW DIVIDERS ── */
.section-glow-top {
    position: relative;
}

.section-glow-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(217,119,6,0.3), transparent);
}

/* ── ENHANCED SCROLL INDICATOR ── */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    animation: bounceDown 2s ease-in-out infinite;
    z-index: 10;
}

.scroll-indicator:hover {
    opacity: 1;
    color: var(--primary);
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ── QUIZ CARDS ── */
.quiz-locked-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.quiz-locked-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(217,119,6,0.2), transparent 50%, rgba(217,119,6,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.quiz-locked-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217,119,6,0.15);
}

.quiz-lock-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: rgba(217,119,6,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--primary);
    border: 1px solid rgba(217,119,6,0.15);
}

.quiz-locked-card h3 {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.quiz-locked-card p {
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.quiz-locked-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Active Quiz Card */
.quiz-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quiz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.quiz-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217,119,6,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(217,119,6,0.05);
}

.quiz-card:hover::before {
    opacity: 1;
}

.quiz-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 0.5rem;
}

.quiz-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 100px;
    background: rgba(217,119,6,0.1);
    color: var(--primary);
    border: 1px solid rgba(217,119,6,0.2);
    white-space: nowrap;
}

.quiz-subject {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: left;
}

.quiz-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    flex-grow: 1;
}

.quiz-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.quiz-meta i {
    color: var(--primary);
    margin-left: 0.3rem;
}

.quiz-btn {
    width: 100%;
    padding: 0.65rem;
    border-radius: 12px;
    border: none;
    background: var(--primary);
    color: #000;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.quiz-btn:hover {
    background: #F59E0B;
    transform: scale(1.02);
}

/* Quiz Empty State */
.quiz-empty-state {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.quiz-empty-state i {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.4;
    margin-bottom: 1rem;
    display: block;
}

.quiz-empty-state p {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.quiz-empty-state span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ── NEWS SKELETON ── */
.news-skeleton {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    animation: skeletonPulse 2s ease-in-out infinite;
}

@keyframes skeletonPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hero-orb { display: none; }
    .gradient-border-card { padding: 2rem 1.5rem; }
    .cta-banner { padding: 3rem 1.5rem; }
    .trust-marquee { animation-duration: 20s; }
    .quiz-title { min-height: 0; }
    .quiz-locked-actions { flex-direction: column; }
    .quiz-locked-actions .btn { width: 100%; }

    /* Stat Cards Responsive */
    .glass-stat-card {
        padding: 1.25rem 0.75rem;
    }
    .glass-stat-card h2 {
        font-size: 1.75rem;
    }
    .glass-stat-card p {
        font-size: 0.8rem;
    }

    /* Quiz Cards Responsive */
    .quiz-card {
        padding: 1.25rem;
    }
    .quiz-title {
        font-size: 0.95rem;
    }
    .quiz-meta {
        font-size: 0.75rem;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TESTIMONIALS (Dynamic)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.testi-card-premium {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 36px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.testi-card-premium:hover {
    transform: translateY(-8px);
    border-color: rgba(217, 119, 6, 0.3) !important;
    box-shadow: 0 25px 60px rgba(217, 119, 6, 0.15), 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.testi-card-premium .hover-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D97706, #a855f7);
    opacity: 0;
    transition: opacity 0.3s;
}

.testi-card-premium:hover .hover-line {
    opacity: 1;
}

.testi-card-featured {
    border-color: rgba(217, 119, 6, 0.4) !important;
    background: linear-gradient(145deg, rgba(217, 119, 6, 0.1), rgba(168, 85, 247, 0.05)) !important;
}

.testi-card-featured .hover-line {
    opacity: 1;
}

.testi-quote-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.2), rgba(168, 85, 247, 0.2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 20px;
}

.testi-rating {
    color: #D97706;
    font-size: 1rem;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.testi-result-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(217, 119, 6, 0.3);
    color: #D97706;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
    align-self: flex-start;
}

.testi-text-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 28px;
    flex-grow: 1;
}

.testi-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(217, 119, 6, 0.5);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.testi-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.testi-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}
