/* Tipografía general */
body {
  font-family: 'Inter', sans-serif;
}

.propuesta-valor {
  font-family: 'Poppins', sans-serif;
}

/* Colores básicos */
.color {
  color: black;
}

.text-justificado {
  text-align: justify;
  word-spacing: -0.05em;
  letter-spacing: 0.025em;
}

/* Logo */
.cubologo {
  text-align: center;
  padding: 10px 0;
  background-color: black;
}

.logo {
  height: 80px;
  width: auto;
}

/* Navbar centrado */
.navbar .container {
  display: flex;
  justify-content: center;
}

.navbar-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Secciones con fondo tipo héroe */
.seccion-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 40px 15px;
  color: white;
}

.seccion-hero h1 {
  font-size: 2.5rem;
}

@media (max-width: 576px) {
  .seccion-hero h1 {
    font-size: 1.8rem;
  }
}

/* Fondos personalizados */
.bg-tecnologia {
  background: url('img/premium.jpg') no-repeat center center;
  background-size: cover;
}


.bg-papeleria {
  background: url('img/consumibles.jpg') no-repeat center center;
  background-size: cover;
}

.bg-electricidad {
  background: url('img/refrigeracion.jpg') no-repeat center center;
  background-size: cover;
}

.bg-electrodomesticos {
  background: url('img/electrodomesticos.jpg') no-repeat center center;
  background-size: cover;
}

.bg-audio {
  background: url('img/audio.jpg') no-repeat center center;
  background-size: cover;
}

.bg-publicidad {
  background: url('img/publicidad.jpg') no-repeat center center;
  background-size: cover;
}

.bg-consultoria {
  background: url('img/contable.jpg') no-repeat center center;
  background-size: cover;
}

.bg-psicologia {
  background: url('img/psicologia.jpg') no-repeat center center;
  background-size: cover;
}

/* Oscurece las imágenes de fondo para mejor legibilidad */
.seccion-hero::before,
.heroe5::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.seccion-hero .container,
.heroe5 .container {
  position: relative;
  z-index: 2;
}

/* Sección "Nuestros Valores" con fondo */
.heroe5 {
  position: relative;
  background-image: url('img/valores.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: white;
}

@media (max-width: 576px) {
  .heroe5 h1 {
    font-size: 1.8rem;
  }

  .card-text {
    font-size: 0.95rem;
  }
}

/* Tarjetas */
.card-title {
  color: #1d6fd2;
  font-weight: bold;
}

.card-text {
  font-size: 1rem;
}

/* Propuesta de valor y formulario */
.form-section,
.propuesta-valor {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  height: 100%;
}

/* Altura igual en escritorio */
@media (min-width: 768px) {
  .form-section,
  .propuesta-valor {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Footer */
footer {
  font-size: 0.95rem;
}

footer a:hover {
  text-decoration: underline;
}

.color1 {
  background-color: #e9f0fb;
  color: #000;
  border-radius: 8px;
  min-height: 100%;
}

/* Efecto al pasar el mouse sobre los títulos de secciones */
.seccion-hero h1 {
  transition: color 0.3s ease, transform 0.3s ease;
}

.seccion-hero h1:hover {
  color: #1d6fd2; /* Azul */
  transform: scale(1.05); /* Agranda ligeramente el texto */
  cursor: pointer;
}

/* Estilo para los títulos clicables */
.titulo-link {
  color: inherit; /* Mantiene el color blanco */
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.titulo-link:hover {
  color: #1d6fd2; /* Azul al pasar el mouse */
  transform: scale(1.05);
  cursor: pointer;
}

/* NUEVO CÓDIGO PARA MÓVILES - Misión y Visión */
@media (max-width: 768px) {
  .color1 {
    background-color: #f0f4f7;
    color: #333;
  }

  .color1 .p-3 {
    padding: 15px;
  }

  .color1 h4 {
    font-size: 1.5rem;
    text-align: center;
  }

  .color1 p {
    font-size: 0.95rem;
    text-align: justify;
  }

  .col-sm-12.col-md-4.mb-2 {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .col-sm-12.col-md-4.mb-2 img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  
  /* Ajuste en la columna de Misión y Visión */
  .col-sm-12.col-md-4.mb-2 {
    flex: 0 0 100%;
  }

  .col-sm-12.col-md-4.mb-2 h4 {
    font-size: 1.2rem;
    margin-top: 10px;
    text-align: center;
  }

  .col-sm-12.col-md-4.mb-2 p {
    font-size: 0.95rem;
    text-align: justify;
  }
}

/* Fin de nuevo CSS para móvil */
