.staff-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.staff-card {
    position: relative;
}

.staff-card-inner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.staff-card-inner img {
	width: 100%;
	height: auto;
	display: block;
	min-height: 600px;
	object-fit: cover;
}
.staff-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-top: 4px solid #000;
}

.staff-title {
    color: #0066b3;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.staff-name {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.staff-actions {
    display: flex;
    gap: 10px;
}

.email-btn,
.profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-btn {
    background: #0066b3;
    color: white;
    text-decoration: none;
}

.email-btn:hover {
    background: #004d87;
}

.profile-btn {
    background: #0066b3;
    color: white;
}

.profile-btn:hover {
    background: #004d87;
}

/* Modal Styles */
.staff-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s ease;
}

.staff-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #000;
}

.modal-header {
    margin-bottom: 16px;
}

.modal-title {
    color: #0066b3;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
	
}

.modal-name {
    color: #000;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 24px 0;
    text-transform: uppercase;
}

.modal-description {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.modal-description p {
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .staff-cards-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-name {
        font-size: 24px;
    }
}