.kelas-hero {
    background: #0b1f3a; 
    color: #fff;
    padding: 120px 20px 60px; 
    position: relative;
    margin-top: 90px; 
    text-align: left;
}

.kelas-hero::before {
    content: none; 
}

.kelas-hero .hero-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 40px;
    z-index: 1;
}

.kelas-hero .hero-img img {
    max-width: 380px;
}

.kelas-hero .hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.kelas-hero .hero-text p {
    margin-top: 15px;
    opacity: 0.9;
    font-size: 1.1rem;
    color: #e6ebff;
}

.kelas-section {
    background: #0b1f3a; 
    padding: 80px 0;
    color: #fff;
    border-top: none;
    margin-top: -30px; 
}

.kelas-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: #fff;
}

.kelas-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.3);
}

.kelas-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.kelas-card .card-body {
    padding: 20px;
}

.kelas-card .card-title {
    color: #fff;
    font-weight: 700;
}

.kelas-card .card-text {
    color: #dce4ff;
}

.kelas-card .btn-detail {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    border-radius: 25px;
    background: #1b3a6f;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s;
}

.kelas-card .btn-detail:hover {
    background: #274b8a;
}

.animate-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideInLeft 1s forwards;
}

.animate-right {
    opacity: 0;
    transform: translateX(40px);
    animation: slideInRight 1s forwards;
}

@keyframes slideInLeft {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    to { opacity: 1; transform: translateX(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(15px); }
}

body {
    background: #0b1f3a;
    color: #fff;
}

footer, .footer, #footer {
  display: none !important;
}

@media (max-width: 992px) {
    .kelas-hero .hero-container {
        gap: 20px;
    }

    .kelas-hero .hero-text h1 {
        font-size: 2.2rem;
    }

    .kelas-hero .hero-text p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .kelas-hero {
        padding: 100px 20px 40px;
        text-align: center;
    }

    .kelas-hero .hero-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 30px;
    }

    .kelas-hero .hero-text {
        max-width: 100%;
    }

    .kelas-hero .hero-text h1 {
        font-size: 1.8rem;
    }

    .kelas-hero .hero-text p {
        font-size: 0.95rem;
    }

    .kelas-hero .hero-img img {
        max-width: 80%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .kelas-hero {
        padding: 80px 15px 40px;
    }

    .kelas-hero .hero-text h1 {
        font-size: 1.6rem;
    }

    .kelas-hero .hero-text p {
        font-size: 0.9rem;
    }

    .kelas-hero .hero-img img {
        max-width: 90%;
    }
}
