/* ====================== GLOBAL STYLES ====================== */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: radial-gradient(circle at top, #111, #000 75%);
    font-family: 'Poppins', sans-serif;
    color: #fff;
}

/* Remove default gaps between sections */
section {
    padding: 40px 0;
    margin: 0;
}

/* Text shadow for readability */
h1, h2, h5, p {
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

/* ====================== COURSES SECTION ====================== */
.courses-section .course-card {
    background: rgba(0,0,0,0.4);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.courses-section .course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.course-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.course-title {
    background: rgba(0,0,0,0.5);
    padding: 8px 0;
    color: #fff;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
}

/* Buttons */
.btn-see-more, .btn-view, .view-btn {
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-see-more {
    background: linear-gradient(90deg, #8a2be2, #ff7f50);
    color: #fff;
}

.btn-view {
    background: linear-gradient(90deg, #ffc107, #ff6600);
    color: #fff;
}

.view-btn {
    background: linear-gradient(90deg, #ffc107, #ff8c00);
    color: #fff;
}

/* Floating image animation */
.course-side-img {
    max-width: 85%;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ====================== VIDEO CARDS ====================== */
.video-card {
    background: rgba(0,0,0,0.4);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

.video-card:hover {
    transform: translateY(-5px);
}

/* ====================== TEACHERS SECTION ====================== */
.swiper-slide {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    width: 320px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.4);
}

.teacher-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* ====================== TESTIMONIALS SECTION ====================== */
.testimonials-section .testimonial-card {
    background: rgba(0,0,0,0.4);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.testimonials-section img {
    border-radius: 50%;
    width: 70px;
    height: 70px;
}

/* ====================== MARQUEE ====================== */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Optional: Pause on hover */
.testimonial-marquee:hover .testimonial-track {
    animation-play-state: paused;
}

/* ====================== FADE IN ANIMATION ====================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ====================== HOVER EFFECTS ====================== */
.video-card:hover,
.course-card:hover,
.swiper-slide:hover {
    transform: translateY(-5px);
}

/* ====================== MEDIA QUERIES ====================== */
@media (max-width: 768px) {
    .course-card {
        padding: 10px;
    }

    html, body {
        background: radial-gradient(circle at top,#111,#000 75%);
    }
}
