﻿/*
 =================================================
 // Designed by WWW.BERDYEV.COM
 // Copyright 2020-2025
 // All Rights Reserved
 ================================================
 */

/*-------------------------------------------------------------------------------------------*/
/* SEO Stylesheet    ||---------------------------- */
/*-------------------------------------------------------------------------------------------*/

.section_heading h1 {
    position: relative;
    display: inline-block;
    margin-bottom: 0px;
    line-height: 1;
    text-transform: uppercase;
}

.section_heading h1:after {
    position: absolute;
    content: '';
    background: #bfbfbf;
    width: 100%;
    height: 1px;
    right: 0;
    bottom: -17px;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    margin-bottom: 10px;
    color: #222;
    font-weight: 600;
}

.spanseo {
  color: #479c18;
  font-weight: normal;
}

a.developer {
  color: #b7b7b7;
}

/* Custom Testimonials Styling */

.review-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.review-carousel {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.review-card {
  flex: 0 0 calc(33.333% - 20px); /* desktop: 3 карточки */
  margin: 0 10px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
}

.review-name {
  font-weight: bold;
  font-size: 1rem;
  color: #333;
}

.review-stars {
  color: #fbbc04;
  font-size: 1rem;
}

.review-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
  flex-grow: 1;
}

.read-more {
  color: #1a73e8;
  text-decoration: none;
  font-size: 0.85rem;
}

.read-more:hover {
  text-decoration: underline;
}

/* Tablet (2 карточки) */
@media (max-width: 991px) {
  .review-card {
    flex: 0 0 calc(50% - 20px);
  }
}

/* Mobile (1 карточка) */
@media (max-width: 767px) {
  .review-carousel {
    justify-content: flex-start; /* не растягиваем */
  }
  .review-card {
    flex: 0 0 100%; /* каждая занимает всю ширину wrapper */
    margin: 0 0 10px 0; /* убираем боковые отступы */
  }
}
