/* 
.faculty-section{
    font-family: Arial, sans-serif;
      background-color: #f4f7f9;
      padding: 40px 20px;
      display: flex;
      justify-content: center;
}
.table-section{
    width: 70vw;
    padding: 20px 10px;
}
 h2, h3 {
      text-align: center;
      color: #2c3e50;
    }

    .table-container {
      /* overflow-x: auto; 
      margin: 20px auto;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      background-color: #fff;
      max-width: 100%;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 800px;
      border-radius: 18px;
      margin-bottom: 10px;
    }

    th, td {
      padding: 12px 15px;
      text-align: center;
      border-bottom: 1px solid #ddd;
    }
tr td{
  color: #000;
  font-weight: 400;
}
    thead {
      background-color: #2e86de;
      color: white;
    }

    tbody tr:nth-child(even) {
      background-color: #f2f6fc;
    }

    tbody tr:hover {
      background-color: #e0ecff;
    }

    th {
      font-weight: bold;
    }

    @media screen and (max-width: 600px) {
      body {
        padding: 20px 10px;
      }
      .table-section{
        width: 95vw;
      }
    } */

    .faculty-section {
  font-family: Arial, sans-serif;
  background-color: #f4f7f9;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.table-section {
  width: 70vw;
  padding: 20px 10px;
}

h2, h3 {
  text-align: center;
  color: #2c3e50;
}

.table-container {
  overflow-x: auto; /* Enable horizontal scroll */
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  max-width: 100%;
  display: block;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px; /* Ensures scroll on small screens */
  border-radius: 18px;
  margin-bottom: 10px;
}

th, td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  white-space: nowrap; /* Prevents wrapping */
}

tr td {
  color: #000;
  font-weight: 400;
}

thead {
  background-color: #2e86de;
  color: white;
}

tbody tr:nth-child(even) {
  background-color: #f2f6fc;
}

tbody tr:hover {
  background-color: #e0ecff;
}

th {
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  body {
    padding: 20px 10px;
  }
  .table-section {
    width: 95vw;
  }
}
