/* Reset dan Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    box-shadow: 0 2px 20px rgba(139, 0, 0, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav a span {
    position: relative;
    z-index: 2;
}

.nav a:hover::before {
    left: 100%;
}

.nav a:hover,
.nav a.active {
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.2),
        rgba(255, 107, 107, 0.2)
    );
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .nav a {
        padding: 10px 18px;
        font-size: 0.9rem;
        border-radius: 25px;
    }

    .profile-btn,
    .login-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 25px;
    }
}

@media (max-width: 480px) {
    .nav ul {
        gap: 0.8rem;
    }

    .nav a {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .profile-btn,
    .login-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(139, 0, 0, 0.8),
        rgba(165, 42, 42, 0.6),
        rgba(0, 0, 0, 0.4)
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

.hero-content a {
    text-decoration: none;
    list-style: none;
}

.cta-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(209, 206, 206, 0.6);
}

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

/* Mobile Hero Responsiveness */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .cta-btn {
        font-size: 1.1rem;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .cta-btn {
        font-size: 1rem;
        padding: 10px 25px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(139, 0, 0, 0.8),
        rgba(165, 42, 42, 0.6),
        rgba(0, 0, 0, 0.4)
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

.hero-content a {
    text-decoration: none;
    list-style: none;
}

.cta-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-btn:hover {
    transform: translateY(20px) scale(1.05);
    box-shadow: 0 12px 35px rgba(209, 206, 206, 0.6);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #8b2635;
    font-weight: bold;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #a0392e;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #8b2635;
    margin-bottom: 30px;
}

.about-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.detail-item strong {
    font-size: 1.1rem;
    color: #8b2635;
}

.detail-item span {
    font-size: 1rem;
    color: #a0392e;
}

/* Vision Mission Section */
.vision-mission-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e17055 0%, #a0392e 100%);
    color: white;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.vision-card,
.mission-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vision-card h3,
.mission-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.vision-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}

.mission-card ul {
    list-style: none;
    padding: 0;
}

.mission-card li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.mission-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
}

/* Facilities Section */
.facilities-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #ffeaa7 100%);
}

.facilities-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #8b2635;
    font-weight: bold;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.facility-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(139, 38, 53, 0.1);
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 38, 53, 0.2);
}

.facility-icon {
    font-size: 3rem;
    color: #e17055;
    margin-bottom: 20px;
}

.facility-item h3 {
    font-size: 1.3rem;
    color: #8b2635;
    margin-bottom: 15px;
}

.facility-item p {
    color: #a0392e;
    line-height: 1.6;
}

/* Instructors Section */
.instructors-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fab1a0 0%, #e17055 100%);
}

.instructors-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #8b2635;
    font-weight: bold;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.instructor-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(139, 38, 53, 0.1);
}

.instructor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 38, 53, 0.2);
}

.instructor-avatar {
    font-size: 4rem;
    color: #e17055;
    margin-bottom: 20px;
}

.instructor-item h3 {
    font-size: 1.3rem;
    color: #8b2635;
    margin-bottom: 10px;
}

.instructor-item p {
    color: #a0392e;
    font-style: italic;
}

/* Achievements Section */
.achievements-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffeaa7 0%, #ffffff 100%);
}

.achievements-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #8b2635;
    font-weight: bold;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-item {
    background: linear-gradient(135deg, #e17055 0%, #a0392e 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 38, 53, 0.3);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.achievement-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.achievement-item p {
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Gallery Section Styles */
.gallery-section {
    padding:0;
    background: linear-gradient(135deg, #ad0000 0%, #effdffe0 100%);
    color: white;
}

.gallery-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.gallery-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.gallery-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.gallery-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallery-modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.gallery-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-modal-close:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

.gallery-modal-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.gallery-modal-info {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.gallery-modal-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.gallery-modal-info p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.gallery-modal-prev,
.gallery-modal-next {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-section h2 {
        font-size: 2rem;
    }
    
    .gallery-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .gallery-modal-image {
        height: 250px;
    }
    
    .gallery-modal-info h3 {
        font-size: 1.5rem;
    }
    
    .gallery-modal-info p {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e17055 0%, #a0392e 100%);
    color: white;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: white;
    font-weight: bold;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-map iframe {
    border-radius: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-section .about-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-section .about-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #d63031;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-section .about-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #2d3436;
    margin-bottom: 15px;
    text-align: justify;
}

.contact-section .bottom-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.whatsapp-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.whatsapp-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #d63031;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #2d3436;
    font-weight: 500;
    border-left: 4px solid #25D366;
}

.phone-number i {
    color: #25D366;
    font-size: 1.1rem;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    border: none;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #0d7377);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: white;
    text-decoration: none;
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 2rem;
    color: #ffeaa7;
    min-width: 50px;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: white;
}

.contact-details p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

/* Responsive Design untuk Contact Section */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-map iframe {
        height: 300px;
    }

    .contact-section h2 {
        font-size: 2rem;
    }

    .contact-section .about-section h3 {
        font-size: 1.3rem;
    }

    .contact-section .about-section p {
        font-size: 0.9rem;
    }

    .contact-section .bottom-sections {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-section .schedule-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .whatsapp-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .contact-section.info-section {
        gap: 20px;
    }

    .contact-section .about-section,
    .schedule-section,
    .whatsapp-section {
        padding: 20px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .instructors-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .about-details {
        flex-direction: column;
        gap: 20px;
    }
}

/* Course Hero Section */
.course-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #ff6b6b 100%);
    margin-top: 0;
    /* PERBAIKAN: Hilangkan margin-top yang berlebihan */
    overflow: hidden;
}

.course-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="music-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23music-pattern)"/></svg>');
    z-index: 1;
}

.course-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.course-hero .hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 2rem;
}

.course-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffd700, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-hero p {
    font-size: 1.4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.courses-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 3rem;
    position: relative;
}

.courses-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #8b0000, #ff6b6b);
    border-radius: 2px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
}

.course-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.course-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(139, 0, 0, 0.1),
        rgba(255, 107, 107, 0.1)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-item:hover::before {
    opacity: 1;
}

.course-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(139, 0, 0, 0.2);
}

.course-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    padding: 20px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.course-item:hover .course-icon {
    background: linear-gradient(135deg, #8b0000, #ff6b6b);
    transform: rotate(360deg);
}

.course-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.course-item h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Course Categories */
.course-categories {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff8dc 0%, #fffacd 100%);
    position: relative;
}

.course-categories::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="music-notes" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M15 20 Q20 15 25 20 T35 20" stroke="rgba(139,0,0,0.05)" stroke-width="2" fill="none"/><circle cx="15" cy="25" r="3" fill="rgba(255,215,0,0.1)"/><circle cx="35" cy="25" r="3" fill="rgba(255,140,0,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23music-notes)"/></svg>');
    z-index: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.category-header h2 {
    font-size: 3.5rem;
    background: linear-gradient(45deg, #8b0000, #dc143c, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.category-header p {
    font-size: 1.4rem;
    color: #8b0000;
    font-weight: 500;
}

.courses-grid-detailed {
    display: grid;
    grid-template-columns: repeat(3, minmax(450px, 2fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.course-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95),
        rgba(255, 248, 220, 0.9)
    );
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 15px 50px rgba(139, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.course-card:hover::before {
    left: 100%;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(139, 0, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 1),
        rgba(255, 248, 220, 0.95)
    );
}

.course-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    transition: all 0.4s ease;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.course-icon-large::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.course-card:hover .course-icon-large::before {
    width: 100px;
    height: 100px;
}

.course-card:hover .course-icon-large {
    background: linear-gradient(135deg, #8b0000, #dc143c);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.4);
}

.course-icon-large img {
    width: 70px;
    height: 70px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.course-card:hover .course-icon-large img {
    transform: scale(1.1);
}

.course-info a {
    list-style: none;
    text-decoration: none;
    color: #007bff;
}

.course-info h3 {
    font-size: 2.2rem;
    background: linear-gradient(45deg, #8b0000, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.course-info p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Class Detail */
.class-detail {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.class-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    /* PERBAIKAN: Ubah dari center ke start */
    max-width: 1200px;
    margin: 0 auto;
}

.class-icon-section {
    text-align: center;
    position: sticky;
    /* PERBAIKAN: Buat sticky */
    top: 100px;
}

.class-icon-large {
    width: 300px;
    height: 300px;
    border-radius: 30px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
    transition: all 0.4s ease;
    overflow: hidden;
    /* PERBAIKAN: Tambahkan overflow hidden */
}

.class-icon-large:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 25px 70px rgba(255, 140, 0, 0.4);
}

.class-icon-large img {
    width: 100%;
    /* PERBAIKAN: Ubah ukuran gambar */
    height: 100%;
    object-fit: cover;
    /* PERBAIKAN: Tambahkan object-fit */
    border-radius: 30px;
}

.class-info-section {
    background: rgba(255, 255, 255, 0.95);
    /* PERBAIKAN: Tambahkan background */
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.class-info-section h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #8b0000, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.class-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 3rem;
}

/* Enrolled Status - FIXED */
.enrolled-status {
    background: linear-gradient(
        135deg,
        rgba(76, 175, 80, 0.1),
        rgba(76, 175, 80, 0.05)
    );
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.enrolled-status > p {
    font-size: 1.2rem;
    color: #4caf50;
    font-weight: bold;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Available Tests - FIXED */
.available-tests h3 {
    font-size: 1.8rem;
    color: #8b0000;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 0.5rem;
}

.test-item {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(139, 0, 0, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.test-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.15);
    border-color: rgba(139, 0, 0, 0.3);
}

.test-item h4 {
    font-size: 1.4rem;
    color: #8b0000;
    margin-bottom: 1rem;
    font-weight: bold;
}

.test-item p {
    margin-bottom: 0.8rem;
    color: #666;
}

.test-item p:last-of-type {
    margin-bottom: 1.5rem;
}

/* Register Button - FIXED */
.register-btn {
    background: linear-gradient(45deg, #8b0000, #ff6b6b);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    list-style: none;
    display: inline-block;
    text-align: center;
}

.register-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(139, 0, 0, 0.4);
}

/* Responsive Design - IMPROVED */
@media (max-width: 768px) {
    .class-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .class-icon-section {
        position: static;
    }

    .class-icon-large {
        width: 200px;
        height: 200px;
    }

    .class-info-section {
        padding: 2rem;
    }

    .class-info-section h2 {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .class-info-section {
        padding: 1.5rem;
    }

    .test-item {
        padding: 1.5rem;
    }

    .enrolled-status {
        padding: 1.5rem;
    }
}

/* Score Section */
.score-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 50%, #8b0000 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="trophy-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15 5 L20 15 L10 15 Z M12 15 L18 15 L17 20 L13 20 Z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23trophy-pattern)"/></svg>');
    z-index: 0;
}

.score-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95),
        rgba(255, 248, 220, 0.9)
    );
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.score-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 215, 0, 0.1),
        transparent
    );
    animation: shimmer 3s infinite;
}

.score-card h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: bold;
}

.score-display {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b0000, #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    box-shadow: 0 20px 50px rgba(139, 0, 0, 0.3);
    position: relative;
}

.score-display::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    background: white;
}

.score-number {
    font-size: 4rem;
    font-weight: bold;
    color: #8b0000;
    z-index: 2;
    position: relative;
}

.score-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.result-btn {
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.result-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 140, 0, 0.4);
    background: linear-gradient(45deg, #ff8c00, #ffd700);
}

/* Profile Section */
.profile-section {
    margin-top: 120px;
    padding: 40px 0;
}

.profile-container {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95),
        rgba(255, 248, 220, 0.9)
    );
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(139, 0, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.2);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.profile-photo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

/* Profile Photo Styles */
.profile-photo-container {
    position: relative;
    display: inline-block;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

.profile-photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Badge Styles */
.badge-lg {
    font-size: 0.9rem;
    padding: 8px 16px;
}

/* Statistics Cards */
.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
    margin-bottom: 20px;
}

.stat-card.primary {
    border-left-color: #007bff;
}

.stat-card.info {
    border-left-color: #17a2b8;
}

.stat-card.success {
    border-left-color: #28a745;
}

.stat-card.warning {
    border-left-color: #ffc107;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Table Container */
.table-container {
    max-height: 400px;
    overflow-y: auto;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -24px;
    top: 8px;
    bottom: -12px;
    width: 2px;
    background: #e9ecef;
}

.timeline-item:last-child:before {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #e9ecef;
}

.timeline-title {
    margin-bottom: 5px;
    font-size: 1rem;
}

.timeline-text {
    margin-bottom: 5px;
    color: #666;
}

/* Background Colors */
.bg-primary {
    background-color: #007bff !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

/* Modal untuk preview foto */
.modal-photo-preview .modal-dialog {
    max-width: 500px;
}

.modal-photo-preview .modal-body {
    text-align: center;
    padding: 20px;
}

.modal-photo-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.default-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: bold;
}

.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.profile-info {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: bold;
    width: 200px;
    flex-shrink: 0;
}

.info-value {
    flex: 1;
}

/* Results Section */
.results-section {
    margin-top: 2rem;
}

.results-title {
    font-size: 1.8rem;
    color: #8b0000;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.1);
}

.results-table th {
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    color: white;
    padding: 1rem;
    font-weight: 600;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.results-table th:last-child {
    border-right: none;
}

.results-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
    border-right: 1px solid rgba(139, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.results-table td:last-child {
    border-right: none;
}

.results-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.01);
}

.results-table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .profile-photo {
        width: 200px;
        height: 200px;
    }

    .info-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .results-table {
        font-size: 0.9rem;
    }

    .results-table th,
    .results-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .nav ul {
        gap: 0.8rem;
    }

    .nav a {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .profile-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .profile-container {
        padding: 1.5rem;
    }

    .results-table {
        font-size: 0.8rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    color: white;
    padding: 50px 0 20px;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-info h3 {
    font-size: 2rem;
    color: #ffeaa7;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.wa-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: white;
    text-decoration: none;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.wa-link:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-3px);
}

.wa-link i {
    font-size: 1.5rem;
    color: #25d366;
}

.address {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.address i {
    font-size: 1.2rem;
    color: #e17055;
}

.address span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-info h3 {
        font-size: 1.5rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 15px;
    }

    .wa-link {
        width: 45px;
        height: 45px;
    }

    .wa-link i {
        font-size: 1.3rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        padding: 0.8rem 15px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav ul {
        gap: 1rem;
    }

    .nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .courses-section h2 {
        font-size: 2.2rem;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }

    .course-item {
        padding: 1.5rem;
    }

    .course-icon {
        width: 60px;
        height: 60px;
        padding: 15px;
    }

    .course-icon img {
        width: 30px;
        height: 30px;
    }

    .courses-grid-detailed {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .course-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .course-icon-large {
        width: 100px;
        height: 100px;
    }

    .course-icon-large img {
        width: 60px;
        height: 60px;
    }

    .course-info h3 {
        font-size: 1.8rem;
    }

    .class-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .class-icon-large {
        width: 200px;
        height: 200px;
    }

    .class-icon-large img {
        width: 120px;
        height: 120px;
    }

    .class-info-section h2 {
        font-size: 2.2rem;
    }

    .score-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .score-display {
        width: 150px;
        height: 150px;
    }

    .score-number {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-item h3 {
        font-size: 1.2rem;
    }

    .courses-grid-detailed {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .course-card {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .course-icon-large {
        width: 80px;
        height: 80px;
    }

    .course-icon-large img {
        width: 50px;
        height: 50px;
    }

    .course-info h3 {
        font-size: 1.5rem;
    }

    .course-info p {
        font-size: 0.9rem;
    }
}

/* Loading Animation */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #8b0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Quiz Section */
.quiz-section {
    margin-top: 120px;
    padding: 40px 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.quiz-container {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95),
        rgba(255, 248, 220, 0.9)
    );
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(139, 0, 0, 0.1);
    border: 3px solid #4a90e2;
    max-width: 800px;
    margin: 0 auto;
}

.quiz-title {
    text-align: center;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #8b0000, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-weight: bold;
}

.question {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border-left: 5px solid #8b0000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.question:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.15);
}

.question-number {
    font-weight: bold;
    color: #8b0000;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.option:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    transform: scale(1.02);
}

.option input[type="radio"] {
    accent-color: #8b0000;
    transform: scale(1.2);
}

.option label {
    cursor: pointer;
    font-weight: 500;
    flex: 1;
}

.video-upload {
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border-left: 5px solid #ffd700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.video-input:focus {
    outline: none;
    border-color: #8b0000;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.2);
}

.submit-btn {
    background: linear-gradient(45deg, #8b0000, #ff6b6b);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
    display: block;
    margin: 2rem auto 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(139, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .quiz-container {
        padding: 2rem;
        margin: 0 1rem;
    }

    .quiz-title {
        font-size: 2rem;
    }

    .options {
        grid-template-columns: 1fr;
    }

    .nav ul {
        gap: 1rem;
    }

    .nav a {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .quiz-container {
        padding: 1.5rem;
    }

    .quiz-title {
        font-size: 1.8rem;
    }

    .question {
        padding: 1rem;
    }

    .nav ul {
        gap: 0.8rem;
    }

    .nav a {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
}

.notification-success {
    background: linear-gradient(135deg, #4caf50, #45a049);
}

.notification-error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.notification-info {
    background: linear-gradient(135deg, #2196f3, #1976d2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b0000, #ff6b6b);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff6b6b, #8b0000);
}
