:root {
      --primary: #007bff;
      --navy: #0a3663;
      --navy-dark: #072242;
      --slate-50: #f8fafc;
      --slate-100: #f1f5f9;
      --slate-200: #e2e8f0;
      --slate-600: #475569;
      --slate-800: #1e293b;
    }

    body {
      background: #f4f7f6;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      color: #2c3e50;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* Navbar */
    .navbar {
      background: #ffffff;
      border-bottom: 1px solid #e0e0e0;
      padding: 10px 24px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    }

    .navbar-brand {
      font-weight: 700;
      color: #007bff !important;
      font-size: 1.25rem;
    }

    .nav-link {
      color: #555 !important;
      font-weight: 500;
      margin-right: 8px;
      transition: color 0.15s ease;
    }

    .nav-link:hover,
    .nav-link.active {
      color: #007bff !important;
    }

    .nav-btn-join {
      background: #0284c7;
      color: white !important;
      font-weight: 600;
      padding: 6px 14px;
      border-radius: 6px;
      text-decoration: none;
      font-size: 0.9rem;
    }

    .nav-btn-join:hover {
      background: #0369a1;
      text-decoration: none;
    }

    /* Main Container */
    .main-content {
      max-width: 1140px;
      margin: 30px auto 60px auto;
      padding: 0 20px;
      flex: 1;
      width: 100%;
    }

    /* Hero Banner */
    .hero-forum {
      background: linear-gradient(135deg, #0a3663 0%, #1e40af 100%);
      color: #ffffff;
      border-radius: 14px;
      padding: 38px 36px;
      margin-bottom: 30px;
      box-shadow: 0 10px 25px rgba(10, 54, 99, 0.12);
    }

    .hero-title {
      font-family: 'Outfit', sans-serif;
      font-weight: 800;
      font-size: 2.2rem;
      letter-spacing: -0.5px;
      margin-bottom: 10px;
    }

    .hero-sub {
      font-size: 1.05rem;
      color: #e0f2fe;
      margin: 0;
      max-width: 800px;
    }

    /* Ask & Filter Bar */
    .action-bar {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 20px 24px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
      margin-bottom: 25px;
    }

    .btn-ask {
      background: #10b981;
      color: white;
      font-weight: 700;
      border-radius: 8px;
      padding: 10px 22px;
      border: none;
      transition: background 0.15s ease;
    }

    .btn-ask:hover {
      background: #059669;
      color: white;
    }

    .filter-btn {
      background: #f1f5f9;
      color: #475569;
      border: 1px solid #e2e8f0;
      border-radius: 6px;
      padding: 6px 14px;
      font-size: 0.88rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s ease;
      margin-right: 6px;
      margin-bottom: 6px;
    }

    .filter-btn.active,
    .filter-btn:hover {
      background: #0284c7;
      color: #ffffff;
      border-color: #0284c7;
    }

    /* Question Item */
    .question-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 24px 28px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
      margin-bottom: 18px;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .question-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    }

    .question-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 10px;
    }

    .question-title {
      font-family: 'Outfit', sans-serif;
      font-weight: 700;
      font-size: 1.25rem;
      color: #0a3663;
      margin: 0;
      line-height: 1.4;
    }

    .question-title a {
      color: inherit;
      text-decoration: none;
    }

    .question-title a:hover {
      color: #007bff;
    }

    .badge-answers {
      background: #ecfdf5;
      color: #047857;
      border: 1px solid #a7f3d0;
      font-weight: 700;
      font-size: 0.82rem;
      padding: 4px 10px;
      border-radius: 20px;
      white-space: nowrap;
      margin-left: 14px;
    }

    .question-content-preview {
      color: #475569;
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 14px;
    }

    .question-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
      border-top: 1px solid #f1f5f9;
      padding-top: 12px;
      font-size: 0.86rem;
      color: #94a3b8;
    }

    .badge-tag {
      background: #f1f5f9;
      color: #475569;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 0.8rem;
      margin-right: 4px;
    }

    /* Answers Display */
    .answer-box {
      background: #f8fafc;
      border-left: 4px solid #10b981;
      padding: 18px 22px;
      border-radius: 6px;
      margin-bottom: 16px;
    }

    .answer-author {
      font-weight: 700;
      color: #0a3663;
      font-size: 0.95rem;
      margin-bottom: 6px;
    }

    .answer-content {
      color: #334155;
      font-size: 0.95rem;
      line-height: 1.7;
      margin: 0;
    }

    /* Footer */
    footer {
      background: #ffffff;
      border-top: 1px solid #e0e0e0;
      padding: 30px 20px 20px;
      color: #64748b;
      font-size: 0.9rem;
      margin-top: auto;
    }

    .footer-links a {
      color: #475569;
      text-decoration: none;
      margin: 0 12px;
      transition: color 0.15s ease;
    }

    .footer-links a:hover {
      color: #007bff;
    }
