/* Fuente principal para texto general: Roboto (sans-serif) */
body {
    font-family: 'Roboto', sans-serif;
}

/* Fuente secundaria para títulos o secciones específicas: IBM Plex Serif */
.serif-title,
h1, h2, h3, span {
    font-family: 'IBM Plex Serif', serif;
}

/* Si deseas aplicarla a ciertos bloques de texto */
.text-serif {
    font-family: 'IBM Plex Serif', serif;
}

.nosotros {
  margin: 0;
  padding-top: 110px;
  background: #ffffff;
  padding-top: 125px;
  width: 100%;
  }

.nosotros h1 {
  font-weight: bold;
  color: #e30713;
  height: 39px;
}

.mision {
  margin: 0;
  padding-top: 80px;
  background: #ffffff;
  padding: 65px 0;
  width: 100%;
  }

.mision h1 {
  font-weight: bold;
  color: #e30713;
  height: 39px;
}

.vision {
  margin: 0;
  padding-top: 80px;
  background: #ffffff;
  padding: 30px 0;
  width: 100%;
  }

.vision h1 {
  font-weight: bold;
  color: #e30713;
  height: 39px;
}

.valores-eticos {
  margin: 0;
  padding-top: 80px;
  background: #ffffff;
  padding: 70px 0;
  width: 100%;
  }

.valores-eticos h1 {
  font-weight: bold;
  color: #e30713;
  height: 39px;
}

.valor-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f5f5f5;
}

.valor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.199);
    cursor: pointer;
}

.footer {
  margin: 0;
  padding-top: 110px;
  background: #1d1d1d;
  color: #ffffff;
  padding: 80px 0;
  width: 100%;
  }

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer h1 {
  font-weight: bold;
  color: #e30713;
  height: 39px;
}

.footer p {
  color: #ffffff;
  font-size: 0.9rem;
}

.carousel-card-testimonio{
  padding: 20px;
  margin: 10px;
  position: relative;
  transition: transform 0.3s ease;
  border: 1px solid #e63946;
  border-radius: 20px;
  font-size: 0.9rem;
}  

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    background-color: white;
    color: #1d1d1d;
}

/* Toggler personalizado (icono blanco) */
.custom-toggler .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='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }   

.navbar-brand span {
    color: #1d1d1d !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: #1d1d1d !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #e63946 !important;
    transform: scale(1.05);
}

.custom-toggler .navbar-toggler-icon {
    /* Cambia icono a negro si es necesario */
    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='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Dropdown personalizado */
.dropdown-menu {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease-in-out;
    min-width: 220px;
    z-index: 1000;
}

.dropdown-item {
    color: #212529 !important;
    padding: 10px 20px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.dropdown-item:hover {
    background: #e63946;
    color: #fff !important;
}

.dropdown-divider {
    border-top: 1px solid #dee2e6;
    margin: 5px 0;
}

/* Mostrar dropdown al hacer hover */
.dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

/* Botón: Iniciar Sesión */
.custom-login-btn {
    background-color: #ffffff;
    color: #e30713;
    border-color: #e30713;
    transition: all 0.3s ease;
}

.custom-login-btn:hover {
    color: white;
    background-color: #e30713;
    border-color: #ffffff;
}

/* Botón: Registrate */
.custom-register-btn {
    background-color: #e30713;
    border-color: #ffffff;
    color: white;
    transition: all 0.3s ease;
}

.custom-register-btn:hover {
    background-color: #1d1d1d;
    border-color: #e30713;
    color: #fff;
}

.carousel-container {
  max-width: 1200px;
  margin: 0;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-card {
  min-width: calc(100% / 3);
  padding: 10px;
  position: relative;
  transition: transform 0.3s ease;
}

.carousel-card img {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  display: block;
  transition: transform 0.3s ease;
}

.carousel-card:hover img {
  background-color: #1d1d1d;
  transform: scale(1.05);
  filter: brightness(20%);
}

.carousel-card .info {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  bottom: 110px;
  display: flex;
  justify-content: center;
  align-items: end;
  opacity: 0;
  color: #fff;
  font-size: 1rem;
  text-align: justify;
  padding: 15px;
  transition: opacity 0.3s ease;
}

.carousel-card:hover .info {
  opacity: 1;
}

.carousel-card .title {
  text-align: center;
  padding-top: 10px;
  color: #333;
}

/* Puntos de navegación */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dot.active {
  background-color: #333;
}

/* Responsivo */
@media (max-width: 900px) {
  .carousel-card { min-width: 50%; }
}

@media (max-width: 600px) {
  .carousel-card { min-width: 100%; }
}

.hidden{
visibility: hidden;
}

.custom-line {
  width: 10%;          /* Controla el largo de la línea */
  height: 5px;         /* Grosor de la línea */
  background-color: red; /* Color de la línea */
  border: none;        /* Elimina bordes predeterminados */
  margin: 0 auto;      /* Centra la línea */
}

.custom-line1 {
  width: 20%;          /* Controla el largo de la línea */
  height: 5px;         /* Grosor de la línea */
  background-color: red; /* Color de la línea */
  border: none;        /* Elimina bordes predeterminados */
  margin: 0;      /* Centra la línea */
}

.custom-line-white {
  width: 100%;          /* Controla el largo de la línea */
  height: 3px;         /* Grosor de la línea */
  background-color: rgb(255, 255, 255); /* Color de la línea */
  border: none;        /* Elimina bordes predeterminados */
  margin: 0 auto;      /* Centra la línea */
}