/* =====================================================
   Edzorb Law · Free mentorship section
   Mobile first (phone design up to 425px)
   ===================================================== */

.mentor {
  padding: 40px 0;
  background: #fff;
  scroll-margin-top: 62px;
}

.mentor-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--navy);
  box-shadow: var(--shadow-card);
}

/* picture on top, the art already has its own sky background */
.mentor-art img {
  width: 100%;
  height: auto;
}

/* dark navy body */
.mentor-body {
  padding: 24px 22px 28px;
  background: linear-gradient(180deg, var(--navy-hi) 0%, var(--navy) 45%, var(--navy-lo) 100%);
}

.mentor-title {
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.14;
  color: #fff;
}

.mentor-text {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
}

/* ---------- Two buttons ---------- */
.mentor-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.mentor-btn {
   min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 12px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 900 16px Lato, sans-serif;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}

.mentor-btn-call svg {
  display: none !important;
}


.mentor-btn:hover {
  transform: translateY(-1px);
}

/* 1. Book free session: white pill */
.mentor-btn-book {
  background: #eda404;
  color: var(--navy);
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .6);
}

.mentor-btn-book:hover {
  background: var(--sky-light);
}

/* 2. Call: outlined pill with a phone icon */
.mentor-btn-call {
  border-color: #eda404;
  background: rgba(255, 255, 255, .06);
  color: #eda404;
}

.mentor-btn-call svg {
  width: 20px;
  height: 20px;
  color: var(--amber);
}

.mentor-btn-call:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .14);
}

/* ---------- Tablet and desktop (601px and up) ---------- */
@media (min-width: 601px) {
  .mentor {
    padding: 56px 0;
  }

  .mentor-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    max-width: 920px;
    margin: 0 auto;
  }

  .mentor-art img {
    height: 100%;
    object-fit: cover;
  }

  .mentor-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 32px;
  }

  .mentor-title {
    font-size: 32px;
  }

  .mentor-btn {
    padding: 0 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mentor-btn {
    transition: none;
  }

  .mentor-btn:hover {
    transform: none;
  }
}


/* ========================================================= */

.ml-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  box-sizing:border-box;
  width:100%;
  max-width:480px;
  padding:34px;
  border-radius:28px;
  background:linear-gradient(180deg, var(--navy-hi) 0%, var(--navy) 45%, var(--navy-lo) 100%);
  color:#fff;
  box-shadow:0 18px 40px rgba(10,42,82,.28);
  font-family:"Poppins","Segoe UI",system-ui,sans-serif;
}

.ml-card .ml-icon{
  width:68px;
  height:68px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:18px;
  margin-bottom:6px;
  padding:0;
}
.ml-card .ml-icon img{
  width:46px;
  height:46px;
  object-fit:contain;
  display:block;
}

.ml-card .ml-title{
  margin:0;
  font-family:"Quicksand","Nunito",system-ui,sans-serif;
  font-size:1.65rem;
  font-weight:700;
  line-height:1.2;
  color:#fff;
}

.ml-card .ml-text{
  margin:0;
  font-size:1rem;
  line-height:1.6;
  color:#fff;
}

.ml-card .ml-joined{
  /* display:flex; */
  align-items:center;
  gap:12px;
  margin:4px 0 0;
  padding:0;
  background:none;
  color:#fff;
  font-size:.95rem;
}
.ml-card .ml-avatars{
  height:34px;
  width:auto;
  display:block;
  padding:3px;
  background:#fff;
  border-radius:999px;
  box-sizing:content-box;
}
.ml-card .ml-joined span{
  color:#fff;
  white-space:nowrap;
}

.ml-card .ml-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:100%;
  margin-top:10px;
  padding:12px 22px;
  border-radius:999px;
  background:linear-gradient(180deg,#ffd23f,#f5b420);
  color:#2a1d00;
  font-weight:600;
  font-size:1.05rem;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(245,180,32,.35);
  transition:filter .2s, transform .2s;
}
.ml-card .ml-btn:hover{
  filter:brightness(1.05);
  transform:translateY(-1px);
}

.new-mentorship{
  padding: 20px;
}