﻿/* Cambiar el fondo y estilo del hero */
.hero-section {
  background-color: #004080;
  background-image: url('');
  background-size: cover;
  background-position: center;
  color: white;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* Ajustar el footer */
footer {
  font-size: 0.9rem;
}

/* Estilo para botones */
.btn-success {
  background-color: #28a745;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-success:hover {
  background-color: #218838;
}

/* SecciÃ³n de contacto */
section.bg-light h5 {
  color: #004080;
  font-weight: bold;
}

section.bg-light p {
  margin-bottom: 0.5rem;
}

section.bg-light a {
  text-decoration: none;
  color: inherit;
}

section.bg-light a .fab.fa-whatsapp {
  color: #25D366;
}

section.bg-light a .fas.fa-envelope {
  color: #004080;
}

section.bg-light a:hover {
  text-decoration: underline;
}

/* Estilo del top bar (si aplica) */
.bg-white {
  background-color: white;
}

.text-primary {
  color: #004080;
}

.navbar-contact-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.navbar-contact-info a {
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Estilo general */
body {
  padding-top: 90px;
}

.img-paquete-horizontal {
  width: 40%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 767px) {
  .card.flex-row {
    flex-direction: column !important;
  }

  .img-paquete-horizontal {
    width: 100%;
  }
}

/* Navbar */
.navbar .nav-link,
.navbar .navbar-brand {
  color: #0d3b66 !important;
}

.navbar .nav-link:hover {
  color: #0d3b66 !important;
}

/* BotÃ³n flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 28px;
  padding: 15px;
  border-radius: 50%;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 999;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
  color: white;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

.card[id] {
  scroll-margin-top: 120px;
  /* Ajusta segÃºn la altura de tu navbar */
}

.titulo-servicios {
  color: #00bfff;
  /* Ejemplo: celeste */
}

.titulo-contacto {
  color: #00bfff;
  /* O cualquier color que quieras usar */
}

.titulo-redes-sociales {
  color: #00bfff;
  /* O cualquier color que quieras usar */
}

/* Quitar subrayado de enlaces dentro del contacto */
.col-md-5 a {
  text-decoration: none;
  color: inherit;
  /* para mantener el color del texto padre */
}

/* Poner Ã­cono de WhatsApp en verde */
.col-md-5 a .fa-whatsapp {
  color: #25D366;
  /* verde tÃ­pico de WhatsApp */
}


/* HERO DEL INDEX */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease;
  /* mÃ¡s lento = mÃ¡s natural */
  z-index: 0;
}

.hero-background.active {
  opacity: 1;
  z-index: 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  /* Overlay negro suave */
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* HERO DEL DROPDOWN */
/* Cusco Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* Capas de fondo */
.cusco-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease;
  z-index: 0;
}

.cusco-background.active {
  opacity: 1;
  z-index: 0;
}

/* Overlay oscuro */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Contenido encima del fondo */
.hero-section .container {
  position: relative;
  z-index: 2;
}



/* Estilo para mostrar el dropdown al pasar el cursor */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  /* evita espacio entre nav y dropdown */
}

/* Ajustes para mejorar la interacciÃ³n */
.dropdown-menu {
  transition: all 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  padding: 10px 0;
}

.dropdown-menu .dropdown-item {
  transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f0f0f0;
  padding-left: 1.5rem;
  color: #007bff;
}

/* Sombreado al pasar el cursor sobre el item */
.dropdown-menu .dropdown-item {
  transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #d6d6d6;
  /* Color de sombreado */
  color: #007bff;
  /* Color del texto al hacer hover */
  padding-left: 1.5rem;
  /* Efecto visual de desplazamiento */
}


/* transicion del submenu*/
/* Base para todos los links (incluyendo dropdown-toggle) */
/* transicion del submenu*/
/* Base para todos los links (incluyendo dropdown-toggle) */
.navbar .nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border-bottom: none;
  transition: color 0.3s ease;
}

.navbar .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #0d3b66;
  border-radius: 2px;

  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
  z-index: 1;
}

.navbar .nav-link:hover {
  color: #007bff;
  background-color: transparent;
  box-shadow: none;
}

.navbar .nav-link:hover::before {
  transform: scaleX(1);
}

/* Mantiene el subrayado activo mientras se selecciona del dropdown */
.nav-item.dropdown:hover>.nav-link::before {
  transform: scaleX(1);
}


/* Para que la flecha del dropdown siga visible (Bootstrap usa ::after en .dropdown-toggle) */
.navbar .dropdown-toggle::after {
  position: relative;
  /* aseguramos posiciÃ³n para que estÃ© encima del subrayado */
  z-index: 2;
  /* mÃ¡s arriba que el ::before */
  transition: color 0.3s ease;
}

/* Para que la flecha del dropdown siga visible (Bootstrap usa ::after en .dropdown-toggle) */
.navbar .dropdown-toggle::after {
  position: relative;
  /* aseguramos posiciÃ³n para que estÃ© encima del subrayado */
  z-index: 2;
  /* mÃ¡s arriba que el ::before */
  transition: color 0.3s ease;
}




/* Estilos solo para el formulario, no para toda secciÃ³n bg-light */
section.formulario-contacto {
  max-width: 400px;
  margin: 40px auto;
  padding: 30px 20px;
  background-color: #FFFFFF;
  /* Fondo blanco */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* Sombra suave oscura */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* TÃ­tulo del formulario */
section.formulario-contacto h5 {
  text-align: center;
  font-weight: 700;
  color: #222;
  /* Texto oscuro */
  margin-bottom: 25px;
  font-size: 1.3rem;
}

/* Grupo de campos */
.mb-2 {
  margin-bottom: 20px;
}

/* Etiquetas */
label.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
  /* Texto mÃ¡s oscuro */
  font-size: 0.95rem;
}

/* Inputs, selects, textarea */
input.form-control,
select.form-select,
textarea.form-control {
  width: 100%;
  padding: 8px 12px;
  font-size: 1rem;
  border: 1.8px solid #ccc;
  /* Borde gris claro */
  border-radius: 6px;
  background-color: #fff;
  /* Fondo blanco */
  color: #000;
  /* Texto negro */
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

/* Enfocados */
input.form-control:focus,
select.form-select:focus,
textarea.form-control:focus {
  border-color: #1e90ff;
  /* Azul claro */
  outline: none;
  box-shadow: 0 0 6px rgba(30, 144, 255, 0.3);
  background-color: #f9f9f9;
  /* Fondo ligeramente mÃ¡s claro */
  color: #000;
}

/* BotÃ³n enviar */
button.btn-primary {
  background-color: #1e90ff;
  border: none;
  padding: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  transition: background-color 0.3s ease;
}

/* Hover del botÃ³n */
button.btn-primary:hover:not(:disabled) {
  background-color: #105cb6;
}

/* BotÃ³n deshabilitado */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Textarea tamaÃ±o mayor */
textarea.form-control

/*tipo de letra de la pagina web*/
body {
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: 'Poppins', sans-serif;
}

.navbar a {
  font-weight: 600;
  /* mÃ¡s grueso */
  font-size: 14.5px;
  /* mÃ¡s pequeÃ±o */
  text-decoration: none;
  /* opcional, para quitar subrayado */
  color: #333;
  /* color del texto */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  /* o 700 si prefieres mÃ¡s grosor */
}



/* Efecto de sombreado y ampliaciÃ³n al pasar el cursor del top bar */
.top-bar-social a i {
  transition: all 0.3s ease;
}

.top-bar-social a:hover i {
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  transform: scale(1.2);
}

/* Efecto de redes sociales en el footer */
.social-icon i {
  color: white;
  font-size: 1.5rem;
  display: inline-block;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.social-icon:hover i {
  color: #66ccff;
  text-shadow: 0 0 6px rgba(102, 204, 255, 0.7), 0 0 10px rgba(102, 204, 255, 0.5);
  box-shadow: 0 0 8px rgba(102, 204, 255, 0.4);
  transform: scale(1.2);
}

/* BotÃ³n flotante TripAdvisor */
.tripadvisor-float {
  position: fixed;
  bottom: 90px;
  /* Justo arriba del WhatsApp */
  right: 20px;
  background-color: #00AF87;
  color: white;
  width: 57px;
  height: 57px;
  padding: 0;
  border-radius: 50%;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.tripadvisor-float:hover {
  background-color: #008e6e;
}



.logo-cuadrado {
  width: 200px;
  height: 150px;
  object-fit: contain;
  background-color: #fff;
  /* fondo blanco opcional */
  padding: 10px;
  /* espacio interno si el logo es pequeÃ±o */
  border-radius: 8px;
  /* borde redondeado opcional */
}



/* hover de tarjetas */
.card-hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card-hover-effect:hover {
  transform: scale(1.03);
  /* agranda la tarjeta un poco */
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
  /* le da sombra */
}


/* nav var en mobiles*/

/* Por defecto para mÃ³viles */
.navbar.fixed-top {
  top: 0 !important;
}

/* Para pantallas grandes */
@media (min-width: 992px) {
  .navbar.fixed-top {
    top: 35px !important;
  }
}


.btn-whatsapp {
  width: 38px;
  /* ancho similar al botÃ³n hamburguesa */
  height: 38px;
  /* altura igual para que sea cuadrado */
  padding: 0;
  border-radius: 50%;
  /* botÃ³n redondo */
  font-size: 20px;
  /* tamaÃ±o Ã­cono */
  display: flex;
  align-items: center;
  justify-content: center;
}





/* boton de amburguesa */
.navbar-toggler {
  background-color: #0d3b66;
  /* Azul marino */
  border: 1px solid #0d3b66;
  /* Borde azul marino */
  border-radius: 4px;
  /* Borde redondeado (opcional) */
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* medernizacion de top bar*/
.top-bar a:hover i {
  transform: scale(1.2);
  transition: transform 0.2s ease-in-out;
}

/* TopBar normal */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050;
  transition: transform 0.3s ease;
  transform: translateY(0);
}

/* Cuando se oculta */
.topbar.hidden {
  transform: translateY(-100%);
}

/* Navbar por defecto debajo del topbar */
#mainNav {
  position: fixed;
  width: 100%;
  top: 35px;
  z-index: 1040;
  transition: top 0.3s ease;
}

/* Cuando topbar estÃ¡ oculto, navbar sube */
body.topbar-hidden #mainNav {
  top: 0;
}

/* Ocultar topbar en mÃ³vil (menos de 992px) y evitar que ocupe espacio */
@media (max-width: 991.98px) {
  #topBar {
    display: none !important;
  }

  /* Ajustar navbar para que suba y estÃ© en la parte superior */
  #mainNav {
    top: 0 !important;
    /* Si estÃ¡ fixed */
  }
}



/* galeria imagenes */

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 200px;
  gap: 1rem;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.grid-item:hover img {
  transform: scale(1.05);
}

/* TamaÃ±os especiales */
.grid-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.grid-item-wide {
  grid-column: span 2;
}

.grid-item-tall {
  grid-row: span 2;
}

/* Responsive */
@media (max-width: 768px) {
  .grid-gallery {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-auto-rows: 160px;
  }

  .grid-item-large,
  .grid-item-wide,
  .grid-item-tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 200px;
  gap: 1rem;
  grid-auto-flow: dense;
  /* â† ESTA LÃNEA NUEVA */
}



/* Hover efecto para logos solo en respaldado y aceptamos */
#respaldado .logo-cuadrado:hover,
#aceptamos .d-flex img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Ajuste del texto para que sea mÃ¡s legible */
.fw-semibold {
  font-weight: 600;
}



/* respaldado y aceptamos*/

.highlighted-text {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  /* color oscuro por defecto */
}

.highlighted-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background-color: #ffc107;
  /* amarillo estilo highlight */
  border-radius: 2px;
  transition: width 0.3s ease;
}



.highlighted-text {
  position: relative;
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
}

.highlighted-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  background-color: #ffc107;
  /* color amarillo tipo resaltado */
  transition: width 0.3s ease;
}

/*ESTILO DE TEXTO DE RESPALDADO Y ACEPTAMOS*/

.highlighted-text {
  background-color: #003366;
  /* azul oscuro */
  color: #ffffff;
  /* texto blanco */
  padding: 8px 12px;
  position: relative;
  font-weight: bold;
  border-radius: 4px;
}

.highlighted-text::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 10px;
  border: 10px solid transparent;
  border-top-color: #ffc107;
  /* amarillo */
}





/* =========================================
   NUEVO MENÃš DE NAVEGACIÃ“N (MEGA MENU)
   ========================================= */

/* Hacemos que el dropdown ocupe el ancho completo */
.nav-item.position-static {
  position: static !important;
}

/* Mega Menu container adjustment */
.dropdown-menu.w-100 {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin-top: 0;
  border-top: 3px solid #0d3b66;
  /* LÃ­nea superior decorativa */
}

/* TÃ­tulos de las columnas del Mega Menu */
.dropdown-menu h6 {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #0d3b66 !important;
  /* Azul corporativo */
}

/* Items del Mega Menu */
.dropdown-menu .dropdown-item {
  font-size: 0.9rem;
  color: #555;
  transition: all 0.2s ease-in-out;
  border-radius: 4px;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa;
  color: #00bfff;
  /* Celeste al pasar el mouse */
  transform: translateX(5px);
  /* PequeÃ±o desplazamiento */
}

/* Ajustes para mÃ³viles */
@media (max-width: 991.98px) {
  .dropdown-menu.w-100 {
    width: auto !important;
    /* En mÃ³vil no debe ser full width fijo */
    position: relative !important;
    box-shadow: none !important;
    border: none;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-item.position-static {
    position: relative !important;
  }

  /* Quitar bordes laterales en mÃ³vil */
  .border-end {
    border-right: none !important;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .col-lg-3.col-md-6:last-child .border-end {
    border-bottom: none;
  }
}

/* Espaciado extra para el navbar */
.navbar-nav .nav-link {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  font-weight: 700 !important;
  /* MÃ¡s negrita para los items principales */
  font-size: 0.85rem !important;
  /* Un poco mÃ¡s pequeÃ±o para que entre todo */
  text-transform: uppercase;
}

/* Color activo */
@media (max-width: 768px) {
  .grid-gallery {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-auto-rows: 160px;
  }

  .grid-item-large,
  .grid-item-wide,
  .grid-item-tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 200px;
  gap: 1rem;
  grid-auto-flow: dense;
  /* â† ESTA LÃNEA NUEVA */
}



/* Hover efecto para logos solo en respaldado y aceptamos */
#respaldado .logo-cuadrado:hover,
#aceptamos .d-flex img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Ajuste del texto para que sea mÃ¡s legible */
.fw-semibold {
  font-weight: 600;
}


/* respaldado y aceptamos*/

.highlighted-text {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  /* color oscuro por defecto */
}

.highlighted-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background-color: #ffc107;
  /* amarillo estilo highlight */
  border-radius: 2px;
  transition: width 0.3s ease;
}

.highlighted-text {
  position: relative;
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
}

.highlighted-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  background-color: #ffc107;
  /* color amarillo tipo resaltado */
  transition: width 0.3s ease;
}

/*ESTILO DE TEXTO DE RESPALDADO Y ACEPTAMOS*/

.highlighted-text {
  background-color: #003366;
  /* azul oscuro */
  color: #ffffff;
  /* texto blanco */
  padding: 8px 12px;
  position: relative;
  font-weight: bold;
  border-radius: 4px;
}

.highlighted-text::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 10px;
  border: 10px solid transparent;
  border-top-color: #ffc107;
  /* amarillo */
}


/* =========================================
   NUEVO MENÃš DE NAVEGACIÃ“N (MEGA MENU)
   ========================================= */

/* Hacemos que el dropdown ocupe el ancho completo */
.nav-item.position-static {
  position: static !important;
}

/* Mega Menu container adjustment */
.dropdown-menu.w-100 {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin-top: 0;
  border-top: 3px solid #0d3b66;
  /* LÃ­nea superior decorativa */
}

/* TÃ­tulos de las columnas del Mega Menu */
.dropdown-menu h6 {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #0d3b66 !important;
  /* Azul corporativo */
}

/* Items del Mega Menu */
.dropdown-menu .dropdown-item {
  font-size: 0.9rem;
  color: #555;
  transition: all 0.2s ease-in-out;
  border-radius: 4px;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa;
  color: #00bfff;
  /* Celeste al pasar el mouse */
  transform: translateX(5px);
  /* PequeÃ±o desplazamiento */
}

/* Ajustes para mÃ³viles */
@media (max-width: 991.98px) {
  .dropdown-menu.w-100 {
    width: auto !important;
    /* En mÃ³vil no debe ser full width fijo */
    position: relative !important;
    box-shadow: none !important;
    border: none;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-item.position-static {
    position: relative !important;
  }

  /* Quitar bordes laterales en mÃ³vil */
  .border-end {
    border-right: none !important;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .col-lg-3.col-md-6:last-child .border-end {
    border-bottom: none;
  }
}

/* Espaciado extra para el navbar */
.navbar-nav .nav-link {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  font-weight: 700 !important;
  /* MÃ¡s negrita para los items principales */
  font-size: 0.85rem !important;
  /* Un poco mÃ¡s pequeÃ±o para que entre todo */
  text-transform: uppercase;
}

/* Color activo */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #00bfff !important;
}


/* =========================================
   TOP BAR PERSONALIZADO
   ========================================= */
.topbar-custom {
  background-color: #0d3b66;
  /* Azul corporativo oscuro */
  color: white;
}

.topbar-custom .text-info {
  color: #00bfff !important;
  /* Iconos de contacto en celeste */
}

.social-link i {
  transition: all 0.3s ease;
}

.social-link:hover i {
  color: #00bfff !important;
  /* Celeste al pasar el mouse */
  transform: scale(1.2);
  text-shadow: 0 0 5px rgba(0, 191, 255, 0.5);
}
/* =========================================
   Rediseño Sección Respaldado y Aceptamos
   Estilo Corporativo / Minimalista
   ========================================= */

.corporate-trust-section {
  background-color: #f8f9fa; /* Fondo muy suave (gris casi blanco) */
  border-top: 1px solid #e9ecef;
}

.corporate-heading {
  color: #0d3b66; /* Azul corporativo */
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.corporate-subheading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #6c757d; /* Gris medio */
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.corporate-subheading::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: #0d3b66;
  margin: 5px auto 0;
}

/* Contenedor de cada logo (tipo tarjeta sutil) */
.trust-logo-wrapper {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px; /* Altura fija para uniformidad */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.trust-logo-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(13, 59, 102, 0.1); /* Sombra azulada muy sutil */
  border-color: #0d3b66; 
}

/* Estilo de las imágenes */
.trust-logo {
  max-width: 100%;
  max-height: 80px; /* Limita altura para que no desborde */
  width: auto;
  filter: grayscale(100%); /* Efecto blanco y negro inicial */
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  -webkit-backface-visibility: hidden; /* Mejora renderizado */
}

.trust-logo-wrapper:hover .trust-logo {
  filter: grayscale(0%); /* Color al pasar el mouse */
  opacity: 1;
  transform: scale(1.05);
}

/* Ajustes para móviles */
@media (max-width: 576px) {
  .trust-logo-wrapper {
    height: 80px; 
    padding: 0.5rem;
  }
  .trust-logo {
    max-height: 60px;
  }
}

/* =========================================
   Rediseño Sección Respaldado y Aceptamos - ACTUALIZADO
   Estilo Corporativo / Minimalista
   ========================================= */

.corporate-trust-section {
  background-color: #ffffff !important; /* Fondo blanco limpio */
  border-top: 2px solid #e9ecef;
  border-bottom: 2px solid #e9ecef;
}

.corporate-heading {
  color: #0d3b66 !important; /* Azul corporativo */
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.corporate-subheading {
  font-size: 0.9rem !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #0d3b66 !important; /* Azul corporativo en lugar de gris */
  margin-bottom: 2rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.corporate-subheading::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #0d3b66 0%, #00bfff 100%);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Contenedor de cada logo (tipo tarjeta sutil) */
.trust-logo-wrapper {
  background-color: #f8f9fa !important;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px !important; /* Altura fija para uniformidad */
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.trust-logo-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(13, 59, 102, 0.15);
  border-color: #00bfff !important; 
  background-color: #ffffff !important;
}

/* Estilo de las imágenes */
.trust-logo {
  max-width: 100%;
  max-height: 75px !important; /* Limita altura para que no desborde */
  width: auto;
  filter: grayscale(80%); /* Menos gris, más sutil */
  opacity: 0.85;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backface-visibility: hidden; /* Mejora renderizado */
}

.trust-logo-wrapper:hover .trust-logo {
  filter: grayscale(0%); /* Color al pasar el mouse */
  opacity: 1;
  transform: scale(1.08);
}

/* Specific adjustment for ESNA logo */
.trust-logo.trust-logo-large {
  max-height: 95px !important;
  transform: scale(1.15);
}

/* Ajustes para móviles */
@media (max-width: 576px) {
  .trust-logo-wrapper {
    height: 90px !important; 
    padding: 0.75rem;
  }
  .trust-logo {
    max-height: 65px !important;
  }
  .corporate-heading {
    font-size: 1.5rem !important;
  }
}
