/* ==========================
   ANIMACIONES GENERALES
========================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(102, 168, 51, 0);
  }
  50% {
    box-shadow: 0 0 20px rgba(102, 168, 51, 0.35);
  }
  100% {
    box-shadow: 0 0 0 rgba(102, 168, 51, 0);
  }
}

@keyframes floatCard {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* HERO */
.hero-left {
  animation: fadeLeft 1s ease;
}

.hero-right {
  animation: fadeRight 1s ease;
}

.hero-right img {
  transition: all 0.4s ease;
}

.hero-right img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(13,92,168,0.15);
}

/* BUTTONS */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.18);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* CARDS */
.feature-card,
.deadline-card,
.speaker-card,
.program-card {
  transition: all 0.35s ease;
  animation: fadeUp 0.8s ease;
}

.feature-card:hover,
.deadline-card:hover,
.speaker-card:hover,
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* TOPIC CARDS */
.topic-card {
  transition: all 0.4s ease;
  cursor: pointer;
}

.topic-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px rgba(13,92,168,0.25);
}

/* COUNTDOWN */
.time-box {
  animation: pulseGlow 2.5s infinite;
  transition: all 0.3s ease;
}

.time-box:hover {
  transform: scale(1.05);
}

/* SPEAKERS */
.speaker-card img {
  transition: all 0.4s ease;
}

.speaker-card:hover img {
  transform: scale(1.03);
}

/* SECTION TITLES */
.section-title {
  position: relative;
}

.section-title::after {
  content: "";
  width: 90px;
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0D5CA8, #66A833);
  display: block;
  margin: 14px auto 0;
}

/* FOOTER */
footer {
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(102,168,51,0.2), transparent);
  top: -150px;
  right: -100px;
}

footer::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(13,92,168,0.18), transparent);
  bottom: -120px;
  left: -120px;
}

/* FLOATING EFFECT */
.speaker-card:nth-child(2) {
  animation: floatCard 4s ease-in-out infinite;
}

.program-card:nth-child(2) {
  animation: floatCard 4s ease-in-out infinite;
}