
  /* team_style.css */

/* ===== TEAM SECTION ===== */
.team-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

/* Section title */
.team-section .name p {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
}

/* Grid container for team members */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* Individual team member card */
.team-member {
    position: relative;
    width: 250px;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Team member image */
.member-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

/* Info section initially hidden */
.member-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

/* Name and designation styling */
.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #222;
}

.member-info p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

/* Hover effect: shrink image & reveal info */
.team-member:hover .member-image {
    transform: scale(0.8) translateY(-20px);
}

.team-member:hover .member-info {
    transform: translateY(0);
}

/* footer social media */
.follow-us {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.follow-us .icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
}

/* Platform Colors */
.follow-us .linkedin {
    background: #0a66c2;
}

.follow-us .instagram {
    background: #e1306c;
}

.follow-us .twitter {
    background: #141d22;
    font-size: 15px;
}

/* Hover */
.follow-us .icon:hover {
    opacity: 0.85;
}
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;   /* ⬅ centers Follow Us + icons */
    text-align: center;
}

.follow-us {
    display: flex;
    justify-content: center;  /* ⬅ centers icons horizontally */
    gap: 10px;
    margin-top: 10px;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .team-member {
        width: 220px;
        height: 280px;
    }
}

@media screen and (max-width: 768px) {
    .team-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }

    .team-member {
        width: 180px;
        height: 250px;
    }

    .member-info {
        padding: 15px 8px;
    }

    .member-info h3 {
        font-size: 1.1rem;
    }

    .member-info p {
        font-size: 0.9rem;
    }
}

/* Optional: smooth fade-in effect for info text */
.member-info h3,
.member-info p {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-member:hover .member-info h3,
.team-member:hover .member-info p {
    opacity: 1;
}


   