
/* Logo más grande */
.logo-img {
  height: 60px; /* Ajusta este valor según prefieras */
  transition: transform 0.3s ease;
}

/* Navbar base */
.navbar {
  padding: 0.4rem 1rem;
  transition: background-color 0.4s ease, padding 0.4s ease;
}

/* Estilo al hacer scroll */
.navbar.scrolled {
  background-color: #004080 !important;
  padding: 0.5rem 1rem !important;
}

/* Color principal más fuerte */
.bg-primary {
  background-color: #0055b8 !important;
}

/* Espaciado entre links */
.navbar-nav .nav-link {
  margin-left: 0.6rem;
  padding: 0.4rem 0.6rem;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: #ffd54f;
  background-color: rgba(255,255,255,0.1);
  border-radius: 4px;
}

/* Dropdown blanco con texto e íconos azules */
.dropdown-menu {
  background-color: #fff !important;
  color: #0055b8;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
  margin-top: 0;
  opacity: 1;
  transform: translateY(0);
}
.dropdown-item {
  color: #0055b8 !important;
  transition: background-color 0.3s;
}
.dropdown-item:hover {
  background-color: rgba(0,85,184,0.1) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section img {
  object-fit: cover;
  height: 80vh; /* Ajusta altura a tu preferencia */
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.4); /* Capa semitransparente sobre la imagen */
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-section img {
  object-fit: cover;
  width: 100%;
  height: 80vh;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}
.hero-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 900px;
}
.hero-title .highlight {
  color: #0055b8;
}
.hero-subtitle {
  color: #ffffff;
  font-size: 1.25rem;
  margin-top: 0.5rem;
  max-width: 800px;
}
.hero-button {
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 1s;
}

/* Animaciones fadeInUp */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title, .hero-subtitle {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}
.hero-title { animation-delay: 0.3s; }
.hero-subtitle { animation-delay: 0.6s; }

/* ===== Ajustes para móviles ===== */
@media (max-width: 768px) {

  /* Reducir altura del hero para que no haga scroll excesivo */
  .hero-section img {
    height: 60vh;
  }

  /* Títulos más pequeños y con mejor lectura */
  .hero-title {
    font-size: 1.75rem;
    max-width: 95%;
  }
  .hero-subtitle {
    font-size: 1rem;
    max-width: 95%;
    margin-top: 0.75rem;
  }

  /* Botón más compacto */
  .hero-button {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  /* Navbar: disminuir padding y tamaño de logo */
  .navbar {
    padding: 0.3rem 0.8rem;
  }
  .logo-img {
    height: 50px;
  }

  /* Links del menú: espaciado más ajustado */
  .navbar-nav .nav-link {
    margin-left: 0.4rem;
    padding: 0.3rem 0.5rem;
  }
}


/* Mostrar dropdown al pasar el mouse (pantallas ≥992px) */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ===== Intro Section ===== */
.intro-section .container {
  flex-wrap: wrap;
}

.intro-logo {
  width: 80px;
  animation: fadeInLeft 1s ease forwards;
}

.intro-title {
  color: #0055b8;
  font-size: 1.5rem;
  font-weight: 700;
  animation: fadeInLeft 1s ease forwards 0.3s;
}

.intro-description {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  animation: fadeInLeft 1s ease forwards 0.6s;
}

/* Animación fadeInLeft */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Adaptación móvil */
@media (max-width: 768px) {
  .intro-section .container {
    flex-direction: column;
    text-align: center;
  }
  .intro-text {
    margin: 1rem 0 0;
  }
}

/* ===== Services Section ===== */
.services-section h2 {
  animation: fadeInUp 1s ease forwards;
}

.service-card {
  cursor: pointer;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card img {
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: scale(1.02);
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-overlay {
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

/* Animación fadeInUp compartida */
/* Si ya la tienes, no repitas; si no, inclúyela: */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.services-section h2,
.service-card {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.services-section h2 { animation-delay: 0.2s; }
.service-card:nth-child(1) { animation-delay: 0.4s; }
.service-card:nth-child(2) { animation-delay: 0.6s; }
.service-card:nth-child(3) { animation-delay: 0.8s; }
.service-card:nth-child(4) { animation-delay: 1s; }
.service-card:nth-child(5) { animation-delay: 1.2s; }
.service-card:nth-child(6) { animation-delay: 1.4s; }

/* Responsive tweaks */
@media (max-width: 768px) {
  .service-card {
    margin-bottom: 1.5rem;
  }
}
.service-name {
  font-size: 1rem;
  font-weight: 600;
  color: #0055b8;        /* Azul corporativo */
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Línea decorativa bajo el título */
.underline {
  width: 80px;
  height: 4px;
  background-color: #0055b8;
}

/* Nombre de servicio bajo la imagen */
.service-name {
  font-weight: 600;
  font-size: 1rem;
  color: #0055b8;
}

/* ===== Quality Section Parallax ===== */
.quality-section {
  /* Imagen de fondo con parallax */
  background: url('elementos/images/altacalidad.jpg') no-repeat center center fixed;
  background-size: cover;
  width: 100%;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.5s;
}

/* Keyframes fadeInUp (si no lo tienes ya) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Features Section ===== */
.features-section {
  background-color: #f8f9fa;
}
.features-section h2 {
  font-weight: 700;
}
.features-section p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Tarjetas de características */
.feature-card {
  background: #ffffff;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

/* Círculo del icono */
.icon-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  background: #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #0055b8;
  transition: background 0.3s, transform 0.3s, color 0.3s;
}

.feature-card:hover .icon-circle {
  background: #0055b8;
  color: #ffffff;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 576px) {
  .features-section .row > .col-6 {
    margin-bottom: 1.5rem;
  }
}

.footer-top .footer-image {
  background-size: cover;
  height: 50px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.footer-bg {
  object-fit: cover;
  height: 50px; /* Ajusta altura si es necesario */
}

/* Sección inferior azul */
.footer-bottom {
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.5s;
}

/* Contacto en footer */
.footer-contact li {
  margin-right: 1.5rem;
}
.footer-contact a {
  color: #ffffff;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* soporte.css */
/* soporte.css */

/* Espacio superior/inferior del main para no solaparse con header/footer */
.main-content {
  padding-top: 80px;  /* ajusta según altura de navbar */
  padding-bottom: 80px; /* ajusta según footer */
}

/* Línea decorativa bajo el título */
.divider {
  width: 120px;
  height: 4px;
  background-color: #0055b8;
}

/* Contenedor del texto descriptivo */
.service-desc {
  background-color: #ffffff;
}

/* Esquinas redondeadas y sombra ligera */
.service-desc,
img.rounded {
  border-radius: 0.5rem;
}

/* Asegura que la imagen no supere su contenedor */
img.rounded {
  max-width: 100%;
}

/* Tarjetas de servicios: animación y efecto hover */
#nuestros-servicios .servicio-item {
  transition: transform 0.3s ease;
}

#nuestros-servicios .servicio-item:hover {
  transform: translateY(-8px);
}

/* Espaciado interno para listas */
#nuestros-servicios .list-unstyled li {
  margin-bottom: 0.5rem;
}

/* Iconos en títulos de tarjeta */
#nuestros-servicios .card-title i {
  font-size: 1.2rem;
}

/* Sombra y fondo */
#nuestros-servicios .card {
  background-color: #fff;
}

 .valor-item {
  border-top: 4px solid #80bfff;    /* línea superior azul claro */
  background-color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.valor-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
 .valor-divider {
  width: 60%;
  height: 2px;
  background-color: #80bfff;       /* azul claro */
  margin: 0 auto;
  border: none;
}
.card-title {
  color: #022f6c;                   /* tono de texto más oscuro */
}
.card-text {
  color: #556272;
  font-size: 0.95rem;
}

/* soporte.css – estilos para Preguntas Frecuentes */
 .accordion-item {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

 .accordion-button {
  font-weight: 600;
  color: #0055b8;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

 .accordion-button:not(.collapsed) {
  background-color: #e6f0ff;
}

 .accordion-button::after {
  font-family: "bootstrap-icons";
  content: "\f068"; /* bi-dash-circle-fill */
  font-size: 1.2rem;
}

 .accordion-button.collapsed::after {
  content: "\f067"; /* bi-plus-circle-fill */
}

 .accordion-body {
  background-color: #f9fbff;
  color: #333333;
  padding: 1rem 1.5rem;
}

 .accordion-button,
 .accordion-body {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

 .accordion-button:hover {
  background-color: #f0f8ff;
}

/* estilos-nosotros.css */
.nosotros-hero {
  padding: 4rem 0;
  background: #f5f9ff;
  border-radius: 0.5rem;
}
.nosotros-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.divider {
  width: 60px;
  height: 4px;
  background-color: #007bff;
  margin-bottom: 1rem;
}
.section-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #333;
}
.policy-list {
  list-style: none;
  max-width: 600px;
  padding: 0;
}
.policy-list li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.valor-item {
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}
.valor-item:hover {
  transform: translateY(-5px);
}
.valor-item h5 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.valor-item p {
  font-size: 0.9rem;
  color: #555;
}
