/**
 * Theme Name:  mycountrydream
 

 */
* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

h3 {
  margin-top: 0;
}

ul {
  list-style: none;
  padding-left: 0;
}

p {
  margin: 0;
}

.col {
  width: 50%;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

.flex-columns {
  display: flex;
  gap: 20px;
}

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

@media (max-width: 550px) {
  .flex-columns {
    flex-direction: column;
  }
}

.header-container {
  display: flex;
  align-items: center;
}

.nav {
  margin-left: auto;
  display: flex;
}

.nav li {
  margin-right: 30px;
}

.menu-main-menu-container {
  display: flex;
  margin-left: auto;
}

.menu-main-menu-container a {
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.menu-main-menu-container a:hover {
  color: #fbff1f;
}

.nav .submenu-icon {
  display: flex;
  font-size: 0.7em;
  margin-left: 5px;
}

.nav .sub-menu {
  display: none;
  position: absolute;
  background: transparent;
  padding: 10px 0;
  border-radius: 5px;
  list-style: none;
  z-index: 999;
}

.nav .sub-menu {
  backdrop-filter: blur(10px);
  background: rgba(130, 130, 130, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav .sub-menu .current_page_item a {
  color: #f9ff16;
}

.nav .sub-menu li {
  margin-right: 0;
}

/* Батьківський елемент має відносне позиціонування */
.nav li.menu-item-has-children {
  position: relative;
}

/* Показувати підменю при ховері */
.nav li.menu-item-has-children:hover > .sub-menu {
  display: block;
}

/* Стилі для посилань у підменю */
.nav .sub-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

/* Стилі при наведенні */
.nav .sub-menu li a:hover {
  color: #f9ff16;
}

.footer .submenu-icon {
  display: none;
}

.footer .sub-menu {
  margin-top: 5px;
  margin-bottom: 0;
}

.header-wrapper {
  padding: 10px;
  background: linear-gradient(
    62.18deg,
    #5c1cb2 -75.84%,
    #7118b4 -26.46%,
    #7517b4 4.12%,
    #a90fb9 45.15%,
    #ff00c1 95.08%,
    #fe15ad 135.29%,
    #f4a02f 168.85%,
    #f4a32c 204.46%,
    #f4a52a 229.04%,
    #fa4d7b 254.07%,
    #f4ac24 472.87%
  );
}

.nav ul {
  margin: 0;
  list-style-type: none;
  display: flex;
}

.nav ul a {
  color: #fff;
  padding: 0 5px;
}

.nav .current_page_item a {
  color: #fbff1f;
}

.overlay {
  display: none;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  transition: all 0.3s ease;
}

.overlay.is-active {
  display: block;
}

.header-menu {
  background: #fff;
  color: #2f327d;
  transform: translateX(100%);
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  height: 100vh;
  overflow: hidden;
  padding: 10px 0 30px;
  max-width: 350px;
  border-left: 1px solid #ccc;
  background: linear-gradient(
    135deg,
    #fdf0ff 0%,
    #fce5fa 30%,
    #f8d4f2 60%,
    #fef0d6 100%
  );
}

.header__mobile-button {
  margin-top: -10px;
  background-color: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: auto;
}

.header__menu-icon {
  background: #fff;
  display: block;
  width: 26px;
  height: 3px;
  margin-top: 6px;
}

.header-menu.is-active {
  transform: translateX(0);
  display: block;
  z-index: 3000000;
  transition: all 0.3s ease;
}

.header-menu__top {
  display: flex;
}

.header__btn-close {
  padding-top: 25px;
  padding-right: 25px;
  margin-left: auto;
  background-color: transparent;
  cursor: pointer;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-mobile {
  margin-top: 50px;
}

.nav-mobile li {
  text-align: center;
  margin-bottom: 20px;
}

.nav-mobile li a {
  font-size: 30px;
  color: #000;
}

.nav-mobile .current_page_item a {
  color: #2f327d;
  font-weight: 700;
}

@media (max-width: 991px) {
  .nav {
    display: none;
  }
  .header-wrapper {
    padding: 10px 0;
  }

  .header-img {
    margin-left: auto;
    margin-right: 20px;
  }
}

@media (min-width: 992px) {
  .header__mobile-button {
    display: none;
  }
}

@media (max-width: 600px) {
  .header-img {
    display: none;
  }
}

body.home {
  background-image: linear-gradient(
    to right bottom,
    rgba(224, 60, 98, 0.1),
    rgba(255, 180, 120, 0.3)
  );
}

.section-title {
  position: relative;
  text-transform: uppercase;
  font-size: 28px;
  font-weight: 700;
  color: #2f327d;
  margin-bottom: 25px;
  margin-top: 0;
}

.section-title span {
  color: #f48c06;
}

.subtitle {
  color: #a262d5;
  font-size: 18px;
  text-align: center;
  font-weight: 600;
}

.about-hero {
  margin-top: 0;
  position: relative;
  height: 33.5vw;
  overflow: hidden;
  margin-bottom: 0;
}

.about-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 1;
}

.about-hero__arrow {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.7));
}

.about-hero__arrow span {
  font-size: 1.3rem;
}

@media (max-width: 500px) {
  .about-hero__arrow span {
    display: none;
  }
  .about-hero {
    height: 60vw;
  }
}

.about-hero__arrow:hover {
  color: #ffcc00;
  transform: translateX(-50%) translateY(-5px);
}

.about-title::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -10px;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  background-color: #f4b767;
}

.text-center {
  text-align: center;
}

.divider {
  background: linear-gradient(
    270deg,
    #5c1cb2 -75.84%,
    #7118b4 -26.46%,
    #7517b4 4.12%,
    #a90fb9 45.15%,
    #ff00c1 95.08%,
    #fe15ad 135.29%,
    #f4a02f 168.85%,
    #f4a32c 204.46%,
    #f4a52a 229.04%,
    #fa4d7b 254.07%,
    #f4ac24 472.87%
  );
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 30px;
}

.bg-gradient {
  background: linear-gradient(
    62.18deg,
    #5c1cb2 -75.84%,
    #7118b4 -26.46%,
    #7517b4 4.12%,
    #a90fb9 45.15%,
    #ff00c1 95.08%,
    #fe15ad 135.29%,
    #f4a02f 168.85%,
    #f4a32c 204.46%,
    #f4a52a 229.04%,
    #fa4d7b 254.07%,
    #f4ac24 472.87%
  );
}

.gradient-wrapper {
  background-image: url("/wp-content/themes/mycountrydream/images/gradient.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.padding-v50 {
  padding: 50px;
}

.about {
  margin-top: 0;
  position: relative;
  overflow: hidden;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #fff;
  transition: all 0.5s ease;
}

.about-us {
  height: 700px;
}

.about:hover .main-text {
  box-shadow: 0 0 6px 2px #a7a2a2;
  transform: translateY(-10px);
}

.about-us .main-text {
  box-shadow: 0 0 6px 2px #cf9bbb;
}

.about-us:hover .main-text {
  box-shadow: 0 0 6px 2px #934475;
  transform: scale(1.03);
}

.about-us .main-text {
  background: linear-gradient(to top, rgb(225 180 223 / 50%), transparent);
}

.about:hover {
  cursor: pointer;
}

.about-us:hover {
  cursor: auto;
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.about-image,
.about-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.about-video {
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.about:hover .about-video.ready {
  opacity: 1;
}

.about:hover .about-image.hide {
  opacity: 0;
}

/* секції на головній */
.about-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  padding: 1rem;
}

.about--left .about-wrapper {
  justify-content: flex-start;
}

.about-us.about--left .about-image,
.about-us.about--left .about-video {
  width: 50%;
  height: 650px;
  object-fit: contain;
  right: 20px;
  left: auto;
}

.about-us.about--right .about-image,
.about-us.about--right .about-video {
  width: 50%;
  height: 650px;
  object-fit: contain;
  left: 20px;
  right: auto;
}

@media (max-width: 767px) {
  .about {
    height: auto;
  }
  .about-wrapper {
    padding: 30px 10px;
  }
}

.main-text {
  max-width: 670px;
  background: linear-gradient(to top, rgba(133, 133, 133, 0.5), transparent);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  color: #fff;
  transition: all 0.5s ease;
}

.about-us-main-text {
  max-width: 500px;
  color: #a11688;
}

.main-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
  text-align: left;
  max-width: 550px;
  z-index: 1;
}

.video-title {
  font-size: 3rem;
  color: #fff;
  text-align: center;
  z-index: 1;
}

@media (min-width: 992px) {
  .about-us-main-text .main-description {
    font-size: 1.2rem;
  }
}

.main-description {
  font-size: 1rem;
  line-height: 1.5;
}

.main-description p,
.main-description ul {
  margin-bottom: 10px;
  /* text-shadow: 1px 0px #6c365d; */
}

.main-link {
  margin: 20px auto 0;
  display: inline-flex;
  padding: 14px 40px;
  border-radius: 15px;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
  background-image: linear-gradient(
    to right,
    #ffc481,
    #f9aa66,
    #f38f4f,
    #ed713d,
    #e64f31
  );
  border: none;
  color: #fff;
  box-shadow: 0 4px 0 #c74328, 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.main-link--big {
  padding: 20px 60px;
}

.main-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #c74328, 0 12px 24px rgba(0, 0, 0, 0.25);
}

.main-link:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #c74328, 0 4px 8px rgba(0, 0, 0, 0.15);
}

.relative {
  position: relative;
}

.quiz-section {
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.quiz-section .main-description {
  font-size: 1.1rem;
}

.quiz-section .main-text {
  display: flex;
  flex-direction: column;
  background: linear-gradient(to top, rgb(118 72 131 / 50%), transparent);
  padding: 1.5rem;
}

.video_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.text-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  max-width: 550px;
}

.events {
  padding: 70px 0;
}

.events-list {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-top: 60px;
}

.event {
  display: block;
  width: calc(50% - 50px);
  text-decoration: none;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.event__title {
  color: #2f327d;
  font-size: 45px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 70px;
  margin-top: 0;
}

.event__title img {
  margin-right: 20px;
}

@media (max-width: 767px) {
  .events-list {
    flex-direction: column;
    gap: 40px;
  }

  .event {
    width: 100%;
  }
}

.event:hover {
  box-shadow: 0 0 10px #9b02d1;
  transform: translateY(-5px);
}

.event-title {
  padding: 20px;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background: linear-gradient(
    62.18deg,
    #5c1cb2 -75.84%,
    #7118b4 -26.46%,
    #7517b4 4.12%,
    #a90fb9 45.15%,
    #ff00c1 95.08%,
    #fe15ad 135.29%,
    #f4a02f 168.85%,
    #f4a32c 204.46%,
    #f4a52a 229.04%,
    #fa4d7b 254.07%,
    #f4ac24 472.87%
  );
}

.event-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.event-media__text {
  display: none;
}

.event-media__text p {
  padding: 4px 8px;
  background: #684d8b;
  border-radius: 10px;
}

.event:hover .event-media__text {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  z-index: 12;
}

.event-img,
.event-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  border-radius: 0 0 8px 8px;
}

/* Початковий стан */
.event-img {
  opacity: 1;
  z-index: 2;
}

.event-video {
  opacity: 0;
  z-index: 1;
}

/* При наведенні */
.event:hover .event-img {
  opacity: 0;
}

.event:hover .event-video {
  opacity: 1;
}

/* Автовідтворення відео при наведенні */
.event:hover .event-video {
  animation: playVideo 0s forwards;
}

@keyframes playVideo {
  to {
    /* нічого не змінюється – просто тригер для початку програвання */
  }
}

.school-list p {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #696984;
}

.school-list li {
  position: relative;
  margin-bottom: 5px;
  padding-left: 20px;
  color: #696984;
}

.school-list li:before {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  left: 5px;
  width: 6px;
  height: 6px;
  background-color: #f48c06;
  border-radius: 50%;
}

.about-text,
.quiz-text,
.text {
  position: relative;
  color: #696984;
  font-size: 19px;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.about-text::after {
  content: "";
  position: absolute;
  right: -15px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #f4b767;
}

.about__img img,
.section-img img {
  border-radius: 15px;
  width: 100%;
}

.about__img,
.section-img {
  max-width: 550px;
  position: relative;
  margin-top: 70px;
}

@media (max-width: 767px) {
  .section-img {
    max-width: 100%;
  }
}

.opportunities-wrapper {
  display: flex;
  gap: 50px;
}

.opportunities__img {
  max-width: 550px;
}

.opportunities-list__item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.opportunities-list__text {
  font-size: 18px;
  line-height: 1.6;
}

.opportunities-list__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background-color: #fbfbfb;
  box-shadow: 0 10px 35px rgba(13, 15, 28, 0.1);
  border-radius: 50%;
  margin-right: 30px;
}

.opportunities-list__img {
  width: 20px;
  height: 20px;
}

.quiz__img {
  max-width: 550px;
}

@media (max-width: 767px) {
  .col {
    width: 100%;
  }

  .about__img,
  .opportunities__img,
  .quiz__img {
    margin: 0 auto;
  }
}

@media (max-width: 1000px) {
  .about-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
  }

  .opportunities-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .quiz-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
}

.footer {
  padding-top: 80px;
  background-color: #7517b4;
}

.footer ul li {
  margin-bottom: 7px;
}

.footer ul li:last-child {
  margin-bottom: 0;
}

.footer ul {
  margin-bottom: 30px;
}

.footer-wrapper {
  display: flex;
}

.footer-col {
  width: 25%;
}

.footer a,
.footer h3 {
  color: #fff;
}

.footer a:hover {
  text-decoration: underline;
}

.footer h3 {
  font-size: 20px;
  font-weight: 500;
}

.footer__logos {
  display: flex;
}

.footer__logos-item {
  margin-right: 20px;
}

.footer__menu {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__menu .current_page_item {
  padding-bottom: 2px;
  border-bottom: 2px solid #fff;
}

.footer__contacts a {
  display: flex;
  align-items: center;
}

.footer__contacts a svg {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

.footer__contacts ul li {
  margin-bottom: 10px;
}

.footer-social__link {
  display: flex;
  align-items: center;
}

.footer-social__link svg {
  margin-right: 10px;
}

.footer .footer-social li {
  margin-bottom: 20px;
}

.footer-copy {
  padding: 20px 0;
  font-size: 14px;
  text-align: center;
  color: #d9dbe1;
  border-top: 1px solid #d9dbe1;
}

@media (max-width: 1000px) {
  .footer-wrapper {
    flex-wrap: wrap;
  }

  .footer-col {
    width: 50%;
  }
}

@media (max-width: 650px) {
  .footer-col {
    width: 100%;
  }
}

.page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 70px;
}

.page-title__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 20px;
  background-color: #f9fbff;
  margin: 0 30px;
}

.page-title span {
  color: #2f327d;
  font-size: 45px;
  font-weight: 700;
  text-transform: uppercase;
}

.reviews-wrapper {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto 70px;
  gap: 70px;
}

.reviews-gallery h2 {
  text-align: center;
  margin-bottom: 50px;
}

@media (max-width: 1200px) {
  .reviews-container {
    margin: 0 auto;
  }

  .reviews-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .events-gallery {
    justify-content: center;
  }
}

@media (min-width: 1000px) {
  .reviews-left {
    padding-right: 70px;
  }
}

.reviews-title {
  font-weight: 700;
  font-size: 44px;
  color: #2f327d;
  margin-bottom: 20px;
}

.reviews-text {
  font-size: 18px;
  color: #696984;
  letter-spacing: 0.2px;
  margin-bottom: 30px;
}

.riviews-button {
  display: inline-flex;
  position: relative;
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 17px 110px 17px 70px;
  border: 1px solid #f48c06;
  border-radius: 60px;
  transition: 0.3s;
}

.riviews-button:hover {
  background-color: #f48c06;
}

.riviews-button:hover .riviews-button__text {
  color: #fff;
}

.riviews-button:hover .riviews-button__icon svg path {
  fill: #fff;
}

.riviews-button__text {
  font-size: 17px;
  color: #f48c06;
  letter-spacing: 0.2px;
}

.riviews-button__icon {
  position: absolute;
  right: -1px;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #f48c06;
  width: 60px;
  height: 60px;
}

.form__input {
  width: 100%;
  margin-bottom: 20px;
  background-color: #979797;
  color: #979797;
  padding: 20px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
}

.form__button {
  display: block;
  font-size: 20px;
  font-weight: 500;
  text-transform: none;
  padding: 24px;
  border: none;
  width: 100%;
  cursor: pointer;
  color: #fff;
  background-image: linear-gradient(
    to right bottom,
    #0d8afc,
    #009efb,
    #00aef1,
    #00bbe1,
    #23c5d0
  );
  border-radius: 10px;
  text-transform: uppercase;
  padding: 15px 25px;
  box-shadow: 2px 2px 6px 0 rgba(13, 137, 252, 0.35);
}

.contacts,
.reviews,
.products,
.about-us {
  padding: 70px 0;
}

.contacts-wrapper {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 70px;
}

@media (max-width: 1100px) {
  .contacts-wrapper {
    flex-direction: column;
  }

  .contacts-wrapper iframe {
    width: 100%;
  }
}

.form-title {
  margin-top: 0;
  font-size: 45px;
  color: #333;
  font-weight: 700;
  margin-bottom: 40px;
}

.page-title {
  margin-bottom: 0;
}

.subtitle {
  margin-bottom: 70px;
  margin-top: 10px;
}

.products-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.product-card {
  position: relative;
  padding: 10px 25px 50px 25px;
  width: 395px;
  box-shadow: 0 5px 15px #a262d5;
  border-radius: 25px;
  text-align: center;
	background: #fff;
  margin-bottom: 50px;
  cursor: pointer;
}

.product-card > img {
  max-width: 300px;
  height: 250px;
  object-fit: cover;
  margin-bottom: 10px;
}

.product-card__icon img {
  width: 44px;
  height: 44px;
}

.product-card__class {
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  background-color: #a262d5;
  padding: 8px 20px;
  font-size: 18px;
  border-radius: 15px 0;
  font-weight: 800;
}

.product-card__info {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.product-card__subtitle {
  color: rgba(144, 138, 150, 0.65);
  font-size: 20px;
  margin-bottom: 20px;
}

.product-card__title {
  font-size: 26px;
  font-weight: 700;
  color: #a262d5;
}

.product-card__author {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.product-card__author::before {
  content: "⬤";
  color: rgba(240, 197, 6, 0.884);
  font-size: 22px;
  padding-right: 15px;
}

.product-card__price {
  color: #41d95d;
  font-size: 40px;
  font-weight: 700;
  text-align: left;
  letter-spacing: -1px;
}

.product-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.product-card__stick-class {
  margin-right: -25px;
  font-weight: 700;
  font-size: 24px;
  background: linear-gradient(
    90deg,
    rgba(255, 97, 6, 0.48) 0%,
    rgba(238, 88, 241, 0.48) 100%
  );
  color: #fff;
  padding: 3px 10px 3px 8px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.product-card__text {
  text-align: left;
  margin-left: 15px;
}

.product-card__sticker {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #5b61eb;
  color: #fff;
  padding: 8px 20px;
  text-align: left;
  font-size: 16px;
  line-height: 1;
  border-radius: 15px 0;
}

.product-top {
  position: relative;
  display: flex;
  border-bottom: 1px solid #bcaec3;
}

.product-top .product-card__img {
  max-width: 500px;
  padding: 20px;
  object-fit: contain;
}

.product {
  border-radius: 25px;
  box-shadow: 0 0 10px #bc92dd;
}

.product-description {
  border-left: 1px solid #bcaec3;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 30px 30px 70px;
}

.product-bottom {
  padding: 70px;
  color: #bcaec3;
  font-size: 30px;
}

.product .product-card__info {
  margin-bottom: 30px;
}

.product .product-card__title {
  font-size: 36px;
}

.product .product-card__icon {
  width: 60px;
  position: relative;
  top: 5px;
}

.product .product-card__price {
  padding-left: 75px;
  font-size: 80px;
}

@media (max-width: 767px) {
  .product-top .product-card__img {
    max-width: 100%;
  }
  .product-bottom {
    padding: 20px;
    font-size: 20px;
  }
  .product .product-card__title {
    font-size: 20px;
  }
  .product-description {
    padding: 20px;
  }
  .product .product-card__auhtor {
    font-size: 22px;
  }
  .product .product-card__icon {
    top: auto;
  }
  .product .product-card__info {
    align-items: center;
  }
  .product .product-card__price {
    font-size: 50px;
  }
}

@media (max-width: 1200px) {
  .product-top {
    flex-direction: column;
    align-items: center;
  }

  .product-description {
    align-items: center;
    border-left: 0;
  }

  .product .product-card__price {
    padding-left: 0;
  }
}

.hero .swiper {
  width: 100%;
  height: 40vw;
}

.hero .swiper-slide {
  position: relative;
}

.hero .swiper img {
  width: 100%;
  height: 100%;
}

.hero .slider-info {
  position: absolute;
  top: 50px;
  max-width: 700px;
}

.hero .slider-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero .slider-title span {
  color: #e5ff4f;
}

.hero .slider-text {
  color: #fff;
  font-size: 24px;
  margin-bottom: 50px;
}

.hero .slider-btn {
  display: inline-flex;
  color: #fff;
  background-image: linear-gradient(
    to right,
    #ffc481,
    #f9aa66,
    #f38f4f,
    #ed713d,
    #e64f31
  );
  border-radius: 80px;
  text-transform: uppercase;
  padding: 20px 40px;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-size: 24px;
  transition: all 0.3s ease-out;
}

.hero .slider-btn:hover {
  transform: translateY(-6px);
}

/* .hero .swiper-button-prev,
.hero .swiper-button-next,
.hero .swiper-scrollbar {
  display: none;
} */

.hero .swiper-button-next:after,
.hero .swiper-button-prev:after {
  color: #fff;
}

.hero .swiper-pagination {
  margin-bottom: 20px;
}

.hero .swiper-pagination-bullet {
  background-color: transparent;
  border: 3px solid #fff;
  width: 24px;
  height: 24px;
  opacity: 1;
}

.hero .swiper-pagination-bullet-active {
  background-color: #fff;
}

@media (max-width: 767px) {
  .hero .swiper {
    height: 40vw;
  }

  .hero .swiper-pagination {
    margin: 0;
  }
  .hero .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border: 1px solid #fff;
  }
}

.swiper-review {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 25px;
}

.reviews-container {
  position: relative;
  max-width: 425px;
  height: 600px;
}

.reviews-right {
  position: relative;
}

.swiper-review img {
  height: 100%;
  width: 100%;
}

.reviews-container .swiper-button-prev,
.reviews-container .swiper-button-next {
  border-radius: 50%;
  background-color: #fff;
  width: 70px;
  height: 70px;
  color: #1ea4ce;
}

.reviews-container .swiper-button-prev:after,
.reviews-container .swiper-button-next:after {
  font-size: 30px;
  font-weight: 700;
}

.swiper-review .swiper-slide {
  position: relative;
}

.reviews-container .swiper-pagination-bullet {
  background-color: transparent;
  border: 3px solid #fff;
  width: 16px;
  height: 16px;
  opacity: 1;
}

.swiper-review .swiper-pagination-bullet-active {
  background-color: #fff;
}

.reviews-container .swiper-button-prev {
  left: -50px;
}

.reviews-container .swiper-button-next {
  right: -50px;
}

.reviews-container .swiper-button-prev.swiper-button-disabled {
  opacity: 1;
}

@media (max-width: 767px) {
  .reviews-container .swiper-button-prev,
  .reviews-container .swiper-button-next {
    background-color: transparent;
    color: #fff;
  }
  .reviews-container .swiper-button-prev {
    left: 0;
  }

  .reviews-container .swiper-button-next {
    right: 0;
  }
}

.callback {
  position: fixed;
  border-radius: 50%;
  right: 2rem;
  bottom: 2rem;
  width: 80px;
  height: 80px;
  z-index: 12;
  transition: all 0.4s ease;
}

.callback-btn {
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  cursor: pointer;
}

.callback:hover {
  transform: scale(1.1);
}

.modal {
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}

.modal-content {
  transform: scale(0.1);
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  max-width: 500px;
  width: 100%;
  background: #fff;
  padding: 40px 20px;
  margin: 0 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.modal-content.show {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  transition: all 0.3s;
}

.modal-close {
  position: absolute;
  opacity: 1;
  top: 25px;
  right: 25px;
  padding: 0;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  transition: all 0.5s ease;
  cursor: pointer;
  z-index: 30;
}

.modal-title {
  font-size: 44px;
  margin-bottom: 5px;
}

.modal-text {
  font-size: 20px;
  margin: 0 auto 30px;
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 767px) {
  .modal-title {
    font-size: 34px;
  }
  .modal-text {
    font-size: 16px;
  }
}

.form-radio {
  margin-bottom: 20px;
  display: block;
}

.modal-input {
  margin-bottom: 20px;
}

.modal-input,
.form-input {
  padding: 15px 12px;
  font-size: 20px;
  color: #979797;
  background: rgba(71, 98, 255, 0.08);
  border: none;
  border-radius: 10px;
  font-family: inherit;
  width: 100%;
}

.modal-button,
.form-button {
  margin: 20px auto 0;
  display: block;
  padding: 20px 55px;
  border-radius: 20px;
  font-size: 26px;
  cursor: pointer;
  background-image: linear-gradient(
    to right,
    #ffc481,
    #f9aa66,
    #f38f4f,
    #ed713d,
    #e64f31
  );
  border: none;
  color: #fff;
}

.form-input {
  margin-bottom: 25px;
  color: #979797;
}

.form-button {
  width: 100%;
}

.form .wpcf7-not-valid-tip {
  position: relative;
  top: -20px;
}

.wpcf7-spinner {
  top: -48px;
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  margin: 0;
}

.last-events {
  padding: 40px 0;
}

.h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #2f327d;
  text-align: center;
}

.content-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  align-items: center;
  gap: 50px;
}

.content-events {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 50px;
}

.content-events:nth-of-type(even) {
  flex-direction: row-reverse;
  justify-content: space-between;
}

.content-events {
	display: flex;
}

.content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.content-left.col {
  flex: 0 0 25%;
}

.content-right.col {
  flex: 1;
}

.content-wrapper:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .content-events {
    flex-direction: column;
  }

  .content-events:nth-of-type(even) {
    flex-direction: column;
  }
}

@media (min-width: 768px) {
  .content-wrapper:nth-child(odd) {
    flex-direction: row-reverse;
  }
}

.col {
  flex: 1 1 50%;
}

.content-text {
  font-size: 1.1rem;
  color: #333;
}

.content-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Адаптивність */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    gap: 25px;
  }

  .col {
    flex: 1 1 100%;
  }
}

.wp-block-columns {
  align-items: stretch; /* вирівнює колонки по висоті */
}

.wp-block-column img {
  height: 100%;
  object-fit: cover; /* або contain, залежно від бажаного ефекту */
  width: 100%;
}

.wp-has-aspect-ratio iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  width: 100%;
}

.events_content {
  color: #696984;
  margin: 0;
  padding-bottom: 70px;
}

.events-gallery {
  padding-top: 70px;
}

.events_content .wp-block-separator {
  height: 2px;
  width: 100%;
  color: #fe15ad;
  margin: 20px 0;
}

.media__text .events-gallery p {
  line-height: 1.6;
}

.events_content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.achievement {
  padding-bottom: 70px;
}

.achievement__image {
  height: 34vw;
  min-height: 200px;
}

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

.achievement__title {
  text-align: center;
  background: linear-gradient(
    62.18deg,
    #5c1cb2 -75.84%,
    #7118b4 -26.46%,
    #7517b4 4.12%,
    #a90fb9 45.15%,
    #ff00c1 95.08%,
    #fe15ad 135.29%,
    #f4a02f 168.85%,
    #f4a32c 204.46%,
    #f4a52a 229.04%,
    #fa4d7b 254.07%,
    #f4ac24 472.87%
  );
  color: white;
  padding: 40px 0;
  font-size: 24px;
  font-style: italic;
}

@media (max-width: 767px) {
  .achievement__title {
    font-size: 18px;
  }
}

.achievement__content {
  padding-top: 50px;
}

.single-product {
  padding: 70px 0;
}

.project-description {
  text-align: center;
  font-size: 24px;
  text-shadow: 1px 1px #000;
}

.project-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.justify-center {
  justify-content: center;
}
