/* Team Page Modern Styles */
:root {
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-800: #343a40;
}

/* Hero Section */
.team-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
        url("../images/team-hero-bg.jpg");
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
    margin-bottom: 50px;
    text-align: center;
    min-height: 200px;
}

.team-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-hero h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Team Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: "";
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--secondary);
    max-width: 700px;
    margin: 20px auto 0;
}

/* Team Member Cards */
.team-member {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member-img {
    position: relative;
    overflow: hidden;
}

.team-member-img img {
    width: 100%;
    height: auto;
    transition: all 0.5s;
}

.team-member:hover .team-member-img img {
    transform: scale(1.05);
}

.team-member-info {
    padding: 25px;
    text-align: center;
}

.team-member-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.team-member-info .position {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
    display: block;
}

.team-member-info p {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--gray-200);
    border-radius: 50%;
    margin: 0 5px;
    color: var(--dark);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Team Leadership Section */
.leadership-section {
    padding: 50px 0;
    background-color: var(--gray-100);
}

.team-lead {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 50px;
}

.team-lead .row {
    align-items: center;
}

.team-lead-img {
    padding: 0;
}

.team-lead-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-lead-info {
    padding: 40px;
}

.team-lead-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.team-lead-info .position {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
    display: block;
}

.team-lead-info p {
    margin-bottom: 20px;
    color: var(--secondary);
}

/* Team Values Section */
.team-values {
    padding: 50px 0;
}

.value-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px 25px;
    height: 100%;
    transition: all 0.3s;
}

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

.value-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.value-card p {
    color: var(--secondary);
    margin-bottom: 0;
}

/* CTA Section */
.team-cta {
    background: linear-gradient(rgba(0, 123, 255, 0.9), rgba(0, 123, 255, 0.9)),
        url("../images/team-cta-bg.jpg");
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.team-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.team-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.team-cta-btn {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.team-cta-btn:hover {
    background-color: transparent;
    color: var(--white);
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .team-lead-info {
        padding: 30px;
    }

    .team-lead-info h3 {
        font-size: 1.8rem;
    }

    .team-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .team-lead-img {
        height: 300px;
    }

    .team-lead-info {
        padding: 25px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .team-cta h2 {
        font-size: 2rem;
    }
}
