/* Mentorship Page Styles */

/* HERO SECTION */

.mentorship-hero {
  width: 100%;
  height: 390px;
  margin-top: 80px;
  background: #e4ebf0;
}

.mentorship-hero-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 90px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 90px;
}

.mentorship-hero-left {
  margin-top: -10%;
  flex: 1.2;
  z-index: 2;
}

.mentorship-hero-left h1 {
  font-family: var(--font-secondary, "Forum", serif);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  color: #0F1F22;
  margin-bottom: 25px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.mentorship-hero-left p {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  color: #485E68;
  line-height: 1.6;
  max-width: 580px;
  font-weight: 300;
}

.mentorship-hero-right {
  flex: 0 0 58%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.mentorship-hero-right img {
  width: 150%;
  max-width: 760px;
  margin-top: -27%;
  margin-right: -100px;
  height: auto;
  object-fit: contain;
}

.mentorship-hero {
  width: 100%;
  margin-top: 80px;
  background: #e4ebf0;
  overflow: hidden;
}

.mentorship-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 70px 5% 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.mentorship-hero-left h1 {
  font-family: var(--font-secondary, "Forum", serif);
  font-weight: 400;
  letter-spacing: -1px;
  color: #102a43;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1.05;
  margin-top: -20%;
}

.mentorship-hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.mentorship-hero-right img {
  width: min(560px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
  margin-left: 50px;
}

/* WHY CHOOSE MENTORSHIP */
.mentorship-why {
  padding: 100px 5%;
  background: #f8f9fb;
  height: 490px;
  text-align: center;
}

.mentorship-why h2 {
  font-family: var(--font-secondary, "Forum", serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #1a1a1a;
  margin-top: -50px;
  margin-bottom: 20px;
  font-weight: 400;
}

.mentorship-why-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.mentorship-why-box {
  background: #f4f6f8;
  padding: 70px 25px 40px;
  border-radius: 16px;
  border: 1px solid #dce2e8;
  text-align: center;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  margin-top: 45px;
}

.mentorship-why-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.icon-wrapper {
  background: #e4ebf0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid #ffffff;
  box-shadow: 0 0 0 1px #dce2e8;
  z-index: 2;
  transition: transform 0.4s ease;
}

.mentorship-why-box:hover .icon-wrapper {
  transform: translateX(-50%) translateY(-5px);
}

.mentorship-why-box img {
  width: 40px;
  opacity: 0.8;
}

.mentorship-why-box h4 {
  font-family: var(--font-secondary, "Forum", serif);
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 12px;
  font-weight: 400;
}

.mentorship-why-box p {
  font-family: var(--font-primary, "Outfit", sans-serif);
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  max-width: 250px;
  margin: 0 auto;
}

/* PACKAGES SECTION */
.mentorship-packages {
  padding: 90px 5%;
  margin-top: -60px;
  background: #ffffff;
  text-align: center;
}

.mentorship-packages h2 {
  font-family: var(--font-secondary, "Forum", serif);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: #000000;
  margin-bottom: 15px;
  margin-top: -20px;
  font-weight: 400;
}

.mentorship-packages .subtext {
  max-width: 820px;
  margin: 0 auto 55px;
  color: #4b5563;
  font-size: 1rem;
  font-family: var(--font-primary, "Outfit", sans-serif);
}

.mentorship-packages-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.mentorship-package-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 30px;
  border: none;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.mentorship-package-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border: 0.1px solid #1c323a;
}

.mentorship-package-box {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.mentorship-package-box.featured {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #1c323a;
}

.mentorship-package-box.featured:hover {
  transform: translateY(-5px);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #f5c453, #d4a643);
  color: #111;
  padding: 6px 14px;
  font-family: var(--font-primary, "Outfit", sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(212, 166, 67, 0.4);
  z-index: 10;
}

.mentorship-package-box h3 {
  font-family: var(--font-secondary, "Forum", serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 15px;
}

.pricing-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 18px;
}

.discount-badge {
  display: inline-block;
  background: #ef4444;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.original-price {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 0.95rem;
}

.mentorship-package-box .price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
  line-height: 1.2;
}

.mentorship-package-box p {
  font-family: var(--font-primary, "Outfit", sans-serif);
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 22px;
  min-height: 45px;
}

.mentorship-package-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.mentorship-package-box li {
  font-family: var(--font-primary, "Outfit", sans-serif);
  color: #374151;
  font-size: 0.95rem;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.mentorship-package-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #102a43;
  font-weight: bold;
}

.mentorship-package-box button {
  width: 100%;
  padding: 12px 0;
  border-radius: 8px;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  font-family: var(--font-primary, "Outfit", sans-serif);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mentorship-package-box button:hover {
  background: #000000;
  color: #ffffff;
}

/* TOPICS SECTION */
.mentorship-topics {
  padding: 90px 5%;
  background: #d8d5d5;
}

.mentorship-topics-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 55px;
  align-items: stretch;
}

.mentorship-topics-text {
  flex: 1;
}

.mentorship-topics h2 {
  font-family: var(--font-secondary, "Forum", serif);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: #000000;
  margin-bottom: 40px;
  text-align: left;
  font-weight: 400;
}

.topics-grid-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
}

.topic-group {
  background: #ffffff;
  border: 1px solid #eef2f4;
  border-radius: 12px;
  padding: 18px 18px;
}

.topic-group h4 {
  font-family: var(--font-secondary, "Forum", serif);
  font-size: 1.05rem;
  color: #000000;
  margin-bottom: 14px;
  font-weight: 600;
}

.topic-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topic-group ul li {
  font-family: var(--font-primary, "Outfit", sans-serif);
  color: #4b5563;
  font-size: 0.95rem;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.topic-group ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #102a43;
  font-weight: bold;
}

.mentorship-topics-image {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 360px;
}

.mentorship-topics-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HOW IT WORKS (Timeline) */
.how-to-invest {
  padding: 60px 0;
  background-color: #ffffff;
}

.inv-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
}

.how-to-invest .section-title {
  font-family: var(--font-secondary, "Forum", serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #1a1a1a;
  margin-bottom: 70px;
  font-weight: 400;
  text-align: center;
}

.timeline-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
  gap: 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-circle {
  width: 120px;
  height: 120px;
  background-color: #e2e8ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid #c4d1d6;
  margin-bottom: 0px;
}

.step-circle::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  background-color: #f8fbfe;
  border-radius: 50%;
  z-index: 1;
  border: 1px solid #dde4e8;
}

.step-circle span {
  font-family: var(--font-primary, "Outfit", sans-serif);
  font-size: 2.2rem;
  color: #1a2a32;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.timeline-step h4 {
  font-family: var(--font-secondary, "Forum", serif);
  font-size: 1.25rem;
  color: #1a1a1a;
  margin-top: 25px;
  margin-bottom: 8px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}

.timeline-step p {
  font-family: var(--font-primary, "Outfit", sans-serif);
  font-size: 0.95rem;
  color: #485e68;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  width: 220px;
  margin-top: 0;
}

.timeline-line {
  flex: 1;
  height: 2px;
  background-color: #a9b8c0;
  margin-top: 60px;
  position: relative;
  min-width: 40px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.timeline-line.visible {
  opacity: 1;
  transform: scaleX(1);
}

.timeline-line .arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 14px;
  height: 14px;
  border-right: 2px solid #a9b8c0;
  border-top: 2px solid #a9b8c0;
}

/* Responsive */
@media (max-width: 1100px) {
  .mentorship-why-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

@media (max-width: 992px) {

  .mentorship-hero {
    height: auto;
    min-height: auto;
  }

  .mentorship-hero-inner {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
    gap: 30px;
  }

  .mentorship-hero-left {
    margin-top: 0;
  }

  .mentorship-hero-left h1 {
    margin-top: 0;
  }

  .mentorship-hero-left,
  .mentorship-hero-right {
    flex: 1;
    width: 100%;
  }

  .mentorship-hero-right {
    justify-content: center;
  }

  .mentorship-hero-right img {
    max-width: 400px;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    margin-right: 0;
  }

  .mentorship-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mentorship-topics-content {
    flex-direction: column;
  }

  .mentorship-topics-image {
    min-height: 300px;
  }

  .timeline-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .timeline-line {
    display: block;
    margin-top: 35px;
  }

  .timeline-line .arrow {
    width: 10px;
    height: 10px;
  }

  .timeline-step {
    width: auto;
    gap: 5px;
  }

  .step-circle {
    width: 70px;
    height: 70px;
  }

  .step-circle::after {
    width: 52px;
    height: 52px;
  }

  .step-circle span {
    font-size: 1.3rem;
  }

  .timeline-step h4 {
    margin-top: 10px;
    font-size: 0.85rem;
    width: 100px;
    margin-left: -15px;
    margin-right: -15px;
    white-space: normal;
  }

  .timeline-step p {
    margin-top: 5px;
    font-size: 0.75rem;
    width: 110px;
    margin-left: -20px;
    margin-right: -20px;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  .timeline-line {
    margin-top: 23px;
    min-width: 15px;
  }

  .timeline-line .arrow {
    width: 8px;
    height: 8px;
    border-width: 1.5px;
  }

  .step-circle {
    width: 46px;
    height: 46px;
  }

  .step-circle::after {
    width: 34px;
    height: 34px;
  }

  .step-circle span {
    font-size: 0.95rem;
  }

  .timeline-step h4 {
    font-size: 0.65rem;
    margin-top: 6px;
    width: 70px;
    margin-left: -12px;
    margin-right: -12px;
  }

  .timeline-step p {
    font-size: 0.55rem;
    margin-top: 2px;
    width: 76px;
    margin-left: -15px;
    margin-right: -15px;
    line-height: 1.1;
  }
}

@media (max-width: 768px) {
  .mentorship-hero {
    margin-top: 50px;
  }

  .mentorship-hero-inner {
    padding: 15px 15px;
    gap: 15px;
  }

  .mentorship-hero-left h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-top: 0;
  }

  .mentorship-hero-left p {
    font-size: 0.95rem;
  }

  .mentorship-hero-right img {
    max-width: 320px;
  }

  .mentorship-why {
    height: auto;
    min-height: auto;
    padding: 60px 5%;
  }

  .mentorship-why h2 {
    margin-top: 0;
  }

  .mentorship-packages {
    margin-top: 0;
  }

  .mentorship-packages h2 {
    margin-top: 0;
  }

  .mentorship-packages-grid {
    grid-template-columns: 1fr;
  }

  .topics-grid-inner {
    grid-template-columns: 1fr;
  }
}