/* AGENDA HERO */
.agenda-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.agenda-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(7, 32, 64, 0.95),
    rgba(13, 68, 120, 0.85)
  );
  z-index: 1;
}

/* Badge */
.agenda-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.01);
  color: #ffc107; /* Yellow */
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;

  margin-bottom: 24px;
}

/* Title */
.agenda-title {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

/* Subtitle */
.agenda-subtitle {
  font-size: 24px;
  font-weight: 500;
  color: #e8f1ff;
  margin-bottom: 16px;
}

/* Description */
.agenda-desc {
  font-size: 16px;
  line-height: 1.7;
  max-width: 560px;
  color: #d6e4ff;
  margin-bottom: 32px;
}

/* Buttons */
.agenda-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-agenda-primary {
  background: #ffc107;
  color: #001f3f;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-agenda-primary:hover {
  background: #ffb300;
  color: #001f3f;
}

.btn-agenda-secondary {
  background: #ffffff;
  color: #001f3f;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .agenda-title {
    font-size: 44px;
  }

  .agenda-subtitle {
    font-size: 20px;
  }
}

body {
  background: #f2f4f7;
  font-family: Inter, Arial, sans-serif;
}

.planner-wrapper {
  padding: 80px;
  display: flex;
  justify-content: center;
}

.planner-card {
  width: 1100px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  padding: 28px;
  position: relative;
}

/* Header */
.planner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 22px;
}
.header-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.agenda-day {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #0b8457;
  letter-spacing: -0.3px;
}
/* Meta line */
.agenda-meta {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

/* Duration badge */
.duration {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #065f46;
  background: #d1fae5;
  padding: 6px 12px;
  border-radius: 10px;
  width: fit-content;
}
.planner-header h3 {
  margin: 0;
  font-size: 20px;
}

.duration {
  font-size: 13px;
  color: #777;
}

.avatars img {
  border-radius: 50%;
  margin-left: -8px;
  border: 2px solid #fff;
}

/* Tabs */
.planner-tabs {
  display: flex;
  gap: 14px;
  margin: 30px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6eaf0;
}

.day-tab {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 16px 20px; /* slightly more padding */
  min-width: 200px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: #6b7280;
  transition: all 0.3s ease;
  position: relative;
}
/* Prevent badge from shrinking */
.day-badge {
  flex-shrink: 0;
}

/* Allow text to wrap properly */
.day-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  white-space: normal; /* allow wrapping */
  padding-left: inherit;
  margin-left: 6px; /* 👈 creates safe distance from badge */
  min-width: 0; /* 👈 allows proper wrapping */
}
.day-text strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

/* Make subtitle smaller but readable */
.day-text small {
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.9;
  word-break: break-word;
}
.day-tab:hover {
  background: #f6f9fc;
  color: #111827;
}

.day-tab.active {
  background: #ecfdf5;
  color: #065f46;
}

.day-tab.active::after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 16px;
  width: 36px;
  height: 3px;
  background: #16a34a;
  border-radius: 10px;
}

.day-no {
  font-size: 14px;
  font-weight: 700;
}

.day-label {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
}

.day-tab.active .day-label {
  color: #047857;
}

.tab {
  padding: 10px 0;
  font-size: 14px;
  color: #777;
  cursor: pointer;
}

.tab.active {
  color: #16a34a;
  font-weight: 600;
  border-bottom: 3px solid #16a34a;
}

/* Add day button */
.add-day-btn {
  position: absolute;
  right: 28px;
  top: 86px;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* Body */
.planner-body {
  display: flex;
  margin-top: 30px;
}

/* Rail */
.planner-rail {
  width: 160px;
  display: flex;
  flex-direction: column;
}

.rail-item {
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

/* Timeline */
.planner-timeline {
  flex: 1;
  padding-left: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr; /* time | content */
  gap: 16px;
  padding: 18px;
  border-radius: 14px;
  margin-bottom: 14px;
  align-items: center;
}
/* TIME BLOCK */
.time-box {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.time-box strong {
  display: block;
  font-size: 14px;
}

.time-box span {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
}

/* COLORS (unchanged, reuse yours) */
.timeline-item.yellow {
  background: #ffe675;
}
.timeline-item.pink {
  background: #ffb6da;
}
.timeline-item.orange {
  background: #ffad66;
}
.timeline-item.gray {
  background: #e5e5e5;
}
.timeline-item.blue {
  background: #a9b8ff;
}
.timeline-item.red {
  background: #ff9f9f;
}

/* CONTENT BLOCK */
.content-box h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #111;
}

.time {
  width: 80px;
  text-align: center;
  font-size: 13px;
  color: #555;
}

.time strong {
  display: block;
  font-size: 16px;
  color: #000;
}

.content h4 {
  margin: 0 0 4px;
  font-size: 15px;
}

.content p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

/* Colors */
.green {
  background: #22c55e;
  border-color: #22c55e;
}
.blue {
  background: #2563eb;
  border-color: #2563eb;
}
.red {
  background: #ef4444;
  border-color: #ef4444;
}
.yellow {
  background: #facc15;
  border-color: #facc15;
}

.rail-item.green,
.rail-item.blue,
.rail-item.red,
.rail-item.yellow {
  background: inherit;
}
.yellow {
  background: #ffe066;
  border-color: #ffe066;
}
.pink {
  background: #ffb3d9;
  border-color: #ffb3d9;
}
.orange {
  background: #ffa559;
  border-color: #ffa559;
}
.gray {
  background: #e0e0e0;
  border-color: #e0e0e0;
}
.blue {
  background: #a7b8ff;
  border-color: #a7b8ff;
}
.red {
  background: #ff9f9f;
  border-color: #ff9f9f;
}
.planner-wrapper {
  padding: 40px;
  font-family: Inter, sans-serif;
}
.planner-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.planner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.avatars img {
  border-radius: 50%;
  margin-left: -8px;
  border: 2px solid #fff;
}

.planner-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}
.tab {
  padding: 10px 0;
  cursor: pointer;
  color: #666;
}
.tab.active {
  color: #16a34a;
  border-bottom: 3px solid #16a34a;
  font-weight: 600;
}

.planner-timeline {
  display: none;
}
.planner-timeline.active {
  display: block;
}

.timeline-item {
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-weight: 500;
}

.yellow {
  background: #ffe36e;
}
.pink {
  background: #ffb3d9;
}
.orange {
  background: #ffa55a;
}
.gray {
  background: #e5e5e5;
}
.blue {
  background: #aab8ff;
}
.green {
  background: #c8ff7a;
}
.red {
  background: #ff9c9c;
}
.purple {
  background: #e6d7ff;
}
@media (max-width: 1024px) {
  .day-tab {
    min-width: 180px;
    padding: 14px 16px;
  }
}
.partners-section {
  background: #fff;
  padding: 60px 0;
  border-top: 1px solid #eee;
}

.partners-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #0b3c5d;
}

.partners-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.partners-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll 25s linear infinite;
}

.partners-track img {
  height: 60px;
  object-fit: contain;
  filter: none; /* remove grayscale */
  opacity: 1; /* full visibility */
  transition: transform 0.3s ease;
}

.partners-track img:hover {
  transform: scale(1.05); /* subtle premium hover */
}

/* Pause on hover */
.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .partners-track img {
    height: 45px;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .agenda-day {
    font-size: 22px;
  }

  .agenda-meta {
    font-size: 12px;
  }

  .duration {
    font-size: 12px;
  }
}
.timeline-closing {
  margin: 28px 0 10px;
  text-align: center;
  position: relative;
}

.timeline-closing span {
  display: inline-block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #000000;
  background: #e6fff3;
  border-radius: 999px;
  border: 1px dashed rgba(11, 132, 87, 0.35);
}

/* optional horizontal divider effect */
.timeline-closing::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(11, 132, 87, 0.25),
    transparent
  );
  z-index: -1;
}
