/*
File: assets/css/sections.css
Purpose: Styling for About, Stats, Programs, Achievements, Coaches, and Testimonials sections.
Sections: About, Stats, Programs, Achievements, Coaches, Testimonials
*/

.about-section {
  background-color: var(--bpss-white);
  padding: var(--section-py) 0;
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--bpss-text-body);
  margin-bottom: 14px;
  line-height: 1.6;
}

.about-highlight-item span {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.about-image-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: visible;
}

.about-image-container img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  display: block;
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bpss-white);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--bpss-green);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}

.about-badge-float .badge-year {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--bpss-green);
  line-height: 1;
}

.about-badge-float .badge-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--bpss-text-muted);
  line-height: 1.4;
}

@media (max-width: 992px) {
  .about-image-container {
    margin-top: 48px;
  }

  .about-badge-float {
    bottom: -16px;
    left: 16px;
  }
}

@media (max-width: 768px) {
  .about-badge-float {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 20px;
    display: inline-flex;
  }
}

.stats-section {
  background-color: var(--bpss-green-pale);
  padding: var(--section-py) 0;
  border-top: 1px solid var(--bpss-border);
  border-bottom: 1px solid var(--bpss-border);
}

.stat-card {
  background-color: var(--bpss-white);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--bpss-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--bpss-green);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--bpss-text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

@media (max-width: 576px) {
  .stat-number {
    font-size: 38px;
  }

  .stat-card {
    padding: 24px 16px;
  }
}

.programs-section {
  background-color: var(--bpss-off-white);
  padding: var(--section-py) 0;
}

.program-card {
  background-color: var(--bpss-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--bpss-border);
  border-top: 4px solid var(--bpss-green);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.program-age-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--bpss-orange);
  color: var(--bpss-white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

.program-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.program-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--bpss-text-dark);
  margin-bottom: 6px;
}

.program-desc {
  font-size: 14px;
  color: var(--bpss-text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.program-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex-grow: 1;
}

.program-features li {
  font-size: 14px;
  color: var(--bpss-text-body);
  padding: 5px 0 5px 22px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid var(--bpss-mid-gray);
}

.program-features li:last-child {
  border-bottom: none;
}

.program-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bpss-green);
  font-weight: 700;
  font-size: 13px;
}

.program-card .btn {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
}

@media (max-width: 768px) {
  .program-card {
    padding: 22px 18px;
  }
}

.achievements-section {
  background-color: var(--bpss-white);
  padding: var(--section-py) 0;
}

.achievements-timeline {
  position: relative;
  padding: 20px 0;
}

.achievements-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--bpss-green), var(--bpss-green-light), var(--bpss-green));
  transform: translateX(-50%);
  border-radius: 2px;
}

.achievement-item {
  display: flex;
  position: relative;
  margin-bottom: 40px;
}

.achievement-item.left {
  flex-direction: row;
  padding-right: calc(50% + 30px);
}

.achievement-item.right {
  flex-direction: row-reverse;
  padding-left: calc(50% + 30px);
}

.achievement-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  width: 14px;
  height: 14px;
  background-color: var(--bpss-orange);
  border: 3px solid var(--bpss-white);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 3px var(--bpss-green);
}

.achievement-card {
  background-color: var(--bpss-white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--bpss-orange);
  width: 100%;
}

.achievement-year {
  display: inline-block;
  background-color: var(--bpss-orange-pale);
  color: var(--bpss-orange);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  font-family: var(--font-body);
}

.achievement-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--bpss-text-dark);
  margin-bottom: 8px;
}

.achievement-card p {
  font-size: 14px;
  color: var(--bpss-text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .achievements-timeline::before {
    left: 20px;
    transform: none;
  }

  .achievement-item {
    flex-direction: column;
    padding: 0 0 0 48px;
    margin-bottom: 28px;
  }

  .achievement-item.left,
  .achievement-item.right {
    flex-direction: column;
    padding: 0 0 0 48px;
  }

  .achievement-dot {
    left: 20px;
    top: 20px;
    transform: none;
  }

  .achievement-card {
    width: 100%;
  }
}

.coaches-section {
  background-color: var(--bpss-green-pale);
  padding: var(--section-py) 0;
}

.coach-card {
  background-color: var(--bpss-white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--bpss-border);
  height: 100%;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.coach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.coach-photo-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 4px solid var(--bpss-green);
  box-shadow: 0 4px 16px rgba(26,122,46,0.2);
}

.coach-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.coach-card:hover .coach-photo {
  transform: scale(1.06);
}

.coach-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--bpss-text-dark);
  margin-bottom: 6px;
}

.coach-role {
  display: inline-block;
  background-color: var(--bpss-orange-pale);
  color: var(--bpss-orange);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.coach-bio {
  font-size: 13px;
  color: var(--bpss-text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.coach-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.cert-tag {
  font-size: 11px;
  color: var(--bpss-green);
  background-color: var(--bpss-green-pale);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  border: 1px solid var(--bpss-border);
}

.testimonials-section {
  background-color: var(--bpss-white);
  padding: var(--section-py) 0;
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-card {
  background-color: var(--bpss-off-white);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  text-align: center;
  display: none;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--bpss-border);
  position: relative;
}

.testimonial-card.active {
  display: block;
}

.testimonial-card::before {
  content: "\"";
  font-family: Georgia, serif;
  font-size: 120px;
  color: var(--bpss-green-pale);
  position: absolute;
  top: -20px;
  left: 24px;
  line-height: 1;
  z-index: 0;
}

.stars {
  color: var(--bpss-orange);
  font-size: 20px;
  margin-bottom: 18px;
  letter-spacing: 2px;
  display: block;
}

.testimonial-card blockquote {
  font-size: 17px;
  font-style: italic;
  color: var(--bpss-text-dark);
  line-height: 1.85;
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
  quotes: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bpss-green);
  color: var(--bpss-white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--bpss-text-dark);
  display: block;
  text-align: left;
}

.author-role {
  font-size: 13px;
  color: var(--bpss-text-muted);
  text-align: left;
  display: block;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--bpss-mid-gray);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.testimonial-dots .dot.active {
  background-color: var(--bpss-green);
  transform: scale(1.3);
}

.testimonial-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-prev,
.testimonial-next {
  background: none;
  border: none;
  color: var(--bpss-text-muted);
  font-size: 24px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background-color: var(--bpss-green-pale);
  color: var(--bpss-green);
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 28px 24px;
  }

  .testimonial-card blockquote {
    font-size: 15px;
  }

  .testimonial-card::before {
    font-size: 80px;
  }
}
