/* ===============================
   Hero Section (Fixed)
================================ */

.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding-top: 0px;
}

/* Background image */
.hero-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0;
    margin-bottom: 8%;
}

/* Overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Main content */
.hero-main {

    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 20px;
    margin-bottom: 30%;
    padding-bottom: 50px;
}

/* Heading */
.hero-main h1 {
    font-size: 56px;
    margin-bottom: 15px;
    background: linear-gradient(180deg, #FCFCFF 0%, rgba(252, 252, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Paragraph */
.hero-main p {
    font-size: 20px;
    line-height: 1.6;
    color: #A9A8AE;
}

/* Center overlapping image */
.center-image {
    position: absolute;
    bottom: -22%;
    left: 50%;
    transform: translate(-50%, -100%);
    z-index: 3;
}

.center-image img {
    width: 80px;
}

/* ===============================
   Responsive
================================ */

@media (max-width: 768px) {
    .hero {
        height: 60vh;
        padding-top: 0px;
    }

    .hero-main h1 {
        font-size: 40px;
    }

    .hero-main p {
        font-size: 20px;
    }

    .center-image img {
        width: 50px;
    }

    .center-image {
        bottom: -18%;
    }

    .hero-bg {
        margin-bottom: 14%;
    }
}


/* hero section ends */


/* teams section start */

.team-section {
    position: relative;
    padding: 80px 20px;
    background: #020617;
    color: #fff;
    text-align: center;
    overflow: hidden;
    padding-top: 50px;
}

/* Bottom background image */
.team-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: url('https://hotspringd1dev.wpenginepowered.com/wp-content/uploads/2026/04/abstract-wave-motion-pattern-dark-blue-background-wallpaper-digital-technology-ai-generated-1-1.webp') no-repeat center bottom;
    background-size: cover;
    opacity: 0.4;
    z-index: 0;
}

.team-section h2 {
    font-size: 40px;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #FCFCFF 0%, rgba(252, 252, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {

    margin-bottom: 40px;
    font-size: 20px;
}

/* GRID */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */
.team-card {
    position: relative;
    padding: 16px;
    border-radius: 18px;
    background: rgb(0 0 0 / 24%);
    /* backdrop-filter: blur(10px); */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* IMAGE */
.card-img img {
    width: 100%;
    border-radius: 14px;
    filter: grayscale(100%);
}

/* CONTENT */
.card-content {
    text-align: left;
    padding-top: 12px;
}

.card-content h3 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 4px;
}

.role {
    font-size: 16px;
    color: #A9A8AE;
    margin-bottom: 8px;
    opacity: 0.9;
}

.email {
    font-size: 12px;
    color: #A9A8AE;
    opacity: 0.9;
}

/* LINKEDIN */
.linkedin {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ff6a00;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6a00;
    font-size: 12px;
    cursor: pointer;
}

/* BORDER GLOW */
.team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 500px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* teams section ends */