html {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* previene cualquier desplazamiento horizontal */
}

body {
  margin: 0;
  position: relative;
  padding-top: 60px;
  font-family: "Montserrat", sans-serif;
}

/*NUEVAS CLASES*/
/*FUENTES*/
.ofs11 {
  font-size: clamp(100px, 11vw, 220px) !important;
}

.ofs4 {
  font-size: clamp(30px, 4vw, 60px) !important;
}

.ofs3 {
  font-size: clamp(20px, 3vw, 38px) !important;
}

.ofs1-5 {
  font-size: clamp(25px, 1.5vw, 28px) !important;
}
.ofs1-3 {
  font-size: clamp(17px, 1.5vw, 22px) !important;
}
.ofs1 {
  font-size: clamp(15px, 1vw, 17px) !important;
}

.ofs05 {
  font-size: clamp(10px, 1vw, 13px) !important;
}

/*TERMINA FUENTES*/
/*COLORES*/
.principal_color {
  background-color: #005550;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.primary_color {
  background-color: #005550 !important;
}
.secundary_color {
  background-color: #c4955f !important;
}
.gray_color {
  background-color: #f2f2f2;
}
.border_primary {
  border: 2px solid #005550 !important;
}

.text_primary_color {
  color: #005550;
}
.text_secondary_color {
  color: #c4955f;
}

/*TERMINA COLORES*/
/*FONDOS DE SECCIONES*/

.bg_dark {
  background-color: rgba(0, 0, 0, 0.2);
}
.bg_green {
  background-color: rgba(0, 85, 80, 1);
}

/*FONDOS DE SECCIONES*/
/*BOTONES*/
.btn_principal {
  background: #005550 !important;
  color: #fff !important;
}

/*TERMINA BOTONES*/
/*TERMINAN NUEVAS CLASES*/

/*PARA EL HOVER DE LOS SITIOS*/

/* Botón hamburguesa */
.navbar-toggler {
  width: 30px;
  height: 30px; /* cuadrado perfecto */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important; /* transparente */
  border: none !important;
  padding: 0;
  margin-right: 10px;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none !important;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #ffffff !important;
}

.toggler-line {
  position: absolute;
  width: 100%;
  height: 3px; /* grosor uniforme */
  background: #333333; /* color de las líneas */
  border-radius: 5px; /* bordes redondos */
  transition: all 0.4s ease;
  left: 0;
  box-sizing: border-box;
}

/* Posición inicial */
.toggler-line:nth-child(1) {
  top: 5px;
}
.toggler-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.toggler-line:nth-child(3) {
  bottom: 5px;
}

/* Animación X */
.navbar-toggler.active .toggler-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.navbar-toggler.active .toggler-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.active .toggler-line:nth-child(3) {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(-45deg);
}

/*TERMINA BOTON HAMBURGUESA*/
.navbar .nav-link.active {
  color: #fff !important; /* color del texto */
  background-color: #005550 !important; /* color de fondo */
  border-radius: 8px;
}

.hlight:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); /* Glow negro */
}

.web-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.web-card img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.web-card:hover img {
  transform: scale(1.05);
  filter: brightness(60%);
}

.web-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.25rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.web-card:hover .web-overlay {
  opacity: 1;
}
/*TERMINA HOVER*/

/*EL TIMELINE*/

.navbar-expand-md li a {
  padding-left: 30px;
}

.timeline {
  position: relative;
  margin-left: 30px;
  border-left: 4px solid #cb4443; /* azul Bootstrap */
  padding-left: 20px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 20px;
}

.timeline-marker {
  position: absolute;
  left: -12px;
  top: 0;
  width: 16px;
  height: 16px;
  background-color: #cb4443;
  border-radius: 50%;
  border: 3px solid white;
  z-index: 1;
}

.timeline-content h5 {
  margin-bottom: 5px;
}

.timeline-content p {
  margin: 0;
}
/* Contenedor padre para animaciones */
.hero {
  overflow: hidden; /* evita que los elementos animados empujen el layout */
  position: relative; /* necesario para que transform funcione correctamente */
}

/* Animación desde la izquierda */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px); /* empieza desplazado a la izquierda */
  transition: all 0.8s ease-out;
}

/* Animación desde la derecha */
.fade-in-right {
  opacity: 0;
  transform: translateX(50px); /* empieza desplazado a la derecha */
  transition: all 0.8s ease-out;
}

/* Cuando el elemento entra en la pantalla */
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0); /* vuelve a su posición original */
}

/*TERMINA TIMELINE*/

.dropdown-item:focus {
  background-color: #b3b3b3 !important;
}

.main-text-color {
  color: #008d36 !important;
}

.secondary-bg-color {
  background-color: #008d36 !important;
}

.pb-10 {
  padding-bottom: 6rem !important;
}

.pt-10 {
  padding-top: 6rem !important;
}

.w-5 {
  width: 5% !important;
}

.w-i100px {
  width: 100px;
  margin-top: -10px;
}
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("../images/welcome_image.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8); /* Glow negro */
}
.p2_section_1 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("../images/p2_section_1/p2_section_1.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  text-align: center;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8); /* Glow negro */
}
.p3_section_1 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("../images/p3_section_1/bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8); /* Glow negro */
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: rgba(255, 255, 255, 0.4); Oscurece el fondo para mejor contraste */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.navbar-toggler {
  color: white;
  border-color: white;
  background-color: white;
}

.tittle_text_m {
  width: 100%;
  float: left;
  font-size: 100px;
  text-transform: uppercase;
  text-align: center;
}

.tittle_text {
  width: 100%;
  float: left;
  font-size: 100px;
  color: #090808;
  text-transform: uppercase;
  text-align: center;
}

.paragraph_text_m {
  width: 100%;
  float: left;
  font-size: 30px;
  text-align: center;
}

.paragraph_text_m_left {
  width: 100%;
  float: left;
  font-size: 30px;
  text-align: left;
}

.paragraph_text {
  width: 100%;
  float: left;
  font-size: 30px;
  color: #090808;
  text-align: center;
}

.tittle_text_secondary {
  width: 100%;
  float: left;
  font-size: 50px;
  color: #090808;
  text-transform: uppercase;
  text-align: center;
}

.paragraph_text_secondary {
  width: 100%;
  float: left;
  font-size: 25px;
  color: #090808;
  text-align: center;
}

.paragraph_text_secondary_2 {
  width: 100%;
  float: left;
  font-size: 18px;
  color: #090808;
  text-align: center;
}

.paragraph_text_secondary_3 {
  width: 100%;
  float: left;
  font-size: 18px;
  color: #090808;
}

.navbar-light {
  position: fixed;
  z-index: 9999;
  width: 100%;
  /*border-bottom: 1px solid #fff;*/
  -webkit-transition: background 1.5s ease-in-out, padding 1.5s ease-in-out, color 1.5s ease-in-out,
    font-color 1.5s ease-in-out, font-size 1.5s ease-in-out;
  -moz-transition: background 1.5s ease-in-out, padding 1.5s ease-in-out, color 1.5s ease-in-out,
    font-color 1.5s ease-in-out, font-size 1.5s ease-in-out;
  transition: background 1.5s ease-in-out;
}

.navbar-light a {
  color: #333333 !important;
  -webkit-transition: color 1.5s ease-in-out;
  -moz-transition: background 1.5s ease-in-out;
  transition: background 1.5s ease-in-out;
}

.navbar-light .dropdown-menu a {
  color: #333333 !important;
  -webkit-transition: color 1.5s ease-in-out;
  -moz-transition: background 1.5s ease-in-out;
  transition: background 1.5s ease-in-out;
}

.navbar-light img {
  width: 190px;
  -webkit-transition: height 3s ease-in-out, padding 3s ease-in-out, width 3s ease-in-out, padding 3s ease-in-out;
  -moz-transition: height 3s ease-in-out, padding 3s ease-in-out, width 3s ease-in-out, padding 3s ease-in-out;
  transition: height 3s ease-in-out, padding 3s ease-in-out, width 3s ease-in-out, padding 3s ease-in-out;
}

.navbar-light .navbar-brand img {
  width: 190px;
  -webkit-transition: height 3s ease-in-out, padding 3s ease-in-out, width 3s ease-in-out, padding 3s ease-in-out;
  -moz-transition: height 3s ease-in-out, padding 3s ease-in-out, width 3s ease-in-out, padding 3s ease-in-out;
  transition: height 3s ease-in-out, padding 3s ease-in-out, width 3s ease-in-out, padding 3s ease-in-out;
}

.navbar-top-fade {
  background-color: rgba(255, 255, 255, 1) !important ;
  -webkit-transition: background 1.5s ease-in-out, padding 1.5s ease-in-out, color 3s ease-in-out,
    font-color 1.5s ease-in-out, font-size 1.5s ease-in-out;
  -moz-transition: background 1.5s ease-in-out, padding 1.5s ease-in-out, color 1.5s ease-in-out,
    font-color 1.5s ease-in-out, font-size 1.5s ease-in-out;
  transition: background 1.5s ease-in-out, padding 1.5s ease-in-out, color 3s ease-in-out, font-color 1.5s ease-in-out,
    font-size 1.5s ease-in-out;
}

.navbar-top-fade a {
  color: #081a24 !important;
}

.navbar-top-fade img {
  width: 190px;
  -webkit-transition: height 3s ease-in-out, padding 3s ease-in-out, width 3s ease-in-out, padding 3s ease-in-out;
  -moz-transition: height 3s ease-in-out, padding 3s ease-in-out, width 3s ease-in-out, padding 3s ease-in-out;
  transition: height 3s ease-in-out, padding 3s ease-in-out, width 3s ease-in-out, padding 3s ease-in-out;
}

.navbar-top-fade .navbar-brand img {
  width: 190px;
  -webkit-transition: height 3s ease-in-out, padding 3s ease-in-out, width 3s ease-in-out, padding 3s ease-in-out;
  -moz-transition: height 3s ease-in-out, padding 3s ease-in-out, width 3s ease-in-out, padding 3s ease-in-out;
  transition: height 3s ease-in-out, padding 3s ease-in-out, width 3s ease-in-out, padding 3s ease-in-out;
}

@media (max-width: 768px) {
  .navbar-collapse {
    background-color: #ffffff;
  }

  .navbar-collapse.show {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 12px 12px; /* opcional, bordes redondeados abajo */
    z-index: 9999; /* por si se esconde detrás */
  }

  .navbar-top-fade {
    color: #ffffff;
  }

  .vh-100 {
    height: auto !important;
  }
}
@media (max-width: 992px) {
  /*NUEVOS*/
}

@media (max-width: 576px) {
}

footer {
  margin-top: auto; /* Empuja el footer al final */
}
