/*
Theme Name: ShineBlue Modern
Template: hello-elementor
Description: Modern, professional theme for ShineBlue Tech Academy - AI & ML Training Platform
Version: 1.0
Author: ShineBlue Tech
Text Domain: shineblue-modern
*/

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
    /* Primary Colors */
    --sb-navy: #0f172a;
    --sb-navy-light: #1e293b;
    --sb-blue: #2563eb;
    --sb-blue-light: #3b82f6;
    --sb-blue-dark: #1d4ed8;
    --sb-indigo: #4f46e5;
    --sb-cyan: #06b6d4;

    /* Accent Colors */
    --sb-emerald: #10b981;
    --sb-amber: #f59e0b;
    --sb-rose: #f43f5e;
    --sb-purple: #8b5cf6;

    /* Neutrals */
    --sb-white: #ffffff;
    --sb-gray-50: #f8fafc;
    --sb-gray-100: #f1f5f9;
    --sb-gray-200: #e2e8f0;
    --sb-gray-300: #cbd5e1;
    --sb-gray-400: #94a3b8;
    --sb-gray-500: #64748b;
    --sb-gray-600: #475569;
    --sb-gray-700: #334155;
    --sb-gray-800: #1e293b;
    --sb-gray-900: #0f172a;
    --sb-text: #1e293b;
    --sb-text-light: #64748b;

    /* Typography */
    --sb-font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --sb-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --sb-section-py: 100px;
    --sb-container-max: 1200px;
    --sb-container-px: 24px;

    /* Shadows */
    --sb-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --sb-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --sb-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --sb-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --sb-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --sb-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --sb-shadow-blue: 0 10px 40px -10px rgba(37, 99, 235, 0.3);

    /* Border Radius */
    --sb-radius-sm: 6px;
    --sb-radius: 8px;
    --sb-radius-md: 12px;
    --sb-radius-lg: 16px;
    --sb-radius-xl: 24px;
    --sb-radius-full: 9999px;

    /* Transitions */
    --sb-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --sb-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--sb-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--sb-text);
    background: var(--sb-white);
    overflow-x: hidden;
}

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

a {
    color: var(--sb-blue);
    text-decoration: none;
    transition: var(--sb-transition-fast);
}

a:hover {
    color: var(--sb-blue-dark);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--sb-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--sb-navy);
    margin-top: 0;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--sb-gray-600);
    margin-bottom: 1.25rem;
}

/* ========================================
   LAYOUT
   ======================================== */
.sb-container {
    width: 100%;
    max-width: var(--sb-container-max);
    margin: 0 auto;
    padding: 0 var(--sb-container-px);
}

.sb-section {
    padding: var(--sb-section-py) 0;
}

.sb-section-gray {
    background: var(--sb-gray-50);
}

.sb-section-dark {
    background: var(--sb-navy);
    color: var(--sb-white);
}

.sb-section-dark h2,
.sb-section-dark h3,
.sb-section-dark h4 {
    color: var(--sb-white);
}

.sb-section-dark p {
    color: var(--sb-gray-300);
}

.sb-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.sb-section-header h2 {
    margin-bottom: 16px;
}

.sb-section-header p {
    font-size: 1.125rem;
    color: var(--sb-gray-500);
}

.sb-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--sb-blue);
    border-radius: var(--sb-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.sb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--sb-transition);
    background: transparent;
}

.sb-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 10px 0;
    box-shadow: var(--sb-shadow-md);
}

.sb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--sb-container-max);
    margin: 0 auto;
    padding: 0 var(--sb-container-px);
}

.sb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sb-font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sb-white);
    text-decoration: none;
    transition: var(--sb-transition);
}

.sb-header.scrolled .sb-logo {
    color: var(--sb-navy);
}

.sb-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--sb-blue), var(--sb-cyan));
    border-radius: var(--sb-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.sb-logo span {
    background: linear-gradient(135deg, var(--sb-blue-light), var(--sb-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Nav */
.sb-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sb-nav-item {
    position: relative;
}

.sb-nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--sb-radius);
    transition: var(--sb-transition-fast);
    white-space: nowrap;
}

.sb-nav-link:hover {
    color: var(--sb-white);
    background: rgba(255, 255, 255, 0.1);
}

.sb-header.scrolled .sb-nav-link {
    color: var(--sb-gray-600);
}

.sb-header.scrolled .sb-nav-link:hover {
    color: var(--sb-navy);
    background: var(--sb-gray-100);
}

.sb-nav-link .arrow {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.sb-nav-item:hover .arrow {
    transform: rotate(180deg);
}

/* Dropdown */
.sb-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--sb-white);
    border-radius: var(--sb-radius-md);
    box-shadow: var(--sb-shadow-xl);
    border: 1px solid var(--sb-gray-200);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

.sb-nav-item:hover .sb-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sb-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--sb-gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--sb-radius);
    transition: var(--sb-transition-fast);
}

.sb-dropdown a:hover {
    background: var(--sb-gray-50);
    color: var(--sb-blue);
    transform: translateX(4px);
}

/* Header Actions */
.sb-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sb-btn-login {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--sb-radius);
    transition: var(--sb-transition);
    background: transparent;
    cursor: pointer;
}

.sb-btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--sb-white);
}

.sb-header.scrolled .sb-btn-login {
    color: var(--sb-gray-700);
    border-color: var(--sb-gray-300);
}

.sb-header.scrolled .sb-btn-login:hover {
    background: var(--sb-gray-100);
    color: var(--sb-navy);
}

.sb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sb-white);
    background: linear-gradient(135deg, var(--sb-blue), var(--sb-blue-dark));
    border: none;
    border-radius: var(--sb-radius);
    cursor: pointer;
    transition: var(--sb-transition);
    text-decoration: none;
    box-shadow: var(--sb-shadow-blue);
}

.sb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -10px rgba(37, 99, 235, 0.5);
    color: var(--sb-white);
}

.sb-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sb-white);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--sb-radius);
    cursor: pointer;
    transition: var(--sb-transition);
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.sb-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--sb-white);
    transform: translateY(-2px);
}

.sb-btn-large {
    padding: 14px 32px;
    font-size: 1rem;
}

.sb-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sb-blue);
    background: transparent;
    border: 2px solid var(--sb-blue);
    border-radius: var(--sb-radius);
    cursor: pointer;
    transition: var(--sb-transition);
    text-decoration: none;
}

.sb-btn-outline:hover {
    background: var(--sb-blue);
    color: var(--sb-white);
    transform: translateY(-2px);
    box-shadow: var(--sb-shadow-blue);
}

/* Mobile Menu Toggle */
.sb-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}

.sb-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sb-white);
    border-radius: 2px;
    transition: var(--sb-transition);
}

.sb-header.scrolled .sb-mobile-toggle span {
    background: var(--sb-navy);
}

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

.sb-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ========================================
   HERO SECTION
   ======================================== */
.sb-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0f172a 100%);
    overflow: hidden;
    padding-top: 80px;
}

.sb-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.sb-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.1); }
}

/* Grid pattern overlay */
.sb-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.sb-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sb-hero-text {
    max-width: 600px;
}

.sb-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--sb-radius-full);
    color: var(--sb-blue-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.sb-hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--sb-emerald);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.sb-hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    color: var(--sb-white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.sb-hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--sb-blue-light), var(--sb-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sb-hero-subtitle {
    font-size: 1.2rem;
    color: var(--sb-gray-400);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
}

.sb-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Hero visual - floating cards */
.sb-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.sb-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--sb-radius-lg);
    padding: 20px 24px;
    color: var(--sb-white);
    animation: float 6s ease-in-out infinite;
}

.sb-float-card:nth-child(1) {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.sb-float-card:nth-child(2) {
    top: 45%;
    left: 5%;
    animation-delay: 2s;
}

.sb-float-card:nth-child(3) {
    bottom: 15%;
    right: 15%;
    animation-delay: 4s;
}

.sb-float-card .card-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.sb-float-card .card-label {
    font-size: 0.8rem;
    color: var(--sb-gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sb-float-card .card-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--sb-font-heading);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Hero center graphic */
.sb-hero-graphic {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.sb-hero-graphic::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px dashed rgba(37, 99, 235, 0.2);
    animation: spin 20s linear infinite;
}

.sb-hero-graphic::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px dashed rgba(6, 182, 212, 0.15);
    animation: spin 30s linear infinite reverse;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sb-hero-graphic-inner {
    font-size: 5rem;
    z-index: 2;
}

/* ========================================
   STATS BAR
   ======================================== */
.sb-stats {
    background: var(--sb-white);
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.sb-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--sb-white);
    border-radius: var(--sb-radius-xl);
    box-shadow: var(--sb-shadow-xl);
    border: 1px solid var(--sb-gray-200);
    overflow: hidden;
}

.sb-stat-item {
    padding: 40px 30px;
    text-align: center;
    border-right: 1px solid var(--sb-gray-200);
    transition: var(--sb-transition);
}

.sb-stat-item:last-child {
    border-right: none;
}

.sb-stat-item:hover {
    background: var(--sb-gray-50);
}

.sb-stat-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.sb-stat-number {
    font-family: var(--sb-font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sb-navy);
    line-height: 1;
    margin-bottom: 6px;
}

.sb-stat-label {
    font-size: 0.9rem;
    color: var(--sb-gray-500);
    font-weight: 500;
}

/* ========================================
   FEATURES / WHY CHOOSE US
   ======================================== */
.sb-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.sb-feature-card {
    background: var(--sb-white);
    border: 1px solid var(--sb-gray-200);
    border-radius: var(--sb-radius-lg);
    padding: 36px 30px;
    transition: var(--sb-transition);
    position: relative;
    overflow: hidden;
}

.sb-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sb-blue), var(--sb-cyan));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.sb-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sb-shadow-lg);
    border-color: rgba(37, 99, 235, 0.2);
}

.sb-feature-card:hover::before {
    transform: scaleX(1);
}

.sb-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--sb-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.sb-feature-icon.blue { background: rgba(37, 99, 235, 0.1); }
.sb-feature-icon.emerald { background: rgba(16, 185, 129, 0.1); }
.sb-feature-icon.amber { background: rgba(245, 158, 11, 0.1); }
.sb-feature-icon.purple { background: rgba(139, 92, 246, 0.1); }
.sb-feature-icon.rose { background: rgba(244, 63, 94, 0.1); }
.sb-feature-icon.cyan { background: rgba(6, 182, 212, 0.1); }

.sb-feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--sb-navy);
}

.sb-feature-card p {
    font-size: 0.95rem;
    color: var(--sb-gray-500);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ========================================
   COURSE CARDS
   ======================================== */
.sb-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.sb-course-card {
    background: var(--sb-white);
    border-radius: var(--sb-radius-lg);
    overflow: hidden;
    border: 1px solid var(--sb-gray-200);
    transition: var(--sb-transition);
}

.sb-course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sb-shadow-xl);
}

.sb-course-thumb {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--sb-navy), var(--sb-blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.sb-course-thumb .thumb-icon {
    font-size: 3.5rem;
    opacity: 0.9;
}

.sb-course-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.9);
    color: var(--sb-white);
    border-radius: var(--sb-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.sb-course-body {
    padding: 24px;
}

.sb-course-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.sb-course-body h3 a {
    color: var(--sb-navy);
    text-decoration: none;
}

.sb-course-body h3 a:hover {
    color: var(--sb-blue);
}

.sb-course-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--sb-gray-500);
    margin-bottom: 16px;
}

.sb-course-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sb-course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--sb-gray-200);
}

.sb-course-price {
    font-family: var(--sb-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sb-blue);
}

.sb-course-price .free {
    color: var(--sb-emerald);
}

.sb-course-btn {
    padding: 8px 18px;
    background: var(--sb-gray-100);
    color: var(--sb-navy);
    border-radius: var(--sb-radius);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--sb-transition);
}

.sb-course-btn:hover {
    background: var(--sb-blue);
    color: var(--sb-white);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.sb-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.sb-service-card {
    background: var(--sb-white);
    border: 1px solid var(--sb-gray-200);
    border-radius: var(--sb-radius-lg);
    padding: 32px;
    transition: var(--sb-transition);
    position: relative;
    overflow: hidden;
}

.sb-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sb-shadow-lg);
    border-color: rgba(37, 99, 235, 0.3);
}

.sb-service-card .service-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.sb-service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.sb-service-card p {
    font-size: 0.95rem;
    color: var(--sb-gray-500);
    margin-bottom: 16px;
    line-height: 1.6;
}

.sb-service-card .learn-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sb-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--sb-transition-fast);
}

.sb-service-card .learn-more:hover {
    gap: 10px;
}

/* ========================================
   AI TOOLS SECTION
   ======================================== */
.sb-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.sb-tool-card {
    background: linear-gradient(135deg, var(--sb-navy), var(--sb-navy-light));
    border-radius: var(--sb-radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--sb-transition);
}

.sb-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sb-shadow-2xl);
}

.sb-tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.sb-tool-card .tool-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.sb-tool-card h3 {
    color: var(--sb-white);
    font-size: 1.3rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.sb-tool-card p {
    color: var(--sb-gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.sb-tool-card .sb-btn-primary {
    position: relative;
    z-index: 2;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.sb-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.sb-testimonial-card {
    background: var(--sb-white);
    border: 1px solid var(--sb-gray-200);
    border-radius: var(--sb-radius-lg);
    padding: 32px;
    transition: var(--sb-transition);
}

.sb-testimonial-card:hover {
    box-shadow: var(--sb-shadow-lg);
}

.sb-testimonial-stars {
    color: var(--sb-amber);
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.sb-testimonial-text {
    font-size: 1rem;
    color: var(--sb-gray-700);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.sb-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sb-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sb-blue), var(--sb-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sb-white);
    font-weight: 700;
    font-size: 1.1rem;
}

.sb-testimonial-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--sb-navy);
}

.sb-testimonial-info p {
    font-size: 0.85rem;
    color: var(--sb-gray-500);
    margin: 0;
}

/* ========================================
   CTA BANNER
   ======================================== */
.sb-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0ea5e9 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sb-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.sb-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.sb-cta h2 {
    color: var(--sb-white);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.sb-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.sb-cta .sb-btn-primary {
    background: var(--sb-white);
    color: var(--sb-blue);
    box-shadow: var(--sb-shadow-lg);
    position: relative;
    z-index: 2;
}

.sb-cta .sb-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--sb-shadow-2xl);
    color: var(--sb-blue-dark);
}

/* ========================================
   FOOTER
   ======================================== */
.sb-footer {
    background: var(--sb-navy);
    color: var(--sb-gray-400);
    padding-top: 80px;
}

.sb-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sb-footer-brand p {
    color: var(--sb-gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.sb-footer-social {
    display: flex;
    gap: 12px;
}

.sb-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--sb-radius);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sb-gray-400);
    font-size: 1.1rem;
    transition: var(--sb-transition);
}

.sb-footer-social a:hover {
    background: var(--sb-blue);
    color: var(--sb-white);
    transform: translateY(-2px);
}

.sb-footer-col h4 {
    color: var(--sb-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sb-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sb-footer-col ul li {
    margin-bottom: 10px;
}

.sb-footer-col ul li a {
    color: var(--sb-gray-400);
    font-size: 0.9rem;
    transition: var(--sb-transition-fast);
}

.sb-footer-col ul li a:hover {
    color: var(--sb-white);
    padding-left: 4px;
}

.sb-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.85rem;
    color: var(--sb-gray-500);
}

.sb-footer-bottom a {
    color: var(--sb-gray-400);
}

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

/* ========================================
   INNER PAGE STYLES
   ======================================== */
.sb-page-header {
    background: linear-gradient(135deg, var(--sb-navy) 0%, var(--sb-navy-light) 100%);
    padding: 140px 0 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sb-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.sb-page-header h1 {
    color: var(--sb-white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.sb-page-header .sb-breadcrumb {
    color: var(--sb-gray-400);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.sb-page-header .sb-breadcrumb a {
    color: var(--sb-blue-light);
}

.sb-page-content {
    padding: 60px 0;
}

.sb-page-content .entry-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.sb-page-content .entry-content h2 {
    font-size: 1.8rem;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--sb-navy);
}

.sb-page-content .entry-content h3 {
    font-size: 1.4rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--sb-navy-light);
}

.sb-page-content .entry-content p {
    color: var(--sb-gray-600);
}

.sb-page-content .entry-content ul,
.sb-page-content .entry-content ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.sb-page-content .entry-content li {
    padding: 6px 0;
    color: var(--sb-gray-600);
}

.sb-page-content .entry-content img {
    border-radius: var(--sb-radius-md);
    box-shadow: var(--sb-shadow-md);
}

.sb-page-content .entry-content blockquote {
    border-left: 4px solid var(--sb-blue);
    background: var(--sb-gray-50);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 var(--sb-radius) var(--sb-radius) 0;
}

/* ========================================
   WOOCOMMERCE OVERRIDES
   ======================================== */
.woocommerce .products ul,
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 24px !important;
}

.woocommerce ul.products li.product {
    border: 1px solid var(--sb-gray-200) !important;
    border-radius: var(--sb-radius-md) !important;
    padding: 16px !important;
    transition: var(--sb-transition) !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}

.woocommerce ul.products li.product:hover {
    box-shadow: var(--sb-shadow-lg) !important;
    transform: translateY(-4px) !important;
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--sb-blue) !important;
    color: var(--sb-white) !important;
    border-radius: var(--sb-radius) !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    border: none !important;
    transition: var(--sb-transition) !important;
}

.woocommerce .button:hover,
.woocommerce a.button:hover {
    background: var(--sb-blue-dark) !important;
    transform: translateY(-2px) !important;
}

/* ========================================
   LEARNPRESS OVERRIDES
   ======================================== */
.lp-archive-courses .course {
    border: 1px solid var(--sb-gray-200) !important;
    border-radius: var(--sb-radius-md) !important;
    overflow: hidden !important;
    transition: var(--sb-transition) !important;
}

.lp-archive-courses .course:hover {
    box-shadow: var(--sb-shadow-lg) !important;
    transform: translateY(-4px) !important;
}

.learn-press-courses .course .course-content {
    padding: 20px !important;
}

#learn-press-profile .lp-profile-content {
    font-family: var(--sb-font-body);
}

/* ========================================
   BUDDYPRESS OVERRIDES
   ======================================== */
#buddypress {
    font-family: var(--sb-font-body) !important;
}

#buddypress .activity-list li {
    border-radius: var(--sb-radius) !important;
    margin-bottom: 16px !important;
}

#buddypress div.item-list-tabs ul li a {
    border-radius: var(--sb-radius) !important;
}

/* ========================================
   ELEMENTOR OVERRIDES (for Elementor-built pages)
   ======================================== */
.elementor-section {
    font-family: var(--sb-font-body);
}

.elementor-heading-title {
    font-family: var(--sb-font-heading) !important;
}

.elementor-button {
    border-radius: var(--sb-radius) !important;
    font-weight: 600 !important;
    transition: var(--sb-transition) !important;
}

.elementor-button:hover {
    transform: translateY(-2px) !important;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.sb-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sb-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.sb-animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sb-animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.sb-animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sb-animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.sb-animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sb-animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.sb-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.sb-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.sb-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.sb-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.sb-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.sb-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.sb-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }

.sb-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --sb-section-py: 70px;
    }

    .sb-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sb-hero-text {
        max-width: 100%;
    }

    .sb-hero-subtitle {
        max-width: 100%;
    }

    .sb-hero-buttons {
        justify-content: center;
    }

    .sb-hero-visual {
        min-height: 300px;
    }

    .sb-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --sb-section-py: 60px;
        --sb-container-px: 20px;
    }

    /* Mobile Nav */
    .sb-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--sb-white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 24px;
        gap: 0;
        box-shadow: var(--sb-shadow-2xl);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .sb-nav.open {
        right: 0;
    }

    .sb-nav-link {
        color: var(--sb-gray-700) !important;
        padding: 12px 16px;
        border-radius: var(--sb-radius);
    }

    .sb-nav-link:hover {
        background: var(--sb-gray-100) !important;
    }

    .sb-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        display: none;
    }

    .sb-nav-item.open .sb-dropdown {
        display: block;
    }

    .sb-mobile-toggle {
        display: flex;
    }

    .sb-header-actions {
        display: none;
    }

    .sb-mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .sb-mobile-overlay.active {
        display: block;
    }

    /* Stats */
    .sb-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sb-stat-item {
        padding: 24px 16px;
    }

    .sb-stat-item:nth-child(2) {
        border-right: none;
    }

    .sb-stat-item:nth-child(1),
    .sb-stat-item:nth-child(2) {
        border-bottom: 1px solid var(--sb-gray-200);
    }

    .sb-stat-number {
        font-size: 2rem;
    }

    /* Courses */
    .sb-courses-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .sb-testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .sb-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sb-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Hero adjustments */
    .sb-hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 100px;
    }

    .sb-hero-visual {
        display: none;
    }

    .sb-hero h1 {
        font-size: 2.2rem;
    }

    /* Page header */
    .sb-page-header {
        padding: 120px 0 40px 0;
    }
}

@media (max-width: 480px) {
    .sb-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .sb-hero-buttons .sb-btn-primary,
    .sb-hero-buttons .sb-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.hidden { display: none; }
