@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;500;600;700;800&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(1, 1, 1, 0.7);
  padding: 0px 10%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 1000;
}
.logo {
  font-size: 25px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
}
.navigation ul {
  list-style: none;
}
.header .navigation ul li {
  float: left;
  position: relative;
}
.header .navigation ul li a {
  font-size: 18px;
  color: #ffffff;
  text-decoration: none;
  padding: 20px;
  display: block;
  transition: all 0.2s ease;
}
.header .navigation ul li a:hover {
  background-color: #fe615c;
}
.header .navigation ul li ul {
  position: absolute;
  right: 0;
  width: 300px;
  background-color: rgba(1, 1, 1, 0.7);
  display: none;
}

.header .navigation ul li ul li a {
  font-size: 15px;
  text-transform: capitalize;
}
.header .navigation ul li ul li ul {
  position: absolute;
  top: 0;
  right: 300px;
}
.header .navigation ul li ul li {
  width: 100%;
}
.header .navigation ul li:hover > ul {
  display: initial;
}
#toggle,
.header label {
  display: none;
  cursor: pointer;
}
.menu {
  width: 45px;
  height: 35px;
}
@media (max-width: 950px) {
  .header label {
    display: initial;
  }
  .header {
    padding: 20px 10%;
  }
  .header .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(1, 1, 1, 0.7);
    display: none;
  }
  .header .navigation ul li {
    width: 100%;
  }
  .header .navigation ul li a {
    padding: 8px 30px 8px 10%;
  }
  .header .navigation ul li ul {
    position: relative;
    width: 100%;
    left: 0;
  }
  .header .navigation ul li ul li {
    background-color: rgba(197, 193, 193, 0.7);
  }
  .header .navigation ul li ul li ul {
    position: relative;
    width: 100%;
    left: 0;
  }
  #toggle:checked ~ .navigation {
    display: block;
  }
}

.hero {
  min-height: 100vh;
  background-image: url("images/fondocbtisclaro.jpeg");
  background-position: center center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que se repita */
  background-size: cover; /* Cubre todo el espacio manteniendo proporciones */
  background-attachment: fixed; /* Opcional: fija la imagen al hacer scroll */
  position: relative; /* Para posibles elementos hijos posicionados */
}

/* Si la imagen tiene demasiado zoom, puedes usar contain en lugar de cover */
/* .hero {
  background-size: contain;
} */

/* Si necesitas un fondo de respaldo por si la imagen no carga */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.3
  ); /* Overlay oscuro para mejor legibilidad */
  z-index: 0;
}

/* Asegúrate que el contenido del hero esté sobre el overlay */
.hero h1,
.hero h2,
.hero p,
.hero .activity-buttons {
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Mejor contraste para texto */
}
