#homepageboxes .box-col:nth-child(odd) .navigation-box {
  background-color: #F0F1F6;
}
#homepageboxes .box-col:nth-child(even) .navigation-box {
  background-color: #F5F8F9;
}
#homepageboxes .navigation-box {
  height: min(328px, 26vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  transition: all 0.5s ease;
}
#homepageboxes .navigation-box:hover {
  transform: scale(1.03);
}
#homepageboxes .navigation-box .title {
  margin: 6px 0 10px 0;
  font-size: clamp(1.5rem, 1.3vw, 2.5rem);
  font-weight: 400;
  line-height: 34px;
  text-align: center;
}
#homepageboxes .navigation-box .btn-box button {
  font-size: clamp(1rem, 0.75vw, 1.2rem);
  line-height: clamp(28px, 2.4vw, 40px);
  outline: none;
  border: 1px solid #204686;
  padding: 0 20px;
  background-color: #204686;
  border-radius: 10px;
  color: white;
  font-weight: 700;
  transition: all 0.2s;
  position: relative;
}
#homepageboxes .navigation-box .btn-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
#homepageboxes .navigation-box .btn-box button:hover a {
  text-decoration: none !important;
}
#homepageboxes .navigation-box .btn-box button:hover::after {
  transform: scaleX(1.2) scaleY(1.4);
  opacity: 0;
}
#homepageboxes .navigation-box .btn-box button:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
#homepageboxes .navigation-box .btn-box button::after {
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all 0.4s;
  background-color: #204686;
}
#homepageboxes .navigation-box .btn-box button a:hover {
  color: white;
}
#homepageboxes .navigation-box.animation-class {
  background: linear-gradient(270deg, #99c1b9, #d1c4a7);
  background-size: 400% 400%;
  animation: backgroundAnimation 5s linear infinite;
}
@keyframes backgroundAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#homepagesearch .search-box {
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6.2rem;
  border: 1px solid #DBDBDB;
  transition: box-shadow 0.5s ease-in-out; /* Add the transition property */
}
#homepagesearch .search-box:hover {
  box-shadow: 0 6px 20px -10px gray; /* Box shadow on hover */
}
#homepagesearch .search-box:focus-visible, #homepagesearch .search-box:focus-within, #homepagesearch .search-box:focus {
  box-shadow: 0 6px 20px -10px gray;
}
#homepagesearch .search-box form {
  display: flex;
  width: 100%;
}
#homepagesearch .search-box form input {
  padding-left: 20px;
  border: none;
  outline: none !important;
  box-shadow: none !important;
  color: #828282;
  font-size: 1.6rem;
  line-height: 40px;
}
#homepagesearch .search-box form button {
  background-color: white;
  border: none;
  outline: none;
}
#homepagesearch .search-box form button img {
  padding-right: 30px;
}

#header {
  margin-bottom: 0 !important;
}

body {
  height: 100vh !important;
}

.main-content {
  flex: 1 0 0%;
}
.main-content .inner {
  height: 100%;
  overflow: auto;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 8vh;
  justify-content: center;
}

.navigation-box {
  max-width: 802px;
  min-height: 322px;
}
.navigation-box .title {
  max-width: 220px;
}
@media (max-width: 1023px) {
  .navigation-box {
    max-width: unset;
    min-height: unset;
  }
}
