body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f8fdfd;
  color: #2f4858;
}

.professionals-section {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
}

.professionals-section h1 {
  font-size: 32px;
  color: #1f7a8c;
  margin-bottom: 10px;
}

.subtitle {
  margin-bottom: 25px;
  color: #48616f;
}

.mentor-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mentor-card {
  display: flex;
  justify-content: space-between;
  background: white;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #dce5e8;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.mentor-info {
  max-width: 70%;
}

.mentor-name {
  font-size: 22px;
  color: #1f7a8c;
  font-weight: 600;
  margin-bottom: 8px;
  cursor: pointer;
}
.mentor-name.disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.disabled-btn {
  background: #bccfd4;
  cursor: not-allowed;
}

.actions {
  display: flex;
  align-items: flex-start;
}

.chat-btn {
  padding: 8px 14px;
  background: #1f7a8c;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
}
.chat-btn.disabled-btn {
  background: #9cb4bb;
  pointer-events: none;
}

.ai-section {
  margin-top: 40px;
  padding: 28px;
  background: white;
  border: 1px solid #dce5e8;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.ai-section h2 {
  font-size: 24px;
  color: #1f7a8c;
  margin-bottom: 10px;
}

.ai-section p {
  color: #48616f;
  margin-bottom: 18px;
}

.ai-btn {
  padding: 10px 22px;
  background: #1f7a8c;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.ai-btn:hover {
  background: #16697a;
}

.ai-btn.disabled {
  background: #9cb4bb;
  cursor: not-allowed;
}

/* --- UNIVERSAL MOBILE FIXES (Paste at bottom of CSS files) --- */
@media (max-width: 768px) {

  /* 1. Fix the Navbar (Stack links vertically) */
  .navbar {
    flex-direction: column;   /* Stack Logo on top of Links */
    height: auto;             /* Let it grow tall */
    padding: 10px;
  }
  
  .nav-links {
    margin-top: 10px;
    display: flex;
    flex-direction: column;   /* Stack links vertically */
    gap: 10px;
    align-items: center;      /* Center them */
  }

  /* 2. Prevent Horizontal Scrolling (The #1 Clumsy Factor) */
  body, html {
    overflow-x: hidden;       /* Stop the page from wiggling left/right */
    width: 100%;
  }

  /* 3. General Containers (Make them full width) */
  .container, .main-content, .hero, .section {
    width: 95% !important;    /* Use full screen width */
    padding: 10px !important; /* Reduce padding */
    margin: 0 auto;
    flex-direction: column;   /* Stack content vertically */
  }

  /* 4. Fix Grids (For Mentors/Stories pages) */
  .grid, .card-container {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr; /* Force 1 column instead of 3 */
  }
  
  /* 5. Fix Cards */
  .card {
    width: 100%;
    margin-bottom: 15px;
  }
}