/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --secondary-color: #06b6d4;
    --secondary-light: #22d3ee;
    --accent-color: #3b82f6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background: #ffffff;
    --background-light: #f8fafc;
    --background-dark: #1f2937;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: none;
}

.nav-container {
    width: 100%;
    margin: 0;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 70px;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img.logo-image {
    height: 150px;
    width: auto;
    object-fit: contain;
    display: block;
    padding: 8px 0;
}

.nav-logo h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-dropdown i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.nav-dropdown {
    position: relative;
    z-index: 1001;
}

.nav-dropdown:hover {
    z-index: 1002;
}

.nav-dropdown:hover .nav-link-dropdown i,
.nav-dropdown.active .nav-link-dropdown i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    margin-top: 5px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    width: 90vw;
    max-width: 1200px;
    max-height: 500px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1002;
    padding: 1rem 1.25rem;
    display: block;
    pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    display: block;
    pointer-events: auto;
}

/* Mega Menu Grid Layout */
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

@media (max-width: 1024px) {
    .dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dropdown-grid {
        grid-template-columns: 1fr;
    }
    
    .dropdown-menu {
        width: 95vw;
        left: 0;
        transform: translateX(0) translateY(-10px);
        padding: 1rem;
    }
    
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        transform: translateX(0) translateY(0);
    }
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dropdown-category {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dropdown-category-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 0.35rem;
}

.dropdown-subcategory {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
    line-height: 1.3;
}

.dropdown-subcategory::before {
    content: '→';
    color: var(--primary-color);
    font-size: 0.875rem;
    transition: var(--transition);
}

.dropdown-subcategory:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.dropdown-subcategory:hover::before {
    transform: translateX(3px);
}

/* Ensure dropdown is visible when it has content */
.dropdown-menu:not(:empty) {
    min-height: 150px;
}

/* Legacy dropdown-item styles for backward compatibility */
.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--background-light);
    color: var(--primary-color);
    padding-left: 2rem;
}

.dropdown-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-item-name {
    font-weight: 500;
}

.dropdown-item-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: var(--background-light);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
}

.dropdown-item:hover .dropdown-item-count {
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
}

.dropdown-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: var(--text-secondary);
}

.spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: #030a1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 70px; /* Account for fixed navbar height */
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-position: center 20%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform-origin: center;
    animation: heroZoomPrimary 24s ease-in-out infinite;
    opacity: 0;
    z-index: 0;
}

.hero::before {
    background-image: url('/imgs/hero-image.jpeg');
    animation-name: heroZoomPrimary;
}

.hero::after {
    background-image: url('/imgs/celebration.jpg');
    animation-name: heroZoomSecondary;
}

.hero > * {
    position: relative;
    z-index: 1;
}

@keyframes heroZoomPrimary {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    45% {
        opacity: 1;
        transform: scale(1.12);
    }
    55% {
        opacity: 0;
        transform: scale(1.15);
    }
    100% {
        opacity: 0;
        transform: scale(1.15);
    }
}

@keyframes heroZoomSecondary {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }
    45% {
        opacity: 0;
        transform: scale(1.08);
    }
    55% {
        opacity: 1;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* Crawling Shapes Background */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    backdrop-filter: blur(3px);
    border: 2px solid;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease-out;
}

@keyframes bump {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Hexagon Shape */
.hero-shape-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    background: rgba(6, 182, 212, 0.5);
    border-color: rgba(6, 182, 212, 0.7);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
}


/* Triangle Shape */
.hero-shape-2 {
    width: 0;
    height: 0;
    top: 40%;
    left: 50%;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(139, 92, 246, 0.5);
    background: transparent;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

/* Diamond Shape */
.hero-shape-3 {
    width: 60px;
    height: 60px;
    top: 65%;
    left: 20%;
    background: rgba(236, 72, 153, 0.5);
    border-color: rgba(236, 72, 153, 0.7);
    transform: rotate(45deg);
}

/* Circle Shape */
.hero-shape-4 {
    width: 70px;
    height: 70px;
    top: 25%;
    left: 60%;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.45);
    border-color: rgba(6, 182, 212, 0.65);
}

/* Square Shape */
.hero-shape-5 {
    width: 65px;
    height: 65px;
    top: 55%;
    left: 70%;
    background: rgba(139, 92, 246, 0.5);
    border-color: rgba(139, 92, 246, 0.7);
}

/* Star Shape */
.hero-shape-6 {
    width: 50px;
    height: 50px;
    top: 80%;
    left: 30%;
    background: rgba(236, 72, 153, 0.5);
    border-color: rgba(236, 72, 153, 0.7);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Animated Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* smoke-canvas removed */

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Crawling Animations */
@keyframes crawlRight {
    0% {
        transform: translateX(-100px) translateY(0);
    }
    50% {
        transform: translateX(calc(100vw + 100px)) translateY(20px);
    }
    100% {
        transform: translateX(calc(200vw + 100px)) translateY(0);
    }
}

@keyframes crawlLeft {
    0% {
        transform: translateX(calc(100vw + 100px)) translateY(0);
    }
    50% {
        transform: translateX(-100px) translateY(-20px);
    }
    100% {
        transform: translateX(calc(-200vw - 100px)) translateY(0);
    }
}

@keyframes crawlDiagonal {
    0% {
        transform: translateX(-100px) translateY(-50px) rotate(0deg);
    }
    25% {
        transform: translateX(25vw) translateY(10vh) rotate(90deg);
    }
    50% {
        transform: translateX(calc(50vw + 100px)) translateY(5vh) rotate(180deg);
    }
    75% {
        transform: translateX(75vw) translateY(15vh) rotate(270deg);
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateY(-50px) rotate(360deg);
    }
}

@keyframes crawlWave {
    0% {
        transform: translateX(-100px) translateY(0) rotate(0deg);
    }
    12.5% {
        transform: translateX(12.5vw) translateY(-30px) rotate(45deg);
    }
    25% {
        transform: translateX(25vw) translateY(0) rotate(0deg);
    }
    37.5% {
        transform: translateX(37.5vw) translateY(30px) rotate(-45deg);
    }
    50% {
        transform: translateX(50vw) translateY(0) rotate(0deg);
    }
    62.5% {
        transform: translateX(62.5vw) translateY(-30px) rotate(45deg);
    }
    75% {
        transform: translateX(75vw) translateY(0) rotate(0deg);
    }
    87.5% {
        transform: translateX(87.5vw) translateY(30px) rotate(-45deg);
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(0) rotate(0deg);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) translateX(150px) rotate(360deg);
        opacity: 0;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

/* Section Headers */
/* Partners Logo Ribbon */
.partners-ribbon {
    padding: 0;
    background: var(--background-light);
    overflow: hidden;
    position: relative;
}

.partners-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: scroll-infinite 30s linear infinite;
    width: fit-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 0 1.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-height: 100px;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(100%);
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background: var(--background);
}

/* Category Cards - Same styling as All Courses */
.category-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.category-card .card-header {
    border-radius: 1rem 1rem 0 0 !important;
    border: none !important;
}

.category-card .card-body {
    border-radius: 0 0 1rem 1rem !important;
}

.explore-category-btn {
    transition: all 0.3s ease;
}

.explore-category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

.explore-category-btn:hover i {
    transform: translateX(3px);
}

/* Force wider cards on large screens */
@media (min-width: 992px) {
    .category-card {
        min-width: 600px;
        max-width: 800px;
    }
    
    .row.g-4 {
        justify-content: center;
        gap: 3rem !important;
    }
}

.course-card {
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.course-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.course-image[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.course-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0.5px);
}

.course-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.course-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.course-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-header {
    margin-bottom: 1.5rem;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.course-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.course-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.course-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.course-stat i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.course-stat span {
    font-weight: 500;
}

.course-list {
    margin-bottom: 1.5rem;
}

.course-list-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.course-list-items {
    list-style: none;
    padding: 0;
}

.course-list-items li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.course-list-items li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.course-action {
    margin-top: auto;
}

.course-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.course-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.course-btn:hover::before {
    left: 100%;
}

.course-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.course-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.course-btn:hover i {
    transform: translateX(4px);
}

.courses-loading {
    text-align: center;
    padding: 3rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Categories Section - Modern Redesign */
.categories {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.categories .container {
    position: relative;
    z-index: 2;
}

.categories .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.categories .section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #fff, #f0f9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.categories .section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.categories-grid,
.courses-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

/* Large screens - 3 cards per row */
@media (min-width: 992px) {
    .categories-grid,
    .courses-grid-small {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
        margin: 0;
        gap: 2rem;
    }
    
    .categories .container,
    .courses .container {
        max-width: 1400px;
    }
}

/* Extra large screens - maintain 3 cards per row */
@media (min-width: 1200px) {
    .categories-grid,
    .courses-grid-small {
        gap: 2.5rem;
    }
}

.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-card .card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.category-card .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem 1.25rem 1rem;
    color: white;
}

.category-card .location-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.category-card .location-country {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.category-card .course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.category-card .card-content {
    padding: 1.5rem 1.25rem;
}

.category-card .main-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.category-card .next-session {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.category-card .features-section {
    margin-bottom: 1.5rem;
}

.category-card .features-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.75rem;
}

.category-card .features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-card .feature-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #4a5568;
}

.category-card .feature-dot {
    width: 6px;
    height: 6px;
    background: #667eea;
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.category-card .explore-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pagination Controls */
.categories-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pagination-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pagination-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    box-shadow: none;
}

.pagination-info {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

.load-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 2rem auto;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design for Categories */
@media (max-width: 768px) {
    .categories {
        padding: 60px 0;
    }
    
    .categories .section-header h2 {
        font-size: 2.2rem;
    }
    
    .categories .section-header p {
        font-size: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
        padding: 1rem 0;
    }
    
    .category-card {
        padding: 1.25rem;
    }
    
    .category-card i {
        font-size: 2.2rem;
    }
    
    .category-card h3 {
        font-size: 1.2rem;
    }
    
    .category-stats {
        margin: 0.75rem 0;
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .categories .section-header h2 {
        font-size: 1.8rem;
    }
    
    .categories .section-header p {
        font-size: 0.9rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .category-card i {
        font-size: 2rem;
    }
    
    .category-card h3 {
        font-size: 1.1rem;
    }
    
    .explore-btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
}

.sample-courses {
    margin-bottom: 1.5rem;
    flex: 1;
}

.sample-courses h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sample-courses h4::before {
    content: "⭐";
    font-size: 1.1rem;
}

.sample-courses ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sample-courses li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding-left: 1.5rem;
}

.sample-courses li:last-child {
    border-bottom: none;
}

.sample-courses li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.explore-category-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    margin-top: auto;
}

.explore-category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.explore-category-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.explore-category-btn:hover i {
    transform: translateX(3px);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--background);
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.testimonials-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.testimonials-section .container {
    position: relative;
    z-index: 3;
}

.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-section .section-header h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.testimonials-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    padding-bottom: 1rem;
}

.testimonials-track::-webkit-scrollbar {
    height: 8px;
}

.testimonials-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.testimonials-track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.testimonials-track::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    min-width: 350px;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
    padding-left: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-style: normal;
    padding-left: 0;
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: #fbbf24;
    font-size: 0.9rem;
}


.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.process-image-mobile {
    display: none;
    text-align: center;
    margin-bottom: 2rem;
}

.process-image-mobile img {
    width: 100%;
    max-width: 420px;
    display: inline-block;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-secondary);
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--background-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* Success Stories Section */
.success-stories {
    padding: 80px 0;
    background: var(--background-light);
}

.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Mobile horizontal scroll */
@media (max-width: 768px) {
    .success-stories {
        position: relative;
    }
    
    .success-stories::after {
        content: '← Swipe to see more stories →';
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: var(--primary-color);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 500;
        z-index: 10;
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0%, 100% { opacity: 0.8; }
        50% { opacity: 1; }
    }
    
    .success-stories-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1rem;
        padding: 0 1rem;
        margin: 0 -1rem 2rem -1rem;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    .success-stories-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .success-stories-grid::-webkit-scrollbar-track {
        background: var(--border-light);
        border-radius: 2px;
    }
    
    .success-stories-grid::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    .success-stories-grid::-webkit-scrollbar-thumb:hover {
        background: var(--primary-dark);
    }
    
    .success-story-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
}

.success-story-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.success-story-card:nth-child(1) { animation-delay: 0.1s; }
.success-story-card:nth-child(2) { animation-delay: 0.2s; }
.success-story-card:nth-child(3) { animation-delay: 0.3s; }

.success-story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.story-image {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.success-story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-content {
    padding: 1.5rem;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.story-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.story-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.story-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.story-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.story-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.author-info h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.story-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.story-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.story-stats .stat i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.success-stories-cta {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.success-stories-cta p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close:hover {
    color: var(--text-primary);
}

.modal h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        max-height: none;
        margin-top: 0;
        padding: 0.5rem 0 0.5rem 2rem;
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .stat h3 {
        font-size: 1.5rem;
    }
    
    .stat p {
        font-size: 0.8rem;
    }

    .hero {
        background-position: center 30%;
        margin-top: 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .categories-grid {
        gap: 0;
        padding: 0;
    }
    
    .category-card {
        min-width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
        border-radius: 0;
    }

    /* Testimonials responsive */
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-section .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonials-section .section-header p {
        font-size: 1rem;
    }
    
    .testimonial-card {
        min-width: 280px;
        max-width: 320px;
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info p {
        font-size: 0.85rem;
    }

    /* Contact responsive */
    .contact {
        padding: 60px 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-details h3 {
        font-size: 1.1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }

    .steps-grid {
        display: none;
    }

    .process-image-mobile {
        display: block;
    }

    .categories-grid .category-card,
    #courses-grid .category-card {
        width: 100%;
        max-width: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .story-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .story-stats {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .courses,
    .categories,
    .how-it-works,
    .testimonials,
    .success-stories,
    .cta {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .categories-grid,
    #courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .categories-grid .category-card,
    #courses-grid .category-card {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-card,
.category-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Login Page Styles */
.login-page {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.login-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.login-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
}

.login-branding {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(6, 182, 212, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-branding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/imgs/hero-image.jpeg') center/cover;
    opacity: 0.2;
    z-index: -1;
}

.branding-content {
    text-align: center;
    max-width: 400px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.logo i {
    font-size: 3rem;
    color: var(--secondary-color);
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.branding-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.branding-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.feature i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.login-form-section {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.form-container {
    width: 100%;
    max-width: 400px;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group label i {
    color: var(--secondary-color);
    width: 16px;
}

.form-group input {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--background-light);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    background: white;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--primary-color);
    background: var(--background-light);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -0.5rem 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.remember-me input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

.remember-me input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.remember-me input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.login-btn:active {
    transform: translateY(0);
}

.divider {
    text-align: center;
    position: relative;
    margin: 1rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    gap: 1rem;
}

.social-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: white;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

.social-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-btn.google:hover {
    border-color: #db4437;
    color: #db4437;
}

.social-btn.github:hover {
    border-color: #333;
    color: #333;
}

.signup-link {
    text-align: center;
    margin-top: 1rem;
}

.signup-link p {
    color: var(--text-secondary);
    margin: 0;
}

.signup-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.signup-link a:hover {
    text-decoration: underline;
}

.back-home {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.back-home:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design for Login Page */
@media (max-width: 768px) {
    .login-page {
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .login-container {
        grid-template-columns: 1fr;
        min-height: auto;
        height: auto;
    }
    
    .login-branding {
        padding: 2rem;
        min-height: 50vh;
    }
    
    .login-form-section {
        padding: 2rem;
        min-height: 50vh;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .branding-content h2 {
        font-size: 1.5rem;
    }
    
    .stats {
        gap: 1rem;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    .back-home {
        top: 1rem;
        left: 1rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .login-page {
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .login-branding,
    .login-form-section {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .form-container {
        max-width: 100%;
    }
    
    .logo {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo h1 {
        font-size: 1.75rem;
    }
    
    .login-container {
        min-height: auto;
        height: auto;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Category Page Styles */
.category-page {
    padding: 2rem 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.back-btn:hover {
    background: var(--primary-color);
    color: white;
}

.category-header h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin: 0;
}

.category-courses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    margin-bottom: 3rem;
}

.category-course-card,
.featured-course-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.category-course-card:hover,
.featured-course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-course-card .course-image,
.featured-course-card .course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.category-course-card .course-image img,
.featured-course-card .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* Top Course Badge */
.top-course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    z-index: 2;
    animation: pulse 2s infinite;
}

.top-course-badge i {
    font-size: 0.7rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(251, 191, 36, 0.5);
    }
    100% {
        box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    }
}

/* Category Cards with Top Courses - OLD CSS (replaced with Bootstrap) */
/*
.category-card {
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
}

.category-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.category-header {
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.category-icon {
    font-size: 3.5rem;
    opacity: 0.95;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.top-courses-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.top-courses-badge i {
    font-size: 0.8rem;
    color: #fbbf24;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.category-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.category-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.category-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
}

.category-stats .stat {
    text-align: center;
}

.category-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.category-stats .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sample-courses {
    margin-bottom: 1.5rem;
}

.sample-courses h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.sample-courses ul {
    list-style: none;
    padding: 0;
}

.sample-courses li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.sample-courses li:before {
    content: "⭐";
    position: absolute;
    left: 0;
    top: 0.25rem;
    font-size: 0.8rem;
}

.explore-category-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.explore-category-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.explore-category-btn i {
    transition: var(--transition);
}

.explore-category-btn:hover i {
    transform: translateX(4px);
}
*/

/* Training Schedule Section */
.training-schedule {
    padding: 4rem 0;
    background: white;
}

.schedule-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

/* Upcoming Events Section */
.upcoming-events {
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.upcoming-events h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.events-list {
    flex: 1;
    overflow-y: auto;
    max-height: 500px;
    padding-right: 0.5rem;
}

.events-list::-webkit-scrollbar {
    width: 6px;
}

.events-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.events-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.events-list::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.event-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.event-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.event-item.training-session {
    border-left-color: #e91e63;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.event-date i {
    color: var(--primary-color);
}

.event-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.event-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.event-time,
.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.event-time i,
.event-location i {
    color: var(--primary-color);
    width: 14px;
}

.event-type {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-type.virtual {
    background: rgba(233, 30, 99, 0.1);
    color: #e91e63;
}

.event-type.physical {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.join-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.join-btn:hover::before {
    left: 100%;
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.join-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .schedule-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .upcoming-events {
        height: auto;
        max-height: 400px;
    }
    
    .events-list {
        max-height: 300px;
    }
}

/* Calendar View */
.calendar-view {
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.calendar-nav {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-nav:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    font-weight: 500;
}

.calendar-day:hover {
    background: var(--primary-color);
    color: white;
}

.calendar-day.has-event:hover {
    background: #c2185b;
    color: white;
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    border: 2px solid var(--secondary-color);
    transform: scale(1.1);
}

.calendar-day.selected.has-event {
    background: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.calendar-day.other-month {
    color: var(--text-light);
}

.calendar-day.today {
    background: var(--secondary-color);
    color: white;
    font-weight: 700;
}

.calendar-day.training-day {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    font-weight: bold;
    position: relative;
}

.calendar-day.training-day::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.calendar-day.has-event {
    background: #e91e63;
    color: white;
    font-weight: 600;
}

.calendar-day.upcoming-date {
    background: #ff69b4;
    color: white;
    font-weight: 600;
    position: relative;
}

.calendar-day.upcoming-date::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.calendar-day.upcoming-date:hover {
    background: #ff1493;
    color: white;
    transform: scale(1.05);
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

/* Upcoming Events */
.upcoming-events {
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.upcoming-events h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.event-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.event-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-date i {
    font-size: 0.8rem;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.event-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.event-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.event-type {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.event-type.workshop {
    background: var(--secondary-color);
}

.event-type.webinar {
    background: var(--warning-color);
}

.event-type.bootcamp {
    background: var(--error-color);
}

/* Responsive Design for Training Schedule */
@media (max-width: 768px) {
    .schedule-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calendar-view,
    .upcoming-events {
        padding: 1.5rem;
    }
    
    .calendar-grid {
        gap: 0.25rem;
    }
    
    .calendar-day {
        font-size: 0.8rem;
    }
    
    .event-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .training-schedule {
        padding: 3rem 0;
    }
    
    .calendar-header h3 {
        font-size: 1.2rem;
    }
    
    .calendar-nav {
        width: 35px;
        height: 35px;
    }
    
    .calendar-day {
        font-size: 0.7rem;
    }
    
    .event-title {
        font-size: 1rem;
    }
    
    .event-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* All Courses Section */
.all-courses {
    padding: 4rem 0;
    background: var(--background-light);
}

/* Courses Filters */
.courses-filters {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
    flex: 1;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.filter-select,
.filter-input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.filter-input {
    width: 100%;
}

/* Small Courses Grid */
.courses-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Top Categories Grid */
#courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    min-height: 200px;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
}

.category-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 120px;
    max-width: 100%;
    border: 1px solid #e2e8f0;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.explore-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(49, 130, 206, 0.3);
}

/* Responsive grid for different screen sizes */
@media (min-width: 992px) {
    #courses-grid {
        grid-template-columns: repeat(2, 1fr); /* lg: 2 cards per row (6 columns each) */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #courses-grid {
        grid-template-columns: repeat(2, 1fr); /* md: 2 cards per row */
    }
}

@media (max-width: 767px) {
    #courses-grid {
        grid-template-columns: 1fr; /* sm: 1 card per row */
    }
}

/* Small Course Card */
.course-card-small {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.course-card-small:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.course-card-small .course-image {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.course-card-small .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card-small:hover .course-image img {
    transform: scale(1.05);
}

.course-card-small .top-course-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(251, 191, 36, 0.3);
    z-index: 2;
}

.course-card-small .course-content {
    padding: 1.25rem;
}

.course-card-small .course-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card-small .course-instructor {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.course-card-small .course-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card-small .course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.course-card-small .course-duration,
.course-card-small .course-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.course-card-small .course-duration i,
.course-card-small .course-rating i {
    color: var(--secondary-color);
    font-size: 0.75rem;
}

.course-card-small .course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-card-small .course-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.course-card-small .enroll-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.course-card-small .enroll-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-container .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 2rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .category-card {
        margin: 0 0.5rem;
    }
    
    .category-header {
        height: 140px;
        padding: 1.5rem;
    }
    
    .category-icon {
        font-size: 3rem;
    }
    
    .category-content {
        padding: 1.5rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .category-stats {
        gap: 1rem;
    }
    
    .category-stats .stat {
        padding: 0.75rem;
    }
    
    .category-stats .stat-number {
        font-size: 1.75rem;
    }
    
    .explore-category-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .courses-filters {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .courses-grid-small {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .courses-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .category-card {
        margin: 0;
    }
    
    .category-header {
        height: 120px;
        padding: 1rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .top-courses-badge {
        top: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .category-content {
        padding: 1rem;
    }
    
    .category-title {
        font-size: 1.25rem;
    }
    
    .category-description {
        font-size: 0.9rem;
    }
    
    .category-stats {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .category-stats .stat {
        padding: 0.5rem;
    }
    
    .category-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .category-stats .stat-label {
        font-size: 0.75rem;
    }
    
    .sample-courses h4 {
        font-size: 0.9rem;
    }
    
    .sample-courses li {
        font-size: 0.8rem;
        padding: 0.4rem 0;
        padding-left: 1.25rem;
    }
    
    .explore-category-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .courses-grid-small {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .course-card-small .course-content {
        padding: 0.75rem;
    }
    
    .course-card-small .course-title {
        font-size: 1rem;
    }
    
    .course-card-small .course-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
    
    .course-card-small .course-meta {
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }
    
    .course-card-small .enroll-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .course-card-small .course-price {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .courses-grid-small {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .course-card-small .course-content {
        padding: 0.5rem;
    }
    
    .course-card-small .course-title {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .course-card-small .course-instructor {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .course-card-small .course-description {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .course-card-small .course-meta {
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
    }
    
    .course-card-small .enroll-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .course-card-small .course-price {
        font-size: 0.9rem;
    }
}

.category-course-card:hover .course-image img,
.featured-course-card:hover .course-image img {
    transform: scale(1.05);
}

.category-course-card .course-overlay,
.featured-course-card .course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.category-course-card:hover .course-overlay,
.featured-course-card:hover .course-overlay {
    opacity: 1;
}

.category-course-card .enroll-btn,
.featured-course-card .enroll-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.category-course-card .enroll-btn:hover,
.featured-course-card .enroll-btn:hover {
    background: var(--secondary-color);
    color: white;
}

.category-course-card .course-content,
.featured-course-card .course-content {
    padding: 1.5rem;
}

.category-course-card .course-title,
.featured-course-card .course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.category-course-card .course-instructor,
.featured-course-card .course-instructor {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.category-course-card .course-description,
.featured-course-card .course-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.category-course-card .course-meta,
.featured-course-card .course-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.category-course-card .course-duration,
.category-course-card .course-level,
.featured-course-card .course-duration,
.featured-course-card .course-level {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.category-course-card .course-duration i,
.category-course-card .course-level i,
.featured-course-card .course-duration i,
.featured-course-card .course-level i {
    color: var(--secondary-color);
}

.category-course-card .course-footer,
.featured-course-card .course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.category-course-card .course-price,
.featured-course-card .course-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.category-course-card .view-course-btn,
.featured-course-card .view-course-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.category-course-card .view-course-btn:hover,
.featured-course-card .view-course-btn:hover {
    background: var(--secondary-color);
}

/* Loading and Error States */
.category-loading,
.category-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 2rem;
}


.category-loading p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.category-error h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.category-error p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 0 2rem;
}

.page-btn {
    background: white;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.page-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive adjustments for category page */
@media (max-width: 768px) {
    .category-courses {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .category-header {
        padding: 0 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .category-header h1 {
        font-size: 2rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .page-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* No Courses Message Styles */
.no-courses-message {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.no-courses-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.no-courses-message h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-courses-message p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.coming-soon-categories {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
}

.coming-soon-categories h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.category-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.category-tag:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive adjustments for no courses message */
@media (max-width: 768px) {
    .no-courses-message {
        padding: 2rem 1rem;
    }
    
    .no-courses-icon {
        font-size: 3rem;
    }
    
    .no-courses-message h3 {
        font-size: 1.5rem;
    }
    
    .no-courses-message p {
        font-size: 1rem;
    }
    
    .coming-soon-categories {
        padding: 1.5rem;
    }
    
    .category-tags {
        gap: 0.5rem;
    }
    
    .category-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--background-light);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Work Button Styles */
.work-button-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.work-btn {
    background: #4285f4;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.work-btn:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

.work-btn i {
    font-size: 16px;
}

/* Work Modal Styles */
.work-modal {
    max-width: 450px;
    width: 90%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.google-header {
    text-align: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 24px;
}

.google-logo {
    height: 40px;
    margin-bottom: 16px;
}

.google-header h2 {
    color: #202124;
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 8px;
    font-family: 'Google Sans', 'Roboto', sans-serif;
}

.google-header p {
    color: #5f6368;
    font-size: 16px;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.work-form {
    padding: 0 24px 24px;
}

.work-form .form-group {
    margin-bottom: 20px;
}

.work-form input[type="email"],
.work-form input[type="password"] {
    width: 100%;
    padding: 16px 14px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.work-form input[type="email"]:focus,
.work-form input[type="password"]:focus {
    outline: none;
    border-color: #4285f4;
    border-width: 2px;
    padding: 15px 13px;
}

.form-options {
    margin-bottom: 24px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #5f6368;
    font-family: 'Roboto', sans-serif;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 8px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.btn-link {
    background: none;
    border: none;
    color: #1a73e8;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    padding: 0;
}

.btn-link:hover {
    text-decoration: underline;
}

.work-form .btn-primary {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Google Sans', 'Roboto', sans-serif;
    transition: background-color 0.2s ease;
}

.work-form .btn-primary:hover {
    background: #1557b0;
}

.work-footer {
    background: #f8f9fa;
    padding: 16px 24px;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #5f6368;
    font-family: 'Roboto', sans-serif;
}

.work-links {
    display: flex;
    gap: 16px;
}

.work-links a {
    color: #1a73e8;
    text-decoration: none;
}

.work-links a:hover {
    text-decoration: underline;
}

/* Success Modal Styles */
.success-content {
    text-align: center;
    padding: 24px;
}

.success-icon {
    font-size: 48px;
    color: #34a853;
    margin-bottom: 16px;
}

.success-content p {
    color: #5f6368;
    font-size: 16px;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

/* Phone Verification Specific Styles */
.phone-verification-modal .google-header p {
    color: #ea4335;
    font-weight: 500;
}

/* Password Reset Specific Styles */
.password-reset-modal .google-header p {
    color: #ea4335;
    font-weight: 500;
}

/* Loading states */
.work-form .btn-primary:disabled {
    background: #dadce0;
    cursor: not-allowed;
}

.work-form .btn-primary.loading {
    position: relative;
    color: transparent;
}

.work-form .btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* Enrollment Modal Styles */
.enrollment-modal {
    max-width: 800px;
    width: 95%;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    max-height: 90vh;
    overflow-y: auto;
}

.enrollment-header {
    text-align: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.enrollment-header h2 {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 8px;
}

.enrollment-header p {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}

.enrollment-form {
    padding: 0 24px 24px;
}

.form-section {
    margin-bottom: 32px;
    padding: 20px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.form-section h3 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.enrollment-form .form-group {
    margin-bottom: 16px;
}

.enrollment-form .form-group:last-child {
    margin-bottom: 0;
}

.enrollment-form label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: block;
}

.enrollment-form input,
.enrollment-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background: white;
}

.enrollment-form input:focus,
.enrollment-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.enrollment-form select {
    cursor: pointer;
}

/* Calendar Styles */
.enrollment-calendar {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 16px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.calendar-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
}

.calendar-nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.calendar-nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 4px;
    font-size: 14px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    background: white;
    border: 1px solid transparent;
}

.calendar-day:hover:not(.disabled) {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.calendar-day.today {
    background: var(--secondary-color);
    color: white;
    font-weight: 600;
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.3);
}

.calendar-day.disabled {
    color: var(--text-light);
    cursor: not-allowed;
    background: var(--background-light);
}

.calendar-day.disabled:hover {
    background: var(--background-light);
    transform: none;
}

.selected-date-display {
    background: var(--primary-color);
    color: white;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.form-actions .btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-actions .btn-secondary {
    background: var(--background-light);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.form-actions .btn-secondary:hover {
    background: var(--border-color);
}

.form-actions .btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.form-actions .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.form-actions .btn-primary:disabled {
    background: var(--text-light);
    border-color: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

/* Bulk course management */
.bulk-course-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.bulk-upload-label input {
    display: none;
}

.bulk-helper-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 320px;
}

.bulk-status {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.bulk-status.success {
    color: var(--success-color);
}

.bulk-status.error {
    color: var(--error-color);
}

.bulk-status.warning {
    color: var(--warning-color);
}

/* Responsive Design for Enrollment Modal */
@media (max-width: 768px) {
    .enrollment-modal {
        width: 98%;
        max-width: none;
        margin: 2% auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-section {
        padding: 16px;
        margin-bottom: 24px;
    }
    
    .enrollment-form {
        padding: 0 16px 16px;
    }
    
    .enrollment-header {
        padding: 20px 16px 0;
    }
    
    .enrollment-header h2 {
        font-size: 24px;
    }
    
    .calendar-grid {
        gap: 2px;
    }
    
    .calendar-day {
        font-size: 14px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .enrollment-modal {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .enrollment-header h2 {
        font-size: 20px;
    }
    
    .enrollment-header p {
        font-size: 14px;
    }
    
    .form-section h3 {
        font-size: 16px;
    }
}

/* Course Card Price Styling */
.course-price {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.course-price i {
    color: var(--success-color);
}
