/* Bootstrap CSS CDN */
@import url('https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css');

/* Enhanced styles for staff profile page */

:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --light-bg: #f8f9fa;
    --dark-text: #2b2d42;
    --light-text: #8d99ae;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.staff-profile-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.staff-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.staff-main-content {
    display: flex;
    padding: 3rem;
    gap: 2rem;
}

.staff-sidebar {
    width: 35%;
    padding-right: 3rem;
}

.staff-details {
    width: 65%;
}

.staff-image-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
}

.staff-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

.staff-contact-card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.staff-name {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.staff-position {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.staff-department {
    display: inline-block;
    background: var(--light-bg);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
    border: 1px solid #e0e0e0;
}

.staff-quote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--light-text);
    padding: 1rem;
    border-left: 3px solid var(--accent-color);
    margin-bottom: 2rem;
    background: rgba(76, 201, 240, 0.05);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.staff-bio {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    text-decoration: none !important;
    color: var(--dark-text);
    transition: color 0.3s ease;
}

.contact-item i {
    width: 30px;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.skill-tag {
    background: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.skill-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--skill-percentage);
    background: var(--accent-color);
    opacity: 0.2;
}

@media (max-width: 992px) {
    .staff-main-content {
        flex-direction: column;
        padding: 2rem;
    }
    
    .staff-sidebar, .staff-details {
        width: 100%;
        padding-right: 0;
    }
    
    .staff-sidebar {
        margin-bottom: 2rem;
    }
    
    .staff-image-container {
        max-width: 300px;
        margin: 0 auto 2rem;
    }
}

@media (max-width: 768px) {
    .staff-profile-container {
        padding: 0 1rem;
    }
    
    .staff-main-content {
        padding: 1.5rem;
    }
    
    .staff-name {
        font-size: 2rem;
    }
    
    .staff-position {
        font-size: 1.2rem;
    }
}
