/* Programs Page Styles */

/* Tab Navigation */
.program-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 15px 40px;
  border: 2px solid var(--secondary-color);
  background: transparent;
  color: var(--secondary-color);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tab-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}

.tab-btn:hover::before,
.tab-btn.active::before {
  transform: scaleX(1);
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--primary-color);
}

.tab-btn.active {
  box-shadow: 0 5px 20px rgba(221, 165, 72, 0.4);
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive tabs */
@media (max-width: 768px) {
  .program-tabs {
    gap: 8px;
  }

  .tab-btn {
    font-size: 0.95rem;
    padding: 12px 25px;
  }
}

@media (max-width: 480px) {
  .tab-btn {
    font-size: 0.85rem;
    padding: 10px 20px;
  }
}

/* Introduction Section */
.programs-intro {
  max-width: 900px;
  margin: 40px auto 60px;
  text-align: center;
  background: linear-gradient(135deg, rgba(252, 241, 219, 0.98) 0%, rgba(252, 241, 219, 0.95) 100%);
  padding: 40px;
  border-radius: 15px;
  border: 2px solid rgba(221, 165, 72, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.programs-intro p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.8;
  color: #3a0c0f;
  margin: 0;
}

/* Program Detail Section */
.program-detail {
  background: linear-gradient(135deg, rgba(252, 241, 219, 0.98) 0%, rgba(252, 241, 219, 0.95) 100%);
  border-radius: 20px;
  border: 2px solid rgba(221, 165, 72, 0.2);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.program-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, #c99437 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.program-detail:hover::before {
  transform: scaleX(1);
}

.program-detail:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: 0 20px 60px rgba(221, 165, 72, 0.3);
}

/* Program Header */
.program-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 2px solid rgba(221, 165, 72, 0.2);
}

.program-emoji {
  font-size: 4rem;
  line-height: 1;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.program-detail:hover .program-emoji {
  transform: scale(1.15) rotate(5deg);
}

.program-header-text h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #3a0c0f;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.program-tagline {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #3a0c0f;
  font-style: italic;
  opacity: 0.8;
  margin: 0;
}

/* Program Content */
.program-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.program-overview h3,
.program-features h3,
.program-benefits h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #3a0c0f;
  margin-bottom: 15px;
  font-weight: 600;
}

.program-overview p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3a0c0f;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: #3a0c0f;
  padding: 8px 0;
  position: relative;
}

/* Benefits Pills */
.benefits-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.benefit-pill {
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: rgba(221, 165, 72, 0.15);
  color: #3a0c0f;
  padding: 10px 18px;
  border-radius: 25px;
  border: 1px solid rgba(221, 165, 72, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.benefit-pill:hover {
  background: rgba(221, 165, 72, 0.25);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(221, 165, 72, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
  .program-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .program-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .program-emoji {
    font-size: 3.5rem;
  }

  .program-header-text h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .program-detail {
    padding: 30px 25px;
  }

  .programs-intro {
    padding: 30px 25px;
  }

  .programs-intro p {
    font-size: 1.05rem;
  }

  .program-emoji {
    font-size: 3rem;
  }

  .program-header-text h2 {
    font-size: 1.6rem;
  }

  .benefits-pills {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .benefit-pill {
    font-size: 0.85rem;
    padding: 8px 14px;
  }

  .program-emoji {
    font-size: 2.5rem;
  }
}
