body {
  font-family: 'Roboto', sans-serif;
}

/* Navbar */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar .logo {
  width: 140px;
  height: 50px;
}

.navbar .nav-link {
  color: #575c65;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: rgb(219, 154, 80);
}

.navbar-brand {
  font-weight: 700;
  color: rgb(37, 63, 117) !important;
}

.navbar .free-trial {
  margin-left: 20px;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)),
              url('/assets/hero.mp4') center/cover no-repeat;
}

/* Video de fondo */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Hace que el video se recorte como background cover */
  z-index: -2;
}

.hero-content h1 {
  color: #000;
}

.hero-content p {
  color: #575c65;
}

.meet_us {
  padding: 50px 0px;
}

/* Footer */
footer {
  background-color: rgb(37, 63, 117);
}

footer p {
  margin: 0px;
}

/* Animaciones */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease-in-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

.button-primary {
  background-color: rgb(219, 154, 80);
  color: rgb(255, 255, 255);
  border: 0px;
}

.button-primary:hover {
  background-color: rgb(37, 63, 117);
  color: rgb(255, 255, 255);
  border: 0px;
}

.section-title {
  color: #000;
}

.card {
  border-radius: 40px 40px 0px 40px;
  background-color: rgb(37, 63, 117);
  border: 0px;
}

.card .card-body {
  padding: 50px 0px;
}

.card .card-body h5 {
  color: #fff;
  font-weight: 600;
}

.card .card-body p {
  color: #e6e6e6;
  font-weight: 100;
  font-size: 14px;
  padding: 0px 20px;
}

.card .image-card {
  position: relative;
  height: auto;
  overflow: hidden;
  border-radius: 40px 40px 0px 0px;
}

.card .image-card img{
  width: 100%;
  position: relative;
  border-radius: 40px 40px 0px 0px;
}

.card .image-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(37, 63, 117, 1));
  border-radius: 30px 30px 0 0; 
  pointer-events: none; /* para que no bloquee clics */
}

.features i {
  color: rgb(219, 154, 80) !important;
  padding-bottom: 20px;
}

section {
  scroll-margin-top: 50px; /* ajusta según la altura de tu navbar */
}

.circle {
  border: 1px solid #e9e9e9;
  border-radius: 20px;
  margin-bottom: 20px;
  padding: 20px 0px 10px 0px;
}

/*
.hex-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}
*/

.img-overlay {
  position: absolute;
  top: 15%;             /* ahora sí será el 50% del .hex-container */
  width: 35%;           /* ajusta según quieras el tamaño de la imagen */
  height: auto;
  margin: 0 !important;
  z-index: 10;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.hex-container {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  position: relative;
}

.hex {
  width: 300px;
  height: 320px;
  margin: 0px -80px; /* se superponen un poco */
  clip-path: polygon(
    50% 0%,   /* arriba */
    100% 25%, /* esquina sup derecha */
    100% 75%, /* esquina inf derecha */
    50% 100%, /* abajo */
    0% 75%,   /* esquina inf izquierda */
    0% 25%    /* esquina sup izquierda */
  );
  
  animation: spin 8s linear infinite;
  /* opcional para que el giro se vea bonito */
  transform-origin: center;
}

/* Colores */
.hex-gray   { background: #6d7879; animation-duration: 10s; opacity: 0.8;}
.hex-orange { background: #e4953c; animation-duration: 10s; opacity: 0.8;}
.hex-blue   { background: #253f75; animation-duration: 10s; opacity: 0.8;}

/* Animación */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (max-width: 992px) {
  .hex {
    width: 220px;
    height: 240px;
    margin: 0px -50px;
  }
  .img-overlay {
    width: 50%;
    top: 25%;
  }
}

/* Móviles (pantallas pequeñas) */
@media (max-width: 576px) {
  .hex {
    width: 150px;
    height: 170px;
    margin: 0px -30px;
  }
  .img-overlay {
    width: 60%;
    top: 25%;
  }
}