h1 {
  font-size: 4.8rem;
}

h2 {
  font-size: 4.4rem;
}

h5 {
  font-size: calc(2.04rem + 0.3vw);
}

h6 {
  font-size: 2rem;
}

img {
  transition-property: transform;
  transition-duration: 500ms;
  transition-timing-function: ease;
}

/* Navbar */

/* Animation */
.navbar {
  width: 100%;
  padding-block: 0.6rem;
  border-bottom: 0.1rem solid var(--gray-darker);

  position: fixed;
  top: 0;
  z-index: 15;

  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.navbar.hide {
  transform: translateY(-100%);
  opacity: 0;
}

nav {

  /* Logo */
  img {
    flex-shrink: 0;
    width: max(3.6rem, min(5rem, 12vw));
    height: max(3.6rem, min(5rem, 12vw));
  }

  li {
    font-family: var(--header-font);
  }

  .dropdown-menu li {
    height: auto;
    font-size: 1.6rem;
  }

  .dropdown-item {
    transition-duration: 100ms;
    transition-property: background;
    transition-timing-function: ease-in-out;
  }

  .dropdown-item:active,
  .dropdown-item:hover {
    background-color: var(--gray-dark) !important;
  }

  a {
    text-decoration: none;
  }

  a.navbar-brand {
    color: var(--white);
    font-size: 2.4rem;
    font-weight: 700;
  }

  a.navbar-brand:hover {
    color: var(--white);
  }

  .nav-link,
  .nav-item {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--white) !important;
  }

  .nav-link:hover {
    color: var(--blue-primary-hover-dark) !important;
  }

  #sign-in-button,
  #sign-up-button,
  #sign-up-button-mobile {
    font-size: 1.6rem;
    font-family: var(--header-font);
    font-weight: 500;

    padding: 0.68rem 1.28rem;
    border-radius: 0.4rem;
    cursor: pointer;

    background-color: var(--blue-primary);
    color: var(--white);

    cursor: pointer;
    transition-property: border transform background-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
  }

  #sign-up-button:hover,
  #sign-up-mobile:hover {
    background-color: var(--blue-primary-hover-darker);
    border-radius: 0.4rem;
  }

  /* Mobile */
  .navbar-toggler {
    border-color: var(--gray-dark) !important;
  }

  .navbar-toggler-animation {
    color: white;
    background-color: white;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }
}

/* Responsive navbar */
@media screen and (max-width: 768px) {
  nav {
    width: 100% !important;
  }

  nav .nav-border {
    border-radius: 0rem !important;
  }
}

/* Mobile */
.navbar-collapse {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

@media (min-width: 1200px) {
  .navbar-expand-xl .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
}

.collapse:not(.show) {
  display: block;
  opacity: 0;
  transform: translateX(-100%);
}

.navbar-toggler.d-block+.collapse:not(.show) {
  display: flex;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

@media screen and (max-width: 1200px) {
  .navbar-nav {
    background-color: var(--navbar-mobile-bg);

    position: absolute;
    left: 0;
    z-index: 10;

    width: 100%;

    li {
      padding-block: 0.6rem;
    }

    li:nth-child(n + 1) {
      border-bottom: 0.02rem solid var(--navbar-mobile-border);
    }

    li:last-child {
      border: none !important;
    }

    .nav-link {
      padding-left: 1rem;
    }

    .gap-3 {
      gap: 0 !important;
    }
  }
}

/* Hero */
#hero {
  p {
    color: var(--gray-light);
  }

  span.tag {
    color: var(--blue-primary-light);
  }

  button {
    font-size: 1.6rem;
    padding: 1.2rem 1.6rem;
    border-radius: 0.4rem;
  }

  a>img:hover {
    cursor: pointer;
    transform: scale(1.05);
  }
}

#about-us {
  a>img:hover {
    cursor: pointer;
    transform: scale(1.03);
  }
}

/* Testimonials / Our clients / Discover with HRelper */
#testimonials {
  span.tag {
    color: var(--blue-primary-light);
  }

  .carouselItem {
    height: 8rem !important;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    margin-right: 3.8rem !important;
    filter: grayscale(0.8);
    transition: 0.2s ease-in-out;
    cursor: pointer;
  }

  .swiper-container .carouselItem:hover {
    filter: grayscale(0);
    transform: scale(1.1);
  }

  .carouselItem img {
    height: 100%;
    transition: transform 1s;
  }

  .carouselItem img:hover {
    transform: translateZ(20px);
  }
}

/* How it works*/
#how-it-works {
  h3 {
    font-size: 3.6rem;
  }

  a,
  li,
  p {
    font-size: 1.6rem;
  }

  a.btn {
    padding: 0.8rem 1.6rem;
  }

  span {
    font-size: 1.6rem;
    color: var(--blue-primary-light);
  }
}

/* Mobile */
@media (min-width: 768px) {
  #pills-share {
    img {
      max-width: 50rem !important;
    }
  }
}

/* Benefits */
#benefits {
  h5 {
    font-size: calc(2.04rem + 0.3vw);
  }

  p {
    color: var(--gray-dark);
  }

  span.tag {
    color: var(--blue-primary-light);
  }
}

/* Contact us */
#contact-us {
  label {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--black);
    font-family: var(--heading-font);
  }

  input,
  textarea {
    font-size: 1.6rem;
  }

  span.tag {
    font-size: 1.6rem;
    color: var(--blue-primary-light);
  }
}

/* Modals */
.error-message {
  color: var(--red-danger) !important;
  font-size: 1.4rem !important;
  font-weight: 400;
  font-family: var(--text-font);

  padding: 0rem;
}

.success-message {
  color: var(--green-success-dark) !important;
  font-size: 2rem !important;
  font-weight: 700;
  font-family: var(--text-font);
}

#login,
#register,
#reset-password,
#google-justification {
  .modal-header>img {
    flex-shrink: 0;
    width: max(3.6rem, min(5rem, 12vw));
    height: max(3.6rem, min(5rem, 12vw));
  }

  .inline-separator {
    width: 25%;
    height: 0.2rem;
    background-color: var(--gray-light);
  }

  h1 {
    color: var(--black);
    font-size: 3.2rem;
  }

  p {
    color: var(--gray-dark);
    font-size: 1.2rem;
    margin-block: 0rem !important;
  }

  a {
    color: #0d6efd;
    text-decoration: underline;
    font-size: 1.7rem;
  }

  form {
    filter: var(--drop-shadow-card);
  }

  label {
    font-size: 2rem;
    font-weight: 500;
    color: var(--black);
    font-family: var(--heading-font);
  }

  .icons {
    position: relative;
  }

  .container button {
    width: 100%;
  }

  input+i.bi {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);

    font-size: 2rem;
  }

  textarea {
    font-size: 1.4rem;
  }

  .input-icon {
    padding: 1rem 3.6rem;

    position: relative;

    border-radius: 0.4rem;
    border: 0.05rem solid var(--gray-dark);

    font-family: var(--text-font);
    font-weight: 400;
    font-size: 1.4rem;
  }

  .modal-link {
    text-decoration: underline;
    width: fit-content;
    color: var(--blue-primary);
    cursor: pointer;

    transition-property: color;
    transition-duration: 200ms;
    transition-timing-function: ease;
  }

  .modal-link:hover {
    color: var(--blue-primary-hover-darker);
  }
}

#login p,
#register p,
#reset-password p,
#google-justification p {
  font-size: 1.6rem;
}

@media screen and (min-width: 576px) {

  #login .container,
  #register .container,
  #reset-password .container,
  #google-justification .container {
    width: 40rem !important;
  }
}

@media screen and (min-width: 768px) {

  #login .container,
  #register .container,
  #reset-password .container,
  #google-justification .container {
    width: 45rem !important;
  }
}

@media screen and (min-width: 992px) {

  #login .container,
  #register .container,
  #reset-password .container,
  #google-justification .container {
    width: 50rem !important;
  }
}

@media screen and (min-width: 1200px) {

  #login .container,
  #register .container,
  #reset-password .container,
  #google-justification .container {
    width: 55rem !important;
  }
}

footer {
  /* padding: 3.3rem 11.6rem; */

  h3 {
    font-size: 3.6rem;
  }
}

footer span {
  font-size: 2rem;
}

footer a:not(.btn):hover {
  color: var(--blue-primary-hover-dark) !important;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.pricing-card {
  transition: all 0.3s ease;
}

.pricing-card:not(.pricing-popular):hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.pricing-popular:hover {
  transform: translateY(-15px);
  box-shadow: 0px 4px 35px rgba(var(--bs-primary-rgb), 0.2) !important;
}

.pricing-icon {
  transition: all 0.3s ease;
}

.pricing-card:hover .pricing-icon {
  transform: scale(1.1);
}

.pricing-switch .btn.active {
  background-color: var(--blue-primary);
  color: white;
}

#pricing-most-popular-cta:hover {
  color: var(--bs-btn-hover-color) !important;
}

#try-it-out-button {
  box-shadow: 0 0px 20px rgb(0 102 255);
  background-color: #0077FF;
}
#try-it-out-button:hover {
  box-shadow: 0 0px 30px rgb(0 102 255);
  background-color: #0077FF;
}

#try-it-out-cta {
  box-shadow: 0 0px 20px rgb(0 102 255);
  background-color: #0077FF;
}
#try-it-out-cta:hover {
  box-shadow: 0 0px 30px rgb(0 102 255);
  background-color: #0077FF;
}
