/* Base Styles *//* Base Styles */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --primary-rgb: 79, 70, 229;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --secondary-light: #34d399;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --background-white: #ffffff;
    --background-light: #f9fafb;
    --background-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --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);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

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

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Header Styles - PERFECT FOR WEB VIEW (as before) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
    box-shadow: none;
    display: grid;
}

header.scrolled {
    background-color: var(--background-white);
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

/* Logo styles for transparent header */
.logo a {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 55px;
    width: 100px;
    filter: brightness(0) invert(1); /* Make logo white on transparent header */
    transition: filter 0.3s ease;
}

header.scrolled .logo-image {
    filter: none; /* Return to original colors when scrolled */
}

/* Search Box */
.search-container {
    flex: 0 0 30%;
    margin: 0 20px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

header.scrolled .search-box input {
    border-color: var(--border-color);
    background-color: var(--background-light);
    color: var(--text-dark);
}

header.scrolled .search-box input::placeholder {
    color: var(--text-light);
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

header.scrolled .search-btn {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* When scrolled, change link colors */
header.scrolled .nav-links a {
    color: var(--text-dark);
}

header.scrolled .nav-links a:hover, 
header.scrolled .nav-links a.active {
    color: var(--primary-color);
}

header.scrolled .nav-links a::after {
    background-color: var(--primary-color);
}

/* IMPROVED BUTTON STYLES - Better contrast and alignment */
.login-signup-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-outline {
    background-color: transparent;
    color: white;
    padding: 8px 20px;
    border: 2px solid white;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-1px);
}

header.scrolled .login-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

header.scrolled .login-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.signup-primary {
    background-color: white;
    color: var(--primary-color);
    padding: 8px 20px;
    border: 2px solid white;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.signup-primary:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-1px);
}

header.scrolled .signup-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

header.scrolled .signup-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-white);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    padding: 15px;
    min-width: 200px;
    display: none;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu a {
    display: block;
    padding: 8px 0;
    color: var(--text-dark);
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Button - IMPROVED 3 DOTS */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background-color: white;
    transition: var(--transition);
    border-radius: 1px;
}

header.scrolled .mobile-menu-btn span {
    background-color: var(--text-dark);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu - FIXED WITH LOGO AND PROPER BUTTON COLORS */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--background-white) 0%, var(--background-light) 100%);
    padding: 80px 25px 30px;
    z-index: 999;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: flex;
    transform: translateX(0);
}

/* Mobile Menu Header with Logo */
.mobile-menu-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 25px;
    background: var(--background-white);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.mobile-logo-image {
    height: 45px;
    width: 90px;
    filter: none; /* Keep original colors in mobile menu */
}

.mobile-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-close-btn:hover {
    background-color: var(--background-gray);
    color: var(--primary-color);
}

.mobile-search {
    position: relative;
    margin-bottom: 30px;
    margin-top: 70px; /* Space for fixed header */
}

.mobile-search input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--background-white);
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.mobile-search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-links {
    margin-bottom: 30px;
}

.mobile-nav-links li {
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links li:last-child {
    border-bottom: none;
}

.mobile-nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    padding: 15px 10px;
    transition: var(--transition);
    border-radius: 8px;
}

.mobile-nav-links a:hover, 
.mobile-nav-links a.active {
    color: var(--primary-color);
    background-color: rgba(var(--primary-rgb), 0.05);
    transform: translateX(5px);
}

.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-menu {
    padding-left: 20px;
    margin-top: 5px;
    display: none;
    background: var(--background-light);
    border-radius: 8px;
    margin: 10px 0;
    padding: 10px;
}

.mobile-dropdown-menu li {
    margin-bottom: 8px;
    border-bottom: none;
}

.mobile-dropdown-menu a {
    font-size: 1rem;
    padding: 12px 10px;
    color: var(--text-light);
}

.mobile-dropdown-menu a:hover {
    color: var(--primary-color);
    background-color: transparent;
    transform: none;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease;
}

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

/* FIXED MOBILE BUTTONS - Proper colors and visibility */
.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.mobile-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
}

/* FIXED: Mobile login button with proper colors */
.mobile-login-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-login-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* FIXED: Mobile signup button with proper colors */
.mobile-signup-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-signup-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Hero Slider Styles - PERFECT FULL SCREEN FOR WEB, 75% FOR MOBILE */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 100vh; /* Full screen for web */
    min-height: 600px;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 680px;
    text-align: left;
    margin-left: 5%;
    margin-top: 10%;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: left;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: flex-start;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.prev-slide, .next-slide {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: var(--transition);
}

.prev-slide:hover, .next-slide:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
}

/* RESPONSIVE DESIGN - Mobile Optimizations */
@media (max-width: 1200px) {
    .slide-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .search-container {
        display: none;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Show mobile menu button and hide desktop navigation */
    .nav-links, .login-signup-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Mobile Hero Slider - 75% screen height */
    .hero-slider {
        height: 75vh;
        min-height: 500px;
    }
    
    .slide-content {
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 5%;
        text-align: center;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .slide-content p {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 25px);
        text-align: center;
    }
    
    .header-content {
        padding: 12px 15px;
    }
    
    .logo-image {
        height: 45px;
        width: 85px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 75vh;
        min-height: 450px;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 15px);
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-text {
        font-size: 0.8rem;
    }
    
    .mobile-menu {
        padding: 0 20px 25px; /* Remove top padding since we have fixed header */
    }
    
    .mobile-search {
        margin-top: 80px; /* Adjust for fixed header */
    }
}

/* Remove body padding on home page */
body.home-page {
    padding-top: 0;
}

/* Loading optimization */
.slide {
    background-color: #1a1a1a; /* Dark placeholder for better loading */
}

.slide:not(.active) {
    display: none;
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.category-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.category-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.category-card p {
    color: var(--text-light);
}

.categories-cta {
    text-align: center;
}

/* About Us Section */
.about-section {
    padding: 100px 0;
    background-color: var(--background-white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 0 0 45%;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.about-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.experience-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-text {
    font-size: 0.9rem;
}

.about-text {
    flex: 0 0 50%;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

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

.about-feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.about-feature-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.about-feature-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.about-stat {
    text-align: center;
}

.about-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.about-stat-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: var(--background-light);
}

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

.feature-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Popular Courses Section */
.popular-courses {
    padding: 80px 0;
    background-color: var(--background-white);
}

.courses-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.course-image {
    position: relative;
}

.course-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-level {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.course-preview {
    position: relative;
    z-index: 2;
}

.preview-btn {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.preview-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.course-content {
    padding: 20px;
}

.course-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.course-category {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.course-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.course-title a {
    color: var(--text-dark);
    transition: var(--transition);
}

.course-title a:hover {
    color: var(--primary-color);
}

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

.course-lessons, .course-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.course-instructor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.course-instructor img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-original {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.course-details-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.course-details-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.courses-cta {
    text-align: center;
}

/* Testimonials Section *//* Testimonials Section */

.testimonials-section {
    padding: 6rem 0;
    background: #d4d4d4;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 0 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 0 0 33%;
    transition: transform 0.3s ease-in-out;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #34495e;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #3f51b5;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h4 {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
}

.author-info p {
    color: #6c757d;
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.slider-btn {
    background: #3f51b5;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #303f9f;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: #0f0e47;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-section .btn-primary {
    background-color: white;
    color: #0f0e47;
    border-color: white;
}

.cta-section .btn-primary:hover {
    background-color: transparent;
    color: white;
}

.cta-section .btn-outline {
    color: white;
    border-color: white;
}

.cta-section .btn-outline:hover {
    background-color: white;
    color: #0f0e47;
}

/* Footer */

.professional-footer {
    background: #0A1626;
    color: #FFFFFF;
    padding: 4rem 0 2rem;
    font-family: 'Inter', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo {
    width: 140px;
    height: 80px;
}

.brand-identity {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    margin: 0;
}

.brand-tagline {
    font-size: 0.875rem;
    color: #7C8CA5;
    margin: 0;
}

.footer-text {
    color: #94A3B8;
    line-height: 1.6;
    max-width: 380px;
    margin-bottom: 2.5rem;
}

.newsletter-form {
    max-width: 400px;
}

.form-title {
    font-size: 0.875rem;
    color: #CBD5E1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.newsletter-form form {
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 0.875rem;
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 0.9375rem;
}

.newsletter-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #3B82F6;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-btn:hover {
    background: #2563EB;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.nav-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #334155;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin-bottom: 0.75rem;
}

.nav-menu a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.9375rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a span {
    position: relative;
    padding-bottom: 2px;
}

.nav-menu a:hover {
    color: #FFFFFF;
}

.nav-menu a:hover span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: #3B82F6;
    animation: underlineSlide 0.3s ease-out;
}

@keyframes underlineSlide {
    from { width: 0 }
    to { width: 100% }
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-platforms {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: #94A3B8;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    color: #FFFFFF;
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.legal-links {
    display: flex;
    gap: 1rem;
    color: #64748B;
    font-size: 0.875rem;
}

.legal-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #3B82F6;
}

.divider {
    color: #334155;
}

.copyright {
    color: #64748B;
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-nav {
        grid-template-columns: 1fr;
    }
    
    .brand-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .slide-content h1 {
        font-size: 3rem;
    }
    
    .hero-slider {
        height: 600px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: 0 0 100%;
    }
}

@media (max-width: 992px) {
    .search-container {
        display: none;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-slider {
        height: 750px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .about-experience {
        bottom: -20px;
        right: -20px;
        padding: 15px;
    }
    
    .experience-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .header-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    .slide-content {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 15px);
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        flex: 0 0 calc(100% - 40px);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-stats {
        flex-wrap: wrap;
    }
    
    .about-stat {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-slider {
        height: 750px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .about-experience {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -30px;
        margin-left: auto;
        width: 150px;
    }
}

/* Remove body padding on home page */
body.home-page {
    padding-top: 0;
}