/* Importar fuentes desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;700&display=swap');

/* Reset de márgenes y paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estilos generales */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #001125;
  color: #F2F2F2;
}


/* Navbar */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background-color: #00214A;
  border-bottom: 1px solid rgba(142, 253, 254, 0.1);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  margin: 0 auto;
}

.logo img {
  max-height: 60px;
  width: auto;
  transition: all 0.3s ease;
  filter: none;
}


/* Menú de navegación */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin-right: 20px;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  text-decoration: none;
  color: #F2F2F2;
  font-weight: bold;
  padding: 10px 20px;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 20px;
}

.nav-menu li a:hover {
  color: #8EFDFE;
  background: linear-gradient(
    to right,
    rgba(142, 253, 254, 0.1),
    transparent
  );
  box-shadow: -5px 0 15px rgba(142, 253, 254, 0.1);
}

/* Menú desplegable */
.dropdown-menu {
  display: none;
  position: absolute;
  background: #00214A;
  top: 100%;
  left: 0;
  width: 250px;
  list-style: none;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(142, 253, 254, 0.1);
}

.dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu li {
  padding: 5px;
}

.dropdown-menu li a {
  display: block;
  color: white;
  border-radius: 15px;
  padding: 12px 20px;
}

.dropdown-menu li a:hover {
  background: linear-gradient(
    to right,
    rgba(142, 253, 254, 0.1),
    rgba(142, 253, 254, 0.05)
  );
}

/* Menú móvil */
.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
}

/* Secciones */
.company-section {
  padding: 120px 30px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

/* Fondos alternados */
.bg-white {
  background-color: #e2e6ea !important;
  color: #001125;
}

.bg-light {
  background-color: #cbd3d9 !important;
  color: #001125;
}


.section-content {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 50px;
  border-radius: 15px;
  background: #00214A;
  box-shadow: 0 20px 40px rgba(0, 33, 74, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.section-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #8EFDFE;
}

.section-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 33, 74, 0.15);
}

/* Títulos */
.company-section h1 {
  font-size: 2.8rem;
  color: #8EFDFE;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
  font-weight: 700;
}

.company-section h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: #8EFDFE;
  opacity: 0.5;
}

.company-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Sección de valores */
#valores .section-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 50px;
  max-width: 1000px;
  width: 100%;
}

#valores p {
  background: rgba(142, 253, 254, 0.05);
  padding: 25px;
  border-radius: 10px;
  margin: 0;
  transition: all 0.3s ease;
  width: 100%;
  border-left: 4px solid #8EFDFE;
}

#valores p:hover {
  background: rgba(142, 253, 254, 0.1);
  transform: translateX(10px);
}

#valores strong {
  color: #8EFDFE;
  display: block;
  margin-bottom: 10px;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

/* Footer */
footer {
  background: #00214A;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

footer h2 {
  color: #8EFDFE;
  margin-bottom: 30px;
  font-size: 2rem;
}

footer p {
  margin: 10px 0;
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.3s;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #00214A;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
  }

  .menu-toggle:checked ~ .nav-menu {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    background: rgba(0, 33, 74, 0.95);
    box-shadow: none;
    border: none;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
  }

  .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown > a::after {
    content: '▼';
    font-size: 12px;
    margin-left: 5px;
  }

  .dropdown.active > a::after {
    content: '▲';
  }

  .dropdown-menu li {
    padding: 0;
  }

  .dropdown-menu li a {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .section-content {
    padding: 35px;
    max-width: 90%;
    width: 90%;
  }

  .company-section h1 {
    font-size: 2.2rem;
  }

  #valores .section-content {
    padding: 35px;
  }

  #valores p {
    padding: 20px;
  }

  .company-section {
    padding: 100px 20px 60px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 10px 15px;
  }

  .logo img {
    max-height: 50px;
  }

  .dropdown-menu li a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .section-content {
    padding: 25px;
    max-width: 95%;
    width: 95%;
    margin: 0 auto;
  }

  .company-section h1 {
    font-size: 1.8rem;
  }

  #valores .section-content {
    padding: 25px;
  }

  #valores p {
    padding: 15px;
  }

  footer h2 {
    font-size: 1.8rem;
  }

  footer p {
    font-size: 1rem;
  }
}