@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}
html {
    scroll-behavior: smooth;
}
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}



/* Header Styles */
header {
    background: var(--gradient-accent);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

/* Styles for scrolled header content */
header.scrolled .nav-links a,
header.scrolled .auth-links a:not(.register-btn),
header.scrolled .mobile-menu {
    color: #333;
}

header.scrolled .nav-links a:hover,
header.scrolled .nav-links a.active {
    background: transparent;
}

header.scrolled .auth-links a:not(.register-btn):hover {
    background: #f1f1f1;
    border-color: #ddd;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: nowrap; /* Change this from 'wrap' to 'nowrap' */
    gap: 1rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
 

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    /* Animation setup */
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
    overflow: hidden;
    z-index: 1;
}

.nav-links a:hover,
.nav-links a.active {
    background: transparent;
    transform: translateY(-2px);
}

/* New hover animation using a pseudo-element */
.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    z-index: -1;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    transform: scaleX(1);
}

header.scrolled .nav-links a::before {
    background: #f1f1f1;
}

/* Staggered animation delays */
.nav-links a:nth-child(1) {
    animation-delay: 0.2s;
}
.nav-links a:nth-child(2) {
    animation-delay: 0.4s;
}
.nav-links a:nth-child(3) {
    animation-delay: 0.6s;
}
.nav-links a:nth-child(4) {
    animation-delay: 0.8s;
}

.auth-links {
    display: flex;
    gap: 1rem;
}

.auth-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.auth-links a:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

.register-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) ;
    border-radius: 25px;
    font-weight: 600;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.mobile-menu:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Modern Hero Section */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: white;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 60%; left: 20%; animation-delay: 1s; }
.floating-icon:nth-child(3) { top: 40%; right: 20%; animation-delay: 2s; }
.floating-icon:nth-child(4) { top: 80%; right: 10%; animation-delay: 3s; }
.floating-icon:nth-child(5) { top: 30%; left: 50%; animation-delay: 4s; }

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

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

.gradient-text {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Code Window */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    background: #1e293b;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    width: 100%;
}

.window-header {
    background: #334155;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-controls span:nth-child(1) { background: #ef4444; }
.window-controls span:nth-child(2) { background: #f59e0b; }
.window-controls span:nth-child(3) { background: #10b981; }

.window-title {
    color: #e2e8f0;
    font-size: 0.875rem;
    margin-left: 1rem;
}

.code-content {
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

.code-line {
    margin-bottom: 0.5rem;
}

.tag { color: #f472b6; }
.attr { color: #60a5fa; }
.string { color: #34d399; }
.text { color: #e2e8f0; }

/* Horizontal Course List */
.courses_list {
  background: #f1f1f1;
  padding: 10px 20px;
  border-bottom: 1px solid #ccc;
  overflow-x: auto;
}

.courses_list ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  list-style: none;
}

.courses_list ul li a {
  padding: 8px 14px;
  background: #e6f2ff;
  color: #0077cc;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  font-weight: 500;
}

.courses_list ul li a:hover,
.courses_list a.active {
                background: #0077cc;
                color: white;
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
}

/* Container and Layout */
.container {
    display: flex;
    max-width: 1400px;
    margin: 3rem auto;
    gap: 3rem;
    padding: 0 2rem;
}

/* Sidebar Styles */
.sidebar {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    height: fit-content;
    min-width: 280px;
    position: sticky;
    top: 120px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.sidebar h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
    position: relative;
}

.sidebar h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 0.5rem;
}

.sidebar a {
    color: #333;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.sidebar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    z-index: -1;
}

.sidebar a:hover::before {
    left: 0;
}

.sidebar a:hover {
    color: white;
    transform: translateX(10px);
    border-left-color: #ff6b6b;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Main Content */
.main-content {
    flex: 1;
}

.main-content h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-align: center;
    position: relative;
}

.main-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px #0000001a;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.course-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.course-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 220px;
    background: var(--bg-secondary);
    gap: 1rem;
    transition: background-color 0.3s ease;
}

.course-icon-wrapper i {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.7;
    transition: transform 0.3s ease, color 0.3s ease;
}

.course-card:hover .course-icon-wrapper i {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.course-info {
    padding: 2rem;
}

.course-info h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.course-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Latest Courses Section */
.latest-courses {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #eee;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

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

.feature i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
 footer {
        background: #212529;
        color: white;
        padding: 4rem 2rem;
        text-align: center;
    }
    .site-footer {
    background-color: #212529;
    color: white;
    padding: 3rem 2rem;
    font-size: 0.95rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-col {
    flex: 1 1 250px;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1rem;
    color: var(--accent);
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    color: #ccc;
    transition: 0.3s ease;
    text-decoration: none;
}

.footer-col ul a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #bbb;
    border-top: 1px solid #444;
    padding-top: 1rem;
}
.footer-links {
    margin-top: 1rem;
}
.footer-links a {
   text-decoration: none;
    color: #ccc;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}
/* Course Detail Page Styles */
.course-detail {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.course-header {
    text-align: center;
    margin-bottom: 4rem;
}

.course-header h1 {
    color: #333;
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-header .course-subtitle {
    color: #666;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.course-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    min-width: 140px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modules-section {
    margin: 4rem 0;
}

.modules-section h2 {
    color: #333;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-align: center;
}

.module {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid #667eea;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.module:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-left-color: #ff6b6b;
}

.module h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.module p {
    color: #666;
    line-height: 1.8;
}

.learning-outcomes {
    margin: 4rem 0;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.learning-outcomes h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.social-share {
    text-align: center;
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.social-share h3 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.share-btn.facebook { background: linear-gradient(135deg, #3b5998, #2d4373); }
.share-btn.twitter { background: linear-gradient(135deg, #1da1f2, #0d8bd9); }
.share-btn.linkedin { background: linear-gradient(135deg, #0077b5, #005885); }
.share-btn.whatsapp { background: linear-gradient(135deg, #25d366, #1ebe57); }

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar {
        flex-direction: row;
        gap: 1rem;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .search-bar {
        min-width: 250px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    
    .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .sidebar {
        position: static;
        min-width: auto;
    }

}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
        position: relative;
    }
    
   /* Hide desktop navigation and login buttons */
    .nav-links {
        display: none;
    }
    

    .auth-links a {
       font-size: 0.6rem;
    }

    /* Show the mobile hamburger menu icon */
    .mobile-menu {
        display: block; /* Makes the icon visible */
        color: #333; /* Sets the icon color to dark grey to show on a white background */
    }

    /* This makes the navigation links appear when the icon is clicked */
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        right: 0;
        background: white; /* Give it a solid background */
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }
    
    /* Style for links inside the mobile dropdown */
    .nav-links.active a {
      color: #333; /* Make links dark */
      padding: 1rem;
      text-align: center;
      border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-links.active a:last-child {
      border-bottom: none;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    

    .container {
        padding: 0 1rem;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .main-content h2 {
        font-size: 2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        margin: 2rem 1rem;
        padding: 2rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 1rem;
    }
    
    .course-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .course-header h1 {
        font-size: 2rem;
    }
    
    .course-detail {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }
    
    .auth-links {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .sidebar {
        padding: 1.5rem;
    }
    
    .course-info {
        padding: 1.5rem;
    }
    
    .feature {
        padding: 1rem;
    }
    
    .feature i {
        font-size: 2rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }
