.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    width: 140px;
}

/* MENU */
.menu{
     display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
}

.menu > a,
.menu > .dropdown > a{

    display:flex;

    align-items:center;

    justify-content:center;

    min-width:160px;

    height:48px;

    padding:0 20px;

    text-decoration:none;

    background:linear-gradient(45deg,#007BFF,#00C6FF);

    color:#fff;

    border-radius:8px;

    font-weight:bold;

    transition:.3s;

    box-sizing:border-box;
}

.menu > a:hover,
.menu > .dropdown > a:hover{

    background:linear-gradient(45deg,#0056b3,#0096c7);

}

.dropdown{
    position:relative;
}

.dropdown-content{
    position:absolute;
    top:110%;
    left:0;
    min-width:100%;
    background:#fff;
    border-radius:10px;
    box-shadow:0 10px 20px rgba(0,0,0,.15);
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:.3s;
    z-index:999;
}

.dropdown:hover .dropdown-content{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.dropdown-content ul{
    list-style:none;
    margin:0;
    padding:10px;
}

.dropdown-content li{
    margin:5px 0;
}

.dropdown-content li a{
    display:block;
    padding:12px 18px;
    color:#333;
    text-decoration:none;
    border-radius:8px;
    transition:.3s;
}

.dropdown-content li a:hover{
    background:#007BFF;
    color:#fff;
}

/* Capa oscura opcional para mejorar la lectura del texto */
.nos::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: -1;
}

.nosotros {
  background: linear-gradient(135deg, #0a0f2c, #1a2a6c);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.contenedor {
  max-width: 1200px;
  margin: auto;
}

.titulo {
  font-size: 42px;
  margin-bottom: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}

.subtitulo {
  font-size: 18px;
  margin-bottom: 50px;
  color: #ccc;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  width: 280px;
  backdrop-filter: blur(10px);
  transition: 0.4s;
  border: 1px solid rgba(255,255,255,0.1);
}

.card i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #00c6ff;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: #ddd;
}

/* EFECTO HOVER 🔥 */
.card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(0, 198, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* FRASE DESTACADA */
.frase-box {
  margin-top: 60px;
  padding: 20px;
  border-left: 4px solid #00c6ff;
  background: rgba(255,255,255,0.05);
  display: inline-block;
  font-size: 20px;
  font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .titulo {
    font-size: 30px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }
}

.nos1 {
    position: relative;
    height: 100vh;
    background: url('nos1.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    padding: 60px;
}
.nos1-content {
    opacity: 0;
    transform: translateX(50px);
    animation: aparecer 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes aparecer {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nos1 h1 {
    color: white;
    font-size: 50px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.proposito {
  background: linear-gradient(135deg, #0a0f2c, #16213e);
  color: #fff;
  padding: 90px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* EFECTO DE FONDO SUTIL */
.proposito:before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(0, 198, 255, 0.15);
  filter: blur(120px);
  top: -100px;
  left: -100px;
}

.contenedor {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.titulo {
  font-size: 42px;
  margin-bottom: 15px;
  font-weight: bold;
}

.subtitulo {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 30px;
}

/* CAJA DE PROPÓSITO 🔥 */
.proposito-box {
  max-width: 800px;
  margin: 0 auto 50px;
  padding: 25px;
  background: rgba(255,255,255,0.05);
  border-left: 4px solid #00c6ff;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  font-size: 18px;
  line-height: 1.6;
}

/* TARJETAS */
.cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.card {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 15px;
  width: 280px;
  transition: 0.4s;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.card i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #00c6ff;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: #ddd;
}

/* HOVER PRO */
.card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(0, 198, 255, 0.2);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

/* FRASE FINAL */
.frase-box {
  margin-top: 60px;
  font-size: 22px;
  font-weight: bold;
  color: #00c6ff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .titulo {
    font-size: 30px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }
}