/* Alumni Community Section */
.alumni-community-section {
  text-align: center;
  padding: 60px 40px 48px;
  border-radius: 20px;
  background: var(--Blue-100, #e6f0f8) url("../../images/alumni-grow/Frame 1597885594 (1).png") center top no-repeat;
  background-size: contain;
  margin: 40px 0;
}

.community-heading {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 500;
  color: #03489f;
  margin: 0 0 10px;
}

.community-subtitle {
  font-size: 14px;
  line-height: 1.7;
  color: #00243d;
  margin: 12px 0 34px 0;
}

.community-steps {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.step-card {
  width: 28%;
  background: #fff;
  border-radius: 14px;
  padding: 20px 16px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.step-label {
  font-size: 14px;
  font-family: "Open Sans";
  font-weight: 500;
  color: #00243d;
  padding: 4px 0 32px 0;
}

.step-screenshot {
  border-radius: 20px;
  overflow: hidden;
}

.step-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  border: 1px solid #b6dcf8;
  max-height: 166px;
}

/* Alumni Tabs Section */
.alumni-tabs-section {
  border-radius: 30px;
  background: var(--Green-100, #def4e2);
  padding: 48px 40px;
  margin: 40px 0;
  text-align: center;
}

.alumni-tabs-section .tabs-nav {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
  background: #fff;
  padding: 4px;
}

.alumni-tabs-section .tab-btn {
  padding: 10px 36px;
  font-size: 18px;
  font-weight: 500;
  font-family: inherit;
  color: #00243d;
  background: transparent;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.alumni-tabs-section .tab-btn.active {
  background: #1fb53b;
  color: #fff;
  border-radius: 10px;

  font-family: unset;
  font-size: 18px;
  font-weight: 500;
  line-height: unset;
}

.alumni-tabs-section .tab-btn:hover:not(.active) {
  background: #f0f4f8;
  border-radius: 10px;
}

.alumni-tabs-section .tab-panel {
  display: none;
}

.alumni-tabs-section .tab-panel.active {
  display: block;
}

.tab-description {
  font-size: 20px;
  font-family: "Playfair Display";
  line-height: 1.7;
  color: #00243d;
  margin: 0 0 28px;
}

.tab-browser-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #fff;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 14px;
  padding: 16px;
  box-sizing: border-box;
}

.tab-browser-mockup img {
  width: 100%;
  height: 455px;
  object-fit: cover;
  border-radius: 20px;
}

/* Watch Play Button */
.watch-mockup {
  position: relative;
  cursor: pointer;
}

.watch-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s;
}

.watch-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Video Popup */
.video-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.video-popup-overlay.active {
  display: flex;
}

.video-popup {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.video-popup-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 2;
  transition: opacity 0.2s;
}

.video-popup-close:hover {
  opacity: 0.7;
}

.video-popup-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
}

.video-popup-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Video Player */
.tab-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 775px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #fff;
  padding: 16px;
  box-sizing: border-box;
}

.tab-video-wrapper video {
  width: 100%;
  height: auto;
  aspect-ratio: 809 / 489;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.video-play-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
}

/* Responsive */
@media (max-width: 768px) {
  .alumni-community-section {
    padding: 40px 16px 28px;
    margin: 28px 0;
  }

  .community-heading {
    font-size: 24px;
  }

  .community-steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .step-card {
    width: 100%;
    max-width: 360px;
  }

  .community-subtitle {
    margin: 0 0 24px;
  }

  .community-subtitle br {
    display: none;
  }

  .step-screenshot img {
    height: auto;
    aspect-ratio: 328 / 256;
  }

  .alumni-tabs-section {
    padding: 32px 16px;
    margin: 28px 0;
  }

  .tab-btn {
    padding: 8px 22px;
    font-size: 13px;
  }

  .tab-description {
    font-size: 13px;
  }

  .tab-description br {
    display: none;
  }

  .tab-browser-mockup {
    padding: 12px;
  }
}

@media (max-width: 479px) {
  .alumni-community-section {
    padding: 28px 12px 20px;
  }

  .community-heading {
    font-size: 20px;
  }

  .community-subtitle {
    font-size: 12px;
  }

  .community-steps {
    gap: 12px;
  }

  .step-card {
    padding: 14px 12px 12px;
    border-radius: 12px;
  }

  .step-label {
    font-size: 11px;
    margin: 0 0 8px;
  }

  .step-screenshot img {
    border-radius: 14px;
  }

  .tab-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .tabs-nav {
    margin-bottom: 20px;
  }

  .alumni-tabs-section {
    padding: 24px 12px;
  }

  .tab-description {
    font-size: 12px;
    margin: 0 0 20px;
  }

  .tab-browser-mockup {
    padding: 8px;
    border-radius: 10px;
  }
}
