
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%;
}


.navbar-nav .nav-link {
  color: orange;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.2rem;
  padding: 0.5rem 1.8rem;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(248, 248, 248, 0.2);
  border-radius: 0.25rem;
}

/* Carousel images: fully responsive */
.carousel-item img {
  width: 100%;
  height: auto;
  max-height: 99vh;
  object-fit: cover;
  display: block;
}

/* Remove fixed height forcing for larger screens */
@media (min-width: 668px) {
  .carousel-item img {
    height: auto;
    /* or remove this block entirely */
  }
}

.navbar {
  z-index: 1000;
}


.navbar-brand img {
  height: 40px;
  width: auto;
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1rem;
  }



  .navbar .btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* === RIGHT SECTION === */
.right-section {
  background-image: url("/images/log.webp");
  background-size: contain;
  /* Change from cover to contain */
  background-position: center;
  background-repeat: no-repeat;
  width: 40%;
  height: 75vh;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: -4px 0px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  z-index: 1001;
}

/* Keep right-section background image visible on small screens */
@media (max-width: 791.98px) {
  .right-section {
    position: relative;
    width: 100%;
    height: auto;
    top: auto;
    right: auto;
    transform: none;
    padding: 40px 20px;
    box-shadow: none;
    /* background-image: none; */
    /* <-- COMMENTED OUT this line */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}


/* Small mobile devices */
@media (max-width: 575.98px) {
  .right-section {
    padding: 30px 15px;
  }

  .card-body {
    padding: 20px;
  }

  .bottom-links {
    font-size: 0.6rem;
  }

  .bottom-links a {
    margin: 0 5px;
  }
}

.card-body {
  width: 100%;
  max-width: 400px;
  background-color: transparent;
  padding: 30px;
}

/* Close button styling */
#closeBtn {
  position: absolute;
  top: 10px;
  right: 12px;
  background-color: transparent;
  border: none;
  font-size: 30px;
  color: cyan;
  cursor: pointer;
}

#closeBtn:hover {
  color: #ff6219;
}

/* Bottom links inside right section */
.bottom-links {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: black;
  font-size: 0.7rem;
  white-space: nowrap;
}

.bottom-links a {
  color: orange;
  margin-left: 10px;
  text-decoration: none;
  transition: color 0.3s;
}

.bottom-links a:hover {
  color: blueviolet;
  text-decoration: underline;
}