/* ==================================================
   TUTOR PROFILE – EDTECH PROFESSIONAL (CLEAN FINAL)
================================================== */

.tutor-profile-page{
  max-width:1200px;
  margin:140px auto 60px;
  padding:0 20px 40px;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%);
  border-radius:22px;
  width:100%;
}

.tutor-profile-page *{
  box-sizing:border-box;
}

/* ================= HERO ================= */
.tutor-profile-page .tutor-hero{
  display:flex;
  gap:36px;
  background:#ffffff;
  padding:36px;
  border-radius:24px;
  align-items:flex-start;
  position:relative;
  overflow:hidden;
  box-shadow:
    0 18px 40px rgba(15,23,42,0.10),
    0 6px 14px rgba(15,23,42,0.06);
}

.tutor-profile-page .tutor-avatar{
  width:260px;
  height:320px;
  border-radius:24px;
  object-fit:cover;
  border:4px solid #ffffff;
  background:#e5e7eb;
  box-shadow:
    0 18px 40px rgba(0,0,0,0.25),
    0 6px 14px rgba(0,0,0,0.12);
}

/* ================= HERO INFO ================= */
.tutor-profile-page .hero-info{
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
}

.tutor-profile-page .hero-info h1{
  font-size:30px;
  font-weight:700;
  color:#0f172a;
  display:flex;
  align-items:center;
  gap:10px;
}

.tutor-profile-page .verified{
  background:#dcfce7;
  color:#166534;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}

/* ================= META ================= */
.tutor-profile-page .tutor-id-badge{
  background:#f1f5f9;
  padding:5px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  border:1px dashed #cbd5e1;
  width:fit-content;
}

.tutor-profile-page .tutor-type-badge{
  background:#e0f2fe;
  color:#075985;
  padding:6px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  width:fit-content;
}

.tutor-profile-page .qualification{
  font-size:15px;
  color:#475569;
}

.tutor-profile-page .location{
  font-size:14px;
  color:#64748b;
}

/* ================= DESKTOP ACTIONS ================= */
.tutor-profile-page .hero-actions{
  display:flex;
  gap:14px;
  margin-top:16px;
  align-items:center;
}

.tutor-profile-page .hero-actions a{
  min-width:140px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  font-weight:600;
  text-decoration:none;
}

.tutor-profile-page .btn-primary{
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:#ffffff;
  box-shadow:0 6px 14px rgba(37,99,235,0.35);
}

.tutor-profile-page .btn-outline{
  background:#ffffff;
  color:#2563eb;
  border:1px solid #c7d2fe;
}

.tutor-profile-page .contact-note{
  font-size:13px;
  color:#64748b;
  margin-top:4px;
}

/* ================= SECTIONS ================= */
.tutor-profile-page .tutor-about,
.tutor-profile-page .tutor-subjects{
  background:#ffffff;
  padding:26px;
  border-radius:18px;
  margin-bottom:22px;
  box-shadow:
    0 12px 30px rgba(15,23,42,0.08),
    0 4px 10px rgba(15,23,42,0.04);
}

/* ===== SECTION HEADING PIPE ===== */
.tutor-profile-page .tutor-about h2,
.tutor-profile-page .tutor-subjects h2{
  font-size:20px;
  font-weight:700;
  margin-bottom:10px;
  padding-left:14px;
  position:relative;
}

.tutor-profile-page .tutor-about h2::before,
.tutor-profile-page .tutor-subjects h2::before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  width:4px;
  height:70%;
  background:#2563eb;
  border-radius:4px;
}

.tutor-profile-page .tutor-about p{
  line-height:1.7;
  color:#334155;
}

/* ================= STATS ================= */
.tutor-profile-page .tutor-stats{
  margin:22px 0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:16px;
}

.tutor-profile-page .tutor-stats div{
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:16px;
  text-align:center;
  min-height:96px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.tutor-profile-page .tutor-stats strong{
  margin-top:6px;
  color:#0f172a;
}

/* ================= CHIPS ================= */
.tutor-profile-page .subject-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tutor-profile-page .subject-chips .chip{
  background:#f1f5ff;
  border:1px solid #c7d2fe;
  padding:6px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  transition:all .2s ease;
}

.tutor-profile-page .subject-chips .chip:hover{
  background:#2563eb;
  color:#ffffff;
  border-color:#2563eb;
  transform:translateY(-1px);
}

/* ==================================================
   MOBILE
================================================== */
@media (max-width:768px){

  .tutor-profile-page{
    margin-top:110px;
    padding:12px 12px 140px;
  }

  .tutor-profile-page .tutor-hero{
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:20px;
    gap:14px;
  }

  .tutor-profile-page .tutor-avatar{
    width:140px;
    height:170px;
  }

  .tutor-profile-page .hero-info{
    align-items:center;
  }

  .tutor-profile-page .hero-info h1{
    font-size:20px;
    justify-content:center;
  }

  .tutor-profile-page .qualification,
  .tutor-profile-page .location{
    font-size:14px;
    text-align:center;
  }

  /* Hide desktop buttons */
  .tutor-profile-page .hero-actions{
    display:none;
  }

  .tutor-profile-page .tutor-stats{
    grid-template-columns:1fr 1fr;
    gap:12px;
  }

  .tutor-profile-page .tutor-stats div{
    min-height:80px;
    font-size:13px;
  }

  .tutor-profile-page .subject-chips .chip{
    font-size:12px;
    padding:6px 10px;
  }
}

/* ================= MOBILE STICKY CTA ================= */
.mobile-sticky-cta{
  display:none;
}

@media (max-width:768px){

  .mobile-sticky-cta{
    display:flex;
    position:fixed;
    bottom:14px;
    left:12px;
    right:12px;
    background:#ffffff;
    border-radius:16px;
    padding:12px;
    gap:10px;
    z-index:9999;
    box-shadow:0 -4px 14px rgba(0,0,0,0.12);
  }

  .mobile-sticky-cta a{
    flex:1;
    text-align:center;
    padding:14px 0;
    font-size:15px;
    border-radius:12px;
    font-weight:600;
  }
}
