:root {
    --primary: #4F46E5;
    --primary-light: #818CF8;
    --dark: #1F2937;
    --light: #F3F4F6;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.9);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: #FAFAFA;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

nav a {
    text-decoration: none;
    color: var(--dark);
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
button {
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
}

.btn-primary:hover {
    background: #4338CA;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(79, 70, 229, 0.05);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Pulse Glow Effect */
@keyframes softPulse {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

.pulse-glow {
    animation: softPulse 2s infinite;
}

/* Floating Emoji Setup */
.hover-emoji {
    position: relative;
}

.floating-emoji {
    position: absolute;
    font-size: 1.5rem;
    pointer-events: none;
    animation: floatUp 1s ease-out forwards;
    z-index: 1000;
}

@keyframes floatUp {
    0% { opacity: 1; transform: translate(-50%, 0) scale(0.5); }
    100% { opacity: 0; transform: translate(-50%, -50px) scale(1.5); }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 5%;
    gap: 2rem;
    background: transparent;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary);
}

.hero p {
    color: #4B5563;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.search-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.popular-searches {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    color: #6B7280;
}

.tag {
    background: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    transition: all 0.3s;
}

.tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cta-group {
    display: flex;
    gap: 1rem;
}

/* Organic Animations */
@keyframes organicFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes organicFloatDelayed {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-2deg); }
}

.organic-float {
    animation: organicFloat 6s ease-in-out infinite;
}

.organic-float-delayed {
    animation: organicFloatDelayed 7s ease-in-out infinite 1s;
}

/* 3D Tilt Elements */
.tilt-element {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* Hero Image & Cards */
.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
}

.main-img {
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 100%;
    transform: translateZ(20px);
}

.floating-card {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateZ(40px); /* 3D depth */
}

.ai-tutor-card {
    top: 20%;
    left: -10%;
}

.progress-card {
    bottom: 20%;
    right: -5%;
}

.floating-card .icon {
    font-size: 2rem;
    background: #EEF2FF;
    padding: 0.5rem;
    border-radius: 50%;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 5%;
    text-align: center;
    background: var(--white);
    border-bottom: 1px solid #E5E7EB;
}

.stat-item {
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s;
    cursor: pointer;
}

.stat-item h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Common Section Styles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #6B7280;
    max-width: 600px;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* About Section */
.about-section {
    display: flex;
    align-items: center;
    padding: 5rem 5%;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.about-badge {
    position: absolute;
    top: 20px;
    right: -20px;
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mission, .vision {
    display: flex;
    gap: 1rem;
}

.mission .icon, .vision .icon {
    font-size: 2rem;
}

/* Categories */
.courses-section {
    padding: 5rem 5%;
    background: #F9FAFB;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.category-card .icon-wrap {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 1rem;
    background: #EEF2FF;
    border-radius: 12px;
}

.category-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.category-card ul {
    list-style: none;
    color: #6B7280;
    font-size: 0.9rem;
}

.category-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
}

.category-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Expert Courses */
.expert-courses {
    padding: 5rem 5%;
}

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

.course-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.course-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.course-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 1rem;
}

.course-tag {
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.favorite-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #EF4444;
}

.course-info {
    padding: 1.5rem;
}

.course-info h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 1rem;
}

.course-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #4B5563;
    margin-bottom: 1.5rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #E5E7EB;
    padding-top: 1rem;
}

.course-footer .price {
    font-size: 1.25rem;
    font-weight: 700;
}

/* AI Assistant */
.ai-assistant-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 5%;
    background: #EEF2FF;
    margin: 0 5%;
    border-radius: 24px;
    gap: 2rem;
}

.ai-assistant-content {
    flex: 1;
    max-width: 400px;
}

.ai-assistant-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.ai-assistant-content p {
    color: #4B5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ai-chat-interface {
    flex: 1;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.chat-header .icon {
    font-size: 2rem;
    background: #EEF2FF;
    padding: 0.5rem;
    border-radius: 50%;
}

.chat-input-area {
    display: flex;
    gap: 0.5rem;
}

.chat-input-area input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    outline: none;
}

.ai-capabilities {
    flex: 1;
    position: relative;
}

.ai-capabilities ul {
    list-style: none;
    margin-top: 1rem;
}

.ai-capabilities li {
    margin-bottom: 0.5rem;
    color: #4B5563;
}

/* Steps Section */
.steps-section {
    padding: 5rem 5%;
    text-align: center;
}

.steps-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.steps-section p {
    color: #6B7280;
    margin-bottom: 3rem;
}

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

.step-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

/* Benefits Section */
.benefits-section {
    padding: 5rem 5%;
    background: #F9FAFB;
}

.benefits-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.benefits-section > p {
    color: #6B7280;
    margin-bottom: 3rem;
}

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

.benefit-item {
    display: flex;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.benefit-item .icon {
    font-size: 2rem;
}

.benefit-item h4 {
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: #6B7280;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials-section {
    padding: 5rem 5%;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.testimonials-section > p {
    color: #6B7280;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 16px;
}

.testimonial-card p {
    font-style: italic;
    color: #4B5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 5%;
    background: var(--white);
    text-align: center;
}

.faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.faq-section > p {
    color: #6B7280;
    margin-bottom: 3rem;
}

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

.faq-card {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--primary);
}

.faq-card p {
    color: #4B5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 5rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #F9FAFB;
}

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

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-header p {
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-container {
    width: 100%;
    max-width: 800px;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

textarea.form-input {
    resize: vertical;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-container {
        padding: 2rem;
    }
}

/* Footer */
footer {
    background: #111827;
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9CA3AF;
}

.footer-links h4, .footer-social h4, .footer-newsletter h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: #9CA3AF;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #9CA3AF;
    text-decoration: none;
}

.newsletter-input {
    display: flex;
}

.newsletter-input input {
    padding: 0.75rem;
    border: none;
    border-radius: 8px 0 0 8px;
    outline: none;
    width: 100%;
}

.newsletter-input button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9CA3AF;
    font-size: 0.9rem;
}

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

.bottom-links a {
    color: #9CA3AF;
    text-decoration: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem 5%;
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        order: 3;
        margin-top: 1rem;
    }

    nav a {
        margin: 0.75rem 0;
        font-size: 1.1rem;
    }

    .auth-buttons {
        display: none;
        width: 100%;
        flex-direction: column;
        order: 4;
        gap: 1rem;
        margin-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .auth-buttons button {
        width: 100%;
    }

    .navbar.nav-active nav, 
    .navbar.nav-active .auth-buttons {
        display: flex;
    }
    
    /* Hamburger animation */
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .hero, .about-section, .ai-assistant-section {
        flex-direction: column;
        text-align: center;
        padding: 3rem 5%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-group button {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content h4 {
        margin-top: 1.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .mission, .vision {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .section-header > div {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2rem;
    }
}

/* Authentication Pages */
.auth-page {
    background-color: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-navbar {
    justify-content: center;
    box-shadow: none;
    background: transparent;
    padding-top: 2rem;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.auth-card h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.auth-card p {
    color: #4B5563;
    margin-bottom: 2rem;
}

.form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4B5563;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.auth-btn:hover {
    background: #4338CA;
    transform: translateY(-2px);
}

.auth-footer {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #4B5563;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 2rem;
    }
}

/* Auth Side Cards */
.auth-container {
    position: relative;
    z-index: 10;
}

.auth-side-card {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 250px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-side-card.left-side {
    left: 10%;
}

.auth-side-card.right-side {
    right: 10%;
}

.side-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.auth-side-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.auth-side-card p {
    color: #4B5563;
    font-size: 0.9rem;
}

@media (max-width: 1200px) {
    .auth-side-card.left-side {
        left: 5%;
    }
    .auth-side-card.right-side {
        right: 5%;
    }
}

@media (max-width: 992px) {
    .auth-side-card {
        display: none;
    }
}

/* Animated Background for Auth Pages */
.auth-page {
    position: relative;
    overflow: hidden;
}

.video-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -3;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: rgba(0, 0, 0, 0.7); /* Darkened for better contrast */
}

/* Ensure text on index.html remains readable */
body {
    background: transparent;
}

.hero h1, .hero p, .section-header h2, .section-header p, .about-content h2, .about-content p, .about-content strong, .about-content .section-subtitle, .steps-section h2, .steps-section > p, .benefits-section h2, .benefits-section > p, .testimonials-section h2, .testimonials-section > p, .faq-section h2, .faq-section > p {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.category-card, .course-card, .step-card, .benefit-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.ai-assistant-content h2, .ai-assistant-content p, .ai-assistant-content .section-subtitle {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.about-content {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 12px;
}
