
.office-of-dg-titles {
    margin: 1rem 0;
}

.office-of-dg-btns {
    margin: 2rem;
}

.office-of-dg-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.office-of-dg-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/img/dgoffice1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: brightness(30%);
}

.office-of-dg-hero-content {
    position: relative;
    color: white;
    text-align: center;
    margin-top: 3rem;
 }
 
.dg-office-title {
    color: #fff;
    font-size: 6rem;
    justify-content: center;
    align-items: center;
}


/* NYSC - Certificate EXP Styling */

.article-section ul {
  list-style-type: circle;
}


/* Past DGs Table Styling */

.styled-table {
    width: 90%;
    margin: 0 auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-collapse: collapse; 
    border-radius: 10px; 
    overflow: hidden; 
  }

  .styled-table th {
    color: #147119; 
  }
  
  .styled-table th,
  .styled-table td {
    padding: 10px 15px; 
    text-align: left; 
    border: 1px solid #ccc; 
    font-weight: bold;
  }

  .styled-table tr:hover td {
    transform: scale(1.01);
    box-sizing: inherit;
    background-color: #f2f2f2;
  }

  .styled-table tr td:nth-child(3) {
    width: 40%;
  }
  
  .mobtable tr:hover td {
    transform: none;
    box-sizing: none;
  }


  .styled-table td {
    transition: transform 0.2s ease-in-out; /* Add a smooth transition */
    
  }
  
  /* Responsive table container for horizontal scroll on small screens */
  .table-responsive-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Improve table readability and wrapping */
  .styled-table,
  .styled-table th,
  .styled-table td {
    word-wrap: break-word;
    text-overflow: wrap;
    /* overflow: none; */
  }
  
  .styled-table th,
  .styled-table td {
    white-space: normal;
    vertical-align: top;
  }
  
  
  
  /* Styling for table headers (optional) */
  .styled-table th {
    background-color: #f2f2f2;
    font-weight: bold;
  }

  /* Mobile for Past DGs Page */
  @media (max-width: 768px) {
    .styled-table {
      max-width: 100%;

    }

      .styled-table th,
      .styled-table td {
        padding: 6px 8px; 
        font-size: 0.9rem;
      }

      /* Narrow first column, allow event to take more width */
      .mobtable td:nth-child(1),
      .mobtable th:nth-child(1) {
        width: 10%;
        min-width: 48px;
        text-align: center;
        white-space: nowrap;
      }

      .mobtable td:nth-child(2),
      .mobtable th:nth-child(2) {
        width: 60% !important;
      }

      .mobtable td:nth-child(3),
      .mobtable th:nth-child(3) {
        width: 20%;
      }
    
      .styled-table tr:hover td {
        transform: none;
        box-sizing: none;
        background-color: none;
      }
      
    
      .styled-table td {
        transition: none; /* Add a smooth transition */

        
      }

      /* Ensure long dates do not overflow */
      .mobtable td:nth-child(3) {
        white-space: nowrap;
      }

      

      /* .nhia-table tr td:nth-child(6) {
        word-wrap: break-word;
      } */
  }

  /* Very small phones */
  @media (max-width: 420px) {
    .styled-table th,
    .styled-table td {
      padding: 6px;
      font-size: 0.85rem;
    }
  }
  


  /* PAYMENTS STYLES */

.payments-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/img/credit-card.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: brightness(30%);
}

.payments-hero-content {
    position: relative;
    color: white;
    text-align: center;
    margin-top: 3rem;
 }
 
.payments-title {
    color: #fff;
    font-size: 6rem;
    justify-content: center;
    align-items: center;
}


/* CORRECT DOB PAGE */
.correctdob-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/img/man-write.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    filter: brightness(30%);
}


/* SUPPORTLINE TABLE STYLING */
.support-line-hero {
  background-color: #147119;
  position: relative;
  width: 100%;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.support-line-hero .support-line-content lottie-player {
  color: #147119;
}

.support-line-table {
  border-collapse: collapse; /* Removes extra spacing between cells */
  font-family: sans-serif; /* Improves readability */
  margin: 1em auto; /* Centers the table on the page */
  width: 80%; /* Optimizes width for better fit */
}

.support-line-table th {
  background-color: #f2f2f2; /* Light gray header background */
  padding: 10px; /* Adds spacing around text */
  text-align: left; /* Aligns header text to the left */
  color: #147119; /* Ensures header text is legible */
  font-weight: bold; /* Bolds header text */
}

.support-line-table td {
  border: 1px solid #ddd; /* Adds borders around cells */
  padding: 8px; /* Adds spacing around text */
  text-align: left; /* Aligns cell text to the left */
  word-wrap: break-word !important;
  max-width: 30px;
}

/* Alternating row colors for better visual distinction */
.support-line-table tr:nth-child(even) {
  background-color: #f5f5f5;
}
