:root {
    /* Premium Modern Color Palette */
    --primary-dark: #0f172a; /* Navy Blue Base */
    --primary: #1e3a8a; /* Deep Royal Blue */
    --primary-light: #3b82f6; /* Vibrant Blue */
    
    --secondary: #10b981; /* Emerald Green */
    --secondary-light: #34d399; /* Mint */
    
    --accent: #f59e0b; /* Amber/Gold for Highlights */
    --accent-light: #fbbf24;
    
    --dark: #1e293b;
    --text-muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 35px -5px rgba(0, 0, 0, 0.15);
    
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .outfit {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

/* Navbar */
.navbar-custom {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar-custom .nav-link {
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active {
    color: var(--primary);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar-brand:hover img {
    transform: scale(1.05);
}

/* ============================================
   HERO SECTION — Professional E-Learning
   ============================================ */
.hero {
    position: relative;
    padding: 140px 0 180px;
    background: url('../img/hero-elearning.png') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Deep layered overlay for readability */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        125deg,
        rgba(9, 14, 35, 0.96) 0%,
        rgba(15, 23, 42, 0.88) 40%,
        rgba(30, 58, 138, 0.70) 100%
    );
    z-index: 1;
}

/* Animated floating orb decorations */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: 1;
    animation: orb-pulse 8s ease-in-out infinite;
}

@keyframes orb-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50%       { transform: scale(1.15); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Floating badge pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    color: #a5f3fc;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

/* Animated underline on hero headline */
.hero h1 .highlight-word {
    position: relative;
    display: inline-block;
}
.hero h1 .highlight-word::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    border-radius: 4px;
    animation: underline-grow 1s ease forwards 0.5s;
    transform-origin: left;
    transform: scaleX(0);
}
@keyframes underline-grow {
    to { transform: scaleX(1); }
}

/* Hero feature chips */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}
.hero-feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
}
.hero-feature-chip svg { color: #34d399; }

/* Hero right: floating stat card */
.hero-stat-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    color: white;
}
.hero-stat-item {
    text-align: center;
    padding: 20px 0;
}
.hero-stat-item .stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #a5f3fc, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-item .stat-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   WHY CHOOSE US — Features Section
   ============================================ */
.feature-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 20px;
}

/* ============================================
   LEARNING PATHS — Category Cards
   ============================================ */
.category-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 40px rgba(0,0,0,0.12);
}

/* ============================================
   TESTIMONIAL / TRUST STRIP
   ============================================ */
.trust-strip {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    padding: 60px 0;
}
.trust-logo {
    opacity: 0.45;
    filter: grayscale(1) brightness(5);
    transition: opacity 0.3s;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}
.trust-logo:hover { opacity: 0.8; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 60%, #064e3b 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}


/* Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--secondary) 0%, #059669 100%);
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-outline-premium {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-outline-premium:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

/* Cards & Components */
.course-card {
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: var(--radius-lg);
    background: var(--white);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

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

.course-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.course-card .badge-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.glass-stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 20;
    margin-top: -80px;
}

.stat-item h2 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sidebar Filters (Courses Page) */
.filter-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.filter-group-title {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Custom Checkbox */
.custom-checkbox .form-check-input {
    border-color: #cbd5e1;
    cursor: pointer;
}
.custom-checkbox .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
.custom-checkbox .form-check-label {
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--dark);
}

/* Typography Helpers */
.text-gradient {
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    font-weight: 800;
    color: var(--primary-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 5px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Footer */
.footer-premium {
    background: var(--primary-dark);
    color: #e2e8f0;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-premium a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-premium a:hover {
    color: var(--secondary-light);
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-circle:hover {
    background: var(--primary-light);
    color: white !important;
    transform: translateY(-3px);
}
