.container {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 320px) and (max-width: 640px) {
  .logo {
    width: 100px;
    height: 100px;
    position: absolute;
    top: -40px;
    margin-right: 0;
    margin-left: 0px;
    left: 16px;
  }
  .divlogo {
    display: flex;
    flex-basis: 15%;
  }
  .sidelog {
    display: flex;
    flex-direction: column;
    font-size: small;
    align-items: start;
    flex-basis: 65%;
  }
  .sidelog div span svg {
    width: 25px;
    height: 25px;
  }
  form {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 15px;
    width: 70%;
    left: 20px;
  }
  main img {
    height: 500px;
  }
  main section img {
    width: 300px;
    height: 100px;
  }
  #indicators {
    width: 280px;
    height: 12px;
  }
  #next {
    position: absolute;
    right: -10px;
    z-index: 1000;
  }
  #prev {
    position: absolute;
    left: -10px;
    z-index: 1000;
  }
  .card-content:hover h2 {
    top: 150px;
    transition: opacity 1s ease-in-out;
  }
  #cctv h3 {
    font-size: xx-large;
  }
  .cctv-item img {
    width: 260px;
    height: 260px;
  }
  footer {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 15px;
  }
  footer section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
  footer section img {
    width: 150px;
    height: 150px;
    align-self: center;
    display: flex;
    margin-bottom: 15px;
  }
  footer section p {
    width: 100%;
    font-size: small;
    padding: 0 10px;
  }
  footer p {
    font-size: small;
  }
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
:root {
  --brand-color: orange;
  --font-title: "Poppins", sans-serif;
  --font-text: "Open Sans", sans-serif;
  --white: #fff;
  --black: #000;
}

/* CARD COMPONENT */
.carousel-track {
  position: relative;
  width: 36rem;
  height: 46rem;
  overflow: hidden;
}

.card {
  position: absolute;
  width: 36rem;
  height: 46rem;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  color: white;
  box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.card.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.card img,
.card video {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-width: 1500px;
  top: 0;
  left: 0;
  opacity: 0.9;
  transition: opacity 1s ease-out;
}

.card-content {
  position: relative;
  height: 100%;
  z-index: 2;
}

.card h2 {
  position: absolute;
  bottom: 26px;
  left: 30px;
  margin: 0;
  transition: bottom 1s 1s ease-out;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 1.5rem;
}

.card p {
  position: absolute;
  opacity: 0;
  max-width: 80%;
  bottom: 80px;
  left: 30px;
  transition: opacity 0.7s ease-out;
  line-height: 1.6;
  font-size: 1.1rem;
}

.card:hover h2 {
  bottom: 150px;
  transition: bottom 1s ease-out;
}

.card:hover p {
  opacity: 1;
  background-color: rgba(223, 148, 18, 0.5);
  padding: 2px 20px;
  transition: opacity 0.3s 0.3s ease-in, background-color 0.1s ease-out,
    padding 0.1s ease-out;
}

.card:hover img,
.card:hover video {
  transition: opacity 0.3s ease-in;
  opacity: 1;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: background 0.3s;
}

.indicator.active {
  background: #fb923c;
}
/* Responsive carousel track */
@media (max-width: 768px) {
  .carousel-track {
    width: 20rem;
    height: 30rem;
  }
}

@media (max-width: 480px) {
  .carousel-track {
    width: 90vw;
    height: calc(90vw * 1.5);
    max-width: 20rem;
    max-height: 30rem;
  }
}

/* Responsive card sizes */
@media (max-width: 768px) {
  .card {
    width: 20rem;
    height: 30rem;
  }
}

@media (max-width: 480px) {
  .card {
    width: 90vw;
    height: calc(90vw * 1.5);
    max-width: 20rem;
    max-height: 30rem;
  }
}
