/* =====================
    SECTION: Top Bar
    ====================== */
.top__bar {
  background: radial-gradient(circle at 0% -100%, #eefbdb, transparent 25%),
    radial-gradient(circle at 100% 100%, #d3fbfb, transparent 30%),
    radial-gradient(circle at center, #f1f7fa, transparent);
  position: relative;
  z-index: 1;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/topbar-bg.webp") center/cover;
    z-index: -1;
    opacity: 0.25;
  }
}

/* =====================
      SECTION: Header
      ====================== */

header.sticky-lg-top {
  z-index: 1021;
}

.menu__bar {
  background: var(--primary-color);
  background: var(--secondary-color);
  background: var(--accent-color);
}

.menu__bar .dropdown {
  position: initial;
}

.menu__bar .nav-link {
  color: var(--bs-light);
}

.menu__bar .dropdown-menu {
  padding: 0.5rem;
  border: none;
  border-radius: 0;
  top: 100%;
  left: inherit;
  min-width: 270px;
}

@media (hover: hover) {
  .menu__bar .dropdown-menu {
    display: block;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: 300ms ease-in-out;
    transition-delay: 150ms;
  }

  .menu__bar .dropdown:hover > .dropdown-menu {
    transition-delay: 0s;
    opacity: 1;
    transform: scaleY(1);
  }
}

.menu__bar .mega-menu .dropdown-menu {
  left: 0.5rem;
  width: calc(100% - 1rem);
}

.menu__bar .dropdown-toggle::after {
  font-family: "bootstrap-icons";
  content: "\F282";
  border: none;
  vertical-align: middle;
  font-size: 0.625rem;
  font-weight: bold;
}

.menu__bar .dropdown-item {
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 500;
  padding-block: 0.75rem;
  margin-block: 0.25rem;
  position: relative;
  white-space: inherit;
  border-bottom: 1px solid #eee;
}

.menu__bar li:last-child .dropdown-item {
  border-bottom: 0px;
}

.menu__bar .dropdown-item:hover {
  background: var(--secondary-color);
  color: var(--bs-light);
  transition: 300ms ease-in-out;
}

.menu__bar :is(.dropend, .dropstart) .dropdown-toggle {
  color: inherit;
  text-decoration: none;
}

.menu__bar .dropend .dropdown-toggle::after {
  font-family: "bootstrap-icons";
  content: "\F285";
  border: none;
  vertical-align: middle;
  font-size: 0.625rem;
  font-weight: bold;
}

.menu__bar .dropstart .dropdown-toggle::before {
  font-family: "bootstrap-icons";
  content: "\F284";
  border: none;
  vertical-align: middle;
  font-size: 0.625rem;
  font-weight: bold;
}

@media (hover: hover) {
  .menu__bar .dropend .dropdown-menu {
    transform: scaleX(0);
    transform-origin: left center;
    top: 0;
    right: auto;
    left: 100%;
    z-index: 1111;
  }

  .menu__bar .dropstart .dropdown-menu {
    transform: scaleX(0);
    transform-origin: right center;
    top: 0;
    right: 100%;
    left: auto;
    z-index: 1111;
  }

  .menu__bar .dropend:hover > .dropdown-menu {
    transform: scaleX(1);
    opacity: 1;
  }

  .menu__bar .dropstart:hover > .dropdown-menu {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* =====================
      SECTION: Footer
      ====================== */
footer {
  margin-top: auto;
  background: rgb(var(--primary-color-rgb));
  position: relative;
}

footer::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/bg/footer.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  mix-blend-mode: overlay;
}

.footer__container {
  position: relative;
}

.footer__container .container {
  border-bottom: 1px solid rgb(255 255 255 / 27%);
}

.footer__info .list-group {
  --bs-list-group-bg: transparent;
  --bs-list-group-border-color: color-mix(
    in srgb,
    var(--primary-color) 75%,
    var(--bs-body-bg) 25%
  );
  margin-top: 1rem;
}

.footer__info .list-group .bi {
  color: var(--bs-light);
}

.footer__widget .footer__title {
  color: #fff;
}

.footer__cpr {
  color: var(--bs-light);
}

.footer__container .nav-item {
  padding: 6px 8px;
}

.footer__container .nav-link {
  color: #fff;
}

.footer__container p {
  line-height: 20px;
  font-size: 15px;
}

.footer__cpr a {
  color: var(--secondary-color);
  text-decoration: none;
  color: rgb();
}

/* =====================
      SECTION: Breadcrumb
      ====================== */
.breadcrumb__sc {
  background: linear-gradient(
      90deg,
      rgba(var(--secondary-color-rgb), 0.9),
      rgba(230, 0, 125, 0.9)
    ),
    url("../images/breadcrumb-bg.webp") no-repeat center/cover;
  padding-block: clamp(3rem, calc(3rem + 1.5vw), 5rem);
  position: relative;
  color: #fff;
}

.breadcrumb__sc .breadcrumb {
  background: var(--bs-body-bg);
  width: max-content;
  display: inline-flex;
  padding: 0.5rem 2rem;
  border-radius: 50vw;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 2;
}

.breadcrumb__sc .breadcrumb-item {
  color: var(--primary-color);
}

.breadcrumb__sc .breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

/* =====================
    SECTION: Buttons
    ====================== */
.btn {
  padding: var(--button-padding-y) var(--button-padding-x);
}

.btn-lg {
  padding: calc(var(--button-padding-y) * 1.25)
    calc(var(--button-padding-x) * 2);
}

.btn-sm {
  padding: calc(var(--button-padding-y) / 2) calc(var(--button-padding-x) / 2);
}

.btn-main {
  background: var(--primary-color);
  color: var(--bs-light);
  transition: all 250ms ease-in-out;
}

.btn-main:hover {
  color: var(--bs-white);
  background: rgba(var(--primary-color-rgb), 0.85);
  transform: scale(1.05);
}

.btn-main-outline {
  color: var(--primary-color);
  transition: 250ms ease-in-out;
  border: 2px solid currentColor;
}

.btn-main-outline:hover {
  color: #fff;
  background: var(--primary-color);
}

.btn-alt {
  background: var(--secondary-color);
  color: var(--bs-light);
  border-color: var(--secondary-color);
}

.btn-alt:hover {
  background: rgba(var(--secondary-color-rgb), 0.85);
  border-color: rgba(var(--secondary-color-rgb), 0.85);
}

/* =====================
    SECTION: Custom
    ====================== */
body.tox-fullscreen :not([class*="tox"]) {
  position: static !important;
}

/* 
    .committee_head {
      position: relative;
      color: #fff;
      font-weight: 700;
      font-family: var(--heading-font);
      font-size: var(--fs-small-banner);
      display: inline-block;
      padding: 5px 30px;
      background: var(--primary-color);
      border-radius: 1rem;
    line-height: 1;
  }
  
  .committee_head::before,
  .committee_head::after {
    position: absolute;
    content: "";
    height: 2px;
    width: 5vw;
    top: 50%;
    background: var(--primary-color);
  }
  
  .committee_head::before {
    right: -5vw;
  }
  
  .committee_head::after {
    left: -5vw;
  } */

.committee_head {
  position: relative;
  color: #fff;
  font-weight: 700;
  font-family: var(--heading-font);
  /* font-size: var(--fs-sub-title); */
  display: inline-block;
  padding: 5px 10px;
  background: var(--primary-color);
  border-radius: 1rem;
  line-height: 1;
  font-size: 20px;
}

.committee_head::before,
.committee_head::after {
  position: absolute;
  content: "";
  height: 2px;
  width: 2vw;
  top: 50%;
  background: var(--primary-color);
}

.committee_head::before {
  right: -2vw;
}

.committee_head::after {
  left: -2vw;
}

/* =====================
      SECTION: SIDEBAR
      ====================== */

.sidebar {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.sidebar a {
  /* background: var(--accent-color); */
  /* border-radius: 50px; */
  border-radius: 0 50px 50px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 54px;
  height: 54px;
  text-decoration: none;
  color: inherit;
  transition: width 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.sidebar a:hover {
  width: 250px;
}

.sidebar .icon {
  flex: 0 0 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar .icon img {
  width: 34px;
}

.label {
  white-space: nowrap;
  padding-left: 10px;
  padding-right: 10px;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  transition: opacity 0.2s ease;
  color: var(--bs-dark);
  font-size: 16px;
  font-weight: bold;
}

.sidebar a:hover .label {
  opacity: 1;
  transition-delay: 0.1s;
}

/* =====================
   SECTION: SIDEBAR RIGHT
   ===================== */

.sidebar-right {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.sidebar-right a {
  border-radius: 50px 0 0 50px;
  /* mirror curve */
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 54px;
  height: 54px;
  text-decoration: none;
  color: inherit;
  transition: width 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  justify-content: flex-end;
}

.sidebar-right a:hover {
  width: 250px;
}

.sidebar-right .icon {
  flex: 0 0 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-right .icon img {
  width: 34px;
}

.sidebar-right .label {
  white-space: nowrap;
  padding-left: 10px;
  padding-right: 10px;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  transition: opacity 0.2s ease;
  color: var(--bs-dark);
  font-size: 16px;
  font-weight: bold;
  text-align: right;
}

.sidebar-right a:hover .label {
  opacity: 1;
  transition-delay: 0.1s;
}

.sidebar-right {
  align-items: flex-end;
}

.arrow {
  background: var(--primary-color);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.bg-yellow {
  background: #ffe07b;
}

.bg-green {
  background: #d4f4dd;
}

.bg-blue {
  background: #cce7ff;
}

.bg-pink {
  background: #ffe0e6;
}

/* =====================
      SECTION: Slick
      ====================== */

.slick-prev:before,
.slick-next:before {
  color: var(--primary-color) !important;
  font-size: 1.5rem !important;
}

.slick-prev {
  left: -50px;
}

.slick-next {
  right: -50px;
}

.slick-dots {
  bottom: -40px;
}

.slick-dots li button:before {
  font-size: 12px;
  color: #bbb;
  opacity: 1;
}

.slick-dots li.slick-active button:before {
  color: #000;
}
