:root{
  --navy:#010D35;
  --blue:#0075FF;
  --orange:#FE951C;
  --soft-bg:#f1f5fb;
}

/* ================= GENERALES ================= */

body{
  font-family:'Segoe UI', sans-serif;
  background:#eef3f9;
  padding-top:90px;
}

.section-padding{
  padding:100px 0;
}

.bg-soft{
  background:var(--soft-bg);
}

/* ================= NAVBAR ================= */

.custom-navbar{
  background:white;
  padding:20px 0;
  box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.nav-link{
  font-weight:500;
  color:#1e1e1e !important;
  transition:0.3s ease;
}

.nav-link:hover{
  color:var(--blue) !important;
}

.active-link{
  color:var(--blue) !important;
  font-weight:600;
}

.nav-icon{
  font-size:20px;
  color:#1e1e1e;
  transition:0.3s ease;
}

.nav-icon:hover{
  color:var(--blue);
}

.mobile-page-title{
  font-weight:600;
  font-size:18px;
  letter-spacing:1px;
}

/* ================= HERO ================= */

.hero-section{
  height:100vh;
  background:
    linear-gradient(rgba(1,13,53,0.7), rgba(0,117,255,0.6)),
    url('https://images.unsplash.com/photo-1558611848-73f7eb4001a1');
  background-size:cover;
  background-position:center;
}

/* ================= PROGRAMAS ================= */

.program-card{
  background:white;
  border-radius:25px;
  overflow:hidden;
  box-shadow:0 15px 40px rgba(0,0,0,0.06);
  transition:0.4s ease;
  height:100%;
}

.program-card:hover{
  transform:translateY(-10px);
  box-shadow:0 25px 60px rgba(0,0,0,0.12);
}

.program-img{
  height:220px;
  overflow:hidden;
}

.program-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.4s ease;
}

.program-card:hover .program-img img{
  transform:scale(1.1);
}

.program-content{
  padding:30px;
  text-align:center;
}

.program-content h4{
  font-weight:700;
  margin-bottom:15px;
}

.program-content p{
  color:#666;
  margin-bottom:20px;
}

.badge-popular{
  position:absolute;
  top:15px;
  left:15px;
  background:var(--blue);
  color:white;
  padding:5px 12px;
  font-size:12px;
  border-radius:20px;
}

/* ================= IDENTIDAD ================= */

.identity-section{
  background:linear-gradient(180deg,#f4f7fc,#69dcfc);
  padding:100px 0;
}

.section-title{
  font-weight:800;
  font-size:40px;
  margin-bottom:15px;
}

.section-subtitle{
  max-width:700px;
  margin:0 auto 50px;
  color:#666;
  font-size:18px;
}

.identity-card{
  background:white;
  padding:40px;
  border-radius:25px;
  box-shadow:0 15px 40px rgba(0,0,0,0.06);
  transition:0.4s ease;
  height:100%;
}

.identity-card:hover{
  transform:translateY(-8px);
  box-shadow:0 25px 60px rgba(0,0,0,0.12);
}

/* ================= EVENTOS ================= */

.event-card{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  height:320px;
  cursor:pointer;
}

.event-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.5s ease;
}

.event-overlay{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:100%;
  background:linear-gradient(to top, rgba(13,110,253,0.85), rgba(13,110,253,0.3));
  color:white;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:30px;
  transition:0.4s ease;
}

.event-card:hover img{
  transform:scale(1.1);
}

/* ================= ENTRENADORES ================= */

.trainer-card{
  background:white;
  border-radius:20px;
  transition:0.3s ease;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  height:100%;
}

.trainer-card:hover{
  transform:translateY(-8px);
}

.trainer-img{
  width:140px;
  height:140px;
  object-fit:cover;
  border-radius:50%;
  border:5px solid #f1f5fb;
}

.trainer-role{
  color:var(--blue);
  font-weight:600;
  margin-bottom:10px;
}

/* ================= FOOTER ================= */

.footer-section{
  background:var(--navy);
  color:white;
  padding:70px 0;
}

.footer-section a{
  color:#ddd;
  text-decoration:none;
  transition:0.3s;
}

.footer-section a:hover{
  color:white;
}

/* ================= SCROLL ANIMATIONS ================= */

.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:opacity 0.8s ease, transform 0.8s ease;
  will-change:opacity, transform;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

.reveal-left{
  opacity:0;
  transform:translateX(-40px);
  transition:opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active{
  opacity:1;
  transform:translateX(0);
}

.reveal-right{
  opacity:0;
  transform:translateX(40px);
  transition:opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active{
  opacity:1;
  transform:translateX(0);
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){

  .section-padding{
    padding:70px 0;
  }

  .section-title{
    font-size:28px;
  }

  .hero-section{
    height:80vh;
    text-align:center;
  }

}