@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Italic.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@import url('../styles/header-footer.css');
@import url('../styles/contacts.css');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #48557A;
  background-color: #FFFFFF;
}

a {
  text-decoration: none;
  color: #48557A;
}

input[type="search"]::-webkit-search-cancel-button {
  appearance: none;
  -webkit-appearance: none;
}

input {
  border: none;
}

input:focus,
button:focus {
  outline: none;
}

button {
  border: none;
  background-color: transparent;
  padding: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
p,
span {
  padding: 0;
  margin: 0;
}





.main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aside-banner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  position: absolute;
  width: 350px;
  height: 156px;
  border-radius: 24px;
  padding: 24px;
  top: 123px;
  right: 48px;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 20;
}

.top-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  width: 159px;
}

.avatar-block {
  background-color: #E8F2F8;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #157DB1;
  text-align: center;
  line-height: 42px;
  margin: 2px 0;
}

.name {
  color: #157DB1;
  font-family: Inter;
  font-weight: 500;
  font-size: 16px;

}



.main-background {
  background: url("../assets/images/background.png");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;

  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: background-image 1s ease-in-out;
  /* color: #ffffff; */
  overflow: hidden;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 20;
  padding: 0 1rem;
}

.carousel-button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  transition: background-color 0.3s ease;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}


.slogan-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  bottom: 100px;
  left: 100px;
  height: 291px;
}

#sloganText {
  height: 154px;
  color: #FFFFFF;

  font-family: Inter;
  font-weight: 500;
  font-size: 64px;

  align-content: center;
  text-align: start;
  transition: opacity 0.5s ease-in-out;
}

.slogan-block p {
  color: #FFFFFF;

  font-family: Inter;
  font-weight: 400;
  font-size: 16px;

  max-width: 450px;
  align-content: center;
  text-align: start;
  transition: opacity 0.5s ease-in-out;
}

.button-cons-2 {
  color: #FFFFFF;
  background-color: #157DB1;
  border-radius: 12px;
  width: 254px;
  height: 51px;
  padding: 16px;

  font-family: Inter;
  font-weight: 500;
  font-size: 16px;
  transition: background-color 0.3s;
}

.button-cons-2:hover {
  background-color: #1269B3;
}

.button-cons-2::after {
  content: '';
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-left: 12px;
  vertical-align: middle;
  background-image: url('../assets/svg/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}



.info-block {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 378px;
  width: 100%;
  background-color: #157DB1;
  gap: 40px;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 20px;
  max-width: 400px;
}

.info-top {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 48px;

  color: #ffffff;
  margin-bottom: 12px;
}

.info-middle {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;

  color: #ffffff;
  margin-bottom: 24px;
}

.info-line {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.info-bottom {
  height: 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;


  color: #ffffff;
  margin-top: 12px;
}


@media (max-width: 768px) {
  .info-block {
    flex-direction: column;
    height: auto;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
  }

  .info-item {
    width: 100%;
    max-width: 100%;
  }

  .info-line {
    width: 100%;
  }
}

.services-section {
  max-width: 1110px;
  padding: 100px 0;
  margin: 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.services-section2 {
  max-width: 1110px;
  height: 1192px;
  padding: 100px 0;
  margin: 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  margin-bottom: 80px;
}

.services-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 179px;
  max-width: 466px;
  text-align: center;
  gap: 24px;
}

.services-header2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 650px;
  text-align: center;
  gap: 24px;
}

.specialization {
  width: fit-content;
  height: 35px;
  padding: 8px 12px;
  border-radius: 12px;
  background-color: #e0f0ff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;

  color: #0077b6;
  align-content: center;
}

.services-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 48px;
  margin: 0;
  color: #242F4C;
}

.services-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin: 0;
  max-width: 650px;
}

.services-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.services-image {
  max-width: 100%;
  height: 150px;
  border-radius: 24px;
  object-fit: cover;
}

.services-image-discount {
  width: 19px;
  height: 19px;
  border-radius: 24px;
  object-fit: cover;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.service-card {
  flex: 1 1 calc(50% - 12px);
  max-width: 543px;
  height: 296px;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #E2E2E9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Додаємо анімацію */
}

.service-card:hover {
  transform: scale(1.02);
  /* Трохи збільшуємо */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* Легка тінь */
}


.hover-icon1 {
  width: 42px;
  height: 42px;
  vertical-align: middle;
  background-image: url('../assets/svg/services/serv1-default.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image 0.3s ease;
}

.service-card:hover .hover-icon1 {
  background-image: url('../assets/svg/services/serv1-hover.svg');
}

.hover-icon2 {
  width: 42px;
  height: 42px;
  vertical-align: middle;
  background-image: url('../assets/svg/services/serv2-deafult.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.service-card:hover .hover-icon2 {
  background-image: url('../assets/svg/services/serv2-hover.svg');
}

.hover-icon3 {
  width: 42px;
  height: 42px;
  vertical-align: middle;
  background-image: url('../assets/svg/services/serv3-deafult.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.service-card:hover .hover-icon3 {
  background-image: url('../assets/svg/services/serv3-hover.svg');
}

.hover-icon4 {
  width: 42px;
  height: 42px;
  vertical-align: middle;
  background-image: url('../assets/svg/services/serv4-deafult.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.service-card:hover .hover-icon4 {
  background-image: url('../assets/svg/services/serv4-hover.svg');
}

.service-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 24px;

  margin: 0;
}

.service-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin: 0;
  margin-bottom: auto;
}

.details-button {
  display: inline-block;
  width: fit-content;
  height: 43px;
  padding: 12px;
  border-radius: 12px;
  background-color: #E8F2F8;
  color: #157DB1;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;

  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .details-button {
  color: #FFFFFF;
  background-color: #157DB1;
}

.details-button::after {
  content: '';
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-left: 6px;
  vertical-align: middle;
  background-image: url('../assets/svg/arrow-blue.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image 0.3s ease;
}

.service-card:hover .details-button::after {
  background-image: url('../assets/svg/arrow.svg');
}


.services-footer {
  display: flex;
  justify-content: center;
  height: 51px;
}

.view-all-button {
  width: fit-content;
  height: 51px;
  padding: 16px;
  border-radius: 12px;
  background-color: #157DB1;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
}

.view-all-button:hover {
  background-color: #1269B3;
}

.view-all-button::after {
  content: '';
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-left: 12px;
  vertical-align: middle;
  background-image: url('../assets/svg/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}















.about-section {
  width: 100%;
  height: auto;
  background: #157DB1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px;
}

.about__container {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.about__info {
  width: 648px;
  height: 505px;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about__blockUp {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__tag {
  width: fit-content;
  height: 35px;
  background: #E5F1FB;
  border-radius: 12px;
  padding: 8px 12px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;

  display: flex;
  align-items: center;
  justify-content: center;
  color: #2196C9;
}

.about__title {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 32px;


  color: #0C3A51;
}

.about__text {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #0C3A51;
}

.about__icons {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__icon-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about__icon-text {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 150%;
  color: #0C3A51;
}


.button-about {
  color: #FFFFFF;
  background-color: #157DB1;
  border-radius: 12px;
  width: fit-content;
  height: 51px;
  padding: 16px;

  font-family: Inter;
  font-weight: 500;
  font-size: 16px;
  transition: background-color 0.3s;
}

.button-about:hover {
  background-color: #1269B3;
}

.button-about::after {
  content: '';
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-left: 12px;
  vertical-align: middle;
  background-image: url('../assets/svg/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.image-container {
  height: 505px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.about__photo-img {
  border-radius: 24px;
  object-fit: contain;
  max-height: 100%;
}

/* --- Адаптив --- */

/* 1024px - планшет горизонтально */
@media (max-width: 1315px) {
  .about__container {
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
  }

  .about__info {
    width: 90%;
    height: fit-content;
    gap: 18px;
  }

  .about__blockUp {
    gap: 10px;
  }
}

/* 768px - планшет вертикально */
@media (max-width: 768px) {
  .about {
    padding: 32px 16px;
  }

  .about__info,
  .about__photo {
    padding: 16px;
  }

  .about__title {
    font-size: 28px;
  }

  .about__text,
  .about__icon-text {
    font-size: 14px;
  }

  .about__button {
    width: 160px;
    height: 48px;
    font-size: 14px;
  }
}

/* 480px - телефон */
@media (max-width: 480px) {
  .about__title {
    font-size: 24px;
  }

  .about__text,
  .about__icon-text {
    font-size: 16px;
  }

  .about__tag {
    font-size: 12px;
    height: 30px;
    padding: 6px 10px;
  }

  .about__button {
    width: 140px;
    height: 44px;
    font-size: 16px;
  }
}



.reviews-section {
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  margin: 0;
}

.reviews-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.reviews-header-text {
  width: fit-content;
  height: 35px;
  padding: 8px 12px;
  border-radius: 12px;
  background-color: #e0f0ff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;

  color: #0077b6;
  align-content: center;
}

.reviews-header-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 48px;
  margin: 0;
  color: #242F4C;
}

.reviews-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;

  margin: 0;
  max-width: 600px;
}





.reviews {
  max-width: 1110px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 0 auto;
  margin-bottom: 16px;
}

.review {
  width: 354px;
  /* height: 295px; */
  border: 1px solid #E2E2E9;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  gap: 12px;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-avatarName {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #E5F1FB;
  color: #2196C9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 14px;

  margin-right: 11.5px;
}

.review__name {
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 16px;

  margin: 0;
  color: #0C3A51;
}

.review__text {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;

  color: #0C3A51;
  margin: 0;
}

.review-stars {
  width: 119px;
  height: 19px;
}

.button-all-reviews {
  color: #FFFFFF;
  background-color: #157DB1;
  border-radius: 12px;
  padding: 16px;
  width: fit-content;

  font-family: Inter;
  font-weight: 500;
  font-size: 16px;
  transition: background-color 0.3s;
}

.button-all-reviews:hover {
  background-color: #1269B3;
}

.button-all-reviews::after {
  content: '';
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-left: 12px;
  vertical-align: middle;
  background-image: url('../assets/svg/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}








.faq-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  background-color: #F7F7F7;
}

.faq-section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  gap: 24px;
}

.faq-header-title {
  width: fit-content;
  height: 35px;
  padding: 8px 12px;
  border-radius: 12px;
  background-color: #e0f0ff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;

  color: #0077b6;
  align-content: center;
}

.faq-header-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: #242F4C;

  width: fit-content;
  margin: 0;
}

.faq-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin: 0;
  max-width: 600px;
  height: 38px;

}




.faq-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 700px;
  margin: 0;
}

.faq-list-item {
  position: relative;
  width: 100%;
  border-width: 1px;
  border-bottom: 1px solid #E2E2E9;
  padding-bottom: 24px;
}

.faq-question {
  font-family: Inter;
  font-weight: 500;
  font-size: 18px;
  color: #242F4C;
  padding-right: 25px;
}

.faq-question:hover {
  cursor: pointer;
}



.faq-answer {
  margin: 0;
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #48557A;

  padding-top: 24px;
}

.faq-list-item::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  width: 19px;
  height: 19px;
  vertical-align: middle;
  background-image: url('../assets/svg/faq/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.faq-list-item.is-open::after {
  transform: rotate(180deg);
}



.consultation-section {
  width: 100%;
  height: 450px;
  padding: 100px 165px;
  display: flex;
  justify-content: center;
}

.consultation-content {
  background-image: url('../assets/images/consultation-bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 32px;

  width: 1110px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}

/* .consultation-content-up {
  
} */

.consultation-content-up-h2 {
  font-family: Inter;
  font-weight: 700;
  font-size: 32px;
  line-height: 100%;
  color: #FFFFFF;
  padding-bottom: 12px;
}

.consultation-content-up-p {
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #FFFFFF;
}

.consultation-button-bottom-a {
  color: #FFFFFF;
  background-color: #157DB1;
  width: fit-content;
  height: 51px;
  border-radius: 12px;
  padding: 16px;


  font-family: Inter;
  font-weight: 500;
  font-size: 16px;
  transition: background-color 0.3s;
}

.consultation-button-bottom-a:hover {
  background-color: #1269B3;
}

.consultation-button-bottom-a::after {
  content: '';
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-left: 9px;
  vertical-align: middle;
  background-image: url('../assets/svg/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}











.policy-section {
  max-width: 1110px;
  padding: 100px 0;
  margin: 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.list-policy {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.list-policy-li {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.point-policy-h2 {
  font-family: Inter;
  font-weight: 700;
  font-size: 24px;
  color: #242F4C;
}

.point-policy-text {
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  color: #48557A;
}

.point-policy-ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  padding-left: 0.5rem;
}

.button-backtomain {
  color: #FFFFFF;
  background-color: #157DB1;
  border-radius: 12px;
  width: 258px;
  height: 43px;
  padding: 12px 16px;

  font-family: Inter;
  font-weight: 500;
  font-size: 16px;
  transition: background-color 0.3s;
}

.button-backtomain:hover {
  background-color: #1269B3;
}

.button-backtomain::before {
  content: '';
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-right: 12px;
  vertical-align: middle;
  background-image: url('../assets/svg/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotateY(180deg);
}
#consult-placeholder {
    width: 100%;
  }


@media (max-width: 1200px) {
  .consultation-section {
    padding: 100px 100px;
  }
}

@media (max-width: 992px) {
  .faq-list {
    width: 80%;
  }

  .services-grid {
    flex-wrap: nowrap;
    flex-direction: column;
  }
  .services-section2 {
    height: auto;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .slogan-block {
    height: 200px;
    gap: 20px;
  }
  #sloganText {
    font-size: 32px;
  }
  .slogan-block p {
    margin-right: 20px;
  }
}

@media (max-width: 576px) {
  .services-section {
    padding: 32px 0;
  }
  .about-section {
    padding: 16px;
  }
  .about__photo-img {
    max-height: 70%;
  }
  #sloganText {
    font-size: 30px;
  }
  .aside-banner {
    width: 270px;
    padding: 20px;
    right: 15px;
  }
  .slogan-block {
    left: 20px;
  }
  .consultation-content-up-h2 {
    font-size: 28px;
  }
  .services-title {
    font-size: 32px;
  }
}