/* Team Section Swiper Styles */
.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.teamSwiper {
    width: 100%;
    padding: 40px 0 60px;
    margin-top: 40px;
}

.teamSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.team-photo {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.team-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.team-member:hover .team-overlay {
    transform: translateY(0);
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
    margin: auto;
}

.team-specialty-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.team-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.team-role {
    font-size: 1rem;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 4px;
}

.team-specialization {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 8px;
}

.team-experience {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 12px;
    font-weight: 600;
}

.team-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.team-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.team-actions .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    display: inline-flex;
    margin: 0.4em;
}

.btn-outline-secondary {
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #999;
    color: #333;
}

/* Swiper Navigation Buttons */
.teamSwiper .swiper-button-next,
.teamSwiper .swiper-button-prev {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.teamSwiper .swiper-button-next:after,
.teamSwiper .swiper-button-prev:after {
    font-size: 20px;
    color: #0066cc;
    font-weight: bold;
}

.teamSwiper .swiper-button-next:hover,
.teamSwiper .swiper-button-prev:hover {
    background: #0066cc;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.teamSwiper .swiper-button-next:hover:after,
.teamSwiper .swiper-button-prev:hover:after {
    color: white;
}

/* Swiper Pagination */
.teamSwiper .swiper-pagination {
    bottom: 20px;
}

.teamSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.teamSwiper .swiper-pagination-bullet-active {
    background: #0066cc;
    width: 30px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-section {
        padding: 60px 0;
    }
    
    .team-content {
        padding: 20px;
    }
    
    .team-content h3 {
        font-size: 1.3rem;
    }
    
    .team-actions {
        flex-direction: column;
    }
    
    .team-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    .teamSwiper .swiper-button-next,
    .teamSwiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .teamSwiper .swiper-button-next:after,
    .teamSwiper .swiper-button-prev:after {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .team-bio {
        font-size: 0.9rem;
    }
    
    .teamSwiper {
        padding: 20px 0 50px;
    }
}