/* Converted from main.scss */
@import url("_variables.css");
@import url("_globals.css");
@import url("_header.css");
@import url("_footer.css");
@import url("UI/card.css");
@import url("UI/button.css");
@import url("UI/accordian.css");

.text-primary2 {
  color: var(--green-base) !important;
}

.text-primarylight {
  color: var(--green-hover) !important;
}

.text-secondary2 {
  color: var(--green-dark) !important;
}

.text-dark {
  color: var(--green-darker) !important;
}

.h-px-450 {
  height: 450px !important;
}

.text-justify {
  text-align: justify;
}

.slider-section {
  margin-bottom: 1.6rem;
}

.slider-section:last-child {
  margin: auto;
  padding-bottom: 1.5rem;
}

/* small device handling css */
@media (max-width: 768px) {
  .sm\:block {
    display: block !important;
  }

  .sm\:text-center {
    text-align: center !important;
  }

  .sm\:none {
    display: none !important;
  }

  .sm\:flex {
    display: flex !important;
  }

  .sm\:inline {
    display: inline !important;
  }

  .sm\:w-25 {
    width: 25% !important;
  }
  
  .sm\:w-12 {
    width: 12% !important;
  }

  .sm\:gap-4 {
    gap: 1.5rem !important;
  }

  .sm\:align-items-center {
    align-items: center !important;
  }

  .sm\:p-0 {
    padding: 0 !important;
  }
}

/* gradient css */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradientRotate {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes gradientCycle {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}

.bg-gradient {
  background: linear-gradient(
    90deg,
    #ff7f50,
    #6a5acd,
    #ff6347,
    #e67e22
  ) !important;
  background-size: 400% 100% !important;
  background-repeat: no-repeat !important;
  animation: gradientCycle 8s ease-in-out infinite !important;
}

.card {
  background-color: var(--green-lightest);
}

.card.popout:hover {
  background-color: var(--green-lighter);
}

.popout {
  transition: transform 0.5s ease;
  &:hover {
    transform: translateY(-2px) scale(1.04);
    z-index: 2;
  }
}

.popout-highlight {
  transition: transform 0.5s ease;
  &:hover {
    transform: translateY(-2px) scale(1.04);
    background-color: var(--green-lighter);
    z-index: 2;
  }
}

.bg-hover {
  transition: background 0.3s ease;
  &:hover {
    background: var(--green-light);
  }
}

.bg-smokewhite {
  background-color: #f5f5f5 !important;
}

.justify-mobile {
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .justify-mobile {
    justify-content: center;
  }
}

.rounded-top-4 {
  border-radius: 0;
  border-top-left-radius: var(--bs-border-radius-xl) !important;
  border-top-right-radius: var(--bs-border-radius-xl) !important;
}

.rounded-bottom-4 {
  border-radius: 0;
  border-bottom-left-radius: var(--bs-border-radius-xl) !important;
  border-bottom-right-radius: var(--bs-border-radius-xl) !important;
}

@media (min-width: 992px) {
  .staggered-image.offset-up {
    margin-top: -20px;
  }
  .staggered-image.offset-down {
    margin-top: 20px;
  }
}


#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 9999;
    width: 45px;
    height: 45px;
    font-size: 20px;
    line-height: 1;
    text-align: center;
    background-color: var(--green-hover);
    color: #fff;
    border: none;
    transition: opacity 0.3s ease-in-out;
    &:hover{
        background-color: var(--green-base);
    }
}

.form-control-lg {
    font-size: 1.2rem;
}