@font-face {
  font-family: "Nunito";
  src: url(Nunito-VariableFont_wght.ttf) format("truetype");
  font-weight: 600;
  font-style: normal;
}

:root {
  --glass-background: #a9e3d0b2;
  --background: #a9e3d0;
  --page-color: #f8fbfd;
  --scroll-bar-color: #0f6e56;
  --hover-color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito";
}

body, h1, h2, h3, h4, h5, span, p, label {
  user-select: none;
}

/* Form selectors override allowing highlight text strings safety */
input, textarea {
  user-select: text;
}

::-webkit-scrollbar {
  width: 0.6rem;
  background-color: #e9e9ed;
}
::-webkit-scrollbar-thumb {
  background-color: var(--scroll-bar-color);
  border-radius: 10px;
}
*::selection {
  color: white;
  background-color: var(--background);
}
html,
body {
  height: 100%;
  width: 100%;
  overflow-x: clip;
}

/* ---- About Main ---- */
#about-main {
  background: var(--page-color);
}

/* ---- Hero Banner ---- */
.about-hero {
  background: #1a1a2e;
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(169, 227, 208, 0.09) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.about-hero-label {
  display: inline-flex;
  background: rgba(169, 227, 208, 0.12);
  color: #a9e3d0;
  border: 1px solid rgba(169, 227, 208, 0.25);
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
}

.about-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.about-hero h1 span {
  color: #a9e3d0;
}

.about-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 500;
}

/* ---- Mission Section ---- */
.about-mission {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-section-label {
  display: inline-flex;
  background: #a9e3d0;
  color: #1a1a2e;
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.about-mission h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #1a1a2e;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.about-mission h2 span {
  color: #0f6e56;
}

.about-underline {
  width: 60px;
  height: 4px;
  background: #0f6e56;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.about-mission > p {
  font-size: 1.02rem;
  color: #5a6278;
  line-height: 1.9;
  max-width: 820px;
  font-weight: 500;
  margin-bottom: 3rem;
}

/* ---- Values Grid ---- */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: white;
  border: 1.5px solid #e8edf2;
  border-radius: 16px;
  padding: 2rem 1.8rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #0f6e56;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(125, 173, 157, 0.13);
  border-color: #a9e3d0;
}

.value-card:hover::after {
  transform: scaleX(1);
}

.value-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h3 {
  font-size: 1.1rem;
  color: #1a1a2e;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.value-card p {
  font-size: 0.9rem;
  color: #5a6278;
  line-height: 1.75;
  font-weight: 500;
}

/* ---- Stats Strip ---- */
.about-stats {
  background: white;
  border-top: 1px solid #e8edf2;
  border-bottom: 1px solid #e8edf2;
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.about-stat {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 1rem 2rem;
  border-right: 1px solid #e8edf2;
}

.about-stat:last-child {
  border-right: none;
}

.about-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f6e56;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.about-stat-label {
  display: block;
  font-size: 0.83rem;
  color: #5a6278;
  font-weight: 600;
}

/* ---- Contact Strip ---- */
.about-contact {
  padding: 4rem 2rem;
  text-align: center;
  background: #f3faf7;
  padding-bottom: 8rem; /* Keeps layout content clear from floating overlay fields */
}

.about-contact h2 {
  font-size: 1.6rem;
  color: #1a1a2e;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.about-contact p {
  font-size: 0.95rem;
  color: #5a6278;
  margin-bottom: 1.8rem;
  font-weight: 500;
}

.about-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0f6e56;
  color: white;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(125, 173, 157, 0.3);
}

.about-contact-btn:hover {
  background: #6b9e8f;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(125, 173, 157, 0.4);
}

/* =========================================================================
   MENTORSHIP SPLIT STATE ROUTING OVERLAY (MODAL INTERACTIVE POPUP)
   ========================================================================= */
.mentor-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mentor-modal-overlay.modal-active {
  opacity: 1;
  visibility: visible;
}

.mentor-modal-card {
  background: #ffffff;
  width: 90%;
  max-width: 580px;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mentor-modal-overlay.modal-active .mentor-modal-card {
  transform: translateY(0);
}

.mentor-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #a0aec0;
  cursor: pointer;
  transition: color 0.2s ease;
}
.mentor-modal-close:hover {
  color: #4a5568;
}

.mentor-modal-card h2 {
  font-size: 1.6rem;
  color: #1a1a2e;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}

.mentor-modal-card p {
  font-size: 0.95rem;
  color: #5a6278;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.mentor-modal-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.mentor-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 1rem;
  border-radius: 16px;
  text-decoration: none;
  border: 2px solid #e2e8f0;
  transition: all 0.25s ease;
  background: #f8fbfd;
}

.mentor-option-btn .option-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.mentor-option-btn .option-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.mentor-option-btn .option-text p {
  font-size: 0.8rem;
  color: #718096;
  margin-bottom: 0;
  line-height: 1.4;
}

.mentor-option-btn.offline-accent:hover {
  border-color: #3182ce;
  background: #ebf8ff;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(49, 130, 206, 0.1);
}

.mentor-option-btn.online-accent:hover {
  border-color: #0f6e56;
  background: #f3faf7;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(125, 173, 157, 0.15);
}

/* =========================================================================
   EYE-CATCHING GLOWING & FLOATING PERSISTENT ACTIONS BAR
   ========================================================================= */
.persistent-mentor-bar {
  position: fixed;
  bottom: 10%; /* Decreased padding profile metrics directly down to 10% */
  left: 50%;
  width: 90%;
  max-width: 650px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid #0f6e56;
  border-radius: 50px;
  padding: 0.65rem 1.5rem;
  z-index: 999;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
  
  /* State Control Transitions */
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 40px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.4s;
}

/* Dynamic Entrance Trigger combining spatial translation with active keyframe loops */
.persistent-mentor-bar.bar-visible {
  opacity: 1;
  visibility: visible;
  animation: praxesBarFloatUpDown 4s ease-in-out infinite, praxesBarGlowPulse 3s infinite;
}

.floating-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 1rem;
}

.bar-title-hint {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.bar-actions {
  display: flex;
  gap: 0.5rem;
}

.bar-btn {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.offline-bar-btn {
  background: #ebf8ff;
  color: #2b6cb0;
  border: 1px solid #bee3f8;
}
.offline-bar-btn:hover {
  background: #3182ce;
  color: white;
  border-color: #3182ce;
}

.online-bar-btn {
  background: #0f6e56;
  color: white;
  border: 1px solid #0f6e56;
}
.online-bar-btn:hover {
  background: #6b9e8f;
  box-shadow: 0 4px 12px rgba(107, 158, 143, 0.35);
}

/* --- KEYFRAME ANIMATION LOGIC FRAMEWORKS --- */

/* 1. Eye-Catching Gentle Floating Shift */
@keyframes praxesBarFloatUpDown {
  0% {
    transform: translate(-50%, 0px);
  }
  50% {
    transform: translate(-50%, -6px); /* Smooth subtle updrift matrix */
  }
  100% {
    transform: translate(-50%, 0px);
  }
}

/* 2. Soft Emerald Radial Outer Glow Pulse */
@keyframes praxesBarGlowPulse {
  0% {
    box-shadow: 0 8px 25px rgba(125, 173, 157, 0.25);
  }
  50% {
    box-shadow: 0 8px 30px rgba(125, 173, 157, 0.55), 0 0 12px rgba(169, 227, 208, 0.4);
  }
  100% {
    box-shadow: 0 8px 25px rgba(125, 173, 157, 0.25);
  }
}

@media (max-width: 650px) {
  .mentor-modal-card {
    padding: 2rem 1.25rem 1.5rem;
  }
  .mentor-modal-options {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .mentor-option-btn {
    padding: 1.25rem 1rem;
    flex-direction: row;
    gap: 1rem;
    text-align: left;
  }
  .mentor-option-btn .option-icon {
    font-size: 1.8rem;
    margin-bottom: 0;
  }
  
  /* Responsive Bottom Floating Bar Overrides */
  .persistent-mentor-bar {
    border-radius: 20px;
    padding: 0.75rem 1rem;
    bottom: 4%; /* Keeps safe thumb clearance height ratios clean on mobile query frames */
  }
  .persistent-mentor-bar.bar-visible {
    /* Resets center offsets for responsive full-width blocks so animation coordinates safely */
    animation: praxesBarMobileFloat 4s ease-in-out infinite, praxesBarGlowPulse 3s infinite;
  }
  .floating-bar-content {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }
  .bar-actions {
    width: 100%;
  }
  .bar-btn {
    flex: 1;
    font-size: 0.78rem;
    padding: 0.5rem 0.5rem;
  }
}

@keyframes praxesBarMobileFloat {
  0% { transform: translate(-50%, 0px); }
  50% { transform: translate(-50%, -4px); }
  100% { transform: translate(-50%, 0px); }
}