/* ! ========== General Styles ========== */
html {
  font-size: 0.75rem;
}

@media screen and (min-width: 480px) {
  html { font-size: 0.85rem; }
}

@media screen and (min-width: 768px) {
  html { font-size: 0.95rem; }
}

@media screen and (min-width: 1024px) {
  html { font-size: 1rem; }
}

body {
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

body > * {
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

/* ! ========== Navbar Styles ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 65px;
  background-color: white;
  z-index: 4;
}

.navbar-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: inline-block;
}

@media (max-width: 768px) {
  .navbar-logo {
    height: 25px;
  }
}

.navbar-toggler {
  border: none;
  outline: none;
  padding: 0.5rem;
  margin-right: 1rem;
  margin-top: -0.3vh;
  z-index: 4;
  background-color: #fac11a !important;
}

.hamburger-icon {
  display: inline-block;
  width: 25px;
  height: 20px;
  position: relative;
}

.hamburger-icon span {
  display: block;
  height: 3px;
  background-color: #092551;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s ease;
}

.header-link {
  color: #092551;
  text-decoration: none;
}

.nav-link.active {
  font-weight: bold;
}


/* ! ========== Sidenav Styles ========== */
.sidenav {
  position: fixed;
    top: 65px;
    left: 0;
    width: 33vw;
    height: calc(100vh - 65px);
    background: #f8f9fa;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    z-index: 3;
    overflow-y: auto;
    display: flex !important;
    flex-direction: column;
    padding: 1rem;
    will-change: transform;
    visibility: hidden;
  transition: transform 0.3s ease;
}

@media (max-width: 991.98px) {
  .sidenav.show {
    transform: translateX(0);
    visibility: visible;
  }
}

@media (min-width: 992px) {
  .sidenav {
    all: unset;
    display: flex !important;
    align-items: center;
  }

  .navbar-nav {
    flex-direction: row !important;
  }

  .nav-link {
    padding: 0 1rem;
  }
}


/* ! ========== Header Styles ========== */
.header-container {
  background-color: #092551;
  opacity: 0.75;
  padding: 2.5vh;
}

.header {
  margin: 0 10vw;
}


/* ! ========== Carousel Styles ========== */
#hero-carousel {
  width: 100%;
}

.carousel-item {
  height: calc(100vh - 56px);
  width: 100%;
}

.carousel-caption-box {
  position: absolute;
  top: 50%;
  left: 15%;
  max-width: 25rem;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  z-index: 2;
  transform: translateY(-50%);
}

.carousel-caption-box > h5 {
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .carousel-caption-box {
    max-width: 20rem;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .carousel-caption-box {
    max-width: 15rem;
    padding: 1.5rem;
  }

  .carousel-caption-box h5 {
    font-size: 1rem;
  }

  .carousel-caption-box p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .carousel-caption-box {
    max-width: 10rem;
    padding: 1rem;
  }

  .carousel-caption-box h5 {
    font-size: 1rem;
  }

  .carousel-caption-box p {
    font-size: 0.85rem;
  }
}


/* ! ========== Timeline Styles ========== */
.timeline {
  margin-top: 8vh;
  border-left: 1px solid hsl(0, 0%, 90%);
  position: relative;
  list-style: none;
}

.timeline .timeline-item {
  position: relative;
}

.timeline .timeline-item:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline .timeline-item:after {
  background-color: #929292;
  left: -46px;
  border-radius: 50%;
  height: 11px;
  width: 11px;
  content: "";
}


/* ! ========== Footer Styles ========== */
#footer {
  height: 7.5vh;
  background-color: #092551;
}

.footer-item {
  color: white;
  margin: 1px 1rem 0 1rem;
}

.footer-link > svg {
  margin-bottom: 3px;
}