/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 152, 219, 0.9) 100%);
    z-index: -1;
}

header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #e8f4fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -0.5px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}


.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.3);
}

.nav-link.active {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

main {
    padding: 2rem;
    flex: 1;
}

article {
    max-width: 1200px;
    margin: 0 auto;
}

article h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.course-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.start-course-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

a.start-course-btn {
    text-decoration: none;
    color: white;
    display: inline-block;
}

.start-course-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #2980b9, #1f5f85);
}

.progress-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.stat-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.progress-bar {
    background: #ecf0f1;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    background: linear-gradient(90deg, #3498db, #2ecc71);
    height: 100%;
    transition: width 0.5s ease;
}

.stat-number {
    font-weight: bold;
    color: #e74c3c;
    font-size: 1.2rem;
}

.courses-started p {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.complete {
    color: #27ae60;
    font-weight: bold;
}

.in-progress {
    color: #f39c12;
    font-weight: bold;
}

.not-started {
    color: #bdc3c7;
    font-weight: bold;
}

.lessons-summary p {
    margin-bottom: 0.5rem;
}

.number {
    background: #3498db;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.progress-controls {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-top: 2rem;
    text-align: center;
}

.progress-controls h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.progress-controls button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    margin: 0.5rem;
    transition: all 0.3s ease;
}

.progress-controls button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #2980b9, #1f5f85);
}

.contact-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    padding: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.contact-item .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    min-width: 2rem;
    color: #3498db;
}

.contact-item div {
    flex: 1;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    gap: 1rem;
}

.social-link:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.social-icon {
    font-size: 1.8rem;
    min-width: 2.5rem;
    text-align: center;
}

.social-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.social-title {
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.social-link small {
    opacity: 0.8;
    font-size: 0.85rem;
    display: block;
    line-height: 1.2;
}

.contact-form-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-form-info h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.help-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.help-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.help-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.help-item h4 i {
    margin-right: 0.5rem;
    color: #3498db;
}

.help-item p {
    color: #6c757d;
    line-height: 1.5;
}

.about-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    padding: 3rem 2rem;
}

.about-hero {
    background: transparent;
    color: #2c3e50;
    padding: 0;
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h2 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #666;
    opacity: 1;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #555;
    font-weight: 400;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    border: 2px solid #e9ecef;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    border-color: #3498db;
}

.feature-item i {
    color: #3498db;
    font-size: 1rem;
}

.about-sections {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-header i {
    font-size: 1.5rem;
    color: #3498db;
    width: 40px;
}

.section-header h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 0;
}

.mission-section {
    margin-bottom: 3rem;
}

.mission-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

.highlight-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 4px solid #3498db;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-box i {
    font-size: 1.5rem;
    color: #3498db;
}

.highlight-box span {
    font-weight: 600;
    color: #2c3e50;
    font-style: italic;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.timeline-content {
    flex: 1;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.timeline-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.approach-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.approach-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: white;
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.approach-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.approach-card p {
    color: #666;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #1f4e79);
}

.btn-secondary {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 2rem;
    }
    
    .approach-cards {
        grid-template-columns: 1fr;
    }
    
    .benefit-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content {
        padding: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .social-link {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .social-icon {
        margin-bottom: 0.5rem;
    }
    
    .social-content {
        text-align: center;
    }
}

.home-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    padding: 3rem;
    text-align: center;
}

.home-hero {
    padding: 2rem 0 3rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 3rem;
}

.home-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-hero h2 {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.home-hero .hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    border: 2px solid #e9ecef;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    background: #e9ecef;
    border-color: #3498db;
    transform: translateY(-2px);
}

.feature-highlight i {
    color: #3498db;
    font-size: 1.1rem;
}

.home-info {
    text-align: left;
}

.info-section, .pathway-section {
    margin-bottom: 3rem;
}

.info-section h3, .pathway-section h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.info-section h3 i, .pathway-section h3 i {
    color: #3498db;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background: white;
}

.info-item h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.pathway-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: none;
}

.step-number {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.home-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    margin-top: 3rem;
}

.home-cta h3 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-cta p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-stats .stat {
    color: #666;
    font-size: 1rem;
}

.cta-stats strong {
    color: #2ecc71;
    font-size: 1.2rem;
    font-weight: 700;
}

.home-content p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
}

footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: auto;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }
    
    header h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-dashboard {
        grid-template-columns: 1fr;
    }
    
    main {
        padding: 1rem;
    }
}

.course-page-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.course-page-content h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.course-page-content .course-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-lessons {
    margin-top: 3rem;
    border-top: 1px solid #e9ecef;
    padding-top: 3rem;
}

.video-lessons h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
    height: 350px;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.video-card-front, .video-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.video-card-front {
    transform: perspective(1000px) rotateY(0deg);
    z-index: 2;
    background: #f8f9fa;
}

.video-card-back {
    transform: perspective(1000px) rotateY(180deg);
    z-index: 1;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.video-card.flipped .video-card-front {
    transform: perspective(1000px) rotateY(-180deg);
}

.video-card.flipped .video-card-back {
    transform: perspective(1000px) rotateY(0deg);
    z-index: 3;
}

.video-card-back iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.close-video-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    font-size: 1.2rem;
}

.close-video-btn:hover {
    background: rgba(0,0,0,0.7);
}

.video-card .video-thumbnail {
    width: 100%;
    height: 180px;
    background-color: #bdc3c7;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.video-card .video-thumbnail i {
    position: absolute;
    z-index: 1;
}

.video-card .video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52,152,219,0.7), rgba(46,204,113,0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.video-card-front:hover .video-thumbnail::before {
    opacity: 1;
}

.video-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.video-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.watch-video-btn {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.watch-video-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.back-to-courses {
    display: block;
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-to-courses:hover {
    color: #2980b9;
    text-decoration: underline;
}