/* ─── Mentorship Section Styles ────────────────────────────────── */

.mentorship {
  padding: 1.5rem 2rem;
  background: #060810;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-margin-top: 41px; /* offsets fixed navbar height */
  min-height: 100vh; /* ensures full viewport coverage */
  
}

.mentorship-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.5rem;
}

.mentorship-subtitle {
  font-size: 1.8rem;
  color: #26C7A0;
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.mentorship-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  /* gap: 3rem; */
  max-width: 1350px;
  width: 100%;
}

.mentorship-text {
  flex: 1 1 500px;
  min-width: 300px;
  position: relative; /* anchor for pseudo-element */
}

.mentorship-text::after {
  content: '';
  position: absolute;
  top: 0;
  right: -15px;
  width: 30px;
  height: 100%;
  box-shadow: 40px 0 80px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.mentorship-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 1.3rem;
}

.mentorship-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.mentorship-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.15rem;
  color: rgb(167, 162, 162);
  /* padding-left: 20px; */
}

.mentorship-list .icon {
  width: 24px;
  height: 24px;
  stroke: rgb(167, 162, 162);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.mentorship-closing {
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: left;
  margin-top: 0.5rem;
}

.mentorship-image {
  flex: 1 1 200px;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mentorship-image img {
  width: 100%;
  height: 49vh;
  max-width: 400px;
  border-radius: 8px;
  object-fit: cover;
  margin-top: 15px;
}

.b-cta {
  margin-top: 0.5rem;
}

.btn-mentorship {
  background: linear-gradient(90deg, #314ce1);
  color: #ebe3e3;
  font-size: 1.2rem;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-mentorship:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(38, 199, 160, 0.4);
}

/* ─── Responsive Adjustments (Mobile-First) ───────────────────── */
@media (max-width: 768px) {
  .mentorship {
    padding: 3rem 1rem;
  }
  .mentorship-title {
    font-size: 2rem;
  }
  .mentorship-subtitle {
    font-size: 1.25rem;
  }
  .mentorship-container {
    flex-direction: column-reverse;
    gap: 2rem;
    align-items: center;
  }
  .mentorship-text,
  .mentorship-image {
    width: 100%;
    max-width: none;
  }
  .mentorship-text p,
  .mentorship-list li,
  .mentorship-closing {
    font-size: 1.1rem;
  }
  .btn-mentorship {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
}
