:root {
  --primary-text-color: #212121;
  --logo-black: #000000;
  --secondary-text-color: #757575;
  --icon-color: #afb1b8;
  --accent-color: #a9fee9;
  --primary-white-color: #ffffff;
  --bgr-white-color: #f5f5f5;
  --secondary-white-color: rgba(255, 255, 255, 0.6);
  --bgr-grey-color: #f5f4fa;
  --bgr-darck-color: #2f303a;
  --start-color: rgba(47, 48, 58, 0);
  --end-color: rgba(47, 48, 58, 0.4);
  --main-after-color: #efd807;
  --header-bg-color: #0a102e;
} /*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
*,
::before,
::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}
hr {
  height: 0;
  color: inherit;
}
abbr[title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo,
    monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/* === Success popup === */
.success-popup {
  position: fixed;
  top: 50%;
  left: 100%;                 /* стартує за правим краєм */
  transform: translateY(-50%);
  background: #ffffff;
  color: #0f5132;
  border: 2px solid #198754;
  border-radius: 12px;
  padding: 20px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;       /* щоб не ловив кліки */
  transition: left .7s cubic-bezier(0.4,0,0.2,1), 
  transform .7s cubic-bezier(0.4,0,0.2,1),
  opacity .7s cubic-bezier(0.4,0,0.2,1);
  text-align: center;
  font-weight: 600;
  max-width: 320px;
}

.success-popup__icon {
  font-size: 32px;
  display: block;
  margin-bottom: 8px;
  color: #0f5132;
}

/* коли показуємо (в центрі) */
.success-popup.show {
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

/* коли зникає (їде за лівий край) */
.success-popup.hide {
  left: -100%;
  opacity: 0;
}

table {
  text-indent: 0;
  border-color: inherit;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
:-moz-focusring {
  outline: 1px dotted ButtonText;
}
:-moz-ui-invalid {
  box-shadow: none;
}
legend {
  padding: 0;
}
progress {
  vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  display: list-item;
}
h1,
h2,
h3,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
body {
  background-color: var(--header-bg-color);
  color: var(--primary-text-color);
  font-family: Roboto, sans-serif;
  letter-spacing: 0.03em;
}
body .ai {
  margin: 0;
  padding: 0;
  /* display: flex;*/
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: white;
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font-family: inherit;
}
.images {
  display: block;
}
.section {
  background-color: var(--primary-white-color);
  width: 100%;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .section {
    padding: 60px 0px;
  }
}
@media screen and (min-width: 1199px) {
  .section {
    padding: 60px 15px;
  }
}
@media screen and (min-width: 1200px) {
  .section {
    padding-top: 94px;
    padding-bottom: 94px;
  }
}
html, body {
  overflow-x: hidden;
}

.section-develop_game {
  background-color: var(--header-bg-color);
  width: 100%;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .section-develop_game {
    padding: 60px 15px;
  }
}
@media screen and (max-width: 1199px) {
  .section-develop_game {
    padding: 60px 15px;
  }
}
@media screen and (min-width: 1200px) {
  .section-develop_game {
    padding-top: 94px;
    padding-bottom: 94px;
  }
}
.title {
  font-weight: 700;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--primary-text-color);
}
.discription {
  color: var(--primary-text-color);
  font-weight: 400;
  font-size: 16px;
}
.h2-title {
  margin-bottom: 50px;
  font-size: 36px;
  line-height: 1.17;
  text-align: center;
  color: var(--primary-text-color);
}
.link {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--main-after-color);
}
.icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.conteiner {
  width: 100%;
  margin: 0 auto;
  max-width: 1950px;
}
@media screen and (min-width: 1200px) {
  .conteiner {
    padding: 0;
  }
}
.header__logo span {
  color: var(--main-after-color);
}
.header__logo {
  padding: 24px 0;
}
.footer__logo {
  padding: 0 0 30px 0;
}
.header__logo span {
  color: var(--main-after-color);
}
.header__conteiner {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-bottom: 0;
  padding-top: 0;
}
@media screen and (min-width: 480px) {
  .header__conteiner {
    max-width: 480px;
  }
}
@media screen and (min-width: 768px) {
  .header__conteiner {
    max-width: 768px;
  }
}
@media screen and (min-width: 1200px) {
  .header__conteiner {
    max-width: 1200px;
  }
}
.header {
  border-bottom: 1px solid #b3ab1f;
}
.header__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 24px;
}
.logo {
  color: var(--accent-color);
  font-family: Raleway;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.19;
  text-decoration: none;
  display: flex;
}
.site-nave .linkcurrent {
  color: var(--accent-color);
  text-decoration: none;
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.linkcurrent:hover:after {
  width: 100%;
}
.linkcurrent::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  border-radius: 4px;
  margin-bottom: -1px;
}
.mobile-menu__item .linkcurrent {
  color: var(--logo-black);
  text-decoration: none;
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.site-nave {
  color: var(--main-after-color);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 94px;
  margin-right: 50px;
  padding-top: 32px;
  -webkit-transition: -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.site-nave__item {
  margin-right: 50px;
}
@media screen and (max-width: 767px) {
  .site-nave__item {
    display: none;
  }
}
.site-nave__item:last-child {
  margin-right: 0;
}
.site-nave__link {
  display: block;
  position: relative;
  padding-bottom: 32px;
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.site-nave__link:hover,
.site-nave__link:focus {
  color: var(--accent-color);
}
.adress-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .adress-head {
    display: none;
  }
}
@media screen and (max-width: 1199px) {
  .adress-head {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
  }
}
.adress-head__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--secondary-text-color);
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  text-decoration: none;
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.adress-head__link:hover,
.adress-head__link:focus {
  color: #e3f300;
  -webkit-text-stroke-color: linear-gradient(to right, #01b7ff, #e3f300);
  -webkit-text-stroke-width: 0.2px;
}
.adress-head__icon {
  fill: var(--secondary-text-color);
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.adress-head__icon:hover,
.adress-head__icon:focus {
  color: var(--accent-color);
  -webkit-text-stroke-color: linear-gradient(to right, #01b7ff, #e3f300);
  -webkit-text-stroke-width: 0.2px;
}
.adress-head__icon--svg {
  fill: currentColor;
  -webkit-text-stroke-color: linear-gradient(to right, #01b7ff, #e3f300);
  -webkit-text-stroke-width: 0.2px;
}
.adress-head__link:hover .icon-adress-link,
.adress-head__link:focus .icon-adress-link {
  fill: var(--accent-color);
}
.adress-head:last-child {
  margin-right: 0;
}
.adress-head__mail {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.adress-head__phone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
@media screen and (max-width: 1199px) {
  .adress-head__phone {
    margin-right: 16px;
  }
}
.hero-section {
  background-repeat: no-repeat;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 30px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 118px 60px;
  max-height: 400px;
  max-width: 1600px;
  background-position: center center;
  background-size: cover;
  margin: 0 auto;
  width: 100%;
  background-image: -webkit-gradient(
      linear,
      left bottom,
      left top,
      from(var(--start-color)),
      to(var(--end-color))
    ),
    url(../images/adaptive/hero_mobile.png);
  background-image: linear-gradient(
      to top,
      var(--start-color),
      var(--end-color)
    ),
    url(../images/adaptive/hero_mobile.png);
}
/* === Hero Section Hover Zoom === */
.hero-section {
  transition: background-size 1s ease, transform 1s ease;
  background-size: cover;
  background-position: center center;
}

/* ефект при наведенні */
.hero-section:hover {
  background-size: 125%; /* трохи збільшуємо фон */
  transform: scale(1.01); /* легке “дихання” секції */
}

/* щоб не впливало на мобілки — лише з планшета */
@media (max-width: 768px) {
  .hero-section:hover {
    background-size: cover;
    transform: none;
  }
}

@media screen and (min-width: 480px) {
  .hero-section {
    width: 100%;
  }
}
@media screen and (min-width: 768px) {
  .hero-section {
    width: 100%;
  }
}
@media screen and (min-width: 1200px) {
  .hero-section {
    max-height: 600px;
    padding: 200px 0;
  }
}
@media (min-device-pixel-ratio: 2) and (max-width: 768px),
  (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px),
  (min-resolution: 192dpi) and (max-width: 768px),
  (min-resolution: 2dppx) and (max-width: 768px) {
  .hero-section {
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        from(var(--start-color)),
        to(var(--end-color))
      ),
      url(../images/adaptive/hero_mobile_2x.png);
    background-image: linear-gradient(
        to top,
        var(--start-color),
        var(--end-color)
      ),
      url(../images/adaptive/hero_mobile_2x.png);
  }
}
@media screen and (min-width: 768px) {
  .hero-section {
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        from(var(--start-color)),
        to(var(--end-color))
      ),
      url(../images/adaptive/hero_tablet.png);
    background-image: linear-gradient(
        to top,
        var(--start-color),
        var(--end-color)
      ),
      url(../images/adaptive/hero_tablet.png);
  }
}
@media (min-device-pixel-ratio: 2) and (min-width: 768px),
  (-webkit-min-device-pixel-ratio: 2) and (min-width: 768px),
  (min-resolution: 192dpi) and (min-width: 768px),
  (min-resolution: 2dppx) and (min-width: 768px) {
  .hero-section {
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        from(var(--start-color)),
        to(var(--end-color))
      ),
      url(../images/adaptive/hero_tablet_2x.png);
    background-image: linear-gradient(
        to top,
        var(--start-color),
        var(--end-color)
      ),
      url(../images/adaptive/hero_tablet_2x.png);
  }
}
@media screen and (min-width: 1199px) {
  .hero-section {
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        from(var(--start-color)),
        to(var(--end-color))
      ),
      url(../images/adaptive/hero_bg.png);
    background-image: linear-gradient(
        to top,
        var(--start-color),
        var(--end-color)
      ),
      url(../images/adaptive/hero_bg.png);
  }
}
@media (min-device-pixel-ratio: 2) and (min-width: 1199px),
  (-webkit-min-device-pixel-ratio: 2) and (min-width: 1199px),
  (min-resolution: 192dpi) and (min-width: 1199px),
  (min-resolution: 2dppx) and (min-width: 1199px) {
  .hero-section {
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        from(var(--start-color)),
        to(var(--end-color))
      ),
      url(../images/adaptive/hero_bg@2x.png);
    background-image: linear-gradient(
        to top,
        var(--start-color),
        var(--end-color)
      ),
      url(../images/adaptive/hero_bg@2x.png);
  }
}
.hero-section__conteiner {
  display: contents;
  position: relative;
}
.hero-section__title {
  display: inline-block;
  text-align: center;
  font-weight: 900;
  line-height: 1.36;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 20px;
  width: 360px;
  background: linear-gradient(90deg, #f9d423, #00c3ff, #f9d423);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 5s ease-in-out infinite alternate;
  opacity: 0;
  transform: translateX(-50px);
  animation: gradient-flow 6s ease-in-out infinite alternate, fade-in-text 1.2s ease forwards;
}

/* 🌈 Плавний перелив кольорів */
@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 💫 Плавна поява тексту */
@keyframes fade-in-text {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media screen and (min-width: 1200px) {
  .hero-section__title {
    font-size: 44px;
    width: 696px;
  }
}
@media screen and (max-width: 768px) {
  .hero-section__title {
    padding-top: 100px;
  }
}

.help-section {
  max-width: 100%;
}
@media screen and (min-width: 480px) and (max-width: 768px) {
  .help-section {
    width: 100%;
    justify-content: center;
  }
}
@media screen and (min-width: 768px) {
  .help-section {
    padding-bottom: 0;
  }
}
@media screen and (max-width: 1199px) {
  .help-section {
    width: 100%;
  }
}
.help-section__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 30px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}
@media screen and (min-width: 1199px) {
  .help-section__list {
    padding: 70px 15px;
  }
}
.help-conteiner {
  display: flex;
  justify-content: center;
}
.advantage-card__title {
  font-size: 14px;
  line-height: 1.14;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
}
.advantage-card__discription {
  font-size: 24px;
  line-height: 1.71;
  margin-top: 10px;
  align-items: center;
  display: flex;
  justify-content: space-around;
}
.advantage-card:last-child {
  margin-right: 0;
}
.advantage-card__link {
  margin-right: 0;
}
.advantage-card__svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 120px;
  background: linear-gradient(to right, #01b7ff, #e3f300);
  border-radius: 100px;
  margin-bottom: 30px;
  fill: currentColor;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.advantage-card__svg:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  background: linear-gradient(to right, #00e0ff, #ffef00);
}

/* Анімація підпису (опційно, для плавного прояву) */
.advantage-card__discription {
  transition: color 0.3s ease;
}
@media screen and (min-widht: 480px) {
  .advantage-card {
    width: 100%;
    height: 120px;
    padding: 25px 191px;
  }
}
@media screen and (min-width: 480px) and (max-width: 768px) {
  .advantage-card {
    
  }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .advantage-card {
    max-width: 354px;
    width: 100%;
    text-align: -webkit-center;
  }
}
@media screen and (min-width: 1200px) {
  .advantage-card {
    width: 270px;
  }
}
@media screen and (max-width: 1199px) {
  .action-photo {
    display: block;
  }
}
@media screen and (min-width: 1200px) {
  .action-photo {
    display: block;
  }
}
.action-photo__item {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  width: 370px;               /* фіксований діаметр кола */
  aspect-ratio: 1 / 1;        /* забезпечує форму круга */
  cursor: pointer;
  margin: 0 auto;
}
.action-photo__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;          /* щоб не розтягувалось */
  border-radius: 50%;
  transition: transform 0.5s ease;
}
.action-photo__item:hover img {
  transform: scale(1.06);
}
.action-photo__discription {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: rgba(47, 48, 58, 0.8);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.action-photo__item:hover .action-photo__discription {
  opacity: 1;
}

/* Для мобілок */
@media (max-width: 480px) {
  .action-photo__item {
    width: min(80vw, 370px);
  }
}
.action-photo__title {
  margin-bottom: 50px;
  font-size: 36px;
  line-height: 1.16;
  text-align: center;
  text-decoration: none;
  color: var(--primary-text-color);
}
.action-photo__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
@media screen and (min-width: 480px) and (max-width: 768px) {
  .action-photo__list {
    flex-direction: column;
    align-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
  }
}
.our-team {
  background-color: var(--bgr-grey-color);
  max-width: 100%;
}
.our-team__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 30px;
  text-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.comments {
  border-radius: 100%;
  width: 200px;
}
.team-card {
  border-color: rgba(0, 0, 0, 0);
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12),
    0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14),
    0px 2px 1px rgba(0, 0, 0, 0.2);
  border-radius: 20%;
  background-color: var(--primary-white-color);
  align-items: center;
  flex-direction: column;
  display: flex;
  padding: 15px;
}
@media screen and (min-width: 768px) {
  .team-card {
    width: calc((100% - 30px) / 2);
  }
}
@media screen and (min-width: 1200px) {
  .team-card {
    width: calc((100% - 90px) / 4);
  }
}
.team-card__discription {
  line-height: 1.19;
  margin-top: 10px;
  margin-bottom: 16px;
}
.team-card__conteiner {
  padding: 30px 10px 0px;
}
.team-card__title {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.19;
}
/* контейнер для фото — круг та кроп */
.team-card picture,
.team-card img {
  display: block;
}

.team-card picture {
  width: 180px;          /* підженеш за макетом */
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

/* саме фото */
.team-card picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* без спотворень */
  transform: scale(1);    /* старт */
  transition: transform .6s ease;
  will-change: transform;
}

/* зум при наведенні на картку */
.team-card:hover picture img {
  transform: scale(1.08); /* м’яко збільшуємо */
}

/* легка тінь при ховері (опційно) */
.team-card:hover picture {
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

/* адаптив — на мобілках фото трохи менше */
@media (max-width: 480px){
  .team-card picture{
    width: 140px;
    height: 140px;
  }
}

.modal-wrap {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(47, 48, 58, 0.4);
  z-index: 999;
  -webkit-transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms;
}
.modal-wrap.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal-wrap.is-hidden .modal {
  -webkit-transform: translate(-50%, -50%) scale(1.2);
  transform: translate(-50%, -50%) scale(1.2);
}
.modal {
  max-width: 528px;
  width: 100%;
  max-height: 581px;
  height: 100%;
  background: var(--primary-white-color);
  position: relative;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 888;
  -webkit-transition: -webkit-transform 250ms ease;
  transition: -webkit-transform 250ms ease;
  transition: transform 250ms ease;
  transition: transform 250ms ease, -webkit-transform 250ms ease;
  padding: 41px 44px 39px 36px;
}
@media screen and (max-width: 768px) {
  .modal {
    width: 100%;
    height: 100%;
  }
}
@media screen and (max-width: 480px) {
  .modal {
    max-height: 570px;
    max-width: 355px;
  }
}
@media screen and (max-width: 480px) {
    .privacy__link {
        display: grid;
        margin-top: 15px;
        min-width: 200px;
  }
}
.modal__close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 30px;
  height: 30px;
  background: var(--primary-white-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
}
.modal__cross {
  fill: var(--primary-text-color);
  position: absolute;
  right: 8px;
  top: 8px;
}
.modal__discription {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  text-align: center;
  display: block;
  letter-spacing: 0.03em;
  color: var(--primary-text-color);
}
.form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.form:not(:first-child) {
  display: block;
}
.form-row {
  font-size: 12px;
  line-height: 1.1666;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.form-row__title:not(:first-child) {
  margin-top: 10px;
}
.form-row__title {
  display: block;
  margin-bottom: 4px;
  margin-top: 10px;
  color: var(--secondary-text-color);
}
.form-row__test {
  position: relative;
}
.form-row__test::after {
  gap: 12px;
  background-image: url(../images/icons/cross.svg);
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid var(--accent-color);
  color: var(--primary-white-color);
}
.form-row:not(:last-child) {
  margin-bottom: 10px;
}
.form-row__input {
  display: block;
  max-width: 470px;
  width: 100%;
  height: 40px;
  border: 1px solid rgba(33, 33, 33, 0.2);
  border-radius: 4px;
  padding: 12px 41px;
  outline: none;
  color: var(--input-color);
}
.form-row__input.form-story {
  min-height: 120px;
  width: 448px;
  -webkit-transform: auto;
  transform: auto;
  padding: 16px 12px;
  resize: none;
  width: 100%;
}
.form-row__input::-webkit-input-placeholder {
  color: var(--secondary-text-color);
}
.form-row__input::-moz-placeholder {
  color: var(--secondary-text-color);
}
.form-row__input:-ms-input-placeholder {
  color: var(--secondary-text-color);
}
.form-row__input::-ms-input-placeholder {
  color: var(--secondary-text-color);
}
.form-row__input::placeholder {
  color: var(--secondary-text-color);
}
.form-row__input:focus {
  border: 1px solid var(--accent-color);
}
.form-row__input .icon {
  padding-right: 12px;
}
.form-row__input:focus + svg {
  fill: var(--accent-color);
}
.form-row__svg {
  position: absolute;
  top: 20px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 12px;
  -webkit-transition: fill 0.3s ease-in-out;
  transition: fill 0.3s ease-in-out;
}
.privacy {
  font-size: 14px;
  line-height: 1.71px;
  letter-spacing: 0.03em;
  color: var(--secondary-text-color);
  margin-top: 20px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .privacy {
    font-size: 12px;
    line-height: 1.66px;
  }
}
.privacy__link {
  color: var(--logo-black);
}
.privacy__label {
  position: relative;
}
.privacy__input {
  display: none;
}
.privacy__label::before {
  cursor: pointer;
  display: inline-block;
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 7px;
  border: 1px solid var(--bgr-darck-color);
  border-radius: 2px;
}
.privacy input:checked + label::before {
  background-color: var(--accent-color);
  background-image: url(../images/icons/Vector.svg);
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid var(--accent-color);
  color: var(--primary-white-color);
}
.socials {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 30px;
}
.socials__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  fill: var(--icon-color);
  -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.socials__link:hover,
.socials__link:focus {
  background-color: var(--accent-color);
  fill: var(--primary-white-color);
}
.social-icons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; /* ✅ дозволяємо перенос у два рядки */
  margin-top: 67px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;   /* 🟢 було 56px */
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--main-after-color) 0%,
    var(--accent-color) 100%
  );
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  background: linear-gradient(var(--accent-color) 0%, var(--main-after-color) 100%);
}

.icon--gallery {
  width: 20px; /* 🟢 було 28px */
  height: 20px;
  color: #000000;
  transition: color 0.3s ease;
}

.social-icon:hover .icon--gallery {
  color: #000000;
}

/* ✅ адаптивність для мобільних */
@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
    gap: 10px;
  }

  .social-icon {
    width: 34px;  /* 🟡 зменшуємо */
    height: 34px;
    border-radius: 40px;
  }

  .icon--gallery {
    width: 16px;
    height: 16px;
  }
}

.social-icons_header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; /* ✅ дозволяємо перенос у два рядки */
}

.social-icon_header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* ✅ адаптивність для мобільних */
@media (max-width: 768px) {
  .social-icons_header {
    width: 34px;
        height: 34px;
        flex-direction: column;
        padding-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        align-content: center;
  }
}

@media (max-width: 768px) {
  .header__conteiner {
        flex-direction: column;
  }
}
@media screen and (min-width: 768px) and (max-width: 1200px) {
  .clients {
    width: 100%;
  }
}
@media screen and (min-width: 1200px) {
  .clients {
    width: 100%;
  }
}
.clients-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 30px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
@media screen and (min-width: 768px) and (max-width: 1200px) {
  .clients-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 30px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}
.clients-row .clients-row .conteiner {
  padding: 0;
}
@media screen and (min-width: 768px) and (max-width: 1200px) {
  .clients-row__conteiner {
    max-width: 768px;
    max-width: 100%;
  }
}
@media screen and (min-width: 1200px) {
  .clients-row__conteiner {
    max-width: 1600px;
    max-width: 100%;
  }
}
.clients-row__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 1px solid var(--icon-color);
  height: 92px;
  width: 170px;
  border-radius: 4px;
  color: var(--icon-color);
  background-color: rgba(0, 0, 0, 0);
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media screen and (min-width: 320px) and (max-width: 768px) {
  .clients-row__link {
    width: 210px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .clients-row__link {
    width: 226px;
  }
}
@media screen and (min-width: 1200px) {
  .clients-row__link {
    width: 170px;
  }
}
.clients-row__link:hover,
.clients-row__link:focus {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.clients-row__icon {
  fill: currentColor;
}
.clients-row__icon:hover {
  fill: var(--accent-color);
}
.footer {
  background-color: var(--bgr-darck-color);
}
@media screen and (max-width: 767px) {
  .footer-section {
    padding: 60px 15px;
  }
}
@media screen and (min-width: 1200px) {
  .footer-section {
    padding: 60px 0 60px 0;
  }
}
@media screen and (min-width: 320px) and (max-width: 768px) {
  .footer__conteiner {
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 70px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1200px) {
  .footer__conteiner {
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 70px;
    padding: 60px 76px 60px 89px;
  }
}
@media screen and (min-width: 1200px) {
  .footer__conteiner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: inherit;
    flex-wrap: inherit;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 15px;
  }
}
.footer__title {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.1428;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--primary-white-color);
}
@media screen and (max-width: 1200px) {
  .footer__title {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}
@media screen and (min-width: 1200px) {
  .footer__title {
    -webkit-box-pack: none;
    -ms-flex-pack: none;
    justify-content: none;
  }
}
.footer__title-oferta {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.1428;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--primary-white-color);
}
@media screen and (max-width: 1200px) {
  .footer__title-oferta {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}
@media screen and (min-width: 1200px) {
  .footer__title-oferta {
    -webkit-box-pack: none;
    -ms-flex-pack: none;
    justify-content: none;
  }
}
.footer__logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (max-width: 1200px) {
  .footer__logo {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}
.footer__logo span {
  margin-bottom: 20px;
  color: var(--main-after-color);
}
.contacts {
  max-width: 161px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.contacts__adress {
  display: grid;
  gap: 9px;
  align-items: start;
  justify-items: start;
}
.footer-adress__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 231px;
  color: var(--primary-white-color);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.71;
  text-decoration: none;
  font-style: normal;
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media screen and (max-width: 1200px) {
  .footer-adress__link {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: start;
  }
}
.footer-adress__link:hover,
.footer-adress__link:focus {
  color: var(--accent-color);
}
.contacts-info__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: var(--secondary-white-color);
  font-weight: 400;
  line-height: 1.71;
  text-decoration: none;
  font-style: normal;
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media screen and (max-width: 1200px) {
  .contacts-info__link {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}
.contacts-info__link:hover,
.contacts-info__link:focus {
  color: var(--accent-color);
}
@media screen and (min-width: 768px) {
  .footer-social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}
@media screen and (min-width: 1200px) {
  .footer-social {
    margin-left: 0px;
  }
}
.socials__link--footer {
  fill: var(--primary-white-color);
}
.footer-social__icon {
  display: flex
;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin-bottom: 15px;
}
.social-item__link--footer {
  fill: var(--accent-color);
}
.footer-input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
@media screen and (max-width: 1200px) {
  .footer-input {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 570px;
    gap: 12px;
  }
}
@media screen and (min-width: 1200px) {
  .footer-input {
    width: 570px;
    gap: 12px;
  }
}
.footer-input__row {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  max-width: 358px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 15px 0 16px 15px;
  outline: none;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  margin-top: 20px;
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .footer-input__row {
    max-width: 450px;
    max-height: 50px;
    width: 100%;
  }
}
@media screen and (min-width: 1200px) {
  .footer-input__row {
    margin-left: -13px;
  }
}
.footer-input__row__icon {
  position: absolute;
  color: var(--primary-white-color);
}
.form-mailing {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.block-photo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 30px;
}
.block-photo__discription {
  line-height: 1.88;
}
.block-photo__wrap {
  position: relative;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /*overflow: hidden;*/
}
/* Контейнер зображення */
.block-photo__wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* важливо для обрізання при зумі */
  border-radius: 12px; /* можна прибрати, якщо не потрібно */
}

/* Саме зображення */
.block-photo__wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  border-radius: 15px;
}

/* Ефект при наведенні */
.block-photo__wrap:hover img {
  transform: scale(1.06);   /* легкий зум */
  filter: brightness(1.1);  /* трохи підсвічується */
}

/* М’який рух при кліці */
.block-photo__wrap:active img {
  transform: scale(1.03);
  transition: transform 0.2s ease;
}

.block-photo__wrap_ai {
  position: relative;
  display: flex; /* Вирівнюємо дочірні елементи */
  align-items: center; /* Вертикальне центрування */
  justify-content: center; /* Горизонтальне центрування */
  flex-direction: column; /* Елементи вирівнюються вертикально */
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.5s ease;
}

/* Кнопка */

.block-photo__wrap_ai:hover .button-ai {
  opacity: 1; /* Робимо кнопку видимою */
  visibility: visible;
  background-color: #0056b3;
}

/* При hover контейнера */
.block-photo__wrap_ai:hover {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}

.block-photo__wrap_ai:hover .images_ai {
  transform: scale(1.2);
}

.block-photo__filling {
  padding: 20px;
  border: 1px solid #eee;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  flex-direction: column;
  align-content: center;
  align-items: center;
  border-radius: 15px;
}

.block-photo__items {
  position: relative;
  -webkit-transition: -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.block-photo__items:hover,
.block-photo__items:focus {
  -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12),
    0px 4px 4px rgba(0, 0, 0, 0.06), 1px 4px 6px rgba(0, 0, 0, 0.16);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12), 0px 4px 4px rgba(0, 0, 0, 0.06),
    1px 4px 6px rgba(0, 0, 0, 0.16);
}
.block-photo__items:hover.discrip-photo {
  opacity: 1px;
}
.block-photo__link {
  text-decoration: none;
}
.block-photo__link:hover .discrip-photo,
.block-photo__link:focus .discrip-photo {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

/*ai*/
.ai {
  background-color: #f5f4fa;
  /*overflow: hidden;*/
  position: relative;
}
.ai:hover,
.ai:focus {
  display: block;
}
.ai_section {
  display: block;
}

.conteiner_ai {
  max-width: 1950px;
  display: flex;
  align-items: center;
  flex-direction: column;
  opacity: 1; /* Make sure it's initially visible */
  transition: opacity 0.5s;
}
.conteiner_ai.hidden {
  opacity: 0;
  pointer-events: none; /* Prevent clicks on the hidden element */
  display: none; /* Hide the element after the transition */
}

.images_ai {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.button-ai {
  position: absolute; /* Початково над зображенням */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Центрування кнопки */
  padding: 10px 20px;
  font-size: 1rem;
  background-color: var(--primary-white-color);
  color: var(--header-bg-color);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.5s ease;
  opacity: 0; /* Ховаємо кнопку у звичайному стані */
  visibility: hidden;
  z-index: 2; /* Зберігаємо видимість поверх зображення */
  width: 350px;
}
.block-photo__ai____list {
  position: absolute;
  right: 500px;
  top: 200px;
}
block-photo__ai____list:hover,
block-photo__ai____list:focus {
  position: static;
  -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12),
    0px 4px 4px rgba(0, 0, 0, 0.06), 1px 4px 6px rgba(0, 0, 0, 0.16);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12), 0px 4px 4px rgba(0, 0, 0, 0.06),
    1px 4px 6px rgba(0, 0, 0, 0.16);
}
.block-photo__wrap_ai:hover .button-ai {
  opacity: 1; /* Робимо кнопку видимою */
  visibility: visible;
  background-color: var(--primary-white-color);
}
.conteiner_ai {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  align-items: center;
  align-content: center;
}
/* При hover контейнера */
/*.hidden {
  display: none;
}*/
.block-photo__wrap_ai:hover {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}

.block-photo__wrap_ai:hover .images_ai {
  transform: scale(1.2);
}
.section-develop_game_ai {
  background-color: #f5f4fa;
}
/*.block-wrap {
  display: none;
}*/

.header__conteiner .container_ai {
  background-color: #f5f4fa;
}
.block-photo__ai__list {
  display: flex;
  justify-content: space-around;
  position: relative;
}
.block-photo__ai__items {
  position: relative;
  -webkit-transition: -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
/*.block-photo__ai__items:hover,
.block-photo__ai__items:focus {
  -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12),
    0px 4px 4px rgba(0, 0, 0, 0.06), 1px 4px 6px rgba(0, 0, 0, 0.16);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12), 0px 4px 4px rgba(0, 0, 0, 0.06),
    1px 4px 6px rgba(0, 0, 0, 0.16);
}*/
.block-photo__ai__items:hover.discrip-photo {
  opacity: 1px;
}
.block-photo__ai__link {
  text-decoration: none;
}
.block-photo__ai__link:hover .discrip-photo,
.block-photo__ai__link:focus .discrip-photo {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.discrip-photo {
  /*position: absolute;*/
  /* top: 0;*/
  /* left: 0;*/
  /* -webkit-transform: translateY(100%);*/
  /* transform: translateY(100%);*/
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 18px;
  line-height: 1.56;
  letter-spacing: 0.03em;
  background-color: rgb(10 16 46);
  color: var(--primary-white-color);
  padding: 63px 24px;
  overflow: auto;
  -webkit-transition: background-color,
    -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: background-color,
    -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: background-color, transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: background-color, transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.filter {
  display: flex;
  flex-wrap: wrap;             /* дозволяє перенос на новий ряд */
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}
.items {
  list-style: none;
}
.items a {
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .filter {
    align-items: center;
  }
}
@media screen and (max-width: 480px) {
  .filter {
    align-items: center;
    flex-direction: column;
  }
}
.sticky-btn {
  position: sticky;
  top: 10px; /* Відступ від верхнього краю екрану */
  z-index: 100; /* Забезпечує, що кнопка буде на передньому плані */
}

.filter__btn {
  width: 160px;                /* однакова ширина */
  height: 44px;                /* однакова висота */
  border-radius: 10px;         /* округлі кнопки */
  background-color: transparent;
  color: #000000;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;        /* прибирає фокусну обводку */
  border: none;         /* якщо не потрібна рамка */
  box-shadow: none;
}
@media screen and (min-width: 368px) {
  .filter {
    min-width: 135px;
    min-height: 28px;
  }
}
.filter__btn:hover {
  transform: scale(1.05) translateY(-4px);
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--main-after-color) 100%
  );
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ✨ Клік */
.filter__btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
button {
  color: var(--primary-text-color);
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--main-after-color) 100%
  );
}

.order-button {
  height: 70px;
  margin-top: 20px;
  width: 216px;
  font-style: normal;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  min-width: 216px;
  border-radius: 6px;
  border: none;
  color: var(--bgr-darck-color);
  background: linear-gradient(
    135deg,
    var(--main-after-color) 0%,
    var(--accent-color) 100%
  );
  font-weight: 700;
  font-size: 15px;
  line-height: 2.4;
  text-align: center;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
}

/* 🔥 Ефект наведення */
.order-button:hover {
  transform: scale(1.05) translateY(-4px);
  background: linear-gradient(
    135deg,
    var(--main-after-color) 0%,
    var(--accent-color) 100%
  );
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ✨ Клік */
.order-button:active {
  transform: scale(0.97);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.button-prymary {
  min-width: 73px;
  display: inline-block;
  border-radius: 4px;
  padding: 6px 22px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0);
  color: var(--primary-white-color);
  background-color: var(--accent-color);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.62;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  position: absolute;
}
.send-btn {
  min-width: 216px;
  min-height: 50px;
  display: inline-block;
  border-radius: 4px;
  padding: 6px 22px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0);
  color: var(--logo-black);
  background-color: var(--accent-color);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.88;
  letter-spacing: 0.06em;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  position: relative;
  margin-top: 30px;
  margin-left: 118px;
}
@media screen and (min-width: 768px) {
  .send-btn {
    min-width: 200px;
    min-height: 50px;
  }
}
@media screen and (max-width: 480px) {
    .send-btn {
        min-width: 200px;
        min-height: 50px;
        margin-top: 17px;
        margin-left: 37px;
    }
}
@media screen and (min-width: 768px) {
  .privacy__link {
    display: grid;
    margin-top: 15px;
    min-width: 200px;
  }
}


.send-btn:hover,
.send-btn:focus {
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12),
    0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14),
    0px 2px 1px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.footer-input__btn {
  width: 200px;
  height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 4px;
  padding: 10px 28px;
  text-align: end;
  gap: 5px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0);
  color: var(--bgr-darck-color);
  background-color: var(--accent-color);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.88;
  letter-spacing: 0.06em;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  position: relative;
  margin-top: 60px;
}
.footer-input__btn:hover,
.footer-input__btn:focus {
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12),
    0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14),
    0px 2px 1px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.btn-menu {
  position: absolute;
  top: 0;
  right: 0;
  margin: 18px 25px 23px 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  z-index: 1000; /* щоб бургер був над хедером */
}
@media (min-width: 767px) {
  .btn-menu { display: none; }
}
@media (min-width: 480px) and (max-width: 1024px) {
  .linkcurrent::after { display: none; }
}
.menu-toggle:hover,
.menu-toggle:focus {
  background-color: rgba(0, 0, 0, 0.1);
}
.menu-container {
  position: fixed;
  inset: 0;                 /* top/right/bottom/left: 0 */
  padding: 48px 40px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  transform: translateX(100%);
  transition: transform 500ms cubic-bezier(0.075,0.82,0.165,1);
  overflow-y: auto;
}
.menu-container.is-open {
  transform: translateX(0);
}
.menu-open .btn-menu { display: none; }
.menu-container .menu-toggle {
  position: absolute;
  top: 16px;
  color: var(--primary-white-color);
}
.mobile-menu { margin: 0; padding: 0; list-style: none; }
.mobile-menu__cont {
  padding: 30px;
  margin: 0;
  list-style: none;
}
.mobile-menu__link {
  display: block;
  padding-bottom: 32px;
  font-size: 32px;
  line-height: 1.175;
  color: var(--primary-text-color);
  text-decoration: none;
  transition: color .25s ease;
}
.mobile-menu__link:hover,
.mobile-menu__link:focus {
  color: var(--accent-color);
}
.mobile-menu__mail {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.166;
  letter-spacing: 0.02em;
  color: var(--secondary-text-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
  font-style: normal;
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: 64px;
}
@media screen and (max-width: 767px) {
  .mobile-menu__item {
    display: block;
  }
}
.mobile-menu__mail:hover,
.mobile-menu__mail:focus {
  color: var(--accent-color);
}
.mobile-menu__phone {
  font-weight: 500;
  font-size: 36px;
  line-height: 1.176;
  letter-spacing: 0.02em;
  color: var(--secondary-text-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
  font-style: normal;
  margin-bottom: 32px;
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu__phone:hover,
.mobile-menu__phone:focus {
  color: var(--accent-color);
}
.mobile-menu__sosials {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-direction: column;
}
.sosials {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-decoration: none;
  gap: 20px;
}
.sosials:last-child {
  border-right: 0;
}
.sosials__text {
  font-size: 30px;
  line-height: 1.2222;
  color: var(--logo-black);
  margin-right: 20px;
  text-decoration: none;
}
.mobile-menu .js-close-menu .icon-close {
  display: none;
}
.mobile-menu .is-open .icon-close {
  display: block;
}
.mobile-menu .js-open-menu.icon-burger {
  display: none;
} /*# sourceMappingURL=main.min.css.map */
/* === NEW PAGE CUSTOM STYLES (safe to add) === */

/* Utility */
.gradient-text {
  background: linear-gradient(to right, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero внутрішні елементи (НЕ .hero!) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f3e8ff;
  color: #7c3aed;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

/* Stats inside hero */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}
.stat {
  text-align: center;
}
.stat-number {
  font-size: 24px;
  font-weight: bold;
}
.stat-label {
  font-size: 14px;
  color: #6b7280;
}

/* About section */
.about-section {
  padding: 80px 0;
  background: var(--primary-white-color);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}
.feature-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

/* Modules */
.modules-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}
.modules-grid {
  display: grid;
  gap: 32px;
}
.module-card {
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.module-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.module-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.module-number {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
}
.module-info h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
}
.module-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #6b7280;
}
.module-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.topic {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  font-size: 14px;
  color: #374151;
}
.topic:hover {
  background: #f9fafb;
}

/* Final project */
.final-project {
  text-align: center;
  margin-top: 48px;
}
.final-project span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to right, #f3e8ff, #fce7f3);
  color: #7c3aed;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 600;
}

/* Testimonials */
.testimonial {
  background: linear-gradient(to right, #8b5cf6, #ec4899);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  color: white;
}
.quote {
  font-size: 96px;
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}
.testimonial blockquote {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  font-weight: 600;
}

/* Discount Banner */
.discount-banner {
  text-align: center;
}
.discount-banner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  color: #166534;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 600;
}

/* сховано за замовчуванням */
.menu-container {              /* ← єдине місце, де ховаємо */
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 10000;
  padding: 20px;
  overflow: auto;
}

/* показати, коли додано клас */
.menu-container.is-open {
  display: block;
}

/* щоб бургер був клікабельний поверх усього */
.btn-menu { z-index: 10001; cursor: pointer; }
.btn-menu svg, .btn-menu svg use { pointer-events: none; }

/* хрестик */
.menu-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 0;
  cursor: pointer;
  width: auto;
  height: auto;
  padding: 0;
}

/* ВАЖЛИВО: видали або закоментуй, якщо було раніше */
/* body.menu-open .btn-menu { display: none }  <-- НЕ потрібно */
/* меню за замовчуванням сховане */
/* приховане меню */
.menu-container {
  position: fixed;
  top: 0;
  right: 0;
  height: 45vh;
  background: #fff;
  box-shadow: -5px 0 20px rgba(0,0,0,.2);
  transform: translateX(100%);     /* заховане */
  transition: transform 0.4s ease; /* плавна анімація */
  z-index: 10000;
  overflow-y: auto;
}

/* відкрите меню */
.menu-container.is-open {
  transform: translateX(0);
}
