/*
 Theme Name:   Astra Child
 Template:     astra
 Version:      1.1.28
*/

/* base header state */
#masthead {
  position: sticky !important;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

/* scrolled state */
#masthead.is-scrolled {
  background: rgba(255, 255, 255, 0.75); /* milky */
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* Long nav header screen adaptations to avoid linebreak */
.main-header-menu a.menu-link {
  font-size: 93%;
  padding: 0 0.73em;
}
.site-header-primary-section-right .ast-custom-button {
  white-space: nowrap;
}
@media (max-width: 1255px) {
  .main-header-menu a.menu-link {
    font-size: 90%;
    padding: 0 0.8em;
  }
}
@media (max-width: 1230px) {
  .ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item:first-child {
    display: none;
  }
  .main-header-menu a.menu-link {
    font-size: 90%;
    padding: 0 0.8em;
  }
}
@media (max-width: 1190px) {
  .main-header-menu a.menu-link {
    font-size: 85%;
    padding: 0 0.7em;
  }
}
@media (max-width: 1095px) {
  .main-header-menu a.menu-link {
    font-size: 80%;
    padding: 0 0.6em;
  }
}
@media (max-width: 1034px) {
  .main-header-menu a.menu-link {
    font-size: 77%;
    padding: 0 0.5em;
  }
}
@media (max-width: 991px) {
  .main-header-menu a.menu-link {
    font-size: 73%;
    padding: 0 0.29em;
  }
}
@media (max-width: 921px) {
  .main-header-menu a.menu-link {
    font-size: inherit;
    padding: inherit;
  }
}

/* Hide blue line at language switcher that has a dropdown */
.ast-desktop .ast-menu-hover-style-underline > .menu-item:last-child > .menu-link:before {
  display: none;
}


.footer-nav-wrap {font-weight: 700}

.secondary-btn {
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  transition: color 0.3s ease;
}
/* liquid fill */
.secondary-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 100%;
  width: 120%;
  background-color: #5A72FF2E;
  border-radius: 999px;
  transform: translate(-110%, -50%);
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
/* hover */
.secondary-btn:hover::before {
  transform: translate(0, -50%);
}
/* content above */
.secondary-btn a {
  position: relative;
  z-index: 1;
}

.primary-btn {
  position: relative;
  overflow: hidden;
  background-color: #445eff;
  border-radius: 50px;
  transition: color 0.3s ease;
}
/* liquid fill */
.primary-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 100%;
  width: 120%;
  background-color: #364AD9;
  border-radius: 999px;
  transform: translate(-110%, -50%);
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
/* hover */
.primary-btn:hover::before {
  transform: translate(0, -50%);
}
/* content above */
.primary-btn a {
  position: relative;
  z-index: 1;
}

.ast-theme-transparent-header [CLASS*="ast-header-button-"] .ast-custom-button {
  white-space: nowrap;
}

.legal-highlight {
  background-color: #e7e5e7;
  margin: 1.5rem -1rem;
  padding: 1rem;
}

.customer-slider img.swiper-slide-image {
  filter: saturate(0);
  max-height: 40px;
}

.partners-img .elementor-widget-image a img[src$=".svg"] {
  width: auto;
}

.projects-slider .swiper {
  overflow: visible;
}

.projects-slider img.swiper-slide-image {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

/* Posts start */

.ast-separate-container #primary.ast-blog-layout-4-grid {
  margin: 4em 0;
}

.post-thumb-img-content.post-thumb {
  overflow: hidden;
}

.ast-article-post .post-thumb-img-content img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .5s ease;
}

.ast-article-post:hover .post-thumb-img-content img {
  transform: scale(1.1);
}

.entry-meta, .entry-meta span, .entry-meta span a {
  color: #445eff;
  font-weight: 700;
}

article.post.ast-article-single {
  border-radius: 24px;
}

article.post.ast-article-single figure img {
  border-radius: 24px;
}

article.post.ast-article-single figure figcaption.wp-element-caption {
  color: #7a8593;
  font-size: 0.8rem;
}

.wp-block-list {
  padding-left: 1.6em;
}

/* Posts end */

/* Forminator start */

.forminator-ui.forminator-custom-form[data-design=default] .forminator-button {
  border-radius: 50px !important;
  padding: 15px 28px 15px 28px !important;
  margin-top: 20px !important;
}

/* Forminator end */

.pulse-ring{
	animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.33);
  }

  80%,
  100% {
    opacity: 0;
  }
}
