* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
  }
  
  header {
    background-color: #3498db;
    color: white;
    text-align: center;
  }

  .logo h1 {
    color: white;           /* Color blanco */
    font-weight: bold;      /* Negrita */
    font-size: 35px;        /* Tamaño reducido (ajústalo si quieres más pequeño) */
    margin: 0;              /* Elimina márgenes por defecto */
  }
  .logo {
    text-decoration: none; /* Quita subrayado */
    outline: none;         /* Quita contorno azul en algunos navegadores */
  }

  /* Opcional: eliminar efecto al enfocar el enlace */
  .logo:focus,
  .logo:active,
  .logo:hover {
    text-decoration: none;
    outline: none;
  }
  
  .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: white;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
  }
  

  .cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
  }
  
  .card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 250px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
  }
  
  input, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  button {
    padding: 10px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  footer {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: white;
  }
  

  /* Encabezado con navegación */
/* Estilo base del navbar */
/* Estilo base de navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
    color: white;
  }
  
  .navbar.scrolled {
    background-color: rgb(0 0 0);
    padding: 15px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  
  .logo {
    font-size: 1.8em;
    font-weight: bold;
  }
  
  /* Desktop nav links */
  .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
  }
  
  .nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .nav-links li a:hover {
    color: #ecf0f1;
  }
  
  .hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
  }
  
  /* Responsive nav */
  @media (max-width: 768px) {
    .hamburger {
      display: block;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      right: 0;
      background-color: rgba(0, 0, 0, 0.9);
      width: 200px;
      padding: 10px 0;
      border-radius: 0 0 0 8px;
      z-index: 1000;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .nav-links li {
      width: 100%;
    }
  
    .nav-links li a {
      display: block;
      width: 100%;
      padding: 10px 20px;
      text-align: left;
    }
  }
  

  body.sistema .navbar {
  background-color: rgba(0, 0, 0, 0.9);
}

  /* Hero text debajo del nav */
  .hero-text {
    text-align: center;
    /* padding: 60px 20px; */
  }
    /*seccion de la foto */

    .hero-section {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 80px 20px 0;
        /* height: 100vh; */
        overflow: hidden;
        color: white;
        text-align: center;
        flex-direction: column;
        
      }
      .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: -1;
      }
      
    
      
      .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -2;
      }
      
      .hero-content {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 40px;
        z-index: 1;
        max-width: 1200px;
        margin: auto;
        flex: 1;
      }
      
      .hero-text {
        flex: 1;
        min-width: 280px;
      }
      
      .hero-text h1{
        font-size: 4rem;
        margin-bottom: 20px;
          font-weight: bold;
      }
      
      .hero-text p {
        font-size: 1.2rem;
      }
      
      .hero-image {
        flex: 1;
        min-width: 280px;
      }
      
      .hero-image img {
        max-width: 100%;
      }



/*******************************************************/

  
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid #f9c349;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
}


.servicio-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 60px;
  flex-wrap: wrap;
}

.servicio-desarrollo {
  flex: 1;
  font-style: italic;
  
}

.servicio-desarrollo h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.servicio-desarrollo p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.servicio-desarrollo ul {
  list-style: none;
  padding: 0;
}

.servicio-desarrollo li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.servicio-desarrollo i {
  color: var(--accent-color);
  margin-right: 10px;
}

.imagen-desarrollo {
  flex: 1;
  max-width: 600px;
    text-align: left;
}


@media (max-width: 768px) {
  .servicio-wrapper {
    flex-direction: column;
  }

  .imagen-desarrollo {
    max-width: 100%;
  }
}


/******************************************************************************************/
/* Contenedor absoluto para posicionar burbuja e ícono */
.whatsapp-container {
  position: fixed;
  bottom: 70px;
  right: 10px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none; /* elimina subrayado */
}


.whatsapp-bubble {
  background-color: white;
  color: #333;
  padding: 8px 12px;
  border-radius: 15px;
  font-size: 15px;
  position: relative;
  white-space: nowrap;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

/* Triángulo */
.whatsapp-bubble::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent white;
}
.whatsapp-float {
  width: 50px;
  height: 50px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.whatsapp-container:hover {
  filter: brightness(90%);
  cursor: pointer;
}



#servicios .section-title{
  padding: 40px 
}

#nosotros{
   padding: 40px 80px;
}

/*contacto*/
#nosotros .imagen-desarrollo img{
    width: 100%;
  height: auto;
  border-radius: 15px; 
  border: 4px solid #ffc451; 
  object-fit: cover;
  text-align: left;
}

/* Sección de contacto */

/* Estilos específicos para #contacto para evitar conflictos globales */

#contacto {
  padding: 60px 0;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
}

/* Título */
#contacto .section-title h2 {
  font-size: 14px;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid #f9c349;
  display: inline-block;
}

#contacto .section-title p {
  font-size: 32px;
  font-weight: bold;
  color: #000;
  margin: 0;
}

/* Información de contacto */
#contacto .info-item {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}


#contacto .info-item i {
  font-size: 20px;
  color: #f9c349;
}
#contacto .info-item p {
  font-size: 14px; /* o menos, por ejemplo 12px */
}

#contacto .info-item h3 {
  font-size: 20px;
  font-weight: bold; /* o el tamaño que desees, por ejemplo 14px */
}


/* Formulario */
#contacto .php-email-form {
  max-width: 800px; /* Aumenta este valor */
  margin: 0 auto;
}

#contacto .php-email-form .form-control {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #ccc;
  padding: 12px 15px;
  font-size: 14px;

}

#contacto .php-email-form textarea.form-control {
  resize: none;
}

#contacto .php-email-form button[type="submit"] {
  background: #f9c349;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  color: #000;
  font-weight: 600;
  margin-top: 10px;
  transition: background 0.3s ease;
}

#contacto .php-email-form button[type="submit"]:hover {
  background: #e0a800;
  color: #fff;
}

/* Mensajes */
#contacto .php-email-form .loading,
#contacto .php-email-form .error-message,
#contacto .php-email-form .sent-message {
  display: none;
  text-align: center;
  font-size: 14px;
  padding: 10px;
  margin-top: 10px;
}

#contacto .php-email-form .error-message {
  color: red;
}

#contacto .php-email-form .sent-message {
  color: green;
}


/* === Móviles pequeños (320px – iPhone SE) === */
@media (max-width: 360px) {


  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .navbar {
    padding: 10px 20px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  #nosotros {
    padding: 20px;
  }

  .servicio-wrapper {
    padding: 20px;
  }
}

/* === Móviles medianos (425px – Galaxy S20, iPhone 12) === */
@media (max-width: 425px) {
  .hero-text h1 {
    font-size: 2.6rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .card {
    width: 100%;
  }

  .nav-links li a {
    font-size: 14px;
  }
}

/* === Tablets (max-width 768px) ya está cubierto por ti, solo mejora un poco más si quieres: */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    gap: 20px;
  }

  .hero-text, .hero-image {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    font-weight: bold;
  }

  #servicios .section-title{
    padding-left: 10px;
    padding-right: 10px;
  }

  #servicios .section-title .p{
    font-size: 25px;
  }

  #nosotros {
    padding-left: 1px;
    padding-right: 1px;
  }

  .section-title {
    padding-bottom: 20px;
  }

}

/* === Laptops pequeñas (max-width 1024px) === */
@media (max-width: 1024px) {
  .navbar {
    padding: 15px 30px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .section-title p {
    font-size: 24px;
  }

  #contacto .section-title p {
    font-size: 24px;
  }

  .php-email-form {
    padding: 0 20px;
  }
}



.service-item {
  width: 100%;
  aspect-ratio: 1 / 1; /* Mantiene la forma cuadrada */
  background-color: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service-item .icon {
  font-size: 40px;
  color: #000000; /* Color azul Bootstrap */
  margin-bottom: 15px;
  background: #ffc451;
  margin: 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.service-item h3 {
  font-size: 20px;
  font-weight: bold;

  color: #000000;
}

.service-item p {
  font-size: 14px;
  color: #555;
}

.service-item a {
  text-decoration: none;   /* Quita la línea/subrayado */
  color: inherit;          /* Usa el color del h3 definido, no el azul de los enlaces */
}


#frase {
  position: relative;
  background-image: url('assets/img/sistema11.jpg');
  background-size: cover;          /* La imagen cubre todo el contenedor */
  background-position: center;     /* Centrada */
  background-attachment: fixed;    /* Efecto parallax */
  background-repeat: no-repeat;
  width: 100%;
  padding: 100px 0;                /* Espaciado para que se vea bien */
  color: white;                    /* Color de texto blanco para contraste */
  z-index: 1;
}

#frase .container {
  position: relative;
  z-index: 2;                      /* Asegura que el contenido esté por encima del fondo */
}

#frase::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0, 0.6); /* Oscurece un poco la imagen para mejor legibilidad del texto */
  z-index: 1;
}

#frase h3 {
  font-weight: 700; /* Negrita */
  font-size: 1.8rem; /* Ajustable según diseño */
}

#frase p {
  font-size: 1.2rem;
  line-height: 1.6;
}


.loading, .error-message, .sent-message {
  display: none;
}




body.sistema main {
  padding-top: 100px; /* o lo que mida tu navbar */
}

body.sistema main h1{
  font-weight: bold;  /* Negrita */
  color: black;       /* Color negro */ /* o lo que mida tu navbar */
}

body.sistema main h3{
  padding-top: 20px;
  font-weight: bold;  /* Negrita */
  color: black;       /* Color negro */ /* o lo que mida tu navbar */
}

body.sistema main h4{
  font-weight: bold;  /* Negrita */
  color: black;       /* Color negro */ /* o lo que mida tu navbar */
}

body.sistema main ul{
 list-style: none; /* Elimina los puntos */
  padding-left: 0;  /* Elimina el espacio izquierdo extra */       /* Color negro */ /* o lo que mida tu navbar */
}

body.sistema main ul li i.bi-check-circle{
color: #ffc451; /* Cambia el color del ícono a amarillo */
  margin-right: 5px; /* Espacio entre el ícono y el texto (opcional) */
}

/* Estilo para la sección de breadcrumbs */
.breadcrumbs {
  background-color: #e9ecef; /* Fondo oscurito */
  padding: 10px 0;
  width: 100%;
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 5px;
  color: white;
  font-size: 0.95rem;
}

.breadcrumbs li {
  display: inline;
}

.breadcrumbs li a {
  text-decoration: none; /* Quita la raya azul */
  color: #FFD700; /* Amarillo */
  transition: color 0.3s ease;
}

.breadcrumbs li a:hover {
  color: #f1c40f; /* Amarillo más claro al pasar el mouse */
}

.breadcrumbs li.current {
  color: #000000; /* Color del texto actual */
}

/* Separador entre elementos */
.breadcrumbs li::after {
  content: "/";
  margin: 0 8px;
  color: #888;
}

.breadcrumbs li:last-child::after {
  content: ""; /* Quita el / final */
}

.page-title .heading {
  padding: 80px 0; /* Puedes ajustar este valor a tu gusto */
}

/* Más padding arriba y abajo para los breadcrumbs */
.breadcrumbs {
  padding: 20px 0; /* Puedes ajustar también */
}

#sistema-detalle {
  padding-top: 60px; /* Puedes cambiar el valor a lo que necesites */
}



/* Estilos para la sección de medios */
.media-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem; /* Espacio entre cada imagen-texto */
}

.media-image {
  width: 350px !important;
  height: 250px !important;
  object-fit: cover;

  box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.4);

}

.media-text {
  margin-left: 1rem;
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  #sistema-detalle {
    padding-top: 30px;
  }

  .media-item {
    /* Cambiamos a columna para que imagen y texto queden uno arriba del otro */
    flex-direction: column;
    align-items: flex-start;
  }

  .media-image {
    width: 100% !important; /* Que ocupe todo el ancho del contenedor */
    height: auto !important; /* Altura automática para mantener proporción */
    box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
  }

  .media-text {
    margin-left: 0;
  }
}
