@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap");
:root {
  --primary: #5889b2;
  --primary_transparent: #5889b269;
  --secondary: #69d6cc;
  --secondary_transparent: #69d6cc8e;
  --accent: #69d6cc;
  --white: #ffffff;
  --white: #FBFCFE;
  --black: #000000;
  --black: #131927;
  --light: #f8f9fa;
  --light2: #e2e2e2;
  --dark: #2A3759;
  --gradient: linear-gradient(135deg, var(--primary) 20%, var(--accent) 130%);
  --border: #dee2e6;
  --bg_card: #dee2e6;
}

/* reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none; /* Safari */
}

html {
  scroll-behavior: smooth;
}

.body_container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 1920px) {
  .body_container {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
  }
}

footer {
  margin-top: auto;
}

a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

input,
textarea,
select,
button {
  font: inherit;
  color: inherit;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

textarea {
  resize: none;
}

.inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  /* Use a value from 100 to 900 */
  font-style: normal;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 32;
}

/* text */
body {
  font-size: 16px;
  line-height: 1.5;
}

h1 {
  margin-bottom: 24px;
  font-size: 32px;
  line-height: normal;
  text-align: center;
}
@media screen and (min-width: 1024px) {
  h1 {
    font-size: 40px;
  }
}

.title1 {
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 32px;
  text-align: left;
}
@media screen and (min-width: 1024px) {
  .title1 {
    font-size: 64px;
  }
}

.subtitle {
  margin-bottom: 24px;
  font-weight: 800;
  font-size: 24px;
  font-style: italic;
}

h2, .title2 {
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto;
  margin-bottom: 40px;
  color: var(--primary);
  font-size: 24px;
  line-height: normal;
  text-align: center;
  position: relative;
}
@media screen and (min-width: 1024px) {
  h2, .title2 {
    font-size: 32px;
  }
}
h2::after, .title2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent) 10%, var(--primary) 110%);
}

.subtitle2 {
  margin-bottom: 16px;
  text-align: center;
}

h3 {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 20px;
  line-height: normal;
}
@media screen and (min-width: 1024px) {
  h3 {
    font-size: 24px;
  }
}

.link {
  color: var(--primary);
  position: relative;
}
.link::after {
  content: "";
  width: 0;
  height: 2px;
  background-color: var(--primary);
  position: absolute;
  bottom: 0px;
  left: auto;
  right: 0;
  transition: all 0.5s;
}
.link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.text_center {
  text-align: center;
}

.text_gradient {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text_shadow {
  text-shadow: 1px 1px 2px #fff, 0 0 1em #fff, 0 0 0.6em #fff;
}

.body {
  background-color: var(--white);
  color: var(--black);
}

.body_container:has(.header_fixed) {
  padding-top: 70px;
  position: relative;
}

.content {
  width: 100%;
  padding: 0 16px;
}
@media screen and (min-width: 640px) {
  .content {
    padding: 0 40px;
  }
}
@media screen and (min-width: 1024px) {
  .content {
    padding: 0 60px;
  }
}
@media screen and (min-width: 1200px) {
  .content {
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
  }
}

section {
  padding: 40px 0;
}
@media screen and (min-width: 1024px) {
  section {
    padding: 60px 0;
  }
}

.section_bg {
  background-image: url("../images/section_bg.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section_light {
  background-color: var(--light2);
}

.border_left {
  border: 1px solid var(--primary);
  border-left-width: 8px;
  border-radius: 14px;
}
@media screen and (min-width: 1024px) {
  .border_left {
    border-left-width: 12px;
  }
}

.img_round {
  border-radius: 10px;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.img_fluid {
  border-radius: 10px;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  transform: translateY(0);
  animation: floatAnimation 3s ease-in-out infinite;
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}
.hide {
  display: none !important;
}

/* button */
.btn {
  width: -moz-max-content;
  width: max-content;
  min-width: 250px;
  padding: 15px 30px;
  border-radius: 10px;
  border: 1px solid var(--white);
  background: var(--primary) var(--gradient);
  color: var(--white);
  font-size: 20px;
  text-align: center;
  transition: all 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.btn:hover, .btn:active {
  transform: translateY(5px);
  box-shadow: 0 10px 20px var(--primary_transparent);
}

/* logo */
.logo {
  display: flex;
  align-items: end;
  gap: 10px;
}
.logo_img {
  height: 50px;
}
.logo_span {
  color: var(--primary);
  font-size: 28px;
  font-family: "Poetsen One", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: relative;
}

.logo_footer .logo {
  text-align: center;
}
/* nav */
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav_link {
  position: relative;
}
.nav_link::after {
  content: "";
  width: 0;
  height: 1px;
  background-color: var(--accent);
  position: absolute;
  bottom: 0px;
  left: auto;
  right: 0;
  transition: all 0.5s;
}
.nav_link:hover {
  color: var(--accent);
}
.nav_link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.nav_header {
  display: none;
}
@media screen and (min-width: 1024px) {
  .nav_header {
    display: unset;
  }
}

@media screen and (min-width: 1024px) {
  .nav_mobile {
    display: none;
  }
}
.nav_mobile .nav {
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav_footer .nav {
  flex-direction: column;
  gap: 10px 20px;
}
@media screen and (min-width: 640px) {
  .nav_footer .nav {
    flex-direction: row;
  }
}

/* header */
.header_fixed {
  width: 100%;
  height: 70px;
  border-bottom: 1px solid var(--border);
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.navbar {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.btn_menu {
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  color: var(--primary);
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 1024px) {
  .btn_menu {
    display: none;
  }
}
.btn_menu .material-symbols-outlined {
  color: currentColor;
  transition: all 0.3s;
  font-size: 33px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 33;
}
.btn_menu:hover, .btn_menu:active {
  color: var(--white);
  background: var(--gradient);
}

.mobile_menu {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid var(--primary);
  background-color: var(--white);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  transition: all 0.5s;
}
@media screen and (min-width: 1024px) {
  .mobile_menu {
    display: none;
  }
}
.mobile_menu.active {
  max-height: 500px;
}

.footer {
  padding: 20px 0;
  background-color: var(--dark);
  color: var(--white);
}
@media screen and (min-width: 640px) {
  .footer {
    padding: 40px 0;
  }
}
.footer .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px 80px;
}
@media screen and (min-width: 1024px) {
  .footer .content {
    flex-direction: row;
    justify-content: center;
  }
}

.hero {
  padding: 100px 0 100px;
  background-color: var(--primary);
}
.hero_bg {
  background-image: url("../images/hero_bg.webp");
  background-size: cover;
  background-position: 0% center;
  background-repeat: no-repeat;
}
.hero .block_text {
  max-width: 600px;
}
@media screen and (min-width: 1024px) {
  .hero .block_text {
    max-width: 800px;
  }
}
.hero .title1 {
  animation: fadeInBounce 2s ease-out;
}
.hero .subtitle {
  animation: fadeInBounce 2s ease-out;
}

@keyframes fadeInBounce {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  50% {
    opacity: 1;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* about */
.about .subtitle2 {
  text-align: left;
}
.about .grid {
  display: grid;
  gap: 30px;
}
@media screen and (min-width: 1024px) {
  .about .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
}
.about .grid > div {
  align-self: center;
}
.about_ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.about_ul li:last-of-type {
  margin-bottom: 0;
}
.about_ul img {
  flex-shrink: 0;
  display: block;
  width: 70px;
  height: 70px;
  margin: 10px;
}
.about .block_img {
  max-width: 600px;
  margin: 0 auto;
}
.about .block_img img {
  width: 100%;
}

/* methodology */
.methodology .block_cards {
  width: 100%;
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
}
@media screen and (min-width: 640px) {
  .methodology .block_cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .methodology .block_cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
.methodology .card {
  height: -moz-max-content;
  height: max-content;
  padding: 16px;
  border-radius: 15px;
  border: 1px solid var(--primary);
  background-color: var(--bg_card);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  animation: pulse 3s infinite;
}
.methodology .card_img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}
.methodology .card_img img {
  width: 100%;
}
.methodology .card_title {
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 500;
  font-size: 20px;
  text-align: center;
}
.methodology .card_text {
  margin-bottom: 10px;
  text-align: center;
}
.methodology .card_btn {
  width: 100%;
  min-width: auto;
  padding: 12px 20px;
  font-size: 16px;
}
.methodology .card:hover {
  background-color: var(--primary);
}
.methodology .card:hover .card_title {
  color: var(--white);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 #fff;
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 15px #fff;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 #fff;
  }
}
/* advantages */
.advantages .subtitle2 {
  margin-bottom: 40px;
}
.advantages .grid {
  display: grid;
  gap: 30px;
}
@media screen and (min-width: 1024px) {
  .advantages .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
}
.advantages .grid > div {
  align-self: center;
}
.advantages .block_img {
  max-width: 600px;
  margin: 0 auto;
}
.advantages .block_img img {
  width: 100%;
}
.advantages_ul {
  margin-bottom: 40px;
}
.advantages_ul li {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.advantages_ul li:last-of-type {
  margin-bottom: 0;
}
.advantages_ul img {
  flex-shrink: 0;
  display: block;
  width: 70px;
  height: 70px;
  margin: 10px;
}
.advantages_ul b {
  margin-right: 8px;
}

/* faq */
.faq {
  background-color: var(--light2);
}

/* accordion */
.accordion_container {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.accordion_item {
  border-bottom: 1px solid var(--border);
}
.accordion_item:last-child {
  border-bottom: none;
}
.accordion_button {
  width: 100%;
  padding: 16px 20px;
  background: var(--white);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.5s ease;
}
.accordion_button::after {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
  transform: translateY(-3px) rotate(-135deg);
  transition: transform 0.5s ease;
  color: var(--primary);
}
.accordion_button.active {
  background: var(--gradient);
  color: var(--white);
}
.accordion_button.active::after {
  transform: translateY(5px) rotate(45deg);
}
.accordion_content {
  max-height: 0;
  padding: 0 20px;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}
.accordion_content.active {
  max-height: 500px;
  padding: 16px 20px;
  background: #f8f9fa;
}

/* testimonials */
.testimonials .block_cards {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.testimonials .card {
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}
.testimonials .card_text {
  margin-bottom: 30px;
}
.testimonials .card_title {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}
.testimonials .card_img {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  overflow: hidden;
}
.testimonials .card_img img {
  width: 100%;
}
.testimonials .card_name {
  margin-bottom: 5px;
  font-weight: 600;
}
.testimonials .card_prof {
  font-size: 14px;
}

/* contact */
.contact {
  background-color: var(--light2);
}

.block_form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.leadform .input {
  width: 100%;
  height: 48px;
  margin-bottom: 16px;
  padding: 6px 18px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: var(--white);
  font-size: 16px;
}
.leadform .input:focus {
  border-color: var(--primary);
  outline: none;
}

.leadform .btn {
  width: 100%;
  padding: 12px 30px;
}

.checkbox_label {
  display: block;
  margin-bottom: 16px;
  color: rgba(33, 37, 41, 0.7490196078);
  font-size: 12px;
}
.checkbox_input {
  margin-left: 2px;
  margin-right: 8px;
}
.checkbox_link {
  font-style: italic;
}
.checkbox_link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* section */
.section {
  line-height: 1.7;
}
.section h2 {
  text-align: left;
  margin-left: 0;
}
.section p {
  margin-bottom: 20px;
}
.section ul {
  margin-bottom: 20px;
  list-style: unset;
  padding-left: 40px;
}
.section .text_center {
  margin-top: 40px;
  margin-bottom: 0;
}

/* --- анімація  --- */
.anim_item {
  opacity: 0;
  visibility: hidden;
  transform: translateX(0);
  /* default */
}

/* Коли з'являється */
.anim_item.show {
  opacity: 1;
  visibility: visible;
}

/* Непарні — зправа */
.anim_item:nth-child(odd).show {
  animation: slideFromRight 1s ease forwards;
}

/* Парні — зліва */
.anim_item:nth-child(even).show {
  animation: slideFromLeft 1s ease forwards;
}

@keyframes slideFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}