/*
Theme Name: Rma
*/

@font-face {
  font-weight: 400;
  font-family: "Roboto";
  src: url("./assets/fonts/static/Roboto-Regular.ttf");
}

@font-face {
  font-weight: 700;
  font-family: "Roboto";
  src: url("./assets/fonts/static/Roboto-Bold.ttf");
}

body {
  color: #484848;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  width: 100vw;
  margin: 0;
}

.section {
  width: 100%;
  margin-bottom: 40px;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1170px;
  padding: 0 25px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: #0d9daa;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

.btn {
  min-width: 200px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d9daa;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 40px;
}

.title {
  font-size: 28px;
  font-weight: 700;
}

.header {
  height: 10vh;
  max-height: 80px;
}

.header .container {
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header__logo {
  width: 20%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header__logo img {
  width: 75%;
  max-width: 175px;
  z-index: 2;
}

.header__burger {
  padding: 0;
  width: 42px;
}

.burger__img {
  width: 100%;
}

.logo__ellipse {
  background: #0d9daa;
  position: absolute;
  width: 20vw;
  height: 20vw;
  max-width: 275px;
  max-height: 275px;
  border-radius: 50%;
  top: -11vw;
  left: -3.5vw;
  z-index: 2;
}

.socials__item {
  display: flex;
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.header__socials {
  display: flex;
}

.header .socials__item img {
  width: 100%;
}

.nav__link {
  font-size: 20px;
  padding: 10px 20px;
  margin-right: 5px;
  border-radius: 40px;
  transition: 0.7s;
  border: 1px solid #fff;
}

.nav__link:hover {
  border: 1px solid #0d9daa;
}

.hero {
  position: relative;
  margin-top: 40px;
}

.hero .container {
  height: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.hero .content {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 5;
}

.hero__title {
  margin-bottom: 30px;
  margin-top: 0;
}

.hero__text {
  margin-bottom: 90px;
  margin-top: 0;
  z-index: 2;
}

.map-container {
  position: relative;
  width: 100%;
  height: 700px;
  margin: 20px auto;
  overflow: hidden;
}

.map-container-mobile {
  display: none;
}

@media screen and (max-width: 480px) {
  .map-container {
    display: none;
  }

  .map-container-mobile {
    display: initial;
    position: relative;
    width: 100%;
    height: 260px;
    margin: 20px auto;
    overflow: hidden;
  }
}

.country-link {
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  background-color: #dadcdb;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.country-link.highlighted {
  background-color: red;
  width: 14px;
  height: 14px;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.7);
  z-index: 5;
}

.country-link:hover {
  background-color: red;
  width: 14px;
  height: 14px;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.7);
  z-index: 10;
}

.country-link::after {
  content: attr(data-country);
  position: absolute;
  top: 0;
  left: 100%;
  transform: translate(-49%, 45%);
  font-weight: bold;
  /* background-color: rgba(0, 0, 0, 0.9); */
  color: red;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

@media screen and (max-width: 450px) {
  .country-link {
    width: 5px;
    height: 5px;
  }

  .country-link.highlighted {
    width: 5px;
    height: 5px;
  }

  .country-link:hover {
    width: 5px;
    height: 5px;
  }

  .country-link::after {
    transform: translate(-49%, 30%);
  }
}

.country-link:hover::after,
.country-link.highlighted::after {
  opacity: 1;
}

.hero__img {
  width: 100%;
  /* padding: 0 25px; */
}

.hero__flags {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-bottom: 15px;
}

.hero__btn {
  z-index: 2;
}

.hero__bg {
  position: absolute;
  left: 0;
  width: 30%;
  top: 51%;
}

.flags__item {
  width: 5%;
}

.flags__img {
  width: 100%;
  border-radius: 10px;
}

.about .container {
  justify-content: space-between;
}

.about__img-wrap {
  width: 45%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__img {
  width: 100%;
  z-index: 2;
  border-radius: 15px;
}

.about__bg {
  position: absolute;
  right: -15%;
  bottom: -15%;
}

.about__content {
  width: 45%;
  z-index: 2;
}

.about__content p {
  text-align: justify;
}

.about .title,
.license .title,
.reviews .title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 32px;
  margin: auto;
}

.license .title {
  margin: auto auto auto 20px;
}

.plus {
  position: relative;
  background: url("./assets/bg.png") center center no-repeat;
}

.plus__bg {
  position: absolute;
  width: 30%;
  right: 0;
  bottom: 0;
}

.plus .title {
  min-height: 242px;
  margin-bottom: 20px;
  margin-top: 0;
  display: flex;
  align-items: center;
}

.cities .title {
  min-height: 274px;
}

.plus .container {
  flex-direction: column;
  position: relative;
}

.plus__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.plus__col {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 33%;
}

.plus__col:first-child {
  align-self: start;
}

.plus__list .list__item {
  width: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #dcdcdc;
  background: #fff;
  border-radius: 5%;
  padding: 20px;
  margin-bottom: 20px;
  z-index: 2;
  color: #484848;
}

.plus .plus__list .list__item {
  min-height: 200px;
  transition: 0.7s;
}

.plus .plus__list .list__item:hover {
  background: #0d9daa;
  color: #fff;
}

.plus__list .item__img {
  height: 50px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  overflow: hidden;
}

.plus__list h3 {
  margin: 15px 0;
}

.plus__list .item__text {
  text-align: center;
  margin: 0;
}

.cities .container {
  flex-direction: column;
}

.cities__list {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cities__list .list__item {
  width: 23%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid #9c9c9c;
  border-radius: 40px;
  padding: 15px 5px;
}

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

.license {
  position: relative;
}

.license .container {
  justify-content: space-between;
}

.license__bg {
  position: absolute;
  right: 0;
  width: 30%;
  bottom: 0;
}

.license__slider {
  width: 35%;
  margin-left: initial;
  margin-right: initial;
  overflow: hidden;
}

.license__slider .swiper-wrapper {
  display: flex;
  width: max-content;
  /* Чтобы слайды не переносились */
  animation: scroll 20s linear infinite;
  /* Плавная анимация */
}

.license__slider:hover .swiper-wrapper {
  animation-play-state: paused;
  /* Пауза при наведении */
}

.license__slider .swiper-slide {
  width: 100%;
  /* Фиксированная ширина слайда */
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: #eee;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-68%);
    /* Сдвигаем на ширину всех слайдов */
  }
}

.license__img {
  width: 100%;
  display: flex;
  overflow: hidden;
}

.license__content {
  width: 57%;
  z-index: 2;
}

.license__content p {
  text-align: justify;
}

.reviews .container {
  justify-content: space-between;
}

.reviews__content {
  width: 45%;
}

.reviews__content p {
  text-align: justify;
}

.reviews__slider {
  width: 45%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: initial;
}

.reviews__slider .swiper-button-next {
  right: 0;
  z-index: -1;
}

.reviews__arrow {
  width: 100%;
}

.reviews .swiper-slide {
  display: flex;
  alignိitems: center;
  justify-content: flex-end;
}

.reviews .swiper-button-next:after {
  display: none;
}

.reviews__img {
  width: 100%;
}

.callback {
  width: 50%;
  min-height: 200px;
  display: flex;
  justify-content: space-between;
  background: rgba(13, 157, 170, 0.2);
  margin: 0 auto;
  margin-bottom: 30px;
  border-radius: 40px;
}

.callback__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60%;
}

.callback__right {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d9daa;
  border-radius: 40px;
  width: 40%;
}

.callback__btn {
  background: #fff;
  color: #484848;
}

.footer {
  overflow: hidden;
  background: #0d9daa;
  padding-top: 20px;
}

.footer .container {
  flex-direction: column;
}

.footer__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__row:nth-child(2) {
  margin-bottom: 0;
}

.footer .logo__img {
  height: 42px;
  margin-bottom: 17px;
}

.footer__btn {
  color: #0d9daa;
  background: #fff;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.footer__link {
  color: #fff;
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 10px;
}

.footer__socials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.footer__socials img {
  transition: 0.5s;
  filter: grayscale(100%);
  width: 33px;
  margin-right: 10px;
}

.footer__socials img:hover {
  transition: 0.5s;
  filter: grayscale(0);
}

.footer__btns {
  display: flex;
  margin-bottom: 20px;
}

.footer__disc {
  font-size: 10px;
  width: 100%;
  margin-right: auto;
  color: #fff;
  text-align: justify;
  padding-top: 10px;
  border-top: 1px solid #dcdcdc4f;
}

.footer__contacts {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer__text {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 14px;
  color: #fff;
  width: 100%;
}

.footer__ellipse {
  background: #0d9daa;
  position: absolute;
  width: 24vw;
  height: 24vw;
  border-radius: 50%;
  bottom: -16vw;
}

.contacts__link {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  z-index: 2;
  color: #fff;
  font-size: 14px;
}

.contacts__link--margin {
  margin-bottom: 10px;
}

.footer__contacts .link__img {
  margin-right: 10px;
  width: 14px;
}

.footer__text--mobile {
  display: none;
}

#circle-2 {
  display: none;
}

/* Контейнер окружности */
.circle-container {
  position: absolute;
  right: 0;
  width: 350px;
  /* Увеличил размер контейнера */
  height: 350px;
  border-radius: 50%;
  animation: rotate 15s linear infinite;
}

/* Пауза при наведении на окружность */
.circle-container:hover {
  animation-play-state: paused;
}

/* Стили для круглых блоков-ссылок */
.block {
  position: absolute;
  width: 100px;
  /* Увеличил размер блоков */
  height: 100px;
  border-radius: 50%;
  background-color: #0d9daa;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: transform 0.3s, background-color 0.3s;
  padding: 10px;
  /* Добавил padding для всего блока */
}

/* Эффекты при наведении на блок */
.block:hover {
  background-color: #0b8b96;
  transform: scale(1.1);
}

/* Содержимое блоков (текст) */
.block-content {
  transform: rotate(0deg);
  text-align: center;
  animation: counter-rotate 15s linear infinite;
  padding: 0px;
  /* Увеличил внутренний отступ */
  box-sizing: border-box;
  /* Чтобы padding не влиял на размеры */
  width: 100%;
  /* Занимает всю ширину блока */
}

/* Анимация вращения окружности */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Анимация компенсации вращения для текста */
@keyframes counter-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@media screen and (max-width: 450px) {
  body {
    font-size: 14px;
  }

  .section {
    margin-bottom: 20px;
  }

  .title {
    font-size: 32px;
  }

  .header__burger {
    width: 24px;
  }

  .logo__ellipse {
    width: 42vw;
    height: 42vw;
    top: -30vw;
    left: -11vw;
  }

  .header__logo {
    width: 32%;
  }

  .header__socials {
    display: flex;
  }

  .header__socials .item__img {
    width: 100%;
  }

  .header__nav {
    display: none;
  }

  .socials__item {
    width: 30px;
    height: 30px;
  }

  .hero {
    height: initial;
    margin-top: 20px;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero__flags {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .hero__img {
    width: 90%;
    order: -1;
    margin-bottom: 0;
  }

  .hero .content {
    width: 100%;
    align-items: center;
  }

  .hero .title {
    text-align: center;
    font-size: 26px;
  }

  .hero__text {
    margin-bottom: 20px;
  }

  .hero__bg {
    top: initial;
    bottom: 12%;
  }

  .flags__item {
    width: 10%;
  }

  .flags__item--desktop {
    display: none;
  }

  .about {
    overflow-x: hidden;
  }

  .about .container {
    flex-direction: column;
  }

  .about__img-wrap {
    width: 100%;
  }

  .about__content {
    width: 100%;
  }

  .about__bg {
    right: -10%;
    bottom: -15%;
    width: 30%;
  }

  .plus {
    margin-bottom: 0;
  }

  .plus__list {
    flex-wrap: wrap;
  }

  .plus .title {
    transform: translate(0);
    text-align: center;
    align-self: center;
    margin-bottom: 20px;
    min-height: initial;
  }

  .plus__col {
    width: 100%;
  }

  .license .container {
    flex-direction: column;
  }

  .license__slider {
    width: 80%;
    margin-left: 0;
  }

  .license__content {
    width: 100%;
  }

  .cities__list {
    flex-wrap: wrap;
  }

  .cities__list .list__item {
    width: 43%;
    margin-bottom: 20px;
  }

  .cities__list .item__img {
    width: 50%;
  }

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

  .cities__list .item__text {
    display: none;
  }

  .reviews .container {
    flex-direction: column;
  }

  .reviews__content {
    width: 100%;
  }

  .reviews__slider {
    width: 80%;
    order: -1;
  }

  .reviews__img {
    width: 100%;
  }

  .reviews__slider .glide__arrows {
    width: 140%;
  }

  .footer .btn {
    width: 100%;
    min-width: initial;
  }

  .footer__row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer__col--50 {
    width: 48%;
    align-items: initial;
  }

  .footer__col--100 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer__col--center {
    width: 100%;
    justify-content: center;
    align-items: center;
    justify-content: center;
  }

  .footer .logo__img {
    height: 75px;
    margin-bottom: 0;
  }

  .footer__logo {
    margin-bottom: 0;
  }

  .footer__btns {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
  }

  .footer__btn:last-child {
    margin: 20px 0;
  }

  .footer__text {
    margin: 0;
    margin-bottom: 20px;
    width: 100%;
  }

  .footer__text--desktop {
    display: none;
  }

  .footer__text--mobile {
    display: initial;
    text-align: center;
    font-size: 13px;
  }

  .footer__socials img {
    margin: 0 5px;
  }

  .contacts__link {
    font-size: 20px;
  }

  .footer__contacts .link__img {
    width: 20px;
  }

  .footer__links {
    margin: 0 0 20px;
    width: 100%;
    align-items: flex-start;
  }

  .footer__disc {
    margin: 0;
    width: 100%;
    margin-bottom: 65px;
    text-align: justify;
  }

  .footer__contacts {
    width: initial;
    margin-bottom: 25px;
  }

  .footer__ellipse {
    width: 147vw;
    height: 100vw;
    border-radius: 50%;
    bottom: -75vw;
  }

  .about .title,
  .license .title,
  .reviews .title {
    order: -1;
    margin: 0 0 20px 0;
    text-align: center;
    writing-mode: initial;
    transform: rotate(0);
  }

  .map-container {
    width: 100%;
    height: 165px;
  }

  #circle {
    display: none;
  }

  #circle-2 {
    display: initial;
  }

  #circle-2 {
    width: 175px;
    height: 175px;
    right: 10vw;
  }

  #circle-2 .block {
    width: 50px;
    height: 50px;
    font-size: 10px;
  }
}