#nav li {
  margin-top: 15px;
}

h1,
h2,
h3,
h4,
h5 {
  color: #002581;
  font-weight: 700;
}

.text-work {
  color: #0fbbbf;
}

.text-work2 {
  color: #002581;
}

/* navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: white;
}

#cabecera {
  background: #1446b3;
  color: #fff;

}

#cabecera p {
  font-weight: 500;
  font-size: 12px;
  margin-top: 1em !important;
}


#navbarNav .active {
  color: #0fbbbf !important;
}

#navbarNav .nav-item {
  padding-right: 10px;
}

#navbarNav .nav-link {
  font-weight: 600;
  font-size: 0.8em;
  color: #0c3290;
  transition: all 0.25s ease;
}

#navbarNav .nav-item:hover .nav-link {
  color: #0fbbbf;
  font-weight: 600;
  transform: translatey(-5px);
}

#navbarNav .nav-item:hover .nav-link::before {
  position: fixed;
  content: "";
  border-bottom: 2px solid #0fbbbf;
  width: 60%;
  height: 100%;
  bottom: 4px;
}

.navbar-nav .nav-link:hover {
  color: #0fbbbf !important;
}

.logo {
  padding-left: 12%;
}

/* ============home============== */

#home {
  background-image: url("../../assets/img/fondo.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  transform: translate3d(0, 0, 0);
  position: relative;
  z-index: 1;
}

#home:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,
      0,
      0,
      0.5);
  /* Ajusta la opacidad según tus necesidades */
}

#home .caption {
  margin-top: 20%;
}

#caption {
  background-color: rgba(15, 187, 191, 0.6);
}

/* ==========sobre nosotros============== */
#nosotros p {
  text-align: center;
  margin: auto;
  font-size: 1em;
  padding-bottom: 60px;
  color: #556877;
}

#nosotros .icono {
  background: #0fbbbf;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  /*border: 2px solid #007bff;*/
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

#nosotros .icono i {
  font-size: 1.8em;
  color: white;
  padding: 18px;
  align-items: center;
}

#nosotros .icono:hover {
  background: #fff;
  border: 2px solid #1e14e7;
  transition: all 0.3s ease-in-out;
}

#nosotros .icono:hover i {
  color: #0fbbbf;
}

#nosotros h4 {
  font-weight: 700;
  font-size: 1em;
}

#nosotros .media {
  height: 26%;
}

/* ===========servicios============= */
#servicios {
  background: #f9faff;
}

#servicios .card {
  cursor: pointer;
  transition: all 0.25s ease;
}

#servicios .card:hover {
  cursor: pointer;
  background-color: hsl(0deg 0% 100%);
  box-shadow: 0 10px 50px 5px rgb(33 87 172 / 9%);
  transform: translatey(-8px);
}

#servicios .card i {
  background: #0fbbbf;
  color: #fff;
  font-size: 40px;
  padding: 23px;
  width: 100px;
  height: 100px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
}

/* ==========botones================== */
.btn:hover {
  box-shadow: 0 7px 14px rgb(50 50 93 / 10%), 0 3px 6px rgb(0 0 0 / 8%);
  transform: translateY(-1px);
}

.btn-outline-primary:active {
  background: transparent !important;
  border: 2px solid #ffff !important;
}

.btn-outline-primary:hover {
  border: 2px solid #ffff !important;
}

.btn-cmc-primary {
  border: 2px solid #0fbbbf !important;
  background: white !important;
  color: #0fbbbf;
}

.btn-cmc-primary:hover {
  background: #ffff !important;
  color: #002581 !important;
}

#home .form-control:focus {
  border-color: rgba(255, 255, 255) !important;
  box-shadow: 0 0 0 0.1rem rgba(255, 255, 255) !important;
}

.btn-primary {
  background-color: #0fbbbf !important;
  border-color: #0fbbbf !important;
}

.btn-green {
  font-family: "Poppins", Sans-serif;
  font-size: 17px;
  font-weight: 500;
  background-color: #00BB2D;
  border-radius: 35px 35px 35px 35px;
  color: #fff;
}

.btn-green:hover {

  background-color: #0fbbbf;
  color: #fff;
}

/* =======cajas de texto============= */
#home input,
textarea {
  border: none !important;
  border-bottom: 1px solid white !important;
  background-color: transparent !important;
  outline: none !important;
  border-radius: 0 !important;
  color: white !important;
}

/* ============footer================ */
.footer {
  background: #202020;
  padding: 1.5rem 0;
}

.back-to-top {
  cursor: pointer;
}

.back-to-top i {
  position: fixed;
  bottom: 40px;
  right: 40px;
  height: 50px;
  width: 50px;
  background: #0fbbbf;
  padding: 12px;
  border-radius: 50%;
  color: white;
  text-align: center;
  font-size: 1.5em;
}

/* background-overlay */
#opciones .container-fluid {
  border-radius: 15% 15% 60px 0px;
  background-color: transparent;
  background-image: linear-gradient(140deg, #2B58B6 30%, #0fbbbf 58%);
  opacity: 0.9;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.background-overlay {
  height: 100%;
}

.background-overlay2 img {
  width: 84%;
  border-radius: 333px 214px 100px 100px;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.12);
}

#mejoropcion .card {
  background-color: #F6F6F6;
}

#mejoropcion .icons i {

  font-size: 2.5em;
  margin-top: 30%;
}

#mejoropcion .icons {
  position: relative;
  width: 100px;
  height: 100px;
  z-index: 1;
  color: #0fbbbf;
  align-content: center;
  margin: auto;
  top: 50%;
}

#mejoropcion .icons:before {

  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #0fbbbf;
  border-radius: 50%;
}

/* =============whatsapp=========== */
.btn-whatsapp-bottom-fixed,
.btn-whatsapp-call-fixed {
  background-color: #00bb2d;
  position: fixed;
  top: initial;
  bottom: 120px;
  right: 15px;
  width: 65px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  z-index: 100;
}

.btn-whatsapp-bottom-fixed {
  bottom: 25px;
}

.btn-whatsapp-call-fixed img,
.btn-whatsapp-bottom-fixed img {
  width: 30px;
}

.btn-call-action-fixed-mobile::before,
.btn-call-action-fixed-mobile::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border-radius: 50%;
  animation: crece1 1s infinite alternate;
}

.btn-call-action-fixed-mobile::after {
  animation: crece 1s infinite alternate;
}

#serviempresas {
  background-color: transparent;
  background-image: linear-gradient(270deg, #1446b3 30%, #3cc8d4 80%);
  opacity: 0.9;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

@keyframes crece {
  from {
    box-shadow: 0px 0px 0px 1px rgba(0, 187, 45, 0.6);
  }

  to {
    box-shadow: 0px 0px 0px 4px rgba(0, 187, 45, 0.6);
  }
}

@keyframes crece1 {
  from {
    box-shadow: 0px 0px 0px 4px rgba(0, 187, 45, 0.4);
  }

  to {
    box-shadow: 0px 0px 0px 8px rgba(0, 187, 45, 0.4);
  }
}

.btn-whatsapp-call-fixed {
  display: none;
}

@media screen and (max-width: 620px) {
  .btn-whatsapp-call-fixed {
    display: flex;
  }
}