@import url("reset.css");
@import url("pricing.css");

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;600&display=swap");

/* ************COMMON************ */

.logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 2.25rem;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: 1.1rem;
  color: #303a4d;
}

[class*="__container"] {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.button, .contact-form__button {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: background 0.3s, color 0.3s;
  color: #fff;
  background-color: #303a4d;
}

.button:hover, .contact-form__button:hover {
  background: #FFDE59;
  color: #303a4d;
}

.contact-form__button.button:hover {
  background: #FFDE59 !important;
  color: #303a4d !important;
}

.title {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
}

.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

/* ************HEADER************ */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.75rem;
  flex-wrap: wrap;
  max-width: 74.624rem;
}

.header__logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.header__logo img {
  max-height: 3.5rem;
  width: auto;
}

.header__navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.menu__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu__link {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  position: relative;
}

.actions-header {
  display: flex;
  align-items: center;
  gap: 0.624rem;
}

.icon-menu {
  display: none;
}

.actions-header__button {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #303a4d;
  border-radius: 30px;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}

.actions-header__button:hover {
  background-color: #FFDE59;
  border-color: #FFDE59;
  color: #303a4d;
}

/* ****************PAGES**************** */
.page__main {
  padding-bottom: 80px;
}

/* *****************HOME**************** */

.main {
  background: url("../img/home/hero_placeholder.jpg") center / cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.main__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  width: 100%;
  min-height: auto;
  padding: 12.5rem 0 5rem;
  position: relative;
}

.main__caption {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 400;
}

.main__title {
  font-family: "Montserrat", sans-serif;
  font-size: 5.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.main__text {
  font-weight: 200;
  margin-bottom: 3.5rem;
  max-width: 33.375rem;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.main__button {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
  letter-spacing: 0.02em;
  font-size: 1.375rem;
  line-height: 110%;
}

.main__button:hover {
  background-color: #FFDE59;
  color: #303a4d;
}

.outro_home {
  background: url("../img/home/talktous-001.jpg") center 50% / cover no-repeat;
}

/* ************ABOUT**************** */

.main_about {
  background: url("../img/about/background_placeholder.png") center / cover no-repeat;
}

.about__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.about__image {
  position: relative;
  max-width: 552px;
  height: 614px;
}

.about__image img {
  border-radius: 16px;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__title {
  margin-bottom: 1.5rem;
}

.about__text {
  font-weight: 200;
  max-width: 30rem;
  letter-spacing: 0.02em;
  line-height: 150%;
  margin-bottom: 3.5rem;
}

.about__text p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.outro_about {
  background: url("../img/about/hero_placeholder.jpg") center / cover no-repeat;
}

/* **************SERVICES**************** */

.main_services {
  background: url("../img/services/background_placeholder.png") center / cover no-repeat;
}

.services {
  background-color: #e1e4eb;
}

.services__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.services__title {
  text-align: center;
  margin-bottom: 5rem;
}

.services__row {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.services__column {
  width: 100%;
}

.item-services {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.5rem;
  margin-bottom: 0;
}

.item-services__image {
  margin-bottom: 0;
  width: 45%;
  flex-shrink: 0;
  height: 280px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.item-services__image:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.item-services__image a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.item-services__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.item-services__image:hover img {
  transform: scale(1.03);
}

.item-services__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 280px;
  padding: 0 0 3px 0;
}

.item-services__title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.item-services__text {
  max-width: 100%;
  line-height: 150%;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  letter-spacing: 0.02em;
}

.item-services__button {
  background-color: inherit;
  border: 2px solid #303a4d;
  color: #303a4d;
  align-self: flex-start;
}

.item-services__button:hover {
  background-color: #FFDE59;
  border-color: #FFDE59;
}

.outro_services {
  background: url("../img/services/hero_placeholder.jpg") center / cover no-repeat;
}

/* ************TESTIMONIAL**************** */

.testimonial__container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  position: relative;
}

.testiomonial__caption {
  margin-bottom: 4rem;
  font-weight: 400;
  text-transform: uppercase;
}

.testimonial__title {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  margin-bottom: 4rem;
}

.testimonial__slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.testimonial__items {
  display: block !important;
  position: relative;
  min-height: 300px;
}

.testimonial__item {
  display: none;
  opacity: 0;
  transition: opacity 0.7s ease;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

.testimonial__item.active {
  display: flex;
  opacity: 1;
  position: relative;
}

.item-testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item-testimonial__text {
  max-width: 70%;
  margin: 0 auto;
  margin-bottom: 2rem;
  order: 1;
  line-height: 2;
}

.item-testimonial__image {
  margin-bottom: 1rem;
  max-width: 64px;
  margin-left: auto;
  margin-right: auto;
  height: 64px;
  order: 2;
}

.item-testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.item-testimonial__title {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 0.25rem;
  font-weight: 400;
  order: 3;
}

.item-testimonial__caption {
  font-size: 0.938rem;
  order: 4;
  padding-bottom: 0.5rem;
}

.testimonial__nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.testimonial__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e1e4eb;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial__dot.active {
  background-color: #303a4d;
  transform: scale(1.2);
}

.testimonial__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border: 1px solid #303a4d;
  transition: all 0.3s ease;
  z-index: 2;
}

.testimonial__arrow:hover {
  background-color: #FFDE59;
  border-color: #FFDE59;
}

.testimonial__arrow-prev {
  left: 0;
}

.testimonial__arrow-next {
  right: 0;
}

/* ****************OUTRO**************** */

.outro__container {
  padding-top: 6rem;
  padding-bottom: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  position: relative;
}

.outro__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 2rem;
  margin-top: 5rem;
}

.outro__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.outro__text {
  font-weight: 200;
  max-width: 33.625rem;
  line-height: 150%;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.outro__button {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #303a4d;
  background-color: #FFDE59;
  margin-bottom: 30px;
}

.outro__button:hover {
  background-color: #303a4d;
  color: #fff;
}

.outro__links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.outro__link {
  display: inline-block;
  transition: background 0.3s, transform 0.3s ease;
  border-radius: 50%;
  padding: 8px;
  background: none;
}

.outro__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: filter 0.3s, background 0.3s;
  /* mix-blend-mode: multiply; */
}

.outro__link:hover {
  background: none;
  transform: scale(1.1);
}

.outro__link:hover .outro__icon {
  /* filter: brightness(0) invert(1); */
  /* mix-blend-mode: normal; */
}

/* ****************FOOTER**************** */

.footer {
  line-height: 150%;
  background-color: #ffffff;
  color: #333333;
}

.footer__container {
  padding-top: 2.76rem;
  padding-bottom: 2.76rem;
  max-width: 74.624rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer__policy {
  font-weight: 400;
  letter-spacing: 0.02em;
  justify-self: start;
  color: #333333;
}

.footer__logo {
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__logo img {
  width: 50.4%;
  max-width: 216px;
}

.footer__copyright {
  font-weight: 400;
  letter-spacing: 0.02em;
  justify-self: end;
  margin-top: -10px;
  color: #333333;
}

/* ****************ABOUT PAGE**************** */
.main__text_pages {
  max-width: 37.5rem;
}

.main__container_pages {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: auto;
  padding: 12.5rem 0 2.5rem;
}

.main_pages {
  min-height: 450px !important;
  display: flex;
  align-items: center;
}

/* ****************SERVICES PAGE**************** */
.services-page {
  background-color: #e1e4eb;
}

.services-page__container {
  padding-top: 40px;
  padding-bottom: 40px;
}

.services-page__grid {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 3px;
}

.services-page__item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 40px;
}

.services-page__image {
  position: relative;
  width: 45%;
  padding-bottom: 25.3125%;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

.services-page__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-page__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  flex: 1;
  padding: 0;
  margin: 0;
}

.services-page__title {
  margin: 0;
  padding: 0;
  font-size: 2rem;
}

.services-page__text {
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  flex-grow: 1;
}

.services-page__button {
  align-self: flex-start;
  margin: 0;
  padding: 0.75rem 1.5rem;
}

@media (max-width: 768px) {
  .services-page__item,
  .services-page__item:nth-child(even) {
    flex-direction: column;
    text-align: center;
    align-items: center;
}

  .services-page__image {
  width: 100%;
    padding-bottom: 56.25%;
  }

  .services-page__content {
    gap: 20px;
    align-items: center;
  }

  .services-page__button {
    align-self: center;
  }
}

/* ****************CONTACT PAGE****************/

.main_contact {
  background: none;
}

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 109px;
  padding-top: 140px;
  padding-bottom: 140px;
}

.contact__title {
  margin-bottom: 48px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 110%;
  font-size: 40px;
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e1e4eb;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.connect-contact__item:hover .connect-contact__label,
.connect-contact__item:hover .connect-contact__label a {
  color: #FFDE59;
  transition: color 0.3s;
}

.connect-contant__type {
  margin-bottom: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 110%;
  text-transform: uppercase;
}

.connect-contact__label {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.contact__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__text {
  max-width: 545px;
  font-size: 18px;
  line-height: 150%;
}

.contact__text p:not(:last-child) {
  margin-bottom: 15px;
}

iframe {
  width: 100vw;
  height: 482px;
  filter: grayscale(100%);
}

/* Override grayscale for calendar iframe */
.calendar-container iframe {
  width: 100%;
  height: 780px;
  filter: none;
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reviews__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
}

.reviews__column {
  border: 1px solid #e1e4eb;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 46px;
  height: 36px;
  margin: 0 auto;
  margin-bottom: 46px;
}

.item-reviews__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ******************PRICING PAGE******************** */
.pricing__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pricing__caption {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 4%;
}

.pricing__title {
  font-weight: 400;
  font-size: 72px;
  margin-bottom: 24px;
}

.pricing__text {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 88px;
}

.pricing__row {
  display: flex;
  align-items: start;
  gap: 24px;
}

.pricing__column {
  border: 2px solid #e1e4eb;
  border-radius: 8px;
}

.pricing__item {
  padding: 40px;
  padding-bottom: 48px;
}

.item-pricing__info {
  padding-bottom: 32px;
  border-bottom: 1px solid #e1e4eb;
  margin-bottom: 32px;
}

.item-pricing__label {
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1%;
  margin-bottom: 16px;
}

.item-pricing__cost {
  font-size: 72px;
  font-weight: 400;
  margin-bottom: 16px;
}

.item-pricing__list {
  margin-bottom: 64px;
}

.item-pricing__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-pricing__item::before {
  content: "";
  background: url("../img/pricing/check.svg") 0 0 no-repeat;
  width: 16px;
  height: 18px;
}

.item-pricing__item:not(:last-child) {
  margin-bottom: 12px;
}

.item-pricing__button {
  display: inline-block;
  font-size: 22px;
  letter-spacing: 2%;
  font-weight: 400;
  color: #fff;
  padding: 20px 82px;
  background-color: #303a4d;
  border-radius: 64px;
}

.item-pricing__button:hover {
  background-color: #FFDE59;
  color: #303a4d;
}

.team {
  background-color: #e1e4eb;
}

.team__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team__title {
  text-align: center;
  margin-bottom: 96px;
  max-width: 483px;
}

.team__row {
  display: grid;
  column-gap: 24px;
  row-gap: 96px;
  grid-template-columns: repeat(3, 1fr);
}

.team__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-team__img {
  max-width: 360px;
  height: 363px;
  margin-bottom: 40px;
}

.item-team__img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.item-team__name {
  max-width: 186px;
  font-size: 32px;
  font-weight: 400;
  line-height: 120%;
  text-align: center;
  margin-bottom: 12px;
}

.item-team__role {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  letter-spacing: 2%;
}

.item-team__role span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-team__role span::after {
  content: "";
  background: url("../img/team/icons/star.svg") 0 0 no-repeat;
  width: 12px;
  height: 12px;
}

.item-team__text {
  font-size: 16px;
  text-align: center;
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 328px;
  margin-bottom: 20px;
}

.item-team__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* *************FAQ PAGE************** */
.faqs__container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.faqs__title {
  text-align: center;
  margin-bottom: 80px;
}

.spollers-faq__item {
  width: 100%;
}

.spollers-faq__item:not(:last-child) {
  margin-bottom: 24px;
}

.spollers-faq__button {
  display: inline-block;
  border: 2px solid #e1e4eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
}

.spollers-faq__button span {
  padding-left: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-weight: 400;
}

.spollers-faq__button img {
  padding-right: 34.5px;
}

.spollers-faq__text {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  display: block;
}

.spollers-faq__item.active .spollers-faq__text {
  max-height: 1000px;
  max-height: calc(1000px + 16px);
}

.spollers-faq__item.active .spollers-faq__button {
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
}

.spollers-faq__item.active .spollers-faq__button span {
  padding-bottom: 32px;
}

.spollers-faq__item.active .spollers-faq__button img {
  transform: translate(-34px, 0px) rotate(180deg);
}

.spollers-faq__inner {
  padding-top: 20px;
  padding-left: 40px;
  border: 2px solid #e1e4eb;
  border-radius: 0px 0px 8px 8px;
  line-height: 150%;
  padding-bottom: 20px;
  border-top: none;
  padding-right: 100px;
}

/* ****************TEAM PAGE**************** */
.director__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  align-items: center;
  gap: 96px;
}

.director__title {
  margin-bottom: 16px;
}

.director__role {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 40px;
}

.director__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 480px;
}

.director__text p:not(:last-child) {
  margin-bottom: 20px;
}

.director__img {
  max-width: 552px;
  height: 614px;
}

.director__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************GALLERY**************** */
.gallery__container {
  padding-bottom: 140px;
  padding-top: 140px;
}

.gallery__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  margin-bottom: 96px;
  justify-items: center;
}

.gallery__item {
  max-width: 360px;
  height: 407px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.gallery__paggination {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  gap: 42px;
}

.gallery__paggination button:first-child {
  transform: translate(0px, 5px);
}

.gallery__paggination button:last-child {
  transform: rotate(-180deg) translate(0px, 5px);
}

.gallery_active {
  color: #fff;
  padding: 10px 15px;
  background-color: #303a4d;
  border-radius: 100px;
  display: inline-block;
}

/* ****************RESOURCES**************** */
.resources__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  justify-items: center;
}

.resources__img {
  max-width: 360px;
  height: 330px;
  margin-bottom: 32px;
}

.resources__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.resources__title {
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 12px;
}

.resources__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 243px;
  margin-bottom: 32px;
}

.resources__button {
  background-color: #fff;
  color: #303a4d;
  font-weight: 400;
  letter-spacing: 2%;
  border: 2px solid #303a4d;
  border-radius: 64px;
}

.resources__button:hover {
  background-color: #FFDE59;
  border-color: #FFDE59;
  color: #303a4d;
}

/* ****************ADAPTIVE**************** */

@media (max-width: 992px) {
  .services__row {
    gap: 3rem;
  }

  .item-services {
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-bottom: 0;
    gap: 1.5rem;
  }

  .item-services__image {
    width: 100%;
    max-width: 560px;
    height: 320px;
  }
  
  .item-services__image:hover {
    transform: translateY(-3px);
  }

  .item-services__content {
    align-items: center;
    height: auto;
    min-height: 0;
  }

  .item-services__button {
    align-self: center;
    margin-top: 1rem;
  }

  .page__main {
    padding-bottom: 80px;
  }
}

@media (min-width: 47.999rem) {
  .menu__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 995px) {
  .item-pricing__button {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 19px;
  }
}

@media (max-width: 62.6875rem) {
  .resources__container {
    padding-top: 70px;
    padding-bottom: 70px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__paggination {
    gap: 27px;
  }

  .gallery__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .director__container {
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 70px;
    gap: 10px;
    text-align: center;
  }

  .item-pricing {
    padding: 20px;
    padding-bottom: 30px;
  }

  .pricing__title {
    font-size: 39px;
  }

  .pricing__text {
    margin-bottom: 25px;
  }

  .item-pricing__button {
    padding: 16px 42px;
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  .footer__policy,
  .footer__copyright {
    justify-self: center;
    text-align: center;
    margin: 0.5rem 0;
  }

  .footer__logo {
    margin-bottom: 1rem;
  }

  .services-page__column {
    gap: 30px;
    font-size: 15px;
  }

  .services-page__title {
    font-size: 29px;
  }

  .reviews__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 10px;
  }

  .reviews__item {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    display: inline-block;
  }

  .item-reviews__text {
    font-size: 16px;
  }

  .item-reviews__author {
    font-size: 16px;
  }
}

@media (max-width: 47.999rem) {
  .spollers-faq__item.active .spollers-faq__button img {
    transform: translate(-10px, -10px) rotate(180deg);
  }

  .spollers-faq__button span {
    font-family: "Montserrat", sans-serif;
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 15px;
    font-weight: 400;
    font-size: 14px;
  }

  .spollers-faq__button img {
    padding-right: 10px;
  }

  .spollers-faq__inner {
    font-weight: 200;
    font-size: 16px;
    padding-left: 10px;
    line-height: 130%;
  }

  .pricing__container {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pricing__row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .item-pricing__button {
    font-size: 17px;
    padding: 15px 32px;
  }

  .reviews__container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .icon-menu {
    display: block;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 1.875rem;
    flex: 0 0 1.875rem;
    width: 1.875rem;
    height: 1.125rem;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    right: 0;
    position: absolute;
    width: 100%;
    height: 0.125rem;
    background-color: #000;
  }

  .icon-menu::before {
    top: 0;
  }

  .icon-menu::after {
    bottom: 0;
  }

  .menu__body {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    padding: 9.375rem 0.938rem 1.875rem 0.938rem;
    overflow: auto;
    flex-direction: column;
    row-gap: 5rem;
  }

  .menu__body::before {
    content: "";
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    min-height: 5.75rem;
    background-color: #fff;
    border-bottom: 1px solid #000;
    z-index: 2;
  }

  .menu-open .icon-menu span {
    width: 0;
  }

  .menu-open .icon-menu::before {
    top: calc(50% - 0.0625rem);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-open .icon-menu::after {
    bottom: calc(50% - 0.0625rem);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .menu__item {
    text-align: center;
  }

  .menu__item:not(:last-child) {
    margin-bottom: 1.563rem;
  }

  .menu__link {
    font-size: 2rem;
  }

  .actions-header__button {
    padding: 0.75rem;
  }

  .main__title {
    font-size: 3rem;
  }

  .title {
    font-size: 2rem;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about__container {
    flex-direction: column;
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
    gap: 4rem;
  }

  .services__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .testimonial__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .testiomonial__caption {
    margin-bottom: 2rem;
  }

  .outro__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .logo {
    font-size: 1rem;
  }

  .services-page__column {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    gap: 4rem;
  }
}

@media (max-width: 61.936rem) {
  .footer__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 0;
  }
  
  .footer__logo {
    margin: 10px 0;
  }
  
  .footer__logo img {
    width: 144px;
  }
  
  .footer__copyright {
    margin-top: 0;
  }

  .logo {
    font-size: 2rem;
  }
}

@media (max-width: 530px) {
  .reviews__row {
    grid-template-columns: 1fr;
  }

  .team__row {
    grid-template-columns: 1fr;
  }

  .gallery__row {
    grid-template-columns: 1fr;
  }

  .resources__container {
    grid-template-columns: 1fr;
  }
}

/* Language flags styles */
.header__language {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.language__flag {
  width: 28px;
  height: auto;
  margin: 0 5px;
  border-radius: 0;
  transition: all 0.3s ease;
  box-shadow: none;
  background: none;
}

.language__flag:hover {
  transform: scale(1.1);
  box-shadow: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.spollers-faq__title {
  font-weight: 400;
  font-size: 35px;
  color: #181818;
}

.work-about-me__title {
  font-weight: 400;
  color: #181818;
  font-size: 32px;
}

.work-about-me__image-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 400;
  font-size: 30px;
}

.portfolio-page__title {
  font-weight: 400;
  font-size: 35px;
  color: #181818;
}

.portfolio-page__filter-link {
  background-color: #fff;
  color: #181818;
  font-weight: 400;
  font-size: 15px;
  padding: 4px 16px;
  border-radius: 40px;
  transition: all 0.2s ease;
}

.portfolio-page__filter-link.active {
  background-color: #FAA74B;
  color: #fff;
  font-weight: 400;
}

.pricing-page__title {
  font-weight: 400;
  text-align: center;
  font-size: 35px;
  color: #181818;
}

.spoller__title {
  font-weight: 400;
}

.spoller__button {
  font-weight: 400;
}

.scroll-down-arrow {
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 5;
  animation: bounce 2s infinite;
}

.scroll-down-arrow svg {
  width: 80px;
  height: 80px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Image Carousel */
.carousel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.carousel-container {
  position: relative;
  width: 80%;
  max-width: 1200px;
  height: 80vh;
  background-color: transparent;
}

.carousel-slides {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #666;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dot.active {
  background-color: #fff;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
}

.carousel-arrow:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-close {
  position: absolute;
  top: 15%;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
}

.carousel-close:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

/* Video Popup */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-container {
  position: relative;
  width: 90%;
  max-width: 1400px;
  aspect-ratio: 16/9;
  background-color: transparent;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.video-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
}

.video-close:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.video-close svg {
  width: 24px;
  height: 24px;
}

.video-close svg path {
  stroke: #FFFFFF;
  stroke-width: 2;
}

/* Style the video player controls */
video::-webkit-media-controls {
  border-radius: 0 0 4px 4px;
}

video::-webkit-media-controls-panel {
  display: flex !important;
}

/* Before/After Carousel */
.beforeafter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.beforeafter-container {
  position: relative;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.beforeafter-slides {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 66.67%;
  overflow: hidden;
}

.beforeafter-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.beforeafter-slide.active {
  opacity: 1;
  visibility: visible;
}

.before-after-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.before-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.after-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: white;
  z-index: 3;
  cursor: pointer;
}

.slider-handle {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 50%;
  border: 2px solid #427dab;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 4;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.drag-hint {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.9;
}

/* Left and right arrow indicators */
.slider-handle::before,
.slider-handle::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-top: 2px solid #427dab;
  border-left: 2px solid #427dab;
}

.slider-handle::before {
  left: 8px;
  transform: rotate(-45deg); /* Left arrow */
}

.slider-handle::after {
  right: 8px;
  transform: rotate(135deg); /* Right arrow */
}

.beforeafter-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
}

.beforeafter-close:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.beforeafter-nav {
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.beforeafter-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.beforeafter-dot.active {
  background-color: #fff;
  transform: scale(1.2);
}

.beforeafter-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
}

.beforeafter-arrow:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.beforeafter-prev {
  left: 20px;
}

.beforeafter-next {
  right: 20px;
}

.contact__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.calendar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

.calendar-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
}

.calendar-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.calendar-close:hover {
  transform: scale(1.1);
}

#calendar-scheduler {
  width: 100%;
  min-height: 600px;
}

/* Remove grayscale filter for Google Calendar iframe in the popup */
.calendar-popup iframe[src*="calendar.google.com"] {
  filter: none !important;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: -1;
}

@media (max-width: 600px), (max-height: 600px) {
  .carousel-prev {
    left: 8px !important;
  }
  .carousel-next {
    right: 8px !important;
  }
  .carousel-close {
    top: 8px !important;
    right: 8px !important;
  }
}