
/* Team Inner Page */

.ourteams {
    padding: 60px 0;
}

.about-directors {
    background: #fff;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    column-gap: 20px;
    transition: background 0.4s ease;
}

.about-directors img {
    width: 300px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    height: 300px;
}

.directors {
    background: #006efe08;
    padding: 55px 0;
}

.about-directors span {
    display: block;
    background: var(--button);
    width: fit-content;
    margin: 15px auto;
    padding: 8px 30px;
    border-radius: 50px;
    color: #fff;
    letter-spacing: 1px;
}

.foundredesc h2 {
    font-size: 27px;
}

.project-managers {
    padding: 60px 0;
}

.about-managers {
    text-align: center;
    box-shadow: 3px 3px 15px #00000014;
    padding: 42px 20px 30px;
    background: #fff;
    border-radius: 10px;
}

.about-managers img {
    border-radius: 50%;
    height: 200px;
    width: 200px;
    object-fit: cover;
}
h3.name {
    font-size: 25px;
}
.tab-content .row {
    row-gap: 20px;
}
.about-managers figure {
    position: relative;
    margin-bottom: 35px !important;
}

.team-shape {
    position: absolute;
    width: 235px !important;
    height: 235px !important;
    top: calc(50% - 120px); 
    left: calc(50% - 117px);
}

.team-shape {
    animation: rotateShape 15s linear infinite;
    transform-origin: center;
}

@keyframes rotateShape {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.round {
    height: 50px;
    width: 50px;
    background: #244cc9f5;
    border-radius: 50%;
    position: absolute;
    right: 7px;
    bottom: 6px;
    opacity: .2;
    animation: floatUpDown1 3s ease-in-out infinite;
}

@keyframes floatUpDown1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.nav-tabs .nav-link {
    border: none;
    color: #000;
    font-weight: 500;
    background: #fff;
    padding: 10px 22px;
    font-size: 18px;
    border: 1px solid #297bce5c;
}

.nav-tabs .nav-link.active {
    background: var(--button) !important;
    color: #fff;
    border-radius: 5px;
    font-size: 17px;
}

.tab-content {
    border-top: none;
    padding: 20px;
    margin-top: 40px;
}

.tab-pane h4 {
    color: #244cc9;
}

ul#myTab {
    column-gap: 10px;
    border: unset;
    row-gap: 18px;
}

ul#myTab .nav-link:hover {
    color: #000 !important;
}

.about-members {
    background: #006efe1c;
    text-align: center;
    padding: 40px 20px 25px;
    border-radius: 10px;
}

.about-members img {
    height: 200px;
    width: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.about-members img.team-shape {
    position: absolute;
    top: 20px;
    left: 18px;
    width: 240px;
    height: 240px;
}

.about-members figure {
    margin-bottom: 30px !important;
}

.about-members h3 {
    color: #000;
}

.about-members span {
    color: #000;
}


@media (max-width: 1024px) {
    
}

@media (max-width: 991px) {
    .about-directors{
        flex-direction: column;
    }

    .about-directors img{
        width: 100%;
        height: 400px;
    }

    .foundredesc{
        padding-top: 1rem;
    }

     .team-shape {
        width: 230px !important;
        height: 230px !important;
        top: calc(50% - 115px);
        left: calc(50% - 116px);
    }
}

@media (max-width: 767px) {
    .about-directors img{
        height: 300px;
    }

    
}

@media (max-width: 568px) {
    .about-directors img {
    height: auto;
    }
}