.team-title {
    font-weight: bold;
    margin-top: 5px;
    text-align: center;
    white-space: nowrap;
}

.designation {
    font-size: 14px;
    color: gray;
    margin-top: 2px;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.5;
}

.team-container {
    margin-bottom: 50px;
    position: relative;
}

.center-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: visible;
}

.center-circle:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.center-social-icons {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 11;
}

.center-social-icons .icon {
    position: absolute;
    text-align: center;
    font-size: 16px;
    color: #fff !important;
    background-color: #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.center-social-icons .icon:hover {
    background-color: #0056b3;
}

.center-social-icons .facebook {
    top: 24%;
    left: 65%;
    transform: translate(-50%, -100%);
}

.center-social-icons .email {
    bottom: 42%;
    left: 80%;
    transform: translate(-50%, 100%);
}

.center-social-icons .linkedin {
    bottom: 59%;
    left: 83%;
    transform: translate(-50%, 100%);
}

.center-social-icons .instagram {
    top: 31%;
    right: 28%;
    transform: translate(100%, -50%);
}

.center-circle:hover .center-social-icons {
    opacity: 1;
}

.center-text {
    position: absolute;
    top: calc(50% + 120px);
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
}

.main-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: transform 0.3s ease-in-out;
}

.social-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 2;
}

.social-icons .icon {
    position: absolute;
    text-align: center;
    font-size: 16px;
    color: #fff !important;
    background-color: #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.social-icons .icon:hover {
    background-color: #0056b3;
}

.social-icons .facebook {
    top: -6px;
    left: 50%;
    transform: translateX(90%);
}

.social-icons .twitter {
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
}

.social-icons .linkedin {
    bottom: 48px;
    left: 105%;
    transform: translateX(-79%);
}

.social-icons .instagram {
    top: 50%;
    right: -9px;
    transform: translateY(-150%);
}

.main-circle:hover .social-icons {
    opacity: 1;
}

.sub-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: absolute;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}

.sub-circle-1 {
    top: -100px;
    left: 120%;
    transform: translate(-50%, 0);
}

.sub-circle-2 {
    top: 42%;
    left: 170%;
    transform: translate(-50%, -50%);
}

.sub-circle-3 {
    bottom: -74px;
    left: 132%;
    transform: translate(-50%, 0);
}

.main-circle-left {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-circle-left {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: absolute;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-circle-left-1 {
    top: -100px;
    right: 120%;
    transform: translate(50%, 0);
}

.sub-circle-left-2 {
    top: 42%;
    right: 170%;
    transform: translate(50%, -50%);
}

.sub-circle-left-3 {
    bottom: -74px;
    right: 130%;
    transform: translate(50%, 0);
}

.text-right-of-circle {
    position: absolute;
    top: 50%;
    left: 108%;
    transform: translate(0, -50%);
    text-align: left;
}

.text-left-of-circle {
    position: absolute;
    top: 50%;
    right: 108%;
    transform: translate(0, -50%);
    text-align: right;
}

.center-circle:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    z-index: 11;
}

.center-text:hover {
    color: #555;
    transition: color 0.3s ease-in-out;
}

.main-circle:hover,
.main-circle-left:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
    z-index: 2;
}

.sub-circle:hover,
.sub-circle-left:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
    z-index: 2;
}

.main-circle:hover,
.main-circle-left:hover,
.sub-circle:hover,
.sub-circle-left:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.mb-top {
    margin-top: 45px;
}