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

html {
  min-height: 100%;
}

@media (max-width: 991.98px) {
  html,
  body {
    padding-top: 0;
  }
}

@media (max-width: 575.98px) {
  html,
  body {
    padding-top: 0;
  }
}


.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/log1.webp");
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  width: 40%;
  height: 75vh;
  position: absolute;
  top: 4.5rem;
  right: 5%;
  transform: translateY(0);

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 10px;
  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: 0 20px 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 15px;
  }

  .card-body {
    padding: 0 20px 20px 20px;
  }

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

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

.card-body {
  width: 100%;
  max-width: 400px;
  background-color: transparent;
  padding: 0 30px 30px 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;
}







/* .................................signup .................................... */


/* in /css/index.css or inside <style> in <head> */
#offcanvasSignup {
  background: url('/images/') no-repeat center center fixed;
  background-size: cover;

  width: min(95vw, 700px) !important;
  max-width: 700px;

  height: calc(100vh - 90px);
  max-height: 900px;

  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;

  box-shadow: -4px 0px 20px rgba(0, 0, 0, 0.2);
  border-radius: 10px;

  top: 70px;
  right: 20px;
  left: auto;

  overflow-y: auto;
}

.card-section {
  padding: 20px;
  overflow: hidden;
}

.form-control,
.form-select {
  width: 100%;
}

.doc-box {
  width: 100%;
}

.page-title {
  font-weight: 600;
  font-size: 15px;
  color: black;
  margin-bottom: 30px;
}

.section-title1 {
  font-size: 15px;
  font-weight: 600;
  color: black;
  border-left: 5px solid #90f4ef;
  padding-left: 10px;
  margin-top: 35px;
  margin-bottom: 15px;
}

.card-section {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #dfe3ee;
}

.form-label {
  font-weight: 600;
  color: black;
}

.verify-btn {
  background: #0f3910;
  color: white;
  padding: 10px 20px;
  width: 100%;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.2s;
}

.verify-btn:hover {
  background: #142852;
}

.submit-btn {
  background: orangered;
  color: white;
  padding: 9px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: 0.25s;
}

.submit-btn:hover {
  background: #1f8a37;
}

.doc-box {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
  display: block;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.max-info {
  font-size: 13px;
  color: #666;
}


/* ORANGE hamburger icon */
.navbar-toggler {
  border-color: #ff6219;
}

.navbar-toggler-icon {
  filter: invert(48%) sepia(96%) saturate(2471%) hue-rotate(2deg) brightness(101%) contrast(103%);
}


/* FIX: prevent navbar overlap on mobile */
#mainCarousel {
  margin-top: 0;
}

@media (max-width: 991.98px) {
  #mainCarousel {
    margin-top: 0;
  }
}


@media (max-width: 991.98px) {

  #offcanvasSignup {
    width: 90vw !important;
    max-width: 90vw !important;

    height: 90vh !important;

    top: 5vh !important;
    right: 5vw !important;
    left: auto !important;

    border-radius: 12px !important;
  }

  .section-title1 {
    font-size: 14px;
  }

  .card-section {
    padding: 18px;
  }
}

@media (max-width: 575.98px) {

  #offcanvasSignup {
    width: 100vw !important;
    max-width: 100vw !important;

    height: 100vh !important;

    top: 0 !important;
    right: 0 !important;

    border-radius: 0 !important;
  }

  .offcanvas-body {
    padding: 10px;
  }

  .card-section {
    padding: 15px;
  }

  .page-title {
    font-size: 16px;
  }

  .section-title1 {
    font-size: 14px;
  }

  .form-label {
    font-size: 13px;
  }

  .submit-btn {
    width: 100%;
  }
}

.offcanvas-body {
  overflow-y: auto;
  height: 100%;
}



@media (max-width: 991.98px) {
  .navbar-nav {
    align-items: flex-start;
    gap: 10px;
  }

  .navbar .btn {
    width: auto;
  }
}

/* ONLY center buttons on mobile */
@media (max-width: 991.98px) {

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    display: flex;
    justify-content: center; /* centers buttons */
    width: 100%;
  }

}







.airport-input {
  height: 40px !important;
  padding: 2px 12px !important;
  font-size: 13px !important;
  font-family: 'Times New Roman', Times, serif;

  border: 1px solid #d0d7de !important;
  border-radius: 15px !important;

  background: transparent;
  background-color: transparent;

  /* Modern soft shadow */
  box-shadow:
      0 4px 8px rgba(0, 0, 0, 0.08),
      0 10px 22px rgba(0, 0, 0, 0.06) !important;

  transition: all 0.25s ease;
}

.airport-input:hover {
  border-color: #9ec5fe;

  box-shadow:
      0 4px 10px rgba(0, 0, 0, 0.10),
      0 10px 24px rgba(13, 110, 253, 0.10);
}

.airport-input:focus {
  outline: none;
  border-color: #0d6efd;

  background: transparent;

  /* Premium blue glow */
  box-shadow:
      0 0 0 4px rgba(13, 110, 253, 0.15),
      0 8px 24px rgba(13, 110, 253, 0.18);

  transform: translateY(-1px);
}

.offcanvas {
  background-image: url('/images/tra8.webp') !important;
}
