body {
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
}

.navbar-dark .nav-link {
  color: #DFF6F0;
}

.navbar-dark .nav-link:hover {
  color: #ADE8F4;
}

.btn-primary {
  background-color: #0077B6;
  border: none;
}

.btn-primary:hover {
  background-color: #023E8A;
}


/* Colores navbar */
.custom-navbar {
  background-color:white;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Centrar y animar logo */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-animado {
  width: 200px;
  height: 200px;
  animation: girarLogo 6s infinite linear;
  transition: transform 0.3s ease-in-out;
}


/* Estilos de menú centrado */
.navbar-nav .nav-link {
  color: #002ce5;
  font-weight: 500;
  margin: 0 10px;
}

.navbar-nav .nav-link:hover {
  color: #001773;
}


.footer-custom {
  background-color: #14213D;
}

.footer-custom a {
  text-decoration: none;
  font-size: 1.25rem;
}

.footer-custom i:hover {
  color: #48CAE4;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  padding: 12px 15px;
  font-size: 1.5rem;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-section {
  background: #f8f9fa;
}

.hero-section h2 {
  font-size: 2rem;
  line-height: 1.4;
}

.hero-section p {
  font-size: 1rem;
  line-height: 1.6;
}


/* En tu archivo CSS, por ejemplo, style.css */
.bg-custom-red {
    background-color: #A03333; /* Un rojo oscuro, puedes cambiarlo */
}

.bg-custom-blue {
    background-color: #336699; /* Un azul oscuro, puedes cambiarlo */
}

/* Estilos para que los videos se ajusten al contenedor */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}
.embed-responsive.embed-responsive-16by9 {
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}
.embed-responsive-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-responsive {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%;
    height: 0;
}
.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Estilos generales */
body {
    font-family: 'Arial', sans-serif; /* Puedes usar la fuente que prefieras */
    color: #333;
}

/* Estilos para el encabezado principal */
.main-header {
     /* Color de fondo del encabezado */
    padding: 5rem 0; /* Espaciado interno */
}
.main-header h1 {
    font-size: 2.5rem; /* Tamaño de la fuente del título */
    color: #343a40; /* Color del texto del título */
}
.main-header .lead {
    font-size: 1.25rem; /* Tamaño de la fuente del subtítulo */
    color: #6c757d; /* Color del texto del subtítulo */
}

/* Estilos para la sección "Quiénes somos" */
.about-section {
    background-color: #e9ecef; /* Color de fondo para "Quiénes somos" */
    padding: 3rem 0;
}
.about-section h2 {
    color: #343a40;
    margin-bottom: 1rem;
}
.about-section p {
    color: #495057;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* Estilos para la sección de servicios */
.services-section {
    /* Color de fondo ligeramente rosado */
    padding: 4rem 0;
}

/* Estilos para las tarjetas de servicio */
.service-card {
    border-radius: 0.5rem; /* Bordes redondeados */
    border: none; /* Sin borde */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Transición suave al pasar el mouse */
    background-color: #2787F5; /* Fondo blanco para las tarjetas */
    height: 100%; /* Asegura que todas las tarjetas tengan la misma altura */
}

.service-card:hover {
    transform: translateY(-5px); /* Pequeño levantamiento al pasar el mouse */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; /* Sombra más pronunciada */
}

.service-card .card-img-top {
    max-width: 100px; /* Tamaño máximo de las imágenes */
    height: auto;
    display: block; /* Para centrar la imagen con margin: auto */
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem; /* Espaciado superior para la imagen */
    margin-bottom: 1rem; /* Espaciado inferior para la imagen */
}

.service-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem; /* Espaciado interno del cuerpo de la tarjeta */
}

.service-card .card-title {
    font-size: 1.25rem; /* Tamaño del título de la tarjeta */
    color: white; /* Color del título */
    margin-bottom: 0.75rem;
}

.service-card .card-text {
    font-size: 0.95rem; /* Tamaño del texto de la descripción */
    color: white; /* Color del texto */
    line-height: 1.6;
}

/* Asegúrate de que tu header.php incluya este CSS. Por ejemplo: */
/* <link href="assets/css/style.css" rel="stylesheet"> */


    .form-box {
      background-color: #e6f5ff;
      padding: 30px;
      border-radius: 10px;
      width: 100%;
      max-width: 500px;
    }

    .form-box input,
    .form-box textarea {
      width: 100%;
      padding: 12px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 16px;
    }

    .form-box button {
      background-color: #2196f3;
      color: white;
      border: none;
      padding: 14px 20px;
      width: 100%;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
    }

    .form-box button:hover {
      background-color: #0b7dda;
    }

    .image-box img {
      width: 400px;
      max-width: 100%;
      left: 50px;
    }

    /* Modal */
    .modal {
      display: none;
      position: fixed;
      z-index: 999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.6);
    }

    .modal-content {
      background-color: #fff;
      margin: 15% auto;
      padding: 20px;
      width: 80%;
      max-width: 400px;
      border-radius: 10px;
      text-align: center;
    }

    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover {
      color: #000;
    }


/* Modal completo */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Contenido del modal */
.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  position: relative;
}

/* Contenedor del video */
.video-container {
  position: relative;
  width: 98%;
  max-width: 100%;
  padding-bottom: 56.25%; /* Relación 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ajusta sin recortar */
}

/* Botón cerrar (X) */
.close {
  position: absolute;
  top: 0px;
  right: 0px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}



