/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f9fafc;
    color: #222;
}

/* ================= HERO SLIDER ================= */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* SLIDES */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* DARK OVERLAY */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

/* HERO CONTENT */
.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: white;
    max-width: 550px;
    z-index: 2;
    animation: fadeUp 1s ease;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin: 20px 0;
    opacity: 0.9;
}

/* BUTTON */
.btn {
    background: linear-gradient(45deg, #ff2e63, #ff6a88);
    color: #fff;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 46, 99, 0.4);
}

/* ================= STATS ================= */
.stats-wrapper {
    margin-top: -80px;
    padding-bottom: 50px;
    position: relative;
    z-index: 10;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* GLASS CARD */
.stat-card {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.8);
    padding: 25px 35px;
    border-radius: 16px;
    text-align: center;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
    animation: fadeUp 0.8s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.stat-card h3 {
    color: #ff2e63;
    font-size: 30px;
    margin-bottom: 5px;
}

.stat-card p {
    color: #555;
    font-size: 14px;
}

/* ================= COURSES ================= */
.courses {
    padding: 90px 8%;
    text-align: center;
}

.courses h2 {
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
}

.courses h2::after {
    content: "";
    width: 70px;
    height: 3px;
    background: #ff2e63;
    display: block;
    margin: 10px auto;
}

/* GRID */
.course-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* CARD */
.course-card {
    background: white;
    border-radius: 16px;
    width: 300px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.4s;
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* IMAGE */
.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.4s;
}

.course-card:hover img {
    transform: scale(1.1);
}

/* CONTENT */
.course-content {
    padding: 20px;
}

.course-card h3 {
    color: #ff2e63;
    margin-bottom: 10px;
}

.course-card p {
    color: #666;
    font-size: 14px;
}

    
/* ================= TESTIMONIALS ================= */
.testimonials {
    background: linear-gradient(135deg, #ff2e63, #ff6a88);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.testimonials h2 {
    font-size: 34px;
    margin-bottom: 40px;
}

/* SLIDER */
.testimonial-slider {
    max-width: 700px;
    margin: auto;
    position: relative;
}

/* CARD */
.testimonial {
    display: none;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0;
    transition: 0.5s;
}

.testimonial.active {
    display: block;
    opacity: 1;
}

.testimonial h4 {
    margin-top: 15px;
    font-weight: 600;
}

/* ================= WHY CHOOSE US ================= */
.why-us {
    padding: 90px 8%;
    text-align: center;
    background: #fff;
}

.why-us h2 {
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
}

.why-us h2::after {
    content: "";
    width: 70px;
    height: 3px;
    background: #ff2e63;
    display: block;
    margin: 10px auto;
}

/* GRID */
.why-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* CARD */
.why-card {
    width: 260px;
    background: #f9fafc;
    padding: 30px 20px;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.why-card:hover {
    transform: translateY(-10px);
    background: #ff2e63;
    color: white;
}

/* ICON */
.why-card i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ff2e63;
    transition: 0.3s;
}

.why-card:hover i {
    color: white;
}

/* TEXT */
.why-card h3 {
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: #666;
}

.why-card:hover p {
    color: #fff;
}

/* ================= ANIMATION ================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= RESPONSIVE ================= */
@media(max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content {
        left: 5%;
    }

    .stats-wrapper {
        margin-top: -40px;
    }
}

