body{
  overflow-x:hidden;
}

p,li{
  color:#595959;
}
h3,h2,h4,p,li,h5,span,h1,.btn{
  font-family: 'Poppins';
}

@font-face {
    font-family: 'Poppins';
    src: url(./fonts/Poppins-Regular.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(./fonts/Poppins-Bold.ttf) format('truetype');
    font-weight: bold;
    font-style: normal;
  }


.content h3 {
  font-size: 14px;
  font-weight: 700;
  color: #082db2;
  text-transform: uppercase;
}
 .content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}
.content p{
  text-align: justify;
}

.servicios{
  display: flex;
  flex-wrap: wrap; 
  gap:30px;
  width: 100%;
}

.servicios .card{
  flex: 1 1 300px; 
  border-radius:20px;
  position:relative;
  transition: 0.25s;
  border-style:none;
  background:#DFEBF0;
}

.servicios .card h5{
  font-weight: 700;
  color:#434343;
}
.servicios .card p{
  margin-bottom:0;
  
}
.servicios .card .p-4{
padding:40px!important;
}

.servicios .card::before{
  content:'';
  position:absolute;
  right:70px;
  width:30px;
  height:30px;
  background:transparent;
  border-radius:  0px 19px 0px 0px;
  box-shadow: 10px -10px 0 #ffff;
}
.servicios .card::after{
  content:'';
  position:absolute;
  right:0;
  top:70px;
  width:30px;
  height:30px;
  background:transparent;
  border-radius:  0px 19px 0px 0px;
  box-shadow: 10px -10px 0 #ffff;
}


.icono{

position: absolute;
width: 55px;
height: 55px;
right: 0;
top: 0;
background: #202324;
border-radius: 0px 20px 0px 35px;
border-width: 0px 0px 15px 15px;
border-style: solid;
border-color: #FFFFFF;
box-sizing: content-box;
}

.icono svg{
  padding: 10px;
  fill: white;
}



.icono::before{
content:'';
position:absolute;
width:30px;
height:30px;
background:transparent;
border-radius: 19px 0px 0px 0px;
box-shadow: -10px -10px 0 #ffff;
}

.icono::after{
  content:'';
  position:absolute;
  bottom:0;
  right:0;
  width:30px;
  height:30px;
  background:transparent;
  border-radius:  0px  0px 19px 0px;
  box-shadow: 10px 10px 0 #ffff;
  }

.custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.custom-list::before {
  content: '';
  position: absolute;
  left: 4px; 
  top: 0;
  bottom: 10px;
  width: 2px;
  background-color: #0929b2;
}

.custom-list li {
  position: relative;
  padding-left: 20px; 
  margin-bottom: 5px;
}

.custom-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 10px;
  height: 10px;
  background-color: #0929b2; 
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.custom-list li:last-child {
  margin-bottom: 0;
}

.card:hover{

  transition: 0.25s;
  border-color:white;
  transform: translateY(-10px);

  .icono{
    background: linear-gradient(0deg, #0049E5 0%, #02ACEA 100%);
    box-shadow:none;
    transition: 0.25s;
  }

  svg{
    transition: 0.25s;
    fill:white!important;
  }
}


/* -----------------------*/
/* NAV */
.navbar{
  position:relative;
}
.header{
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
}
#navbar {
  position:relative;
  top: 0;
  transition: background-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
  max-width: 1320px;
  width: 100%;display:flex;
  margin-right: auto;
  margin-left: auto;
  --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
}

#navbar .container-xxl {
  display:flex;
}
#navbar.scrolled {
  transform: translateY(-50px); 
}

#navbar.scrolled-deep {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateY(0);
  max-width: none;
  .navbar-collapse {
    flex-grow: initial;
}
}

.navbar-toggler span{
  transition: all 0.4s;
  display: block;
  position: relative;
  width: 30px;
  height: 2px;
  left: 0;
 }
 [aria-expanded="false"] span {
  background-color: #082db2;
}
[aria-expanded="true"] span {
  background-color: transparent;
}
 .navbar-toggler span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
  content: "";
}
.navbar-toggler span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
  z-index: 10;
  content: "";
}
.navbar-toggler span:before, .navbar-toggler span:after{
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #082db2;
  display: block;
  position: absolute;
  height: 2px;
  left: 0;
  width: 75%;
}
[aria-expanded="true"] span:before{
  transform: translateY(6px) translateX(1px) rotate(45deg);
  width: 100%;
}
[aria-expanded="true"] span:after{
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  width: 100%;
}
.navbar-toggler,.navbar-toggler:focus{
  border-color:transparent;
  box-shadow:none;
}


@media (max-width: 991.98px) { 
  .header {
    background-color: white;
  }
  .navbar-collapse {
    transition: all 0.4s;
  }
  #navbar .container-xxl {
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
 }
 
/* -----------------------*/
/* contacto */
 .btn-cta {
  background-color: color-mix(in srgb, white 10%, transparent);
  color: white;
  padding: 12px 0px;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid white;
  position: relative;
  z-index: 2;
  width:100%;
  max-width: 200px;
}
.btn-cta:hover {
  background-color: white;
  color: #082db2;
}

.zoom {
  animation: zoom 1s ease-in-out forwards;
  animation-delay: 1s;
}
.float {
  animation: float 3.5s ease-in-out infinite;
}
.float-x {
  animation: float-horizontal 3.5s ease-in-out infinite;
}

.animation {
  position: absolute;
  transform: scale(0);
}

@keyframes zoom {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


@keyframes float {
  0% {
    transform:translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes float-horizontal {
  0% {
    transform:translateX(0);
  }
  50% {
    transform: translateX(20px); 
  }
  100% {
    transform: translateX(0); 
  }
}


/*TEXTO ANIMACION*/
h1{
  font-size: 60px;
  font-weight: bold;
  display: block;
}
.typewriter h1 {
  color: #0929b2;
  font-size: 60px;
  font-weight: bold;
  overflow: hidden; 
  border-right: 2px solid #0929b2;
  white-space: nowrap; 
  animation: typing 4s linear infinite, blink 0.6s step-end infinite;
  padding-bottom:5px;
  display: inline-block;
}
.typewriter{
  width: fit-content;
}

/* Animación para escribir el texto */
@keyframes typing {
  0% {  width: 0; }
  25% {  width: 100%; }
  50% { width: 100%; }
  75% { width: 100%; }
  100% { width: 0;}
}

/* Animación para el parpadeo del cursor */
@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: #0929b2; }
}


.portada{
  align-items: end;display: flex;position: relative;justify-content: right;
}
.portada img{
  width: 82.5%;
}
.portada-text{
  align-content: center;
}
.portada-text p{
  max-width: 400px;
}

.square{
  width: 100%;
  max-width: 1700px;
  height: 580px;
  position: absolute;
  background-image:url(./img/square.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right -100px top 0;
  z-index:0;
  transform: translateX(-50%);
  left: 50%;
}
@media (min-width: 1200px) {
  .portada{
    height: min-content;
    align-self: center;
  }
}
@media (min-width: 1400px) {
  .square{
    height: 650px;
  }
  .portada-text {
    padding-bottom: 140px!important;
    padding-top: 170px!important;
}
}
@media (min-width: 1600px) {
  .square{
    background-position: right 0 top 0;
  }
}
.my-6{
  margin-top:calc(1rem* 4.5);
  margin-bottom:calc(1rem* 4.5);
}
@media (max-width: 767.98px) {
  .my-6{
    margin-top:0;
  margin-bottom:2rem;
  } 
  h1 {
      font-size: 2.4rem!important;
  }
  .portada img{
    width: 100%;
  }
 
  #nosotros .content {
    margin-bottom:20px;
  }
  .servicios .card .p-4 {
    padding: 30px !important;
  }
  .servicios .card h5 {
    width: 85%;
  }
  #proyectos .flex-column{ 
    flex-direction: row !important;
  }
  .contacto span{
    display:none;
  }
  .contacto p{
    color:#ffffffa3!important;
  }
}
@media (max-width: 991.98px) {
  .l-0{
    left:0!important;
  }
  .l-35{
    left: 35%!important;
  }
  .portada-text{
    padding-bottom: 0!important;
    padding-top: 140px!important;
    text-align:center;
    display: flex;
    flex-direction: column;
  }
  .portada-text p{
    color:#414243;
    max-width: 400px;
    align-self: center;
  }
  .square{
    background-size: cover;
    background-position: right -180px top 0;
    height: 700px;
  }
  .portada{
    transform: scale(0.8);
    justify-content: center;
    margin-bottom:70px;
    }
  .container::before {
    content: ""; 
    position: absolute;
    height: 590px;
    width: 90%;
    left: 50%;
    top: 100px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgb(255 255 255 / 25%) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0; 
    border-radius: 8px; 
  }

  .typewriter,.portada-text a {
    align-self:center;
  }

 }
 @media (min-width: 992px) and (max-width: 1199.98px) {
  .square{
    height: 420px;
  }
  .portada-text{
    padding-bottom: 90px!important;
    padding-top: 90px!important;
  }
  .portada{
    height: 400px;
    transform: scale(0.8);
  }
  }
/* -----------------------*/
/*PROYECTOS*/

.indicator-thumbnail {
  border: none;
  padding: 0;
  background: none;
}

.indicator-thumbnail.active img {
  border: 2px solid #0929b2; 
}

.img-thumbnail {
  cursor: pointer;
  width: 100%; 
  height: auto;
  border-radius: 10px; 
}

.carousel-control-next, .carousel-control-prev{
  opacity:1;
  width: auto;
}
.carousel-control-prev{
  justify-content: left;
}
.carousel-control-next{
  justify-content: right;
}

.carousel-control-prev-icon,.carousel-control-next-icon{
  background-color: #202324;
  border-radius: 0px 50px 50px 0px;
  border-width:  12px 12px 12px 0px;
  border-style: solid;
  border-color: #FFFFFF;
  box-sizing: content-box;
  position:relative;
  width: 3rem;
  height: 3rem;
  background-size: 60%;
}
.carousel-control-next-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
  transform: rotate(180deg);
  
}

.carousel-control-prev-icon::before,.carousel-control-next-icon::before {
  content: '';
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border-radius: 50px 0px 0px 0px;
  box-shadow: -6px -6px 0px 6px #ffff;
  left: 0;
  top:0;
}

.carousel-control-prev-icon::after,.carousel-control-next-icon::after {
  content: '';
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border-radius:  0px 0px 0px 50px;
  box-shadow: -6px 6px 0px 6px #ffff;
  left: 0;
  bottom:0;
}
.carousel-inner::before {
  content: '';
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border-radius: 50px 0px 0px 0px;
  box-shadow: -6px -6px 0px 6px #ffff;
  left: 0;
  top:calc(50% + 35px);
  z-index:1;
}
.carousel-inner::after{
  content: '';
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border-radius:  0px 0px 0px 50px;
  box-shadow: -6px 6px 0px 6px #ffff;
  left: 0;
  bottom:calc(50% + 35px);
}
.carousel-child::before {
  content: '';
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border-radius: 0px 50px 0px 0px;
  box-shadow: 6px -6px 0px 6px #ffff;
  right: 0;
  top:calc(50% + 35px);
  z-index:1;
}
.carousel-child::after {
  content: '';
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border-radius: 0px 0px 50px 0px;
  box-shadow: 6px 6px 0px 6px #ffff;
  right: 0;
  bottom:calc(50% + 35px);
}

.carousel-control-next:focus, .carousel-control-next:hover, .carousel-control-prev:focus, .carousel-control-prev:hover {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 1;
}
.carousel-control-next:hover, .carousel-control-prev:hover{
  .carousel-control-prev-icon, .carousel-control-next-icon{
    background-color: #0929b2;
    background-size: 55%;
    transition: 0.2s;
  }
}

/* -----------------------*/
/*CONTACTO*/

.contacto{
  position:relative;
  z-index: 2;
  overflow:hidden;
}
.contacto::before{
  content: '';
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(90deg, #3ac3efb5 0%, #0049e5b5 100%);
  mix-blend-mode: overlay;
  backdrop-filter: blur(60px);
  border-radius: 20px;
}

/* Formas animadas */
.shape {
  position: absolute;
  border-radius: 50%;
  background: #0754F2;
  animation: shape 4s infinite ease-in-out;
  z-index: -1;
}

.shape-1 {
  width: 150px;
  height: 150px;
  top: 0;
  animation: shape 4s infinite ease-in-out;
  left: 10;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 0;
  right: 0;
  animation: shape 4s infinite ease-in-out;
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 30%;
  animation: circular-motion 5s infinite linear;
  background: #082DB2; 
}

/* Animación */
@keyframes shape {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(40px, -20px) scale(1.5);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes circular-motion {
  0% {
    transform: translate(0,0) ;
  }
  25% {
    transform: translate(120px,0) scale(1.7);
  }
  50% {
    transform: translate(120px,60px) scale(1.7);
  }
  75% {
    transform: translate(0,60px) scale(1.2);
  }
  100% {
    transform: translate(0,0);
  }
}


footer {
  text-align: center;
  padding: 1rem;
  background: #d1dee4;

}
p{
  margin-bottom:0!important;
}
/* -----------------------*/
/* Nosotros */

.overlay-text {
  position: absolute;
  text-align: center;
  font-weight: bold;
  z-index: 2;
}

.top-text {
  top: 12%;
  font-size: 1.5rem;
}
.top-text p{
  color: #082DB2;
}
.bottom-text {
  bottom: 9.5%;
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

.pulsating-play-btn {
  width: 80px;
  height: 80px;
  background: radial-gradient(#d1dee4 50%, 
    color-mix(in srgb, #d1dee4, transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
  border-style: none;
}
.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
  animation: pulsate-play-btn 1s ease-out;
  animation-iteration-count: infinite;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, #d1dee4, transparent 30%);
  top: 0;
  left: 0;
}
.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #082db2;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}


.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #082db2;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid #d1dee4;
  transform: scale(20);
}
/* -----------------------*/