.about-section {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.section-title {
    position: relative;
}

.official-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

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

.official-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffc107;
}

.achievement-item {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #ffc107;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #1e3c72;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 15px;
}

.org-chart {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
}

.org-box {
    background: white;
    border: 2px solid #1e3c72;
    border-radius: 10px;
    padding: 15px;
    margin: 10px;
    text-align: center;
    font-weight: 600;
}

.contact-card {
    background: linear-gradient(135deg, #fadc34 0%, #f99420 100%);
    color: rgb(31, 31, 31);
    border-radius: 15px;
    padding: 30px;
}

.stats-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
}

.values-item {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.values-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin: 0 auto 20px;
}

/*mission and vision*/
.mission-vision-section .fa-bullseye, .mission-vision-section .fa-eye{
    color: #fb8500;
}

#kagawadWrapper, #skWrapper {
    overflow: hidden;
    position: relative;
}

#kagawadTrack, #skTrack {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease-in-out;
}

#kagawadTrack .card, #skTrack .card {
    flex: 0 0 auto;
    width: calc(25% - 12px); /* 4 cards on desktop */
}

/* Responsive card widths */
@media (max-width: 991px) {
    #kagawadTrack .card, #skTrack .card {
        width: calc(33.333% - 11px); /* 3 cards on medium screens */
    }
}

@media (max-width: 767px) {
    #kagawadTrack .card, #skTrack .card {
        width: calc(50% - 8px); /* 2 cards on tablets */
    }
}

@media (max-width: 575px) {
    #kagawadTrack .card, #skTrack .card {
        width: 100%; /* 1 card on mobile */
    }
}

/* Disable buttons when at start/end */
#prevKagawad:disabled, #nextKagawad:disabled,
#prevSK:disabled, #nextSK:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}