.team-element-page-03 {
    position: relative;
    display: block;
    padding: 120px 0 120px;
    background: #ffffff;
    overflow: hidden;
    z-index: 10;
}

.team-element-carousel.owl-carousel .owl-stage-outer {
    overflow: visible;
    padding-bottom: 10px;
}

.team-element-carousel.owl-carousel .owl-stage-outer .owl-item {
    opacity: 0;
    -webkit-transform: perspective(400px) rotateX(0deg) scaleY(1.2);
    -ms-transform: perspective(400px) rotateX(0deg) scaleY(1.2);
    transform: perspective(400px) rotateX(0deg) scaleY(1.2);
    transition-delay: .1s;
    transition-timing-function: ease-in-out;
    transition-duration: .5s;
    transition-property: all;
}

.team-element-carousel.owl-carousel .owl-stage-outer .owl-item.active {
    opacity: 1;
    -webkit-transform: perspective(400px) rotateX(0deg) scaleY(1.0);
    -ms-transform: perspective(400px) rotateX(0deg) scaleY(1.0);
    transform: perspective(400px) rotateX(0deg) scaleY(1.0);
    transition-delay: .1s;
    transition-timing-function: ease-in-out;
    transition-duration: .3s;
    transition-property: all;
}

.team-element-carousel.owl-nav-style-one.owl-theme .owl-nav {
    text-align: center;
}

.team-element-carousel.owl-nav-style-one.owl-theme .owl-nav [class*="owl-"] {
    background: var(--thm-primary);
    border-radius: 50%;
    margin: 0 5px;
}



/*** 
=============================================
    Team Style1 Area Css
=============================================
***/
.team-style1-area {
    position: relative;
    display: block;
    background: #ffffff;
    padding: 120px 0 80px;
    z-index: 10;
}

.team-style1-area .auto-container {
    max-width: 1600px;
}

.single-services-style1 {
    position: relative;
    display: block;
    margin-bottom: 40px;
}

.single-services-style1 .img-holder-3 {
    position: relative;
    display: block;
    overflow: hidden;
    /* padding-bottom: 75px; */
}

.single-services-style1 .img-holder-3 .inner-3 {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: var(--thm-bg);
    z-index: 1;
}

.single-services-style1 .img-holder-3 .inner-3 img {
    width: 150px;
    height: 220px;
    mix-blend-mode: luminosity;
    transition: all 500ms linear;
    transition-delay: 0.2s;
}

.single-services-style1:hover .img-holder-3 .inner-3 img {
    transform: scale(1.1) rotate(0deg);
    opacity: 0.20;
    mix-blend-mode: normal;
    transition: all 500ms linear;
    transition-delay: 0.1s;
}

.single-services-style1 .title-holder-services {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 24px 0 0px;
    background-color: #ffffff;
    transform: perspective(400px) translateY(80px);
    transform-origin: bottom;
    transition: all 200ms linear;
    transition-delay: 0.1s;
    z-index: 2;
}

.single-services-style1:hover .title-holder-services {
    transform: perspective(400px) translateY(0px);
    transition: all 700ms linear;
    transition-delay: 0.1s;
}

.single-services-style1 .title-holder-services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--thm-base);
    transform: scaleX(0);
    transition: all 100ms linear;
    transition-delay: 0.5s;
}

.single-services-style1:hover .title-holder-services::before {
    transform: scaleX(1.0);
    transition: all 900ms linear;
    transition-delay: 0.3s;
}

.single-services-style1 .title-holder-services h2 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    margin: 0 0 6px;
}

.single-services-style1 .title-holder-services h2 a {
    color: var(--thm-black);
}

.single-services-style1 .title-holder-services h2 a:hover {
    color: var(--thm-base);
}

.single-services-style1 .title-holder-services h3 {
    color: var(--thm-gray);
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    font-family: var(--thm-font);
}

.single-services-style1 .title-holder-services .social-links {
    position: relative;
    display: block;
    margin-top: 27px;
}

.single-services-style1 .title-holder-services .social-links li {
    position: relative;
    display: inline-block;
    margin-right: 5px;
}

.single-services-style1 .title-holder-services .social-links li:last-child {
    margin-right: 0px;
}

.single-services-style1 .title-holder-services .social-links li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--thm-primary);
    color: var(--thm-black);
    font-size: 16px;
    line-height: 50px;
    text-align: center;
    transition: all 200ms linear;
    transition-delay: 0.1s;
    z-index: 1;
}

.single-services-style1 .title-holder-services .social-links li a:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: var(--thm-base);
    content: "";
    z-index: -1;
    transform: scale(0.0);
    transform-origin: center;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.62, 0.21, 0.45, 1.52);
}

.single-services-style1 .title-holder-services .social-links li a:hover::before {
    transform: scaleX(1.0);
}

.single-services-style1 .title-holder-services .social-links li a:hover {
    color: #ffffff;
}

/***END****/

/*** 
=============================================
    Team Style1 Area Css
=============================================
***/
.team-style1-area {
    position: relative;
    display: block;
    background: #ffffff;
    padding: 120px 0 80px;
    z-index: 10;
}

.team-style1-area .auto-container {
    max-width: 1600px;
}

.single-services-style1 {
    position: relative;
    display: block;
    margin-bottom: 40px;
}

.single-services-style1 .img-holder-3 {
    position: relative;
    display: block;
    overflow: hidden;
    /* padding-bottom: 75px; */
}

.single-services-style1 .img-holder-3 .inner-3 {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: var(--thm-bg);
    z-index: 1;
}

/* .single-services-style1 .img-holder-3 .inner-3 img {
    width: 100%;
    mix-blend-mode: luminosity;
    transition: all 500ms linear;
    transition-delay: 0.2s;
} */

/* .single-services-style1 .img-holder-3 .inner-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: normal; 
    opacity: 1; 
    transition: all 1000ms ease-in-out;
    transition-delay: 0.5s;
} */


.single-services-style1:hover .img-holder-3 .inner-3 img {
    transform: scale(1.1) rotate(0deg);
    transform: scale(1);
    opacity: 0.20;
    mix-blend-mode: normal;
    transition: all 500ms linear;
    transition-delay: 0.1s;
}




.single-services-style1 .title-holder {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 24px 0 0px;
    background-color: #ffffff;
    transform: perspective(400px) translateY(80px);
    transform-origin: bottom;
    transition: all 200ms linear;
    transition-delay: 0.1s;
    z-index: 2;
}

.single-services-style1:hover .title-holder {
    transform: perspective(400px) translateY(0px);
    transition: all 700ms linear;
    transition-delay: 0.1s;
}

.single-services-style1 .title-holder::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--thm-base);
    transform: scaleX(0);
    transition: all 100ms linear;
    transition-delay: 0.5s;
}

.single-services-style1:hover .title-holder::before {
    transform: scaleX(1.0);
    transition: all 900ms linear;
    transition-delay: 0.3s;
}

.single-services-style1 .title-holder h2 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    margin: 0 0 6px;
}

.single-services-style1 .title-holder h2 a {
    color: var(--thm-black);
}

.single-services-style1 .title-holder h2 a:hover {
    color: var(--thm-base);
}

.single-services-style1 .title-holder h3 {
    color: var(--thm-gray);
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    font-family: var(--thm-font);
}

.single-services-style1 .title-holder .social-links {
    position: relative;
    display: block;
    margin-top: 27px;
}

.single-services-style1 .title-holder .social-links li {
    position: relative;
    display: inline-block;
    margin-right: 5px;
}

.single-services-style1 .title-holder .social-links li:last-child {
    margin-right: 0px;
}

.single-services-style1 .title-holder .social-links li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--thm-primary);
    color: var(--thm-black);
    font-size: 16px;
    line-height: 50px;
    text-align: center;
    transition: all 200ms linear;
    transition-delay: 0.1s;
    z-index: 1;
}

.single-services-style1 .title-holder .social-links li a:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: var(--thm-base);
    content: "";
    z-index: -1;
    transform: scale(0.0);
    transform-origin: center;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.62, 0.21, 0.45, 1.52);
}

.single-services-style1 .title-holder .social-links li a:hover::before {
    transform: scaleX(1.0);
}

.single-services-style1 .title-holder .social-links li a:hover {
    color: #ffffff;
}




/*** 
=============================================
    Team Page Css
=============================================
***/
.team-page {
    position: relative;
    display: block;
    background: #ffffff;
    padding: 120px 0 80px;
    z-index: 10;
}

.team-style1-carousel.owl-carousel .owl-stage-outer {
    overflow: visible;
}

.team-style1-carousel.owl-carousel .owl-stage-outer .owl-item {
    opacity: 0;
    -webkit-transform: perspective(400px) rotateX(90deg) scaleY(0.5);
    -ms-transform: perspective(400px) rotateX(90deg) scaleY(0.5);
    transform: perspective(400px) rotateX(90deg) scaleY(0.5);
    -webkit-transform-origin: bottom;
    -ms-transform-origin: bottom;
    transform-origin: bottom;
    transition-delay: .1s;
    transition-timing-function: ease-in-out;
    transition-duration: .5s;
    transition-property: all;
}

.team-style1-carousel.owl-carousel .owl-stage-outer .owl-item.active {
    opacity: 1;
    -webkit-transform: perspective(400px) rotateX(0deg) scaleY(1.0);
    -ms-transform: perspective(400px) rotateX(0deg) scaleY(1.0);
    transform: perspective(400px) rotateX(0deg) scaleY(1.0);
    transition-delay: .1s;
    transition-timing-function: ease-in-out;
    transition-duration: .3s;
    transition-property: all;
}


/* Estilo de la capa de superposición */
.modal-overlay {
    display: none; /* Por defecto está oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    z-index: 1040; /* Asegúrate de que esté encima de otros contenidos */
  }
  
  /* Bloquear la interacción con el contenido de fondo cuando el modal está abierto */
  .modal.show + .modal-overlay {
    display: block;
  }
  
  /* Bloquear interacciones con elementos de fondo */
  body.modal-open {
    overflow: hidden; /* Deshabilitar el desplazamiento */
  }
  

  /*****Windows Description Services Home***/
  .inner-3 {
    position: relative;
    overflow: hidden;
  }
  
  .inner-3 img {
    width: 100%;
    display: block;
  }
  
  .service-description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.100); /* Fondo oscuro con transparencia */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 16px;
    /* Propiedades adicionales para ajuste de salto de línea y espaciado */
    white-space: normal;         /* Permite saltos de línea automáticos */
    overflow-wrap: break-word;   /* Rompe palabras largas si es necesario */
    line-height: 1.5;            /* Ajusta el espacio entre líneas */
    word-spacing: 2px;           /* Ajusta el espacio entre palabras */

  }
  
  .inner-3:hover .service-description {
    opacity: 1;
  }
  