#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease-out, visibility 0s linear .5s;
  z-index: 9999;
}

#spinner.show {
  transition: opacity .8s ease-out, visibility 0s linear .0s;
  visibility: visible;
  opacity: 1;
}

.wow,
.animated {
  animation-duration: 2s !important;
}

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  transform: 0.5s;
  z-index: 99;
}

.back-to-top:hover {
  background: var(--bs-dark);
  color: var(--bs-primary);
}

h1, h2, h3, .h1, .h2, .h3 {
  font-weight: 600 !important;
  font-family: 'Open', sans-serif !important;
}

h4, h5, h6, .h4, .h5, .h6 {
  font-weight: 500 !important;
  font-family: 'Open', sans-serif !important;
}

.py-6 {
  padding-top: 5px;
  padding-bottom: 5px;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: .5s;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-md-square {
  width: 46px;
  height: 46px;
}

.btn-lg-square {
  width: 58px;
  height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn.btn-primary:hover {
  color: var(--bs-primary) !important;
  background: var(--bs-dark) !important;
  border-color: var(--bs-dark) !important;
}

.btn.btn-dark:hover {
  color: var(--bs-dark) !important;
  background: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

/*** TopBar ***/
.topbar .topbar-inner {
  height: 45px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, .5);
}

.topbar a,
.topbar a i {
  transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
  color: var(--bs-primary) !important;
}

/*** Navigation Bar ***/
.fixed-top {
  transition: .5s;
}

.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.navbar img {
  width: 350px;
}

.navbar .navbar-nav .nav-link {
  padding: 12px;
  color: var(--bs-dark);
  font-size: 17px;
  font-weight: 600;
  transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
  color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  vertical-align: middle;
  margin-left: 8px;
}

@media (min-width: 992px) {
  .navbar-collapse {
      background: transparent !important;
  }

  .navbar .nav-item .dropdown-menu {
      display: block;
      visibility: hidden;
      top: 100%;
      transform: rotateX(-75deg);
      transform-origin: 0% 0%;
      border: 0;
      transition: .5s;
      opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
      transform: rotateX(0deg);
      visibility: visible;
      background: var(--bs-light) !important;
      transition: .5s;
      opacity: 1;
  }
}

.navbar-toggler {
  background: var(--bs-secondary);
  color: var(--bs-light) !important;
  padding: 10px 20px;
  border: 2px solid var(--bs-primary) !important;
  box-shadow: none !important;
}


/*** Hero Header ***/
.hero-header {
  margin-bottom: 6rem;
  padding-top: 15rem;
  padding-bottom: 6rem;
  background: url("../images/penstet_visit4-01.jpg"), center center no-repeat;
  background-size: cover;
}

.hero-header .hero-header-inner {
  padding: 3rem;
  background: rgba(72, 210, 235, 0.5);
}

@media (max-width: 992px) {
  .hero-header {
      padding-top: 12rem;
  }
}

.hero-header .breadcrumb-item {
  font-size: 18px;
}

/*** About Start ***/
.about a.btn.btn-light:hover {
  background: var(--bs-dark) !important;
  color: var(--bs-primary) !important;
  border: 0;
}

.about-drive {
  margin: 25px;
  height: 45%;
  background: rgba(192, 200, 207, 0.719);
  text-align: center;
  opacity: var(--bs-light);
}

/** Principles values **/
.principles .principles-item {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 45px rgba(12, 18, 20, .08);
  transition: 0.5s;
}

.principles-item img {
  transition: 0.5s;
  width: 80px;
}

.principles .principles-item:hover {
  background: var(--bs-primary) !important;
  color: var(--bs-dark) !important;
}

.principles .principles-item:hover a {
  background: var(--bs-light) !important;
  color: var(--bs-dark) !important;
}

.principles .principles-item:hover a:hover {
  background: var(--bs-dark) !important;
  color: var(--bs-primary) !important;
}

/**Programs **/
.program-item img {
  transition: 0.5s;
  margin-bottom: 20px;
}


.program .program-item a {
  transition: 0.5s;
}

.program-item:hover img {
  transition: 0.5s;
  transform: scale(1.2);
}

.program-item a:hover {
  background: var(--bs-dark);
  color: var(--bs-primary);
  opacity: 0.5s;
}

/**Partners section**/
.partner .partner-img {
  height: 100%;
  padding: 15px;
  background: var(--bs-white);
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.partner .partner-img img {
  width: 60%;
  height: 60%;
  object-fit: cover;
}

.partner .partner-item {
  position: relative;
  overflow: hidden;
}

/*** Team Start ***/
.team .team-img {
  height: 100%;
  padding: 25px;
  background: var(--bs-white);
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

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

.team .team-item {
  position: relative;
  overflow: hidden;
}

.team .team-item img {
  transition: 0.5s;
}

.team .team-item:hover img {
  transform: scale(1.2);
}

.team .team-item .team-content {
 position: absolute;
 width: 100%;
 height: 100%;
 top: 0;
 left: 0;
 padding: 15px;
 transform: translateX(-50%, -50%);
 display: flex;
 align-items: center;
 justify-content: center;
 opacity: 0;
 transition: 0.5s;
}

.team .team-item:hover .team-content {
  opacity: 1;
  background: rgba(241, 193, 82, .7);
}


/**Footer**/
.footer {
  margin-top: 6rem;
  background: var(--bs-dark);
}

.footer .footer-item p {
  font-size: 16px;
  line-height: 35px;
}

.footer .border-top,
.footer .border-bottom {
  border-color: rgba(241, 209, 209, 0.08) !important;
}

.footer button {
  border: 0;
  transition: 0.5s;
}

.footer button:hover {
  background: var(--bs-dark);
  color: var(--bs-primary);
}

.footer-item a.btn.btn-light:hover {
  background: var(--bs-primary);
  color: var(--bs-dark) !important;
  border: var(--bs-primary);
}

.footer-item a,
.footer-item a i {
  transition: 0.5s;
}

.footer-item a:hover,
.footer-item a i:hover {
  color: var(--bs-primary) !important;
}
