:root {
    --primary-color: #aa2222;
    --secondary-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.hero-section {
    padding: 3rem 0;
}

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

.karyawan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.karyawan-card img {
    transition: transform 0.3s ease;
}

.karyawan-card:hover img {
    transform: scale(1.05);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.card {
    border: none;
    border-radius: 10px;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
}

.btn {
    border-radius: 6px;
    font-weight: 500;
}

.form-control, .form-select {
    border-radius: 6px;
    border: 1px solid #ddd;
}

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

.alert {
    border-radius: 8px;
    border: none;
}

.badge {
    font-weight: 500;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: var(--secondary-color);
}

.progress {
    border-radius: 4px;
}

.progress-bar {
    border-radius: 4px;
}

.modal-content {
    border-radius: 10px;
    border: none;
}

.modal-header {
    border-radius: 10px 10px 0 0;
}

.pengalaman-item {
    background-color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Animation for stats cards */
.stats-section .card {
    transition: transform 0.3s ease;
}

.stats-section .card:hover {
    transform: scale(1.03);
}

/* Custom tab styling */
.nav-tabs .nav-link {
    border: none;
    color: var(--secondary-color);
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    border-bottom: 3px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

/* Photo styling */
.rounded-circle {
    object-fit: cover;
}

.img-thumbnail {
    border-radius: 8px;
}