body {
  font-family: "Poppins", sans-serif;
  color: #0c0c0c;
  background-color: #ffffff;
  overflow-x: hidden; /* Evita scroll horizontal en móviles */
}

.layout_padding {
  padding: 75px 0;
}

.layout_padding2 {
  padding: 45px 0;
}

.layout_padding2-top {
  padding-top: 45px;
}

.layout_padding2-bottom {
  padding-bottom: 45px;
}

.layout_padding-top {
  padding-top: 75px;
}

.layout_padding-bottom {
  padding-bottom: 75px;
}

.custom_heading-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.custom_heading-container h2 {
  font-weight: bold;
  border-bottom: 1px solid #feb543;
  padding-bottom: 5px;
}

/*header section*/
.hero_area {
  min-height: 94vh;
  background-color: #ffffff; /* Fondo blanco */
  position: relative;
  overflow: hidden;
}

.hero_area::before {
  content: "";
  position: absolute;
  width: 58%;
  height: 86%;
  /*background-image: url(../images/hero-bg.png);*/
  background-size: 100% 100%;
  background-repeat: no-repeat;
  top: 25px;
  right: 0;
  z-index: 0;
  opacity: 0; /* Hacemos más sutil la imagen de fondo */
}

.sub_page .hero_area {
  height: auto;
}

.sub_page .hero_area::before {
  display: none;
}

.hero_area.sub_pages {
  height: auto;
}

.header_section {
  padding-top: 15px;
  position: relative;
  z-index: 2;
  background: linear-gradient(to right, #07012b, #4966cc); /* Fondo azul solo para el nav */
  border-radius: 0 0 20px 20px; /* Bordes redondeados inferiores opcionales */
  margin-bottom: 20px;
}

.header_section .container-fluid {
  padding-right: 25px;
  padding-left: 25px;
}

.header_section .nav_container {
  margin: 0 auto;
}

.custom_nav-container.navbar-expand-lg .navbar-nav .nav-link {
  padding: 10px 30px;
  color: #f9fcfb;
  text-align: center;
  text-transform: uppercase;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

a:hover,
a:focus {
  color: initial;
}

.btn,
.btn:focus {
  outline: none !important;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.navbar-brand,
.navbar-brand:hover {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 24px;
  color: #fafcfd;
}

.custom_nav-container .nav_search-btn {
  background-image: url(../images/search-icon.png);
  background-size: 22px;
  background-repeat: no-repeat;
  background-position-y: 7px;
  width: 35px;
  height: 35px;
  padding: 0;
  border: none;
}

.navbar-brand {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.navbar-brand span {
  font-size: 20px;
  font-weight: 700;
  color: #f9fcfb;
  margin-top: 5px;
  text-transform: uppercase;
}

.custom_nav-container {
  z-index: 99999;
  padding: 5px 0;
}

.custom_nav-container .navbar-toggler {
  outline: none;
}

.custom_nav-container .navbar-toggler .navbar-toggler-icon {
  background-image: url(../images/menu.png);
  background-size: 40px;
}

/*end header section*/

/* Estilos para el logo - Responsivo */
.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.logo {
    width: 45px;
    height: 45px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1e5799;
    flex-shrink: 0;
    overflow: hidden; /* Para asegurar que la imagen se recorte bien */
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #f9fcfb;
    line-height: 1.3;
}

/* Ajustes para móviles en el logo */
@media (max-width: 768px) {
    .logo-section {
        gap: 8px;
    }
    .logo {
        width: 40px;
        height: 40px;
    }
    .logo-text {
        font-size: 14px;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 35px;
        height: 35px;
    }
    .logo-text {
        font-size: 12px;
    }
}

/* slider section */
.slider_section {
  color: #0c0c0c; /* Texto oscuro para fondo blanco */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 90%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  z-index: 2;
}

.slider_section .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.slider_section #carouselExampleIndicators {
  position: unset;
}

.slider_section .carousel_btn-container {
  width: 110px;
  position: absolute;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  left: 2%;
  z-index: 999;
}

.slider_section .carousel_btn-container .carousel-control-prev,
.slider_section .carousel_btn-container .carousel-control-next {
  position: relative;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 100%;
  opacity: 1;
  background-repeat: no-repeat;
  background-size: 14px;
  background-position: center;
  background-color: #383a90;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.slider_section .carousel_btn-container .carousel-control-prev:hover,
.slider_section .carousel_btn-container .carousel-control-next:hover {
  background-color: #feb543;
}

.slider_section .carousel_btn-container .carousel-control-prev {
  background-image: url(../images/prev.png);
}

.slider_section .carousel_btn-container .carousel-control-next {
  background-image: url(../images/next.png);
}

.slider_section ol.carousel-indicators {
  margin: 0;
  width: 75px;
  bottom: 10%;
  left: 47.5%;
}

.slider_section ol.carousel-indicators li {
  width: 55px;
  height: 55px;
  border-radius: 100%;
  text-indent: 0px;
  text-align: center;
  line-height: 55px;
  color: #f9fcfb;
  background-color: #547bfe;
  opacity: 1;
  display: none;
}

.slider_section ol.carousel-indicators li.active {
  display: block;
}

.slider_detail-box h1 {
  font-weight: bold;
  margin-bottom: 25px;
  font-size: 2.5rem;
  color: #0047ab; /* Texto oscuro */
}

.slider_detail-box p {
  color: #0056b3; /* Texto gris oscuro para mejor legibilidad */
}

.slider_detail-box .btn-box a {
  display: inline-block;
  padding: 12px 40px;
  background-color: #feb543;
  color: #f9fcfb;
  border-radius: 25px;
  -webkit-box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  -webkit-transition: all .3s;
  transition: all .3s;
  border: none;
  margin: 35px 0 50px 0;
}

.slider_detail-box .btn-box a:hover {
  -webkit-transform: translateY(-7px);
          transform: translateY(-7px);
}

/* ===== CONTENEDOR DE LA IMAGEN PRINCIPAL ===== */
.slider_img-box {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  position: relative;
  top: -60px;
  right: -170px;
}

.slider_img-box img {
  width: 690px !important;
  height: 600px !important;
  max-width: none !important;
  object-fit: contain;
  display: block;
}

/* ===== RESPONSIVE: SOLO EN MÓVILES SE REDUCE ===== */
@media (max-width: 1400px) {
  .slider_img-box img {
    width: 600px !important;
    height: 520px !important;
  }
}

@media (max-width: 1200px) {
  .slider_img-box img {
    width: 500px !important;
    height: 430px !important;
  }
}

@media (max-width: 991px) {
  .slider_img-box img {
    width: 450px !important;
    height: 390px !important;
  }
}

@media (max-width: 768px) {
  .slider_section .row {
    flex-direction: column-reverse;
  }
  
  .slider_detail-box {
    text-align: center;
    margin-top: 30px;
  }
  
  .slider_detail-box h1 {
    font-size: 1.8rem;
  }
  
  .slider_img-box {
    justify-content: center;
    top: 0;
    right: 0;
  }
  
  .slider_img-box img {
    width: 400px !important;
    height: 350px !important;
  }
  
  .slider_section .carousel_btn-container {
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
  }
}

@media (max-width: 480px) {
  .slider_img-box img {
    width: 300px !important;
    height: 260px !important;
  }
}

@media (max-width: 360px) {
  .slider_img-box img {
    width: 250px !important;
    height: 220px !important;
  }
}

/* welcome section - AZUL */
.welcome_section {
  background: linear-gradient(135deg, #021b5e 0%, #053f9c 100%);
  color: white;
  font-weight: 400; /*font-weight: bold;*/
  text-align: center;
}

.welcome_section .img-box {
  width: 65%;
  margin: 0 auto;
}

.welcome_section .img-box img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
}

.welcome_section .detail-box {
  margin-top: 45px;
}

.welcome_section .detail-box p {
  color: white;
}

.welcome_section .detail-box a {
  display: inline-block;
  padding: 12px 40px;
  background-color: #feb543;
  color: #f9fcfb;
  border-radius: 25px;
  -webkit-box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  box-shadow: 0px 2px 7px 0px rgba(32, 50, 117, 0.26);
  -webkit-transition: all .3s;
  transition: all .3s;
  border: none;
  margin-top: 45px;
}

.welcome_section .detail-box a:hover {
  -webkit-transform: translateY(-7px);
          transform: translateY(-7px);
}

@media (max-width: 768px) {
    .welcome_section .img-box {
        width: 90%;
    }
}

/* ==================== */
/* SERVICIOS - FONDO BLANCO */
/* ==================== */

.service_section {
  position: relative;
  text-align: center;
  padding: 100px 0 150px !important; 
  margin-top: 0 !important;
  color: #0c0c0c; /* Texto oscuro */
  background-color: #ffffff !important; /* Fondo blanco */
  overflow: hidden;
}

/* Eliminamos el overlay oscuro */
.service_section::before {
  display: none;
}

.service_section > .container {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

.service_section .custom_heading-container {
  margin-bottom: 50px;
}

.service_section .custom_heading-container h2 {
  border-color: #feb543 !important;
  color: #0c0c0c !important; /* Texto oscuro */
  font-size: 2.2rem;
  font-weight: bold;
}

/* Contenedor principal */
.services_container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

/* Fila de servicios - POR DEFECTO 5 COLUMNAS */
.services_row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: 100%;
}

/* Item individual */
.service_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* CARD PARA IMAGEN - se mantiene igual */
.service_card {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(to right, #07012b, #4966cc) !important; /*linear-gradient(to right, #07012b, #4966cc);*/ /*#ffffff;*/
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 15px !important;
  box-sizing: border-box !important;
  border: none !important;
}

/* IMAGEN DENTRO DEL CARD */
.service_img {
  max-width: 90% !important;
  max-height: 90% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  transition: transform 0.3s ease;
  background-color: white; /* Mantiene el fondo blanco */
  padding: 5px; /* Espacio alrededor */
  border-radius: 10px; /* Bordes redondeados */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Sombra para que resalte */
}

/* Efecto hover */
.service_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service_card:hover .service_img {
  transform: scale(1.1);
}

/* Título del servicio - AHORA EN OSCURO */
.service_title h4 {
  color: #6e750693 !important; /* Texto oscuro */
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 5px 0;
  line-height: 1.4;
  text-shadow: none; /* Eliminamos sombra */
}

.service_title p { /* Cambio de h2 a p para mejor semántica */
  color: #003366 !important; /* Texto gris oscuro */
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  text-shadow: none; /* Eliminamos sombra */
}

/* ==================== */
/* RESPONSIVE - SERVICIOS */
/* ==================== */

/* Escritorios Grandes (≥1200px) - 5 columnas */
@media (min-width: 1200px) {
  .services_row {
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
  }
  .service_title h4 {
    font-size: 16px;
  }
  .service_title p {
    font-size: 14px;
  }
}

/* Escritorios pequeños y tablets grandes (992px - 1199px) - 4 columnas */
@media (max-width: 1199px) {
  .services_row {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Tablets (768px - 991px) - 3 columnas */
@media (max-width: 991px) {
  .services_row {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .service_title h4 {
    font-size: 15px;
  }
  .service_title p {
    font-size: 13px;
  }
}

/* Móviles grandes (576px - 767px) - 2 columnas */
@media (max-width: 767px) {
  .services_row {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .service_card {
    padding: 10px !important;
  }
  .service_title {
    margin-top: 8px;
  }
  .service_title h4 {
    font-size: 14px;
  }
  .service_title p {
    font-size: 12px;
  }
}

/* Móviles pequeños (menos de 576px) - 1 COLUMNA (apilado) */
@media (max-width: 575px) {
  .service_section {
    padding: 60px 0 80px !important;
  }
  .service_section .custom_heading-container h2 {
    font-size: 1.8rem;
  }
  .services_container {
    gap: 20px; /* Reducimos el gap entre filas */
  }
  .services_row {
    grid-template-columns: 1fr; /* Una sola columna */
    gap: 20px;
  }
  .service_item {
    max-width: 350px; /* Ancho máximo para la tarjeta */
    margin: 0 auto; /* Centrar la tarjeta */
    width: 100%;
  }
  .service_card {
    padding: 15px !important; /* Un poco más de padding para que respire */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Sombra un poco más suave */
  }
  .service_title {
    margin-top: 12px;
  }
  .service_title h4 {
    font-size: 16px; /* Título un poco más grande */
  }
  .service_title p {
    font-size: 13px;
  }
}

/* Pantallas muy pequeñas (≤400px) - 1 columna con ajustes */
@media (max-width: 400px) {
  .service_item {
    max-width: 280px; /* Reducimos el ancho máximo para pantallas muy pequeñas */
  }
  .service_card {
    padding: 10px !important;
  }
  .service_title h4 {
    font-size: 15px;
  }
  .service_title p {
    font-size: 12px;
  }
}

/* ==================== */
/* INFO SECTION Y FOOTER - SE MANTIENEN IGUAL */
/* ==================== */

/* info section */
.footer_bg {
  background-image: url(../images/footer-bg.png);
  background-size: cover;
  padding-top: 200px;
  margin-top: -125px;
  position: relative;
  z-index: 1;
}

.info_section {
  position: relative;
  font-family: "Poppins", sans-serif;
  color: #f9fcfb;
}

.info_section h3 {
  text-transform: uppercase;
  font-weight: bold;
  color: #f9fcfb;
  margin-bottom: 35px;
  font-size: 1.8rem;
}

.info_section img {
  width: 100%;
}

.info_section ul {
  padding: 0;
}

.info_section ul li {
  list-style-type: none;
  margin: 10px 0;
}

.info_section ul li a,
.info_section ul li a:hover {
  color: #fff;
}

.info_section h5 {
  margin-bottom: 12px;
  font-size: 22px;
  color: #fff;
  padding: 1px 3px;
  border-bottom: 2px solid #feb543;
  display: inline-block;
}

.info_section .social-box {
  margin: 25px 0;
}

.info_section .social-box img {
  width: 35px;
  margin-right: 5px;
}

/* Responsive para info section */
@media (max-width: 768px) {
  .footer_bg {
    padding-top: 150px;
  }
  .info_section h3 {
    font-size: 1.5rem;
    text-align: center;
  }
  .info_section .row {
    justify-content: center;
  }
  .info_section .col-md-6 {
    text-align: center;
  }
  .info_section .d-flex {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer_bg {
    padding-top: 120px;
  }
  .info_section ul li a {
    font-size: 14px;
  }
}

/* footer section*/
.footer_section {
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.footer_section p {
  color: #f9fcfb;
  margin: 0;
  text-align: center;
  padding: 20px 15%;
  border-top: 1px solid #f9fcfb;
  font-size: 14px;
}

.footer_section a {
  color: #f9fcfb;
}

@media (max-width: 768px) {
  .footer_section p {
    padding: 15px 10%;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .footer_section p {
    padding: 10px 5%;
    font-size: 12px;
  }
}

/* ==================== */
/* AJUSTES ADICIONALES */
/* ==================== */

/* Ajuste para el contenedor principal en móviles */
@media (max-width: 768px) {
  .container {
    padding-right: 20px;
    padding-left: 20px;
  }
  
  .custom_heading-container h2 {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .layout_padding {
    padding: 50px 0;
  }
}

/* Ajuste para imágenes en general */
img {
  max-width: 100%;
  height: auto;
}

/* Fin del archivo */