  .scholarships {
      height: 50vh;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      color: var(--light);
      position: relative;
      overflow: hidden;
      padding-left: 50px;
      background: #F5F8FA;
  }

  .scholarships::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 50%;
      height: 100%;
      background: url('../img/scholarship.png') no-repeat center center/cover;
      z-index: 1000;
  }

  .scholarships::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
  }

  .scholarships-container {
      position: relative;
      z-index: 1;
      text-align: left;
      width: 50%;
      padding: 20px;
      border-radius: 8px;
  }

  .scholarships-container h1 {
      font-size: 1.5rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--light);
      margin-bottom: 10px;
      color: var(--blue);
  }

  .scholarships-container p.contact-text {
      font-size: 1.2rem;
      color: var(--light-blue);
      margin-bottom: 40px;
      letter-spacing: 1px;
      color: var(--grey);
  }

  /* TABLE STYLES */
  .scholarship-table-container {
      padding: 40px;
      background: #F8F8F8;
  }

  .scholarship-table {
      width: 100%;
      margin: 0 auto;
      max-width: 1200px;
      border-collapse: collapse;
      background: #fff;
      border: 1px solid #ccc;
  }

  .scholarship-table tr:hover,
  .scholarship-table td:hover {
      background-color: #ECECEC;
  }

  .scholarship-table thead {
      color: var(--grey);
      font-size: 24px;
      font-weight: 600;
      background-color: #f1f1f1;
  }

  .scholarship-table thead th {
      padding: 14px 18px;
      text-align: left;
      font-size: 16px;
      text-transform: uppercase;
      letter-spacing: 1px;
      border: 1px solid #ccc;
  }

  .scholarship-table tbody tr {
      color: var(--grey);
  }

  .scholarship-table tbody tr:nth-child(even) {
      background: #f9f9f9;
  }

  .scholarship-table tbody td {
      padding: 14px 18px;
      font-size: 15px;
      color: var(--grey);
      vertical-align: top;
      border: 1px solid #ccc;
      /* cell borders */
  }

  .scholarship-table .col-category {
      width: 30%;
  }

  .scholarship-table .col-description {
      width: 70%;
      line-height: 1.6;
  }

  /* ===========================
   Default (Desktop / Large screens)
   Your existing CSS is already desktop-first
=========================== */

/* ===========================
   Extra Large Screens (min-width: 1400px)
=========================== */
@media (min-width: 1400px) {
  .scholarships {
    height: 60vh;
    padding-left: 80px;
  }

  .scholarships-container h1 {
    font-size: 2.2rem;
  }

  .scholarship-table thead {
    font-size: 26px;
  }
}

/* ===========================
   Laptops / Desktops (max-width: 1200px)
=========================== */
@media (max-width: 1200px) {
  .scholarships {
    height: 50vh;
    padding-left: 30px;
  }

  .scholarships-container {
    width: 60%;
  }

  .scholarships-container h1 {
    font-size: 1.8rem;
  }
}

/* ===========================
   Tablets Landscape (max-width: 1024px)
=========================== */
@media (max-width: 1024px) {
  .scholarships {
    flex-direction: column;
    height: auto;
    padding: 30px 20px;
  }

  .scholarships::before {
    width: 100%;
    height: 250px;
    position: relative;
  }

  .scholarships-container {
    width: 100%;
    text-align: center;
    padding: 20px;
  }

  .scholarships-container h1 {
    font-size: 1.6rem;
  }

  .scholarships-container p.contact-text {
    font-size: 1rem;
  }

  .scholarship-table-container {
    padding: 20px;
  }
}

/* ===========================
   Tablets Portrait (max-width: 768px)
=========================== */
@media (max-width: 768px) {
  .scholarships {
    padding: 20px;
    text-align: center;
  }

  .scholarships::before {
    display: none; /* hide bg image for clean look */
  }

  .scholarships-container {
    width: 100%;
    padding: 10px;
  }

  .scholarships-container h1 {
    font-size: 1.4rem;
  }

  .scholarships-container p.contact-text {
    font-size: 0.95rem;
  }

  .scholarship-table thead {
    font-size: 18px;
  }

  .scholarship-table thead th,
  .scholarship-table tbody td {
    font-size: 14px;
    padding: 10px;
  }
}

/* ===========================
   Mobile Devices (max-width: 480px)
=========================== */
@media (max-width: 480px) {
  .scholarships {
    padding: 15px;
  }

  .scholarships-container h1 {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .scholarships-container p.contact-text {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .scholarship-table {
    display: block;
    overflow-x: auto; /* allow scrolling */
    white-space: nowrap;
  }

  .scholarship-table thead {
    font-size: 16px;
  }

  .scholarship-table thead th,
  .scholarship-table tbody td {
    font-size: 13px;
    padding: 8px;
  }
}
