/* assets/css/important-dates.css */

.dates-banner {
  padding: 165px 0 95px;
  background:
    linear-gradient(135deg, rgba(7, 26, 47, 0.94), rgba(15, 118, 110, 0.9)),
    url("https://images.unsplash.com/photo-1506784983877-45594efa4cbe?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.dates-banner::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: 8%;
  top: 70px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.28);
  animation: datesFloat 6s infinite ease-in-out;
}

@keyframes datesFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-22px);
  }
}

.dates-banner .container {
  position: relative;
  z-index: 2;
}

.dates-badge {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--icsis-accent);
  font-weight: 900;
  margin-bottom: 18px;
}

.dates-banner h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  margin-bottom: 14px;
}

.dates-banner p {
  font-size: 22px;
  max-width: 760px;
  color: #dbeafe;
}

.dates-section {
  padding: 90px 0;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 34%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.08), transparent 34%),
    #f8fbfd;
}

.dates-intro {
  max-width: 760px;
  margin: auto;
  color: #64748b;
  font-size: 17px;
}

.timeline-wrapper {
  position: relative;
  max-width: 950px;
  margin: auto;
}

.timeline-wrapper::before {
  content: "";
  position: absolute;
  left: 45px;
  top: 20px;
  bottom: 20px;
  width: 4px;
  border-radius: 20px;
  background: linear-gradient(to bottom, var(--icsis-primary), var(--icsis-secondary));
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 28px;
  margin-bottom: 30px;
}

.timeline-icon {
  min-width: 92px;
  height: 92px;
  border-radius: 26px;
  background: #fff;
  border: 4px solid #dbeafe;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.timeline-icon i {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--icsis-gradient);
  color: #fff;
  font-size: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-content {
  background: #fff;
  border: 1px solid #e4eaf1;
  border-radius: 26px;
  padding: 28px 32px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
  flex: 1;
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 100%;
  left: 0;
  top: 0;
  background: var(--icsis-gradient);
}

.timeline-content span {
  display: inline-block;
  color: var(--icsis-primary);
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 8px;
}

.timeline-content h3 {
  color: var(--icsis-dark);
  font-weight: 900;
  margin-bottom: 8px;
}

.timeline-content p {
  margin: 0;
  color: #64748b;
  font-weight: 600;
  line-height: 1.6;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-7px);
  box-shadow: 0 26px 65px rgba(15, 23, 42, 0.14);
}

.timeline-item.active .timeline-content {
  background: var(--icsis-gradient-dark);
}

.timeline-item.active .timeline-content span,
.timeline-item.active .timeline-content h3,
.timeline-item.active .timeline-content p {
  color: #fff;
}

.timeline-item.active .timeline-icon {
  border-color: var(--icsis-accent);
}

.timeline-item.active .timeline-icon i {
  background: var(--icsis-accent);
}

.dates-note {
  background: #fff;
  border-radius: 30px;
  padding: 35px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.09);
  border: 1px solid #e4eaf1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.dates-note h3 {
  color: var(--icsis-dark);
  font-weight: 900;
  margin-bottom: 8px;
}

.dates-note p {
  margin: 0;
  color: #64748b;
  font-weight: 600;
}

@media (max-width: 991px) {
  .dates-banner {
    padding: 140px 0 75px;
    text-align: center;
  }

  .dates-banner p {
    margin-left: auto;
    margin-right: auto;
  }

  .dates-section {
    padding: 70px 0;
  }
}

@media (max-width: 575px) {
  .dates-banner {
    padding: 125px 0 60px;
  }

  .dates-banner h1 {
    font-size: 38px;
  }

  .dates-banner p {
    font-size: 18px;
  }

  .dates-section {
    padding: 55px 0;
  }

  .timeline-wrapper::before {
    left: 25px;
  }

  .timeline-item {
    gap: 16px;
  }

  .timeline-icon {
    min-width: 54px;
    height: 54px;
    border-radius: 16px;
    border-width: 3px;
  }

  .timeline-icon i {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 15px;
  }

  .timeline-content {
    padding: 22px 20px;
    border-radius: 22px;
  }

  .timeline-content span {
    font-size: 18px;
  }

  .timeline-content h3 {
    font-size: 20px;
  }

  .dates-note {
    padding: 25px;
    text-align: center;
    justify-content: center;
  }
}