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

:root {
    /* ── Premium HSL Color Palette ── */
    --primary-color: #4f46e5; /* Premium Indigo */
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --secondary-color: #f8fafc;
    --accent-color: #10b981; /* Premium Emerald */
    --accent-orange: #f97316; /* Premium Orange */
    --text-dark: #0f172a; /* Slate 900 */
    --text-light: #475569; /* Slate 600 */
    --border-color: #e2e8f0; /* Slate 200 */
    --white: #ffffff;

    /* ── Extended Palette ── */
    --primary-50: #f5f3ff;
    --primary-100: #ede9fe;
    --primary-500: #8b5cf6;
    --primary-600: #7c3aed;
    --primary-700: #6d28d9;
    --primary-900: #4c1d95;

    /* ── Premium Gradients (PW / Unacademy Inspired) ── */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-primary-alt: linear-gradient(135deg, #4f46e5 0%, #3b82f6 60%, #10b981 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-warm: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    --gradient-purple: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-sky: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    --gradient-hero: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #0ea5e9 100%);

    /* ── Modern Premium Shadows ── */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 24px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.16);
    --shadow-primary: 0 8px 30px rgba(79, 70, 229, 0.3);
    --shadow-accent: 0 8px 30px rgba(16, 185, 129, 0.25);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* ── Border Radius ── */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --radius-2xl: 34px;
    --radius-full: 9999px;

    /* ── Transitions ── */
    --transition-fast: 0.12s ease;
    --transition-base: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* ── Glassmorphism ── */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);

    /* ── Surface ── */
    --surface-1: #ffffff;
    --surface-2: #f8fafc;
    --surface-3: #f1f5f9;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    padding-top: 76px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* ==================== HEADER / NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border-color);
    z-index: 2000;
    padding: 0 2rem;
    height: 68px;
    transition: box-shadow 0.3s ease;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    border-bottom: 1px solid transparent;
}

/* 3-column stable layout: logo | menu | buttons — never shifts */
.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
}

/* ---- LOGO (LEFT, fixed min-width so menu stays centered) ---- */
.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 180px;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo i {
    font-size: 1.3rem;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.logo span {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

/* ---- NAV MENU (CENTER, takes remaining space, always centred) ---- */
.nav-menu {
    flex: 1;
    display: flex;
    list-style: none;
    gap: 0.2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    overflow: auto;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease;
    font-size: 0.93rem;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    white-space: nowrap;
    display: inline-block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(30, 58, 138, 0.07);
}

.nav-menu a.active {
    font-weight: 600;
}

/* ---- NAV BUTTONS (RIGHT, fixed min-width mirror of logo width) ---- */
.nav-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
    min-width: 180px;
    justify-content: flex-end;
    position: relative;
}

/* Ensure guestButtons has spacing between login & signup */
.nav-buttons #guestButtons {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

/* (duplicate removed) nav-buttons alias */
.nav-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    position: relative;
}

/* User Menu & Dropdown Styles */
.user-menu-wrapper {
    position: relative;
}

.btn-user-menu {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    border: 1px solid transparent;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-user-menu:hover,
.btn-user-menu.active {
    background-color: var(--secondary-color);
    border-color: var(--border-color);
}

.user-avatar-small {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), #3730a3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.2);
}

.user-name-display {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ChevronIcon {
    font-size: 0.8rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.btn-user-menu.active .ChevronIcon {
    transform: rotate(180deg);
}

/* Dropdown Container */
.user-dropdown {
    position: absolute;
    top: 120%;
    /* Below button */
    right: 0;
    width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10000;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #fff);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dropdown-user-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
}

.dropdown-user-info {
    flex: 1;
    overflow: hidden;
}

.dropdown-user-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-user-email {
    font-size: 0.85rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-items {
    list-style: none;
    padding: 0.5rem;
}

.dropdown-item a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 100%;
}

.dropdown-item a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.dropdown-item a i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    transition: color 0.2s ease;
}

.dropdown-item a:hover i {
    color: var(--primary-color);
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 0.5rem 1rem;
}

.logout-item a {
    color: #ef4444;
}

.logout-item a:hover {
    background-color: #fee2e2;
    color: #dc2626;
}

.logout-item a i {
    color: #ef4444;
}

.logout-item a:hover i {
    color: #dc2626;
}

/* Small responsive tweak to prevent menu items from jumping on narrow screens */
@media (max-width: 900px) {
    .nav-container {
        gap: 1rem;
    }

    .nav-menu {
        gap: 1.2rem;
    }
}

.btn-login {
    padding: 0.65rem 1.5rem;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.btn-signup {
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3730a3 100%);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-signup:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.hero {
    background-color: var(--white);
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.value-points {
    list-style: none;
    margin: 2rem 0;
}

.value-points li {
    padding: 0.7rem 0;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    gap: 0.8rem;
}

.value-points li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    padding: 0.75rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.97rem;
    cursor: pointer;
    transition: all var(--transition-slow);
    box-shadow: 0 4px 16px rgba(30,58,138,0.25);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
    filter: brightness(1.08);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 0.75rem 2rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.97rem;
    cursor: pointer;
    transition: all var(--transition-slow);
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
}

.dashboard-mockup {
    width: 100%;
    max-width: 350px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.mockup-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e5e7eb;
}

.mockup-line {
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.mockup-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mockup-bar-item {
    flex: 1;
    height: 120px;
    background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 4px;
}

/* ==================== TRUST & CREDIBILITY BAR ==================== */
.trust-bar {
    background-color: var(--secondary-color);
    padding: 2rem;
    margin: 3rem 0;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.trust-icon {
    font-size: 2rem;
    color: var(--accent-color);
    min-width: 50px;
    text-align: center;
}

.trust-item h3 {
    font-size: 1rem;
    color: var(--text-dark);
}

/* ==================== PROBLEM-SOLUTION SECTION ==================== */
.problem-solution {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.problem-solution h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.problem-list,
.solution-list {
    list-style: none;
}

.problem-list li,
.solution-list li {
    padding: 1rem 0;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.problem-list li:before {
    content: "✗";
    color: #ef4444;
    font-weight: bold;
    font-size: 1.3rem;
    min-width: 30px;
}

.solution-list li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
    min-width: 30px;
}

/* ==================== CORE FEATURES SECTION ==================== */
.features {
    padding: 4rem 2rem;
    background-color: var(--secondary-color);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-slow);
    border: 1px solid rgba(255,255,255,0.6);
    border-top: 4px solid transparent;
    border-image: var(--gradient-primary) 1;
    border-image-width: 4px 0 0 0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.feature-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
    border-color: rgba(30,58,138,0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    width: 56px;
    height: 56px;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-card ul {
    list-style: none;
    color: var(--text-dark);
}

.feature-card ul li {
    padding: 0.45rem 0;
    display: flex;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: var(--text-light);
}

.feature-card ul li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: 700;
    flex-shrink: 0;
}

/* ==================== HOW IT WORKS SECTION ==================== */
.how-it-works {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.step p {
    font-weight: 500;
    color: var(--text-dark);
}

/* ==================== POPULAR COURSES SECTION ==================== */
.popular-courses {
    padding: 4rem 2rem;
    background-color: var(--secondary-color);
}

.courses-container {
    max-width: 1200px;
    margin: 0 auto;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.course-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.course-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.course-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.course-stats {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.stat-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-view {
    width: 100%;
    padding: 0.7rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background-color: #1e3a8a;
    transform: translateY(-2px);
}

/* ==================== CERTIFICATE AUTHENTICITY SECTION ==================== */

/* hero image in the first section */
.hero-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.certificate-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.certificate-mockup {
    /* image container now; remove colorful background */
    background: none;
    border-radius: 8px;
    padding: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

/* image shown inside certificate section */
.certificate-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.cert-design {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cert-design h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cert-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 1rem 0;
}

.cert-features {
    list-style: none;
    margin-top: 2rem;
}

.cert-features li {
    padding: 0.8rem 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cert-features li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 20px;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    padding: 4rem 2rem;
    background-color: var(--secondary-color);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 4rem;
    line-height: 1;
    color: var(--primary-100);
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary-100);
}

.stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.3rem;
}

.author-info h4 {
    margin: 0;
    color: var(--text-dark);
}

.author-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==================== PRICING SECTION ==================== */
.pricing {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
    transform: translateY(-10px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.7rem 0;
    color: var(--text-dark);
    display: flex;
    gap: 0.8rem;
}

.pricing-features li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
}

.pricing-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-cta {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.pricing-cta:hover {
    background-color: #1e3a8a;
    transform: translateY(-2px);
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* ==================== FINAL CTA SECTION ==================== */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3730a3 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.final-cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    padding: 0.9rem 2.5rem;
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-cta-secondary {
    padding: 0.9rem 2.5rem;
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ==================== USER DROPDOWN MENU ==================== */
.user-menu-wrapper {
    position: relative;
}

.btn-user-menu {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.65rem 1.5rem;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
}

.btn-user-menu:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-user-menu i {
    font-size: 1.1rem;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 220px;
    margin-top: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-user-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.dropdown-user-email {
    font-size: 0.85rem;
    color: var(--text-light);
}

.dropdown-items {
    list-style: none;
}

.dropdown-item {
    padding: 0;
}

.dropdown-item-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-item-link:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding-left: 1.25rem;
}

.dropdown-item-link i {
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 0.5rem 0;
}

.dropdown-item-logout {
    padding: 0;
}

.dropdown-item-logout .dropdown-item-link {
    color: #dc2626;
    font-weight: 600;
}

.dropdown-item-logout .dropdown-item-link:hover {
    background-color: #fee2e2;
}

/* ==================== FOOTER — Premium Dark ==================== */
.footer {
    background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 5rem 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Gradient animated border at the top of footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f97316, #3b82f6);
    background-size: 300% 100%;
    animation: footerBorderGlow 8s linear infinite;
}

@keyframes footerBorderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glowing ambient blobs in footer background */
.footer-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: -150px;
    right: 5%;
    pointer-events: none;
    filter: blur(40px);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.8fr;
    gap: 4rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-brand-column .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-brand-column .footer-logo:hover {
    transform: scale(1.02);
}

.footer-brand-column .footer-logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-brand-column .footer-logo span {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Poppins', sans-serif;
}

.footer-brand-column .footer-tagline {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 340px;
}

.footer-social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.footer-social-links .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-links .social-link:hover {
    transform: translateY(-4px);
    color: #ffffff;
}

.footer-social-links .social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 0 15px rgba(0, 119, 181, 0.4);
}

.footer-social-links .social-link.github:hover {
    background: #24292e;
    border-color: #4f555a;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.footer-social-links .social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(204, 35, 102, 0.4);
}

.footer-links-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.4rem;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 0.8rem;
}

.footer-links-column a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links-column a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-links-column a::before {
    content: '→';
    font-size: 0.8rem;
    opacity: 0;
    width: 0;
    transition: all 0.25s ease;
    color: var(--accent-color);
}

.footer-links-column a:hover::before {
    opacity: 1;
    width: 12px;
}

.footer-newsletter-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.4rem;
}

.footer-newsletter-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-newsletter-column p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 1.2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.newsletter-form .input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.25rem;
    transition: all 0.3s ease;
}

.newsletter-form .input-group:focus-within {
    border-color: var(--primary-500);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.6rem 0.8rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.92rem;
}

.newsletter-form input::placeholder {
    color: #475569;
}

.newsletter-form button {
    background: var(--gradient-primary);
    border: none;
    outline: none;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.newsletter-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.newsletter-msg {
    font-size: 0.8rem;
    color: #10b981;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.newsletter-msg.show {
    display: block;
    opacity: 1;
}

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

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
    color: #64748b;
    font-size: 0.88rem;
    position: relative;
    z-index: 2;
}

.footer-bottom .copyright a.founder-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-bottom .copyright a.founder-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ==================== FOOTER BACKWARD COMPATIBILITY ==================== */
/* Maps legacy styles to the new premium structure if they exist */
.footer-column {
    display: flex;
    flex-direction: column;
}
.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.4rem;
}
.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 0.8rem;
}
.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-column a:hover {
    color: #ffffff;
    transform: translateX(4px);
}
.footer-column a::before {
    content: '→';
    font-size: 0.8rem;
    opacity: 0;
    width: 0;
    transition: all 0.25s ease;
    color: var(--accent-color);
}
.footer-column a:hover::before {
    opacity: 1;
    width: 12px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 900px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }
}


/* Global Responsive Utilities moved here or into media queries below */


/* ==================== TOUCH & GLOBAL RESPONSIVENESS ==================== */
html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    /* Native App Feel */
}

body {
    width: 100%;
    overflow-x: hidden;
}

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

input,
button,
select,
textarea {
    font-size: 16px !important;
    /* Prevents iOS auto-zoom on focus */
    touch-action: manipulation;
    -webkit-appearance: none;
    /* Strip out native iOS styling */
    appearance: none;
    border-radius: 6px;
}

/* Touch-friendly targets */
.btn-primary,
.btn-secondary,
.btn-login,
.btn-signup,
.nav-menu a {
    min-height: 44px;
    /* Apple/Google recommended minimum */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==================== UPDATED MEDIA QUERIES ==================== */

/* 1200px Breakpoint (Desktop/Large Tablets) */
@media (max-width: 1200px) {

    .hero,
    .problem-solution,
    .features-container,
    .popular-courses,
    .how-it-works {
        max-width: 95%;
        padding: 3rem 1.5rem;
    }

    .hero {
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* 768px Breakpoint (Tablets/Mobile) */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .value-points li {
        justify-content: center;
    }

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

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 320px;
    }

    .hero-visual {
        order: -1;
        /* Image first on mobile hero */
        margin-bottom: 2rem;
    }

    .problem-solution {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    /* Course Cards Fluidity */
    .courses-grid,
    .certificates-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
}

/* 480px Breakpoint (Small Phones) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .trust-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .trust-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ==================== FULL-WIDTH BANNER SLIDER (PW Style) ==================== */
.banner-slider-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.banner-slider {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background-color: #ffffff;
    user-select: none;
    border: none;
}

.banner-slides-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide, .banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
    z-index: 1;
    display: flex;
    overflow: hidden;
    border-radius: 0;
}

.slide.active, .banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    transition: transform 6s ease;
}

.slide-blur-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.6);
    z-index: 1;
    pointer-events: none;
}

.slide-image-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 6s ease;
}

.slide[style*="cursor: pointer"]:hover .slide-image {
    transform: scale(1.03);
}

.slide[style*="cursor: pointer"]:hover .slide-image-contain {
    transform: scale(1.02);
}

.default-slide-content, .banner-slide-gradient {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1.8rem 4.5rem;
    color: white;
    position: relative;
    z-index: 5;
    text-align: left;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .default-slide-content, .banner-slide-gradient {
        padding: 1.8rem calc((100% - 1200px) / 2 + 20px);
    }
}

.banner-slide-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.banner-slide-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.slide-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 1;
}

.slide-badge, .banner-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.slide-title, .banner-title {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.6rem;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    max-width: 65%;
    z-index: 2;
}

.slide-desc, .banner-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.95;
    font-weight: 400;
    margin-bottom: 1.2rem;
    max-width: 60%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.slide-btn, .banner-cta {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 9px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    text-decoration: none;
}

.slide-btn i {
    transition: transform 0.3s ease;
}

.slide[style*="cursor: pointer"]:hover .slide-btn,
.banner-slide-gradient:hover .banner-cta {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    background-color: #f8fafc;
}

.slide[style*="cursor: pointer"]:hover .slide-btn i {
    transform: translateX(4px);
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-slider:hover .banner-arrow {
    opacity: 1;
    pointer-events: auto;
}

.banner-arrow:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.banner-arrow-prev {
    left: 20px;
}

.banner-arrow-next {
    right: 20px;
}

.banner-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slide-dot.active {
    background: white;
    width: 22px;
    border-radius: 10px;
}

@media (max-width: 991px) {
    .banner-slider {
        height: 230px;
    }
    .slide-title, .banner-title {
        font-size: 1.55rem;
        max-width: 80%;
    }
    .slide-desc, .banner-subtitle {
        font-size: 0.9rem;
        max-width: 75%;
    }
}

@media (max-width: 768px) {
    .banner-slider-section {
        margin-top: 0;
        padding: 0;
    }
    .banner-slider {
        height: 180px;
        border-radius: 0;
    }
    .slide, .banner-slide {
        border-radius: 0;
    }
    .default-slide-content, .banner-slide-gradient {
        padding: 1.2rem 2rem;
    }
    .slide-title, .banner-title {
        font-size: 1.35rem;
        max-width: 90%;
        margin-bottom: 0.4rem;
    }
    .slide-desc, .banner-subtitle {
        font-size: 0.85rem;
        max-width: 90%;
        margin-bottom: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .slide-btn, .banner-cta {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    .slide-badge, .banner-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
        margin-bottom: 0.8rem;
    }
    .banner-arrow {
        width: 38px;
        height: 38px;
        opacity: 1;
        pointer-events: auto;
    }
    .banner-arrow-prev {
        left: 10px;
    }
    .banner-arrow-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .banner-slider {
        height: 150px;
    }
    .default-slide-content, .banner-slide-gradient {
        padding: 1rem 1.2rem;
    }
    .slide-title, .banner-title {
        font-size: 1.15rem;
    }
    .slide-desc, .banner-subtitle {
        font-size: 0.78rem;
        margin-bottom: 0.6rem;
    }
    .slide-btn, .banner-cta {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* ==================== ADVANCED SEO MARKETING HUB ==================== */
.seo-marketing-hub {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.seo-hub-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.seo-hub-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: -1.5rem;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.seo-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    text-align: left;
}

.seo-hub-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.seo-hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.seo-hub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.seo-hub-card:hover::before {
    opacity: 1;
}

.seo-card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.seo-hub-card:hover .seo-card-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.seo-hub-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.seo-hub-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .seo-marketing-hub {
        padding: 3.5rem 1rem;
    }
    .seo-hub-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    .seo-hub-grid {
        gap: 1.5rem;
    }
}