body {
  padding-top: 5.5rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.navbar {
  padding: 1rem 1rem;
  background-color: #013b49 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-family: "Roboto", sans-serif;
}

.navbar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-brand img {
  margin-right: 10px;
}

.navbar-text {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  color: #ffffff !important;
}

.navbar-nav {
  margin: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  margin: 0 0.9rem;
  /* margin: 0 1.5rem; */
}
.span-nav-item {
  flex-direction: column;
}

.nav-item .nav-link {
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
  color: white !important;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 0.25rem;
  font-weight: bold !important;
  display: flex;
  gap: 0.5rem;
}

.plant {
  align-items: center;
}

.nav-item .nav-link .nav-icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
  display: flex;
  align-items: center;
}

.nav-item .nav-link .img-nav {
  width: 25px;
  margin-right: 0.5rem;
  display: grid;
  align-items: center;
}

.nav-item .nav-link .img-nav-row {
  width: 25px;
  display: grid;
  align-items: center;
}

.nav-item .nav-link:hover {
  background-color: #1a4f5d;
  color: #febe07 !important;
  border-radius: 0.5rem;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.nav-item .nav-link:hover a {
  color: #febe07;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255%2C255%2C255%2C1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.collapse {
  justify-content: center;
}

.iseu-container {
  font-family: "Calibri", sans-serif;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  margin-left: 1.5rem;
  margin-top: -1rem;
  font-size: 2rem;
}

.iseu-container::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  bottom: 6px;
  left: 0;
}

/*Carrusel*/
.container-carousel {
  position: relative;
  margin-top: -1px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.carousel-caption {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.5s ease;
  width: 80%;
}

.carousel-item {
  /* height: 95vh; */
  height: auto;
  min-height: 500px;
  background-color: #000;
}

.carousel-item img {
  transition: transform 0.6s ease;
  transform: scale(1.2);
  object-fit: cover;
  object-position: center;
}

.carousel-item.active img {
  filter: grayscale(0);
  transform: scale(1);
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  display: block;
}

.carousel-caption h5 {
  font-size: 1.5rem;
  font-weight: bold;
  animation: fadeInUp 1s ease;
}

.carousel-caption p {
  font-size: 1rem;
  animation: fadeInUp 1s ease 0.5s;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: #fcbe03;
  border-radius: 50%;
  border: none;
  margin-top: 20%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease-in-out;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  font-size: 24px;
  line-height: 1.25;
  color: #000;
}

.carrousel-item-next {
  margin-right: 20px;
}
.carrousel-item-prev {
  margin-left: 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: #fcbe03;
  transform: scale(1.1);
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
  content: "";
}

.carousel-caption h5,
.carousel-caption p {
  margin: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 328px) {
  .carousel-caption {
    bottom: 15%;
  }
}

@media (max-width: 868px) {
  .navbar-nav-icons-contact {
    flex-direction: row;
  }

  .container-text {
    margin-top: 10px;
  }

  .container-carousel {
    max-height: 220px;
  }
}

/* Cards */
.container-promotion {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #1a4f5d;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 82%;
  margin: 40px auto;
  margin-top: -0.1rem;
  overflow-x: auto;
}

.container-text {
  margin-top: 2rem;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.text-who {
  color: #003847;
  text-align: center;
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  transition: 0.5s ease-in-out;
}

.text-who::after {
  content: "";
  width: 60px;
  height: 4px;
  position: absolute;
  bottom: -10px;
  left: 50%;
  background-color: #febe07;
  transform: translateX(-50%);
}

.text-who:hover {
  transform: translateY(-5px);
}

.card-container {
  display: grid;
  justify-content: center;
  gap: 5rem;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.card {
  position: relative;
  width: 14rem;
  height: 14rem;
  perspective: 1000px;
  border-radius: 10px;
  background-color: #003847;
  overflow: hidden;
  transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  box-shadow: 0 5px 15px #003847;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px #1a4f5d;
}

.card .face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.5s ease-in-out;
  border-radius: 10px;
}

.card .front {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #ffffff;
  transform: rotateY(0deg);
}

.card .front img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.card .front h3 {
  background: #003847;
  color: #ffffff;
  margin: 0;
  padding: 10px;
  width: 100%;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
}

.card .back {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #003847;
  color: #f3f3f3;
  transform: rotateY(180deg);
}

.card .back h3 {
  font-size: 1.2rem;
  margin: 10px 0;
}

.card .back p {
  font-size: 0.9rem;
  margin: 10px 0;
  text-align: center;
}

.card:hover .front {
  transform: rotateY(-180deg);
}

.card:hover .back {
  transform: rotateY(0deg);
}

@media (max-width: 768px) {
  .card-container {
    display: flex;
    flex-direction: row;
    padding: 1rem;
    gap: 1rem;
    margin: 0 auto;
  }

  .card {
    width: 16rem;
    height: 16rem;
  }

  .card .front h3,
  .card .back h3 {
    font-size: 1.1rem;
  }

  .card .back p {
    font-size: 1rem;
  }
}

/* OFERTA ACADEMICA */


.container-offert {
  display: flex;
  justify-content: center;
  width: 100%;
}

a,
a:visited {
  text-decoration: none;
  outline: none;
  color: #fff;
}

a:hover {
  text-decoration: underline;
}

#colorNav > ul {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

#colorNav > ul > li {
  list-style: none;
  box-shadow: 0 0 10px rgba(100, 100, 100, 0.2) inset, 1px 1px 1px #ccc;
  display: inline-block;
  line-height: 1;
  margin: 1px;
  border-radius: 3px;
  position: relative;
}

#colorNav > ul > li > a {
  color: inherit;
  text-decoration: none !important;
  font-size: 24px;
  padding: 25px;
  color: #fff;
  cursor: pointer;
}

#colorNav > ul > li > a p {
  color: inherit;
  text-decoration: none !important;
  font-size: 24px;
  padding: 25px;
  color: #fff;
  cursor: pointer;
  display: inline;
  font-family: Arial, Helvetica, sans-serif;
}

#colorNav li ul {
  position: absolute;
  list-style: none;
  text-align: center;
  width: 39rem;
  margin-top: 80px;
  margin-left: -2rem;
  top: 0;
  font: bold 1rem "Open Sans Arial", sans-serif;
  max-height: 0px;
  overflow: hidden;
  -webkit-transition: max-height 0.4s linear;
  -moz-transition: max-height 0.4s linear;
  transition: max-height 0.4s linear;
  text-align: center;
  z-index: 3;
}

#colorNav li ul li {
  background-color: #f5f5f5;
}

#colorNav li ul li a {
  padding: 12px;
  color: #000;
  text-decoration: none !important;
  display: block;
  text-align: left;
  font-weight: lighter;
}

#colorNav li ul li:nth-child(odd) {
  background-color: #f5f5f5;
}

#colorNav li ul li a:hover {
  background-color: #003847;
  color: #fcbe03;
}

#colorNav li ul li:first-child {
  border-radius: 3px 3px 0 0;
  margin-top: 0;
  position: relative;
  margin-right: -3rem;
}

#colorNav li ul li:last-child {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

#colorNav li:hover ul {
  max-height: 600px;
}

#colorNav li.green {
  background-color: #003847;
  color: #ffffff;
}

#colorNav li.red {
  background-color: #003847;
  color: #ffffff;
}

#colorNav li.blue {
  background-color: #003847;
  color: #2884a2;
}

.video-offert {
  display: grid;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.video-offert video {
  width: 80%;
  height: auto;
  margin: 20px;
  margin: 0 auto;
}

.text-offert {
  color: #003847;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  transition: 0.5s ease;
}

.text-offert::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #febe07;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.text-offert:hover {
  transform: translateY(-5px);
}

/* Testimonios */
.text-tester {
  color: #003847;
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
  position: relative;
  padding: 1rem;
  transition: 0.5s ease-in-out;
}

.text-tester::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #febe07;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.text-tester:hover {
  transform: translateY(-5px);
}

.p-tester {
  font-size: 1rem;
  margin: 0 auto;
  width: 70%;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 8px;
  color: #003847;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.p-tester:hover {
  transform: translateY(-5px);
}

.slider {
  position: relative;
  margin-top: 2rem;
  width: 100%;
  height: 390px;
  overflow: hidden;
}

.item {
  position: absolute;
  width: 260px;
  height: 370px;
  text-align: center;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 20px;
  transition: transform 0.3s ease-in-out;
  left: calc(50% - 130px);
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 0.3rem solid #a0cb4a;
}

.item:hover {
  transform: translateY(-5px);
}

.item h3 {
  color: #003847;
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
  font-size: 1.2rem;
  transition: color 0.3s ease-in-out;
}

.item p {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 1rem;
  text-align: center;
}

.item-image {
  width: 8em;
  height: 8em;
  border-radius: 50%;
  border: 0.3rem solid #FEBE07;
  padding: 3px;
  margin-bottom: 1em;
  display: flex;
  justify-content: center;
  overflow: hidden;
  align-items: center;
  transition: 0.5s ease-in-out;
}

.item-image:hover {
  transform: translatey(-5px);
}

.item-image img {
  width: 130%;
  height: 130%;
  object-fit: cover;
}

#next,
#prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #003973;
  background: none;
  border: none;
  font-size: 3rem;
  font-family: monospace;
  font-weight: bold;
  opacity: 0.5;
  transition: opacity 0.5s;
  cursor: pointer;
}

#next {
  right: 30px;
}

#prev {
  left: 30px;
}

#prev:hover,
#next:hover {
  opacity: 1;
}

/* Galeria */
.container-text-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
  margin-bottom: 1rem;
}

.text-gallery {
  color: #003847;
  font-size: 2rem;
  font-weight: bold;
  transition: 0.5s ease-in-out;
  cursor: default;
  position: relative;
}

.text-gallery:hover {
  transform: translateY(-5px);
}

.text-gallery::after {
  content: "";
  width: 60px;
  height: 4px;
  background-color: #febe07;
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
}

.img-gallery {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  width: 100%;
}

.swiper {
  width: 60%;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
}

.swiper-slide img {
  display: block;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .swiper {
    width: 100%;
  }
}

/* Contactanos */
.text-contac {
  font-size: 2rem;
  color: #003847;
  font-weight: bold;
  margin-top: 2rem;
  transition: 0.5s ease;
  position: relative;
}

.text-contac:after {
  content: "";
  width: 60px;
  height: 4px;
  background: #febe07;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 45px;
}

.text-contac:hover {
  transform: translateY(-5px);
}
.contact-section {
  background: url("https://iseu.mx/img/contacto.png");
  padding: 30px;
  background-repeat: no-repeat;
  background-size: cover;
}

.container-contact {
  background-color: white;
  display: flex;
  width: 45%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  margin: auto;
  margin-top: 30px;
  padding: 2rem;
  margin-bottom: 5rem;
}

.form {
  /* border: 1px solid gray; */
  /* padding: 10px 60px; */
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 43rem;
}

.form h3 {
  font-size: 2rem;
  color: #003847;
  font-weight: bold;
  transition: 0.5s;
  margin-bottom: 15px;
  animation: bounce 1s infinite;
  margin-top: 25px;
}

.form-text {
  text-align: center;
}

.form h3:hover {
  transform: rotateX(80deg);
}
.form .row {
  margin-top: 30px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  div {
    width: 48%;
    display: grid;
  }
  .select-div {
    width: 100%;
  }
}

.form .g-chap {
  margin-top: 20px;
  display: grid;
  justify-content: center;
  margin-bottom: 20px;
}
.form p {
  font-size: 16px;
  color: #000;
  margin-bottom: 15px;
}

label {
  font-size: 15px;
  margin-bottom: 15px;
  font-weight: bold;
}

.box {
  color: #000;
  text-transform: uppercase;
  padding: 0.5rem;
  padding-left: 0.5rem;
  outline: none;
  align-items: center;
  justify-content: center;
  border: 3px solid #e4e4e7;
  display: flex;
  flex-direction: row;
  border-radius: 10px;
}

.form textarea {
  margin-bottom: 1rem;
  background-color: #a9d9f2;
  border-radius: 15px;
  outline: none;
  padding-left: 1rem;
  border: 0;
}

.btn_sub {
  border-radius: 10px;
  border: none;
  width: 50%;
  min-height: 7%;
  text-align: center;
  background-color: #003847;
  color: #ffffff;
  margin: 0 auto;
  margin-bottom: 25px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out,
    transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn_sub::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.btn_sub:hover::before {
  opacity: 1;
}

.btn_sub:hover {
  background: #1a4f5d;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.info {
  width: 35%;
  padding: 50px;
}

.img-1 {
  display: flex;
  margin-bottom: 75px;
}
.location {
  position: relative;
  display: inline-block;
  width: 40%;
}
.location img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location .icons-div {
  position: absolute;
  display: grid;
  top: 0%;
  left: 50%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  justify-content: center;
  align-items: end;
  transform: translateX(-50%);
  z-index: 1;
  color: black;
  width: 100%;
  box-sizing: border-box;
}

.icons {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  color: white;
}

.icons img {
  width: 30px;
  margin-right: 10px;
  color: #000;
}

.icons p {
  font-size: 14px;
  color: white;
  font-weight: bold;
  margin-top: 15px;
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.3rem;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.social img {
  width: 50px;
  margin-right: 20px;
  animation: bounce 1s infinite;
}

@media screen and (max-width: 997px) {
  .contact-section {
    background: url("");
    padding: 30px;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .container-contact {
    width: 100%;
    height: 62rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
  }

  .info {
    display: none;
  }

  .form {
    width: 100%;
  }
  .form p {
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
  }
  .form h3 {
    /* font-size: 15px;  */
    color: #003847;
    font-weight: bold;
    transition: 0.5s;
    margin-bottom: 25px;
    text-align: center;
  }

  .form .row div {
    width: 100%;
    margin-top: 17px;
  }
  .select-div {
    width: 50%;
    select {
      max-width: 250px;
      input {
        max-width: 100%;
      }
    }
  }
  .form .box {
    font-size: 1rem;
    height: 2rem;
    padding: 1rem;
  }

  .form h3:hover {
    transform: rotateX(80deg);
  }

  .btn_sub {
    width: 80%;
    padding: 6px;
    min-height: 7vh;
  }
  .location {
    display: none;
  }
  footer {
    margin-top: 5rem;
  }

  .video-offert video {
    width: 19rem;
    height: 16rem;
    margin-top: -45rem;
    margin-right: 12rem;
    display: none;
  }

  .container-offert {
    /* grid-template-rows: 1fr 1fr; */
  }

  #colorNav > ul {
    margin: 0 auto;
    flex-direction: column;
    margin-bottom: 8rem;
  }

  #colorNav > ul > li {
    margin: 0.5rem 0;
    position: relative;
  }

  #colorNav > ul > li > a {
    font-size: 18px;
    padding: 15px;
  }

  #colorNav li ul {
    position: absolute;
    width: auto;
    left: 0;
    margin-top: 20px;
    top: 100%;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.4s linear;
    -moz-transition: max-height 0.4s linear;
    transition: max-height 0.4s linear;
    background-color: #f5f5f5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 3;
  }

  #colorNav li ul li {
    padding: 10px 15px;
    background-color: #f5f5f5;
  }

  #colorNav li ul li a {
    padding: 12px;
    color: #000;
    text-decoration: none !important;
    display: block;
    text-align: center;
  }

  #colorNav li ul li a:hover {
    background-color: #1a4f5d;
    color: #ffffff;
  }

  #colorNav li:hover ul {
    max-height: none;
  }

  #colorNav li ul li + li {
    border-top: 1px solid #ddd;
  }
  

  #colorNav li ul li:first-child {
    margin-top: 0.5rem;
    margin-right: 0;
  }

  #colorNav li ul li:last-child {
    margin-bottom: 0.5rem;
  }

  #colorNav li ul li{
    margin: 0 auto;
  }

  .text-offert {
    margin-bottom: 48px;
  }

  .text-tester {
    margin-top: -9rem;
  }
}

/* Footer */
.container_footer {
  display: flex;
  min-height: 16vh;
  justify-content: flex-end;
  align-items: flex-end;
}

footer {
  position: relative;
  background: #003847;
  width: 100%;
  min-height: 19rem;
  padding: 1rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

footer .social_icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

footer .social_icon li {
  list-style: none;
}

footer .social_icon li a {
  font-size: 2rem;
  color: #ffffff;
  transition: 0.5s ease;
}

footer .social_icon li a :hover {
  transform: translateY(-5px);
}

footer .social_icon li a[href*="facebook.com"]:hover {
  color: white;
}

footer .social_icon li a[href*="instagram.com"]:hover {
  color: #e1306c;
}

footer .social_icon li a[href*="wapp.ly"]:hover {
  color: #0cc143;
}

footer .social_icon li a[href*="tel"]:hover {
  color: #000;
}

footer .social_icon li a[href*="mailto"]:hover {
  color: #ffff00;
}

footer .Menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 0rem;
}

footer .Menu li {
  list-style: none;
}

footer .Menu li a {
  color: #ffc000;
  font-size: 1.2em;
  font-weight: bold;
  display: inline-block;
  transition: 0.5s;
  margin: 0 10px;
  text-decoration: none;
  opacity: 0.75;
}

footer .Menu li a:hover {
  opacity: 1;
}

footer .policity {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0rem;
}

footer .policity li {
  list-style: none;
}

footer .policity li a {
  font-size: 0.8rem;
  color: #f5f5f5;
  text-decoration: none;
  opacity: 0.75;
}

footer .policity li a:hover {
  opacity: 1;
}

footer p {
  color: #f5f5f5;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
}

footer p a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: bold;
  opacity: 0.75;
}

footer p a :hover {
  opacity: 1;
  color: #f5f5f5;
}

footer .waves {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
}

footer .wave {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 50px;
  background: url(../img/waveGreen.png) repeat-x;
  background-size: 1000px 100px;
  opacity: 0.7;
}

footer .wave#wave1 {
  z-index: 0;
  animation: animateWave 4s linear infinite;
  opacity: 0;
}

footer .wave#wave2 {
  z-index: 999;
  animation: animateWave 6s linear infinite;
  opacity: 0.5;
}

footer .wave#wave3 {
  z-index: 998;
  animation: animateWave 8s linear infinite;
  opacity: 0.3;
}

footer .wave#wave4 {
  z-index: 997;
  animation: animateWave 10s linear infinite;
  opacity: 0.1;
}

@keyframes animateWave {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 767px) {
  .container_footer {
    display: flex;
    min-height: 16vh;
    justify-content: flex-end;
    align-items: flex-end;
  }

  footer .social_icon {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    padding: 0rem;
  }

  footer .Menu {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0rem;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    grid-area: 3/4;
  }

  footer .Menu li:nth-child(5) {
    grid-column-start: 3;
  }

  footer .Menu li:nth-child(3) {
    grid-row-start: 1;
    grid-column-start: 2;
  }
}

.warning-text {
  color: red !important;
}

@media (max-width: 768px) {
  .iseu-container {
    margin: 0 auto 1rem auto;
    font-size: 1.2rem;
  }

  .navbar-collapse {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar-nav {
    margin-bottom: 1rem;
  }
}

.dropdown-menus {
  display: none;
  position: absolute;
  /* top: 75%; */
  background-color: #003847;
  border-radius: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
}

.dropdown-menus li {
  display: block;
  width: auto;
}

.dropdown-menus li a {
  width: auto;
  display: block;
  padding: 0.5rem 1rem;
  color: #ffffff;
  text-decoration: none;
}

.dropdown-menus li a:hover {
  border-radius: 0.5rem;
  background-color: #1a4f5d;
  color: #fdbe00;
}

.nav-item:hover .dropdown-menus {
  display: block;
}

.container_degree_plant {
  position: relative;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.container_degree_plant img {
  width: 100%;
  height: 100%;
  display: block;
}

.img_degree {
  display: block;
}

.container_degree_plant::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.textCard {
  align-items: center;
  display: grid;
  justify-content: space-evenly;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  padding: 1rem;
  z-index: 2;
}

.textCard .card {
  width: 20rem;
  height: 20rem;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  font-weight: bold;
  color: white;
}
.P_carrera {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 20px 0 20px 0;
}

.textCard .card i {
  font-size: 25px;
}
.textCard .card p {
  margin-top: 8px;
  font-size: 18px;
  font-weight: bolder;
}
.textCard .card .nav-item {
  margin-top: 10px;
  justify-content: center;
}
.textCard .card .nav-item img {
  width: 40px;
}
.p_degrees {
  top: 0;
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
  border-radius: 1rem;
  border: 2px solid transparent;
  padding: 1rem;
  text-align: center;
  position: static;
}
.card {
  background-color: #003847;
}
.container_footer {
  position: relative;
  z-index: 100;
}

.carrers-container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  text-align: center;
  background-color: #003847;
  padding: 5rem;
  z-index: 2;
  position: sticky;
}
.carrers-container .card {
  background-color: white;
  color: #003847;
}

.carrers-container .cards .card {
  display: grid;
  width: 30%;
  height: auto;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  transition: 400ms;
  padding: 10px 10px;
  color: #003847;
}
.carrers-container .cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 55px;
}
.carrers-container .cards .card-title {
  font-weight: bold;
  text-align: center;
}
.carrers-container .cards .card .card-footers {
  display: grid;
}
@media (max-width: 800px) {
  .container_degree_plant img {
    height: 100%;
    max-height: none;
  }
  .textCard {
    flex-direction: column;
    align-items: center;
    height: 100%;
  }
  .img-degree {
    min-width: none;
    min-width: none;
    height: 100%;
    width: 100%;
  }
  .carrers-container .cards .card {
    width: auto;
  }
}

@media (max-width: 500px) {
  .items-navbar {
    flex-direction: row;
  }
}
.contact-icon {
  color: #013b49 !important;
  /* background-color: white; */
}
.contact-icon a {
  color: #013b49 !important;
}

section{
  scroll-margin-top: 8rem;
}

#searchContainer {
  position: relative;
}

#searchInput {
  position: absolute;
  top: 100%;
  right: 0;
  width: 0;
  opacity: 0;
  padding: 0;
  border: none;
  transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

#searchInput.search-visible {
  width: 200px;
  opacity: 1;
  padding: 0.375rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#searchResults {
  position: absolute;
  top: calc(100% + 40px); /* más abajo del input */
  right: 0;
  width: 250px;
  display: none;
  z-index: 1000;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#searchResults li {
  cursor: pointer;
  padding: 8px 12px;
}

#searchResults li:hover {
  background-color: #f1f1f1;
}
