/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  color: white;
  background-color: #18a8b0;
}

@media (max-width: 1200px) {
  .options-top {
    font-size: 16px;
  }
}

@media (max-width: 780px) {
  .options-top {
    font-size: 13px;
  }
}

@media (max-width: 414px) {
  .options-top {
    font-size: 10px;
  }
}

/*--------------------------------------------------------------
# NavBar
--------------------------------------------------------------*/
.navbar {
  background-color: #f1f7fd;
}
.navbar-nav .nav-link {
  color: #555555;
}

.navbar-nav .nav-link:hover {
  color: #18a8b0;
}

/* Estilos para dispositivos móviles */
@media (max-width: 767px) {
  #logo {
    width: 55px;
  }
}

/* Estilos para tabletas */
@media (min-width: 768px) and (max-width: 1023px) {
  #logo {
    width: 65px;
  }
}

/* Estilos para escritorio */
@media (min-width: 1024px) {
  #logo {
    width: 75px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  margin-bottom: -100px;
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 23/9;
  z-index: 1;
  overflow: hidden;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 2s ease;
}

.current-image {
  background-size: cover;
  aspect-ratio: 16/9;
  z-index: 2;
}

.next-image {
  z-index: 1;
  opacity: 0;
}

#hero .container {
  z-index: 3;
  translate: -70%;
  width: auto;
  padding: 10px;
  background-color: #ffffffa2;
  border-radius: 12px;
  right: 30px;
  position: relative;
}

.title {
  font-weight: bold;
  font-size: 40px;
  line-height: 56px;
  color: rgb(161, 202, 46);
}

.title span {
  font-weight: normal;
  font-size: 40px;
  line-height: 56px;
  color: rgb(0, 0, 0);
}

.content-body {
  color: rgb(0, 0, 0);
  margin: 10px 0 0 0;
  font-size: 24px;
}

@media (max-width: 1400px) {
  #hero .container {
    translate: -50%;
  }
}

@media (max-width: 1220px) {

  #hero .container {
    position: static;
    translate: -30%;
  }
}

@media (max-width: 980px) {

  #hero {
    margin-bottom: 0px;
  }

  #hero .container {
    position: static;
    translate: 0%;
  }
}

@media (max-width: 690px) {
  .title {
    font-size: 35px;
    line-height: 46px;
  }

  .title span {
    font-size: 30px;
    line-height: 46px;
  }

  .content-body {
    margin: 5px 0 0 0;
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
#why-us {
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative; /* Ajusta la posición según sea necesario */
  z-index: 2; /* Asegúrate de que el z-index sea mayor que el de #hero */
}

.why-us .content {
  padding: 30px;
  background: #18a8b0;
  border-radius: 12px;
  color: #fff;
}

.why-us .content h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.why-us .content p {
  margin-bottom: 30px;
}

.why-us .content .more-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 30px 8px 30px;
  color: #fff;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.why-us .content .more-btn i {
  font-size: 14px;
}

.why-us .content .more-btn:hover {
  color: #18a8b0;
  background: #fff;
}

.why-us .icon-boxes .icon-box {
  text-align: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
}

.why-us .icon-boxes .icon-box i {
  font-size: 40px;
  color: #18a8b0;
  margin-bottom: 30px;
}

.why-us .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 30px 0;
}

.why-us .icon-boxes .icon-box p {
  font-size: 15px;
  color: #848484;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f1f7fd;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #2c4964;
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #18a8b0;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/

.services {
  background-color: #f1f7fd;
}

.services .testimonial-wrap {
  padding-left: 50px;
}

.services .testimonials-carousel,
.services .testimonials-slider {
  overflow: hidden;
}

.services .testimonial-item {
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 30px 15px;
  min-height: 200px;
  box-shadow: 0px 2px 12px rgba(44, 73, 100, 0.08);
  position: relative;
  background: #fff;
}

.services .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid #fff;
  position: absolute;
  left: -45px;
}

.services .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.services .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.services .testimonial-item .quote-icon-left,
.services .testimonial-item .quote-icon-right {
  color: #badaf7;
  font-size: 26px;
}

.services .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.services .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.services .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.services .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.services .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #1977cc;
}

.services .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #1977cc;
}

@media (max-width: 767px) {
  .services .testimonial-wrap {
    padding-left: 0;
  }

  .services .testimonials-carousel,
  .services .testimonials-slider {
    overflow: hidden;
  }

  .services .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .services .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}
.services .swiper-slide {
  display: flex;
  height: auto;
}

.icon-box {
  background-color: white;
  flex: 1;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #d5e1ed;
  border-radius: 12px;
  margin: 10px; /* Ajusta según sea necesario */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.icon-box .icon {
  width: 64px;
  height: 64px;
  background: #1977cc;
  border-radius: 5px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-box .icon i {
  color: #fff;
  font-size: 28px;
}

.icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.icon-box h4 a {
  text-decoration: none;
  color: #2c4964;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .testimonial-wrap {
  padding-left: 50px;
}

.team .testimonials-carousel,
.team .testimonials-slider {
  overflow: hidden;
}

.team .testimonial-item {
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 30px 15px;
  min-height: 200px;
  box-shadow: 0px 2px 12px rgba(44, 73, 100, 0.08);
  position: relative;
  background: #fff;
}

.team .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid #fff;
  position: absolute;
  left: -45px;
}

.team .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.team .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.team .testimonial-item .quote-icon-left,
.team .testimonial-item .quote-icon-right {
  color: #badaf7;
  font-size: 26px;
}

.team .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.team .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.team .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.team .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.team .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #1977cc;
}

.team .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #1977cc;
}

@media (max-width: 767px) {
  .team .testimonial-wrap {
    padding-left: 0;
  }

  .team .testimonials-carousel,
  .team .testimonials-slider {
    overflow: hidden;
  }

  .team .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .team .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

.count-box {
  border: 1px solid #d5e1ed;
  border-radius: 12px;
  padding: 30px 20px;
  width: 100%;
  position: relative;
  text-align: center;
  background-color: #f1f7fd;
  margin-top: 25px; /* Espacio entre las cajas de conteo */
  margin-bottom: 25px;
}

.count-box i {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  background: #18a8b0;
  color: #fff;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: #082744;
}

.count-box p {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Departments
--------------------------------------------------------------*/
.departments {
  background-color: #f1f7fd;
  overflow: hidden;
}

.departments .nav-tabs {
  border: 0;
}

.departments .nav-link {
  border: 0;
  padding: 12px 15px 12px 15px;
  transition: 0.3s;
  color: #2c4964;
  border-radius: 12px 0px 0px 12px;
  border-right: 2px solid #ebf1f6;
  font-weight: 600;
  font-size: 15px;
}

.departments .nav-link:hover {
  color: #18a8b0;
}

.departments .nav-link.active {
  color: #18a8b0;
  border-color: #18a8b0;
}

.departments .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.departments .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2c4964;
}

.departments .details p {
  color: #777777;
}

.departments .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .departments .nav-link {
    background: #18a8b00f;
    border: 0;
    margin-top: 5px;
    border-radius: 5px;
    padding: 15px;
  }

  .departments .nav-link.active {
    color: #fff;
    background: #18a8b0;
  }
}

.card {
  border-radius: 12px;
  color: white;
  border-color: rgb(241, 241, 241);
  font-weight: bold;
  background-color: #18a8b0;
}

/*--------------------------------------------------------------
# Institutional policies
--------------------------------------------------------------*/

.faq .faq-list ul {
  padding: 0;
  list-style: none;
}

.faq .faq-list li + li {
  margin-top: 10px;
}

.faq .faq-list li {
  padding: 20px;
  background: #18a8b0;
  border-radius: 4px;
  position: relative;
}

.faq .faq-list a {
  display: block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding: 0 30px;
  outline: none;
  cursor: pointer;
}

.faq .faq-list .icon-help {
  font-size: 15px;
  position: absolute;
  right: 0;
  left: 20px;
  color: #ffffff;
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list a.collapsed {
  color: #343a40;
}

.faq .faq-list a.collapsed:hover {
  color: #18a8b0;
}

.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
  display: none;
}

@media (max-width: 1200px) {
  .faq .faq-list {
    padding: 0;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/

.contact .info {
  width: 100%;
}

.contact .info i {
  font-size: 20px;
  color: #1977cc;
  float: left;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .info .email i,
.contact .info .address i,
.contact .info .phone i {
  background: #18a8b0;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 12px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
  background: #18a8b0;
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 12px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #0a6b70;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
  background-color: #f1f7fd;
}

#footer .copyright {
  color: white;
  background-color: #18a8b0;
}

.link-footer {
  text-decoration: underline;
  color: #555555;
}

.link-footer:hover {
  color: #000000;
}
