* {
    box-sizing: border-box;
}


@media (min-width: 1201px) and (max-width: 1519px) {
    .container {
        width: 95%;
    }
}
#wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.content {
    /* max-width: 600px; */
    width: 100%;
    margin: 0 5%;
    margin-top: 6%;
    transition: 0.3s ease;
}

.tabs {
    margin: 0;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    border-radius: 2px 2px 0px 0px;
}

.tablinks {
    background: transparent;
    background-image: linear-gradient(90deg, transparent 70%, rgba(255, 255, 255, 0.2) 100%);
    border: none;
    outline: none;
    cursor: pointer;
    width: 25%;
    height: 80px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    overflow: hidden;
    transition: 0.3s ease;
}

.tablinks::before {
    /* to get the hover background */
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    content: '';
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.3s ease;
    z-index: 2;
}

.tablinks:hover::before {
    height: 100%;
    z-index: 2;
    bottom: 0;
}

/* style the active tab */

.tablinks.active {
    background-color: #fff;
    border-right: 0px;
    border-left: 0px;
    height: 110px;
    bottom: 0px;
    overflow: hidden;
}

/* now style the top border */

.tablinks.active::before {
    content: '';
    width: 100%;
    height: 5px;
    top: 0;
    left: 0;
    /* color comes from the .tablinks::before style */
}

/* hover class */
.tablinks.active p,
.tablinks.active:hover p {
    opacity: 1;
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tablinks p {
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: 0.5s ease;
    padding: 0;
    margin: 0;
    color: #686868;
    backface-visibility: hidden;
    font-weight: 400;
}

.tablinks:hover p {
    color: #fff;
    opacity: 1;
}

/* on hover, text animation */
.tablinks p:before {
    content: attr(data-title);
    position: absolute;
    height: auto;
    width: auto;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.1;
    font-size: 40px;
    z-index: -1;
    font-weight: 600;
    top: 110%;
    transition: 1s ease;
}

/* on hover, animation should occur */
.tablinks:hover p:before {
    opacity: 0.1;
    font-size: 40px;
    top: -80%;
}

.wrapper_tabcontent {
    background-color: #fff;
    margin-top: 0px;
    /* z-index: -3; */
    position: relative;
    opacity: 1;
    padding: 40px 60px;
    overflow: hidden;
    transition: all 1s ease;
    top: 0;
}

.tabcontent {
    display: none;
    min-height: 180px;
}

.tabcontent.active {
    display: block;
    transition: all 1s ease;
}

/* border bottom on tab content */
.wrapper_tabcontent:after {
    content: '';
    height: 5px;
    width: 100%;
    position: absolute;
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    left: 0;
    bottom: 0;
    z-index: -2;
    transition: all 1s ease;
}

.tabcontent h3 {
    font-size: 40px;
    top: 75px;
    transform: rotate(90deg);
    position: absolute;
    opacity: 0.1;
    left: -90px;
    position: absolute;
    width: 200px;
    height: 60px;
    padding: 0;
    animation: city 1s ease;
}

@keyframes city {
    from {
        left: -150px;
    }

    to {
        left: -90px;
    }
}

.tabcontent p {
    color: #686868;
    margin: 0;
    padding: 0;
    line-height: 28px;
    font-weight: 100;
    transition: all 1s ease;
    animation: fadeEffect 0.6s ease;
    width: 100%;
    font-size: 16px;
}

/* for the fadein effect of paragraph */

@keyframes fadeEffect {
    from {
        opacity: 0;
        margin-left: 60px;
    }

    to {
        opacity: 1;
        margin-left: 0px;
    }
}

.healthcarefluid.myaboutpage {
    background-image: url('../../common/images/aboutanimation/ab.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.mainaboutfluid {
    padding: 50px 0;
}

.padding-comman1 {
    padding: 37px 0;
}

@media (max-width: 767px) {
    .healthcarefluid.myaboutpage {
        height: 100vh;
        margin-top: 0px;
        padding: 360px 0px;
    }
}

.container1 {
    /* padding-top: 3%; */
    position: relative;
    width: 100%;
    height: auto;

}

.item {
    width: 100%;
    height: 550px;
    max-width: 820px;
    background: rgba(0, 0, 0, .5);
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, .4);
    overflow: hidden;
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    z-index: 1000;
    margin: 2%;
}

.contact {

    background: white;
}

.submit-form {
    background: rgba(0, 0, 0, 0.2);
}

.first-text {
    padding-left: 20px;
    padding-top: 20px;
    font-size: 35px;
    color: #FFAF45;
    font-weight: 600;
    text-transform: capitalize;
}

.image {
    height: 350px;
    width: 350px;
}

.social-media {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
    align-content: space-around;
    align-items: stretch;
}

ul li {
    padding-left: 15px;
    font-size: 24px;
    margin-top: 10px;
}

.social-media i {
    background: #FFAF45;
    padding: 5px;
    transition: .3s;
    color: #fff;
}

.social-media i:hover {
    color: #030e4f;
}

.secnd-text {
    font-weight: 500;
    color: #FFAF45;
    padding-left: 20px;
}

.third-text {
    font-size: 25px;
    position: relative;
    top: 20px;

    padding-top: 10px;
    color: #fff;
}

form {

    height: 100%;
    width: 100%;
    overflow: hidden;
}

.input-box {
    height: 40px;
    width: 80%;
    margin: 30px 0;
    position: relative;
}

.input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: 1px solid #fff;
    outline: none;
    padding-left: 10px;
    color: #fff;
    font-size: 16px;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 10px;
    padding-left: 10px;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    transition: .3s;
}

.input-box .input:focus~label,
.input-box .input:valid~label {
    top: -1px;
    left: 10px;
    background: #FFAF45;
    font-weight: 500;
    font-size: 12px;
    padding: 5px;
}

textarea.input {
    resize: none;
    min-height: 150px;
    overflow: auto;
    padding-top: 10px;
}

.btn {
    position: relative;
    top: 100px;
    background: #fff;
    outline: none;
    border: none;
    border-radius: 4px;
    height: 45px;
    width: 30%;
    color: #FFAF45;
    font-weight: 500;
}

@media(max-width:850px) {
    .item {
        grid-template-columns: 1fr;
        margin: 2%;
    }

    .contact {
        display: none;
    }

    .text {
        font-size: 20px;
        text-align: center;
    }

    .btn {
        width: 30%;
        height: 40px;
        font-size: 12px;
    }

    .input-box {
        width: 80%;
    }
}

@media(max-width:350px) {
    .btn {
        width: 33%;
    }
}

.comman_heading {
    margin-bottom: 0px;
}

.comman_heading h2::after {
    border-bottom: 0;
    position: absolute;
    content: "";
    width: 83px;
    height: 3px;
    background: #fff;
    bottom: -16px;
    left: 0;
}

@media (max-width: 767px) {
    .emerging-fluid .latest-tech ul li a h4 {
        display: contents;
    }
}


/* now lets make the tab switch work in JS */


/* Scrollable nav-tabs wrapper */


.nav-tabs-wrapper .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    border-bottom: none;
}

.nav-tabs-wrapper .nav-tabs li {
    flex: 0 0 auto;
    margin-right: 10px;
}

.nav-tabs-wrapper .nav-tabs li a {
    display: block;
    padding: 10px;
    white-space: normal;
}

.emerging-fluid {
    margin-top: 0px;
    margin-bottom: 50px;
}

.emerging-fluid .latest-tech {
    margin-top: 14px;
    margin-bottom: 40px;
}

.emerging-fluid .latest-tech ul li.active a {
    background: linear-gradient(105deg, #32adb0, #03151d) !important;
    border-radius: 10px 60px;
}

.emerging-fluid .latest-tech ul li.active a h4 {
    color: #ffffff;
    position: relative;
}

.emerging-fluid .latest-tech ul li.active a h4::before {
    content: none;
}

.techpart img {
    width: 60px;
    height: auto;
    display: block;
    margin: 0 auto 5px;
}

.techpart h4 {
    font-size: 14px;
    margin-top: 5px;
    white-space: normal;
}

/* Ensure tab content is visible */
.tab-content .row img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 767px) {
    .nav-tabs-wrapper {
        padding-bottom: 10px;
    }

    .techpart h4 {
        font-size: 13px;
    }

    .row.mb-4 {
        display: flex;
        flex-direction: column;
    }

    .leftpart,
    .rightpart {
        text-align: center;
    }

    .leftpart img {
        margin-bottom: 15px;
    }

    .emerging-fluid .latest-tech .nav-tabs {

        display: flex;
        flex-wrap: nowrap;
    }
}
.emerging-fluid .latest-tech .nav-tabs {
    justify-content: flex-start;
        justify-self: normal;
}
.nav-tabs-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

.nav-tabs-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

@media (max-width: 600px) {
    .left-btn {
        left: -8% !important;
    }

    .right-btn {
        right: -8% !important;
    }
}

@media (max-width: 600px) {
    .emerging-fluid .latest-tech .nav-tabs {

        margin-left: 21px;
    }
}

@media (min-width: 600px) {
    .nav {
        justify-self: center;
    }
}


.tabs-scroll-container {
    position: relative;
    margin: 20px 0;
}

.nav-tabs-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.nav-tabs-wrapper .nav-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    border-bottom: none;
    padding-left: 50px;
    padding-right: 50px;
    margin-bottom: 0;
}

.nav-tabs-wrapper .nav-tabs li {
    float: none;
    margin-right: 10px;
}

.nav-tabs-wrapper .nav-tabs li a {
    white-space: normal;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: #0f1f3f;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.left-btn {
    left: -4%;
}

.right-btn {
    right: -4%;
}

.scroll-btn i {
    font-size: 18px;
}

.emerging-fluid .tab-content {
    margin-top: 50px;
}

.ig {
    margin-top: 50px;
}
.project-heading {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
    background-color:#32adb0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 80px;
    border-top-right-radius: 80px;
    border-bottom-right-radius: 20px;
    font-size: 1.2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.heading h4{
    color:white !important;
}