/* Team Section Styles */
.team-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(44, 62, 80, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-top: 20px;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 130px;
    font-weight: 800;
    letter-spacing: 10px;
    color: rgba(52, 152, 219, 0.05);
    z-index: 0;
    font-family: 'Outfit', sans-serif;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    z-index: 1;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 20px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    font-weight: 400;
    line-height: 1.6;
    background: linear-gradient(135deg, #666, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    padding: 0 20px;
}

.team-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.member-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-card:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    position: relative;
    padding: 30px;
    text-align: center;
    background: #ffffff;
}

.member-info::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
}

.member-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.team-card:hover .member-info h3 {
    color: #3498db;
}

.member-role {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 25px;
}

.member-tag {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
}

.team-card:hover .member-tag {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: #ffffff;
}

.view-details-btn {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.view-details-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.view-details-btn:hover i {
    transform: translateX(5px);
}

/* Modal Styles */
.team-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.team-modal .modal-header {
    border: none;
    padding: 25px 30px;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    position: relative;
    overflow: hidden;
}

.team-modal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: translate(50%, -50%);
}

.team-modal .modal-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
}

.team-modal .btn-close {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-modal .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.team-modal .modal-body {
    padding: 40px;
}

.modal-profile {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.modal-profile-image {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-profile-info {
    flex: 1;
}

.modal-profile-info h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-profile-role {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.modal-social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 25px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.linkedin-link {
    background: #0077b5;
}

.linkedin-link:hover {
    background: #005e93;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.modal-content-section {
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-content-section h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.expertise-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: #ffffff;
    transform: translateY(-2px);
}

.position-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.position-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.5;
}

.position-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    border-radius: 50%;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .modal-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .modal-social-links {
        justify-content: center;
    }

    .position-list li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .section-header::before {
        font-size: 80px;
    }

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

    .section-header h2::before,
    .section-header h2::after {
        width: 15px;
        height: 15px;
    }

    .section-header p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .team-section {
        padding: 80px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-header::before {
        font-size: 60px;
    }

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

    .section-header h2::before,
    .section-header h2::after {
        width: 12px;
        height: 12px;
    }

    .section-header p {
        font-size: 1rem;
    }

    .modal-profile-image {
        width: 150px;
        height: 150px;
    }

    .modal-profile-info h2 {
        font-size: 1.5rem;
    }

    .team-modal .modal-body {
        padding: 25px;
    }
} 