body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background-color: #fcf1ff;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

hr {
    display: block;
    width: 100%;
    height: 1px;
    margin: 40px 0;

    border: 0;
    background-color: #e5e5e5;
}


/* Page */
.page {
    overflow: hidden;
}

/* to the top btn */

/* Стили для кнопки "Наверх" */
#scrollToTopButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #333;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 14px;
  font-size: 18px;

  transition: all 0.3s ease-in-out;
}

#scrollToTopButton:hover {
  background-color: #000;
}

/* Container */
.container {
    width: 100%;
    max-width: 1230px;
    padding: 0 15px;
    margin: 0 auto;
}



/* Intro */
.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100vh;
    min-height: 740px;
    position: relative;

    background: url("../images/new_intro.jpg") center no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

.intro__inner {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;

    text-align: center;
}

.intro__title {
    color: #fff;
    font-size: 150px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}



.intro__suptitle {
    margin-bottom: 20px;

    font-family: 'Kaushan Script', cursive;
    font-size: 72px;
    color: #fff;
}


/* Header */
.header {
    width: 100%;
    padding-top: 14px;
    padding-bottom: 14px;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgb(94,38,126);
    background: linear-gradient(90deg, rgba(94,38,126,1) 0%, rgba(46,18,69,1) 100%);

}

.header.fixed {
    padding: 10px 0;
    background: linear-gradient(90deg, rgba(55,16,65,1) 0%, rgba(140,39,145,1) 100%);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    transform: translate3d(0, 0, 0);
}

.header.active {
    background-color: #eb8b8d;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}





/* Nav */
.nav {
    font-size: 14px;
    text-transform: uppercase;
}

.nav__link {
    display: inline-block;
    vertical-align: top;
    margin: 0 15px;
    position: relative;

    color: #fff;
    text-decoration: none;

    transition: color .1s linear;
}

.nav__link:after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;

    background: linear-gradient(135deg, rgba(209,57,255,1) 33%, rgba(148,41,181,0.5047268907563025) 66%, rgba(65,20,79,0) 100%);
    opacity: 0;

    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;

    transition: opacity .1s linear;
}

.nav__link:hover {
    color: #e4a7ff;
}

.nav__link:hover:after,
.nav__link.active:after {
    opacity: 1;
}

.nav__link.active {
    color: #e4a7ff;
}

.nav_logo {
text-decoration: none;
color:#fff;
}

/* Nav toggle */
.nav-toggle {
    width: 30px;
    padding: 10px 0;
    display: none;

    font-size: 0;
    color: transparent;

    border: 0;
    background: none;
    cursor: pointer;

    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1;
}

.nav-toggle:focus {
    outline: 0;
}

.nav-toggle__item {
    display: block;
    width: 100%;
    height: 3px;

    background-color: #fff;

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;

    transition: background .2s linear;
}

.nav-toggle.active .nav-toggle__item {
    background: none;
}

.nav-toggle__item:before,
.nav-toggle__item:after {
    content: "";
    width: 100%;
    height: 3px;

    background-color: #fff;

    position: absolute;
    left: 0;
    z-index: 1;

    transition: transform .2s linear;
}

.nav-toggle__item:before {
    top: -8px;
}

.nav-toggle__item:after {
    bottom: -8px;
}

.nav-toggle.active .nav-toggle__item:before {
    transform-origin: left top;
    transform: rotate(45deg) translate3d(0px, -2px, 0)
}

.nav-toggle.active .nav-toggle__item:after {
    transform-origin: left bottom;
    transform: rotate(-45deg) translate3d(0px, 3px, 0);
}


/* Button */
.btn {
    display: inline-block;
    vertical-align: top;
    padding: 8px 30px;

    border: 3px solid #fff;

    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;

    transition: background .1s linear, color .1s linear;
}

.btn:hover {
    background-color: #fff;
    color: #333;
}



/* Slider */
.slider {
    width: 100%;

    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.slider__inner {
    display: flex;
    justify-content: space-between;
}

.slider__item {
    width: 23%;
    padding: 20px 0;
    position: relative;

    border-top: 3px solid #fff;
    opacity: .7;

    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
}

.slider__item.active {
    opacity: 1;
}

.slider__item.active:before {
    content: "";
    display: block;
    width: 70px;
    height: 3px;

    background-color: #b127d2;

    position: absolute;
    top: -3px;
    left: 0;
    z-index: 1;
}

.slider__num {
    font-size: 24px;
    font-weight: 700;
}


/* Section */
.section {
    padding: 80px 0;
}

.section--devices {
    margin-bottom: 40px;
    padding-bottom: 0;

    background: url("../images/devices-bg.jpg") center no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

.section--gray {
    background-color: #f8f8f8;
}

.section--clients {
    background: #f5f5f5 url("../images/clients-bg.jpg") center no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

.section--map {
    padding: 40px 0;
    background: #e6e6e6 url("../images/map-bg.jpg") center no-repeat / cover;
}

.section__header {
    width: 100%;
    max-width: 950px;
    margin: 50px auto 50px;

    text-align: center;
}

.section__suptitle {
    font-family: 'Jost', cursive;
    font-size: 44px;
    color: #333;
}

.section__title {
    margin-top: 18px;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}

.section__title:after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    margin: 30px auto;

    background-color: #db49ff;
}

.section__text {
    font-size: 20px;
    color: #000;
}




/* Card */
.card {
    margin: 40px -15px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card__item {
    width: 33.33333%;
    padding: 0 15px;
}

.card__item--special {
    width: 100%; 
    padding: 0 15px;
}

.card__inner {
    position: relative;
    background: linear-gradient(135deg, rgba(234,189,255,1) 40%, rgba(80,27,94,1) 100%);
    border-radius: 50%;
}

.card__inner--special {
    position: relative;
    background: linear-gradient(135deg, rgba(234,189,255,1) 40%, rgba(80,27,94,1) 100%);
    width: 380px; /* или другое значение, которое подходит для вашего дизайна */
    height: 380px; /* та же высота, что и ширина, для создания круга */
    border-radius: 50%;
    display: flex;
    justify-content: center; /* Центрирование по горизонтали */
    align-items: center; /* Центрирование по вертикали */
    /* Другие стили, которые уже определены для .card__item--special */
    margin: auto;
}

.card__inner:hover .card__img {
    transform: translate3d(-10px, -10px, 0);
    border-radius: 50%;
}

.card__inner--special:hover .card__img--special {
    transform: translate3d(-10px, -10px, 0);
    border-radius: 50%;
}

.card__inner:hover .card__img img {
    opacity: .1;
}



.card__inner--special:hover .card__img--special img {
    opacity: .1;
}
.card__inner:hover .card__text{
    opacity: 1;
}
.card__inner--special:hover .card__text--special {
    opacity: 1;
}

.card__img {
   background: #f7e6ff;
    transition: transform .2s linear;
    border-radius: 50%;
}

.card__img--special {
   background: #f7e6ff;
    transition: transform .2s linear;
    border-radius: 50%;

}

.card__img img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: opacity .1s linear;
    border-radius: 50%;
}


.card__img--special img {
    display: block;
    width: 380px; /* или другое значение, которое подходит для вашего дизайна */
    height: 380px; /* та же высота, что и ширина, для создания круга */
    object-fit: cover; /* обрезает изображение, сохраняя аспект */
    border-radius: 50%;
    transition: opacity .1s linear;
}

.card__text {
    width: 90%;

    font-size: 18px;
    color: #000;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    opacity: 0;

    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    transform: translate3d(0, -50%, 0);

    transition: opacity .2s linear;
}

.card__text--special {
    width: 90%;

    font-size: 18px;
    color: #000;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    opacity: 0;

    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    transform: translate3d(0, -50%, 0);

    transition: opacity .2s linear;
}

.card__info {
    margin-top: 20px;
    text-align: center;

}

.card__name {
    margin-bottom: 5px;

    font-size: 14px;
    color: #333;
    text-transform: uppercase;
}

.card__prof {
    font-size: 15px;
    font-style: italic;
    font-weight: 300;
    color: #999;
}



/* Statistics */
.statistics {
    background-color: #95e1d3;
}

.stat {
    display: flex;
    flex-wrap: wrap;
}

.stat__item {
    flex: 1 1 0;
    padding: 70px 25px;

    border-left: 1px solid #b5eae0;

    text-align: center;
    color: #fff;
}

.stat__item:last-child {
    border-right: 1px solid #b5eae0;
}

.stat__count {
    margin-bottom: 10px;

    font-size: 72px;
    font-weight: 700;
    line-height: 1;
}

.stat__text {
    font-size: 14px;
    text-transform: uppercase;
}


/* Services */

.services {
    display: flex;
    flex-wrap: wrap;
}

.services__item {
    width: 33.33333%;
    padding: 0 35px 40px 85px;
    position: relative;
    margin-bottom: 40px;
}

.services__item--border {
    border-bottom: 1px solid #e5e5e5;
}

.services__icon {
    position: absolute;
    top: 0;
    left: 28px;
    z-index: 1;
}

.service__icons{
    position: absolute;
    top: 0;
    left: 28px;
    z-index: 1;
    font-size: 32px;
}

.services__title {
    margin-bottom: 10px;
    font-size: 18px;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
}

.services__text {
    font-size: 16px;
    color: #2e2e2e;
}

/* Devices */

.devices {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.devices__item {
    display: block;
    max-width: 100%;
    height: auto;
}

.devices__item--iphone {
    position: absolute;
    bottom: -80px;
    right: 0;
    z-index: 1;
}


/* We do */
.wedo {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.wedo__item {
    width: 40%;
    padding: 0 15px;
}

.wedo__item2 {
    width: 60%;
    padding: 0 15px;
}

.wedo__img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 50px;
}

/* Accordion */

.accordion__item {
    margin-bottom: 10px;
    border: 1px solid #e5e5e5;
    width: 55%;

    transition: all 0.3s ease-in-out;
}

.accordion__item:hover {
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);   
}

.accordion__content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: visibility 0s linear 0.5s, opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
    visibility: hidden; /* Изначально контент не виден */
    opacity: 0; /* Изначально контент полностью прозрачный */
    font-size: 20px;
    color: #000;
    font-style: italic;
    font-weight: 300;
}


.accordion__item.active {
    margin-bottom: 10px;
    border: 1px solid #e5e5e5;
    width: 100%;

    transition: all 0.5s ease-in-out;
}

.accordion__item.active .accordion__content {
    padding: 15px 20px;
    max-height: 500px; /* Максимальная высота, достаточная для отображения всего содержимого */
    visibility: visible; /* Контент становится видимым */
    opacity: 1; /* Контент становится полностью непрозрачным */
    transition-delay: 0s; /* Убираем задержку для видимости при активации */


    display: block;

    transition: all 0.5s ease-in-out;
}

.accordion__item.active .accordion__header {
    border-bottom-color: #e5e5e5;
}

.accordion__item.active .accordion__header:after {
    transform: translateY(-50%) rotate(-45deg);
    margin-top: 5px;

    border-top: 3px solid #000;
    border-right: 3px solid #000;


    transition: all 0.5s ease-in-out;
}

.accordion__header {
    padding: 15px 20px 15px 65px;
    position: relative;

    border-bottom: 1px solid transparent;
    cursor: pointer;
}



.accordion__header:after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;

    border-top: 2px solid #777;
    border-right: 2px solid #777;

    position: absolute;
    top: 50%;
    right: 20px;
    z-index: 1;


    transition: all 0.5s ease-in-out;
    transform: translateY(-50%) rotate(135deg);
}

.accordion__icons{
    position: absolute;
    top: 50%;
    left: 28px;
    z-index: 1;
    font-size: 32px;
    transform: translateY(-50%);

}


.accordion__title {
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    margin-left: 14px;
}


/* -------- */



/* new */


.slick-arrow {
    display: block;
    font-size: 0;
    color: transparent;

    border: 0;
    background: none;
    cursor: pointer;

    position: absolute;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
}

.slick-arrow:focus {
    outline: 0;
}

.slick-arrow:after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;

    border-top: 2px solid #ccc;
    border-left: 2px solid #ccc;
}

.slick-prev {
    left: 0;
    transform: rotate(-45deg);
}

.reviews__btn--next,
.slick-next {
    right: 0;
    transform: rotate(135deg);
}


/* Social */




.social {
    display: flex;
    justify-content: center;
}

.social__item {
    width: 55px;
    height: 55px;
    padding: 12px 10px;
    border-radius: 50%;
    background-color: transparent;
    font-size: 30px;
    text-decoration: none;
    color: #000;
    line-height: 1;
    transition: all 0.3s ease-out; /* Плавное возвращение в исходное состояние */
    margin: 0px 10px 0px 10px;
}



.social__item:last-child {
    border-right: 0;
}

.social__item:hover {
    color: #fff;
    background: radial-gradient(circle, rgba(86,5,108,1) 0%, rgba(214,124,255,1) 100%);
    font-size: 55px;
    width: 80px;
    height: 80px;
    transition: all 0.3s ease-in-out; /* Анимация при наведении */
}


/* Logos */
.logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 -15px;
}

.logos__item {
    padding: 0 15px;
}

.logos__img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* Works */
.works {
    margin: auto;
    width: 75%;
    display: flex;
}

.works__col {
    flex: 1 1 0;
}

.works__item {
    position: relative;
    background: transparent;
    border-radius: 40px;
    margin: 40px 0px 40px 0px;

    perspective: 1000px;
    transform-style: preserve-3d;
}

.works__item:hover .works__image {
    transform: scale(1.1) rotateX(10deg) rotateY(10deg);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);

    transition: transform 0.3s ease-in-out, border-radius 0.3s ease-in-out;
    border-radius: 100px;
}

.works__image {
    display: block;
    max-width: 90%;
    height: auto;
    border-radius: 40px;
    margin: 0 auto; /* Добавляет автоматические отступы слева и справа */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center;
    transition: transform 0.3s ease-in-out, border-radius 0.3s ease-in-out;


}

.works__info {
    width: 100%;
    padding: 0 15px;

    text-align: center;
    color: #fff;
    opacity: 0;

    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;

    transform: translate3d(0, -50%, 0);
    transition: opacity .2s linear;
}

.works__title {
    margin-bottom: 5px;

    font-size: 14px;
    text-transform: uppercase;
}

.works__text {
    font-size: 15px;
    font-weight: 300;
    font-style: italic;
}



/* Clients */
.clients {
    display: flex;
    flex-wrap: wrap;
    margin-top: 70px;
}

.clients__item {
    width: 50%;
    padding: 0 45px 0 175px;
    position: relative;
    margin-bottom: 60px;
}

.clients__photo {
    width: 110px;
    height: 110px;

    border-radius: 50%;

    position: absolute;
    top: 0;
    left: 40px;
    z-index: 1;
}

.clients__name {
    margin-bottom: 5px;

    font-size: 14px;
    color: #333;
    text-transform: uppercase;
}

.clients__prof {
    font-size: 15px;
    color: #333;
    font-style: italic;
    font-weight: 300;
}

.clients__text {
    font-size: 15px;
    color: #999;
}

.clients__text:before {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 15px 0;

    background-color: #f38181;
}


/* Blog */
.blog {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center; /* Центрирование элементов */
    gap: 40px; /* Отступ между элементами */
    position: relative;
    padding-bottom: 50px; /* Отступ снизу для ссылки 'Посмотреть все новости' */
}

.blog__item {
    width: 30%;
}

.blog__header {
    position: relative;
    margin-bottom: 14px;
}

.blog__photo {
    display: block;
    width: 100%; /* Фиксированная ширина */
    height: 240px; /* Фиксированная высота, измените по вашему усмотрению */
    object-fit: cover; /* Обеспечивает заполнение блока без искажения */
}

.blog__date {
    padding: 10px 20px;

    background-color: #444;
    border-radius: 50%;

    font-style: italic;
    font-size: 15px;
    color: #fff;
    font-weight: 300;
    text-align: center;

    position: absolute;
    bottom: 10px;
    left: -10px;
    z-index: 1;
}

.blog__date-day {
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    font-style: normal;
}

.blog__content {
    margin-bottom: 14px;
}

.blog__title {
    margin-bottom: 10px;

    font-weight: bold;
    font-size: 18px;
    color: #333;
    text-transform: uppercase;
}

.blog__title a {
    color: inherit;
    text-decoration: none;
}

.blog__title a:hover {
    text-decoration: underline;
}

.blog__text {
    font-size: 15px;
    color: #333;
}

.blog__footer {
    padding-top: 14px;
    border-top: 1px solid #e5e5e5;

    font-size: 15px;
    font-weight: 300;
    font-style: italic;
    color: #999;
}

.blog-stat__item {
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;

    width: calc(50% - 10px); /* Ширина элемента с учетом gap */
    margin-bottom: 20px; /* Отступ снизу для каждого элемента */
}

.blog-stat__item i {
    color: #95e1d3;
}

.blog:only-child .blog__item {
    width: 100%; /* Полная ширина, если элемент один */
    max-width: 600px; /* Максимальная ширина элемента */
    margin: 0 auto; /* Автоматические отступы для центрирования */
}

.all-news-link {
    position: absolute; /* Абсолютное позиционирование для all-news-link */
    bottom: 0; /* Расположение в самом низу блока blog */
    left: 50%; /* Смещение влево на 50% от ширины блока blog */
    transform: translateX(-50%); /* Смещение обратно на 50% от ширины all-news-link для центрирования */
    width: auto; /* Автоматическая ширина в зависимости от содержимого */
    padding: 10px 0; /* Отступ сверху и снизу для ссылки */
    text-align: center; /* Центрирование текста внутри all-news-link */
}

.all-news-link a {

color: #444;
font-weight: bold;
font-size: 20px;

   transition: all 0.5s ease;
}

.all-news-link a:hover {
    color: #fff;
    font-size: 22px;
    background-color: #111;
    border-radius: 14px;
    padding: 8px; /* Добавляем внутренний отступ 20px со всех сторон */
}

/* Map */

.map-container {

  position: relative;
  overflow: hidden;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Тень для объемного вида */
  border-radius: 30px;

  opacity: 0.7;
  transition: opacity 0.5s ease-in-out; /* Плавный переход за 0.5 секунд */

}


.map-container:hover {

  opacity: 1; /* Полная прозрачность при наведении */
  transition: opacity 0.5s ease-in-out; /* Плавный переход за 0.5 секунд */
}

.map-container a {
  color: #aaa; /* Светлый цвет текста для контраста на темном фоне */
  font-size: 12px;
  text-decoration: none; /* Убрать подчеркивание ссылок */
  position: absolute;
  top: 0;
  background: rgba(0, 0, 0, 0.8); /* Полупрозрачный черный фон для ссылок */
  padding: 5px; /* Отступы вокруг текста */
  border-radius: 0 0 5px 5px; /* Скругление углов снизу */
}

.map-container iframe {
  width: 100%; /* Адаптивная ширина */
  height: 400px; /* Фиксированная высота */
  border: none; /* Убрать стандартную рамку iframe */
  position: relative;

}




.map {
    text-align: center;
}

.map__title {
    font-size: 24px;
    color: #f38181;
    font-weight: 700;
    text-transform: uppercase;
}

.map__title:after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 15px auto 0;

    background-color: #f38181;
}

.map__title a {
    color: inherit;
    text-decoration: none;
}

.map__title a:hover {
    text-decoration: underline;
}



/* Footer */
.footer {
    padding-top: 65px;

    background-color: #f8f8f8;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -15px;
    padding-bottom: 15px;
}

.footer__col {
    padding: 0 15px;
}

.footer__col--first {
    width: 40%;
}

.footer__col--second {
    width: 25%;
}

.footer__col--third {
    width: 25%;
}

.footer__logo {
    margin-bottom: 14px;

    font-size: 46px;
    font-weight: 700;
    color: #333;
}

.footer__text {
    font-size: 20px;
    color: #333;
}

.footer__social {
    margin-bottom: 25px;
}

.footer__social-header {
    padding-bottom: 15px;

    font-size: 14px;
    color: #333;

    border-bottom: 1px solid #e5e5e5;
}

.footer__social-header b {
    font-size: 18px;
}

.footer__social-content {
    padding-top: 8px;
    font-size: 15px;
    color: #222;
    font-style: italic;
    font-weight: 300;
}

.footer__social_icons a{
    display: inline-block;
    margin-right: 40px;
    font-size: 30px;
    color: #333;

    transition: all 0.2s ease-in-out;
}


.footer__social_icons a:hover{
color: #000;
transition: all 0.2s ease-in-out;
}


.footer__title {
    margin: 30px 0;
    font-size: 18px;
    color: #222;
    text-transform: uppercase;
    font-weight: bold;
}

.feedback__button {
    display: block;
    margin: 25px auto 0;
    padding: 10px 20px;
    font-size: 19px;
    font-weight: bold;
    color: #000;
    background-color: transparent;
    border: solid 1px #000;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.5s ease;
    text-decoration:none;
}

.feedback__button:hover {
    background-color: #000;
    border: solid 1px #fff;
    color: #fff;
}

.feedback p {
    font-size: 19px;
    color: #222;
    margin-bottom: 15px;
    text-align: justify;
    word-spacing: -2px; /* Уменьшение пробелов между словами */
}


/* Blogs */
.blogs__item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.blogs__img {
    width: 120px;
    height: 80px;
}

.blogs__content {
    padding-left: 20px;
}

.blogs__title {
    display: block;
    margin-bottom: 5px;

    color: #333;
    font-size: 12px;
    line-height: 1.5;
    text-transform: uppercase;
    text-decoration: none;
}

.blogs__title:hover {
    text-decoration: underline;
}

.blogs__date {
    font-size: 13px;
    color: #999;
    font-style: italic;
    font-weight: 300;
}


/* Info */
.info__item{
    margin-top: 14px;
    width: 100%;
}

.info__icons{
    top: 0;
    font-size: 20px;
    display: inline-block;
}

.info__title{
    font-size: 20px;
    color: #000;
    font-weight: normal;
    display: inline-block;
    margin-left: 8px;
}

.info__title__time{
    font-size: 20px;
    color: #000;
    font-weight: normal;
    display: inline-block;
    margin-left: 37px;
    margin-top: 8px;
}


/* Subscribe */
.subscribe {
    width: 100%;
    max-width: 380px;
    display: flex;
}

.subscribe__input {
    width: 60%;
    height: 40px;
    padding: 12px;

    background: #fff;
    border: 1px solid #e7e7e7;
    border-right: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.1;
    color: #333;
    font-style: italic;
    font-weight: 300;
}

.subscribe__input::placeholder {
    color: #ccc;
}

.subscribe__input:focus {
    outline: 0;
    border-color: #95e1d3;
}

.subscribe__btn {
    width: 40%;
    height: 40px;
    padding: 12px 30px;

    background-color: #95e1d3;
    border: 0;
    cursor: pointer;

    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;

    transition: background .2s linear;
}

.subscribe__btn:hover {
    background-color: #74c7b8;
}

.subscribe__btn:focus {
    outline: 0;
}


/* Copyright */
.copyright {
    padding: 20px 0;

    border-top: 1px solid #e5e5e5;

    font-size: 14px;
    color: #333;
    text-align: center;

    width: 100%;
}

.copyright span {
    color: #f38181;
}




@media (max-width: 1230px) {

    /* Intro */
    .intro__suptitle {
        font-size: 52px;
    }

    .intro__title {
        font-size: 120px;
    }

    /* Reviews */
    .reviews__text {
        font-size: 20px;
    }
}

@media (max-width: 990px) {

    /* Intro */
    .intro__suptitle {
        font-size: 32px;
    }

    .intro__title {
        font-size: 80px;
    }

    /* Stat */
    .stat {
       justify-content: center;
    }

    .stat__item {
        flex: none;
        width: 33.33333%;
        padding-top: 30px;
        padding-bottom: 30px;

        border: 0;
    }

    .stat__item:last-child {
        border-right: 0;
    }

    /* Services */
    .services__item {
        width: 50%;
        padding-bottom: 0;
    }

    .services__item--border {
        border-bottom: 0;
    }

    /* Reviews */
    .reviews .slick-slider {
        padding: 0 60px;
    }

    .reviews__photo {
        width: 150px;
        height: 150px;
    }

    .reviews__item {
        padding-left: 175px;
    }

    /* Clients */
    .clients {
        max-width: 600px;
        margin: 0 auto;
    }

    .clients__item {
        width: 100%;
        padding-right: 0;
    }

    .clients__item:last-child {
        margin-bottom: 0;
    }


    /* Footer */
    .footer__col--first {
        width: 100%;
    }

    .footer__col--second,
    .footer__col--third {
        width: 50%;
    }

    /* Instagram */
    .instagram {
        justify-content: flex-start;
    }

    .instagram__item {
        width: auto;
        border-right: 1px solid white;
    }
}

@media (max-width: 770px) {

    /* Intro */
    .intro {
        min-height: 650px;
    }


    /* Header */
    .header {
        padding: 10px 0;
    }

    /* Nav */
    .nav {
        display: none;
        width: 100%;

        position: absolute;
        top: 100%;
        left: 0;

background: linear-gradient(180deg, rgba(53,22,73,1) 0%, rgba(155,70,172,1) 66%, rgba(177,9,151,1) 100%);
    }

    .nav.active {
        display: block;
    }

    .nav__link {
        display: block;
        margin: 0;
        padding: 8px 20px;
        font-size:18px;
        letter-spacing:3px;
        text-align:center;
    }
   

    .nav-toggle {
        display: block;
    }


    /* Section */
    .section {
        padding: 20px 0;
    }

    .section--devices {
        padding-bottom: 0;
    }


    /* Card */
    .card {
        margin-top: 50px;
        justify-content: center;
    }

    .card__item {
        width: 100%;
        max-width: 410px;
        margin-bottom: 30px;
    }

    .card__item:last-child {
        margin-bottom: 0;
    }


    /* Slider */
    .slider__text {
        display: none;
    }

    .slider__item.active:before {
        width: 50%;
    }

    /* Services */
    .services {
        justify-content: center;
    }

    .services__item {
        width: 100%;
        max-width: 400px;
        padding-right: 0;
    }

    .services__icon {
        left: 0;
    }



    /* Wedo */
    .wedo{
  display: flex;
  justify-content: center; /* Выравнивание содержимого по центру по горизонтали */
  align-items: center; /* Выравнивание содержимого по центру по вертикали */
    }
    
    .wedo__item {
    width:75%;
    text-align: center; /* Центрируем содержимое внутри .wedo__item */
    padding:30px;
    }
    
    .wedo__item2 {
    width:75%;
    text-align: center; /* Центрируем содержимое внутри .wedo__item */
    }
    
    .accordion__item {
    margin-bottom: 10px;
    border: 1px solid #e5e5e5;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

    .accordion__title{
    font-size:20px;
    }
    
    .accordion__content{
    font-size:16px;
    }

    .wedo__img {
    max-width: 100%; /* Пример ограничения ширины изображения */
    height: auto; /* Автоматическое вычисление высоты изображения */
    }

    /* Reviews */
    .reviews__photo {
        position: static;
        margin: 0 auto 20px;
    }

    .reviews__item {
        padding-left: 0;
    }

    .reviews__text {
        font-size: 16px;
    }

    .reviews__author {
        font-size: 20px;
    }

    /* Works */
    .works {
        flex-wrap: wrap;
    }

    .works__col {
        flex: none;
        width: 50%;
    }

    /* Blog */
    .blog {
        max-width: 380px;
        margin: 0 auto;
    }

    .blog__item {
        width: 100%;
        margin-bottom: 30px;
    }

    .blog__item:last-child {
        margin-bottom: 0;
    }
    
    .all-news-link{
        width:75%;
    }
    
.map {
  display: flex;
  justify-content: center; /* Центрирование по горизонтали */
  align-items: center; /* Центрирование по вертикали */
}

.map-container {
  width: 80%; /* Ширина map-container, можно настроить под нужды */
}


    /* Footer */
    .footer__logo{
        text-align:center;
    }
    
    .footer__social {
  display: flex;
  justify-content: center; /* Центрирование содержимого по горизонтали */
  align-items: center; /* Центрирование содержимого по вертикали */
}

.footer__social-content {
  display: flex;
  justify-content: center; /* Центрирование содержимого по горизонтали */
  align-items: center; /* Центрирование содержимого по вертикали */
}

.footer__social_icons {
  display: flex;
}

.footer__social_icons a {
  color: #000; /* Цвет иконок */
  font-size: 48px; /* Размер иконок */
  padding:0 20px;
  margin:0;
}


.footer__title{
    text-align:center;
    font-size:28px;
    margin:10px auto;
}

.feedback{
    width:75%;
    margin-top: 0; 
}


.feedback p{
font-size:26px;
}
.feedback__button{
    font-size:20px;
    border: solid 3px;
}


.footer__col--second {
  display: flex;
  flex-direction: column; /* Устанавливаем направление столбцом для расположения элементов один под другим */
  justify-content: center; /* Центрирование содержимого по вертикали */
  align-items: center; /* Центрирование содержимого по горизонтали */
  text-align: center; /* Центрируем текст внутри .footer__col--second */
  padding: 20px; /* Пример внутренних отступов */
}

.footer__info {
  display: flex;
  flex-direction: column; /* Устанавливаем направление flex-элементов в колонку */
}

.info__item {
  display: flex;
  align-items: center; /* Выравниваем элементы по вертикали */
  justify-content: center; /* Выравниваем элементы по горизонтали */
}
  


.info__icons{
    font-size:20px;
}

.info__title{
    font-size:20px;
}

  .info__title__time {
  font-size:20px;
  margin-top:0;
  }

    .footer__col--second,
    .footer__col--third {
        width: 100%;
    }
    
    
    .admin{
        display:none;
    }
}


@media (max-width: 575px) {

#scrollToTopButton {
  position: fixed;
  bottom: 14px;
  right: 14px;
  display: none;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #333;
  color: white;
  cursor: pointer;
  padding: 12px;
  border-radius: 14px;
  font-size: 18px;

  transition: all 0.3s ease-in-out;
}

    /* Intro */
    .intro__suptitle {
        font-size: 22px;
    }

    .intro__title {
        font-size: 40px;
    }
    

    /* Section */
    .section__header {
        margin-bottom: 50px;
    }

    .section__suptitle {
        font-size: 24px;
    }

    .section__title {
        font-size: 11px;
    }

    .section__title:after {
        margin: 20px auto;
    }

    /* Stat */
    .stat__item {
        width: 100%;

        border-bottom: 1px solid #b5eae0;
    }

    .stat__item:last-child {
        border-bottom: 0;
    }

    .stat__count {
        font-size: 52px;
    }
    
    /* INFO */
    
    .info__title{
        font-size:16px;
        margin-left:8px;
    }
    
    .info__title__time{
        font-size:16px;
        margin-left:14px;
    }



    /* Devices */
    .devices {
        max-width: 320px;
    }

    .devices__item--iphone {
        width: 180px;
        bottom: -50px;
        right: -80px;
    }


    /* Reviews */
    .reviews .slick-slider {
        padding: 0;
    }

    .slick-arrow {
        top: 18%;
    }

    /* Logos */
    .logos {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logos__item {
        width: 50%;
        margin-bottom: 20px;
    }

    .logos__img {
        margin: 0 auto;
    }

    /* Works */
    .works__col {
        width: 100%;
    }


    /* Clients */
    .clients__photo {
        position: static;
    }

    .clients__item {
        padding-left: 0;
        text-align: center;
    }

    .clients__text:before {
        margin: 15px auto;
    }


    /* Blog */
    .blog{
        padding-bottom:10px;
    }

    /* Subscribe */
    .subscribe {
        flex-wrap: wrap;
        max-width: none;
    }

    .subscribe__input {
        margin-bottom: 10px;
        border-right: 1px solid #e7e7e7;
    }

    .subscribe__input,
    .subscribe__btn {
        width: 100%;
    }
    
    .footer{
        padding-top:15px;
    }
    
    .footer__text{
        font-size:15px;
    }
    .footer__social_icons a{
        font-size:28px;
    }
    
    .feedback p{
        font-size:15px;
    }
    
    .feedback__button{
    font-size:16px;
    border: solid 2px;
}

.footer__col--second{
    padding:0;
}

#style-4 span {
    font-size:14px;
    letter-spacing:1px;
}
/** end media **/
}

.madeby {
    text-align: center; /* Центрируем текст */
    margin: 0 auto;
}

.developer-link {
    color: #007BFF; /* Цвет ссылки */
    text-decoration: none; /* Убираем подчеркивание */
    font-size: 14px; /* Размер текста */
    font-weight: bold; /* Жирный текст */
}

.developer-link:hover {
    color: #0056b3; /* Цвет ссылки при наведении */
    text-decoration: underline; /* Подчеркивание при наведении */
}

#style-4 {
    overflow: hidden;
    position: relative;
    display: inline-block;
    font-size:20px;
    color: #222;
    letter-spacing:2px;
}

#style-4 i {
    margin-right: 20px; /* Отступ между иконкой и текстом */
}

#style-4::before,
#style-4::after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
}

#style-4::before {
    background-color: #333;
    height: 2px;
    bottom: 0;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1); /* easeInOutQuart */
}

#style-4:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

#style-4::after {
    content: attr(data-replace);
    height: 100%;
    top: 0;
    transform-origin: 100% 50%;
    transform: translate3d(200%, 0, 0);
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1); /* easeInOutQuart */
    color: #000;
}

#style-4:hover::after {
    transform: translate3d(0, 0, 0);
}

#style-4 span {
    display: inline-block;
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1); /* easeInOutQuart */
}

#style-4:hover span {
    transform: translate3d(-200%, 0, 0);
}
