/********** Template CSS **********/
:root {
    --primary: #00B074;
    --secondary: #2B9BFF;
    --light: #EFFDF5;
    --dark: #2B3940;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-dark .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    /* font-size: 15px; */
    font-size: 18px;
    text-transform: capitalize;
    outline: none;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #df1d1d;
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
    /* padding-left: 72px !important; */
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid #DF1D1D;
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: #DF1D1D;
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(43, 57, 64, .5), rgba(43, 57, 64, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
.about-bg {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 5px 5px;
}


/*** Category ***/
.cat-item {
    display: block;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border: 1px solid transparent;
    transition: .5s;
}

.cat-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}


/*** Job Listing ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

.job-item {
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.job-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #212121;
    border: 1px solid #212121;
    border-radius: 2px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: #fff;
    border-color: #212121;
    background-color: #212121;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, 45%);
}

.footer .copyright a {
    color: #060606;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


.navbar img {
    /* width: 150px; */
    width: 250px;
}

.btn_new {
    border: 0px solid;
    background: transparent;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    position: relative;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 0;
    margin: 10px 15px 10px 15px;
    padding: 2px 10px;
}
.btn_new::before {
    left: -7px;
    top: -7px;
    border-width: 2px 0 0 2px;
}
.btn_new::before, .btn_new::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    border: inherit;
    transition: 0.5s ease;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
}
.btn_new:hover::after, .btn_new:hover::before {
    width: calc(100% + 13px);
    height: calc(100% + 14px);
}
.btn_new::after {
    right: -7px;
    bottom: -7px;
    border-width: 2px 0 0 2px;
    transform: rotate(180deg);
}

.slider-conte a:hover {
color: #FFFFFF;
}

.team_diagram {
    display: flex;
    flex-direction: column;
}

.team_diagram .team_diagram_col{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.team_diagram .team_diagram_col::before{
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    border-left: 2px dotted #ddd;
}

.team_diagram .our-team{
    width: 250px;
}

.our-team{
    text-align: center;
    margin-bottom: 120px;
    z-index: 1;
    position: relative;
}
.our-team .pic{
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}
/* .our-team .pic:after{
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.5s ease 0s;
}
.our-team:hover .pic:after{ opacity: 1; } */
.our-team .pic img{
    width: 100%;
    height: auto;
}
.our-team .social{
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    position: absolute;
    top: 45%;
    left: 0;
    z-index: 1;
    transition: all 0.5s ease 0s;
}
.our-team:hover .social{ opacity: 1; }
.our-team .social li{ display: inline-block; }
.our-team .social li a{
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    border: 1px solid #fff;
    font-size: 15px;
    color: #fff;
    margin-right: 10px;
    transition: all 0.5s ease 0s;
}
.our-team .social li a:hover{
    background: #fff;
    color: #000;
}
.our-team .team-content{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dotted #ddd;
    position: absolute;
    bottom: -70px;
    left: 0;
    z-index: -1;
    transition: all 0.5s ease 0s;
    background: #fff;
}
.our-team:hover .team-content{ border: 2px dotted #df1d1d; }
.our-team .team-info{
    width: 100%;
    color: #464646;
    position: absolute;
    bottom: 20px;
    left: 0;
}
.our-team .title{
    font-size: 20px;
    font-weight: 600;
    color: #464646;
    margin: 0 0 0 0;
    transition: all 0.5s ease 0s;
    margin-bottom: 0;
}
.our-team:hover .title{ color: #df1d1d; }
.our-team .post{
    display: block;
    font-size: 14px;
    color: #464646;
}

.team_diagram_col_tree .our-team.active{
    pointer-events: none;
}

.team_diagram_col_tree .our-team .team-content{
    position: relative;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    margin-top: 30px;
}

.team_diagram_col_tree .our-team .team-info{
    position: relative;
    bottom: 0;
}

.team_diagram_col_tree{
    display: flex;
    justify-content: space-between;
    /* border-top: 2px dotted #ddd;   */
    align-items: self-start;
}

.team_diagram_col_tree .our-team{
    width: 20%;
    aspect-ratio: 1/1;
    position: relative;  
    padding: 20px;
    cursor: pointer;
    margin-bottom: 0;
}

.team_diagram_col_tree .our-team.active .team-content {
    border: 2px dotted #df1d1d;
}

.team_diagram_col_tree .our-team.active .title {
    color: #df1d1d;
}

.team_diagram_col_tree .our-team::before{
    content: '';
    position: absolute;
    width: 2px;
    height: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 2px dotted #ddd;  
}
.team_diagram_col_tree .our-team.active::before{
    height: 100%;
}
.team_diagram_col_tree .our-team::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    top: 0;
    left: 0;
    border-top: 2px dotted #ddd;
}
.team_diagram_col_tree .our-team:first-child::after{
    width: 50%;
    left: 50%;
}
.team_diagram_col_tree .our-team:last-child::after{
    width: 50%;
    left: 0;
}

.team_members{
    padding: 20px;
    border: 2px dotted #ddd;
}

.team_members ul{
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.team_members ul li{
    padding: 10px 20px;
    background: #df1d1d;
    color: #fff;
    /* width: 25%; */
}

.mb_sec{
    display: none;
}

@media(max-width: 991px){
    .team_diagram_col_tree .our-team .team-content{
        padding: 20px 5px;
    }
    .team_diagram_col_tree .our-team{
        padding: 5px;
    }
    .our-team .title{
        font-size: 16px;
    }
}

@media(max-width: 768px){
    .team_diagram_col_tree{
        align-items: center;
        flex-direction: column;
    }
    .team_diagram_col_tree .our-team::after{
        display: none;
    }
    .team_diagram_col_tree .our-team {
        width: 100%;
        border-radius: 0;
        aspect-ratio: initial;
    }
    .team_diagram_col_tree .our-team .team-content {
        border-radius: 50px;
    }
    .mb_sec{
        display: block;
    }
    .desk_sec{
        display: none;
    }
}

/* .team_diagram_col_tree */

.what_we_img{
    padding: 20px;
    padding-left: 0;
    position: relative;
}

.what_we_img::before{
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
    border: 4px solid #df1d1d;
    z-index: -1;
}

.what_we_content h2{
    font-size: 24px;
    color: #494949;
    font-weight: 600;
}

.what_we_content p{
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #494949;
}

.about_us_row .row:nth-child(even){
    flex-direction: row-reverse;
}

.client_logo_slider img {
    margin: 0 30px;
    aspect-ratio: 10/3;
    object-fit: contain;
}