body {
      font-family: 'Noto Sans Thai', sans-serif !important;
      background: linear-gradient(to right, #f0f4f8, #e8f0fe);
    }

    /* Navbar */
    .navbar {
      background: linear-gradient(90deg, #4A00E0, #8E2DE2) !important;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .navbar-brand, .nav-link {
      color: #fff !important;
      font-weight: 500;
    }

    .nav-link:hover, .nav-link.active {
      background-color: rgba(255, 255, 255, 0.2);
      border-radius: 0.5rem;
    }

    .navbar-logo {
      height: 44px;
      width: 44px;
      object-fit: cover;
      border-radius: 50%;
    }

    /* Header */
    h1 {
      text-align: center;
      font-size: 2.5rem;
      margin: 30px 0 40px 0;
      color: #4A00E0 !important;
      font-weight: 700;
    }

    /* Person Card */
    .person-card {
      background: #ffffff;
      border-radius: 15px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
      padding: 20px;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      margin-bottom: 30px;
      height: 100%; 
    }
    .person-card:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    }

    .person-card img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  object-fit: contain; 
  background-color: #f8f9fa;
  border: 4px solid #e0e0e0;
  margin-bottom: 15px;
  transition: border-color 0.3s;
}
    .person-card:hover img {
      border-color: #8E2DE2;
    }
    
    /* รูปโปรไฟล์เริ่มต้น (กรณีว่าง) */
    .profile-img-placeholder {
      background-color: #e9ecef;
      border-color: #ced4da;
    }

    .person-card .name {
      font-weight: 600;
      font-size: 1.15rem;
      color: #333;
      margin-bottom: 5px;
    }

    .person-card .position {
      font-size: 0.95rem;
      color: #555;
    }

    /* Leader Card (หัวหน้าฝ่าย) */
    .leader-card {
      border: 2px solid #4A00E0;
      background: linear-gradient(145deg, #f9f7ff, #f0eaff);
    }
    .leader-card img {
      width: 180px;
      height: 180px;
      border-color: #4A00E0;
    }
    .leader-card .name {
      color: #4A00E0;
      font-size: 1.3rem;
    }
    .leader-card .position {
      font-weight: 500;
      color: #6a1b9a;
    }
    /* สถานะ "ว่าง" */
    .leader-card .name strong {
      color: #000000; 
      font-size: 1.5rem;
    }

    /* Footer */
    footer {
      background: linear-gradient(90deg, #263238, #37474f);
      color: #fff;
      margin-top: 40px;
    }
    footer a {
      color: #90caf9;
      text-decoration: none;
    }
    footer a:hover {
      text-decoration: underline;
    }