/* General Styles */
:root {
    --primary-color: #2196F3;
    --secondary-color: #1976D2;
    --success-color: #4CAF50;
    --danger-color: #F44336;
    --warning-color: #FFC107;
    --info-color: #00BCD4;
    --dark-color: #212121;
    --light-color: #F5F5F5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(33, 150, 243, 0.9), rgba(25, 118, 210, 0.9));
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Slider */
.swiper-container {
    width: 100%;
    height: 400px;
    margin: 20px 0;
}

.swiper-slide {
    text-align: center;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Form Styles */
.form-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-content {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-left: 50px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        margin-left: 70px;
    }
    
    .timeline-content::before {
        left: -40px;
    }
}

/* Footer */
.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* PWA Styles */
@media (display-mode: standalone) {
    .navbar {
        padding-top: env(safe-area-inset-top);
    }
    
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
/* Unit Selection Styles */
.unit-option {
    margin-bottom: 15px;
}

.unit-option .btn-check:checked + .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.unit-option .btn {
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background-color: white;
    color: var(--dark-color);
    text-align: center;
    position: relative;
}

.unit-option .btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.unit-option .btn i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.unit-option .btn strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.unit-option .btn small {
    font-size: 0.85rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .unit-option .btn {
        padding: 20px 15px;
    }
    
    .unit-option .btn i {
        font-size: 1.2rem;
    }
}
/* Pendaftaran Option Styles - Improved */
.pendaftaran-option {
    margin-bottom: 15px;
}

.pendaftaran-option .btn-check:checked + .btn {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-width: 2px;
}

.pendaftaran-option .btn {
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background-color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 20px 15px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pendaftaran-option .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.pendaftaran-option .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.pendaftaran-option .btn:hover::before {
    left: 100%;
}

.pendaftaran-option .btn i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
    color: var(--primary-color);
}

.pendaftaran-option .btn strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.2;
}

.pendaftaran-option .btn .tahun-ajaran {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 3px;
    font-weight: 500;
}

.pendaftaran-option .btn .periode {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 8px;
    line-height: 1.3;
}

.pendaftaran-option .btn .biaya {
    font-size: 0.9rem;
    font-weight: 700;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: auto;
}

/* Unit Selection Styles - Improved */
.unit-option {
    margin-bottom: 15px;
}

.unit-option .btn-check:checked + .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
}

.unit-option .btn {
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background-color: white;
    color: var(--dark-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 25px 20px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.unit-option .btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.unit-option .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.unit-option .btn:hover::before {
    left: 100%;
}

.unit-option .btn i {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: block;
    color: var(--primary-color);
}

.unit-option .btn strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.2;
}

.unit-option .btn small {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.3;
}

/* Section Headers */
.section-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.section-header h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.section-header .section-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pendaftaran-option .btn,
    .unit-option .btn {
        padding: 15px 10px;
        min-height: 90px;
    }
    
    .pendaftaran-option .btn i,
    .unit-option .btn i {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .pendaftaran-option .btn strong,
    .unit-option .btn strong {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .pendaftaran-option .btn .tahun-ajaran,
    .pendaftaran-option .btn .periode,
    .unit-option .btn small {
        font-size: 0.75rem;
    }
    
    .pendaftaran-option .btn .biaya {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
}

@media (max-width: 576px) {
    .pendaftaran-option .btn,
    .unit-option .btn {
        padding: 12px 8px;
        min-height: 80px;
    }
    
    .pendaftaran-option .btn i,
    .unit-option .btn i {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .pendaftaran-option .btn strong,
    .unit-option .btn strong {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
}