.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  /* Symmetrical padding for centered text in default state */
  padding: 12px 46px;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background-color: var(--blue);
  color: var(--_website---white);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
  text-decoration: none;
  text-transform: none;
  /* Added padding to transition for smooth text shift */
  transition: background-color 0.25s ease, padding 0.4s ease-out, border-color 0.25s ease;
}

.container {
  max-width: 1280px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 1279px) {
  .container {
    padding-left: 5%;
    padding-right: 5%;
  }
}

.hero-block-content {
  display: flex;
  flex-direction: column;
  padding-top: 10%;
  align-self: stretch;
  width: 100%;
  /* justify-content: center; */
}
@media screen and (max-width: 767px) {
  .hero-block-content {
    order: 1;
  }
}
.hero-block-text-wrapper {
  width: 100%;
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.vocabulary-hero-image__wrapper {
  background-size: cover;
  border-radius: 1.25rem;
  overflow: hidden;
  width: 45%;
}

.button:hover,
.button:focus-visible {
  background-color: var(--blue-hover);
  color: var(--_website---white);
  /* Asymmetrical padding on hover to shift text and make space for the arrow */
  padding-right: 60px;
  padding-left: 32px;
}

.button:focus-visible {
  outline: 3px solid rgba(var(--blue-rgb), 0.4);
  outline-offset: 2px;
}

.button:active {
}

.button .btn-arrow {
  position: absolute;
  right: 30px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0;
  color: currentColor;
  transform: translateX(10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  pointer-events: none;
}

.button:hover .btn-arrow,
.button:focus-visible .btn-arrow {
  opacity: 1;
  transform: translateX(0);
}

.button svg {
  display: block;
}

.button--light {
  background-color: var(--_website---white);
  color: var(--blue);
}

.button--light:hover,
.button--light:focus-visible {
  background-color: rgba(var(--white-rgb), 0.9);
  color: var(--blue);
}

.button--light:active {
}

.button--outline {
  background-color: transparent;
  border: 1px solid rgba(var(--black-rgb), 0.18);
  color: var(--blue);
}

.button--outline:hover,
.button--outline:focus-visible {
  background-color: rgba(var(--black-rgb), 0.05);
  border-color: rgba(var(--black-rgb), 0.3);
}

.button--hero-primary:hover,
.button--hero-primary:focus-visible {
  /* Override padding to prevent text shift for buttons without arrows */
  padding-left: 46px;
  padding-right: 46px;
}

.button--hero-outline {
  background-color: transparent;
  border: 0.5px solid rgba(var(--black-rgb), 0.1);
  color: var(--blue);
}

.button--hero-outline:hover,
.button--hero-outline:focus-visible {
  /* Override base button hover styles */
  padding-left: 46px;
  padding-right: 46px;
  background-color: rgba(var(--black-rgb), 0.05);
  border-color: rgba(var(--black-rgb), 0.3);
  color: var(--blue);
}

.button.is-loading,
.button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.button.is-loading .btn-arrow,
.button[disabled] .btn-arrow {
  opacity: 0;
}

.hero-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}



.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
  margin-top: 64px;
  margin-bottom: 28px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

@media screen and (min-width: 991px) {
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.services__grid .link-block {
  display: flex;
  height: 100%;
}

.services__grid .a-feature-text-grid {
  height: 100%;
}
.subtitle {
  color: #757575;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}



.navbar-button-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media screen and (max-width: 767px) {
  .navbar-button-wrapper .button {
    display: none !important;
  }
}

@media screen and (max-width: 568px) {
  .hero-block-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

.hero-block-buttons .button {
  width: 100%;
}
}

.combine-header1_image-wrapper--with-vector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.combine-header1_image-vector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.combine-header1_image-wrapper--with-vector .combine-header1_image {
  position: relative;
  z-index: 2;
}

@media screen and (min-width: 992px) {
  .navbar-menu-icon {
    display: none;
  }
}

.faq-answer-section {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.faq-item {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  background-color: var(--numbers-bg);
  border-bottom: 1px solid #eff2ff33;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 45px;
  padding-right: 45px;
  display: flex;
  overflow: clip;
}


.plus-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 5px;
  background-color: var(--blue);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.plus-icon::before,
.plus-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.plus-icon::before {
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20800%20800'%20fill='none'%3E%3Cpath%20d='M190.237%20323.69C177.219%20336.707%20177.219%20357.813%20190.237%20370.83L353.31%20533.743C379.35%20559.757%20421.543%20559.747%20447.57%20533.723L610.58%20370.71C623.6%20357.693%20623.6%20336.587%20610.58%20323.569C597.563%20310.552%20576.457%20310.552%20563.44%20323.569L423.92%20463.09C410.903%20476.11%20389.797%20476.107%20376.78%20463.09L237.377%20323.69C224.36%20310.672%20203.254%20310.672%20190.237%20323.69Z'%20fill='white'/%3E%3C/svg%3E");
}

.plus-icon::after {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20800%20800'%20fill='none'%3E%3Cpath%20d='M186.742%20186.742C173.724%20199.759%20173.724%20220.865%20186.742%20233.882L333.86%20381L186.742%20528.118C173.724%20541.135%20173.724%20562.241%20186.742%20575.258C199.759%20588.276%20220.865%20588.276%20233.882%20575.258L381%20428.14L528.118%20575.258C541.135%20588.276%20562.241%20588.276%20575.258%20575.258C588.276%20562.241%20588.276%20541.135%20575.258%20528.118L428.14%20381L575.258%20233.882C588.276%20220.865%20588.276%20199.759%20575.258%20186.742C562.241%20173.724%20541.135%20173.724%20528.118%20186.742L381%20333.86L233.882%20186.742C220.865%20173.724%20199.759%20173.724%20186.742%20186.742Z'%20fill='white'/%3E%3C/svg%3E");
}

.faq-item.open .plus-icon {
  transform: rotate(90deg);
}

.faq-item.open .plus-icon::before {
  opacity: 0;
  transform: scale(0.7);
}

.faq-item.open .plus-icon::after {
  opacity: 1;
  transform: scale(1);
}

.vocabulary-wrap .vocabulary-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  column-gap: 1.5rem;
  row-gap: 1rem;
  align-items: flex-start;
}

.vocabulary-wrap .vocabulary-item__wrap {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .vocabulary-wrap .vocabulary-list {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media screen and (max-width: 479px) {
  .vocabulary-wrap .vocabulary-list {
    grid-template-columns: 1fr;
  }
}

.working-process__container {
  width: 100%;
  max-width: 1200px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.working-process__wrap {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  max-width: 1290px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  position: relative;
}

.working-process__heading {
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 499px;
  display: flex;
  position: -webkit-sticky;
  position: sticky;
  top: 120px; /* Adjusted for sticky navbar */
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.working-process__steps {
  perspective: 600px;
  padding-bottom: 1px;
  width: 50%;
  flex-shrink: 0;
}

.working-process__step-item {
  border-bottom: 1px solid #e1e1e1;
  max-width: 800px;
  margin-bottom: -1px;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
}

.working-process__step-item-number__wrap {
  flex: none;
  justify-content: center;
  align-items: center;
  width: 20%;
  min-width: 120px;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: inset -2px 0 #e1e1e1;
}

.working-process__step-item-number {
  color: var(--blue);
  font-size: 5rem;
  font-weight: 600;
}

.working-process__step-item-number__line {
  z-index: 2;
  background-image: linear-gradient(180deg, var(--blue), var(--blue));
  direction: ltr;
  width: 3px;
  height: 40%;
  position: absolute;
  right: -1px;
  /* Initial position for animation */
  transform: translateY(-400%);
}

.working-process__step-item-info__wrap {
  flex: 1;
  padding: 1.7rem 8% 1.7rem 5%;
}

.working-process__step-item-info__title {
  color: var(--blue);
  text-transform: none;
  line-height: 31px;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.working-process__step-item-info__description {
  color: var(--radiant-ui-components-library--color--body-font-dark);
}

@media screen and (max-width: 991px) {
  .working-process__wrap {
    flex-direction: column;
  }
  .working-process__heading {
    position: static;
    margin-bottom: 2rem;
  }
  .working-process__steps {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .working-process__step-item {
    flex-direction: column;
  }
  .working-process__step-item-number__wrap {
    box-shadow: none;
    justify-content: flex-start;
    margin-bottom: 1rem;
    width: 100%;
    height: 80px;
  }
  .working-process__step-item-number__line {
    display: none; /* Animation is not suitable for this layout */
  }
  .working-process__step-item-info__wrap {
    padding: 0;
  }
}
/* --- End Working Process Section --- */

/* --- Hotfix for nested working-process__heading class --- */
/* This rule resets layout properties on the h2 element,
   which incorrectly inherits the parent's layout class, causing layout issues. */
div.working-process__heading > h2.working-process__heading {
  display: block;
  flex: initial;
  position: static;
  max-width: initial;
  height: auto;
}
/* --- End Hotfix --- */

/* --- Sub-Niches Section --- */
.sub-niches__header {
  margin-bottom: 40px;
}

.sub-niches__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.sub-niches__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border: 1.5px solid var(--alley-component-library--neutral--off-white);
  border-radius: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sub-niches__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(20, 39, 78, 0.08);
}

.sub-niches__item-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  background-color: #fff;
  border-radius: 100%;
  box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.05);
}

.sub-niches__item-icon-img {
  width: 24px;
  height: 24px;
}

.sub-niches__item-title {
  margin: 0;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--blue);
}

.sub-niches__item-button {
  align-self: flex-end;
  padding: 10px 24px;
  border-radius: 0.5rem;
  background-color: var(--blue);
  color: var(--_website---white);
  font-size: 16px;
  text-decoration: none;
  transition: background-color .2s ease;
}

.sub-niches__item-button:hover {
  background-color: var(--blue-hover);
}

@media screen and (max-width: 1199px) {
  .sub-niches__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .sub-niches__grid {
    grid-template-columns: 1fr;
  }
}
/* --- End Sub-Niches Section --- */
