﻿.team-grid {
    display: grid; /* ✅ this is the main thing */
    grid-template-columns: repeat(4, 1fr); /* ✅ 4 in one row */
    gap: 25px;
}

.member {
    text-align: center;
}

    .member img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
    }


.team h2 {
    text-align: center; /* ✅ center */
    font-size: 32px; /* ✅ size */
    font-weight: bold; /* ✅ bold */
    color: #0f2a66; /* ✅ blue theme */
    margin-bottom: 20px; /* ✅ spacing */
}


/* ✅ TEAM SECTION */
.team {
    margin-top: 50px;
    padding: 20px;
}

    /* ✅ HEADING */
    .team h2 {
        text-align: center;
        font-size: 32px;
        font-weight: bold;
        color: #0f2a66;
    }

/* ✅ GRID (MAIN FIX) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 in one row */
    gap: 25px;
    margin-top: 30px;
}

/* ✅ CARD */
.member {
    text-align: center;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}

    .member:hover {
        transform: translateY(-5px);
    }

    /* ✅ IMAGE FIX */
    .member img {
        width: 120px;
        height: 120px;
        object-fit: cover; /* ✅ image crop fix */
        border-radius: 50%; /* ✅ round image */
        display: block;
        margin: 0 auto 10px;
    }

    /* ✅ TEXT */
    .member p {
        font-size: 14px;
        margin: 0;
    }

    .member b {
        display: block;
        font-size: 16px;
        color: #0f2a66;
    }
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}


/* ✅ whatsapp */

.card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f2166;
    color: white;
    padding: 15px 25px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

    /* Icon style */
    .card i {
        font-size: 22px;
    }

    /* Hover effect */
    .card:hover {
        transform: scale(1.08);
        background: #1ebe5d;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

    /* Click (active) effect */
    .card:active {
        transform: scale(0.95);
    }


/* loho  ke liye*/

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .logo img {
        height: 80px;
    }


    /* nidek        d*/
