#academics {
  min-height: 100vh;
}
/* tab start */
#academic-courses {
  display: flex;
  gap: 25px;
  margin-bottom: 50px;
}
#academic-courses .tab-heading {
  padding: 0;
}

#academic-courses .active[data-tab-content] {
  display: block;
  color: #000000;
}

#academic-courses .tab.active {
  font-size: 18px;
  color: #23559b;
  font-weight: 600;
  border-color: #23559b;
  min-width: 200px;
  text-align: left;
  padding: 20px 20px 20px 10px;
  padding: 20px 5px 20px 5px;
  background-color: #d0bb6800;
  cursor: pointer;
}

#academic-courses [data-tab-content] {
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease;
}

#academic-courses .active[data-tab-content] {
  visibility: visible;
  opacity: 1;
  height: auto;
}

#academic-courses .common-tab {
  display: grid;
  /* gap: 30px; */
  list-style: none;
  padding: 0;
  margin: 0;
}
.div-full{
flex-grow: 1;
}
#academic-courses .common-tab li {
  border-bottom: 2px solid #cfcfcf;
  padding: 20px 5px 20px 5px;
  min-width: 250px;
  text-align: left;
  font-size: 18px;
  cursor: pointer;
  white-space: nowrap;
  line-height: 25px;
  font-weight: 400;
  color: #858687;
}
/* common */
.title-academic {
  font-size: 28px;
  font-weight: 600;
  color: #23559b;
  margin-bottom: 15px;
}
.courses-intro img {
  width: 100%;
  height: 358px;
  object-fit: cover;
  border-radius: 20px;
}
.courses-intro p {
  color: #2d2525;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  margin-bottom: 24px;
}
.intro-top {
  margin-top: 15px;
}
.top-inner {
  width: 75%;
}
.courses-intro iframe {
  width: 85%;
  height: 600px;
  margin-top: 25px;
}
.courses-buttn {
  margin-top: 25px;
}
/* Background wipe effect */
.submit-btn {
  position: relative;
  border: 1px solid #23559b;
  background-color: #d5b65a;
  color: #383939;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  width: 150px;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease-in-out;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #23559b;
  /* Hover background color */
  z-index: -1;
  transition: width 0.3s ease-in-out;
  border-radius: 25px;
}

.submit-btn:hover {
  color: white;
}

.submit-btn:hover::before {
  width: 100%;
}
.title-sub {
  font-size: 18px;
  font-weight: 600;
  color: #23559b;
}
.intro-top ul {
  margin-top: 15px;
  list-style-type: disc;
}
.intro-top ul li {
  margin-bottom: 5px;
  margin-left: 20px;
  line-height: 24px;
  font-size: 16px;
}
.blue-banner {
  border-radius: 10px;
  margin-top: 30px;
  background: #23559b;
  min-height: 273px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.blue-banner h5 {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  line-height: 34px;
  margin-bottom: 15px;
}
.flex-right {
  display: flex;
  gap: 20px;
  align-items: center;
}
.flex-right p {
  font-size: 16px;
  color: #fff;
  margin-bottom: 0px;
}
.flex-right-back p {
  font-size: 16px;
  margin-bottom: 0px;
}
.flex-right img {
  width: 32px;
  height: 32px;
  border-radius: 0;
}
.blue-1 {
  padding: 40px 25px;
}
.blue-2 img {
  display: block;
  padding-right: 30px;
}
.flex-right-back img {
  width: 32px;
  height: 32px;
}
.flex-right-back {
  margin: 10px 0;
  display: inline-flex;
  background: #fff;
  padding: 8px 25px;
  border-radius: 24px;
  align-items: center;
  gap: 5px;
}
.courses-intro a {
  text-decoration: none;
}
/* scholarship */
.scholarship h4 {
  background: #ebf3ff;
  color: #23559b;
  font-size: 16px;
  font-weight: 600;
  padding: 10px;
  margin-bottom: 15px;
}
.scholarship p {
  color: #2d2525;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  margin-bottom: 0;
}
.scholarship .scholarship-inner {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.scholarship-inner img {
  width: 100%;
  height: 193px;
  object-fit: cover;
  object-position: top;
}
/* accordian */
.accordion {
  margin: 20px auto;
}

.accordion-item {
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.accordion-header {
  padding: 10px 15px;
  background-color: #ebf3ff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.accordion-header:hover {
  background-color: #eee;
}
.accordion-arrow {
  color: #000000;
  margin-top: 5px;
}
.accordion-header span {
  color: #23559b;
  font-size: 16px;
  font-weight: 600;
}
.accordion-arrow svg {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow svg {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 15px;
  max-height: fit-content;
}
.mentor-top {
  margin-top: 15px;
}
.mentor-top p {
  margin-bottom: 3px;
}
.mentor-inner {
  margin-top: 15px;
  width: 75%;
}
.ment {
  margin-top: 25px;
}
.mentor-process {
  width: 766px !important;
  height: 350px !important;
  object-fit: contain !important;
}
.mentor-list h5 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}
.mentor-list ul {
  margin-bottom: 5px;
}
.mentor-list ul li {
  margin-bottom: 3px;
  list-style-type: none;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
/* button pdf */
.courses-meta-inner {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 30px;
}
.courses-meta-inner .news-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
  color: #383939;
  padding: 10px 40px;
  font-weight: 600;
  border-radius: 25px;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  border: 1px solid #23559b;
  transition: color 0.3s ease-in-out;
  z-index: 1;
}
.courses-meta-inner .news-button .pdf {
  width: 28px;
  height: 28px;
}
/* Background wipe effect */
.courses-meta-inner .news-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #23559b;
  transition: width 0.3s ease-in-out;
  border-radius: 25px;
  z-index: -1;
}

/* Initial background */
.courses-meta-inner .news-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #d0bb68;
  z-index: -2;
  border-radius: 25px;
}

/* On hover: background expands and text color changes */
.courses-meta-inner .news-button:hover::before {
  width: 100%;
}

.courses-meta-inner .news-button:hover {
  color: white;
}
#mentorship .projects-table,
#faculty .projects-table,
#peer .projects-table,
#skill .projects-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  overflow: hidden;
  background: #ffffff;
  border-radius: 15px;
}

#mentorship .projects-table thead tr,
#faculty .projects-table thead tr,
#peer .projects-table thead tr,
#skill .projects-table thead tr {
  background-color: #cfcfcf52;
  color: #23559b;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  border-radius: 15px;
}

#mentorship .projects-table th,
#faculty .projects-table th,
#peer .projects-table th,
#skill .projects-table th {
  padding: 20px;
  font-size: 14px;
  color: #23559b;
  white-space: unset;
  font-weight: 600;
}

#mentorship .projects-table td,
#faculty .projects-table td,
#peer .projects-table td,
#skill .projects-table td {
  padding: 20px;
  font-size: 14px;
  color: #383939;
}

#mentorship .projects-table tbody tr,
#faculty .projects-table tbody tr,
#peer .projects-table tbody tr,
#skill .projects-table tbody tr {
  background-color: transparent;
  transition: background-color 0.2s;
}

#mentorship .projects-table tbody tr:hover,
#faculty .projects-table tbody tr:hover,
#peer .projects-table tbody tr:hover,
#skill .projects-table tbody tr:hover {
  background-color: #cfcfcf52;
}

#mentorship .status,
#faculty .status,
#peer .status,
#skill .status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 400;
}

#mentorship .status-completed,
#faculty .status-completed,
#peer .status-completed,
#skill .status-completed {
  background-color: #01c12a;
  color: #fff;
}

#mentorship .projects-table th:first-child,
#faculty .projects-table th:first-child,
#peer .projects-table th:first-child,
#skill .projects-table th:first-child {
  border-top-left-radius: 15px;
}

#mentorship .projects-table th:last-child,
#faculty .projects-table th:last-child,
#peer .projects-table th:last-child,
#skill .projects-table th:last-child {
  border-top-right-radius: 15px;
}

#mentorship .status-ongoing,
#faculty .status-ongoing,
#peer .status-ongoing,
#skill .status-ongoing {
  background-color: #fbdd58;
  color: #383939;
}

#mentorship .project-title,
#faculty .project-title,
#peer .project-title,
#skill .project-title {
  font-weight: 500;
  color: #2c3e50;
}

#mentorship .project-title a,
#faculty .project-title a,
#peer .project-title a,
#skill .project-title a {
  font-weight: 500;
  color: #2c3e50;
  text-decoration: none;
}

#mentorship .project-lead,
#faculty .project-lead,
#peer .project-lead,
#skill .project-lead {
  width: 28%;
}

.mentor-gallery {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.mentor-gallery-inner img {
  width: 100%;
  height: 193px;
  object-fit: cover;
}
.mentor-gallery-inner p {
  font-size: 16px;
  font-weight: 400;
}
/* common */
/* hostel css */
.hostel-tab p {
  font-size: 16px;
  font-weight: 400;
  color: #2d2525;
  line-height: 24px;
}
.hostel-tab img {
  width: 850px;
  height: 478px;
  object-fit: contain;
  margin-top: 25px;
  margin-bottom: 25px;
}
.list-div li {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 20px;
  font-size: 16px;
}
.timings-container {
  margin-top: 25px;
}
.timing-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.timing-profile p {
  color: #23559b;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px;
}
.timing-email {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.timing-profile img,
.timing-email img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 0px;
}
.timing-email p {
  color: #23559b;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0px;
  color: #000000;
}
.name-title {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 600;
}
.title-small {
  margin: 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: #23559b;
}
/* table */
.date-table {
  width: auto;
  border-radius: 20px;
  border-collapse: collapse;
  margin: 20px 0;
  overflow: hidden;
  background: #fff;
}
.date-table tr th {
  background-color: #cfcfcf72;
  color: #23559b;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.date-table th {
  padding: 20px;
  font-size: 16px;
  color: #23559b;
  white-space: nowrap;
  font-weight: 600;
}
.date-table td {
  padding: 20px 40px 15px 20px;
  font-size: 14px;
  color: #383939;
}
.date-table td:first-child {
  font-weight: 600;
}
/* table2 */
/* table */
.date-table-curve {
  width: 80%;
  border-radius: 20px;
  border-collapse: collapse;
  margin: 20px 0;
  overflow: hidden;
  background: #fff;
}
.date-table-curve tr th {
  background-color: #cfcfcf72;
  color: #23559b;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.date-table-curve th {
  padding: 20px;
  font-size: 16px;
  color: #23559b;
  white-space: nowrap;
  font-weight: 600;
}
.date-table-curve td {
  padding: 10px 40px 10px 20px;
  font-size: 14px;
  color: #383939;
}
.date-table-curve td:nth-child(2) {
  white-space: nowrap;
}
.date-table-curve td img {
  width: 180px;
  height: 47px;
  object-fit: contain;
  margin: 12px 0;
}
.date-table-curve td a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.date-table-curve tr th:first-child {
  border-bottom-left-radius: 20px;
}
.date-table-curve tr th:last-child {
  border-bottom-right-radius: 20px;
}
h4.blue {
  background: #ebf3ff;
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  padding: 10px;
  margin-bottom: 15px;
  text-decoration: none;
}
h4.blue a {
  background: #ebf3ff;
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 15px;
  text-decoration: none;
}

.div-tr {
  padding: 10px 0;
}
/* table2 */
.pdf-viewer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pdf-viewer a {
  border: 1px solid #000000;
  text-align: center;
  padding: 5px;
  color: #000000;
  text-decoration: none;
  border-radius: 20px;
}
.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
  justify-content: center;
  place-items: center;
}
.gallery-box img {
  height: 193px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 5px;
  border-radius: 20px;
}
.gallery-box p {
  font-size: 16px;
  font-weight: 400;
}
.mt-cus {
  margin-top: 15px;
}
.campus-meta-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.campus-meta-inner .news-button {
  display: inline-grid;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
  color: #383939;
  padding: 10px 20px;
  font-weight: 700;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  border: 1px solid #23559b;
  transition: color 0.3s ease-in-out;
  z-index: 1;
}
.campus-meta-inner .news-button .pdf {
  width: 28px;
  height: 28px;
}
/* Background wipe effect */
.campus-meta-inner .news-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #23559b;
  transition: width 0.3s ease-in-out;
  border-radius: 25px;
  z-index: -1;
}

/* Initial background */
.campus-meta-inner .news-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #d0bb68;
  z-index: -2;
  border-radius: 25px;
}

/* On hover: background expands and text color changes */
.campus-meta-inner .news-button:hover::before {
  width: 100%;
}

.campus-meta-inner .news-button:hover {
  color: white;
}
/* hostelcss */
/* lib css */
.img-space {
  width: 100%;
  height: 396px;
  object-fit: cover;
  border-radius: 20px;
}
.title-lg{
    font-size: 24px;
  font-weight: 600;
  margin: 18px 0px;
  color: #23559b;
}
.title-xs {
  font-size: 16px;
  font-weight: 700;
  margin: 18px 0px;
  color: #23559b;
}
.paragraph p {
  font-size: 16px;
  font-weight: 400;
  color: #2d2525;
  line-height: 24px;
  margin-bottom: 30px;
}
.student-intro-img {
  width: 672px;
  height: 102px;
  object-fit: contain;
  border-radius: 20px;
}
.title-h3 {
  margin-top: 15px;
  color: #23559b;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}
.notes-div h4 {
  font-size: 14px;
  line-height: 20px;
  color: #00000057;
  font-weight: 600;
  margin-bottom: 5px;
}
.notes-div p {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #000000;
}
/* lib css */
/* inner table year */
.tabs-contents {
        display: flex;
        gap: 15px;
      }
 .tabs-contents .tabs {
       display: inline-flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-direction: column;
      }
 .tabs-contents  .tab-btn {
        padding: 8px 16px;
        background: transparent;
        border: none;
        border-radius: 4px;
        cursor: pointer;
      }
  .tabs-contents .tab-btn.active {
        background: #23559b;
        color: white;
      }
      .tabs-contents .tab-content {
        display: none;
      }
      .tabs-contents .tab-content.active {
        display: block;
      }
      .tabs-contents .committee-member {
        margin-bottom: 10px;
      }
     .tabs-contents  .position {
        font-weight: bold;
        color: #23559b;
      }
      .tab-con{
        flex: 1;
      }
#student-committee {
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

#student-committee .committee-container {
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

#student-committee .committee-header {
  background-color: #cfcfcf3b;
  color: #23559b;
  padding: 15px 25px;
  text-align: left;
  border-radius: 20px;
}

#student-committee .committee-header h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

#student-committee .committee-header p {
  font-size: 16px;
  opacity: 0.9;
}

#student-committee .committee-list {
  padding: 0px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

#student-committee .member {
  display: block;
  padding: 12px 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid #eee;
}

#student-committee .member:last-child,
#student-committee .member:nth-last-child(2) {
  border-bottom: none;
}
#student-committee .position {
  flex: 1;
  font-weight: 600;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
}

#student-committee .name {
  flex: 1;
  font-size: 14px;
  font-weight: 400;
}
/* calendar  */
/* calendar  */
#calendar_id .calendar-description {
  margin-bottom: 30px;
}

#calendar_id .calendar-description h1 {
  color: #2c3e50;
  margin-bottom: 10px;
}

#calendar_id {
  display: flex;
  gap: 30px;
}

#calendar_id .events-sidebar {
  width: 100%;
  background: #fff;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
#calendar_id .event-item {
  margin-bottom: 20px;
  padding-bottom: 15px;
}
#calendar_id .event-item p {
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limit to 4 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 15px;
}
#calendar_id .event-item h3 {
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  margin: 15px 0 5px 0;
}

#calendar_id .event-date-cal {
  color: #23559b !important;
  font-size: 0.9em;
  background: #dddddd;
  font-weight: 600 !important;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  padding: 10px;
}

#calendar_id .month-calendar {
  width: 100%;
  background: #fff;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

#calendar_id .month-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

#calendar_id .month-title {
  font-size: 16px;
  font-weight: 400;
  color: #000000;
}

#calendar_id .nav-arrow {
  background: #fff;
  color: #000000;
  border: none;
  border-radius: 50%;
  padding: 5px 15px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;
}

#calendar_id .nav-arrow:hover {
  background: #2980b9;
}

#calendar_id .weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2c3e50;
}
#calendar_id .weekdays div {
  font-size: 14px;
  color: #858687;
}

#calendar_id .days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
#calendar_id .days-grid > div {
    display: flex;
    align-items: center;   /* vertical center */
    justify-content: center; /* horizontal center */
}
#calendar_id .day {
  padding: 12px 5px;
  text-align: center;
  border-radius: 100%;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
  color: #000000;
  /* Ensure consistent height and alignment */
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

#calendar_id .day:hover {
  /* background: #e0e0e0; */
}

#calendar_id .day.today {
  background: #23559b;
  color: white;
  margin: auto;
  font-weight: bold;
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 0 !important;
  width: 40px;
  height: 40px;
  font-size: 16px;
}

#calendar_id .day.selected {
  background: #2c3e50;
  color: white;
    margin: auto;
  font-weight: bold;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 !important;
  width: 40px;
  height: 40px;
  font-size: 16px;
}

#calendar_id .day.has-event::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: #e74c3c;
  border-radius: 50%;
  /* Position the dot absolutely to avoid affecting layout */
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  /* Remove margin that was causing layout issues */
  margin: 0;
}

#calendar_id .no-events {
  color: #7f8c8d;
  font-style: italic;
}
#calendar_id .event-flex-cal {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
} /* //ends */
/* ends */ /* tabends */
@media (max-width: 768px) {
  #academic-courses {
    display: block;
    gap: 20px;
  }
  #academic-courses .common-tab {
    display: flex;
  }
  /* Horizontal scrolling for all tab containers */
  #academic-courses .common-tab {
    margin-top: 40px;
    margin-bottom: 40px;
    overflow-x: auto; /* Enables horizontal scrolling */
    white-space: nowrap; /* Prevents items from wrapping */
    gap: 15px;
  }

  /* Hide scrollbar for all tab containers (optional) */
  #academic-courses .common-tab::-webkit-scrollbar {
    display: none;
  }
  #mentorship .table-container,
  #faculty .table-container,
  #peer .table-container,
  #skill .table-container {
    overflow-x: auto;
    width: 100%;
    scrollbar-color: #1f56a6 transparent; /* Firefox */
    scrollbar-width: thin;
    border-radius: 10px;
  }

  #mentorship .projects-table,
  #faculty .projects-table,
  #peer .projects-table,
  #skill .projects-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    min-width: 600px;
  }

  /* For WebKit browsers (Chrome, Safari, Edge) */
  #mentorship .table-container::-webkit-scrollbar,
  #faculty .table-container::-webkit-scrollbar,
  #peer .table-container::-webkit-scrollbar,
  #skill .table-container::-webkit-scrollbar {
    height: 4px;
    width: 4px;
  }

  #mentorship .table-container::-webkit-scrollbar-track,
  #faculty .table-container::-webkit-scrollbar-track,
  #peer .table-container::-webkit-scrollbar-track,
  #skill .table-container::-webkit-scrollbar-track {
    background: transparent;
  }

  #mentorship .table-container::-webkit-scrollbar-thumb,
  #faculty .table-container::-webkit-scrollbar-thumb,
  #peer .table-container::-webkit-scrollbar-thumb,
  #skill .table-container::-webkit-scrollbar-thumb {
    background-color: #1f56a6;
    border-radius: 10px;
  }

  .scholarship .scholarship-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .mentor-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .campus-meta-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

}
@media (max-width: 1024px) {
  #calendar_id {
    flex-direction: column-reverse;
  }
  #calendar_id .days-grid {
    align-items: center; /* Centers vertically */
    justify-items: center;
  }
  .mentor-process {
    width: 100% !important;
    height: 258px !important;
  }
  .hostel-tab img {
    width: 100%;
    height: 478px;
  }
  .hostel-tab img {
    height: 193px;
    object-position: left;
  }
  .date-table-curve td img {
    width: 100px;
  }
  .date-table-curve td:nth-child(2) {
    white-space: pre-wrap;
  }
  .img-space {
    height: 233px;
  }
}

@media (max-width: 767px) {
  .blue-banner {
    grid-template-columns: 1fr;
  }
  .blue-2 img {
    padding-right: 0px;
  }
  .hostel-tab img {
    height: auto;
  }
  .pdf-viewer {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .table-container-curve {
    overflow-x: auto;
    width: 100%;
    scrollbar-color: #1f56a6 transparent; /* Firefox */
    scrollbar-width: thin;
    border-radius: 10px;
  }

  /* For WebKit browsers (Chrome, Safari, Edge) */
  .table-container-curve::-webkit-scrollbar {
    height: 4px;
    width: 4px;
  }

  .table-container-curve::-webkit-scrollbar-track {
    background: transparent;
  }

  .table-container-curve::-webkit-scrollbar-thumb {
    background-color: #1f56a6;
    border-radius: 10px;
  }
  .campus-meta-inner {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .tabs-contents {
    display: block;
  }
  .tabs-contents .tabs {
  display: flex;
  flex-direction: row; 
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;  
  white-space: nowrap; 
          padding-bottom: 12px;
  -webkit-overflow-scrolling: touch; 
}

.tabs-contents .tabs::-webkit-scrollbar {
  height: 6px; /* small horizontal scrollbar */
}

.tabs-contents .tabs::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
#academic-courses .common-tab li{
  text-align: center;
  min-width: auto;
  padding: 20px 20px 20px 20px;
}
#academic-courses .tab.active{
  text-align: center;
  min-width: auto;
  padding: 20px 20px 20px 20px;
}
.gallery-container {
  grid-template-columns: repeat(2, 1fr) !important;
}
}
.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
  justify-content: center; 
  place-items: center;
}
.gallery-item {
  width: 100%;
}
.gallery-icon {
  width: 100%;
  height: 230px;
  display: flex ;
  justify-content: center; 
  place-items: center;
  border: 1px solid #383939;
  border-radius: 25px;
  background: #EBF3FF;
}
.gallery-icon img {
  width: 79px;
  height: 79px;
  object-fit: cover;
  border-radius: 15px;
}