/*==============================================
    Team One
===============================================*/
.team-one {
    --tm-primary: var(--itzone-base, #0096d6);
    --tm-primary-2: #0057ff;
    --tm-dark: #0b1b33;

    position: relative;
    padding: 110px 0 90px;
    background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
    overflow: hidden;
    z-index: 1;
}
.team-one .section-title { margin-bottom: 60px; }
.team-one .container { position: relative; z-index: 2; }

/* background blobs */
.team-one__shape-1,
.team-one__shape-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .35;
    pointer-events: none;
    z-index: 0;
}
.team-one__shape-1 { width: 380px; height: 380px; top: -120px; left: -120px; background: #7cc8ff; }
.team-one__shape-2 { width: 360px; height: 360px; bottom: -140px; right: -100px; background: #b9a7ff; }

/* ===== Card ===== */
.team-one__single {
    position: relative;
    margin-bottom: 30px;
    padding: 12px 12px 26px;
    text-align: center;
    background: #fff;
    border-radius: 26px;
    border: 1px solid rgba(0, 150, 214, .1);
    box-shadow: 0 18px 45px rgba(16, 52, 110, .08);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease;
}
.team-one__single:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 87, 255, .18);
}

/* image area */
.team-one__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1.08;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--tm-primary), var(--tm-primary-2));
}
.team-one__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}
.team-one__single:hover .team-one__img img { transform: scale(1.08); }

/* photo na ho to initial avatar */
.team-one__avatar {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.team-one__avatar::before,
.team-one__avatar::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}
.team-one__avatar::before { width: 220px; height: 220px; top: -70px; right: -60px; }
.team-one__avatar::after  { width: 160px; height: 160px; bottom: -50px; left: -40px; }
.team-one__avatar span {
    position: relative;
    z-index: 1;
    font-size: 96px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

/* bottom shade on hover */
.team-one__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 20, 42, 0) 45%, rgba(7, 20, 42, .55) 100%);
    opacity: 0;
    transition: opacity .45s ease;
    pointer-events: none;
}
.team-one__single:hover .team-one__img::after { opacity: 1; }

/* ===== Social icons ===== */
.team-one__social {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 2;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    transform: translate(-50%, 30px);
    opacity: 0;
    transition: all .45s ease;
}
.team-one__single:hover .team-one__social {
    transform: translate(-50%, 0);
    opacity: 1;
}
.team-one__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--tm-primary-2);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    transition: all .3s ease;
}
.team-one__social a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--tm-primary), var(--tm-primary-2));
    transform: translateY(-4px);
}

/* ===== Name & role ===== */
.team-one__info { padding: 22px 10px 0; }
.team-one__name {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--tm-dark);
    transition: color .3s ease;
}
.team-one__single:hover .team-one__name { color: var(--tm-primary); }
.team-one__role {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7a90;
}
.team-one__role::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--tm-primary), var(--tm-primary-2));
    transform: translateX(-50%);
    transition: width .45s ease;
}
.team-one__single:hover .team-one__role::after { width: 70px; }

/* touch devices: icons hamesha dikhein */
@media (hover: none) {
    .team-one__social { transform: translate(-50%, 0); opacity: 1; }
    .team-one__img::after { opacity: 1; }
}

@media (max-width: 575px) {
    .team-one { padding: 80px 0 60px; }
    .team-one__avatar span { font-size: 80px; }
}



/* FIX: Team members must stay in one horizontal row */

.team-one__slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.team-one__slider {
    width: 100%;
    overflow: hidden;
}

.team-one__slider .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
}

.team-one__slider .swiper-slide {
    flex-shrink: 0 !important;
    height: auto !important;
    display: flex;
}

.team-one__slider .team-one__single {
    width: 100%;
    height: 100%;
    margin-bottom: 0 !important;
}

/* Equal image height */
.team-one__slider .team-one__img {
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
}

.team-one__slider .team-one__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation arrows */
.team-one__nav {
    top: 40%;
}

@media (max-width: 575px) {
    .team-one__slider-wrapper {
        padding: 10px 35px 20px;
    }
}
/* Team View All button */
.team-one .team-one__footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 30px;
    padding-bottom: 10px;
}

.team-one .team-one__view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 52px;
    padding: 14px 34px;

    background: linear-gradient(135deg, #0096d6, #0057ff);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 50px;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;

    box-shadow: 0 8px 22px rgba(0, 87, 255, 0.2);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.team-one .team-one__view-all span {
    display: inline-block;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.team-one .team-one__view-all:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 87, 255, 0.3);
}

.team-one .team-one__view-all:hover span {
    transform: translateX(5px);
}

.team-one .team-one__view-all:focus-visible {
    outline: 3px solid #0057ff;
    outline-offset: 4px;
}

@media (max-width: 575px) {
    .team-one .team-one__footer {
        margin-top: 20px;
    }

    .team-one .team-one__view-all {
        min-height: 48px;
        padding: 12px 28px;
        font-size: 15px;
    }
}