html {
  scroll-behavior: smooth;
}

body {
  margin-top: 80px; /* Adjust this value based on the height of your navbar */
  font-family: "Montserrat", sans-serif;
}

footer {
  padding: 24px;
  text-align: center;
  bottom: 0;
  width: 100%;
}

.montserrat {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.6px;
  line-height: 27px;
  color: rgba(18, 18, 18, 0.75);
}
.libre-baskerville {
  font-family: "Libre Baskerville", serif;
}

.text-base {
  font-size: 16px;
}
.text-4xl {
  font-size: 40px;
}
@media (min-width: 768px) {
  #book {
    margin-left: 16px;
    margin-right: 16px;
  }
}

.navbar-logo {
  width: 80px;
  height: 23.007915567282325px;
  display: block;
  box-sizing: border-box;
  object-fit: contain;
}

.nav-link.active {
  background-color: rgb(
    107 114 128
  ); /* Change this to your desired active color */
  color: #ffffff; /* Change this to your desired text color */
}

.nav-link:not(.active):hover {
  background-color: rgb(229, 231, 235); /* Adjust this to your desired hover color */
  color: rgb(31, 41, 55); /* Adjust this to your desired text color on hover */
}

.cctv-section-background {
  background-image: url("../img/cctv.webp");
  transition: background-position 10s ease-in-out,
    background-size 10s ease-in-out;
  position: relative;
  height: 800px;
  background-position: center;
  background-size: cover; /* Ensure the background image covers the entire section */
}

@media (min-width: 1024px) {
  .cctv-section-background {
    height: 600px; /* Adjust the height for mobile devices */
    background-size: contain; /* Ensure the background image covers the entire section */
  }
}

.cctv-section-heading {
  font-family: "Libre Baskerville", serif;
  box-sizing: border-box;
  color: white;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 31.2px;
  text-align: center;
  padding: 0 1rem;
}

.cctv-section-subtext {
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.75);
  display: block;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  height: auto;
  letter-spacing: 0.6px;
  line-height: 28.8px;
  list-style-position: outside;
  overflow-wrap: break-word;
  scrollbar-color: rgb(18, 18, 18) rgba(18, 18, 18, 0.04);
  text-align: center;
  width: auto;
  max-width: 475px;
  padding: 0 1rem;
}

.what-we-offer-text {
  box-sizing: border-box;
  color: rgb(18, 18, 18);
  text-align: center;
  display: block;
  font-family: "Libre Baskerville", serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  height: auto;
  letter-spacing: 0.6px;
  line-height: 31.2px;
  opacity: 1;
  overflow-wrap: break-word;
  transform: matrix(1, 0, 0, 1, 0, 0);
  unicode-bidi: isolate;
  width: auto;
  max-width: 500px;
  word-break: break-word;
  padding: 0 1rem;
}

#mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 10;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.show {
  opacity: 1;
  transform: translateY(0);
}

#mobile-menu a {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.show a {
  opacity: 1;
  transform: translateY(0);
}

#mobile-menu.show a:nth-child(1) {
  transition-delay: 0.1s;
}

#mobile-menu.show a:nth-child(2) {
  transition-delay: 0.2s;
}
#mobile-menu.show a:nth-child(3) {
  transition-delay: 0.2s;
}

#mobile-menu.show a:nth-child(4) {
  transition-delay: 0.2s;
}
/* Add more nth-child rules if you have more menu items */
