/* ============================================================
   Navigation bars
   ============================================================ */
.cd-navigation-bar-container {
  background-color: #004191;
  opacity: 0.90;
}

.cd-scroll .cd-mobile-menu-bar {
  background: white;
  opacity: 0.90;
}

/* ============================================================
   Statistical section
   ============================================================ */
.cd-content .stats-section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;            /* keep boxes side by side */
  gap: 20px;
  padding: 40px 10px;
  text-align: center;
  overflow-x: auto;
}

.cd-content .stats-section .stat-box {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0,65,145,0.2);
  flex: 0 1 180px;              /* smaller target width */
  max-width: 200px;
  padding: 8% 6%;               /* keeps proportional height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cd-content .stats-section .stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cd-content .stats-section .stat-number {
  font-family: Oswald, sans-serif;
  font-size: 42px;
  color: #004191;
  font-weight: 700;
  margin-bottom: 6px;
}

.cd-content .stats-section .stat-label {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  color: #222;
  letter-spacing: 0.4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cd-content .stats-section {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 30px 10px;
    flex-wrap: wrap;
  }

  .cd-content .stats-section .stat-box {
    width: 100%;
    max-width: 280px;
    padding: 10% 8%;
  }

  .cd-content .stats-section .stat-number {
    font-size: 36px;
  }

  .cd-content .stats-section .stat-label {
    font-size: 15px;
  }
}


/* ============================================================
   Timeline Section (ClubDesk-compatible external CSS, centered dots)
   ============================================================ */
.cd-content .timeline-wrapper {
  background: #fff;
  color: #1a1a1a;
  font-family: "Roboto", sans-serif;
  padding-block: clamp(36px, 7vw, 80px);
}

.cd-content .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* vertical line with gradient */
.cd-content .timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #004191, #0058c3, #00bfff, #14fff3);
}

/* timeline items */
.cd-content .timeline .t-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 56px;
  min-height: 110px;
}

/* perfectly centered dots on the line */
.cd-content .timeline .t-dot {
  position: absolute;
  left: 24px; /* exact same as line position */
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #333333;
  z-index: 2;
}

/* cards */
.cd-content .timeline .t-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  flex: 1;
}

.cd-content .timeline .t-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.25rem;
}

.cd-content .timeline .t-meta time {
  color: #0058c3;
  font-weight: 500;
  font-family: "Oswald", sans-serif;
}

/* headings */
.cd-content h1,
.cd-content h2,
.cd-content h3 {
  font-family: "Oswald", sans-serif;
}

/* responsive adjustments */
@media (max-width: 700px) {
  .cd-content .timeline::before {
    left: 16px;
  }

  .cd-content .timeline .t-item {
    padding-left: 48px;
  }

  .cd-content .timeline .t-dot {
    left: 16px; /* match line position on small screens */
  }
}
