/* ============================================
   Forex Tutor Academy - Landing Page Styles
   ============================================ */

/* ── Variables ─────────────────────────────── */
:root {
    --primary: #6a5be2;
    --primary-light: #e8f0ff;
    --primary-gradient: linear-gradient(135deg, #6a5be2 0%, #38bdf8 100%);
    --coral: #ff7f50;
    --gold: #ffc107;
    --sky: #38bdf8;
    --dark: #0f172a;
    --text: #1a1a2e;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-section: #f0f5ff;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --card-hover-shadow: 0 12px 40px rgba(106, 91, 226, 0.15);
    --transition: all 0.3s ease;
    --radius: 16px;
    --radius-sm: 10px;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(106, 91, 226, 0.3);
}

/* ── VIP Animations ────────────────────────── */
@keyframes meshMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.vip-mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(106, 91, 226, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 40%);
    background-size: 200% 200%;
    animation: meshMove 15s ease infinite;
    z-index: 0;
    pointer-events: none;
}

[data-aos] {
    transition-duration: 1000ms !important;
}

.text-gradient-vip {
    background: linear-gradient(135deg, #6a5be2 0%, #38bdf8 50%, #6a5be2 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* ── Global ────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    overflow-x: hidden !important;
    background: #fcfdff;
    width: 100%;
}

.text-primary-custom {
    color: var(--primary) !important;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-800 {
    font-weight: 800;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.tracking-widest {
    letter-spacing: 2px;
}

.x-small {
    font-size: 10px;
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.shadow-glow {
    box-shadow: 0 0 20px var(--glow-color);
}


.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Navbar ─────────────────────────────────── */
#mainNavbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    z-index: 1050;
    transition: var(--transition);
}

#mainNavbar .navbar-brand {
    font-size: 24px;
    color: var(--dark);
}

#mainNavbar .nav-link {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.btn-sign-in {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.btn-sign-in:hover {
    color: var(--primary);
}

.btn-register-nav {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 26px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.btn-register-nav:hover {
    background: #5a4bd4;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(106, 91, 226, 0.3);
}

/* ── Hero Section ──────────────────────────── */
.hero-section {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 0% 0%, rgba(106, 91, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
        #fcfdff;
    min-height: 100vh;
    position: relative;
    overflow: visible;
}

.min-vh-hero {
    min-height: 80vh;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 440px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-search {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 5px;
    max-width: 440px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.hero-search .form-control {
    border: none;
    box-shadow: none;
    padding: 12px 20px;
    font-size: 15px;
}

.btn-hero-search {
    background: var(--primary);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: var(--transition);
}

.btn-hero-search:hover {
    background: #5a4bd4;
    color: #fff;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h4 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.stat-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Hero Right Side */
.hero-image-wrapper {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: relative;
    max-width: 100%;
    height: auto;
    z-index: 5;
    animation: heroFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02) rotate(-1deg);
}

.hero-glow-vip {
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    top: -20%;
    left: -20%;
    z-index: -1;
    opacity: 0.5;
    filter: blur(40px);
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.hero-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(106, 91, 226, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(60px);
    opacity: 0.8;
}

.hero-dot {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
}

.dot-orange {
    width: 40px;
    height: 40px;
    background: var(--coral);
    top: 5%;
    left: 15%;
}

.dot-purple {
    width: 50px;
    height: 50px;
    background: var(--primary);
    right: 8%;
    top: 35%;
}

.dot-yellow {
    width: 18px;
    height: 18px;
    background: var(--gold);
    left: 8%;
    top: 42%;
}

/* Floating Cards */
.hero-floating-card {
    position: absolute;
    background: #fff;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    animation: floatUpDown 3s ease-in-out infinite;
}

.float-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.bg-purple {
    background: var(--primary);
}

.bg-sky {
    background: var(--sky);
    border-radius: var(--radius-sm);
}

.bg-coral {
    background: var(--coral);
}

.hero-floating-card h6 {
    font-size: 14px;
    margin-bottom: 1px;
    color: var(--dark);
}

.hero-floating-card small,
.hero-floating-card p {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
    max-width: 155px;
    line-height: 1.4;
}

.card-congrats {
    top: 20%;
    left: -80px;
    animation-delay: 0s;
}

.card-discount {
    bottom: 28%;
    left: -50px;
    animation-delay: 0.5s;
}

.card-students {
    bottom: 10%;
    right: 20px;
    animation-delay: 1s;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ── Categories Section ────────────────────── */
.categories-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.category-card {
    background: #fff;
    padding: 35px 28px;
    border-radius: var(--radius);
    border: 1px solid #eef2f6;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px) perspective(1000px) rotateX(2deg);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(106, 91, 226, 0.2);
}

.category-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(106, 91, 226, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.category-card:hover::after {
    opacity: 1;
}



.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    transition: var(--transition);
}

.bg-soft-purple {
    background: rgba(106, 91, 226, 0.1);
    color: var(--primary);
}

.bg-soft-gold {
    background: rgba(255, 193, 7, 0.12);
    color: #d4a017;
}

.bg-soft-sky {
    background: rgba(56, 189, 248, 0.1);
    color: var(--sky);
}

.bg-soft-coral {
    background: rgba(255, 127, 80, 0.1);
    color: var(--coral);
}

.category-card:hover .category-icon {
    transform: scale(1.08);
}

.category-card h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.category-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.category-link:hover {
    gap: 8px;
    color: #5a4bd4;
}

/* ── Video Intro Section ───────────────────── */
.video-section {
    padding: 100px 0;
    background: #fff;
}

.video-thumbnail-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: visible;
}

.video-thumbnail {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 25px rgba(106, 91, 226, 0.4);
    transition: var(--transition);
    text-decoration: none;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: #5a4bd4;
    color: #fff;
}

.video-shape-1 {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 12px;
    top: -20px;
    right: -20px;
    z-index: -1;
    opacity: 0.6;
}

.video-shape-2 {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    bottom: -15px;
    left: -15px;
    z-index: -1;
    opacity: 0.4;
}

.video-features {
    list-style: none;
    padding: 0;
}

.video-features li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--text);
}

.btn-learn-more {
    background: var(--primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.btn-learn-more:hover {
    background: #5a4bd4;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 91, 226, 0.3);
}

/* ── Featured Courses Section ──────────────── */
.featured-courses-section {
    padding: 100px 0;
    background: #fdfdff;
}

.course-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(106, 91, 226, 0.08);
    /* Subtle border like the image */
}

.course-card:hover {
    box-shadow: 0 12px 30px rgba(106, 91, 226, 0.12);
    transform: translateY(-8px);
    border-color: rgba(106, 91, 226, 0.3);
}

.course-thumb {
    position: relative;
    overflow: hidden;
    height: 230px;
    padding: 12px;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover .course-thumb img {
    transform: scale(1.1);
}

.course-category {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(106, 91, 226, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.course-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-teacher {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.teacher-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-teacher span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.course-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.4;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 56px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--primary);
    font-size: 14px;
}

.rating-stars {
    color: #fbbf24;
    font-weight: 700;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed #e5e7eb;
}

.course-price-box {
    display: flex;
    flex-direction: column;
}

.original-price {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: -4px;
}

.current-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.btn-enroll-now {
    color: var(--dark);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.btn-enroll-now:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ── Case Studies Section ────────────────── */
.case-studies-section {
    padding: 100px 0;
    background: #fff;
}

.case-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: #fff;
    transition: var(--transition);
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.case-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: var(--transition);
}

.case-card:hover img {
    transform: scale(1.1);
}

.case-content {
    position: relative;
    z-index: 2;
}

.case-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
    color: var(--sky);
}

.case-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.btn-read-case {
    background: #fff;
    color: var(--dark);
    padding: 10px 25px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: var(--transition);
}

.btn-read-case:hover {
    background: var(--primary);
    color: #fff;
}


/* ── Testimonials Section ──────────────────── */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f4ff 100%);
}

.testimonial-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    position: relative;
}

.testimonial-quote {
    font-size: 40px;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 18px;
    color: var(--text);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.testimonial-avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mini-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    border: 2px solid #fff;
    margin-left: -6px;
}

.mini-avatar:first-child {
    margin-left: 0;
}

/* ── Footer Section ────────────────────────── */
.footer-section {
    background: linear-gradient(135deg, #e3f0ff 0%, #eef4ff 100%);
    padding: 80px 0 30px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.footer-description {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 320px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.social-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.contact-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.newsletter-form .form-control {
    border: 1px solid #dce4ed;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.btn-newsletter {
    background: var(--primary);
    color: #fff;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 12px 18px;
    transition: var(--transition);
}

.btn-newsletter:hover {
    background: #5a4bd4;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-link:hover {
    color: var(--primary);
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 991px) {
    .hero-section {
        background: #fff;
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-item h4 {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .testimonial-card {
        padding: 30px 24px;
    }

    .testimonial-text {
        font-size: 16px;
    }
}

/* -- Dashboard Global Polish --------------- */
.dashboard-sidebar {
    background: #fff;
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(106, 91, 226, 0.08) !important;
}

.sidebar-menu a.active,
.sidebar-menu a:hover {
    background: rgba(106, 91, 226, 0.08) !important;
    color: var(--primary) !important;
    box-shadow: inset 4px 0 0 var(--primary);
    border-radius: 0 12px 12px 0;
}

.stat-card {
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dashboard-content {
    background: #f8fafc;
}

.card.border-0.shadow-sm {
    border-radius: 20px !important;
    border: 1px solid rgba(106, 91, 226, 0.05) !important;
}

/* -- Mentor Cards -------------------------- */
.mentor-card {
    transition: var(--transition);
}

.mentor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(106, 91, 226, 0.1) !important;
}

.btn-soft-primary {
    background: rgba(106, 91, 226, 0.1);
    color: var(--primary);
}

.btn-soft-primary:hover {
    background: var(--primary);
    color: #fff;
}

/* -- Mobile Bottom Navigation (Professional Upgrade) -- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    padding: 12px 10px;
}


.nav-items-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #5C677D;
    /* Brighter neutral */
    font-size: 10px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 4px;
    position: relative;
    padding: 2px 10px;
}

.nav-item i {
    font-size: 20px;
    transition: inherit;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 4px;
}

.nav-item.active i {
    transform: scale(1.15) translateY(-2px);
    text-shadow: 0 4px 10px rgba(106, 91, 226, 0.3);
}

/* -- Global Responsiveness Audit (Restoring Image) -- */
@media (max-width: 991px) {
    .hero-section {
        padding: 130px 0 60px !important;
        text-align: center !important;
        min-height: auto !important;
        height: auto !important;
    }

    .min-vh-hero {
        min-height: auto !important;
        align-items: flex-start !important;
    }

    .hero-section .col-lg-6 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-title,
    .hero-subtitle,
    .hero-badge {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-title {
        font-size: 38px !important;
    }

    .hero-search {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center !important;
        text-align: center !important;
        margin: 24px auto 0 !important;
        width: 100%;
        gap: 20px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
        padding: 20px 15px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(106, 91, 226, 0.1);
        border: 1px solid rgba(255, 255, 255, 1);
        backdrop-filter: blur(15px);
    }

    .stat-item h4 {
        font-size: 22px !important;
    }

    .stat-item p {
        font-size: 11px !important;
    }

    .hero-image-wrapper {
        height: auto !important;
        margin: 40px auto 0 !important;
        display: block !important;
        position: relative;
        width: 100% !important;
    }

    .hero-image {
        height: 380px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain;
        margin: 0 auto !important;
        display: block !important;
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
    }

    .hero-circle {
        display: block !important;
        width: 120px !important;
        height: 120px !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        opacity: 0.5 !important;
    }

    .hero-floating-card {
        display: none !important;
        /* Hide clutter on mobile as requested for perfect look */
    }

    /* Newsletter Stack Fix */
    .newsletter-form .input-group {
        flex-direction: column !important;
        gap: 10px !important;
        background: transparent !important;
        border: none !important;
    }

    .newsletter-form .form-control {
        width: 100% !important;
        border-radius: 12px !important;
        border: 1px solid #e2e8f0 !important;
    }

    .newsletter-form .btn-newsletter {
        width: 100% !important;
        border-radius: 12px !important;
        margin: 0 !important;
        height: 48px !important;
    }

    body {
        padding-bottom: 0 !important;
        overflow-x: hidden !important;
    }

    .footer-section {
        padding-bottom: 100px !important;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 32px;
    }

    .category-card {
        padding: 25px 20px;
    }
}

/* -- Premium Stats & CTA Enhancements (SRS/UI Upgrade) -- */
.stat-item h4 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
}

.about-page .bg-dark {
    background-color: #0f172a !important;
    /* Darker Slate */
    border-radius: 40px;
    margin: 40px 0;
    padding: 60px 0 !important;
}

.about-page .bg-dark h2 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.about-page .bg-dark .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.premium-cta-box {
    background: linear-gradient(135deg, #6a5be2 0%, #38bdf8 100%);
    border-radius: 40px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(106, 91, 226, 0.3);
}

.premium-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(50px);
}

.premium-cta-box h2 {
    font-size: 48px;
    font-weight: 800;
}

.btn-light-premium {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    padding: 16px 45px;
    border-radius: 50px;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
}

.btn-light-premium:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
    background: #f8fafc;
    color: #5a4bd4;
}

/* Glassmorphism for About stats */
.about-stats-inner {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 40px;
}

/* -- Blog Section -------------------------- */
.blog-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
    z-index: 1;
}

.blog-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(106, 91, 226, 0.08);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(106, 91, 226, 0.3);
}

.blog-thumb {
    height: 220px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.1);
}

.blog-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.blog-link i {
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(5px);
}

/* -- Mentor CTA Section --------------------- */
.mentor-cta-section {
    padding: 80px 0;
    position: relative;
    background: #fff;
}

.mentor-cta-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 30px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
}

.mentor-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(106, 91, 226, 0.2) 0%, transparent 70%);
    z-index: 0;
}

.cta-grid {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

@media (max-width: 991px) {
    .cta-grid {
        flex-direction: column;
        text-align: center;
    }
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}

.btn-mentor-white {
    background: #fff;
    color: #0f172a !important;
    padding: 18px 40px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-mentor-white:hover {
    transform: translateY(-3px) scale(1.05);
    background: #e2e8f0;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    color: #0f172a !important;
}

/* -- Contact Premium Redesign ---------------- */
.contact-premium-wrapper {
    background: #f8fafc;
    padding: 180px 0 100px;
}

.contact-info-card {
    background: #fff;
    border-radius: 30px;
    padding: 50px;
    height: 100%;
    border: 1px solid rgba(106, 91, 226, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 35px;
    transition: var(--transition);
}

.contact-icon-box {
    width: 65px;
    height: 65px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
}

.contact-method-item:hover .contact-icon-box {
    transform: scale(1.1) rotate(-5deg);
    background: var(--primary);
    color: #fff;
}

.contact-method-content h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-method-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 15px;
}

.contact-form-premium {
    background: #fff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.contact-form-premium .form-control,
.contact-form-premium .form-select {
    background: #f1f5f9 !important;
    border: 2px solid #f1f5f9 !important;
    border-radius: 14px;
    padding: 14px 20px;
    font-size: 15px;
    transition: var(--transition);
}

.contact-form-premium .form-control:focus {
    background: #fff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(106, 91, 226, 0.1) !important;
}

.contact-socials {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-link-item {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #f1f5f9;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link-item:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* -- Blog Detail Premium ------------------- */
.blog-detail-wrapper {
    background: #fff;
    padding: 150px 0 100px;
}

.blog-meta-premium {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.author-badge-premium {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f1f5f9;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
}

.author-badge-premium img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-content-premium {
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
}

.blog-content-premium p {
    margin-bottom: 25px;
}

.blog-sidebar-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(106, 91, 226, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    align-items: center;
    text-decoration: none;
    margin-bottom: 20px;
    transition: var(--transition);
}

.recent-post-item:hover {
    transform: translateX(5px);
}

.recent-post-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h6 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.4;
    color: var(--dark);
}

.recent-post-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.premium-cta-sidebar {
    background: linear-gradient(135deg, #6a5be2 0%, #4338ca 100%);
    border-radius: 24px;
    padding: 35px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-cta-sidebar::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* -- Hero Section Premium Overrides ---------- */
.hero-image {
    position: relative;
    max-width: 105% !important;
    height: auto !important;
    z-index: 5;
    animation: heroFloatPremium 8s ease-in-out infinite !important;
    filter: drop-shadow(0 30px 60px rgba(106, 91, 226, 0.35)) !important;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.hero-image:hover {
    transform: scale(1.08) translateY(-15px) !important;
}

.hero-glow-vip {
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(106, 91, 226, 0.5) 0%, transparent 70%) !important;
    top: -20%;
    left: -20%;
    z-index: -1;
    opacity: 0.7 !important;
    filter: blur(50px) !important;
    animation: pulseGlow 4s ease-in-out infinite !important;
}

@keyframes heroFloatPremium {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-40px) rotate(3deg);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.15);
    }
}

/* 3D Floating Cards Polish */
.hero-floating-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 18px 22px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.float-icon i {
    animation: bounceIcon 2s infinite;
}

@keyframes bounceIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/*  Elite Query Hub  */
.query-hub-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
}

.avatar-stack img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.btn-luxury-purple {
    background: linear-gradient(135deg, #6a5be2 0%, #4338ca 100%);
    border: none;
    color: white !important;
}

.hub-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    z-index: 0;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.floating-3d {
    animation: floatImg 6s ease-in-out infinite;
}

@keyframes floatImg {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.scale-hover:hover {
    transform: scale(1.02);
}

/* ── Mobile Ticker Robust ──────────────────── */
.mobile-ticker-container {
    background: rgba(106, 91, 226, 0.03);
    background: linear-gradient(90deg, rgba(106, 91, 226, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 12px 0;
    overflow: hidden;
    border: 1px solid rgba(106, 91, 226, 0.1);
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.mobile-ticker-content {
    display: inline-flex;
    white-space: nowrap;
    animation: mobileTickerScroll 45s linear infinite;
    will-change: transform;
}

.mobile-ticker-content span {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    padding: 0 15px;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes mobileTickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── Mobile Ticker Relocation Adjustments ───── */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 85px !important;
        overflow: visible !important;
    }

    .mobile-ticker-container {
        margin-top: -15px;
        margin-bottom: 25px;
    }

    .mobile-only-buttons {
        position: relative !important;
        z-index: 100 !important;
        pointer-events: auto !important;
    }

    .mobile-only-buttons a,
    .mobile-only-buttons .btn {
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 100 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}