body * {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}


.background-image {
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.section-cards {
  position: relative;
  background: url("https://via.placeholder.com/1600x600?text=Fondo+Cards")
    center/cover no-repeat;
  padding: 5rem 0;
}

/* Línea amarilla que atraviesa la sección */
.section-cards .separator-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5rem;
  background-color: #fab02d;
  transform: translateY(-50%);
  z-index: 1;
}

.card-custom {
  position: relative;
  z-index: 2;
  background: transparent;
  border-radius: 0.75rem;
  padding: 2.5rem 1rem 2rem;
  overflow: visible;
  height: 100%;
}

/* 1) Icono: ancho menor */
.icon-wrapper {
  width: 85%;
  margin: 0 auto;
  text-align: center;
  font-size: 2.5rem;
  color: #fab02d;
  background-color: #fff;
  border-radius: 10px 10px 0 0 !important;
  padding: 40px 0;
}

/* 2) Título: un poco más ancho */
.title-wrapper {
  width: 90%;
  margin: 0 auto;
  background: #fab02d;
  color: #003366;
  text-align: center;
  padding: 0.75rem 0;
  border-radius: 0.25rem;
  font-weight: bold;
  color: #fff;
  font-size: 24px;
}

/* 3) Descripción: igual ancho que icono */
.desc-wrapper {
  width: 85%;
  margin: 0 auto 0;
  text-align: center;
  color: #666;
  line-height: 1.5;
  background-color: #fff;
  padding: 2rem;
  border-radius: 0 0 10px 10px !important;
}

.hero-section {
  height: 590px;
}

.section-values {
  position: relative;
  background-color: #fab02d;
  padding: 6rem 0;
  overflow: visible;
}

/* Header centrado */
.section-values .header {
  text-align: center;
  color: #fff;
  margin-bottom: 4rem;
}

.section-values .header .header-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-values .header h2 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

/* Cada valor: icono + texto */
.section-values .value-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.section-values .value-item .icon-wrapper {
  flex: 0 0 3.5rem;
  height: 3.5rem;
  background: inherit;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003366;
  font-size: 1.5rem;
  margin-right: 1rem;
}

.section-values .value-item .icon-wrapper img {
  width: 50px;
}

.section-values .value-item .text-wrapper h5 {
  margin: 0 0 0.25rem;
  color: #003366;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
}

.section-values .value-item .text-wrapper p {
  margin: 0;
  color: #fff;
  opacity: 0.9;
  line-height: 1.4;
  font-size: 18px !important;
}

/* Paraguas flotante */
.section-values .umbrella {
  position: absolute;
  top: -110px;
  right: 0;
  max-width: 1920px;
  z-index: 999;
  width: 400px;
}

/* Aseguramos que el contenido quede por encima del paraguas */
.section-values .container {
  position: relative;
  z-index: 2;
}

.team-section {
  position: relative;
  background: url("https://via.placeholder.com/1600x900?text=Fondo+Equipo");
  color: #fff;
  min-height: 80vh;
  padding-top: 6rem;
  padding-bottom: 0;
  overflow: visible;
}

.team-section .container {
  position: relative;
  z-index: 2;
}

.team-section .header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.team-section .header .header-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
  margin-left: auto;
  margin-right: auto;
}

.team-section .header h2 {
  font-size: 2.25rem;
  font-weight: bold;
  margin: 0;
}

.team-section .team-text {
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.team-section .team-text p {
  margin-bottom: 1.25rem;
}

/* Imagen inferior */
.team-section .team-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 40%;
  /* ocupará el 40% de la altura de la sección */
  z-index: 1;
  top: 61%;
}

/* .team-section .team-image img {
  width: 100%;
  display: block;
} */

.img-team {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 80%;
  max-width: 100%;
}

.section-achievements {
  position: relative;
  background: url("https://via.placeholder.com/1600x600?text=Stripes") repeat;
  padding: 5rem 0;
  color: #003366;
}

.section-achievements .container {
  position: relative;
  z-index: 1;
}

/* Encabezado */
.section-achievements .header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-achievements .header .header-icon {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 0.5rem;
}

.section-achievements .header h2 {
  font-weight: bold;
  font-size: 2rem;
  margin: 0;
  color: #003366;
}

/* Cada logro */
.achievement-item {
  text-align: center;
}

.contact-item .icon {
  font-size: 3rem;
  color: #fab02d;
  margin-bottom: 1rem;
  display: inline;
}

.achievement-item h5 {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.achievement-item p {
  margin: 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Opcional: figura de fondo grande (el 3 detrás de los items) */
.section-achievements::before {
  content: "3";
  position: absolute;
  font-size: 20rem;
  color: rgba(255, 193, 7, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.section-recognition {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay oscuro para mejorar contraste */
.section-recognition::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-recognition .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Encabezado centrado */
.section-recognition .header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-recognition .header .header-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-recognition .header h2 {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

.section-recognition .header .subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* Galería de imágenes */
.section-recognition .row img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Imagen de convenciones al borde inferior derecho */
.convenciones-img-borde {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: 100%;
  height: 100%;
}

.content-reconocimientos{
  z-index: 4 !important;
}



.section-contact {
  position: relative;
  background: url("https://via.placeholder.com/1600x600?text=Fondo+Contacto")
    center/cover no-repeat;
  /* altura total arbitraria; luego el contenido blanco ocupa el 50% inferior */
  /* min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; */
}

.contact-content {
  position: absolute;
  bottom: 0;
  /* top: 80%; */
  width: 100%;
  background: transparent;
}

.section-contact .contact-content {
  /* background-color: #fff; */
  padding: 0 0 0;
}

.contact-item {
  /* text-align: center; */
  margin-bottom: 2rem;
}

.contact-item .icon {
  font-size: 3.5rem;
  color: #fab02d;
  margin-bottom: 0.5rem;
}

.contact-item .titulo-contact {
  font-weight: bold;
  color: #003366;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  font-size: 24px;
}

.contact-color-text {
  color: gray;
}

.contact-item p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Social */
.social-icons {
  text-align: center;
  margin-top: 2rem;
}

.social-icons a {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  border-radius: 50%;
  background: #fab02d;
  color: #003366;
  margin: 0 0.5rem;
  font-size: 1.25rem;
}

.footer-section {
  background-color: #01385f;
  border-bottom: 0.75rem solid #fab02d;
}

.footer-section .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.footer-section .footer-content img {
  height: 40px;
  /* ajusta según tu logo */
}

.footer-section .footer-text {
  color: #fff;
  font-size: 0.9rem;
  margin: 0;
}

.footer-section .footer-legal-title {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.footer-section .footer-legal-link {
  color: #fff;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-section .footer-legal-link:last-child {
  margin-bottom: 0;
}

.footer-section .footer-legal-link:hover,
.footer-section .footer-legal-link:focus {
  color: #fab02d;
  text-decoration: underline;
}

.col-md-8.position-relative {
  min-height: 350px;
  position: relative;
  /* Asegura que las imágenes se posicionen respecto a este contenedor */
}

.about-section {
  position: relative;
  overflow: hidden;
}

.section-cards .row > [class^="col-"] {
  display: flex;
}

.card-custom {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
  /* Ajusta según lo que necesites */
  justify-content: stretch;
}

.card-custom .desc-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-item .nav-link {
  color: #fff !important;
}

.first-header-content .fas,
.fa {
  color: #fab02d;
  font-size: 16px;
}

.first-header-content .fab {
  color: #fab02d;
  font-size: 16px;
}

.team-text p {
  font-size: 10px;
  /* Por defecto para pantallas >= 1080px */
}

/* Desktop/PC convencional (1200px en adelante) */
@media (min-width: 1500px) {
  .team-text p {
    font-size: 14px;
    /* Tamaño de fuente para laptops y tablets */
  }

  .img-team {
    width: 70%;
    /* Tamaño para pantallas de escritorio grandes */
    left: 50%;
    transform: translateX(-50%);
  }

  .img-point-contact {
    margin-top: 5%;
  }

  .contact-content {
    position: absolute;
    bottom: -40px;
    padding-bottom: 50px;
  }

  .social-icons {
    margin-top: 0;
  }
}

/* Laptops/Tablets landscape (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1499px) {
  .team-text p {
    font-size: 16px;
    /* Tamaño de fuente para laptops y tablets */
  }

  .img-team {
    width: 85%;
    /* Tamaño para laptops y tablets en horizontal */
    left: 50%;
    transform: translateX(-50%);
  }

  .img-point-contact {
    margin-top: 5%;
  }
}

/* Tablets portrait y móviles grandes (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .img-team {
    width: 85%;
    /* Tamaño para tablets en vertical */
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Móviles (hasta 480px) */
@media (max-width: 480px) {
  .team-text p {
    font-size: 16px;
  }
  .img-team {
    width: 100%;
    /* Tamaño completo para móviles */
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ===== Intro JANEM (entre home y quienes-somos) ===== */
.intro-janem {
  height: 1130px;
  position: relative;
  color: #003366;
  display: flex;
  align-items: center;
}
.intro-logo {
  width: 240px;
  height: auto;
}

.intro-heading {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.2;
}
.intro-highlight {
  background: #fab02d;
  color: #fff;
  padding: 0.1rem 0.4rem;
}

.intro-paragraph {
  color: rgb(150, 150, 150);
  font-size: 16px;
  font-weight: 540;
}

.intro-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.4rem 0;
  color: rgb(0, 92, 155);
  font-size: 16px;
  font-weight: 550;
}
.intro-list .li-ico {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.intro-small {
  color: rgb(150, 150, 150);
  font-size: 14px;
  font-weight: 540;
  margin-left: 35px;
}
.intro-small-2 {
  color: rgb(150, 150, 150);
  font-size: 14px;
  font-weight: 540;
  margin-left: 35px;
}

.intro-janem-main-img {
  transform: translateX(-10%);
  
}

/* Imagen derecha sobrepuesta 10% hacia el área del texto */
.intro-figure {
  /* position: absolute; */
  right: 0;
  bottom: 0;
  /* width: 60%; */
  transform: translateX(
    -10%
  ); /* se “mete” 10% hacia la izquierda (sobre el texto) */
  z-index: 1; /* queda por debajo del texto (que está z-2) */
}
.intro-figure img {
  width: 1180px;
  height: 1110px;
  object-fit: contain;
}

/* Responsivo: en móviles quitamos la sobreposición y dejamos fluir */
@media (max-width: 991.98px) {
  .intro-janem {
    height: auto;
    padding: 3rem 0;
  }
  .intro-figure {
    position: static;
    width: 100%;
    transform: none;
    margin-bottom: 2rem;
  }
  .intro-logo {
    width: 200px;
  }
}













/* ===== Secciones con carrusel + texto ===== */
.section-carousel {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  padding: 6rem 0;
  color: #fff;
}

.section-carousel h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 3rem;
}

.section-carousel .carousel-inner img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
}

.section-carousel .carousel-text {
  /* background: rgba(0, 0, 0, 0.4); */
  padding: 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.5;
  /* backdrop-filter: blur(3px); */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section-carousel .carousel-text h2 {
  margin-bottom: 1rem; /* Ajustar espacio entre título y descripción */
}

.section-carousel .carousel-text p {
  flex-grow: 1;
  display: flex;
  align-items: center;
  margin: 0;
}

.section-carousel .carousel-control-prev-icon,
.section-carousel .carousel-control-next-icon {
  filter: invert(1);
}

/* Responsivo */
@media (max-width: 992px) {
  .section-carousel .carousel-inner img {
    height: 280px;
  }

  .section-carousel .carousel-text {
    margin-top: 1.5rem;
  }
}


