/* Hover & extra animations added to existing styles */

.team-section li {
    margin: 10px 0;
    font-size: 1.05rem;
    color: #555;
    position: relative;
    left: -20px;
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}
.team-section li:hover {
    color: #000;
    transform: translateX(8px);
}

/* Optional image/icon bounce on hover */
.team-section img {
    transition: transform 0.3s ease-in-out;
}
.team-section img:hover {
    transform: scale(1.1) rotate(3deg);
}

/* Fade up animation reused for paragraphs */
.contact-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 15px 0;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-in-out;
    transition: color 0.3s;
}
.contact-content p:hover {
    color: #444;
}

/* Button animation example (if you use one later) */
.btn {
    transition: background 0.3s ease, transform 0.3s ease;
}
.btn:hover {
    background-color: #222;
    color: #fff;
    transform: scale(1.05);
}
/* Team Cards Section */
.team-cards-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.team-cards-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    animation: fadeIn 1s ease;
}

.team-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.team-card {
    background-color: #fff;
    width: 280px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: zoomIn 0.7s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.team-card h3 {
    margin: 10px 0 5px;
    font-size: 1.4rem;
    color: #222;
}

.team-card .role {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.team-card .bio {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .team-cards {
        flex-direction: column;
        align-items: center;
    }
}

