@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter/Inter.ttf') format('truetype');
  font-weight: 300 900;
  font-style: normal;
}

@font-face {
    font-family: 'CovesLight';
    src: url('/fonts/coves/CovesLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'CovesBold';
    src: url('/fonts/coves/CovesBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

body {
    margin: 0;
    overflow-x: hidden;
}


/* CAROUSEL SECTION */

.main-section img{
    object-fit: cover;
    display: block;
    width: 100%;
    max-height: 900px;
    mask-image: linear-gradient(to left, transparent, black);
    -webkit-mask-image: linear-gradient(to right, transparent, black);
}


.carousel-section {
    background: url('../img/background/landing_background.png');
    background-repeat: no-repeat;
    background-position: left;
    object-fit: contain;
    width: 100%;
    max-width: 5000px;    
    height: 900px;        
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.owl-carousel .item{
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: block;
}

.owl-carousel .active img{
    min-width: 1620px;      
    height: 900px;
    object-fit: cover;
    object-position: center; 
    mask-image: linear-gradient(to right , transparent, black);
    -webkit-mask-image: linear-gradient(to left, transparent, black);
    animation: zoomInSlow 8s ease-in-out forwards;
    z-index: -1;
}



.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 0 15px;
    padding-top: 250px;
    z-index: 1;
}

.overlay-text h2{
    font-family: 'Inter';
    font-weight: 500;
    font-size: 50px;
    color: black;
    margin-bottom: 40px;
} 

.overlay-text p{
    font-family: 'CovesLight';
    font-weight: 700;
    font-size: 18px;
    color: black;
}

.overlay-text span{
    font-family: 'Inter';
    font-weight: 300;
}

.span-box{
    width: 100px;
    color: #004F73;
    text-align: center;
    background-color: rgba(0, 79, 115, 0.491);
    border-radius: 30px;
    margin-bottom: 20px;
    
}

/* WHY US SECTION */

.why-us-background{
    background: url('../img/background/lineascolores.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left 50px bottom;
    object-fit: contain;
}

.lines-background .row{
    padding: 200px 0;
}

.lines-background h2{
    font-family: 'Inter';
    margin-bottom: 50px;
}

.lines-background p{
    font-family: 'CovesLight';
}

/* SERVICIOS */

.service-xl {
    display: none;
}

.service > * {
    position: relative;
    z-index: 1;
}

.service {
    position: relative;
    background-image: url('../img/owlcarousel/celhix_carousel_3.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding: 100px 0;
    z-index: 1;
}

.service::before {
    position: absolute;
    content: '';
    background-color: #004F73;
    opacity: 1; 
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
    z-index: 0;
}

.service h2{
    font-family: 'Inter';
    font-weight: 500;
    font-size: 40px;
    color: white;
}

.service-title{
    margin-left: 310px;
    margin-bottom: 80px;
}

.service-title h2{
    margin-top: 10px;
}

.service span{
    font-family: 'Inter';
    font-weight: 300;
    color: #00a98c;
}

.swiper-container-right {
    position: relative;
    left: 0.5%;
    margin-left: 280px;
}

.service-thumb {
    position: relative;
    overflow: hidden;
}

.service-thumb img{
    width: 100%;
    height: 485px;
    object-fit: cover;
    
}

.service-thumb:before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    background-image: linear-gradient(
    0deg,
    rgb(0 92 126) 0%,
    rgb(0 92 126 / 79%) 20%,
    rgba(11, 51, 133, 0) 55%,
    rgba(11, 51, 133, 0) 100%
    );
    transition: 0.5s;
}

.service-thumb:hover:before {
    opacity: 0;
}

.service-thumb:after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    height: 0%;
    width: 100%;
    border-radius: 6px;
    background-image: linear-gradient(
      0deg,
      rgb(0 169 140 / 80%) 0%,
      rgb(0 169 140 / 82%) 20%,
      rgba(0, 75, 174, 0) 55%,
      rgba(0, 37, 111, 0) 100%
    );
    opacity: 0;
    transition: 0.5s;
}

.service-thumb:hover:after {
    height: 100%;
    opacity: 1;
}

.service-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 2;
    margin-bottom: 30px;
    margin-left: 10px;
}

.swiper-slide {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-content{
    position: absolute;
    bottom: 0;
    margin-bottom: 30px;
    margin-left: 10px;
}

.service-content span{
    font-size: 14px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 500;
    font-family: "Inter";
    border-radius: 15px;
    background-color: #007eff;
    display: inline-block;
    padding: 5px 23px;
    transition: 0.5s;
    margin-bottom: 10px;
}

.service-thumb:hover .service-content span{
    color: #00a98c !important;
    background: #fff !important;
}

.slider-nav-btn {
    position: absolute;
    top: -100px;
    right: 19%;
    z-index: 1;
    transform: translateY(-50%);
}

.slider-nav-btn button.swiper-btn-next, .swiper-btn-prev {
    color: rgb(255, 255, 255);
    font-size: 16px;
    display: block;
    margin-bottom: 12px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: rgba(0, 103, 255, 0);
    transition: 0.5s;
    border-radius: 25px;
    outline: 0px !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    border-image: initial !important;
}

.slider-nav-btn button.swiper-btn-next:hover,
.swiper-btn-prev:hover {
  background: #00a98c  !important;
}

.slider-nav-btn button.swiper-btn-next:hover,
.swiper-btn-prev:hover {
  background: #00a98c !important;
}

/* ARTICLES SECTION */

.articles > * {
    position: relative;
    z-index: 1 !important;
}

.articles {
    position: relative;
    padding: 80px;
    overflow: hidden;
    background-color: #F7F7F7;
    z-index: 1;
}

.articles::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/services/services_landing_background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.articles .container {
    position: relative;
    z-index: 1;
}

.articles-title{
    text-align: center;
}

.articles-title h2{
    font-family: 'Inter';
    font-weight: 700;
    color: #004F73;
    margin-top: 20px;
}

.articles-title span{
    font-family: 'Inter';
    color: #00a98c;
}

.articles-row .row{
    margin-top: 80px;
}

.bg-layer {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-image: url('../img/articles/cancer_principal_image.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease-in-out 0.1s;
}

.cta-section{
    position: relative;
}

.cta-block-one .inner-box{
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    padding-top: 100px;
    padding-bottom: 40px;
    padding-left: 30px;
    z-index: 1;
}
  
.cta-block-one .inner-box .bg-layer{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease-in-out 0.1s;
    z-index: -1;
}
  
.cta-block-one .inner-box .bg-layer:before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background: linear-gradient(-90deg, rgba(55, 170, 103, 0) 0%, #00a98c 90.95%);
}

.cta-block-one .inner-box:hover .bg-layer{
    transform: scale(1.1);
}

.cta-block-one .inner-box h2{
    display: block;
    font-size: 27px;
    line-height: 35px;
    color: #fff;
    margin-bottom: 25px;
}

.bg-layer-2 {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-image: url('../img/articles/vph_principal_image.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease-in-out 0.1s;
}

.cta-block-one .inner-box .bg-layer-2{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease-in-out 0.1s;
    z-index: -1;
}
  
.cta-block-one .inner-box .bg-layer-2:before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background: linear-gradient(-90deg, rgba(55, 170, 103, 0) 0%, #00a98c 90.95%);
}

.cta-block-one .inner-box a{
    text-decoration: none;
}

.cta-block-one .inner-box:hover .bg-layer-2{
    transform: scale(1.1);
}

.bg-layer-3 {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-image: url('../img/articles/lab_principal_image.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease-in-out 0.1s;
}


.cta-block-three .inner-box{
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    padding-top: 135px;
    padding-bottom: 40px;
    padding-left: 30px;
    z-index: 1;
}
  
.cta-block-three .inner-box .bg-layer-3{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease-in-out 0.1s;
    z-index: -1;
}
  
.cta-block-three .inner-box .bg-layer-3:before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background: linear-gradient(-90deg, rgba(55, 170, 103, 0) 0%, #00a98c 90.95%);
}

.cta-block-three .inner-box:hover .bg-layer-3{
    transform: scale(1.1);
}

.cta-block-three .inner-box a{
    text-decoration: none;
}

.cta-block-three .inner-box h2{
    display: block;
    font-size: 27px;
    line-height: 35px;
    color: #fff;
    margin-bottom: 25px;
}

.a-text{
    text-align: center;
    background-color: white;
    border-radius: 20px;
    width: 90px;
}

.a-text a{
    font-family: 'Inter';
    font-size: 13px;
    text-decoration: none;
    color: black;
}

.fade-right-onload {
  animation: fadeRight 1s ease-out forwards;
}

/* ANIMATIONS */

@keyframes zoomInSlow {
    0% {
        transform: scaleX(-1) scale(1);
    }
    100% {
        transform: scaleX(-1) scale(1.1);
    }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
