/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 60px;
}

.section-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.section-subtitle {
    color: #7f8c8d;
    margin-bottom: 30px;
}

/* Header Styles */
.header {
    margin-bottom: 20px;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px;
    margin: 0 5px;
    color: #2c3e50 !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #3498db !important;
}

.nav-link.active {
    color: #3498db !important;
    font-weight: 600;
}

.latihan-btn {
    margin-left: 10px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.latihan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Slider Styles */
.slider-section {
    margin-bottom: 30px;
}

.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    bottom: 100px;
    text-align: left;
    left: 10%;
    right: 50%;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Feature Styles */
.feature-box {
    padding: 30px 20px;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

/* Table Styles */
.table {
    margin-top: 20px;
}

.table th {
    background-color: #3498db;
    color: white;
}

/* Footer Styles */
.footer {
    background-color: #2c3e50;
}

.footer h5 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer p, .footer li {
    color: #bdc3c7;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #3498db;
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .carousel-caption {
        right: 10%;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        bottom: 50px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .feature-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 56px;
    }
    
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption {
        bottom: 20px;
        left: 5%;
        right: 5%;
        text-align: center;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    .latihan-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
}

/* Form Styles */
.form-label {
    font-weight: 500;
    margin-bottom: 5px;
}

.form-control, .form-select {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Table Styles */
.table-responsive {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.table th {
    background-color: #3498db;
    color: white;
    padding: 12px 15px;
}

.table td {
    padding: 10px 15px;
    vertical-align: middle;
}

.table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.text-center {
    text-align: center;
}