/*
Theme Name: EduClone Pro
Author: Your Name
Description: Educational theme similar to CodeWithHarry
Version: 5.0
*/

/* ============================================
   GOOGLE FONTS IMPORT
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   GENERAL RESET
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #2d3748;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #4f46e5;
    transition: all 0.3s ease;
}

a:hover {
    color: #3730a3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #1a202c;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-title a {
    color: white;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.main-navigation a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #60a5fa;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.main-navigation a:hover::after {
    width: 30px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 50%, #8b5cf6 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 0px 0px 0px 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5);
    color: white;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* ============================================
   SECTION STYLING
   ============================================ */
.section {
    padding: 80px 25px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: 38px;
    text-align: center;
    margin-bottom: 15px;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 50px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   TUTORIALS GRID
   ============================================ */
.tutorials-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.tutorial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.tutorial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tutorial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.tutorial-card:hover::before {
    opacity: 1;
}

.tutorial-card:hover .tutorial-title,
.tutorial-card:hover p,
.tutorial-card:hover .tutorial-icon-wrapper,
.tutorial-card:hover .tutorial-link {
    color: white;
}

.tutorial-card:hover .tutorial-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
}

.tutorial-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.tutorial-icon-wrapper svg {
    color: white;
}

.tutorial-icon-wrapper.python {
    background: linear-gradient(135deg, #3776ab 0%, #ffd43b 100%);
}

.tutorial-icon-wrapper.mobile {
    background: linear-gradient(135deg, #02569B 0%, #017ACE 100%);
}

.tutorial-icon-wrapper.design {
    background: linear-gradient(135deg, #F24E1E 0%, #FF7262 100%);
}

.tutorial-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1e293b;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.tutorial-card p {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.tutorial-link {
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.tutorial-card:hover .tutorial-link {
    color: white;
}

/* ============================================
   COURSE GRID
   ============================================ */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e2e8f0;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover img {
    transform: scale(1.05);
}

.course-card-thumbnail {
    overflow: hidden;
    position: relative;
}

.course-level {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-level.beginner { background: #10b981; }
.course-level.intermediate { background: #f59e0b; }
.course-level.advanced { background: #ef4444; }

.course-body {
    padding: 24px;
}

.course-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.4;
}

.course-title a {
    color: #1e293b;
    transition: color 0.3s ease;
}

.course-title a:hover {
    color: #4f46e5;
}

.course-meta {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.course-rating .stars {
    color: #f59e0b;
    font-size: 16px;
}

.course-rating .count {
    color: #64748b;
    font-size: 14px;
}

.course-excerpt {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.course-price {
    font-size: 22px;
    font-weight: 700;
    color: #10b981;
}

.course-price .original {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 16px;
    font-weight: 400;
    margin-right: 8px;
}

.course-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.course-btn:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    color: white;
}

/* Course Price Wrapper */
.course-price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-price-original {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 2px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: #4f46e5;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
}

.feature-icon svg {
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1e293b;
    font-weight: 700;
}

.feature-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================
   COURSE PAGE STYLES
   ============================================ */
.course-page {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 40px auto;
    max-width: 1280px;
}

.course-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.course-thumbnail img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.course-info h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.course-rating-large {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.course-rating-large .stars {
    color: #f59e0b;
    font-size: 24px;
}

.course-rating-large .rating-value {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
}

.course-rating-large .count {
    color: #64748b;
    font-size: 16px;
}

.course-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
    color: #64748b;
    font-size: 15px;
}

.course-meta-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-meta-info svg {
    width: 18px;
    height: 18px;
    color: #4f46e5;
}

.course-price-large {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.course-price-large .original {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 20px;
}

.course-price-large .current {
    font-size: 36px;
    font-weight: 700;
    color: #10b981;
}

.course-price-large .discount {
    background: #ef4444;
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.course-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.course-cta .enroll-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 16px 50px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.course-cta .enroll-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.course-cta .free-btn {
    background: white;
    color: #4f46e5;
    padding: 16px 50px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #4f46e5;
    transition: all 0.3s ease;
}

.course-cta .free-btn:hover {
    background: #4f46e5;
    color: white;
}

/* ============================================
   COURSE CURRICULUM
   ============================================ */
.curriculum-section {
    margin-top: 50px;
}

.curriculum-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #1e293b;
    font-weight: 700;
}

.curriculum-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    background: white;
}

.curriculum-header {
    background: #f8fafc;
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.curriculum-header:hover {
    background: #f1f5f9;
}

.curriculum-header h3 {
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
}

.curriculum-header .toggle {
    font-size: 20px;
    color: #64748b;
    transition: transform 0.3s ease;
}

.curriculum-item.active .curriculum-header .toggle {
    transform: rotate(180deg);
}

.curriculum-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.curriculum-content.active {
    padding: 20px 24px;
    max-height: 500px;
}

.lesson-item {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.3s ease;
}

.lesson-item:hover {
    background: #f8fafc;
}

.lesson-item:last-child {
    border-bottom: none;
}

.lesson-item .icon {
    color: #10b981;
    font-size: 18px;
}

.lesson-item .lesson-title {
    flex: 1;
    color: #475569;
    font-size: 15px;
}

.lesson-item .duration {
    color: #94a3b8;
    font-size: 13px;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ============================================
   INSTRUCTOR SECTION
   ============================================ */
.instructor-section {
    background: #f8fafc;
    padding: 50px;
    border-radius: 16px;
    margin-top: 50px;
}

.instructor-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 25px;
}

.instructor-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4f46e5;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.2);
}

.instructor-info h3 {
    font-size: 26px;
    margin-bottom: 8px;
    color: #1e293b;
    font-weight: 700;
}

.instructor-info .title {
    color: #64748b;
    margin-bottom: 12px;
    font-size: 16px;
}

.instructor-info .social-links {
    display: flex;
    gap: 12px;
}

.instructor-info .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #4f46e5;
    color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.instructor-info .social-links a:hover {
    background: #3730a3;
    transform: translateY(-3px);
}

.instructor-bio {
    color: #475569;
    line-height: 1.9;
    font-size: 16px;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section {
    margin-top: 50px;
}

.reviews-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #1e293b;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.review-info {
    flex: 1;
}

.review-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 16px;
}

.review-stars {
    color: #f59e0b;
    font-size: 15px;
    margin-top: 3px;
}

.review-text {
    color: #64748b;
    line-height: 1.7;
    font-size: 15px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    margin-top: 50px;
}

.faq-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #1e293b;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    background: white;
}

.faq-question {
    background: #f8fafc;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: #1e293b;
    font-size: 16px;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question .icon {
    font-size: 20px;
    color: #64748b;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #64748b;
    line-height: 1.8;
    font-size: 15px;
}

.faq-answer.active {
    padding: 20px 24px;
    max-height: 300px;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 50%, #8b5cf6 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 80px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.newsletter-section .section-title {
    color: white;
    position: relative;
    z-index: 1;
}

.newsletter-section p {
    position: relative;
    z-index: 1;
    opacity: 0.9;
    font-size: 18px;
    margin-bottom: 10px;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-form {
    max-width: 550px;
    margin: 30px auto 0;
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-form button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 16px 36px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    font-family: inherit;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #0f172a;
    color: white;
    padding: 70px 25px 30px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    margin-bottom: 25px;
    color: white;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 2px;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #94a3b8;
    transition: all 0.3s ease;
    font-size: 15px;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #3b82f6;
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 50px;
    border-top: 1px solid #1e293b;
}

.footer-bottom p {
    color: #64748b;
    font-size: 15px;
}

.footer-bottom a {
    color: #60a5fa;
}

.footer-bottom a:hover {
    color: #93c5fd;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1280px;
    margin: 50px auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.content-area {
    min-width: 0;
}

.sidebar-area {
    min-width: 0;
}

/* ============================================
   SIDEBAR
   ============================================ */
.widget {
    background: white;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.widget h3 {
    border-bottom: 3px solid #4f46e5;
    padding-bottom: 12px;
    margin-bottom: 20px;
    color: #1e293b;
    font-size: 20px;
    font-weight: 600;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #475569;
    transition: all 0.3s ease;
    font-size: 15px;
}

.widget ul li a:hover {
    color: #4f46e5;
    padding-left: 8px;
}

/* ============================================
   SINGLE POST / BLOG
   ============================================ */
.single-post {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.single-post h1 {
    font-size: 38px;
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.single-post-meta {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.single-post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-post-content {
    font-size: 17px;
    line-height: 1.85;
    color: #334155;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.single-post-content h2 {
    font-size: 30px;
    margin: 40px 0 20px;
    color: #1e293b;
    font-weight: 700;
}

.single-post-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #1e293b;
    font-weight: 600;
}

.single-post-content ul,
.single-post-content ol {
    margin: 20px 0 20px 25px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content code {
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 5px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 14px;
    color: #4f46e5;
}

.single-post-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 25px 0;
    font-size: 14px;
    line-height: 1.6;
}

.single-post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
    background: #f8fafc;
    padding: 80px 25px;
}

.blog-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.blog-main {
    min-width: 0;
}

.blog-sidebar {
    min-width: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card-thumbnail {
    overflow: hidden;
}

.blog-content {
    padding: 25px;
}

.blog-title {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-title a {
    color: #1e293b;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #4f46e5;
}

.blog-meta {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-excerpt {
    color: #64748b;
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 15px;
}

.blog-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    color: white;
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 12px 18px;
    background: white;
    color: #475569;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.pagination a:hover {
    background: #4f46e5;
    color: white;
    border-color: #4f46e5;
    transform: translateY(-2px);
}

.pagination .current {
    background: #4f46e5;
    color: white;
    border-color: #4f46e5;
    cursor: default;
}

.pagination .current:hover {
    transform: none;
}

/* ============================================
   SEARCH FORM
   ============================================ */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #4f46e5;
}

.search-form button {
    background: #4f46e5;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: inherit;
}

.search-form button:hover {
    background: #3730a3;
}

/* ============================================
   DARK MODE TOGGLE BUTTON
   ============================================ */
.dark-mode-toggle {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

.dark-mode-toggle .sun-icon {
    display: none;
}

.dark-mode-toggle .moon-icon {
    display: block;
}

body.dark-mode .dark-mode-toggle .sun-icon {
    display: block;
}

body.dark-mode .dark-mode-toggle .moon-icon {
    display: none;
}

/* ============================================
   HEADER - ENHANCED
   ============================================ */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Search Bar */
.header-search {
    flex: 1;
    max-width: 450px;
    margin: 0 30px;
}

.header-search .search-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.header-search .search-form:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.header-search .search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 12px 20px;
    font-size: 15px;
    font-family: inherit;
}

.header-search .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-search .search-input:focus {
    outline: none;
    box-shadow: none;
}

.header-search .search-submit {
    background: transparent;
    border: none;
    color: white;
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-search .search-submit:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

body.menu-open {
    overflow: hidden;
}

/* ============================================
   DARK MODE STYLES
   ============================================ */
body.dark-mode {
    background: #0f172a;
    color: #e2e8f0;
}

body.dark-mode .site-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body.dark-mode .hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #312e81 100%);
}

body.dark-mode .section {
    background: #0f172a;
}

body.dark-mode .section-title,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, 
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
    color: #f1f5f9;
}

body.dark-mode .section-subtitle,
body.dark-mode .blog-excerpt,
body.dark-mode .course-excerpt,
body.dark-mode p {
    color: #94a3b8;
}

body.dark-mode .tutorial-card,
body.dark-mode .course-card,
body.dark-mode .feature-card,
body.dark-mode .blog-card,
body.dark-mode .widget,
body.dark-mode .single-post,
body.dark-mode .course-page,
body.dark-mode .review-card,
body.dark-mode .curriculum-item,
body.dark-mode .faq-item {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .tutorial-card:hover {
    border-color: #4f46e5;
}

body.dark-mode .tutorial-card p,
body.dark-mode .course-excerpt,
body.dark-mode .blog-excerpt,
body.dark-mode .feature-card p {
    color: #94a3b8;
}

body.dark-mode .blog-section,
body.dark-mode .tutorials-section {
    background: #0f172a;
}

body.dark-mode .tutorials-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

body.dark-mode .features-section {
    background: #1e293b;
}

body.dark-mode .course-meta,
body.dark-mode .blog-meta {
    color: #64748b;
}

body.dark-mode .course-title a,
body.dark-mode .blog-title a,
body.dark-mode .tutorial-title {
    color: #f1f5f9;
}

body.dark-mode .course-title a:hover,
body.dark-mode .blog-title a:hover {
    color: #60a5fa;
}

body.dark-mode .course-footer,
body.dark-mode .blog-card {
    border-top-color: #334155;
}

body.dark-mode .widget {
    background: #1e293b;
}

body.dark-mode .widget ul li {
    border-bottom-color: #334155;
}

body.dark-mode .widget ul li a {
    color: #94a3b8;
}

body.dark-mode .pagination a,
body.dark-mode .pagination span {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

body.dark-mode .search-form input {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

body.dark-mode .single-post-content {
    color: #cbd5e1;
}

body.dark-mode .single-post-content code {
    background: #334155;
    color: #60a5fa;
}

body.dark-mode .single-post-content pre {
    background: #0f172a;
}

body.dark-mode .curriculum-header {
    background: #1e293b;
}

body.dark-mode .curriculum-header:hover {
    background: #334155;
}

body.dark-mode .curriculum-header h3 {
    color: #e2e8f0;
}

body.dark-mode .lesson-item {
    border-bottom-color: #334155;
}

body.dark-mode .lesson-item .lesson-title {
    color: #cbd5e1;
}

body.dark-mode .instructor-section {
    background: #1e293b;
}

body.dark-mode .instructor-info h3 {
    color: #f1f5f9;
}

body.dark-mode .faq-question {
    background: #1e293b;
    color: #e2e8f0;
}

body.dark-mode .faq-question:hover {
    background: #334155;
}

body.dark-mode .newsletter-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #312e81 100%);
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 1024px) {
    .header-search {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-search {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
        z-index: 999;
        padding: 80px 30px 30px;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    body.dark-mode .main-navigation {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .main-navigation a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .dark-mode-toggle {
        top: 15px;
        right: 70px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .header-search .search-input {
        padding: 10px 15px;
        font-size: 14px;
    }
}
    .container,
    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .course-header {
        grid-template-columns: 1fr;
    }


@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .main-navigation ul {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-section {
        padding: 70px 20px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .course-cta {
        flex-direction: column;
    }
    
    .course-cta .enroll-btn,
    .course-cta .free-btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorials-grid {
        grid-template-columns: 1fr;
    }
    
    .instructor-header {
        flex-direction: column;
        text-align: center;
    }
    
    .single-post {
        padding: 25px;
    }
    
    .single-post h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .hero-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .course-info h1 {
        font-size: 24px;
    }
    
    .course-price-large .current {
        font-size: 28px;
    }
    
    .tutorial-card {
        padding: 30px 20px;
    }
    
    .blog-card img {
        height: 180px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }
.p-50 { padding: 50px; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

/* Staggered animation for cards */
.course-card:nth-child(1) { animation: fadeIn 0.5s ease-out 0.1s backwards; }
.course-card:nth-child(2) { animation: fadeIn 0.5s ease-out 0.2s backwards; }
.course-card:nth-child(3) { animation: fadeIn 0.5s ease-out 0.3s backwards; }
.course-card:nth-child(4) { animation: fadeIn 0.5s ease-out 0.4s backwards; }
.course-card:nth-child(5) { animation: fadeIn 0.5s ease-out 0.5s backwards; }
.course-card:nth-child(6) { animation: fadeIn 0.5s ease-out 0.6s backwards; }

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.loading-spinner {
    border: 4px solid #f1f5f9;
    border-top: 4px solid #4f46e5;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid #4f46e5;
    color: #4f46e5;
}

.btn-outline:hover {
    background: #4f46e5;
    color: white;
}

/* ============================================
   FORM STYLES
   ============================================ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   ALERT/NOTIFICATION STYLES
   ============================================ */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 15px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

/* ============================================
   VIDEO TUTORIALS SECTION
   ============================================ */
.video-tutorials-section {
    background: #f8fafc;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(239, 68, 68, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.play-button svg {
    color: white;
    margin-left: 4px;
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: #ef4444;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.4;
}

.video-info p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.video-duration {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

body.dark-mode .video-tutorials-section {
    background: #0f172a;
}

body.dark-mode .video-card {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .video-info h3 {
    color: #f1f5f9;
}

body.dark-mode .video-info p {
    color: #94a3b8;
}

body.dark-mode .video-duration {
    background: #334155;
    color: #cbd5e1;
}

/* ============================================
   WHAT YOU'LL LEARN SECTION
   ============================================ */
.what-learn-section {
    background: white;
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.learn-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.learn-card:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-color: #4f46e5;
}

.learn-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.learn-icon svg {
    color: white;
}

.learn-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1e293b;
    font-weight: 600;
}

.learn-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

body.dark-mode .what-learn-section {
    background: #0f172a;
}

body.dark-mode .learn-card {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .learn-content h3 {
    color: #f1f5f9;
}

body.dark-mode .learn-content p {
    color: #94a3b8;
}

/* ============================================
   NOTES & RESOURCES SECTION
   ============================================ */
.notes-section {
    margin-top: 50px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.notes-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #1e293b;
    font-weight: 700;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.note-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.note-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #4f46e5;
}

.note-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.note-icon svg {
    color: white;
}

.note-info h4 {
    font-size: 16px;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 4px;
}

.note-info span {
    font-size: 13px;
    color: #64748b;
}

body.dark-mode .notes-section {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .notes-section h2 {
    color: #f1f5f9;
}

body.dark-mode .note-card {
    background: #0f172a;
    border-color: #334155;
}

body.dark-mode .note-info h4 {
    color: #f1f5f9;
}

body.dark-mode .note-info span {
    color: #94a3b8;
}

/* ============================================
   COURSE RESOURCES SECTION
   ============================================ */
.resources-section {
    margin-top: 50px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.resources-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #1e293b;
    font-weight: 700;
}

.resource-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.resource-item:hover {
    border-color: #10b981;
}

.resource-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.resource-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-icon svg {
    color: white;
}

.resource-info h4 {
    font-size: 16px;
    color: #1e293b;
    font-weight: 600;
}

.resource-info span {
    font-size: 13px;
    color: #64748b;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #059669;
    color: white;
    transform: translateY(-2px);
}

body.dark-mode .resources-section {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .resources-section h2 {
    color: #f1f5f9;
}

body.dark-mode .resource-item {
    background: #0f172a;
    border-color: #334155;
}

body.dark-mode .resource-info h4 {
    color: #f1f5f9;
}

body.dark-mode .resource-info span {
    color: #94a3b8;
}

