.mobile-menu>ul>li:nth-child(5)>a {
    color: var(--accent);
}



.team-header {
    background: linear-gradient(to left, var(--bg-khak) 0%, var(--bg-khak2) 70%, var(--bg-khak) 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-header h1 {
    animation: fadeInDown 1s ease;
}

.team-header p {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.3s both;
    text-align: center;
}

.team-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 50px 20px;
}

.team-section {
    margin-bottom: 50px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--accent);
    position: relative;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-card {
    background: var(--white);
    transition: var(--transition);
    position: relative;
    width: 320px;
    flex-shrink: 0;
    border: 1px solid var(--accent);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.185);
}


.card-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);

}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 70%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .card-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-s);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.card-content {
    padding: 20px;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--accent);
    line-height: 1.3;
}

.member-position {
    font-size: 0.95rem;
    color: var(--black);
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.member-department {
    font-size: 0.85rem;
    color: var(--black-hover);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--black);
}

.member-bio {
    font-size: 0.9rem;
    color: var(--black-hover);
    line-height: 1.6;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    background: var(--accent);
    border-radius: 50%;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.leadership-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: rgb(255, 255, 255);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    text-shadow: 0 0 5px var(--black-hover-s);
    animation: pulse 2s infinite;
}

.single-member {
    display: flex;
    justify-content: center;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

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

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--accent);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(107, 218, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(107, 223, 255, 0);
    }
}

@media (max-width: 1200px) {
    .team-card {
        width: 300px;
    }
}

@media (max-width: 992px) {
    .team-card {
        width: 280px;
    }

    .team-card .card-overlay {
        opacity: 1;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .team-header {
        padding: 80px 10px 60px;
    }

    .team-container {
        padding: 60px 15px;
    }

    .team-card {
        width: 100%;
        max-width: 350px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {

    .section-title {
        font-size: 1.6rem;
    }

    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 15px;
    }

    .member-name {
        font-size: 1.2rem;
    }
}