/* ===========================
   CSS Custom Properties
   =========================== */
:root {
    /* Colors - Nasiiba Branding */
    --navy: #0a1931;
    /* Deep Navy */
    --navy-dark: #061121;
    --navy-light: #152b4d;
    --gold: #c5a059;
    /* Muted Premium Gold */
    --gold-hover: #a6854a;
    --gold-light: #e0c38c;
    --white: #ffffff;
    --bg-color: #ffffff;
    --bg-alt: #f4f7f9;
    --text-color: #2c3e50;
    --text-main: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: rgba(10, 25, 49, 0.1);

    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;

    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.05);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

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

    /* Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

[data-theme="dark"] {
    --bg-color: #081222;
    --bg-alt: #0c1b33;
    --text-color: #f3f4f6;
    --text-main: #f3f4f6;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    --white: #0c1b33;
    --navy: #f8fafc;
    --navy-dark: #050a14;
    --gold: #4dabf7;
    /* Branded light blue in dark mode */
    --gold-hover: #3b82f6;
    --gold-light: #60a5fa;
    --text-on-dark: #ffffff;
    /* Added stable white variable */
    --border-color: rgba(255, 255, 255, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);

    --gray-50: #0c1b33;
    --gray-100: #162a4d;
    --gray-200: #2a3a5a;
    --gray-300: #4b5575;
    --gray-400: #94a3b8;
    --gray-500: #cbd5e1;
    --gray-600: #e2e8f0;
}

/* Base styles using variables for themes */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   ANIMATIONS & REVEAL
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ===========================
   PREMIUM STUDENT DASHBOARD
   =========================== */
:root {
    --dash-glass: rgba(255, 255, 0.03);
    --dash-sidebar-bg: var(--navy);
    --dash-surface: var(--white);
    --dash-accent: var(--gold);
}

.auth-page {
    background: radial-gradient(circle at 10% 20%, rgba(12, 27, 51, 1) 0%, rgba(8, 18, 34, 1) 90%);
    min-height: 100vh;
    padding: 100px 0;
}

.auth-page .container--narrow {
    max-width: 1100px !important;
}

#dashboard-view {
    width: 100%;
    animation: dashFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Sidebar Styling */
.dashboard-sidebar {
    background: linear-gradient(180deg, rgba(22, 42, 77, 0.8) 0%, rgba(12, 27, 51, 0.9) 100%);
    border-radius: 20px;
    padding: 40px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-user {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.user-avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    color: #0c1b33;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 auto 15px;
    transform: rotate(-3deg);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.sidebar-user h3 {
    font-size: 1.2rem;
    color: var(--white);
    font-family: var(--font-display);
    margin-top: 10px;
}

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

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    border: none;
    background: transparent;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    width: 100%;
}

.nav-item i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.nav-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    transform: translateX(5px);
}

.nav-item:hover i {
    transform: scale(1.2);
}

.nav-item.active {
    background: var(--gold);
    color: #0c1b33;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.nav-item.active i {
    color: #0c1b33;
}

.nav-item.logout {
    margin-top: 40px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.nav-item.logout:hover {
    background: #ef4444;
    color: white;
}

/* Main Dashboard Area */
.dashboard-main {
    padding: 10px;
}

.tab-header {
    margin-bottom: 40px;
}

.tab-header h2 {
    font-size: 2.5rem;
    color: var(--white);
    background: linear-gradient(to right, #fff, var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-display);
    margin-bottom: 10px;
}

.tab-header p {
    color: var(--gray-400);
    font-size: 1.1rem;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.3), transparent);
}

/* Stats Styling */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.4s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold);
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.1);
}

.stat-info h3 {
    font-size: 2.2rem;
    color: var(--white);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-info p {
    color: var(--gray-400);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tab Content */
.dashboard-tab {
    display: none;
    animation: dashSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-tab.active {
    display: block;
}

/* Form Styling in Dashboard */
.dashboard-form {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 700px;
}

.dashboard-form .form-group label {
    color: var(--gray-300);
    margin-bottom: 10px;
    font-weight: 500;
}

.dashboard-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 18px;
    border-radius: 12px;
}

.dashboard-form input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

/* Enrolled Courses Grid */
#enrolled-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.dashboard-course-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s ease;
}

.dashboard-course-card:hover {
    transform: scale(1.02);
    border-color: var(--gold);
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .dashboard-sidebar {
        flex-direction: row;
        height: auto;
        overflow-x: auto;
        padding: 15px;
        gap: 15px;
    }

    .sidebar-user {
        display: none;
    }

    .nav-item {
        width: auto;
        white-space: nowrap;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

@keyframes dashFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

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

@keyframes dashSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

.stagger-4 {
    transition-delay: 0.4s;
}


/* ===========================
   Reset & Base
   =========================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   Section Labels & Titles
   =========================== */
.section__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.section__title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section__title--left {
    text-align: left;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn--gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242, 176, 30, 0.35);
}

.btn--navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn--navy:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 27, 51, 0.2);
}

.btn--outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn--outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 14px 32px;
    font-size: 0.9375rem;
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.8125rem;
}

/* ===========================
   HEADER
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    box-shadow: var(--shadow-card);
    z-index: 1000;
    height: 90px;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition);
    display: flex;
    align-items: center;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.header__logo-img {
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform var(--transition);
}

.header__logo-img:hover {
    transform: scale(1.05);
}

/* ===========================
   HEADER
   =========================== */
.footer__logo-img {
    height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
    color: var(--text-light);
    /* Ensure consistency */
    display: block;
    margin-bottom: 24px;
    filter: brightness(1.5) contrast(1.1);
    /* Brighter in dark mode */
}

.logo-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: 1.5px;
    color: var(--navy);
}

.header__nav .nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy-dark);
    opacity: 0.8;
    transition: all var(--transition);
    position: relative;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav__link-img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold);
}

.nav__link:hover,
.nav__link.active {
    color: var(--navy);
    opacity: 1;
}

.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.header__cta {
    font-size: 0.8125rem;
    padding: 10px 22px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: all var(--transition);
}

/* ===========================
   HEADER ACTIONS (lang + CTA)
   =========================== */
.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background: var(--gold-light);
    color: var(--gold);
    transform: translateY(-2px);
}

.theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

/* ===========================
   LANGUAGE SWITCHER
   =========================== */
.lang-switcher {
    position: relative;
}

.lang-switcher__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 8px 14px;
    color: var(--navy-dark);
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.lang-switcher__btn:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.lang-switcher__btn i {
    font-size: 0.625rem;
    transition: transform var(--transition);
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 999;
}

.lang-switcher__dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.8375rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
}

.lang-option:hover {
    background: var(--gray-50);
    color: var(--navy);
}

.lang-option.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--white);
}

.lang-option__flag {
    font-size: 1.125rem;
}

/* ===========================
   GEO-PRICING BADGE
   =========================== */
.geo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #1a8d5a 0%, #16a34a 100%);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 8px;
    animation: geoBadgePulse 2s ease-in-out infinite;
}

@keyframes geoBadgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

/* ===========================
   RTL SUPPORT
   =========================== */
[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .header__inner {
    flex-direction: row-reverse;
}

[dir="rtl"] .header__nav .nav__list {
    flex-direction: row-reverse;
}

[dir="rtl"] .header__actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero__inner {
    direction: rtl;
}

[dir="rtl"] .hero__content {
    text-align: right;
}

[dir="rtl"] .hero__buttons {
    justify-content: flex-start;
}

[dir="rtl"] .service-card {
    text-align: right;
}

[dir="rtl"] .service-card__link {
    flex-direction: row-reverse;
}

[dir="rtl"] .courses__header {
    flex-direction: row-reverse;
}

[dir="rtl"] .course-card__footer {
    flex-direction: row-reverse;
}

[dir="rtl"] .course-card__price-tag {
    left: auto;
    right: 12px;
}

[dir="rtl"] .trust__inner {
    direction: rtl;
}

[dir="rtl"] .trust__list li {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .trust__stat {
    left: auto;
    right: 24px;
}

[dir="rtl"] .testimonials-inner,
[dir="rtl"] .gallery-inner,
[dir="rtl"] .videos-showcase .container {
    direction: rtl;
    text-align: right;
    opacity: 1 !important;
    visibility: visible !important;
}

[dir="rtl"] .swiper-slide {
    text-align: right;
}

[dir="rtl"] .footer__inner {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .footer__links {
    text-align: right;
}

[dir="rtl"] .footer__contact li {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .aff-hero__inner {
    direction: rtl;
}

[dir="rtl"] .aff-step-card__number {
    right: auto;
    left: 20px;
}

[dir="rtl"] .aff-dashboard__header {
    flex-direction: row-reverse;
}

[dir="rtl"] .aff-dashboard__link-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .aff-dashboard__share-btns {
    flex-direction: row-reverse;
}

[dir="rtl"] .aff-tier-card__features li {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .aff-faq__question {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .aff-faq__answer p {
    text-align: right;
}

[dir="rtl"] .btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .lang-switcher__dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .nav__link.active::after {
    left: auto;
    right: 0;
}

/* ===========================
   HERO
   =========================== */
.hero {
    margin-top: 90px;
    background: linear-gradient(135deg, var(--gray-50) 0%, #eef1f6 100%);
    position: relative;
    padding: 80px 0 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.05) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
}

.hero__inner,
.hero__content,
.hero__image-wrapper {
    position: relative;
    z-index: 1;
}

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

.hero__content {
    padding-bottom: 60px;
}

.hero__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 20px;
    text-align: left;
}

.hero__title strong {
    font-weight: 800;
}

.hero__text {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero__image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 380px;
    /* Reduced for laptop */
    margin-left: auto;
    padding-top: 20px;
}

.hero__main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    border: 4px solid var(--white);
    animation: floatingHero 6s ease-in-out infinite;
}

.hero__image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.4) 0%, rgba(37, 99, 235, 0.1) 50%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    border-radius: 50%;
    animation: glowPulseHero 4s alternate infinite;
}

@keyframes floatingHero {
    0% {
        transform: translateY(0);
    }

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

    100% {
        transform: translateY(0);
    }
}

@keyframes glowPulseHero {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* ===========================
   ABOUT US
   =========================== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image {
    position: relative;
}

.about__image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about__experience {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--navy);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid var(--gold);
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.about__text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.about-feature {
    display: flex;
    gap: 20px;
}

.about-feature__icon {
    width: 48px;
    height: 48px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gold);
    flex-shrink: 0;
}

.about-feature__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.about-feature__text {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

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

    .about__content {
        order: -1;
    }
}

/* ===========================
   SERVICES
   =========================== */
.services {
    padding: 80px 0;
    text-align: center;
    background: var(--white);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-10px) scale(1.02);
    border-color: var(--gold-light);
    background: var(--bg-color);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.25rem;
    color: var(--navy);
}

.service-card__title {
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.service-card__text {
    font-size: 0.8375rem;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-card__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.service-card__link:hover {
    gap: 10px;
}

/* ===========================
   SERVICE MODAL
   =========================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 31, 61, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    backdrop-filter: blur(4px);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--gray-600);
    transition: all var(--transition);
    z-index: 10;
}

.modal__close:hover {
    background: var(--navy);
    color: var(--white);
    transform: rotate(90deg);
}

.modal__header {
    background: linear-gradient(135deg, var(--gray-50) 0%, #eef1f6 100%);
    padding: 40px 30px 24px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.modal__icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-sm);
}

.modal__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--navy);
    line-height: 1.2;
}

.modal__body {
    padding: 30px;
}

/* Password Toggle Styles */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i.fas,
.input-wrapper i.fab {
    position: absolute;
    left: 15px;
    color: var(--gold);
    pointer-events: none;
    z-index: 2;
}

.input-wrapper input {
    padding-left: 45px !important;
    padding-right: 45px !important;
    width: 100%;
}

/* Hide Browser Native Reveal Icon */
.input-wrapper input::-ms-reveal,
.input-wrapper input::-ms-clear {
    display: none;
}

.password-toggle-btn {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 3;
}

.password-toggle-btn:hover {
    color: var(--gold);
}

.dashboard-form .input-wrapper i {
    color: var(--gold);
}

[data-theme="dark"] .password-toggle-btn {
    color: var(--gray-400);
}

.modal__text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal__features h4 {
    font-size: 1.125rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.modal__list {
    list-style: none;
    margin-bottom: 30px;
}

.modal__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.5;
}

.modal__list li i {
    color: var(--gold);
    font-size: 1rem;
    margin-top: 2px;
}

/* RTL Support for Modal */
[dir="rtl"] .modal__close {
    right: auto;
    left: 16px;
}

[dir="rtl"] .modal__list li {
    text-align: right;
}

/* ===========================
   COURSES
   =========================== */
.courses {
    padding: 80px 0;
    background: var(--gray-50);
}

.courses__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
}

.courses__view-all {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

.courses__view-all:hover {
    color: var(--gold);
}

.courses__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 991px) {
    .courses__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .courses__grid {
        grid-template-columns: 1fr;
    }
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.course-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

[data-theme="dark"] .course-card {
    background: var(--navy-light);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .course-card__title {
    color: #ffffff !important;
}

[data-theme="dark"] .course-card__price {
    color: var(--gold) !important;
}

.course-card__image {
    position: relative;
    overflow: hidden;
    height: 200px;
    margin-bottom: 0;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.course-card__badge-distinguished {
    position: absolute;
    top: 15px;
    right: -35px;
    background: #4caf50;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.course-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.course-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 49, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
    text-align: center;
}

.course-card:hover .course-card__overlay {
    opacity: 1;
    visibility: visible;
}

.course-card:hover .course-card__overlay-premium {
    opacity: 1;
    visibility: visible;
}

.course-card__hover-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 10px;
    text-align: center;
}

.course-card__hover-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.course-card__hover-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.course-card__hover-actions .btn {
    flex: 1;
    max-width: 120px;
    white-space: nowrap;
}

.course-card:hover .course-card__image img {
    transform: scale(1.1);
}

.course-card__stats-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: var(--navy);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-card__stats-bar .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-card__body {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: right;
    /* RTL feel from image */
}

.course-card__category {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.course-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
    line-height: 1.4;
}

.course-card__footer-premium {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.course-card__price-section {
    display: flex;
    flex-direction: column;
    /* Stacked layout from image */
    align-items: center;
}

.course-card__old-price {
    color: #bbb;
    text-decoration: line-through;
    font-size: 0.8rem;
    margin-bottom: -5px;
}

.course-card__price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #444;
    /* Darker price from image */
}

.course-card__stars {
    font-size: 0.85rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: flex-end;
}

.course-card__stars i {
    color: #ffd700;
}

/* ===========================
   TRUST / WHY SECTION
   =========================== */
.trust {
    padding: 80px 0;
    background: #0c1b33;
    /* Fixed dark color to prevent flipping in dark mode */
}

.trust__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trust__image-wrapper {
    position: relative;
}

.trust__img {
    width: 100%;
    max-width: 400px;
    /* Reduced for laptop */
    display: block;
    margin: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.trust__stat {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--navy-light);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.trust__stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.trust__stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 140px;
    line-height: 1.3;
}

.trust__content .section__label {
    text-align: left;
}

.trust__content .section__title {
    color: var(--white);
}

.trust__text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 28px;
}

.trust__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trust__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.trust__list li i {
    color: var(--gold);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.trust__list li strong {
    color: var(--white);
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
    padding: 80px 0;
    text-align: center;
    background: var(--white);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials-section {
    padding: 140px 0 100px;
    background: #ffffff;
    text-align: center;
}

[data-theme="dark"] .testimonials-section {
    background: #050a14;
}

[data-theme="dark"] .testimonial-card {
    background: #0c1b33 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.testimonial-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
    margin: 10px;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.testimonial-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
}

.testimonial-card__name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
}

[data-theme="dark"] .testimonial-card__name {
    color: #4dabf7;
}

.testimonial-card__role {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.testimonial-card__text {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
    font-style: italic;
}

[data-theme="dark"] .testimonial-card__text {
    color: rgba(255, 255, 255, 0.85);
}

.gallery-item span {
    display: inline-block;
    unicode-bidi: embed;
}

[dir="rtl"] .footer__phone,
[dir="rtl"] .footer__contact a {
    direction: ltr !important;
    display: inline-block !important;
    unicode-bidi: bidi-override !important;
}

/* ===========================
   AMAZING UNIQUE GALLERY
   =========================== */
.gallery-section {
    padding: 120px 0;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .gallery-section {
    background: #050a14;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 20px;
    margin-top: 60px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--bg-alt);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.8s ease-in-out;
}

/* Amazing Asymmetrical layout */
.gallery-item:nth-child(1) {
    grid-column: span 5;
    grid-row: span 2;
}

/* Large left highlight */
.gallery-item:nth-child(2) {
    grid-column: span 4;
    grid-row: span 1;
}

/* Center top */
.gallery-item:nth-child(3) {
    grid-column: span 3;
    grid-row: span 1;
}

/* Right top */
.gallery-item:nth-child(4) {
    grid-column: span 3;
    grid-row: span 1;
}

/* Center bottom */
.gallery-item:nth-child(5) {
    grid-column: span 4;
    grid-row: span 1;
}

/* Right bottom */

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 27, 51, 0.6), transparent);
    opacity: 0.3;
    z-index: 1;
}

.gallery-item::after {
    content: 'View Story';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-item:hover {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.gallery-item:hover img {
    transform: scale(1.1) rotate(1deg);
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%);
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-rows: repeat(2, 200px);
    }
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item:nth-child(n) {
        grid-column: span 1;
        height: 250px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        height: 400px;
    }
}

@media (max-width: 640px) {
    .gallery-item:nth-child(n) {
        grid-column: span 2;
        height: 280px;
    }
}

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.cta-banner__title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--navy-dark);
    padding: 60px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer__about {
    font-size: 0.8125rem;
    color: var(--gold);
    opacity: 0.7;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer__social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--white);
    transition: all var(--transition);
}

.footer__social a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer__links h4,
.footer__contact h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 0.9375rem;
    color: var(--gold);
    /* Branded color */
    opacity: 0.8;
    transition: all var(--transition);
}

.footer__links a:hover {
    color: var(--white);
    opacity: 1;
    padding-left: 5px;
}

.footer__contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__contact li {
    font-size: 0.9375rem;
    color: var(--gold);
    opacity: 0.8;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer__contact li i {
    color: var(--gold);
    font-size: 0.75rem;
    margin-top: 3px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer__bottom p {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

/* Dark Mode Footer Overrides */
[data-theme="dark"] .footer {
    background: #050a14 !important;
}

[data-theme="dark"] .footer__links a,
[data-theme="dark"] .footer__contact li,
[data-theme="dark"] .footer__contact li i,
[data-theme="dark"] .footer__about {
    color: #4dabf7 !important;
    /* Branded blue instead of yellow/white */
    opacity: 1;
}

[data-theme="dark"] .footer__links h4,
[data-theme="dark"] .footer__contact h4,
[data-theme="dark"] .trust__content .section__title,
[data-theme="dark"] .trust__content h2,
[data-theme="dark"] .trust__list li strong,
[data-theme="dark"] .trust__item h4,
[data-theme="dark"] .section__title,
[data-theme="dark"] .testimonial-card__name,
[data-theme="dark"] .video-card__title,
[data-theme="dark"] .service-card__title,
[data-theme="dark"] .contact-card__text {
    color: #4dabf7 !important;
}

[data-theme="dark"] .footer__social a,
[data-theme="dark"] .footer__social a i {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .footer__social a:hover {
    background: #ffffff !important;
    color: #050a14 !important;
}

[data-theme="dark"] .trust__text,
[data-theme="dark"] .trust__list li,
[data-theme="dark"] .trust__item p,
[data-theme="dark"] .trust__content .section__label,
[data-theme="dark"] .section__label,
[data-theme="dark"] .testimonial-card__text,
[data-theme="dark"] .testimonial-card__role,
[data-theme="dark"] .video-card__desc,
[data-theme="dark"] .videos-showcase__desc,
[data-theme="dark"] .contact-us__desc {
    color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .video-card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .contact-us__form-wrapper {
    background: #0c1b33 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .section__title,
[data-theme="dark"] .testimonial-card__name,
[data-theme="dark"] .video-card__title,
[data-theme="dark"] .service-card__title,
[data-theme="dark"] .contact-card__text {
    color: #4dabf7 !important;
}

[data-theme="dark"] .trust__text,
[data-theme="dark"] .trust__list li {
    color: rgba(255, 255, 255, 0.82) !important;
}

/* ===========================
   DARK MODE: HEADER
   =========================== */
[data-theme="dark"] .header {
    background: var(--bg-color) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .nav__link {
    color: #ffffff !important;
    opacity: 0.85;
}

[data-theme="dark"] .nav__link:hover,
[data-theme="dark"] .nav__link.active {
    color: #4dabf7 !important;
    opacity: 1;
}

[data-theme="dark"] .logo-text {
    color: #ffffff !important;
}

[data-theme="dark"] .hamburger span {
    background: #ffffff !important;
}

[data-theme="dark"] .header__cta {
    color: #ffffff !important;
}

[data-theme="dark"] .lang-switcher__btn {
    color: #ffffff !important;
}

/* ===========================
   FORCE TESTIMONIALS VISIBLE
   =========================== */
.testimonials-section,
.videos-showcase,
.gallery-section,
.success-stats {
    opacity: 1 !important;
    transform: none !important;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 2.4rem;
    }

    .services__grid,
    .courses__grid,
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        height: 80px;
    }

    .header__inner {
        height: 80px;
    }

    .header__logo-img {
        height: 65px;
    }

    .header__nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(14, 18, 43, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 20px 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header__nav.active {
        display: block;
    }

    .header__nav .nav__list {
        flex-direction: column;
        gap: 16px;
    }

    .header__nav .nav__link {
        color: #ffffff;
        /* Always white on dark mobile background */
        opacity: 0.9;
    }

    .header__nav .nav__link:hover {
        color: var(--gold);
        opacity: 1;
    }

    .hero {
        margin-top: 80px;
    }

    .aff-hero {
        margin-top: 80px;
    }

    .header__cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        padding-bottom: 32px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__image-wrapper {
        display: flex;
        justify-content: center;
        padding-top: 0;
        margin: 0 auto;
        /* Force center mobile hero */
    }

    .hero__main-image {
        display: block;
        max-width: 280px;
        width: 100%;
        /* Smaller for better mobile fit */
        margin: 0 auto;
        border-radius: var(--radius-lg);
    }

    .section__title {
        font-size: 1.625rem;
    }

    .services__grid,
    .courses__grid,
    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .courses__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .trust__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trust__image-wrapper {
        max-width: 420px;
        margin: 0 auto;
        /* Center wrapper on mobile */
    }

    .trust__img {
        max-width: 300px;
        max-height: 320px;
        /* Shorter limit to fix length issue */
        object-fit: cover;
        margin: 0 auto;
    }

    .cta-banner__title {
        font-size: 1.75rem;
    }

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

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.75rem;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn--lg {
        width: 100%;
        justify-content: center;
    }

    .cta-banner__title {
        font-size: 1.5rem;
    }
}

/* ===========================
   BRANDED ANIMATIONS
   =========================== */
.animate-branded {
    display: inline-block;
    background: linear-gradient(120deg,
            var(--gold) 0%,
            var(--gold-light) 25%,
            var(--gold) 50%,
            var(--gold-light) 75%,
            var(--gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brandedShine 4s linear infinite;
    font-weight: 800;
}

@keyframes brandedShine {
    to {
        background-position: 200% center;
    }
}

/* ===========================
   ANIMATIONS
   =========================== */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   BUTTON FULL WIDTH
   =========================== */
.btn--full {
    width: 100%;
    justify-content: center;
}

/* ===========================
   AFFILIATE HERO
   =========================== */
.aff-hero {
    margin-top: 90px;
    background: linear-gradient(135deg, var(--gray-50) 60%, #dce3ed 100%);
    padding: 80px 0;
    overflow: hidden;
}

.aff-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
}

.aff-hero__stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
}

.aff-hero__stat-item {
    display: flex;
    flex-direction: column;
}

.aff-hero__stat-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.aff-hero__stat-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 4px;
    font-weight: 500;
}

.aff-hero__visual {
    display: flex;
    justify-content: center;
}

.aff-hero__card {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    max-width: 300px;
    box-shadow: var(--shadow-lg);
}

.aff-hero__card-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.aff-hero__card-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ===========================
   AFFILIATE STEPS
   =========================== */
.aff-steps {
    padding: 80px 0;
    text-align: center;
    background: var(--white);
}

.aff-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.aff-step-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: all var(--transition);
}

.aff-step-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.aff-step-card__number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-100);
    line-height: 1;
    font-family: var(--font-display);
}

.aff-step-card__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--white);
}

.aff-step-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.aff-step-card__text {
    font-size: 0.8375rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ===========================
   AFFILIATE AUTH
   =========================== */
.aff-main {
    padding: 80px 0;
    background: var(--gray-50);
}

.aff-auth__wrapper {
    max-width: 520px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.aff-auth__tabs {
    display: flex;
    border-bottom: 2px solid var(--gray-100);
}

.aff-auth__tab {
    flex: 1;
    padding: 16px;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-400);
    background: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.aff-auth__tab.active {
    color: var(--navy);
}

.aff-auth__tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.aff-auth__form {
    padding: 36px;
}

.aff-auth__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
}

.aff-auth__subtitle {
    font-size: 0.8375rem;
    color: var(--gray-400);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    color: var(--gray-700);
    transition: border-color var(--transition);
    background: var(--white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.form-group input::placeholder {
    color: var(--gray-300);
}

.form-error {
    font-size: 0.8125rem;
    color: #dc2626;
    margin-top: 12px;
    text-align: center;
}

[data-theme="dark"] .form-group input {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

[data-theme="dark"] .modal {
    background: var(--navy-dark);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ===========================
   ANIMATIONS & DARK MODE EFFECTS
   =========================== */
.rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

[data-theme="dark"] .rain-container {
    display: block;
}

.drop {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.15);
    width: 1px;
    height: 10px;
    top: -20px;
    animation: rain linear infinite;
}

@keyframes rain {
    0% {
        transform: translateY(0);
        opacity: 0.7;
    }

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

/* ===========================
   PREMIUM PAYMENT MODAL
   =========================== */
.modal--payment {
    max-width: 360px;
    padding: 0;
    overflow: hidden;
    background: var(--white);
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .modal--payment {
    background: var(--navy-dark);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal--payment .modal__header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 24px;
    text-align: center;
    color: var(--white);
}

.modal--payment .modal__icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
}

.modal--payment .modal__title {
    color: var(--white);
    font-size: 1.25rem;
}

.modal--payment .modal__body {
    padding: 24px;
}

.payment-course-info {
    text-align: center;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1.5px dashed var(--gray-200);
}

[data-theme="dark"] .payment-course-info {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.payment-course-info h4 {
    font-size: 0.9375rem;
    color: var(--navy);
    margin-bottom: 4px;
    font-weight: 700;
}

#payment-course-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
}

.coupon-section {
    margin-bottom: 20px;
}

.coupon-section label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.coupon-input-wrapper {
    display: flex;
    gap: 8px;
}

.coupon-input-wrapper input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    background: var(--bg-surface);
    color: var(--text-main);
}

.coupon-msg {
    font-size: 0.75rem;
    margin-top: 6px;
    min-height: 18px;
}

.coupon-msg.success {
    color: #10b981;
}

.coupon-msg.error {
    color: #ef4444;
}

.payment-methods {
    margin-bottom: 20px;
}

.payment-label {
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.auth-prompt {
    background: rgba(212, 160, 23, 0.08);
    border: 1px solid rgba(212, 160, 23, 0.15);
    padding: 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    text-align: center;
}

.auth-prompt p {
    font-size: 0.75rem;
    color: var(--text-main);
    line-height: 1.4;
}

.auth-prompt a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: underline;
}

.payment-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.payment-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="dark"] .payment-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.payment-icon i {
    font-size: 1.25rem;
    color: var(--navy);
}

[data-theme="dark"] .payment-icon i {
    color: var(--white);
}

.payment-icon span {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-icon:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    background: var(--gray-50);
}

[data-theme="dark"] .payment-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.payment-icon.active {
    border-color: var(--gold);
    background: rgba(212, 160, 23, 0.05);
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.15);
}

.payment-icon.active i {
    color: var(--gold);
}

.payment-icon.active span {
    color: var(--gold);
}

/* DARK MODE OVERRIDES */
/* Konsolidated above */

[data-theme="dark"] .payment-course-info {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .payment-course-info h4 {
    color: var(--text-color);
}

[data-theme="dark"] .form-group input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

[data-theme="dark"] .form-group label {
    color: rgba(255, 255, 255, 0.7);
}

.payment-footer-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 16px;
}

/* ===========================
   STUDENT AUTH
   =========================== */
.auth-page {
    padding: 120px 0 80px;
    background: var(--gray-50);
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
}

.auth-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid var(--gray-100);
}

.auth-card__header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-card__icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.auth-card__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.auth-card__subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--gray-400);
    font-size: 0.9rem;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    transition: all var(--transition);
    background: var(--white);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.1);
}

.auth-card__footer {
    margin-top: 28px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.auth-card__footer a {
    color: var(--gold);
    font-weight: 700;
    transition: color var(--transition);
}

.auth-card__footer a:hover {
    color: var(--gold-hover);
    text-decoration: underline;
}

/* ===========================
   AFFILIATE DASHBOARD
   =========================== */
.aff-dashboard__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 36px;
}

.aff-dashboard__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.aff-stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

.aff-stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.aff-stat-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--gold);
    flex-shrink: 0;
}

.aff-stat-card__info {
    display: flex;
    flex-direction: column;
}

.aff-stat-card__value {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.aff-stat-card__label {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 4px;
    font-weight: 500;
}

/* Dashboard Link Box */
.aff-dashboard__link-box {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}

.aff-dashboard__link-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aff-dashboard__link-box h3 i {
    color: var(--gold);
}

.aff-dashboard__link-desc {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.6;
}

.aff-dashboard__link-row {
    display: flex;
    gap: 12px;
}

.aff-dashboard__link-input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    color: var(--navy);
    background: var(--gray-50);
    font-weight: 500;
}

.aff-dashboard__copy-msg {
    font-size: 0.8125rem;
    color: var(--green-check);
    margin-top: 10px;
    font-weight: 600;
}

/* Share Buttons */
.aff-dashboard__share {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}

.aff-dashboard__share h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.aff-dashboard__share-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.aff-share-btn {
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
}

.aff-share-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.aff-share-btn--twitter {
    background: #1da1f2;
}

.aff-share-btn--facebook {
    background: #1877f2;
}

.aff-share-btn--linkedin {
    background: #0a66c2;
}

.aff-share-btn--whatsapp {
    background: #25d366;
}

.aff-share-btn--email {
    background: var(--gray-600);
}

/* Referral History Table */
.aff-dashboard__history {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.aff-dashboard__history h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aff-dashboard__history h3 i {
    color: var(--gold);
}

.aff-dashboard__table-wrapper {
    overflow-x: auto;
}

.aff-dashboard__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8375rem;
}

.aff-dashboard__table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--gray-50);
    font-weight: 700;
    color: var(--navy);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--gray-200);
}

.aff-dashboard__table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
}

.aff-commission {
    font-weight: 700;
    color: var(--green-check) !important;
}

.aff-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aff-status--confirmed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.aff-status--pending {
    background: rgba(234, 179, 8, 0.1);
    color: #ca8a04;
}

.aff-dashboard__empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.8;
}

.aff-dashboard__empty i {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--gray-300);
}

/* ===========================
   COMMISSION TIERS
   =========================== */
.aff-tiers {
    padding: 80px 0;
    text-align: center;
    background: var(--white);
}

.aff-tiers__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.aff-tier-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.aff-tier-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.aff-tier-card--featured {
    border-color: var(--gold);
    box-shadow: 0 4px 24px rgba(212, 160, 23, 0.15);
    transform: scale(1.04);
}

.aff-tier-card--featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.aff-tier-card__badge {
    display: inline-block;
    padding: 4px 16px;
    background: var(--gray-50);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.aff-tier-card--featured .aff-tier-card__badge {
    background: var(--gold);
    color: var(--white);
}

.aff-tier-card__rate {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
}

.aff-tier-card__desc {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.aff-tier-card__features {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aff-tier-card__features li {
    font-size: 0.8375rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.aff-tier-card__features li i {
    color: var(--gold);
    font-size: 0.75rem;
}

/* ===========================
   AFFILIATE FAQ
   =========================== */
.aff-faq {
    padding: 80px 0;
    background: var(--gray-50);
}

.aff-faq__list {
    max-width: 700px;
    margin: 40px auto 0;
}

.aff-faq__item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.aff-faq__question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: all var(--transition);
}

.aff-faq__question:hover {
    color: var(--gold);
}

.aff-faq__question i {
    transition: transform var(--transition);
    font-size: 0.75rem;
    color: var(--gold);
}

.aff-faq__item.open .aff-faq__question i {
    transform: rotate(180deg);
}

.aff-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.aff-faq__item.open .aff-faq__answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

.aff-faq__answer p {
    font-size: 0.8375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===========================
   AFFILIATE RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .aff-dashboard__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .aff-tiers__grid,
    .aff-steps__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .aff-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .aff-hero__stats {
        justify-content: center;
    }

    .aff-hero__visual {
        display: none;
    }

    .aff-dashboard__stats {
        grid-template-columns: 1fr;
    }

    .aff-dashboard__link-row {
        flex-direction: column;
    }

    .aff-dashboard__share-btns {
        flex-direction: column;
    }

    .aff-share-btn {
        justify-content: center;
    }

    .aff-tiers__grid,
    .aff-steps__grid {
        grid-template-columns: 1fr;
    }

    .aff-tier-card--featured {
        transform: none;
    }

    .aff-tier-card--featured:hover {
        transform: translateY(-4px);
    }

    .aff-dashboard__header {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .aff-hero__stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .aff-auth__form {
        padding: 24px;
    }
}

/* ===========================
   WHATSAPP WIDGET
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    color: #fff;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

/* ===========================
   FEEDBACK & GALLERY SECTION
   =========================== */
.feedback-section {
    padding: 100px 0;
    background: var(--bg-alt);
    transition: background-color 0.3s ease;
}

.feedback-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

/* Testimonials Column */
.testimonials-col {
    min-width: 0;
    /* Fix for swiper in grid */
}

.testimonial-swiper {
    padding: 20px 0 60px;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: var(--transition);
}

.testimonial-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.testimonial-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.testimonial-card__name {
    font-weight: 700;
    color: var(--navy);
    font-size: 1.1rem;
}

.testimonial-card__role {
    font-size: 0.85rem;
    color: var(--text-light);
}

.testimonial-card__text {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
}

/* Swiper Controls */
.swiper-pagination-bullet {
    background: var(--text-light);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
    opacity: 1;
}

.swiper-nav-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.swiper-button-prev,
.swiper-button-next {
    position: static;
    width: 45px;
    height: 45px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--navy);
    transition: var(--transition);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 1.2rem;
    font-weight: 800;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

/* Gallery Column */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 150px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.gallery-item.main {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(12, 27, 51, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Responsiveness for Feedback Grid */
@media (max-width: 1024px) {
    .feedback-grid {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-auto-rows: 120px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.main {
        grid-column: span 2;
    }
}

/* ===========================
   ADMIN & MODAL STYLES
   =========================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 18, 34, 0.85);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    padding: 40px;
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal__close:hover {
    color: var(--gold);
}

.modal__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 25px;
}

.action-btns {
    display: flex;
    gap: 8px;
}

.review-card {
    background: var(--bg-alt);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.review-card__student {
    font-weight: 700;
    color: var(--navy);
    font-size: 1rem;
}

.review-card__course {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.review-card__rating {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.review-card__body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge--success {
    background: #d1fae5;
    color: #065f46;
}

.badge--warning {
    background: #fef3c7;
    color: #92400e;
}

.badge--danger {
    background: #fee2e2;
    color: #991b1b;
}

/* ===========================
   NEW HOMEPAGE STYLES
   =========================== */
.success-stats {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 80px 0;
    color: var(--white);
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.success-stats__inner {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 450px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.stat-label {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Video Testimonial */
.testimonial-card--video {
    padding: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border-color);
}

.video-placeholder iframe {
    width: 100%;
    display: block;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.testimonial-card--video .testimonial-card__header {
    padding: 24px;
}

/* Gallery Slider */
.gallery-section {
    padding-top: 40px;
    /* Reduced spacing */
    padding-bottom: 40px;
}

.gallery-swiper {
    padding-bottom: 30px;
    width: 100%;
}

.gallery-slide-img {
    width: 100%;
    height: 320px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.gallery-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-slide-img:hover img {
    transform: scale(1.05);
}

/* Course Card Adjustments */
.course-card__footer .course-card__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
}

.course-card__title {
    font-size: 1.25rem;
}

.btn-enroll {
    padding: 10px 24px;
    font-size: 0.9rem;
    border-radius: 8px;
}

/* ===========================
   ABOUT US PAGE LAYOUT
   =========================== */
.custom-about-grid,
.custom-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

@media (max-width: 992px) {

    .custom-about-grid,
    .custom-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===========================
   VIDEO SHOWCASE SECTION
   =========================== */
.videos-showcase {
    padding: 100px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .videos-showcase {
    background: linear-gradient(180deg, #081222 0%, #050a14 100%) !important;
}

.videos-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

.videos-showcase__desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.7;
}

[data-theme="dark"] .videos-showcase__desc {
    color: rgba(255, 255, 255, 0.65);
}

.videos-showcase__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.video-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .video-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .video-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 160, 23, 0.3);
}

.video-card__wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    overflow: hidden;
}

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

.video-card__info {
    padding: 20px 24px 24px;
}

.video-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    font-family: var(--font-display);
}

[data-theme="dark"] .video-card__title {
    color: var(--white);
}

.video-card__desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

[data-theme="dark"] .video-card__desc {
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 992px) {
    .videos-showcase__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .videos-showcase {
        padding: 60px 0;
    }

    .videos-showcase__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .videos-showcase__desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

/* ===========================
   UTILITIES & MOBILE FIXES
   =========================== */
.hide-mobile {
    display: inline;
}

/* Modal Base Improvements */
.modal {
    max-height: 90vh !important;
    overflow-y: auto !important;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    /* Modal Mobile Optimization */
    .modal {
        width: 95% !important;
        padding: 20px 15px !important;
    }

    .modal-ctas {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .modal__list {
        margin-bottom: 15px !important;
    }

    .modal__title {
        font-size: 1.4rem !important;
    }

    .modal__text {
        font-size: 0.95rem !important;
    }
}

/* Payment Modal Phone Input */
.phone-input-section {
    margin: 20px 0;
    animation: fadeIn 0.3s ease;
}

.phone-input-section label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--gray-50);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.phone-prefix {
    padding: 12px 15px;
    background: var(--gray-200);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
}

.phone-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 15px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--navy);
    outline: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* ===========================
   TESTIMONIAL RATINGS
   =========================== */
.testimonial-card__rating {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 0.9rem;
}

/* ===========================
   BLOG SECTION
   =========================== */
.blog-section {
    padding: 100px 0;
    background: var(--bg-alt);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

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

.blog-card__image {
    height: 200px;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.1);
}

.blog-card__content {
    padding: 25px;
}

.blog-card__date {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.blog-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card__excerpt {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__link {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.blog-card__link:hover {
    color: var(--gold);
    gap: 12px;
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}