/* Key Personnels Page Specific Styles */

.key-personnels-section {
    padding: 15vh 20px 100px;
    min-height: calc(100vh - 200px);
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6rem);
    text-transform: uppercase;
    color: #666666;
    /* Grey text */
    margin-bottom: 50px;
}

.personnels-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.personnel-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 300px;
}

.personnel-box {
    background-color: var(--secondary-color);
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: visible;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Optional photo area if they had one, for now background is yellow */
.personnel-photo {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 65%;
    object-fit: cover;
    object-position: top center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.personnel-info {
    position: relative;
    z-index: 2;
    text-align: center;
}

.personnel-name {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: -5px;
}

.personnel-designation {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #333;
}

.personnel-socials {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.personnel-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 8px;
    /* Slightly rounded square as seen in image */
    color: var(--primary-color);
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    /* The icons have thick borders */
}

.personnel-socials a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.personnel-socials svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}