.navbar {
  background-color: white !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: Inter, "Adjusted Arial", Tahoma, Geneva, sans-serif;
  position: relative;
  z-index: 10;
  height: 50px;
  color: #555;
}

.navbar .nav-item .nav-link {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #555 !important;
}
/* .d-flex{
  border:2px solid black;
} */
/* Logo Styling */
.navbar-brand {
  color: #000 !important;
  font-size: 1.5rem;
  letter-spacing: 1px;
  font-weight: 600;
}

.navbar-brand .m-brand {
  color: #0056b3;
  /* #57bee7 */
  font-style: italic;

  text-transform: uppercase;
  text-decoration: underline;
}



/* Dropdown Menu Styling */
.dropdown-menu {
  position: absolute;
  display: none;
  min-width: 200px;
  background-color: white;
  border-radius: 2px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  top: 140%;
  left: 0;
  z-index: 100;
  margin-top: 0%;
  margin-bottom: 0%;
}

.dropdown button {
  border: 1px solid rgb(205, 205, 211);
}

.nav-link-effect {
  position: relative;
  padding-bottom: 6px;
}

.nav-link-effect::after {
  content: '';
  display: block;
  height: 2px;
  background-color: rgb(33 188 204);
  width: 0;
  transition: width 0.3s ease;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
}

.nav-link:hover::after {
  width: 100%;
}

.dropdown-menu.vertical-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  background-color: white;
  min-width: 150px;
  top: calc(100% + 2px);
  /* Appears below underline */
  left: 0;
  padding: 4px 0;
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 10;
  /* border:2px solid black; */
  height: 200px;
}

.nav-item.dropdown:hover .vertical-menu {
  display: flex;
}

.vertical-menu .dropdown-item {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  /* border:1px solid black; */
}

.vertical-menu .dropdown-item:hover {
  background-color: #f8f9fa;
  color: #2196f3;
}

/* Ensures that navbar items are spaced correctly */
.navbar .d-flex {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.navbar-nav.ms-auto {
  margin-left: auto;
}

#nav-item-sticker {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 28px;
  /*background: linear-gradient(145deg, #ffffff, #f0f0f0); /* Shiny gradient */
  border: 1px solid #999;
  border-radius: 8px;
  background: #fff;
  margin-top: 3%;
  /* border:1px solid #e5f3fd; */
  cursor: pointer;
  /* background-color: #ffffffff; */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-left: 1%;
  margin-right: 1%;
}



#nav-item-sticker:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

#nav-item-sticker .free-sticker {
  background-color: #219653;
  padding: 5px 5px 4px 5px;
  font-size: 9px;
  overflow: hidden;
  font-weight: 800;
  line-height: 6px;
  border-radius: 4px;
  color: #ffffff;
  display: inline-block;
  position: relative;
  margin-left: 4px;
  margin-right: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  /* Light inner shadow */
}

#nav-item-sticker .free-sticker:hover {
  color: rgb(33 188 204);
  text-decoration: none;
}

.free-sticker-after {
  width: 115%;
  position: absolute;
  height: 100%;
  top: 0;
  left: -2px;
  transform: skew(150deg);
  background: linear-gradient(to right,
      transparent 40%,
      rgba(255, 255, 255, 0.4) 10%,
      transparent 50%);
  background-size: 200% 200%;
  background-repeat: no-repeat;
  animation: fre__backplay 2s infinite linear;
}

/* .free-sticker {
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.7);
} */


@keyframes fre__backplay {
  0% {
    background-position: 200% 0%;
  }

  50% {
    background-position: -200% 100%;
  }

  100% {
    background-position: 200% 0%;
  }
}
.navbar .container-fluid{
  width:100%;
}
.navbar-search-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  /* Made bigger (from 380px to 440px) */
  height: 44px;
  /* Slightly taller */
  display: flex;
  align-items: center;
  z-index: 1;

}

/* Search container (split section) */
.search-split-container {
  border: 2px solid #ccc;
  border-radius: 20px;
  padding: 4px 12px;
  background-color: #fff;
  min-width: 400px;
  max-width: 540px;
  height: 44px;
  position: relative;
  display: flex;
  align-items: center;
}

/* Input section remains mostly the same */
.search-input-section {
  flex-grow: 1;
  position: relative;
}

.navbar-search-input {
  border: none;
  outline: none;
  width: 100%;
  padding: 6px 6px;
  font-size: 14px;
  background-color: transparent;
}

/* Vertical divider */
.vertical-divider {
  width: 1px;
  height: 28px;
  /* Slightly taller */
  background-color: #ccc;
  margin: 0 8px;
  /* Adds spacing */
}

/* Location section - tighter spacing */
.location-info-section {
  white-space: nowrap;
  padding-left: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  /* Space between icon and text */
  margin-right: 2%;
}

/* Search button - aligned to the far right, soft blue background, black icon */
.circular-search-button {
  background-color: #1ab3ba;
  /* Very light blue */
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.circular-search-button:hover {
  background-color: #0056b3;
}

.circular-search-button i {
  color: black;
}

.search-input::placeholder {
  color: #999;
  opacity: 1;
}

.search-input:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(33, 188, 204, 0.5);
  border-color: rgb(33, 188, 204);
}

.nav-item-pp {
  font-size: 12px;
  font-weight: 600;
  color: #041533;
}

.suggestions-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 105%;
  width: 100%;
  z-index: 999;
  display: none;
  max-height: 200px;
  overflow-y: auto;
}

.suggestions-list li {
  padding: 8px 12px;
  cursor: pointer;
}

.suggestions-list li:hover {
  background-color: #f0f0f0;
}

.rotate-icon {
  transition: transform 0.3s ease;
}

.rotate-icon.rotate {
  transform: rotate(180deg);
}

/* Mobile dropdown floating over content */
.mobile-dropdown-overlay {
  display: none;
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  padding: 16px;
  overflow-y: auto;
  max-height: calc(100vh - 50px);
}

.mobile-dropdown-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 100%;

}

.dropdown-column {
  flex: 0 0 auto;
  width: 150px;
}

.dropdown-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 2px solid rgb(33 188 204);
  /* blue underline */
}

.dropdown-column ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.dropdown-column li {
  margin-bottom: 8px;
}

.dropdown-column li a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
}

.dropdown-column li a:hover {
  color: #2196f3;
}

.mobile-menu-button {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  padding: 6px 12px;
  margin-left: auto;
  cursor: pointer;
  z-index: 1100;
  transition: color 0.3s ease;
}

.mobile-menu-button:hover {
  color: #2196f3;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .navbar .container-fluid {
    max-width: 100%;
    padding: 0 10px;
    flex-wrap: nowrap;
    overflow-x: hidden;
  }

  .navbar-search-container {
    max-width: 400px;
    width: 100%;
  }

  .search-split-container {
    min-width: auto;
    max-width: 100%;
    width: 100%;
    padding: 4px 8px;
  }

  /* .navbar-brand {
    font-size: 1.4rem;
    white-space: nowrap;
  } */

  .navbar-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .nav-item {
    margin-right: 12px;
  }

  /* #nav-item-sticker {
    width: 120px;
    height: 26px;
    font-size: 11px;
  } */

  .circular-search-button {
    width: 32px;
    height: 32px;
    right: 6px;
  }
}

/* Show only on small screens */
@media (max-width: 991px) {


  .navbar-collapse {
    display: none !important;
  }

.mobile-dropdown-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  justify-content: space-between;
  min-width: 600px;
}

.dropdown-column {
  flex: 0 0 auto;
  width: 150px;
}
.mobile-menu-button {
  display: block;
}
.dropdown-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 2px solid rgb(33 188 204); /* blue underline */
}

.dropdown-column ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.dropdown-column li {
  margin-bottom: 8px;
}

.dropdown-column li a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
}

.dropdown-column li a:hover {
  color: #2196f3;
}


}

.mobile-menu-button {
  display: block;
}

@media (min-width: 992px) {
  .mobile-menu-button {
    display: none;
  }
}
.small-screen-navbar{
  display:none;
 }
#smallMobileDropdownMenu {
  display: none;
}
#smallMobileDropdownMenu.show {
  display: block;
}

 @media (max-width: 700px) {
 
  .small-screen-navbar {
    display: block;
  }

  .general-screen-size {
    display: none;
  }

  .navbar {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(39, 33, 33, 0.1);
    font-family: Inter, "Adjusted Arial", Tahoma, Geneva, sans-serif;
    z-index: 10;
    height: auto;
    color: #555;
    padding: 8px 12px;
  }

  .navbar .d-flex {
    width: 100%;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
  }

  .navbar-brand {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .mobile-menu-button {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 1100;
    padding: 4px 10px;
  }

  .navbar-search-container {
    width: 100%;
    margin-top: 10px;
    margin-left: 0;
  }

  .search-split-container {
    width: 100%;
    min-width: auto;
    max-width: 100%;
    padding: 6px 10px;
    height: 44px;
    border: 1px solid #ccc;
    border-radius: 20px;
    display: flex;
    align-items: center;
  }

  .circular-search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: #1ab3ba;
  }

  .location-info-section {
    display: none;
  }

  .navbar-search-input {
    font-size: 13px;
  }

  .suggestions-list {
    top: 110%;
  }

}
/* === Modal Overlay === */
#captchaModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1050;
  background-color: rgba(0, 0, 0, 0.6); /* dark transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === Modal Box (increased size slightly) === */
.captcha-loading {
  background: white;
  padding: 40px; /* increased padding */
  border-radius: 12px;
  max-width: 550px; /* increased width */
  width: 95%;
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* === CAPTCHA input group === */
.input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

#captcha-img {
  height: 55px;
  width: auto;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#captcha {
  flex-grow: 1;
}

/* === Feedback messages === */
#captcha-feedback {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
}

#captcha-feedback.success {
  color: #28a745;
}

#captcha-feedback.error {
  color: #dc3545;
}

/* === Close button === */
.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

/* === Prevent background interaction when modal is open === */
/* body.modal-open {
  overflow: hidden;
  pointer-events: none;
}

body.modal-open * {
  pointer-events: none;
}

body.modal-open #captchaModal,
body.modal-open #captchaModal * {
  pointer-events: auto; 
} */
.rita-logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(to right, #1ab3ba, #041533); /* Gradient from left to right */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* Fallback for Firefox */
  color: transparent; /* Ensures solid color doesn't show */
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.rita-logo:hover {
  opacity: 0.85;
}
