.m-top {
  margin-top: 50px;
}
/* breadcrumb */
/* courses-admission */
#courses-admission .breadcrumb {
  padding-bottom: 50px;
  font-size: 16px;
  color: #666;
  margin-top: 30px;
}

#courses-admission .breadcrumb a {
  text-decoration: none;
  color: #86868b;
}
#courses-admission .breadcrumb strong {
  text-decoration: none;
  color: #23559b;
}

#courses-admission .breadcrumb a:hover {
  text-decoration: underline;
}

#courses-admission .breadcrumb span {
  margin: 0 5px;
} /* //.breadcrumb */
/* searchcontainer */
.search-input-wrapper {
  position: relative;
  width: 220px;
  margin-left: auto;
}
.mobile-search {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.mobile-search-img {
  display: none;
}
.search-input-wrapper input {
  width: 100%;
  padding: 10px 35px 10px 15px; /* space for icon on the right */
  border: 1px solid #23559b;
  border-radius: 999px;
  background-color: #dde5f9;
  font-size: 14px;
  outline: none;
  color: #383838;
}

.search-icon-faculty {
  position: absolute;
  right: 12px;
  top: 50%;
  color: #23559b;
  transform: translateY(-50%);
  pointer-events: none;
} /* searchends */
/* tab start */
#course_admission {
  display: flex;
  gap: 50px;
      margin-bottom: 50px;

}
#course_admission .tab-heading {
  padding: 0;
}

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

#course_admission .tab.active {
  font-size: 18px;
  color: #000;
  font-weight: 600;
  border-color: #000;
  padding: 20px;
  background-color: #d0bb68;
  cursor: pointer;
}

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

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

#course_admission .common-tab {
  display: grid;
  /* gap: 30px; */
  list-style: none;
  padding: 0;
  margin: 0;
}

#course_admission .common-tab li {
border-bottom: 2px solid #cfcfcf;
    padding: 20px 25px 20px 25px;
    font-size: 18px;
    cursor: pointer;
    white-space: nowrap;
    line-height: 25px;
    font-weight: 400;
    color: #858687;
}
.no-courses p{
  margin-top: 30px;
}
/* ends */ /* tabends */
/* cards */
.courses-card {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.courses-title {
  font-size: 16px;
  font-weight: 600;
  color: #383939;
  margin-bottom: 15px;
  line-height: 1.4;
}

.courses-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: end;
}
.read-more-courses {
  display: inline-block;
  color: #23559b;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: bold;
}
.div-full{
    width: 100%;
    padding: 0 0 50px 0;
}
#courses {
  padding-inline: 10px;
}
.courses-section__article-category {
    display: inline-block;
    padding: 4px 16px;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    color: #fff;
    background-color: #e4efff;
    color: #23559b;
}
/* cards ends */
/* pagination style changes */
.pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 20px;
  justify-content: flex-end;
}

.page-btn {
  width: 48px;
  height: 48px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: white;
  color: #003B8E; /* Arrow color */
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover {
  background-color: #e6ecff;
}

.page-btn.active {
  background-color: #1f56a6;
  color: white;
  border: none;
}
#courses-container,.courses-container{
    width: 100%;
}
.back-button-c {
    margin-bottom: 30px;
    position: relative;
    top: 20px;
    left: 0;
    width: 40px;
    background: #D0BB68;
    color: #000000;
    border: none;
    padding: 8px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    z-index: 10;
}
.courses-card h4{
    color: #23559B;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}
.courses-card p{
    color: #383939;
    font-size: 16px;
    font-weight:500;
    margin-bottom: 20px;
    line-height: 24px;
}
.courses-meta-inner {
    display: flex;
    justify-content: start;
    align-items: center;
}
.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;
}

/* 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;
}
/* pagnatn ends */
@media (max-width: 768px) {
  #course_admission {
    display: block;
    gap: 20px;
  }
  #course_admission .common-tab {
    display: flex;
  }
  /* Horizontal scrolling for all tab containers */
  #course_admission .common-tab {
    margin-top: 40px;
    margin-bottom: 40px;
    overflow-x: auto; /* Enables horizontal scrolling */
    white-space: nowrap; /* Prevents items from wrapping */
    gap: 15px;
  }
  .div-full {
    padding: 0px 0px 50px 0px;
  }

  /* Hide scrollbar for all tab containers (optional) */
  #course_admission .common-tab::-webkit-scrollbar {
    display: none;
  }
}
