.aparatur-section {
    padding: 60px 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.section-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.aparatur-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    margin: 0 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.aparatur-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: blue;
}

.aparatur-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 4px solid blue;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 0, 0, 0.1),
        rgba(220, 20, 60, 0.1)
    );
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

.aparatur-card:hover .profile-img::after {
    opacity: 0.3;
}

.aparatur-card:hover .profile-img {
    transform: scale(1.1);
    border-color: blue;
}

.nama {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.jabatan {
    color: #8b0000;
    font-weight: 600;
    font-size: 1rem;
    background: rgba(139, 0, 0, 0.1);
    padding: 8px 15px;
    border-radius: 25px;
    display: inline-block;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(139, 0, 0, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -80px;
}

.carousel-control-next {
    right: -80px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(139, 0, 0, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

.carousel-indicators {
    bottom: -60px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-control-prev {
        left: -20px;
    }

    .carousel-control-next {
        right: -20px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .aparatur-card {
        margin: 0 10px;
        padding: 25px 15px;
    }

    .profile-img {
        width: 100px;
        height: 100px;
    }

    .profile-img i {
        font-size: 40px;
    }
}

.badge-corner {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #8b0000, #dc143c);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(-15deg);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}
