/* Ubuntu CurioTech — Our Mentors | refined lavender theme */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');

:root {
  --ink: #202039;
  --muted: #687087;
  --purple: #6040b5;
  --purple-deep: #3e267a;
  --purple-pale: #f1edfc;
  --cyan: #50cfd4;
  --peach: #ffa875;
  --line: rgba(81, 57, 155, .14);
  --card-shadow: 0 20px 55px rgba(42, 31, 83, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 7% 6%, rgba(80, 207, 212, .18), transparent 32rem),
    radial-gradient(ellipse at 92% 10%, rgba(96, 64, 181, .18), transparent 35rem),
    radial-gradient(ellipse at 50% 100%, rgba(255, 168, 117, .10), transparent 38rem),
    linear-gradient(135deg, #fbfaff 0%, #f1edfb 54%, #f7fbfc 100%);
  background-attachment: fixed;
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Header and navigation */
.navbar {
  width: min(1200px, calc(100% - 48px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { flex: 0 0 auto; }
.logo-circle {
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(48, 36, 93, .14);
}
.logo-circle img { width: 100%; height: 100%; display: block; object-fit: cover; }
.nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }
.nav-links a {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #565d73;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav-links a:hover, .nav-links a.active {
  transform: translateY(-1px);
  border-color: rgba(96,64,181,.12);
  color: var(--purple);
  background: rgba(255,255,255,.88);
  box-shadow: 0 6px 18px rgba(42,31,83,.07);
}
.talk-box {
  min-width: 142px;
  padding: 10px 12px 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--purple-deep);
  background: rgba(255,255,255,.8);
  box-shadow: 0 8px 22px rgba(42,31,83,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.talk-box:hover { transform: translateY(-2px); box-shadow: 0 12px 27px rgba(42,31,83,.11); }
.talk-box h3 { margin: 0 0 3px; font: 800 14px "Manrope", "Segoe UI", sans-serif; }
.talk-box small { color: var(--muted); font-size: 11px; font-weight: 600; }
.talk-circle {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #765bd0, var(--purple-deep));
  box-shadow: 0 0 0 5px rgba(96,64,181,.1);
}

/* Page heading */
#mentors {
  width: min(1120px, calc(100% - 48px));
  margin: 24px auto 58px;
}
.mentor-heading {
  position: relative;
  max-width: 820px;
  margin: 0 auto 42px;
  padding: clamp(38px, 6vw, 62px) 30px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 28px;
  background: linear-gradient(125deg, rgba(255,255,255,.88), rgba(244,239,255,.78));
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(14px);
}
.mentor-heading::before,
.mentor-heading::after {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.mentor-heading::before { top: -105px; left: -60px; background: rgba(80,207,212,.16); filter: blur(2px); }
.mentor-heading::after { right: -80px; bottom: -120px; background: rgba(96,64,181,.14); filter: blur(2px); }
.mini-title {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0 auto 16px;
  padding: 8px 13px;
  border: 1px solid rgba(96,64,181,.12);
  border-radius: 999px;
  color: var(--purple);
  background: rgba(255,255,255,.75);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}
.mentor-heading h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font: 800 clamp(38px, 6vw, 66px)/1.08 "Manrope", "Segoe UI", sans-serif;
  letter-spacing: -.055em;
}
.mentor-heading h1 span { color: var(--purple); }
.heading-description {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 17px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* Mentor cards */
.mentor-card {
  position: relative;
  min-height: 350px;
  margin: 0 0 24px;
  padding: clamp(22px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(230px, .82fr) 1.18fr;
  align-items: center;
  gap: clamp(24px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 25px;
  background: linear-gradient(120deg, rgba(255,255,255,.91), rgba(250,248,255,.82));
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(14px);
  transition: transform .22s ease, box-shadow .22s ease;
}
.mentor-card:hover { transform: translateY(-3px); box-shadow: 0 26px 62px rgba(42,31,83,.14); }
.mentor-card::after {
  position: absolute;
  z-index: 0;
  right: -120px;
  bottom: -190px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80,207,212,.12), transparent 70%);
  content: "";
  pointer-events: none;
}
.mentor-card.reverse { grid-template-columns: 1.18fr minmax(230px, .82fr); }
.mentor-card.reverse .mentor-image { order: 2; }
.mentor-card.reverse .mentor-info { order: 1; }
.mentor-image { position: relative; min-height: 280px; display: grid; place-items: center; }
.mentor-image img {
  position: relative;
  z-index: 1;
  width: min(100%, 305px);
  height: 290px;
  display: block;
  border: 7px solid rgba(255,255,255,.96);
  border-radius: 24px;
  background: var(--purple-pale);
  object-fit: cover;
  box-shadow: 0 20px 48px rgba(42,31,83,.18);
}
.image-glow {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,64,181,.24), rgba(80,207,212,.15) 52%, transparent 73%);
  filter: blur(7px);
}
.mentor-info { position: relative; z-index: 1; }
.mentor-number {
  margin: 0 0 10px;
  color: var(--purple);
  font: 800 12px "Manrope", "Segoe UI", sans-serif;
  letter-spacing: .2em;
}
.mentor-info h2 {
  margin: 0;
  color: var(--ink);
  font: 800 clamp(25px, 3.3vw, 37px)/1.16 "Manrope", "Segoe UI", sans-serif;
  letter-spacing: -.04em;
}
.mentor-info h3 {
  margin: 10px 0 14px;
  color: var(--purple);
  font: 700 16px "Manrope", "Segoe UI", sans-serif;
}
.mentor-description { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.mentor-role {
  margin-top: 18px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--purple-deep);
  background: linear-gradient(110deg, #f7f4ff, #f1fbfc);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}
.mentor-role i { color: var(--purple); font-size: 16px; }
.mentor-button {
  min-height: 44px;
  margin-top: 19px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #6b49c1, var(--purple-deep));
  box-shadow: 0 10px 23px rgba(96,64,181,.22);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mentor-button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(96,64,181,.3); }

footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 28px;
  padding: 20px 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}
footer p { margin: 0; }

@media (max-width: 850px) {
  .navbar { min-height: 0; padding: 16px 0; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .nav-links { order: 3; flex-basis: 100%; }
  .mentor-card, .mentor-card.reverse { grid-template-columns: minmax(190px, .75fr) 1.25fr; gap: 24px; }
  .mentor-card.reverse .mentor-image, .mentor-card.reverse .mentor-info { order: 0; }
  .mentor-image img { height: 250px; }
}

@media (max-width: 620px) {
  .navbar, #mentors, footer { width: calc(100% - 28px); }
  .logo-circle { width: 50px; height: 50px; }
  .nav-links { gap: 2px; }
  .nav-links a { min-height: 36px; padding: 0 9px; font-size: 12px; }
  .talk-box { min-width: 125px; }
  #mentors { margin-top: 12px; }
  .mentor-heading { margin-bottom: 20px; padding: 34px 18px; border-radius: 22px; }
  .mentor-heading h1 { font-size: clamp(34px, 10vw, 49px); }
  .heading-description { font-size: 14px; }
  .mentor-card, .mentor-card.reverse {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 21px;
  }
  .mentor-image { min-height: 0; }
  .mentor-image img { width: min(100%, 280px); height: 250px; }
  .mentor-info h2 { font-size: 27px; }
  .mentor-info h3 { font-size: 15px; }
  .mentor-description { font-size: 13px; }
  .mentor-role { align-items: flex-start; }
}

.social-links { margin-top: 19px; display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--purple);
  background: #fff; text-decoration: none; transition: .2s ease;
}
.social-links a:hover { transform: translateY(-3px); color: #fff; background: var(--purple); }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
