﻿:root {
    --bg: #090909;
    --card: #171717;
    --text: #ffffff;
    --text2: #b5b5b5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Poppins,sans-serif;
    background: var(--bg);
    color: white;
}

/* Background Glow */

.team-section {
    position: relative;
    padding: 120px 8%;
    overflow: hidden;
}

    .team-section::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle,#0bb4ff40,transparent 70%);
        top: -120px;
        left: -120px;
        filter: blur(50px);
    }

    .team-section::after {
        content: "";
        position: absolute;
        width: 450px;
        height: 450px;
        background: radial-gradient(circle,#7b3ff240,transparent 70%);
        bottom: -150px;
        right: -120px;
        filter: blur(60px);
    }

/* Heading */

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}



    .section-title h2 {
        font-size: 50px;
        margin-top: 10px;
    }

    .section-title p {
        max-width: 650px;
        margin: 20px auto;
        color: #b5b5b5;
    }

/* Grid */

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
 /*   repeat(auto-fit,minmax(270px,1fr));*/
    gap: 35px;
    position: relative;
    z-index: 2;
}

/* Card */

.team-card {
    position: relative;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: .5s;
    transform: translateY(40px);
}

    .team-card.show {
        transform: translateY(0);
        opacity: 1;
    }

    .team-card:hover {
        transform: translateY(-15px);
        border-color: #0bb4ff;
        box-shadow: 0 30px 60px rgba(0,0,0,.55);
    }

.team-image {
    position: relative;
    overflow: hidden;
}

    .team-image img {
        width: 100%;
        height: 380px;
       /* object-fit: cover;*/
        transition: .6s;
    }

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

.team-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,#111 5%,transparent 60%);
}

.team-content {
    padding: 30px;
    text-align: center;
}

    .team-content h3 {
        font-size: 24px;
        margin-bottom: 8px;
    }

        .team-content h3::after {
            content: "";
            width: 60px;
            height: 3px;
            margin: 12px auto;
            display: block;
            background: var(--theme-gradient);
            border-radius: 50px;
        }

    .team-content p {
        color: var(--text2);
    }

/* Social Icons */

.socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

    .socials a {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #222;
        color: white;
        text-decoration: none;
        transition: .35s;
        font-size: 18px;
    }

        .socials a:hover {
            background: var(--theme-gradient);
            transform: translateY(-6px) rotate(360deg);
        }

/* Shine */

.team-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 100%;
    background: rgba(255,255,255,.15);
    transform: skewX(-30deg);
    left: -220px;
    top: 0;
}

.team-card:hover::before {
    animation: shine .8s linear;
}

@keyframes shine {
    100% {
        left: 140%;
    }
}

/* Responsive */

@media(max-width:768px) {

    .section-title h2 {
        font-size: 36px;
    }

    .team-image img {
        height: 320px;
    }
}
