/* Team Page Styles */
.team-hero {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(42, 94, 232, 0.8), rgba(135, 162, 236, 0.8)), url('Img/img1\ \(12\).jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

.team-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.team-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.leadership {
    padding: 100px 0;
    background-color: var(--white);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.leader-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.leader-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-image img {
    transform: scale(1.05);
}

.social-links {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.leader-card:hover .social-links {
    opacity: 1;
    transform: translateY(0);
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
}

.leader-info {
    padding: 30px;
    text-align: center;
}

.leader-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.position {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.bio {
    color: var(--medium-gray);
    margin-bottom: 20px;
    font-size: 15px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-dark);
}

.team-departments {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.department {
    margin-bottom: 60px;
}

.department h3 {
    font-size: 28px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--dark);
}

.department h3 i {
    color: var(--primary);
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.member-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-10px);
}

.member-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.member-info p {
    color: var(--medium-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.member-info a {
    color: var(--primary);
    font-size: 18px;
    transition: color 0.3s ease;
}

.member-info a:hover {
    color: var(--primary-dark);
}

.team-values {
    padding: 100px 0;
    background-color: var(--white);
}

.values-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.values-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.values-content p {
    font-size: 18px;
    color: var(--medium-gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(42, 94, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
    margin: 0 auto 20px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 0;
}

.team-contact {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.contact-content {
    display: flex;
    gap: 50px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.contact-form {
    flex: 1;
    padding: 50px;
}

.contact-form h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-form p {
    color: var(--medium-gray);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 94, 232, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    flex: 1;
    padding: 50px;
    background-color: var(--primary);
    color: var(--white);
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.info-text p {
    opacity: 0.9;
    font-size: 15px;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-social .social-links {
    display: flex;
    gap: 15px;
}

.contact-social .social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-social .social-links a:hover {
    background-color: var(--white);
    color: var(--primary);
}

.careers-cta {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.careers-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.careers-cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        background-color: var(--dark);
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .team-hero {
        padding: 150px 0 80px;
    }
    
    .team-hero h1 {
        font-size: 36px;
    }
    
    .department h3 {
        font-size: 24px;
    }
    
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .team-hero h1 {
        font-size: 32px;
    }
    
    .team-hero p {
        font-size: 18px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-members {
        grid-template-columns: 1fr;
    }
}