@import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);

:root {
  --primary-clr: #7522e6;
  --bg-clr: #f1f2f3;
  --white-bg: #fff;
  --dark-text-clr: #1b1d23;
  --light-text-clr: #fff;
  --hover-clr: #f1e8fd;

  --white-color: #fff;
  --blue-color: #4070f4;
  --grey-color: #707070;
  --grey-color-light: #aaa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, D roid Sans, Helvetica Neue, sans-serif;
  min-height: 100vh;
  background: var(--bg-clr);
  transition: all 0.5s ease;
}

body.dark {
  --primary-clr: #7522e6;
  --bg-clr: #0f0f0f;
  --white-bg: #272727;
  --dark-text-clr: #fff;
  --light-text-clr: #fff;
  --hover-clr: #313c47;

  background-color: var(--bg-clr);

  --white-color: #fff;
  --blue-color: #fff;
  --grey-color: #f2f2f2;
  --grey-color-light: #aaa;
}

/* navbar */
.navbar {
  background-color: var(--white-bg);
  width: 100%;
  padding: 15px 20px;
  z-index: 1000;
}

.logo_item {
  display: flex;
  align-items: center;
  column-gap: 10px;
  font-size: 22px;
  font-weight: 500;
  color: var(--blue-color);
}

.navbar img {
  height: 60px;
  object-fit: cover;
}

.search_bar {
  height: 47px;
  max-width: 430px;
  width: 100%;
}

.search_bar input {
  height: 100%;
  width: 100%;
  border-radius: 25px;
  font-size: 18px;
  outline: none;
  background-color: var(--white-bg);
  color: var(--grey-color);
  border: 1px solid var(--grey-color-light);
  padding: 0 20px;
}

.navbar_content {
  display: flex;
  align-items: center;
  column-gap: 25px;
}

.navbar_content i {
  cursor: pointer;
  font-size: 20px;
  color: var(--grey-color);
}

.logo_name {
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.2;
}

.logo_name strong {
  font-size: 24px;
  color: var(--blue-color);
  display: block;
}

.navbar .profile {
  padding: 3px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  background: var(--primary-clr);
}

/* sidebar */

.sidebar {
  background-color: var(--white-bg);
  width: 300px;
  padding: 10px;
  padding-top: 25px;
  z-index: 100;
  transition: all 0.5s ease;
  margin-left: 0;
  overflow-x: hidden;
}

.sidebar .logo {
  width: 100%;
  margin-bottom: 30px;
}

.sidebar.close {
  transition: all 0.5s ease;
  padding: 60px 0;
  display: none;
  width: 0;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.menu_content {
  position: relative;
}

.menu_title {
  margin: 15px 0;
  padding: 0 20px;
  font-size: 18px;
}

.sidebar.close .menu_title {
  padding: 6px 30px;
}

.menu_title::before {
  color: var(--grey-color);
  white-space: nowrap;
}

.sidebar.close .menu_title::before {
  content: "";
  position: absolute;
  height: 2px;
  width: 18px;
  border-radius: 12px;
  color: var(--dark-text-clr);
}

.menu_items {
  padding: 0;
  list-style: none;
  counter-reset: menu_counter;
}

.navlink_icon {
  min-width: 20px;
  min-height: 20px;
  margin-right: 20px;
  position: relative;
  align-items: center;
  display: flex;
}

.navlink_icon::before {
  content: "";
  position: absolute;
  height: 100%;
  width: calc(100% + 100px);
  left: -20px;
}

.navlink_icon:hover {
  background-color: var(--hover-clr);
}

.sidebar .nav_link {
  font-size: 16px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark-text-clr);
  margin-bottom: 10px;
}

.sidebar.close .navlink {
  display: none;
}

.nav_link:hover {
  background-color: var(--hover-clr);
}

.nav_link:active {
  color: var(--white-color);
  background-color: var(--primary-clr);
}

.navlink_icon:active {
  color: var(--white-color);
  background-color: var(--primary-clr);
}

.nav_link.active {
  color: var(--white-color);
  background-color: var(--primary-clr);
}

.nav_link.active .navlink_icon {
  color: var(--white-color);
  background-color: var(--primary-clr);
}

.nav_link span.navlink {
  transition: transform 0.5s;
  transform: translateX(100px);
}

.nav_link ion-icon,
.nav_link i {
  transition: opacity 0.5s;
  opacity: 0;
}

.sidebar.loaded .nav_link ion-icon,
.sidebar.loaded .nav_link i {
  transition-delay: 500ms;
  opacity: 1;
}

.sidebar.loaded .nav_link span.navlink {
  transition-delay: calc(0.02s * var(--i));
  transform: translateX(0px);
}

.sidebar.close .nav_link:hover {
  background: var(--white-color);
}

.submenu_item {
  cursor: pointer;
}

.submenu {
  display: none;
  transition: all 0.5s ease-in;
  opacity: 0;
  height: 0;
}

.submenu_item .arrow-left {
  position: absolute;
  right: 10px;
  display: inline-block;
  margin-right: auto;
}

.sidebar.close .submenu {
  display: none;
  transition: all 0.5s ease-in;
  opacity: 0;
  height: 0;
}

.show_submenu~.submenu {
  transition: all 0.5s ease-in;
  display: block;
  opacity: 1;
  height: auto;
}

.show_submenu .arrow-left {
  transform: rotate(90deg);
}

.submenu .sublink {
  padding: 10px 10px 10px 50px;
}

.bottom_content {
  position: fixed;
  bottom: 60px;
  left: 0;
  width: 260px;
  cursor: pointer;
  transition: all 0.5s ease-in;
}

.bottom {
  position: absolute;
  display: flex;
  align-items: center;
  left: 0;
  justify-content: space-around;
  padding: 18px 0;
  text-align: center;
  width: 100%;
  color: var(--grey-color);
  border-top: 1px solid var(--grey-color-light);
  background-color: var(--white-color);
}

.bottom i {
  font-size: 20px;
}

.bottom span {
  font-size: 18px;
}

.sidebar.close .bottom_content {
  width: 50px;
  left: 15px;
}

.sidebar.close .bottom span {
  display: none;
}

.sidebar.hoverable .collapse_sidebar {
  display: none;
}

#sidebarOpen {
  display: block;
  transition: all 0.5s ease;
  cursor: pointer;
}

@media screen and (max-width: 900px) {

  .navbar .profile {
    display: none;
  }

  #sidebarOpen {
    font-size: 20px;
    display: block;
    margin-right: 10px !important;
    cursor: pointer;
    color: var(--grey-color);
  }

  .sidebar.close {
    left: -100%;
  }

  .search_bar {
    display: none;
  }

  .sidebar.close .bottom_content {
    left: -100%;
  }

  .sidebar {
    width: 100%;
    display: block !important;
  }

  #navbarNavDropdown {
    display: none !important;
  }

}

@media screen and (max-width: 600px) {
  .navbar {
    padding: 15px 10px;
  }

  .slider_container .slider_item .content {
    left: 0;
    padding: 20px;
    max-width: 100% !important;
  }

  .slider_container .slider_item {
    display: none;
  }

  .slider_container .slider_item:nth-child(1),
  .slider_container .slider_item:nth-child(2) {
    display: block !important;
  }

  .featured-area .col-12 {
    display: block !important;
  }

  .featured-area .single-item {
    margin-bottom: 20px;
  }

  .logo_name {
    font-size: 11px;
  }

  .logo_name strong {
    font-size: 14px;
  }

  .sidebar-close .main_content {
    display: none;
  }

  .featured-area .single-item h3 {
    color: var(--white-color);
    font-size: 16px !important;
    line-height: 20px !important;
    margin-bottom: 0 !important;
  }

  .featured-area .single-item h3 small {
    font-weight: 300 !important;
    font-size: 12px !important;
  }

  .featured-area .single-item .icon {
    color: var(--white-color) !important;
    font-size: 40px !important;
    line-height: 40px !important;
    font-weight: 200 !important;
  }
}

.content_wrap {
  padding-top: 90px;
  transition: all 0.5s ease;
}

.card {
  color: var(--grey-color);
  background-color: var(--white-bg);
}

.featured-area {
  background-color: var(--primary-clr);
}

.featured-area .single-item {}

.featured-area .single-item .icon {
  color: var(--white-color);
  font-size: 60px;
  line-height: 60px;
  font-weight: 200;
}

.featured-area .single-item h3 {
  color: var(--white-color);
  font-size: 30px;
  line-height: 30px;
  margin-bottom: 0;
}

.featured-area .single-item h3 small {
  font-weight: 300;
  font-size: 16px;
}

.welcome-area {
  background: var(--bg-clr);
  padding: 1.4rem;
}

.page-content h2 {
  color: var(--dark-text-clr);
}

.page-content p {
  color: var(--dark-text-clr);
  text-align: justify;
  font-size: 16px;
  line-height: 25px;
}

.page-content p:last-child {
  margin-bottom: 0;
}

.gallery-area {
  background: var(--white-bg);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-200px * 10));
  }
}

.gallery-area {
  background: white;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
  height: 150px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.gallery-area::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.gallery-area::before {
  left: 0;
  top: 0;
}

.gallery-area .slide-track {
  -webkit-animation: scroll 40s linear infinite;
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * var(--j));
}

.gallery-area .slide {
  height: 150px;
  width: 200px;
  display: flex;
  flex-wrap: nowrap;
  object-fit: cover;
}

.gallery-area .slide img {
  width: 200px;
  filter: grayscale(0);
}

.gallery-area .slide img:hover {
  filter: grayscale(0);
}

.testimonial-area {
  background: var(--white-bg);
}

.carousel-item {
  height: 350px;
}

.carousel-caption {
  color: var(--dark-text-clr);
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-caption h3 {
  color: var(--dark-text-clr);
}

.carousel-caption p {
  color: var(--dark-text-clr);
}

.carousel-caption img {
  border-radius: 50%;
  object-fit: cover;
  width: 120px;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
  height: 120px;
}

.research-area {
  background: var(--bg-clr);
  padding: 1.4rem;
}

.notice-area {
  background: var(--white-bg);
  padding: 1.4rem;
}

.news-area {
  background: var(--white-bg);
  padding: 1.4rem;
}

.event-area {
  background: var(--bg-clr);
  padding: 1.4rem;
}

.video-area {
  position: relative;
  height: 400px;
  background: url("https://source.unsplash.com/2600x1200?city") center/cover no-repeat;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-area .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.video-area .content {
  z-index: 2;
  position: relative;
}

.video-area button {
  background-color: #ff5733;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 100px;
  border-radius: 100%;
  line-height: 60px;
}

.video-area .video-section {
  text-align: center;
  padding: 40px 0;
}

.video-area .video-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 99;
  width: 800px;
  max-width: 100% !important;
}

.video-area iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.video-area #close-button {
  display: block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #ff5733;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  line-height: 20px;
}

.page_content .img-fluid {
  margin-left: auto;
  margin-right: auto;
  display: inherit;
}

.footer-heading {
  font-size: 22px;
  padding-bottom: 10px;
}

.single-widget ul {
  padding-left: 0;
  list-style: none;
}

.single-widget ul li {
  line-height: 2;
}

.single-widget ul li a {
  color: var(--grey-color);
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.single-widget ul li a:hover {
  color: var(--primary-clr);
}

.text-justify {
  text-align: justify !important;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.page_title {
  color: var(--dark-text-clr);
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
}

.page_body {
  color: var(--dark-text-clr);
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: justify;
}

.profile_image {
  border-radius: 5px;
  display: block;
  overflow: hidden;
  background: gray;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  margin-bottom: 15px;
  object-fit: cover;
  width: 100%;
  min-height: 400px;
}

.profile_info {
  padding: 10px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: var(--bs-nav-pills-link-active-color);
  background-color: var(--bs-nav-pills-link-active-bg) !important;
}

.single-faculty-card .card-img-top {
  height: 400px;
  background-color: #aaa;
  object-fit: cover;
}

.home-card .card-img-top {
  height: 300px;
  background-color: #aaa;
  object-fit: cover;
}

.dataLoading {
  transition: all 0.5s ease;
}

.video-area {
  position: relative;
  height: 400px;
  background: url("https://textile.bubt.edu.bd/uploads/medias/26122023103504_textile-3.png") center/cover no-repeat;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-area .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.video-area .content {
  z-index: 2;
  position: relative;
}

.video-area button {
  background-color: rgb(64, 112, 244);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 50px;
  border-radius: 100%;
  line-height: 70px;
  padding: 10px;
  text-align: center;
  width: 80px;
  height: 80px;
  display: block;
}

.video-area .video-section {
  text-align: center;
  padding: 40px 0;
}

.video-area .video-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 99;
  width: 800px;
  max-width: 100% !important;
}

.video-area iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.video-area #close-button {
  display: block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #ff5733;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  line-height: 20px;
}

.sidebar.horizontal-layout {
  display: flex;
  justify-content: space-between;
}

.sidebar.horizontal-layout .menu_items {
  padding: 0;
  list-style: none;
  display: flex;
}

.sidebar.horizontal-layout .menu_items .item {
  margin-right: 20px;
  /* Adjust the spacing between menu items as needed */
}

.sidebar.horizontal-layout .submenu {
  position: absolute;
  left: 0;
  top: 100%;
  display: none;
  z-index: 1000;
}

.sidebar.horizontal-layout .submenu_item:hover .submenu {
  display: block;
}

.sidebar.horizontal-layout .menu_items.submenu {
  display: flex;
  flex-direction: column;
}

.sidebar.horizontal-layout .submenu .item {
  margin: 0;
}

.sidebar.horizontal-layout .submenu .nav_link {
  display: flex;
  align-items: center;
}

.topnavbar ul li.nav-item {
  margin: 3px;
}

.topnavbar .navbar-nav .nav-link {
  font-size: 16px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark-text-clr);
}

.topnavbar .navbar-nav .nav-link.active,
.topnavbar .navbar-nav .nav-link.show {
  color: var(--white-color);
  background-color: var(--primary-clr);
}

.topnavbar .navbar-nav .nav-link:hover {
  color: var(--dark-text-clr);
  background-color: var(--hover-clr);
}

.topnavbar .dropdown-item {
  padding-top: 8px;
  padding-bottom: 8px;
}

.topnavbar .dropdown-item:focus,
.topnavbar .dropdown-item:hover {
  color: var(--dark-text-clr);
  background-color: var(--hover-clr);
}

.topnavbar .dropdown-menu {
  border: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}