/* Services Video Section */

.servicesVideoSectionWrapper {
    z-index: 9;
    position: relative;
    margin-top: 100px;
}

.servicesThumbnail {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 50px;
}

.videoPlayButtonWrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.serviceVideoWrap {
    width: 100%;
    height: 700px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50px;
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.play-toggle {
    position: relative;
    cursor: pointer;
}

.play-toggle .play-circle,
.play-toggle span {
    display: inline-block;
    vertical-align: middle;
}

.play-toggle span {
    color: var(--Secondary-color);
    margin-left: 1rem;
    font-size: 1.2rem;
    transition: transform 350ms ease;
}

.play-toggle span i,
.play-toggle span strong {
    display: inline-block;
    opacity: 0;
    transform: translate3d(-1rem, 0, 0);
    animation: slideIn 400ms ease forwards;
}

.play-toggle span i {
    color: var(--TextDark-color);
    animation-delay: 700ms;
}

.play-toggle span strong {
    font-size: 1.25em;
    font-weight: 900;
    letter-spacing: 1px;
    animation-delay: 750ms;
    color: var(--TextDark-color);
}

.play-toggle .play-circle {
    position: relative;
    width: 4rem;
    height: 4rem;
    background: var(--TextDark-color);
    border-radius: 50%;
    transform: scale(0);
    animation: scaleIn 500ms cubic-bezier(0.075, 0.82, 0.165, 1) 500ms forwards;
}

.play-toggle .play-circle:before,
.play-toggle .play-circle:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--TextDark-color);
    border-radius: 50%;
    opacity: 0.04;
}

.play-toggle .play-circle:before {
    width: 8rem;
    height: 8rem;
    margin-left: -4rem;
    margin-top: -4rem;
}

.play-toggle .play-circle:after {
    width: 12rem;
    height: 12rem;
    margin-left: -6rem;
    margin-top: -6rem;
}

.play-toggle .play-icon {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--Secondary-color);
    border-radius: 50%;
    box-shadow: 0 3px 24px rgba(0, 0, 0, 0.3);
    transition: transform 350ms ease;
}

.play-toggle .play-icon:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-35%, -50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 15px solid var(--TextDark-color);
    border-bottom: 10px solid transparent;
}

.play-toggle:hover .play-icon {
    transform: scale(1.1);
}

.play-toggle:hover span {
    transform: translateX(0.3rem);
}

/* Services Section */

.servicesSectionWrapper {
    padding: 0 0 100px 0;
}

.tjc-tabs {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.tjc-tabs::-webkit-scrollbar {
    display: none;
}

.tjc-tab-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    border: 1px solid var(--Secondary-color);
    border-radius: 50px;
    cursor: pointer;
    font-size: var(--FS-22px);
    font-weight: var(--FW-500);
    color: var(--Secondary-color);
}

.tjc-tab-btn img {
    width: 30px;
    height: 30px;
}

.tjc-tab-btn.tjc-active {
    background: var(--Secondary-color);
    color: var(--Primary-color);
}

.tjc-sec {
    position: relative;
    display: none;
    flex-direction: column;
    gap: 2rem;
}

.tjc-sec.tjc-show {
    display: flex;
}

.tjc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--Secondary-color);
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.3s;
    position: relative;
    font-size: var(--FS-40px);
    font-weight: var(--FW-400);
    color: var(--Secondary-color);
}

.tjc-arrow {
    display: none;
    margin-left: 10px;
    vertical-align: middle;
}

.tjc-item:hover .tjc-arrow,
.tjc-item.tjc-hover .tjc-arrow {
    display: inline-block;
}

.tjc-item.tjc-hover,
.tjc-item:hover {
    opacity: 1;
}

.tjc-index {
    width: 2rem;
    margin-right: 30px;
}

.tjc-preview {
    position: absolute;
    top: 50%;
    right: 0;
    width: 400px;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(-50%) scale(0.95);
    pointer-events: none;
    rotate: 5.34deg;
}

.tjc-preview.tjc-visible {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Teams Section */

.ourTeamProfilesWrapper {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

.ourTeamProfile {
    padding: 20px;
    width: 33.33%;
    height: 300px;
    position: relative;
    overflow: hidden;
    border: solid 1px var(--Secondary-color);
}

.twoWayBorder {
    border-width: 1px 0;
}

.teamProfileBg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.ourTeamProfile:hover .teamProfileBg {
    opacity: 0.95;
}

.teamName {
    font-size: var(--FS-50px);
    font-weight: var(--FW-500);
    color: var(--Secondary-color);
    font-family: var(--cyberformcond-font-family);
    mix-blend-mode: difference;
}

.teamNumber {
    font-size: var(--FS-20px);
    font-weight: var(--FW-200);
    color: var(--Secondary-color);
    mix-blend-mode: difference;
}

.teamCategory {
    position: absolute;
    bottom: 0;
    left: 20px;
}

.teamCategoryBadge {
    padding: 7px 20px;
    font-size: var(--FS-22px);
    font-weight: var(--FW-500);
    color: var(--Primary-color);
    background: var(--Secondary-color);
    border-radius: 30px;
    width: fit-content;
}

.aboutUsSectionBG {
    position: absolute;
    bottom: 0;
    right: 15%;
    width: 250px;
}

.aboutUsSectionDesc {
    font-size: var(--FS-34px);
    font-weight: var(--FW-400);
    padding: 50px;
    color: var(--Secondary-color);
    text-align: center;
}


.arrowButtonHeroSection {
    cursor: pointer;
    position: relative;
    padding: 24px 24px;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: var(--Secondary-color);
    border: 2px solid var(--Secondary-color);
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
}

.arrowButtonHeroSection::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 50px;
    height: 50px;
    border-radius: inherit;
    scale: 0;
    z-index: -1;
    background-color: var(--Secondary-color);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.arrowButtonHeroSection:hover::before {
    scale: 3;
}

.arrowButtonHeroSection:active,
.arrowButtonHeroSection:hover {
    scale: 1;
}

.arrowButtonHeroSection:active svg g,
.arrowButtonHeroSection:hover svg g {
    mix-blend-mode: difference;
}

.connectText {
    font-size: var(--FS-24px);
    font-weight: var(--FW-500);
    color: var(--Secondary-color);
}

/* Contact Us Banner */

.contactSectionWrapper {
    padding: 100px;
}

.contactSection {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
    border-radius: 50px;
}

.contactBgImage {
    width: 100%;
    height: 600px;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
    object-fit: cover;
}

.contactCard {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    background: var(--LightBlack-color);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 50px;
    color: var(--Secondary-color);
    text-align: center;
    transition: background 0.3s ease;
    width: 80%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contactSubtitle {
    font-size: var(--FS-24px);
    font-weight: var(--FW-400);
    margin-bottom: 10px;
    color: var(--Secondary-color);
}

.contactTitle {
    font-size: var(--FS-40px);
    font-weight: var(--FW-500);
    margin: 0 0 20px;
    line-height: 1.2;
    color: var(--Secondary-color);
}

.contactBtn {
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 10px 20px;
    font-size: var(--FS-22px);
    font-weight: var(--FW-500);
    color: var(--Primary-color);
    background: var(--Secondary-color);
    border-radius: 30px
}

.contactSection:hover .contactBgImage {
    filter: grayscale(0%) brightness(1.1) contrast(1.05);
}