﻿

/* LAYOUT */
.platform {
    display: flex;
    min-height: calc(100vh - 80px);
}

/* SIDEBAR */
.sidebar {
    width: 280px;
    background: #181818;
    padding: 35px 25px;
    border-right: 1px solid #333;
}

    .sidebar h3 {
        margin-bottom: 25px;
        color: #ff2b2b;
    }

    .sidebar ul {
        list-style: none;
    }

    .sidebar li {
        padding: 16px;
        margin-bottom: 12px;
        background: #222;
        border-left: 4px solid transparent;
        border-radius: 8px;
        transition: .3s;
        cursor: pointer;
    }

        .sidebar li:hover {
            border-left: 4px solid #ff2b2b;
            background: #2d2d2d;
        }

/* CONTENT */
.content {
    flex: 1;
    padding: 40px;
}

/* HERO */
.hero {
    background: linear-gradient(135deg,#1c1c1c,#000);
    border: 1px solid #333;
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 40px;
}

    .hero h1 {
        font-size: 42px;
        margin-bottom: 15px;
    }

    .hero span {
        color: #ff2b2b;
    }

    .hero p {
        font-size: 18px;
        color: #ccc;
        margin-bottom: 30px;
    }

.start-btn {
    display: inline-block;
    background: #c40000;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
}

/* COURSES */
.section-title {
    font-size: 30px;
    margin-bottom: 25px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 25px;
}

.course-card {
    background: #1b1b1b;
    border: 1px solid #333;
    border-radius: 18px;
    padding: 30px;
    transition: .3s;
}

    .course-card:hover {
        transform: translateY(-5px);
        border-color: #ff2b2b;
    }

.course-tag {
    display: inline-block;
    background: #c40000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
}

.course-card h2 {
    margin-bottom: 15px;
    font-size: 24px;
}

.course-card p {
    color: #bbb;
    margin-bottom: 20px;
}

.progress {
    height: 8px;
    background: #333;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: #ff2b2b;
}

.watch-btn {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid #ff2b2b;
    border-radius: 8px;
    color: white;
    text-decoration: none;
}

/* LIVE */
.live-box {
    margin-top: 45px;
    background: #1c1c1c;
    padding: 30px;
    border-radius: 18px;
    border-left: 5px solid red;
}

.live-label {
    color: red;
    font-weight: bold;
    margin-bottom: 12px;
}


/* =========================
   HOME SLIDER
========================= */

#homeSlider {
    width: 100%;
    overflow: hidden;
    border-radius:10px;
}

.slider-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

/* Caption */
.slider-caption {
    bottom: 50%;
    transform: translateY(50%);
    left: 10%;
    right: 10%;
    text-align: center;
}

    .slider-caption h1 {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .slider-caption p {
        font-size: 1.25rem;
        margin-bottom: 25px;
    }
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 7.5rem;
    height: 7.5rem;
    filter: brightness(0) saturate(100%) invert(17%) sepia(98%) saturate(3957%) hue-rotate(350deg) brightness(90%) contrast(105%);
}

    .slider-btn {
    padding: 10px 25px;
    font-weight: 600;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .slider-image {
        height: auto;
        width:100%;
    }

    .slider-caption h1 {
        font-size: 2.3rem;
    }

    .slider-caption p {
        font-size: 1.1rem;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 576px) {

    .slider-image {
        width:100%;
        height: auto;
        object-fit: contain;
    }

    .slider-caption {
        left: 15%;
        right: 15%;
        bottom: 50%;
    }

        .slider-caption h1 {
            font-size: 1.5rem;
            margin-bottom: 8px;
        }

        .slider-caption p {
            font-size: 0.85rem;
            margin-bottom: 12px;
        }

    .slider-btn {
        font-size: 0.8rem;
        padding: 7px 14px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.5rem;
        height: 1.5rem;
        filter: brightness(0) saturate(100%) invert(17%) sepia(98%) saturate(3957%) hue-rotate(350deg) brightness(90%) contrast(105%);
    }

    .carousel-indicators {
        margin-bottom: 8px;
    }

        .carousel-indicators button {
            width: 20px;
            height: 3px;
        }
}



/* =========================
   HOME SWIPER
========================= */

.homeSwiper {
    width: 100%;
    padding: 20px 50px 50px;
}

    .homeSwiper .swiper-slide {
        height: auto;
    }

.image-box {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

    .image-box img {
        display: block;
        width: 100%;
        object-fit: cover;
    }



