@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;700&display=swap');

:root {
  --color-main: #6c190b;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  src: url("../fonts/Poppins-Black.ttf"), url("../fonts/Poppins-BlackItalic.ttf"), url("../fonts/Poppins-Bold.ttf"), url("../fonts/Poppins-BoldItalic.ttf"),
    url("../fonts/Poppins-ExtraBold.ttf"), url("../fonts/Poppins-ExtraBoldItalic.ttf"), url("../fonts/Poppins-ExtraLight.ttf"), url("../fonts/Poppins-ExtraLightItalic.ttf"),
    url("../fonts/Poppins-Italic.ttf"), url("../fonts/Poppins-Light.ttf"), url("../fonts/Poppins-LightItalic.ttf"), url("../fonts/Poppins-Medium.ttf"), url("../fonts/Poppins-MediumItalic.ttf"),
    url("../fonts/Poppins-Regular.ttf"), url("../fonts/Poppins-SemiBold.ttf"), url("../fonts/Poppins-SemiBoldItalic.ttf"), url("../fonts/Poppins-Thin.ttf"), url("../fonts/Poppins-ThinItalic.ttf");
}

.navbar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.nav-item {
  font-size: 13.5px;
}

.carousel {
  user-select: none;
  box-shadow: 0px 0px 3px 1px #00000078;
  margin-top: 40px;
  padding: 10px;
  box-sizing: border-box;
}

.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: -60px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-right: 15%;
  margin-bottom: 1rem;
  margin-left: 15%;
  list-style: none;
}

.carousel-indicators [data-bs-target] {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  transition: background-color 0.5s;
}

.carousel-dark .carousel-indicators [data-bs-target] {
  background-color: #991547;
}

.carousel-item {
  height: 486px;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 60px;
  border-radius: 8px;
  background-color: rgb(162, 162, 162);
}

.carousel-control-prev {
  left: 14px;
}

.carousel-control-next {
  right: 14px;
}

/* Contenedor principal del banner */
.banner {
  position: relative;
  width: 100%;
}

/* Imagen del banner */
.banner__img {
  width: 100%;
  height: auto; /* Mantiene las proporciones de la imagen */
  display: block;
}

/* Contenedor de los iconos de redes sociales */
.banner__social-media {
  position: absolute;
  top: 50%; /* Coloca los iconos verticalmente centrados */
  right: 5%; /* Los iconos se ajustan a la derecha con un pequeño margen */
  transform: translateY(-50%);
  display: flex;
  gap: 15px; /* Espacio entre los iconos */
  justify-content: center; /* Centra los iconos en la fila */
  align-items: center;
  z-index: 10; /* Asegura que los iconos estén encima de la imagen */
}

/* Estilo de cada icono de red social */
.banner__img-social-media {
  display: inline-block;
  font-size: 3rem; /* Tamaño adecuado de iconos */
  color: #DDC9A3; /* Color de los iconos */
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Efecto hover para los iconos */
.banner__img-social-media:hover {
  transform: scale(1.1); /* Aumenta ligeramente el tamaño del icono al pasar el cursor */
  color: #DDC9A3; /* Mantiene el color al hacer hover */
}


.navbar-main {
  font-size: 0.75rem;
  background-color: #e2e2e2 !important;
}

.navbar-main .nav-item {
  border: 3px solid transparent;
  transition: border 300ms;
}

.navbar-main .nav-item:hover {
  border-bottom: 3px solid var(--color-main);
}

.section-contact {
  padding: 20px;
  background-color: white;
  color: #444444;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.section-contact .section-contact__map,
.section-contact .section-contact__map iframe {
  height: 280px;
  width: 100%;
}

.footer-main {
  padding: 20px;
  margin-top: auto;
  font-size: 0.75rem;
  text-align: center;
  background-color: #e2e2e2 !important;
}

.footer-main p {
  margin: 0;
}

.footer-main p:first-child {
  font-weight: 700;
}

.section__company-images {
  position: relative;
  margin: 30px 0 30px 0;
  width: 100%;
  text-align: center;
}

.section__company-images img {
  width: 100%;
  max-width: 300px;
  margin: 0 20px;
  border-radius: 4px;
}

.section__information {
  margin: 80px 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: #444444;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.information__title {
  margin-bottom: 40px;
  font-weight: 700;
  text-align: center;
}

.information {
  text-align: justify;
}

.section__about-us {
  margin: 80px 0;
  padding: 40px;
  background-color: white;
  color: #444444;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.about-us__title {
  margin-bottom: 40px;
  font-weight: 700;
  text-align: center;
}

.about-us__information {
  text-align: justify;
}

.section__form {
  position: relative;
  margin: 70px 0;
  padding: 40px;
  background-color: white;
  color: #444444;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.section__modules {
  position: relative;
  margin: 100px 0;
  padding: 35px;
  background-color: white;
  color: #444444;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.modules__header {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  line-height: 1.1;
  border-radius: 4px 4px 0px 0;
  color: white;
}

.modules__header-title {
  padding: 10px;
  margin: 0;
  background-color: rgb(102, 102, 102);
}

.modules__header-description {
  padding: 10px;
  margin: 0;
  background-color: #b6b6b6;
}

.modules__items-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.modules__item-module {
  display: inline-block;
  width: 100px;
  height: 100px;
  margin: 10px;
  font-size: 2rem;
  line-height: 95px;
  text-align: center;
  border-radius: 4px;
  background-color: rgb(233, 233, 233);
  transform: translateZ(0);
  transition: 0.3s;
  transition-property: box-shadow, transform, background-color;
}

.modules__item-module:hover {
  transform: scale(1.15);
  background-color: var(--color-main);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  color: white;
}

.modules__item-module>i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}


.offcanvas-title {
  color: white;

}

.list-group-item {
  position: relative;
  display: block;
  padding: 0.5rem 1rem;
  color: #212529;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .125);
  font-size: 0.9rem;
}

.list-group-item.active {
  z-index: 2;
  color: #fff;
  background-color: #991547;
  border-color: #991547;
}

.btn-primary {
  color: #fff;
  background-color: #991547;
  border-color: #991547;
}

.btn-primary:hover {
  color: #fff;
  background-color: #991547;
  border-color: #991547;
}

.btn-note {
  color: #fff;
  background-color: #b75a7d
}

.btn-note:hover {
  color: #fff;
  background-color: #b75a7d
}

.btn-note:focus {
  color: #fff;
  box-shadow: none !important;
}

.fa-solid.fa-x {
  box-sizing: content-box;
  width: 1rem;
  height: 1rem;
  padding: 0.5em 0.5em;
  color: #000;
  background-color: #991547;
  border: 0;
  border-radius: 0.25rem;
  opacity: .5;
  font-size: 1.05rem;
}

.btn-check:focus+.btn-primary,
.btn-primary:focus {
  background-color: #991547;
  border-color: #991547;
  box-shadow: 0 0 0 0.25rem rgba(188, 188, 190, 0.5);
}

.btn-check:active+.btn-primary:focus,
.btn-check:checked+.btn-primary:focus,
.btn-primary.active:focus,
.btn-primary:active:focus,
.show>.btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgb(188, 188, 190, 0.5);
}

.accordion-button:focus {
  z-index: 3;
  border-color: #ffffff;
  background-color: #ffffff;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.accordion-button:not(.collapsed) {
  color: #495057;
  background-color: #ffffff;
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  background-color: #fff;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
}

.accordion-button::after {
  color: #000;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  flex-shrink: 0;
  width: 1.45rem;
  height: 1rem;
  margin-left: auto;
  content: "";
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform .2s ease-in-out
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

#tabOptionsInformation .nav-link {
  font-weight: 300;
  padding: 15px;
  color: #444444;
  transition: 500ms;
}

#tabOptionsInformation .nav-link:hover {
  background-color: #f8f8f8;
  color:#fff
}

#tabOptionsInformation .nav-link.active {
  background-color: #b75a7d;
  color: #fff;
}

#contentNews .card {
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-color: white !important;
}

#contentNews .card .card-header {
  padding: 0;
  height: 100%;
  max-height: 210px;
  overflow: hidden;
}

#contentNews .card .card-header img {
  min-height: 130px;
  height: 100%;
  /* max-height: 210px; */
  object-fit: cover;
}

#contentNews .card .card-body small {
  color: #a0a0a0 !important;
}

#contentNews .card .card-body a {
  display: inline-block;
  margin-bottom: 5px;
  color: #444444;
  font-weight: 700;
  text-decoration: none;
  transition: 100ms;
}

#contentNews .card .card-body a:hover {
  color: #991547;
}

@media (max-width: 820px) {
  #tabOptionsInformation .nav-link span {
    display: inline-block;
    width: 100%;
  }

  .modules__header {
    top: -3.5rem;
  }

  .modules__header-title {
    width: 5.5rem;
  }

  .modules__header-description {
    width: 12rem;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    height: 180px;
  }
    .banner__social-media {
      top: 70%; /* Ajusta la posición vertical para pantallas móviles */
      right: 3%; /* Mantiene la distancia de la derecha */
      flex-wrap: wrap; /* Los iconos se reorganizan si es necesario */
      justify-content: center; /* Centra los iconos horizontalmente */
      gap: 10px; /* Menor espacio entre los iconos */
    }
  
    .banner__img-social-media {
      font-size: 1.0rem; /* Ajusta el tamaño de los iconos en pantallas pequeñas */
    }
  }

@media (max-width: 333px) {
  .modules__item-module {
    width: 100%;
  }
}

@media (max-width: 1400px) {
  .section-contact {
    width: 100%;
    padding: 10px;
  }
}

@media (min-width: 1500px) {
  #navbarNav {
    justify-content: center;
  }
}