@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-font-smotthing: antialiased;
    font-family: "Poppins", sans-serif;
}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html.with-fancybox {
    overflow: auto;
}

.navbar-toggler:focus,
.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler .navbar-toggler-icon:focus,
.navbar-toggler-icon {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
ul,
li {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
}

.modal-open {
    overflow: auto;
    padding-right: 0 !important;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
    height: 4px;
    border-radius: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #ffe0d8;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #E21212;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #E21212;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
}

.whatsappcall {
    display: none;
}

.scrolltop {
    position: fixed;
    bottom: 19px;
    right: 9px;
    transition: all 0.5s ease;
    z-index: 100;
    opacity: 0;
}

.scrolltop.active {
    opacity: 1;
}

.scrolltop dotlottie-wc {
    width: 87px !important;
    height: 87px !important;
    rotate: 180deg;
}

.scrolltop-trigger {
    cursor: pointer;
}


/******custom class */

.shadow1 {
    box-shadow: 0px 4px 16.2px rgba(0, 0, 0, 0.11);
}

.padding {
    padding: 80px 0;
}

.radius {
    border-radius: 20px;
}

.heading {
    font-size: clamp(17px, 3vw, 32px);
    line-height: 41px;
}

.truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.color1 {
    color: #424242;
}

.color2 {
    color: #E21212;
}

.color3 {
    color: #0A3F6B;
}

.weight {
    font-weight: 400;
}

.weight2 {
    font-weight: 700;
}

.bg {
    background-color: #E4F3FF;
}

.text_bg {
    background-color: #E21212;
    padding: 4px 25px;
    color: white;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    width: max-content;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn1 {
    display: inline-block;
    background-color: #FFE1E1;
    border: 1px solid transparent;
    font-weight: 600;
    transition: all 0.6s ease;
    border-radius: 8px;
    padding: 10px 25px;
}

.btn1:hover {
    border: 1px solid #FFE1E1;
    background-color: transparent;
    color: #FFE1E1;
}

.btn1 svg path {
    transition: all 0.6s ease;
}

.btn1:hover svg path {
    fill: #FFE1E1;
}

.btn2 {
    display: inline-block;
    background-color: #0A3F6B;
    border: 1px solid transparent;
    font-weight: 600;
    transition: all 0.6s ease;
    border-radius: 8px;
    padding: 10px 25px;
    width: max-content;
}

.btn2:hover {
    border: 1px solid #0A3F6B;
    background-color: transparent;
    color: #0A3F6B !important;
}

.btn2 svg path {
    transition: all 0.6s ease;
}

.btn2:hover svg path {
    fill: #0A3F6B;
}

/************header */
.navbar1 input[type="checkbox"],
.navbar1 .hamburger-lines {
    display: none;
}

.navbar1 {
    position: fixed;
    width: 100%;
    /* background: #fff; */
    color: #000;
    z-index: 1000;
    padding: 20px 0;
    margin: 0 auto;
}

header .navbar1 {
    -webkit-transition: all 0.5s ease;
    -moz-transition: position 10s;
    -ms-transition: position 10s;
    -o-transition: position 10s;
    transition: all 0.5s ease;
}

.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
}

.navbar1 .logo {
    width: 175px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    padding: 0px 33px 0px 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0px 1px 10.9px rgba(0, 0, 0, 0.13);
    backdrop-filter: blur(59.1px);
}

.menu-items {
    display: flex;
    align-items: center;
    column-gap: 32px;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.menu-items li {
    padding: 37px 0;
}

.menu-items li a {
    font-weight: 500;
    transition: all 0.5s ease;
}

.menu-items li a:hover {
    color: #E21212;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

header .dropdown-toggle:focus {
    outline: none;
    box-shadow: none;
}

.dropdown-toggle::after {
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 16rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    /* Start lower */
    transition: transform 0.3s ease, opacity 0.3s ease;
    background-color: #0A3F6B;
    z-index: 100;
    border: none;
    border-radius: 0;
    box-shadow: 0px 3px 7px #94949454;
}

header .dropdown-item {
    color: white;
    transition: all 0.5s ease;
    padding: 10px 12px;
}

header .dropdown-item:hover {
    background-color: transparent;
    color: white !important;
    padding-left: 16px;
}

section.banner.genomics__banner .content {
    width: 38%;
    background: rgb(5 86 110 / 18%);
    backdrop-filter: blur(4.2px);
    padding: 32px 20px;
    border-radius: 25px;
    position: absolute;
    top: 50%;
    transform: translateY(-47%);
}

section.banner.genomics__banner .content .heading {
    font-size: clamp(15px, 3vw, 29px);
    line-height: initial;
}

section.banner.genomics__banner .content .subheading {
    font-size: clamp(21px, 3vw, 35px);
}

section.banner .content {
    width: 46%;
    background: rgba(7, 37, 46, 0.62);
    backdrop-filter: blur(11.2px);
    padding: 32px 20px;
    border-radius: 30px;
    transform: translateY(25px);
}

section.banner .carousel img {
    object-fit: cover;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 9px;
    border-radius: 50%;
}

section.about .box {
    padding: 20px 25px;
}

section.about .aboutimg {
    position: relative;
    height: 100%;
}

section.about .aboutimg img {
    height: 100%;
    object-fit: cover;
}

section.about .aboutimg::before {
    position: absolute;
    content: "";
    border: 3px solid white;
    border-radius: 20px;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: 9px;
}

section.service {
    background: url(../images/services-bg.webp) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.box1 {
    padding: 20px;
    height: 100%;
    transition: all 1s ease;
    cursor: pointer;
}

section.new_service {
    padding-bottom: 250px;
}

section.new_service .main {
    position: relative;
}

section.new_service .main .inner {
    position: relative;
    display: flex;
    gap: 5px;
}

section.new_service .main .card {
    position: relative;
    flex-grow: 0.5;
    height: 400px;
    transition: all 1s ease;
    border: 1px solid transparent;
    border-radius: 0px;
    filter: sepia(50%);
}

section.new_service .main .card:hover {
    flex-grow: 1.7;
    filter: sepia(0%);
}

section.new_service .main .card .text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 52%, #000000 100%);
    height: 100%;
    display: flex;
    justify-content: end;
    flex-direction: column;
}

section.new_service .main .card .text h5 {
    position: relative;
    font-size: 20px;
    margin-bottom: 5px;
    color: #fff;
}

section.new_service .main .card .text p {
    font-size: 14px;
    color: white;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    width: 97%;
    transform: translateY(10px);
    transition: opacity 1s ease, transform 1s ease, max-height 1s ease;
    pointer-events: none;
}

section.new_service .main .card:hover .text p {
    opacity: 1;
    /* max-height: 200px; */
    transform: translateY(0);
    pointer-events: auto;
    animation: smoothness 1s ease 0.9s forwards;
    text-align: justify;
}

section.new_service .fishforoncology_modal {
    background: none;
    border: 1px solid transparent;
    width: max-content;
}

.modal-content {
    background: linear-gradient(180deg, #075ca2d6 11%, #054887bf 100%);
    backdrop-filter: blur(6px);
    border-radius: 21px;
}

.btn-close {
    background: url(../images/cross.png) center / 1em auto no-repeat;
    opacity: 1;
}

section.new_service.oncoservice .main .card .text {
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 40%, #000000 100%);
}

@keyframes smoothness {
    0% {
        opacity: 0;
        max-height: 0;
    }

    100% {
        opacity: 1;
        max-height: 200px;
    }
}

/* section.new_service .main .card:not(:hover) .text p {
    animation: smoothreverse 1s ease 2s;
}

@keyframes smoothreverse {
    0% {
        opacity: 1;
        max-height: 200px;
    }

    100% {
        opacity: 0;
        max-height: 0;
    }
} */

section.choose {
    margin-top: -95px;
}

section.choose .choose_box {
    border-radius: 35px;
    position: relative;
    padding: 50px 37px;
}

section.choose .choose_box .chooseimg {
    position: absolute;
    right: 88px;
    bottom: 0;
    width: 401px;
}

section.choose .heading {
    width: 90%;
}

section.testimonial .shadow1 {
    box-shadow: 0px 1px 8.9px rgba(0, 0, 0, 0.21);
}

.para {
    width: 92%;
}

.slider-nav {
    -webkit-filter: none;
    filter: none;
    opacity: 1;
    position: static;
    background-color: #0A3F6B;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
}

.slider-nav-round .slider-nav::before,
.slider-nav-square .slider-nav::before {
    position: static;
    content: none;
}

.slider-nav-round .slider-nav::after,
.slider-nav-square .slider-nav::after {
    background: transparent;
    position: static;
    content: none;
}

.slider-nav-round .slider-nav::after {
    -webkit-mask: none !important;
    mask: none !important;
    background-image: url(../images/prev.png) !important;
    background-repeat: no-repeat;
    background-size: contain;
}

.slider___nav {
    display: flex;
    justify-content: end;
    align-items: center;
    position: absolute;
    right: 0;
    top: -66px;
}

section.connect .connectbg {
    background: url(../images/connectbg.webp) no-repeat center center;
    background-size: cover;
    padding: 50px 40px;
    border-radius: 40px;
}

.icn1 {
    border: 1px solid white;
    height: 46px;
    width: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.add {
    width: 51%;
    display: inline-block;
}

.form_box {
    background: white;
    border-radius: 30px;
    padding: 30px 24px;
}

.formrow {
    margin-top: -340px;
}

footer {
    background: #022A4B;
}

textarea {
    resize: none;
}

footer .caplogo {
    transform: translate(-20px, 14px);
    width: 283px;
}

.form-control {
    color: #424242;
    padding: 10px 13px;
    border-radius: 9px;
}

.form-control::placeholder {
    color: #424242;
}

.form-select {
    color: #424242;
    padding: 10px 13px;
    border-radius: 9px;
}

.form-select option {
    color: #424242;
}

/* section.banner {
    width: 100vw;
    height: 80vh;
    background: black;
} */

section.banner canvas {
    position: relative;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 95vh;
    display: block;
    object-fit: cover;
}

@media (min-width: 993px) {
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        position: absolute;
        top: 100%;
        left: -15px;
        min-width: 16rem;
        pointer-events: none;
    }

    .dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* @media (min-width: 576px) {
    .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
    }
} */