/* Program Section Fixes */

/* Program Section Standardization */

/* 1. Carousel Navigation */
.program-carousel-container {
  padding: 0 60px;
  margin-bottom: 40px;
}

.program-carousel {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  gap: 30px;
}

.program-carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.program-prev-btn,
.program-next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4EBBFF;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(24, 44, 74, 0.08);
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.program-prev-btn:hover,
.program-next-btn:hover {
  background: #4EBBFF;
  color: white;
}

.program-prev-btn {
  left: 0;
}

.program-next-btn {
  right: 0;
}

/* 2. Program Cards Standardization */
.tp-program-3-item {
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.tp-program-3-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* 3. Image Standardization */
.tp-program-3-thumb {
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
  height: 220px;
  transition: all 0.5s ease;
}

.tp-program-3-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.tp-program-3-item:hover .tp-program-3-thumb img {
  transform: scale(1.08);
}

/* 4. Program Badge */
.program-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #4ebbff, #3a8bff);
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(58, 139, 255, 0.3);
  z-index: 2;
}

/* 5. Content Standardization */
.tp-program-3-content {
  padding: 0 25px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tp-program-3-title {
  margin-bottom: 15px;
}

.tp-program-3-title a {
  font-size: 22px;
  font-weight: 700;
  color: #182C4A;
  line-height: 1.3;
  display: inline-block;
  margin-bottom: 15px;
  position: relative;
  transition: all 0.3s ease;
}

.tp-program-3-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #6E7A8A;
  margin-bottom: 20px;
}

/* 6. Schedule Items Standardization */
.tp-program-3-schedule {
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
}

.tp-program-3-schedule-item {
  text-align: center;
  flex: 1;
}

.tp-program-3-schedule-item:not(:last-of-type) {
  margin-right: 15px;
}

.tp-program-3-schedule-item span {
  font-size: 13px;
  color: #6E7A8A;
  display: block;
  margin-bottom: 5px;
}

.tp-program-3-schedule-item p {
  font-size: 14px;
  font-weight: 600;
  color: #182C4A;
  margin-bottom: 0;
}

/* 7. Button Standardization */
.tp-program-3-btn {
  margin-top: auto;
}

.tp-program-3-btn a {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: #4EBBFF;
  color: white;
  text-align: center;
  border-radius: 6px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
}

.tp-program-3-btn a:hover {
  background: #FFD54F;
  color: #182C4A;
}

/* 8. Daycare Toggle Standardization */
.daycare-options {
  margin-bottom: 20px;
}

.daycare-toggle {
  display: flex;
  background: #F5F7FA;
  border-radius: 30px;
  padding: 5px;
  margin-bottom: 15px;
  max-width: 220px;
}

.daycare-option {
  flex: 1;
  text-align: center;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #6E7A8A;
  cursor: pointer;
  transition: all 0.3s ease;
}

.daycare-option.active {
  background: #4EBBFF;
  color: white;
  box-shadow: 0 4px 10px rgba(78, 187, 255, 0.2);
}

.daycare-details {
  display: none;
}

.daycare-details.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tp-program-3-btn a:hover::before {
  background: linear-gradient(90deg, var(--yellow), var(--sky-blue)) !important;
}
