/*
 Theme Name: Starflow theme
 Version: 1.0
 Text Domain: starflowtheme
*/

:root {
  --clr-accent: 47, 62, 142;
  --clr-secondary: 237, 240, 96;
  --clr-accent-darker: 138, 116, 85;
  --clr-light: 247, 243, 235;
  --clr-white: 255, 255, 255;
  --clr-dark: 18, 18, 18;
  --clr-dark-lighter: 42, 44, 44;
  --clr-black: 0, 0, 0;

  font-family: "Jost", sans-serif;
}

/* ------------------- */
/* Reset               */
/* ------------------- */

/* https://piccalil.li/blog/a-modern-css-reset/ */
html {
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
figure,
picture {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: 400;
}

img,
picture {
  max-width: 100%;
  display: block;
}

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

/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  overflow-x: hidden;
  background-color: rgb(var(--clr-dark), 1);
  font-family: var(--ff-main);
  color: rgba(var(--clr-white), 0.9);
  /* color: rgb(var(--clr-accent)); */
  line-height: 1.5;
  font-size: 1.125rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

h1 {
  font-size: 2.25rem;
  color: rgba(var(--clr-white), 1);
  line-height: 1;
}
h2 {
  font-size: 3rem;
  line-height: 1;
  margin: 0.75rem 0 0.25rem 0;
  color: rgba(var(--clr-white), 1);
}
.white-bg h2 {
  color: rgba(var(--clr-black), 1);
}
h3 {
  color: rgba(var(--clr-white), 1);
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0.75rem 0 0.25rem 0;
}
p {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0.75rem 0 0.25rem 0;
}
.white-bg p {
  color: rgba(var(--clr-black), 1);
}
main {
  flex-grow: 1;
}
.main-header {
  width: 100%;
  margin: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;

  background: transparent;
}

.main-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-color: rgb(var(--clr-dark), 0.8);

  opacity: 0;
  transition: opacity 0.5s ease;
}

.main-header.is-scrolled::before {
  opacity: 1;
}

.main-header-container {
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.logo {
  max-width: 200px;
}
.logo img {
  max-width: 100%;
  height: 45px;
  width: auto;
}
.footer {
  background-color: #2b4f4f;
}
.footer a {
  color: rgba(var(--clr-white), 0.9);
  transition: color 0.3s ease-in-out;
}
.footer a:hover {
  color: rgba(var(--clr-white), 1);
}
.footer-copyright {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 0;
}
.footer-copyright p {
  font-size: 1.125rem;
}
/* ===================== MENU ============= */
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  position: relative;
}

.nav-menu,
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: rgba(var(--clr-white), 1);
  transition: 0.3s;
}
.nav-menu a {
}

.nav-menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #f9f9f9;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  z-index: 100;
}

.nav-menu li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* .menu-item-has-children > a::after {
  content: " ▼";
  font-size: 10px;
  vertical-align: middle;
  margin-left: 5px;
} */

.menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;

  background-image: url("images/arrow-down.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  transition: transform 0.3s ease;
}
.nav-menu li:hover > a::after {
  transform: rotate(180deg);
}
/* hamburger */
.hamburger {
  padding: 15px 15px;
  display: inline-block;
  display: none;

  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 5px 0 0;
  overflow: visible;
}
.hamburger:hover {
  opacity: 0.7;
}
.hamburger.is-active:hover {
  opacity: 0.7;
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
  background-color: rgba(var(--clr-white), 1);
}

.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 40px;
  height: 4px;
  background-color: rgba(var(--clr-white), 1);
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -10px;
}
.hamburger-inner::after {
  bottom: -10px;
}

/* slide */
.hamburger--slider .hamburger-inner {
  top: 2px;
}
.hamburger--slider .hamburger-inner::before {
  top: 10px;
  transition-property: transform, opacity;
  transition-timing-function: ease;
  transition-duration: 0.15s;
}
.hamburger--slider .hamburger-inner::after {
  top: 20px;
}

.hamburger--slider.is-active .hamburger-inner {
  transform: translate3d(0, 10px, 0) rotate(45deg);
}
.hamburger--slider.is-active .hamburger-inner::before {
  transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
  opacity: 0;
}
.hamburger--slider.is-active .hamburger-inner::after {
  transform: translate3d(0, -20px, 0) rotate(-90deg);
}

@media (max-width: 768px) {
  .header-social-languages {
    display: none;
  }
  .hamburger {
    display: block;
  }
  #primary-menu.menu-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 100vh;
    background: rgb(var(--clr-black));
    z-index: 9999;
    flex-direction: column;
    padding: 50px 20px 20px 20px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
  }

  #primary-menu.menu-container.is-active {
    display: flex !important;
  }

  .nav-menu {
    flex-direction: column;
  }

  .nav-menu li ul {
    position: static;
    display: none;
    padding-left: 20px;
    background: rgba(0, 0, 0, 0.05);
  }

  .nav-menu li.open-submenu > ul {
    display: block;
  }
  .nav-menu li.open-submenu > a::after {
    transform: rotate(180deg);
  }
}
/* ===================== MENU ============= */

/* ================== */
.hero-title {
  font-size: 4.063rem;

  line-height: 4.75rem;
  font-weight: 700;
}

h1.hero-title {
  margin: 0rem 0 2rem;
}
.hero-text {
  margin: 25px 35px 0 auto;
  font-weight: 400;
  font-size: 1.563rem;
  line-height: 2.063rem;
}
.hero-title.small {
  line-height: 1.1;
  display: block;
  font-size: 2.5rem;
  font-weight: 400;
  margin: 0 0 1rem;
}

.hero-title.tiny {
  line-height: 1.1;
  display: block;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-top: 12px;
  font-weight: 500;
}

/* ========================= ANIMATIONS */

.hero-reveal-container {
  overflow: hidden;
}

.reveal-text {
  opacity: 0;
  transform: translateY(50px);
  transition:
    transform 1s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 1s ease;
  will-change: transform, opacity;
}

.reveal-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-pause {
  transition-delay: 1.5s;
}
.delay-step-1 {
  transition-delay: 1.4s;
}
.delay-step-2 {
  transition-delay: 1.6s;
}
.delay-step-3 {
  transition-delay: 1.8s;
}

.reveal-words-container {
  display: block;
}

.word-wrapper {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.word-inner {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition:
    transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.8s ease;
  will-change: transform, opacity;
}

.word-inner.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* ========================= ANIMATIONS */

.block-1 {
  padding: 2rem 1.875rem 1rem 1.875rem;
  border-radius: 15px;
  border: 1px solid rgba(var(--clr-white), 0.3);
  background-color: rgba(var(--clr-accent), 1);
}
.block-1 img {
  height: 60px;
  width: 60px;
  object-fit: contain;
}
.block-1 h3 {
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.block-1 p {
  font-size: 1.125rem;
}
.h3-smaller {
  font-size: 2rem;
}
.products-carousel h3 {
  font-size: 1.75rem;
  line-height: 1;
  text-align: left;
}
.products-carousel .kt-testimonial-content {
  font-size: 1.125rem;
  line-height: 1.2;
  text-align: left;
}
.products-carousel .kt-testimonial-item-wrap {
  padding: 0;
  border-radius: 15px;
  border: 1px solid rgba(var(--clr-white), 0.1);
  background-color: rgba(var(--clr-white), 0.05);

  overflow: hidden;
}
.products-carousel .kt-testimonial-media-inner-wrap .kt-testimonial-image {
  top: 0;
  margin-top: -10px;
  padding: 0;
}

.products-carousel .kt-testimonial-title-wrap {
  padding: 0 1rem;
}

.products-carousel .kt-testimonial-content-wrap {
  padding: 0 1rem 1rem;
}
.products-carousel .kt-testimonial-media-inner-wrap,
.kt-testimonial-style-card .kt-testimonial-media-inner-wrap {
  margin: 0 !important;
}

.fw-700,
.hero-title.small.fw-700 {
  font-weight: 700;
}

/* =========================== IMAGE REVEAL */
.starflow-reveal-zone {
  position: relative;
  overflow: hidden;
  /* min-height: 100vh;  */
}

.starflow-reveal-zone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://defacto.pp.ua/iflow/wp-content/uploads/2026/02/yoga-bg1.jpg");
  background-size: cover;
  background-position: center bottom;
  z-index: 0;

  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.starflow-reveal-zone::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://defacto.pp.ua/iflow/wp-content/uploads/2026/02/bottle-for-bg.png");
  background-size: 70%;
  background-position: calc(50% + 100px) bottom;
  z-index: 1;

  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1s ease,
    transform 1s ease;
  pointer-events: none;
}

.starflow-reveal-zone.is-active::before {
  clip-path: inset(0 0 0 0);
  transition-delay: 1.2s;
}

.starflow-reveal-zone.is-active::after {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 2.2s;
}

.starflow-reveal-zone .kt-row-column-wrap {
  position: relative;
  z-index: 2;
}
/* =========================== IMAGE REVEAL */

#story,
#app,
#products {
  scroll-margin-top: 60px;
}

/* ========================== PRODUCT CARDS */
.info-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.info-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 0 10px;
  -webkit-overflow-scrolling: touch;
}

.info-carousel-track::-webkit-scrollbar {
  display: none;
}

.info-card {
  background-color: rgba(var(--clr-white), 1);
  flex-shrink: 0;
  /* scroll-snap-align: start; */
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;

  will-change: transform;
  contain: layout style paint;
}

/* desktop */
@media (min-width: 1025px) {
  .info-card {
    width: calc((100% - (4 * 20px)) / 4.5);
  }
}

/* tablet */
@media (max-width: 1024px) and (min-width: 768px) {
  .info-card {
    width: calc((100% - (2 * 20px)) / 2.5);
  }
}

/* mobile */
@media (max-width: 767px) {
  .info-card {
    width: calc((100% - 15px) / 1.2);
  }
  .info-carousel-track {
    gap: 15px;
  }
}

/* --- ВНУТРІШНІ СТИЛІ ТА ХОВЕР --- */

/* ========================== PRODUCT CARDS */
/*  */

.info-carousel-main-container {
  width: 100%;
  position: relative;
  padding-bottom: 80px;
}

.info-carousel-track {
  display: flex;
  overflow-x: scroll;
  gap: 30px;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  transform: translateZ(0);
}

.info-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Картка */
.info-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  height: 460px;

  transition: opacity 0.3s ease;
}

.card-title-top {
  color: rgba(var(--clr-black), 1);
  font-size: 1.5rem;
  line-height: 1;
  margin: 1rem 0 0px;
  padding: 0 1rem 0 1.5rem;
  font-weight: 600;
}

.card-media-area {
  flex-grow: 1;
  position: relative;
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;

  will-change: transform;
  transform: translateZ(0);
}

.card-hover-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(var(--clr-white), 1);
  display: flex;
  align-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  z-index: 2;
}

.card-description-text {
  color: rgba(var(--clr-black), 0.8);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card-description-text p {
  font-size: 1.25rem;
  line-height: 1.3;
}
.info-card:hover .card-hover-overlay,
.info-card:active .card-hover-overlay {
  opacity: 1;
  visibility: visible;
}

.info-card:hover .card-description-text {
  transform: translateY(0);
}

.hint-icon-wrapper {
  display: none;
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  z-index: 1;
}

.carousel-nav-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.carousel-nav-arrows {
  display: flex;
  gap: 15px;
}

.nav-arrow {
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(var(--clr-white), 0.3);
  color: rgba(var(--clr-white), 1);
  width: 45px;
  height: 45px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 18px;
}

.nav-arrow:hover {
  border-color: rgba(var(--clr-white), 0.3);
  background: rgba(var(--clr-accent), 1);
}
.white-bg .nav-arrow {
  border: 1px solid rgba(var(--clr-black), 0.3);
  color: rgba(var(--clr-black), 0.8);
}
.white-bg .nav-arrow:hover {
  color: rgba(var(--clr-white), 0.8);
  border-color: rgba(var(--clr-black), 0.3);
  background: rgba(var(--clr-accent), 1);
}

/* desktop */
@media (min-width: 1025px) {
  .info-card {
    width: calc((100% - (4 * 40px)) / 4.25);
  }
}

/* tablet */
@media (max-width: 1024px) and (min-width: 768px) {
  .info-card {
    width: calc((100% - (2 * 40px)) / 2.7);
  }
}

/* mobile */
@media (max-width: 767px) {
  .info-carousel-main-container {
    padding: 0 15px;
  }
  .info-card {
    width: 80%;
    height: 400px;
  }
  .info-carousel-track {
    gap: 30px;
  }
  .carousel-nav-wrapper {
    display: none;
  }
}
/*  */
/* ========================== PRODUCT CARDS */

.font-24-section p {
  font-size: 1.5rem;
}
.text-with-line {
  position: relative;
  padding-left: 120px;
}
.text-with-line::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 100px;
  height: 2px;
  background: rgba(var(--clr-white), 1);
  opacity: 1;
  display: block;
}
.white-bg .text-with-line::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 100px;
  height: 2px;
  background: rgba(var(--clr-black), 1);
  opacity: 1;
  display: block;
}

/* THREE PRODUCTS IMAGE */

.overlap-images-container {
  display: grid;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.overlap-img {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: auto;
  object-fit: contain;

  opacity: 0;
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.overlap-img-1 {
  transform: translateX(-50px);
  z-index: 1;
}
.overlap-img-2 {
  transform: translateY(50px);
  z-index: 2;
}
.overlap-img-3 {
  transform: translateX(50px);
  z-index: 3;
}

.overlap-images-container.is-animated .overlap-img-1 {
  opacity: 1;
  transform: translate(0, 0);
  transition-delay: 0s;
}

.overlap-images-container.is-animated .overlap-img-2 {
  opacity: 1;
  transform: translate(0, 0);
  transition-delay: 0.4s;
}

.overlap-images-container.is-animated .overlap-img-3 {
  opacity: 1;
  transform: translate(0, 0);
  transition-delay: 0.8s;
}
/* THREE PRODUCTS IMAGE */

/* ========================== ADVANTAGES CAROUSEL ========================== */
.adv-carousel-wrapper {
  /* For Firefox */
  scrollbar-width: none;
  /* For IE and Edge */
  -ms-overflow-style: none;
}

/* For Chrome, Safari, and Opera */
.adv-carousel-wrapper::-webkit-scrollbar {
  display: none;
}

.adv-carousel-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 80px;
}

.adv-carousel-track {
  display: flex;
  overflow-x: scroll;
  scroll-behavior: smooth;
  gap: 30px;
  padding: 20px 10px;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  transform: translateZ(0);
  scroll-snap-type: x mandatory;
}

.adv-carousel-track::-webkit-scrollbar {
  display: none;
}
.adv-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background-color: rgba(var(--clr-accent), 1);
  border-radius: 15px;
  padding: 30px 25px;
  min-height: 280px;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(var(--clr-white), 0.4);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
}
@media (hover: hover) {
  .adv-carousel-track:hover .adv-card {
    opacity: 0.75;
  }

  .adv-carousel-track .adv-card:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
}

.adv-icon-wrapper {
  width: 100%;
  /*   height: 80px; */
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.adv-icon {
  /* max-width: 80px; */
  width: 100%;
  height: auto;
  /*   max-height: 80px; */
  /* object-fit: contain; */
  object-fit: cover;
  border-radius: 8px;
}

.adv-title {
  font-size: 0.875rem;
  line-height: 1.2;
  margin: 0 0 3px 0;
  font-weight: 700;
}

.adv-description p {
  color: rgba(var(--clr-white), 1);
  font-size: 1.125rem;
  line-height: 1.3;
}

@media (min-width: 1025px) {
  .adv-card {
    width: calc((100% - (4 * 30px)) / 4.25);
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .adv-card {
    width: calc((100% - (2 * 30px)) / 2.7);
  }
}

@media (max-width: 767px) {
  .adv-card {
    width: 80%;
  }
  .adv-carousel-track {
    gap: 30px;
  }
  .adv-carousel-wrapper {
    padding: 0 15px;
  }
}
/* ========================== /ADVANTAGES CAROUSEL ========================== */

.forminator-design--flat .forminator-input,
.forminator-textarea {
  border-radius: 8px !important;
  background-color: transparent;
  border: 1px solid rgba(var(--clr-white), 0.8) !important;
}
.forminator-field-textarea .forminator-field {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.forminator-field-textarea .forminator-field > *:nth-child(1),
.forminator-field-textarea .forminator-field > *:nth-child(2) {
  flex: 1;
  min-width: calc(50% - 5px);
}

.forminator-field-textarea .forminator-field > *:nth-child(3) {
  width: 100%;
}
.forminator-design--flat .forminator-label {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: rgba(var(--clr-white), 0.8) !important;
}
.forminator-design--flat .forminator-button-submit {
  border-radius: 8px !important;
}
.forminator-ui.forminator-custom-form[data-design="flat"] .forminator-button {
}
.forminator-ui.forminator-custom-form[data-design="flat"]
  .forminator-button:last-child {
  margin: 0 auto !important;
  display: block;
  padding: 10px 25px !important;
  margin-top: 15px !important;
  min-width: 140px;
}
@media (min-width: 783px) {
  .forminator-ui.forminator-custom-form:not(
      .forminator-size--small
    )[data-grid="open"]
    .forminator-row-inside:not(:last-child),
  .forminator-ui.forminator-custom-form:not(
      .forminator-size--small
    )[data-grid="open"]
    .forminator-row:not(:last-child) {
    margin-bottom: 10px !important;
  }
}

.story-image {
  display: flex;
  justify-content: flex-start;
  margin: 0;
}
.story-image img {
  width: 260px;
  height: auto;
  position: relative;
  transform: translateX(-50%);
  z-index: 10;
}
.story-text {
  padding: 1rem;
}
.story-text p {
  font-size: 1.5rem;
  padding-right: 150px;
}

.starflow-produced-image-wrapper,
.story-image-wrapper {
  position: relative;
}

.starflow-produced-image-wrapper {
  position: relative;
  z-index: 10;
}

.starflow-produced-image {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.starflow-produced-image img {
  width: 260px;
  height: auto;
  position: relative;
  transform: translateX(50%);
}

.starflow-produced-text h2,
.starflow-produced-text p {
  padding-left: 150px;
  font-size: 1.5rem;
}

.footer-right-column .kt-inside-inner-col {
  justify-content: end;
}
.footer-right-column .kt-svg-icons {
  margin-top: 1rem;
  justify-content: end;
}
.footer-right-column .kt-inside-inner-col p {
  text-align: right;
}
/* ======= AI CECTION */
.ai-section {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.ai-section .kb-blocks-bg-video-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  max-height: 100dvh;
}

.ai-section .kb-blocks-bg-video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

/* ======= AI CECTION */
@media (max-width: 1079px) {
  .story-image img {
    width: 230px;
    height: auto;
    position: relative;
    transform: translateX(-50%);
    z-index: 10;
  }
  .starflow-produced-image img {
    width: 230px;
  }
  .story-text {
    padding: 0.75rem 0.25rem 0.75rem 0.75rem;
  }
  .story-text p {
    font-size: 1.375rem;
    padding-right: 110px;
  }
  .starflow-produced-text p {
    padding-left: 110px;
    font-size: 1.375rem;
  }
}
@media (max-width: 767px) {
  .hero-section {
    margin: auto 0;
    height: 100vh;
    justify-content: center;
    align-items: center;
  }
  .kb-row-layout-id13_9584e4-34 > .kt-row-column-wrap {
    place-items: center;
  }
  h1.hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
  }
  .hero-text,
  .hero-title.hero-text {
    font-size: 1.25rem;
  }
  /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
  /* .kt-row-column-wrap.kt-has-2-columns {
  display: flex;
  flex-direction: column;
} */
  /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

  .starflow-produced-text,
  .story-text {
    order: -1;
    position: relative;
    z-index: 20;
  }

  /*  ЦЕНТРУВАННЯ ТЕКСТУ */
  .starflow-produced-text h2,
  .starflow-produced-text p,
  .story-text h2,
  .story-text p {
    font-size: 1.125rem;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0rem 0 11.5rem;

    text-align: center;
  }
  .story-text {
    margin: 0rem 0 250px;
  }

  .starflow-produced-text p {
    margin: 0rem 0 420px;
  }
  .starflow-produced-image,
  .story-image {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
  }

  .starflow-produced-image img,
  .story-image img {
    /*     transform: translateY(-50%); */
    transform: translateY(-100%);
    position: relative;
    z-index: 10;
  }
  .starflow-produced-image img {
    transform: translateY(-100%);
  }
  .mobile-bottom {
    height: 400px;
    justify-content: end;
    /* margin-top: auto !important; */
  }

  .app-section {
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
/* .who-choose-heading {
	max-width: 340px;
} */
.postheading,
h1.postheading {
  font-size: 2.75rem;
  text-align: center;
  font-weight: 700;
  margin: 90px 1rem 0;
}
.standart-page-wrapper h2 {
  font-size: 2.375rem;
  margin: 1rem 0 0.25rem;
}

/* white bg page */

.white-bg-page-wrapper {
  background-color: rgba(var(--clr-white), 1);
}
body.privacy-policy {
  background-color: rgba(var(--clr-white), 1);
}
body.privacy-policy  .main-header {
	background-color: rgb(var(--clr-dark), 0.8);
}
body.privacy-policy .main-header::before {
	content:none;
}
body.privacy-policy .postheading, body.privacy-policy h1.postheading {
	color: rgba(var(--clr-black), 0.9);
}
body.privacy-policy body.privacy-policy h1,
body.privacy-policy h2,
body.privacy-policy h3,
body.privacy-policy h4,
body.privacy-policy h5,
body.privacy-policy h6,
body.privacy-policy li,
body.privacy-policy p {
  color: rgba(var(--clr-black), 0.9);
}
body.privacy-policy .footer, 
body.privacy-policy .footer p {
	color: rgba(var(--clr-white), 0.9);
}
/* white bg page */

@media (max-width: 768px) {
  .postheading,
  h1.postheading {
    font-size: 2.25rem;
  }
  .standart-page-wrapper h2 {
    font-size: 2.125rem;
    margin: 1rem 0 0.25rem;
  }
  .forminator-ui#forminator-module-396.forminator-design--flat
    .forminator-textarea {
    min-height: 100px !important;
    height: 100px !important;
  }
  .forminator-ui.forminator-custom-form[data-grid="open"]
    .forminator-row-inside:not(:last-child),
  .forminator-ui.forminator-custom-form[data-grid="open"]
    .forminator-row:not(:last-child) {
    margin-bottom: 10px !important;
  }
  .forminator-ui#forminator-module-396.forminator-design--flat
    .forminator-button-submit {
    width: auto !important;
  }
  .footer-copyright p {
    font-size: 1rem;
  }
  .nav-menu a {
    font-size: 1.5rem;
  }
  .main-navigation {
    padding: 0;
  }
  .main-header-container {
    padding-right: 10px;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-title.small {
    font-size: 2rem;
  }
  .height-100 {
    height: 100vh;
    display: flex;
    align-items: center;
  }
  .height-100 .kt-inside-inner-col {
    margin-top: 50vh;
  }

  .text-with-line {
    position: relative;
    padding-left: 80px;
  }
  .text-with-line::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    width: 60px;
    height: 2px;
    background: rgba(var(--clr-white), 1);
    opacity: 1;
    display: block;
  }
  .white-bg .text-with-line::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    width: 60px;
    height: 2px;
    background: rgba(var(--clr-black), 1);
    opacity: 1;
    display: block;
  }
}

.not-found-section {
  flex-direction: column;
  justify-content: center;
  align-items: center;

  margin-top: 6rem;
  text-align: center;
}
.form-checkbox a {
  color: rgba(var(--clr-white), 1);
}
.form-checkbox .forminator-label {
  display: none !important;
}
.form-checkbox a:hover {
  color: rgba(var(--clr-white), 0.8);
}

/* Hero video backgroudn for mobile  */

/* Hero video backgroudn for mobile  */