* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    color: #2b2d42;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #0d1b2a;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo img {
    height: 50px;
    width: auto;
}

.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar a {
    color: #e0e1dd;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.navbar a:hover {
    color: #00b4d8;
}

.btn-nav {
    background-color: #00b4d8;
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
}

/* Hero / Principal con fondo de banner gráfico */
.hero {
    /* Fondo con banner gráfico y superposición degradada para legibilidad del texto */
    background-image: linear-gradient(to bottom, rgba(13, 27, 42, 0.3), rgba(13, 27, 42, 0.7)), url('BannerKuali.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 10rem 1.5rem 5rem 1.5rem; /* Más acolchado superior para centrar texto sobre el banner */
    text-align: center;
    min-height: 80vh; /* Asegura un buen tamaño en escritorio */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 750px;
}

.badge {
    background-color: rgba(0, 180, 216, 0.2);
    color: #00b4d8;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content .intro-text {
    margin: 1.5rem auto 2.5rem auto;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #00b4d8;
    color: #fff;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #0077b6;
}

.btn-secondary {
    border: 2px solid #e0e1dd; /* Color claro para visibilidad sobre el banner */
    color: #e0e1dd;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #0d1b2a;
    color: #fff;
    border-color: #0d1b2a;
}

/* Secciones Generales */
.section {
    padding: 4.5rem 0;
}

.section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #0d1b2a;
}

.section-desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: #6c757d;
}

.bg-light {
    background-color: #f0f4f8;
}

/* Quiénes Somos */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #0d1b2a;
}

.about-card.highlight {
    border-top-color: #00b4d8;
}

.about-card h3 {
    margin-bottom: 1rem;
    color: #0d1b2a;
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 0.8rem;
    color: #0d1b2a;
}
/* Por qué elegirnos */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    border-left: 4px solid #00b4d8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.benefit-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00b4d8;
    display: block;
    margin-bottom: 0.5rem;
}

.benefit-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #0d1b2a;
}

/* Formulario */
.contact-form {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-form input, 
.contact-form textarea {
    padding: 0.9rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: #00b4d8;
}

/* Footer */
footer {
    background-color: #0d1b2a;
    color: #8d99ae;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}
/* Animación de aparición */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.btn-float-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-decoration: none;
    z-index: 999;
    transition: transform 0.3s ease;
}

.btn-float-whatsapp:hover {
    transform: scale(1.1);
}
.stats-bar {
    background-color: #00b4d8;
    color: #ffffff;
    padding: 1.8rem 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}
/* --- Banner de Video de Fondo --- */
.video-banner {
    position: relative;
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.video-overlay {
    position: relative;
    z-index: 2;
    background: rgba(13, 27, 42, 0.78); /* Capa azul oscuro para legibilidad */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.video-overlay h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-weight: 700;
}

.video-overlay p {
    font-size: 1.1rem;
    max-width: 700px;
    color: #00b4d8;
    font-weight: 500;
}
/* --- Contenedor e Ilustraciones de Servicios --- */
.service-img-wrapper {
    width: 100%;
    height: 190px;
    background: #f4f7f9;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    padding: 0.6rem;
    border: 1px solid rgba(0, 180, 216, 0.2);
    transition: all 0.3s ease;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mantiene la proporción sin recortar el arte */
    border-radius: 8px;
    transition: transform 0.4s ease;
}

/* Efectos al interactuar (Hover) */
.card:hover .service-img-wrapper {
    border-color: #00b4d8;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.25);
}

.card:hover .service-img {
    transform: scale(1.06);
}
/* --- Sección Socios Comerciales --- */
.partners-section {
  padding: 50px 20px;
  text-align: center;
  background-color: #f9f9f9; /* Cambia el color de fondo si lo deseas */
  overflow: hidden;
}

.partners-title {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 30px;
  font-weight: 700;
}

/* Contenedor del Carrusel */
.carousel-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* Pista de animación infinita */
.carousel-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollCarousel 20s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused; /* Se pausa cuando el usuario pasa el mouse */
}

/* Tarjeta individual de marca */
.partner-card {
  width: 160px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
}

.partner-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(80%); /* Efecto elegante en escala de grises */
  opacity: 0.8;
  transition: all 0.3s ease;
}

.partner-card:hover img {
  filter: grayscale(0%); /* Muestra los colores originales al pasar el cursor */
  opacity: 1;
}

/* Animación de desplazamiento */
@keyframes scrollCarousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
