        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        :root {
            --primary: #4361ee;
            --secondary: #3a0ca3;
            --accent: #f72585;
            --light: #f8f9fa;
            --dark: #212529;
            --success: #4cc9f0;
            --warning: #f8961e;
        }

        body {
            background-color: #f5f7ff;
            color: var(--dark);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Loading Animation - Diperkecil untuk HP */
        #loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s, visibility 0.5s;
        }

        #loading-screen.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader {
            width: 60px;
            height: 60px;
            position: relative;
        }

        .loader-circle {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 6px solid transparent;
            border-top-color: var(--accent);
            animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        }

        .loader-circle:nth-child(2) {
            border-top-color: var(--success);
            animation-delay: -0.3s;
        }

        .loader-circle:nth-child(3) {
            border-top-color: var(--warning);
            animation-delay: -0.6s;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loading-text {
            color: white;
            margin-top: 15px;
            font-size: 1.2rem;
            font-weight: 600;
            text-align: center;
        }

        .loading-dots {
            display: inline-block;
            width: 15px;
        }

        .loading-dots::after {
            content: '';
            animation: dots 1.5s steps(5, end) infinite;
        }

        @keyframes dots {
            0%, 20% { content: ''; }
            40% { content: '.'; }
            60% { content: '..'; }
            80%, 100% { content: '...'; }
        }

        /* Header dengan Menu Mobile */
        header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 1rem 1.5rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo i {
            font-size: 1.8rem;
            color: var(--accent);
        }

        .logo h1 {
            font-size: 1.5rem;
            font-weight: 700;
        }

        .logo span {
            color: var(--accent);
        }

        /* Icon Menu untuk HP */
        .menu-icon {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: white;
            background: rgba(255, 255, 255, 0.1);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .menu-icon:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.05);
        }

        /* Menu untuk Desktop */
        .desktop-nav {
            display: flex;
        }

        .desktop-nav ul {
            display: flex;
            list-style: none;
            gap: 1.2rem;
            align-items: center;
        }

        .desktop-nav a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }

        .desktop-nav a:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }

        .cta-button {
            background-color: var(--accent);
            padding: 0.5rem 1.2rem;
            border-radius: 30px;
            font-weight: 600;
            display: inline-block;
            font-size: 0.9rem;
        }

        .cta-button:hover {
            background-color: #e11570;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        /* Menu Mobile Overlay */
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 200;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mobile-nav-overlay.active {
            display: block;
            opacity: 1;
        }

        .mobile-nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 85%;
            max-width: 300px;
            height: 100%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            z-index: 201;
            transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
            overflow-y: auto;
            box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
            padding: 1.5rem;
        }

        .mobile-nav.active {
            right: 0;
        }

        .mobile-nav-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .mobile-nav-header h2 {
            color: white;
            font-size: 1.5rem;
        }

        .close-menu {
            font-size: 1.5rem;
            color: white;
            cursor: pointer;
            background: rgba(255, 255, 255, 0.1);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .close-menu:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
        }

        .mobile-nav ul {
            list-style: none;
        }

        .mobile-nav li {
            margin-bottom: 0.8rem;
        }

        .mobile-nav a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            display: block;
            padding: 0.9rem 1rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.05);
            font-size: 1rem;
        }

        .mobile-nav a:hover,
        .mobile-nav a.active {
            background: rgba(255, 255, 255, 0.15);
            padding-left: 1.5rem;
        }

        .mobile-nav .cta-button {
            display: block;
            text-align: center;
            margin-top: 1rem;
            background-color: var(--accent);
            color: white;
            padding: 0.8rem;
            border-radius: 8px;
            font-weight: 600;
        }

        /* Hero Section dengan Banner Berganti-ganti */
        .hero {
            position: relative;
            height: 80vh;
            min-height: 500px;
            max-height: 700px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-slideshow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .hero-slide.active {
            opacity: 1;
        }

        /* Gambar background untuk slideshow */
        .slide-1 {
            background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), 
                            url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .slide-2 {
            background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), 
                            url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .slide-3 {
            background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), 
                            url('/rufi_kursus/assets/images/slides/slide-3.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .slide-4 {
            background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), 
                            url('/rufi_kursus/assets/images/slides/slide-4.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
            padding: 0 2rem;
            text-align: center;
            color: white;
        }

        .hero h2 {
            font-size: 2.2rem;
            margin-bottom: 1.5rem;
            color: white;
            line-height: 1.3;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            animation: fadeInUp 1s ease-out;
        }

        .hero p {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
            line-height: 1.6;
            text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        .hero .cta-button {
            background-color: var(--accent);
            padding: 0.8rem 2rem;
            border-radius: 30px;
            font-weight: 600;
            font-size: 1rem;
            animation: fadeInUp 1s ease-out 0.4s both;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
        }

        .hero .cta-button:hover {
            background-color: #e11570;
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        }

        /* Slider indicators */
        .slider-indicators {
            position: absolute;
            bottom: 30px;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            gap: 10px;
            z-index: 3;
        }

        .slider-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .slider-indicator.active {
            background-color: var(--accent);
            transform: scale(1.2);
        }

        /* Animasi untuk hero content */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Marquee / Tulisan Berjalan */
        .marquee-container {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 12px 0;
            overflow: hidden;
            position: relative;
            z-index: 10;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }

        .marquee-content {
            display: flex;
            animation: marquee 10s linear infinite;
            white-space: nowrap;
        }

        .marquee-item {
            display: flex;
            align-items: center;
            margin-right: 40px;
            font-size: 0.95rem;
            font-weight: 500;
        }

        .marquee-item i {
            color: var(--accent);
            margin-right: 8px;
            font-size: 1.1rem;
        }

        @keyframes marquee {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* Pause marquee on hover */
        .marquee-container:hover .marquee-content {
            animation-play-state: paused;
        }

        /* Main Content - Dioptimalkan untuk HP */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1.5rem;
        }

        section {
            margin-bottom: 3rem;
        }

        .section-title {
            font-size: 1.5rem;
            color: var(--secondary);
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 3px solid var(--accent);
            display: inline-block;
        }

        /* Kursus Cards - Responsif untuk HP */
        .courses-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .course-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .course-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        }

        .course-header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 1.2rem;
            text-align: center;
        }

        .course-header i {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .course-header h3 {
            font-size: 1.3rem;
        }

        .course-body {
            padding: 1.2rem;
        }

        .course-level {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            background-color: var(--light);
            border-radius: 20px;
            font-size: 0.85rem;
            margin-bottom: 0.8rem;
            color: var(--secondary);
            font-weight: 500;
        }

        .course-desc {
            color: #666;
            margin-bottom: 1.2rem;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .course-topics {
            list-style: none;
            margin-bottom: 1.2rem;
        }

        .course-topics li {
            padding: 0.4rem 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
            font-size: 0.9rem;
        }

        .course-topics li:last-child {
            border-bottom: none;
        }

        .course-topics i {
            color: var(--accent);
            margin-right: 0.5rem;
            font-size: 0.85rem;
            min-width: 16px;
        }

        .course-action {
            text-align: center;
        }

        .btn-enroll {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0.7rem 1.5rem;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
            width: 100%;
            transition: background-color 0.3s ease;
            font-size: 0.95rem;
        }

        .btn-enroll:hover {
            background-color: var(--secondary);
        }

        /* Mata Pelajaran Section - Responsif untuk HP */
        .subjects-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.2rem;
        }

        .subject-card {
            background-color: white;
            padding: 1.2rem;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
        }

        .subject-card:hover {
            transform: translateY(-5px);
        }

        .subject-icon {
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: 0.8rem;
        }

        .subject-card h4 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .subject-card p {
            font-size: 0.9rem;
            color: #666;
            line-height: 1.5;
        }

        .education-level {
            margin-top: 2.5rem;
        }

        .level-title {
            font-size: 1.3rem;
            color: var(--secondary);
            margin-bottom: 1rem;
            padding-left: 1rem;
            border-left: 4px solid var(--accent);
        }

        /* Footer - Dioptimalkan untuk HP */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 2.5rem 1.5rem 1.5rem;
            margin-top: 3rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-column h3 {
            color: var(--accent);
            margin-bottom: 1.2rem;
            font-size: 1.2rem;
        }

        .footer-column p {
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 1rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.7rem;
        }

        .footer-links a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
        }

        .footer-links a i {
            margin-right: 0.5rem;
            width: 20px;
            font-size: 0.9rem;
        }

        .footer-links a:hover {
            color: var(--accent);
        }

        .social-links {
            display: flex;
            gap: 0.8rem;
            margin-top: 1rem;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .social-links a:hover {
            background-color: var(--accent);
            transform: translateY(-3px);
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #aaa;
            font-size: 0.85rem;
        }

        /* Responsive Design - Fokus pada HP */
        @media (max-width: 768px) {
            /* Sembunyikan menu desktop, tampilkan icon menu */
            .desktop-nav {
                display: none;
            }
            
            .menu-icon {
                display: flex;
            }
            
            .logo h1 {
                font-size: 1.4rem;
            }
            
            .logo i {
                font-size: 1.6rem;
            }
            
            /* Hero section responsif */
            .hero {
                height: 70vh;
                min-height: 400px;
                max-height: 500px;
            }
            
            .hero h2 {
                font-size: 1.6rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .hero .cta-button {
                padding: 0.7rem 1.5rem;
                font-size: 0.9rem;
            }
            
            /* Marquee untuk HP */
            .marquee-item {
                font-size: 0.85rem;
                margin-right: 30px;
            }
            
            /* Container padding lebih kecil */
            .container {
                padding: 1rem;
            }
            
            /* Section title lebih kecil */
            .section-title {
                font-size: 1.4rem;
            }
            
            /* Level title lebih kecil */
            .level-title {
                font-size: 1.2rem;
            }
        }

        /* Untuk tablet (768px ke atas) */
        @media (min-width: 769px) {
            .courses-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .subjects-container {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
            
            /* Sembunyikan menu icon di desktop */
            .menu-icon {
                display: none;
            }
            
            /* Hero untuk tablet */
            .hero h2 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.3rem;
            }
        }

        /* Untuk desktop (992px ke atas) */
        @media (min-width: 992px) {
            .courses-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .subjects-container {
                grid-template-columns: repeat(4, 1fr);
            }
            
            .footer-content {
                grid-template-columns: repeat(4, 1fr);
            }
            
            .hero h2 {
                font-size: 3rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
        }
        
        /* ============ MODAL INFORMASI ============ */
.info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.info-modal-content {
    background-color: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #666;
    background-color: #f0f0f0;
}

.close-modal:hover {
    background-color: var(--danger);
    color: white;
    transform: rotate(90deg);
}

.info-modal h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-right: 30px;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.8rem;
}

.info-section {
    margin-bottom: 1.5rem;
    background-color: #f8f9fa;
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.info-section h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section h4 i {
    color: var(--accent);
    font-size: 1rem;
}

.info-section ul {
    list-style: none;
    padding-left: 0;
}

.info-section li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 0.95rem;
}

.info-section li:last-child {
    border-bottom: none;
}

.info-section li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.9rem;
}

.info-section p {
    margin: 0.5rem 0;
    color: #666;
    font-style: italic;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact-info-item {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.contact-info-item strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.3rem;
}

.contact-info-item a {
    color: var(--accent);
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* ============ ADMIN VIEW STATS ============ */
.admin-view-stats {
    margin-top: 0.8rem;
    padding: 0.8rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    font-size: 0.7rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    border: 1px solid #dee2e6;
    font-weight: 500;
}

.admin-view-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.admin-view-stats i {
    color: var(--primary);
    font-size: 0.6rem;
}

/* ============ VIEW COUNTER ============ */
.view-counter {
    display: inline-flex;
    align-items: center;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 8px;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
}

.view-counter i {
    margin-right: 5px;
    font-size: 0.6rem !important;
    color: white !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ============ POPULAR BADGE ============ */
.popular-badge {
    display: inline-block;
    background: #ffc107;
    color: #000;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: bold;
    margin-left: 8px;
    position: relative;
    cursor: help;
}

.popular-badge[data-tooltip] {
    position: relative;
}

.popular-badge[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.7rem;
    white-space: nowrap;
    z-index: 10;
    margin-bottom: 5px;
    pointer-events: none;
}

/* ============ COURSE BADGES ============ */
.course-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.course-badges .course-level {
    margin-bottom: 0;
}

/* ============ COURSE META ============ */
.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.8rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: #fafafa;
    border-radius: 5px;
    padding: 0.8rem;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-meta i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* ============ COURSE ACTIONS ============ */
.course-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.course-actions .btn-enroll {
    flex: 2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.course-actions .btn-info {
    flex: 1;
    text-decoration: none;
}

/* ============ REGISTRATION INFO ============ */
.registration-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 4px solid var(--primary);
    padding: 0.8rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.registration-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #495057;
}

.registration-info-item:last-child {
    margin-bottom: 0;
}

.registration-info-item i {
    margin-right: 0.5rem;
    color: var(--primary);
    width: 16px;
    font-size: 0.9rem;
}

/* ============ RESPONSIVE UNTUK MODAL ============ */
@media (max-width: 768px) {
    .info-modal-content {
        padding: 1.5rem;
        max-height: 80vh;
    }
    
    .info-modal h3 {
        font-size: 1.2rem;
    }
    
    .info-section {
        padding: 1rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .course-actions .btn-enroll,
    .course-actions .btn-info {
        width: 100%;
    }
    
    .admin-view-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* ============ ABOUT SECTION ============ */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(247, 37, 133, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.about-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-section .section-title {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-size: 2rem;
    position: relative;
}

.about-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.about-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.15);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.about-card:hover h3::after {
    width: 80px;
}

.about-card h3 i {
    color: var(--accent);
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.about-card:hover h3 i {
    transform: scale(1.2) rotate(360deg);
}

.about-card p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 1rem;
    text-align: justify;
    position: relative;
    padding: 0.5rem 0;
}

/* Card dengan warna berbeda untuk setiap kartu */
.about-card:nth-child(1) {
    border-bottom: 4px solid var(--primary);
}

.about-card:nth-child(2) {
    border-bottom: 4px solid var(--accent);
}

.about-card:nth-child(3) {
    border-bottom: 4px solid var(--success);
}

.about-card:nth-child(1) h3 i {
    color: var(--primary);
}

.about-card:nth-child(2) h3 i {
    color: var(--accent);
}

.about-card:nth-child(3) h3 i {
    color: var(--success);
}

/* Animasi masuk untuk kartu */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.about-card:nth-child(1) {
    animation-delay: 0.1s;
}

.about-card:nth-child(2) {
    animation-delay: 0.3s;
}

.about-card:nth-child(3) {
    animation-delay: 0.5s;
}

/* ============ RESPONSIVE ABOUT SECTION ============ */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-section {
        padding: 3rem 0;
    }
    
    .about-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-section {
        padding: 2.5rem 0;
    }
    
    .about-section .section-title {
        font-size: 1.8rem;
    }
    
    .about-card {
        padding: 2rem 1.5rem;
    }
    
    .about-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .about-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .about-card:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 2rem 0;
    }
    
    .about-section .section-title {
        font-size: 1.5rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .about-card h3 {
        font-size: 1.1rem;
    }
    
    .about-card h3 i {
        font-size: 1.5rem;
    }
}
