body {
  font-family: 'IBM Plex Sans', sans-serif;
}

.website-title {
  color: #49906D !important;
  text-align: left;
  text-decoration: none;
  font-size: 32px;
  line-height: 24px;
}

.website-title-kfupm {
  color: #003Е51 !important;
  text-align: left;
  text-decoration: none;
  font-size: 25px;
  line-height: 24px;
  position: relative;
  top: 2px; /* adjust as needed */
}

.top-bar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.main-navbar {
  background-color: #f2f4f8;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.alert-kfupm {
  --bs-alert-color: #5B4924;
  --bs-alert-bg: #F6F2E9 !important;
  --bs-alert-border-color: #F6F2E9;
  --bs-alert-link-color: #2C5E65;
  --bs-alert-margin-bottom: 0rem !important;
}

.navbar-nav .dropdown-menu {
  position: static;
}

.navbar .nav-link:hover {
  color: #21272A;
  background-color: #DDE1E6;
  transition: all 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #DDE1E6;
  color: #21272A;
}

#searchDropdownContainer {
  z-index: 1050;
  background-color: #f2f4f8 !important;
}

.close-btn {
  background-color: #DDE1E6;
  --bs-btn-hover-bg: #C1C7CD !important;
  --bs-btn-active-bg: #A2A9B0 !important;
  --bs-btn-active-border-color: #A2A9B0 !important;

}

.hero-banner {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
    url('../img/hero-image.png') no-repeat center center/cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 300;
  color: white;
}

.hero-buttons .btn {
  margin-right: 1rem;
}

.carousel-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-card img {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  object-fit: cover;
  height: 350px;
  width: 100%;
}

.carousel-card-body {
  padding: 3rem 1.5rem;
}

.carousel-card-body h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-indicators {
  bottom: -40px;
}

.carousel-control-prev {
  transform: translateX(-80%);
}

.carousel-control-next {
  transform: translateX(80%);
}

.award-banner {
  top: 80%;
  background-color: #EDF4F0 !important;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-green {
  background-color: #EDF4F0;
  color: #34664D;
}

.image-container {
  height: 313px;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.object-fit-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-beige-800 {
  background-color: #807A6E;
}

.text-beige-800 {
  color: #807A6E !important;
}

.bg-grey-800 {
  background-color: #21272A;
}

.text-grey-800 {
  color: #21272A;
}

.text-green {
  color: #49906D;
}

.section-bg {
  position: relative;
  background: url('../img/section-bg.png') no-repeat center center/cover;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.section-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(5, 50, 57, 0.9);
  z-index: 1;
}

.section-bg>* {
  position: relative;
  z-index: 2;
}

.object-fit-cover {
  object-fit: cover;
}

#makercard {
  height: 25vh;
}


footer {
  background-color: var(--bs-primary);
  color: var(--bs-light) !important;
  font-size: 16px;
}

footer a:hover:not(.btn):not(.btn-white) {
  color: var(--bs-light) !important;
  text-decoration: underline;
}

footer .main-footer {
  padding-top: 80px;
  padding-bottom: 50px;
}

.dropdown-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem;
  min-width: 16rem;
}

@media (max-width: 991.98px) {
  .website-title {
    text-align: center !important;
    font-size: 24px;
    line-height: 20px;
    width: 100%;
  }

  .main-navbar {
    background-color: #f2f4f8;
    padding-top: 0rem;
    padding-bottom: 0re;
  }
}

.breadcrumb-item a {
  color: #9E9E9E !important;
  text-decoration: none !important;
}

.breadcrumb-item.active {
  color: #57605E !important;
  font-weight: bold;
}





/* footer */
footer {
  background-color: #F2F4F8 !important;
  color: #2C5E65 !important;
  font-size: 16px;
}

footer a:hover:not(.btn):not(.btn-white) {
  color: #2C5E65 !important;
  text-decoration: underline;
}

footer .main-footer {
  padding-top: 80px;
  padding-bottom: 50px;
}

@media (max-width: 991.98px) {
  footer .main-footer {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

footer .main-footer .border-left-column {
  border-left: 1px solid var(--bs-border-color);
  padding-left: 35px;
}

@media (max-width: 991.98px) {
  footer .main-footer .border-left-column {
    border-left: none;
    border-top: solid 1px var(--bs-border-color);
    padding-left: 0px;
    padding-top: 30px;
  }
}

footer .text-light,
footer .text-light a {
  color: #C2C2C2 !important;
}

footer .bottom-footer {
  background-color: #1F4247;
  font-size: 14px;
  padding-top: 30px;
  padding-bottom: 30px;
}

@media (max-width: 575.98px) {
  footer .bottom-footer {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.no-underline {
  text-decoration: none !important;
  color: #4D5358 !important;
}



.footer-title {
  font-size: 24px !important;
  font-style: normal;
  font-weight: 600 !important;
  line-height: normal !important;
}


.footer-body-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em;
}

footer .main-footer .border-left-column {
  --bs-border-opacity: 1;
  border-color: rgba(var(--bs-dark-rgb), var(--bs-border-opacity)) !important;
}

footer .bottom-footer {
  background-color: #DDE1E6;
  font-size: 14px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.text-medium {
  font-size: 14px !important;
  font-style: normal;
  font-weight: normal !important;
  line-height: normal;
}

a {
  color: rgba(44, 94, 101, 1);
  text-decoration: underline;
}

.icon-color {
  color: #2C5E65 !important;
}

/* footer */

.section-title {
  color: #2C5E65;
  font-weight: 400;
}

.section-subtitle {
  color: #2C5E65;
  font-weight: bold;
}

.link-sm {
  color: #49906D;
  font-weight: 500;
}

.connect-box {
  border: 1px solid #9EB5B8;
  border-right: none;
  border-left: none;
  background-color: #fff;
  font-family: 'Inter', sans-serif;
}

.connect-header {
  background-color: #366c70;
}

.connect-body {
  font-size: 1rem;
}

.connect-link {
  color: #366c70;
  text-decoration: none;
  /* font-size: 1.25rem; */
}

.connect-link .arrow {
  font-size: 1.2rem;
  margin-left: 0.25rem;
}

.connect-link:hover {
  text-decoration: underline;
}

li {
  font-size: 16px !important;
}

.btn-outline-primary:hover i {
  color: white !important;
}

/* accordion code */

/* Remove default arrow icon */
.accordion-button::after {
  display: none !important;
}

/* Smooth icon transitions (optional) */
.accordion-button .icon {
  transition: transform 0.3s ease;
}

/* accordion code END */

.page-link {
  position: relative;
  display: block;
  padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
  font-size: var(--bs-pagination-font-size);
  color: #2c5e65;
  text-decoration: none;
  background-color: var(--bs-pagination-bg);
  border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.active>.page-link,
.page-link.active {
  z-index: 3;
  color: var(--bs-pagination-active-color);
  background-color: #2c5e65;
  border-color: #2c5e65;
}

.page-link:hover {
  z-index: 2;
  color: #2c5e65;
  background-color: var(--bs-pagination-hover-bg);
  border-color: var(--bs-pagination-hover-border-color);
}

.aaourdian-me-auto {
  margin-right: 30px !important;
}


.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 800px;
}

.category {
  padding: 0.1rem 1rem;
  border: 2px solid #c5cbd5;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  user-select: none;
}

.category.selected {
  background-color: #F8F5EE;
  color: #615D54;
  border-color: #EFE9D9;
}

.small-text {
  color: var(--cool-grey-500, #697077);
  /* Tyopgraphay EN/Body Text Small EN */

  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 17.5px;
  /* 125% */
}

.light-green-link {
  color: #49906D;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-decoration-line: underline;
  text-decoration-style: solid;

}

/* Rawan new css START */

/* Video wrapper for responsive YouTube videos */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
  top: 0;
  left: 0;
}


.img-gallery {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
}

/* tabs */
.custom-tabs .nav-link {
  color: #49906D;

}

.custom-tabs .nav-link:hover {
  background-color: #f1f1f1;

  color: #49906D;

}

/* tabs end */

.assignment-item {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.date {
  font-weight: 500;
  color: #6c757d;
}

.remaining-badge {
  background-color: #807A6E;
  color: #fff;
  font-size: 0.8rem;
  border-radius: 0.25rem;
  padding: 0.2rem 0.5rem;
  margin-left: 0.5rem;
}

.assignment-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 0.3rem;
}

.fa-volume-high {
  color: #DAC961;
}


.facts-section {
  min-height: 400px;
}

.discipline-toggle {
  background-color: #fff;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 50rem;
  /* pill shape */
  padding: 0.50rem 1rem;
  /* similar to badge spacing */
  font-size: 0.75rem;
  /* matches .badge font size */
  line-height: 1;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.discipline-toggle.active {
  background-color: #fde7b5 !important;
  color: #615D54 !important;
  border-color: #EFE9D9 !important;
}

/* Rawan new css END */

/* Wala START */
.avatar {
  width: 64px;
  height: 64px;
}

/* Wala END */