 body {
      font-family: 'Segoe UI', sans-serif;
      scroll-behavior: smooth;
      background: #f8f9fa;
    }

    /* Header con overlay degradado desde mitad */
    header {
      position: relative;
      height: 70vh;
      color: white;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 2rem;
      overflow: hidden;
    }

    header::after {
      content: "";
      position: absolute;
      left: 0; bottom: 0; right: 0; top: 50%;
      background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
      pointer-events: none;
      z-index: 1;
    }

    header > .overlay > .container {
      position: relative;
      z-index: 2;
      max-width: 700px;
      text-align: center;
    }

    section {
      padding: 80px 0;
    }

    .bg-dark-blue {
      background-color: #001f3f;
      color: white;
    }

    .overlay {
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      position: relative;
      z-index: 2;
    }

    /* Navbar */
    .navbar {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 1rem 1rem;
  z-index: 9999;
}

    /* Menú más pegado a la izquierda */
    .navbar .container {
      max-width: 1140px;
      padding-left: 0.5rem !important;
      padding-right: 0.5rem !important;
    }

    /* Color y sombra al hacer scroll */
    .navbar.scrolled {
  background-color: rgba(0, 31, 63, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 0.6rem 1rem;
}

    /* Links sin azul, solo blanco con sombra */
    .navbar-nav .nav-link {
      color: white;
      transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
      position: relative;
      font-weight: 500;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
      color: #fff;
      transform: translateY(-3px);
      text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
    }

    /* Logo efecto */
    .navbar-brand {
      transition: transform 0.3s ease, color 0.3s ease;
      font-size: 1.75rem;
    }

    .navbar-brand:hover {
      transform: scale(1.1) rotate(-3deg);
      color: #0d6efd !important;
      text-shadow: 0 0 6px rgba(13, 110, 253, 0.7);
    }

    /* Servicios: íconos más grandes y espaciados */
    #servicios i.fa-solid {
      margin-bottom: 1rem;
      color: #0d6efd;
      transition: color 0.3s ease;
    }

    #servicios .col-md-4:hover i.fa-solid {
      color: #0056b3;
    }

    /* Casos de éxito: altura fija y foto con object-fit */
    #casos .card {
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    #casos .card-img-top {
      height: 220px;
      object-fit: cover;
    }

    #casos .card-body {
      flex-grow: 1;
    }

    /* Contacto: botón mejorado */
    #contacto button.btn-primary {
      background-color: #0d6efd;
      border: none;
      padding: 0.75rem 2rem;
      font-size: 1.1rem;
      font-weight: 600;
      border-radius: 50px;
      box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
      transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    }

    #contacto button.btn-primary:hover {
      background-color: #0056b3;
      box-shadow: 0 8px 25px rgba(0, 86, 179, 0.6);
      transform: translateY(-3px);
    }

    /* Redes sociales en contacto */
    #contacto .redes-sociales {
      margin-top: 1.5rem;
      text-align: center;
    }

    #contacto .redes-sociales a {
      color: white;
      margin: 0 0.8rem;
      font-size: 1.8rem;
      transition: color 0.3s ease;
      text-shadow: 0 0 4px rgba(0,0,0,0.3);
    }

    #contacto .redes-sociales a:hover {
      color: #0d6efd;
      text-shadow: 0 0 8px rgba(13, 110, 253, 0.9);
    }
.slogan-text {
  font-weight: 700;
  color: white;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.9),
    -2px -2px 4px rgba(0, 0, 0, 0.9); /* sombra doble */
  line-height: 1.3;
}

