/* ==========================================================================
   GENERAL
========================================================================== */
@media only screen and (max-width: 767px) {
  .container-hero-slider h3 {
    font-weight: 600;
    font-size: 1.4em;
  }
  .contact-wrapper-2 {
    left: initial;
    right: 129px;
  }
  .contact-wrapper-3 {
    left: initial;
    right: 73px;
  }
  .contact-wrapper-4 {
    left: initial;
    right: 17px;
  }
}

/* ==========================================================================
   TOGGLE
========================================================================== */
.container-toggle {
  margin: 0 auto;
}

.card-container-toggle {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  border-radius: 8px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.card.--active {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.content-image {
  width: 100%;
  height: 350px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  font-weight: 600;
}

.image-1 {
  background-image: url(https://www.utdt.edu/Upload/EscueladeNegocios/Programas-In-Company/Images/Trayecto-1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.image-2 {
  background-image: url(https://www.utdt.edu/Upload/EscueladeNegocios/Programas-In-Company/Images/Trayecto-2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.image-3 {
  background-image: url(https://www.utdt.edu/Upload/EscueladeNegocios/Programas-In-Company/Images/Trayecto-3.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.image-4 {
  background-image: url(https://www.utdt.edu/Upload/EscueladeNegocios/Programas-In-Company/Images/Trayecto-4.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .card {
    width: 100%;
  }
}


/* ==========================================================================
   CONTACTO
========================================================================== */
.contacto-home {
  color: white;
  background-color:#5e7899;
  font-family: Montserrat;
  padding-bottom: 80px;
  padding-top: 70px;
}
.contacto-home h3 {
  font-weight:600;
  margin-bottom: 30px;
  color:#fff;
}
.contacto-home a:hover {
  color:#fff;
}
.contacto-home button {
  color: #4a4a4a !important;
  width:230px;
  padding:7px;
  font-weight:bold;
  height: initial!important;
  border-radius: 50px;
  background-color: transparent;
  opacity:0.7;
  border:2px solid #4a4a4a !important;
}

.rowform {
  border-radius: 8px;
}
.rowform form small {
  color: #000000;
}


form input:invalid, form textarea:invalid, form select:invalid {
    border-bottom: 1px solid red;
}

  .contacto-home button {
    color: #4a4a4a !important;
    width: 230px;
    padding: 7px;
    font-weight: bold;
    height: initial !important;
    border-radius: 50px;
    background-color: transparent;
    opacity:0.7;
    border:2px solid #4a4a4a !important;
}

button[type=submit], input[type=submit], input[type=button], input[type=reset] {
    border: 2px solid #4a4a4a !important;
    background-color: transparent;
    color: #4a4a4a !important;
    opacity: 0.7;
}

.success { color: #5e7899; margin-top: -55px; }
.succes p{ font-size: 19px; font-weight: 600; }
.succes h5 { font-size: 22px; font-weight: 600; }
.capboton{ top:-18px;  }
.smallcustom{ left: 10px;  }

input, select, textarea {text-transform: uppercase; }

@media only screen and (max-width: 767px) {
.contacto-home h3{  margin-bottom: 0px;  }
.frm_custom{ top:-50px; }
.capboton {top: -18px; }
}