/* Modern CSS for Magnetcode - Responsive Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    background: #ffffff;
    min-height: 100vh;
}

/* Modern Color Palette */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #1f2937;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

/* Modern Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.1);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

/* Mobile Menu - Individual Navigation Buttons */
.mobile-nav-buttons {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
}

.mobile-nav-buttons a {
    display: block;
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-nav-buttons a:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.mobile-nav-buttons a:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Content Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Components */
.card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Testimonials */
.testimonial {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Alert/Notification Styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.alert-info {
    background: rgba(79, 70, 229, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .logo {
        align-self: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-nav-buttons {
        display: flex;
        width: 100%;
        max-width: 300px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .video-container iframe {
        height: 250px;
    }
    
    .container,
    .main {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .mobile-nav-buttons {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .mobile-nav-buttons a {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.ml-3 { margin-left: 1rem; }

.hidden { display: none; }
.visible { display: block; }

/* Additional Styles */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list i {
    color: var(--success-color);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Information Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.social-links-dark {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.social-links-dark h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.social-links-dark .social-links a {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.social-links-dark .social-links a:hover {
    background: var(--primary-color);
    color: white;
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-secondary);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ml-3 {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 1rem;
    }
}

/* Print Styles */
@media print {
    .nav-menu,
    .mobile-menu-toggle,
    .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* FAQ Categories */
.faq-categories {
    margin-bottom: 3rem;
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.category-link h3 {
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.category-link p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Support Options */
.support-options {
    margin-top: 2rem;
}

.support-card {
    padding: 2rem;
    text-align: center;
}

.support-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Project Categories */
.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.project-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Category Cards */
.category-card {
    padding: 2rem;
    text-align: center;
}

.category-card .category-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Difficulty Cards */
.difficulty-card {
    padding: 2rem;
    text-align: center;
}

.difficulty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.difficulty-icon.beginner {
    background: #28a745;
}

.difficulty-icon.intermediate {
    background: #ffc107;
}

.difficulty-icon.advanced {
    background: #dc3545;
}

.difficulty-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.difficulty-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.difficulty-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Showcase Cards */
.showcase-card {
    display: flex;
    overflow: hidden;
}

.showcase-image {
    flex: 0 0 200px;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-content {
    flex: 1;
    padding: 1.5rem;
}

.showcase-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.showcase-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Curriculum Cards */
.curriculum-card {
    padding: 2rem;
    text-align: center;
}

.curriculum-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.curriculum-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.curriculum-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.curriculum-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Project List */
.project-list {
    margin-top: 2rem;
}

.project-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.project-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
}

.project-details {
    flex: 1;
}

.project-details h4 {
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.project-details p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.difficulty {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
}

.difficulty.beginner {
    background: #28a745;
}

.difficulty.intermediate {
    background: #ffc107;
    color: #333;
}

.difficulty.advanced {
    background: #dc3545;
}

/* App Features */
.app-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
}

.feature-item h4 {
    margin: 0 0 0.25rem;
    color: var(--text-primary);
}

.feature-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.download-buttons {
    margin-top: 2rem;
}

/* Account Benefits */
.account-benefits {
    margin-top: 2rem;
}

.benefit-card {
    padding: 2rem;
    text-align: center;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.benefit-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.benefit-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Workshop Content */
.workshop-content {
    padding-right: 2rem;
}

.setup-steps {
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    margin: 0;
    color: var(--text-secondary);
}

.workshop-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-grid img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
    .showcase-card {
        flex-direction: column;
    }
    
    .showcase-image {
        flex: none;
        height: 200px;
    }
    
    .project-item {
        flex-direction: column;
        text-align: center;
    }
    
    .project-icon {
        margin: 0 0 1rem 0;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item i {
        margin: 0 0 1rem 0;
    }
    
    .workshop-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .workshop-gallery {
        grid-template-columns: 1fr;
    }
    
    .showcase-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Share Page Specific Styles */
.project-card {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.institution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.institution-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.institution-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.institution-title i {
    color: var(--primary-color);
}

.project-video {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.project-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.project-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.project-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.share-benefits {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.benefit-item .benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
}

.benefit-text h4 {
    margin: 0 0 0.25rem;
    color: var(--text-primary);
}

.benefit-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.share-form {
    padding-left: 2rem;
}

.form-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.form-info h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.form-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.submission-checklist {
    margin: 2rem 0;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.checklist-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.checklist-item span {
    color: var(--text-primary);
    line-height: 1.5;
}

.checklist-item strong {
    color: var(--primary-color);
}

.email-submission {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.email-note {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.project-form {
    margin-top: 1rem;
}

/* Stats Grid */
.stats-grid {
    margin-top: 2rem;
}

.stat-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Recent Projects */
.recent-projects {
    margin-top: 2rem;
}

.mini-project-card {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.mini-project-card:hover {
    transform: translateY(-5px);
}

.mini-project-image {
    height: 150px;
    overflow: hidden;
}

.mini-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-project-content {
    padding: 1rem;
}

.mini-project-content h4 {
    margin: 0 0 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.mini-project-content p {
    margin: 0 0 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.mini-project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.mini-project-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Responsive adjustments for share page */
@media (max-width: 768px) {
    .institution-grid {
        grid-template-columns: 1fr;
    }
    
    .share-form {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .form-info {
        padding: 1.5rem;
    }
    
    .checklist-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .checklist-item i {
        margin-top: 0;
    }
    
    .email-submission {
        padding: 1.5rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-item .benefit-icon {
        margin: 0 0 1rem 0;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .mini-project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Gallery Page Specific Styles */
.gallery-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.search-box {
    position: relative;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 0.9rem;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 1.5rem;
}

.overlay-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.overlay-content p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.overlay-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

.overlay-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Collections */
.collections-grid {
    margin-top: 2rem;
}

.collection-card {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-5px);
}

.collection-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    background: rgba(0,0,0,0.8);
}

.modal-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 2rem;
}

.modal-info h3 {
    margin: 0 0 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.modal-info p {
    margin: 0 0 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .gallery-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-image {
        height: 250px;
    }
    
    .modal-info {
        padding: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* RBTM Page Specific Styles */
.workshop-grid {
    margin-top: 2rem;
}

.workshop-card {
    padding: 2rem;
    text-align: center;
}

.workshop-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.workshop-topics {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.workshop-topics li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.workshop-topics i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* R1 Robot Styles */
.r1-content {
    margin-top: 2rem;
}

.r1-overview {
    align-items: center;
}

.r1-info {
    padding-right: 2rem;
}

.r1-info h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.r1-features {
    margin-top: 2rem;
}

.r1-features .feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.r1-features .feature-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.r1-features .feature-item h4 {
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.r1-features .feature-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.r1-image {
    text-align: center;
}

.r1-image img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* R1 Versions */
.r1-versions {
    margin-top: 2rem;
}

.version-card {
    padding: 2rem;
    text-align: center;
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.version-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.version-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
}

.version-badge.basic {
    background: #28a745;
}

.version-badge.intermediate {
    background: #ffc107;
    color: #333;
}

.version-badge.advanced {
    background: #dc3545;
}

.version-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.version-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.version-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.version-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.version-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

/* Video Grid */
.video-grid {
    margin-top: 2rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-card h3 {
    margin: 0 0 1rem;
    color: var(--text-primary);
}

.video-card p {
    margin: 1rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Code Resources */
.code-resources {
    margin-top: 2rem;
}

.code-section h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.code-block {
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #2d2d2d;
    color: white;
    font-size: 0.9rem;
}

.copy-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background: rgba(255,255,255,0.1);
}

.code-content {
    padding: 1.5rem;
    margin: 0;
    color: #d4d4d4;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
}

/* Materials Grid */
.materials-grid {
    margin-top: 2rem;
}

.material-card {
    padding: 2rem;
    text-align: center;
}

.material-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.material-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.material-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive adjustments for RBTM page */
@media (max-width: 768px) {
    .r1-overview {
        grid-template-columns: 1fr;
    }
    
    .r1-info {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .r1-features .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .r1-features .feature-item i {
        margin: 0 0 1rem 0;
    }
    
    .version-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .version-links {
        flex-direction: column;
    }
    
    .code-resources {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* New Styles for Redesigned Pages */

/* Quick Links Section */
.quick-links {
    background: var(--bg-secondary);
    padding: 3rem 0;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quick-link-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quick-link-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quick-link-card a {
    text-decoration: none;
    color: inherit;
}

/* Modern Auto Slider Section */
.slider-section {
    padding: 3rem 0;
    background: white;
}

.modern-slider {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
    background: #000;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    overflow: hidden;
}

.slider-item.active {
    opacity: 1;
    transform: scale(1);
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.slider-item:hover .slider-caption {
    transform: translateY(0);
}

.slider-caption h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.slider-caption p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.1s linear;
}

/* Minimal Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}



/* Responsive Design for Modern Slider */
@media (max-width: 768px) {
    .modern-slider {
        border-radius: 10px;
    }
    
    .slider-container {
        height: 300px;
    }
    
    .slider-caption {
        padding: 1.5rem;
    }
    
    .slider-caption h3 {
        font-size: 1.2rem;
    }
    
    .slider-caption p {
        font-size: 0.9rem;
    }
    
    .slider-dots {
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 250px;
    }
    
    .slider-caption {
        padding: 1rem;
    }
    
    .slider-caption h3 {
        font-size: 1.1rem;
    }
    
    .slider-caption p {
        font-size: 0.8rem;
    }
    
    .slider-dots {
        bottom: 10px;
        right: 10px;
        gap: 0.3rem;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
}

/* Future Ready Section */
.future-ready {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.future-ready .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Key Questions Section */
.key-questions {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.question-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.question-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Video Demos Section */
.video-demos {
    padding: 3rem 0;
    background: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.video-item {
    text-align: center;
}

.video-item h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Why Magnetcode Section */
.why-magnetcode {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Product Showcase */
.product-showcase {
    padding: 3rem 0;
    background: white;
}

.product-banner {
    text-align: center;
    margin-bottom: 2rem;
}

.product-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-item {
    text-align: center;
}

.product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

/* Learning Path Section */
.learning-path {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.learning-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Quick Start Section */
.quick-start {
    padding: 3rem 0;
    background: white;
}

.start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.start-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Tutorial Videos */
.tutorial-videos {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

/* Final CTA */
.final-cta {
    padding: 3rem 0;
    background: white;
}

/* Project Videos Section */
.project-videos {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.project-videos .video-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.video-info {
    margin-top: 1.5rem;
    text-align: left;
}

.video-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.video-title {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.video-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Project Categories Section */
.project-categories {
    padding: 3rem 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.category-section {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.category-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.project-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.project-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.contact-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .learning-grid {
        grid-template-columns: 1fr;
    }
    
    .start-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .future-ready .section-title {
        font-size: 1.5rem;
    }
    
    .contact-content h3 {
        font-size: 1.5rem;
    }
    
    .contact-number {
        font-size: 1.2rem;
    }
}

/* Classroom page specific styles */
.moe-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
}

.moe-banner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.moe-banner p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.setup-instructions {
    text-align: center;
}

.setup-steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 300px;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.lesson-section {
    margin-bottom: 4rem;
}

.lesson-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.lesson-grid {
    margin-bottom: 2rem;
}

.lesson-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.lesson-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.lesson-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.video-container iframe {
    border-radius: 10px;
}

.full-width {
    grid-column: 1 / -1;
}

/* Responsive adjustments for Classroom page */
@media (max-width: 768px) {
    .moe-banner {
        padding: 2rem 1rem;
    }
    
    .moe-banner h2 {
        font-size: 1.5rem;
    }
    
    .setup-steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .lesson-title {
        font-size: 1.5rem;
    }
    
    .lesson-card {
        padding: 1rem;
    }
    
    .lesson-card h4 {
        font-size: 1rem;
    }
    
    .video-container iframe {
        height: 250px;
    }
    
    .full-width .video-container iframe {
        height: 300px;
    }
}

/* RBTM page specific styles */
.project-series {
    margin-bottom: 3rem;
}

.series-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.project-header h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.project-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-links .btn {
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bonus-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.bonus-project-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bonus-project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.bonus-project-card h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.video-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.video-links .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Responsive adjustments for RBTM page */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .bonus-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .video-links {
        flex-direction: column;
    }
    
    .video-links .btn {
        min-width: auto;
    }
}

/* Video Resources Section Styles */
.video-section {
    margin-bottom: 4rem;
}

.video-section-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.video-section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.video-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.video-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.video-card .btn {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Responsive adjustments for video sections */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-section-title {
        font-size: 1.5rem;
    }
    
    .video-section-subtitle {
        font-size: 1rem;
    }
}
