/* Team Page Specific Styles */

.team {
    padding: 80px 0;
    background: #f8fafc;
}

.team-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.team-intro h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.team-intro p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

.team-member {
    background: #f1f9ff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.team-header {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.team-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-20px, -20px) rotate(180deg);
    }
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22d3ee, #0891b2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.team-member:hover .team-photo {
    transform: scale(1.1) rotate(5deg);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.team-info {
    flex: 1;
    color: white;
}

.team-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-role {
    display: block;
    font-size: 1.1rem;
    color: #22d3ee;
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: #f1f9ff;
    color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.team-quote {
    padding: 2.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    border-left: 5px solid #22d3ee;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    color: #22d3ee;
    opacity: 0.2;
}

.team-quote p {
    font-style: italic;
    color: #1e3a8a;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
    padding-left: 60px;
}

.team-credentials {
    padding: 2.5rem;
}

.credential-section {
    margin-bottom: 2rem;
}

.credential-section:last-child {
    margin-bottom: 0;
}

.credential-section h4 {
    color: #1e3a8a;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #e0f2fe;
}

.credential-section h4 i {
    color: #3b82f6;
    font-size: 1.3rem;
}

.credential-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.credential-section li {
    padding: 0.6rem 0;
    color: #64748b;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.credential-section li i {
    color: #22d3ee;
    margin-top: 4px;
    flex-shrink: 0;
}

.credential-section p {
    color: #64748b;
    line-height: 1.7;
    margin: 0.8rem 0;
}

.credential-section p strong {
    color: #1e3a8a;
    font-weight: 600;
}

/* Team Values Section */
.team-values {
    margin-top: 6rem;
    padding: 4rem 0;
    background: #f1f9ff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.values-header {
    text-align: center;
    margin-bottom: 3rem;
}

.values-header h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.values-header p {
    font-size: 1.1rem;
    color: #64748b;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.value-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e0f2fe;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.value-card:hover h3,
.value-card:hover p {
    color: white;
}

.value-card:hover .value-icon {
    background: #f1f9ff;
    color: #3b82f6;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Mobile Responsive for Team Page */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-header {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .team-photo {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

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

    .team-role {
        font-size: 1rem;
    }

    .team-social {
        justify-content: center;
    }

    .team-quote {
        padding: 2rem 1.5rem;
    }

    .team-quote p {
        padding-left: 0;
        font-size: 0.95rem;
    }

    .quote-icon {
        font-size: 2rem;
        top: 10px;
        left: 10px;
    }

    .team-credentials {
        padding: 2rem 1.5rem;
    }

    .credential-section h4 {
        font-size: 1.1rem;
    }

    .credential-section li {
        font-size: 0.9rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .team-intro h2 {
        font-size: 2rem;
        flex-direction: column;
    }

    .values-header h2 {
        font-size: 2rem;
        flex-direction: column;
    }

    .team-values {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .team-intro h2 {
        font-size: 1.8rem;
    }

    .team-header {
        padding: 1.5rem 1rem;
    }

    .team-quote,
    .team-credentials {
        padding: 1.5rem 1rem;
    }

    .values-header h2 {
        font-size: 1.8rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }

    .value-icon {
        width: 70px;
        height: 70px;
    }

    .value-icon i {
        font-size: 1.8rem;
    }

    .value-card h3 {
        font-size: 1.2rem;
    }
}