* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    display: flex;
    flex-direction: column; /* Добавляем колонку для размещения логотипа и меню в разные строки */
    align-items: flex-start;
    padding: 10px 0;
    background-color: #f8f9fa;
    
}

.logo img {
    height: 100px;
}

.menu {
    display: flex;
    gap: 15px;
    margin-top: 10px; /* Добавляем отступ сверху для меню */
    justify-content: flex-end; /* Выравниваем меню по правому краю */
    width: 100%; /* Задаем ширину для правильного выравнивания */
}

.menu a {
    text-decoration: none;
    color: #333;
    font-size: 1.15rem;
    transition: color 0.3s ease, font-size 0.3s ease;
}

.menu a:hover {
    color: #007bff;
    font-size: 1.3rem;
}

/*Выпадающий список*/
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 150px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

section {
    padding: 50px 20px;
}
section:nth-child(even) {
    background-color: #f8f9fa;
}
section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}
.advantages {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.advantage {
    display: flex;
    align-items: center;
    gap: 20px;
}
.advantage:nth-child(odd) {
    flex-direction: row;
}
.advantage:nth-child(even) {
    flex-direction: row-reverse;
}
.advantage img {
    width: 100%;
    max-width: 300px;
    height: auto;
}
.advantage p {
    font-size: 1rem;
    color: #333;
    flex: 1;
}
.advantage-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.advantage-text {
    flex: 1;
}
.advantage-image {
    max-width: 250px;
}
.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007BFF; /* Голубой цвет */
    color: #fff;
    text-decoration: none;
    border-radius: 20px; /* Полукруглый стиль */
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}
.btn:hover {
    background-color: #0056b3; /* Темнее голубой при наведении */
}

/* ТАРИФЫ */
#services {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
}
.pricing-table {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.pricing-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}
.pricing-card .price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #007BFF;
}
.pricing-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}
.pricing-card ul li {
    margin-bottom: 10px;
    color: #555;
    display: flex;
    align-items: center;
}
.pricing-card ul li .dot {
    width: 8px;
    height: 8px;
    background-color: #007BFF; /* Цвет точки */
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.btn:hover {
    background-color: #0056b3;
}

/*ОТЗЫВЫ*/
.reviews-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
    padding: 20px 0;
}

.review-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.review-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #4CAF50;
}

.review-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.review-author {
    font-weight: bold;
    color: #222;
    font-size: 1.1rem;
}

.review-button {
    text-align: center;
    margin-top: 30px;
}
#reviews h2 {
    text-align: center;
    
}

.google-review-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    color: #fff;
    background-color: #4285F4;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.google-review-btn:hover {
    background-color: #357AE8;
}

/* Адаптация под мобильные устройства */
@media (max-width: 1024px) {
    .reviews-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .reviews-container {
        grid-template-columns: 1fr;
    }
}

/* КОНТАКТЫ */
#contacts {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px; /* Добавлен отступ снизу */
    padding: 20px;
    background-color: #f8f9fa; /* Светлый фон */
    border-radius: 10px; /* Скругленные углы */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Легкая тень */
}
.contact-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px; /* Расстояние между кнопками */
    flex-wrap: wrap;
}
.contact-btn {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.contact-btn:hover {
    transform: scale(1.05); /* Легкое увеличение при наведении */
}
.email {
    background-color: #007BFF; /* Голубой цвет для почты */
}
.email:hover {
    background-color: #0056b3;
}
.telegram-group {
    background-color: #34A853; /* Зеленый для группы Telegram */
}
.telegram-group:hover {
    background-color: #2a863e;
}
.telegram-support {
    background-color: #FF5722; /* Оранжевый для поддержки Telegram */
}
.telegram-support:hover {
    background-color: #e64a19;
}

footer {
    text-align: center;
    padding: 5px;
    background-color: #747474;
    color: #fff;
    font-size: 10px;
}