@tailwind base;
@tailwind components;
@tailwind utilities;

@layer components {
  .container {
    @apply mx-auto w-full max-w-[1280px] px-5;
  }

  .nav-links {
    @apply flex cursor-pointer items-center justify-center gap-1 text-base font-semibold capitalize text-white;
  }

  .dropdown-content-list {
    @apply flex h-full cursor-pointer flex-row items-center rounded-xl bg-black px-4 py-2 text-base font-semibold capitalize text-white;
  }

  .tertiary-btn {
    @apply flex h-12 cursor-pointer items-center justify-center rounded-[2.5rem] border border-purple bg-[#f8f8f8] px-10 text-sm font-bold text-purple;
  }

  .secondary-btn {
    @apply flex h-12 cursor-pointer items-center justify-center rounded-[2.5rem] border border-purple bg-white px-10 text-sm font-bold text-purple;
  }

  .primary-btn {
    @apply flex h-12 cursor-pointer items-center justify-center rounded-[2.5rem] bg-purple px-10 text-sm font-bold text-white;
  }

  .hero-paragraph {
    @apply max-w-[730px] text-center text-lg font-medium text-white;
  }

  .extra-heading {
    @apply text-center text-[#f3f2f5];
  }

  .slider-logo {
    @apply h-7 sm:h-10;
  }

  .card {
    @apply flex flex-col gap-y-8 rounded-[32px] py-5 md:py-10;
  }
}

.author-avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 40px;
}

/* button */
.button {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  background-color: black;
  color: white;
  border: 1.5px solid #000;
  border-radius: 12px;
  flex: 0 auto;
  justify-content: flex-start;
  align-items: center;
  margin-top: 20px;
  padding: 16px 40px;
  font-family:
    Made Gentle Personal Use,
    sans-serif;
  font-size: 18px;
  line-height: 28px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  max-width: 100%;
}

.light_border-button {
  border: 1.5px solid white;
  background-color: rgba(0, 0, 0, 0);
  padding-left: 40.5px;
  padding-right: 40.5px;
}

.dark_border-button {
  color: #1b1a1f;
  background-color: #fff;
  border-color: #1b1a1f;
  transition: all 0.2s;
}

.button:hover {
  background-color: white;
  color: black;
  border-color: #fff;
}

.dark_border-button:hover {
  background-color: black;
  color: #fff;
}

.light_border-button:hover {
  border: 1.5px solid white;
  color: black;
  background-color: rgba(0, 0, 0, 0);
}

/* trusted customer slider */

.slider-logo.slider-logoTwo {
  mix-blend-mode: difference;
}

.scrolling-container {
  display: flex;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* carousel */
.owl-carousel .owl-item img {
  display: block;
  width: auto;
}

.owl-theme .owl-prev {
  left: 89%;
  right: auto;
}

.owl-theme .owl-next {
  right: 0%;
  left: auto;
}

.owl-theme .owl-nav [class*="owl-"] {
  border: 1px solid #9b3994 !important;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 6%);
  color: #9b3994 !important;
  transition: all 0.2s ease-in;
  background: #fff !important;
  border-radius: 100%;
  z-index: 4;
  position: absolute;
  width: 50px;
  height: 50px;
  bottom: calc(100% + 64px);
}

.ribi-category .owl-nav [class*="owl-"] {
  margin-bottom: 2rem;
}

.owl-theme .owl-next:focus,
.owl-theme .owl-next:hover,
.owl-theme .owl-prev:focus,
.owl-theme .owl-prev:hover {
  border: 1px solid #9b3994 !important;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 6%);
  color: #9b3994 !important;
  transition: all 0.2s ease-in;
  background: #fff !important;
}

.owl-theme .owl-next:active,
.owl-theme .owl-prev:active {
  background-color: #9b3994 !important;
  color: #fff !important;
  border: 1px solid #9b3994 !important;
}

.owl-theme .owl-dots .owl-dot span {
  background: #d7b0d4;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #9b3994;
}

.customers-carousel .owl-dots .owl-dot span {
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition:
    background-color 0.1s,
    color 0.1s;
  display: inline-block;
  position: relative;
}

.owl-theme .owl-nav {
  margin-top: 0px;
}

.owl-theme .owl-nav .disabled {
  opacity: 0.2 !important;
  cursor: default;
}

/* tab-homepage */
.company-tab {
  background-color: rgba(0, 0, 0, 0);
  border: 1.5px solid #1b1a1f;
  border-radius: 28px;
  padding: 40px 24px;
  cursor: pointer;
}

.active_company-tab {
  background-color: #fff;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.company-tab .tab-content {
  display: none;
}

.active_company-tab .tab-content {
  display: block;
}

.tab-image {
  display: none;
}

.tab-image.active-tab {
  display: block;
}

/* partners pgae tab */
.tab-link {
  color: #717073;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 40px;
  padding: 12px 32px;
  font-size: 18px;
  line-height: 28px;
  vertical-align: top;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.tab-link.tab-link_current {
  color: #000;
  background-color: #f3f2f5;
  font-weight: 600;
}

.tab-link_text-box {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 14px;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 26px;
}

/* navbar */
.nav-button {
  color: #000;
  background-color: #fff;
  border-radius: 8px;
  padding: 8px 27px;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 600;
  font-size: 16px;
}

.nav-button.dark {
  background-color: #000;
  color: #fff;
}

.nav-button:hover {
  box-shadow: 2px 4px 0 0 #000;
}

.nav-button.dark:hover {
  background-color: #fff;
  color: #000;
  box-shadow: 2px 4px #000;
}

/* navbar  */

.mobile {
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  display: flex;
}

.sidebar-links-wrapper {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
  flex-direction: column;
  gap: 1.25rem;
  width: fit-content;
  display: flex;
  margin-top: 3rem;
}

.active-nav {
  opacity: 1;
  display: block;
  transform: translateY(20px);
}

.sidebar {
  backdrop-filter: blur(4px);
  text-align: left;
  background-color: #00000033;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 50;
  left: 0px;
  position: fixed;
}

.sidebar-wrapper {
  padding: 20px 16px;
  background-color: #fafafa;
  flex-direction: column;
  max-width: 1230px;
  width: 85%;
  height: 100%;
  display: flex;
  position: relative;
}

.show-sidebar {
  display: block;
}

/* footer */
.footer-wrapper {
  color: white;
}

.footer-links__list {
  grid-row-gap: 0rem;
  flex-direction: column;
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
  display: flex;
}

.footer-links__li {
  max-width: 212px;
  padding-left: 0;
}

.footer__link {
  color: white;
  border-radius: 6px;
  padding: 0.5rem 0.4rem 0.4rem;
  font-size: 0.875rem;
  text-decoration: none;
  transition:
    color 0.5s,
    background-color 0.5s;
  display: inline-block;
}

.footer__link-title-last {
  padding-top: 2.875rem;
  padding-bottom: 0.875rem;
}

.footer-getin-touch {
  grid-row-gap: 16px;
  flex-direction: column;
  padding-top: 2rem;
  display: flex;
}

.social-media-wrapper {
  grid-column-gap: 1.5rem;
  color: white;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.footer__logo-link {
  width: 100%;
}

.footer-form-wrapper {
  padding-top: 6rem;
}

.footer-form-wrapper {
  padding-top: 6rem;
}

.footer-copyright-text {
  color: #f3f3f3;
  font-size: 0.9375rem;
}

@media (max-width: 767px) {
  .footer-getin-touch {
    padding-top: 0.4rem;
  }

  .footer-copyright-text {
    font-size: 0.875rem;
  }

  .footer-form-wrapper {
    padding-top: 3rem;
  }

  .footer__logo-link {
    width: 180px;
    color: white;
    position: absolute;
    top: 0%;
    bottom: auto;
    left: 0%;
    right: auto;
  }

  .footer-form-wrapper {
    padding-top: 3rem;
  }

  .footer-links__list {
    grid-row-gap: 0.5rem;
    transition: max-height 0.4s;
  }

  .footer__link {
    padding-left: 0;
    padding-right: 0;
  }

  .footer-links__li {
    max-width: 100%;
  }

  .footer-wrapper {
    padding-top: 4.5rem;
    padding-bottom: 1.5rem;
    position: relative;
  }
}

@media (max-width: 991px) {
  .footer-getin-touch {
    padding-top: 0.4rem;
  }
}
