@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

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

.forum-section {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
}

.forum-section h1 {
  color: #16697a;
  font-size: 2rem;
}

.forum-section .intro {
  color: #5c6b73;
  margin-bottom: 25px;
}

.disabled-post-box {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.disabled-post-box input {
  width: 70%;
  padding: 10px;
  background-color: #f0f7f7;
  border: 1px solid #d1e9e9;
  border-radius: 6px;
  color: #5c6b73;
}

.disabled-post-box input::placeholder {
  color: #5c6b73;
}

.disabled-post-box input:disabled {
  cursor: not-allowed;
}

.login-btn {
  background-color: #1f7a8c;
  border: none;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

.posts-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.post {
  background-color: #ffffff;
  padding: 15px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.post h4 {
  color: #1f7a8c;
  margin-bottom: 6px;
}

.post p {
  color: #2f4858;
  margin-bottom: 8px;
}

.disabled-btn {
  background: none;
  color: #1f7a8c;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  font-size: 0.9rem;
}

.disabled-btn:hover {
  text-decoration: underline;
}

.disabled-chat {
  background-color: #1f7a8c;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 10px;
}

.badge {
  display: inline-block;
  background-color: #1f7a8c;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-left: 6px;
}

.replies {
  margin-top: 10px;
  border-left: 2px solid #d1e9e9;
  padding-left: 15px;
}

.reply {
  background-color: #f2fafa;
  padding: 8px;
  border-radius: 8px;
  margin-top: 6px;
}

.reply p {
  margin: 0;
  color: #2f4858;
}

.reply small {
  font-size: 0.8rem;
  color: #5c6b73;
}
/* --- HAMBURGER MENU & MOBILE OPTIMIZATION --- */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #1f7a8c;
  border-radius: 2px;
}

/* --- UNIVERSAL MOBILE FIXES (Paste at bottom of CSS files) --- */
@media (max-width: 768px) {
  body, html { width: 100%; overflow-x: hidden; font-size: 14px; }
  
  /* 1. Fix the Navbar (Stack links vertically) */
  .navbar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 20px;
    position: relative;
  }

  /* Mobile Menu */
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 1px solid #f0f7f7;
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  .nav-links a {
    margin: 10px 0;
    font-size: 16px;
    width: 100%;
    text-align: center;
    padding: 10px;
  }
  /* 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;
  }
}
