* {
  margin: 0;
  padding: 0;
}
html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
  scroll-behavior: smooth;
}

body {
  padding-top: 56px;
}

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 90px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    background-color: white;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
  .offcanvas-collapse.open > .nav-link {
    color: black !important;
  }
}
.navbar {
  transition: unset;
}
.scroll-nav {
  background-color: white !important;
  color: black !important;
}
.scroll-nav-a {
  color: black !important;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  white-space: nowrap;
}

.nav-underline .nav-link {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

#cursor {
  display: inline-block;
  width: 5px;
  height: 40px;
  background-color: gray;
  animation: blink 0.5s infinite alternate;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -999;
  filter: brightness(20%);
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-container video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: brightness(20%);
}

.radius-container-down,
.radius-container {
  border-bottom-left-radius: 50%;
}
.radius-container-up,
.radius-container {
  border-top-right-radius: 50%;
}

/* Optional: Add styling for other content */
.content {
  position: relative;
  z-index: 1;
  /* Ensure content is above video */
  color: white;
  text-align: center;
  padding: 50px;
}

.navbar {
  background-color: #ffffff5b;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #fff;
  border-radius: 0.75rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
}

.icon-link > .bi {
  margin-top: 0.125rem;
  margin-left: 0.125rem;
  transition: transform 0.25s ease-in-out;
  fill: currentColor;
}

.icon-link:hover > .bi {
  transform: translate(0.25rem);
}

.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  border-radius: 0.75rem;
}

.card-cover {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

#upArrowBtn {
  animation: move-up 1.5s ease infinite;
}

#founderContainer,
#tutorContainer {
  background-position: center;
  background-repeat: no-repeat;
  background-clip: border-box;
  background-size: cover;
  height: 300px;
  padding: 0;
  overflow: hidden;
}

#founderContainer {
  background-image: url("/assets/images/founder_img.jpg");
}

#founderContainer .info,
#tutorContainer .info {
  padding: 30px;
  background-color: #000000d8;
  color: white;
  height: 300px;
  transform: translateY(-100%);
  transition: all ease 0.5s;
}

#founderContainer:hover .info,
#tutorContainer:hover .info {
  transform: translateY(0);
}

#tutorContainer.mumuni-azeez {
  background-image: url("/assets/images/mumuni_azeez.jpg");
}
#tutorContainer.idowu-farouk {
  background-image: url("/assets/images/farouk.jpg");
}
#tutorContainer.maxwell {
  background-image: url("/assets/images/maxwell.jpg");
}
#tutorContainer.akalugwu {
  background-image: url("/assets/images/akalugwu.jpg");
}

.gallery-image {
  cursor: pointer;
}

.gallery-modal {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: #00000086;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal div.close {
  position: fixed;
  right: 50px;
  top: 20px;
  z-index: 100000000000;
  box-sizing: border-box;
  text-align: right;
}

.gallery-modal div.close button {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 30px;
}

.gallery-modal div {
  text-align: center;
  width: 100%;
}
.gallery-modal img {
  width: 80%;
  height: 100%;
}

@keyframes move-up {
  0% {
    padding-bottom: 0;
  }
  25% {
    padding-bottom: 2px;
  }
  50% {
    padding-bottom: 4px;
  }
  75% {
    padding-bottom: 2;
  }
  100% {
    padding-bottom: 0px;
  }
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.responsive {
  width: 300px;
  height: 300px;
  background-color: red;
}

@media screen and (max-width: 690px) {
  .responsive {
    width: 100%;
    height: 300px;
    background-color: blue;
  }
}

.hero {
  background-color: #e3ffe7 !important;
  color: black !important;
}

.gradientBgColor {
  background: linear-gradient(90deg, #e3ffe7 0%, #d9e7ff 100%);
}
.gradientBgColor2 {
  background: linear-gradient(90deg, #00ff88 0%, #0700b8 100%);
}

.border-color {
  border: 5px solid #23b6f0 !important;
}

.btn-home {
  background-color: red;
  color: white;
  transition: all 0.5s ease-out;
}

.btn-teacher {
  background-color: navy;
  color: white;
  transition: all 0.5s ease-out;
}

.btn-coding {
  background-color: green;
  color: white;
  transition: all 0.5s ease-out;
}

.btn-school {
  background-color: greenyellow;
  color: black;
  transition: all 0.5s ease-out;
}

.btn-home:hover,
.btn-teacher:hover,
.btn-coding:hover,
.btn-school:hover {
  color: white;
  transform: scale(1.2);
}

.btn-home.active,
.btn-teacher.active,
.btn-coding.active,
.btn-school.active {
  transform: scale(1.2);
}

.btn-school:hover {
  color: black !important;
}
