body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    text-align: center;
}

.header, .footer {
    background: #6cbf40;
    color: white;
    padding: 15px;
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    padding-left: 20px;
}

/* Стили для шапки с фоновым изображением */
.hero {
    background: url('https://bzp-nn.ru/inkasator.png') no-repeat center center/cover;
    color: white;
    padding: 150px 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Полупрозрачный черный фон для улучшения читаемости текста */
    z-index: 1;
}

.hero h1, .hero p, .hero .btn {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin: 0;
    animation: fadeIn 2s ease-in-out;
}

.hero p {
    font-size: 20px;
    animation: fadeIn 3s ease-in-out;
}

/* Стили для кнопки */
.btn {
    background: linear-gradient(45deg, #6cbf40, #5aa832);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    margin: 20px 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    font-size: 18px;
    font-weight: bold;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background: linear-gradient(45deg, #5aa832, #6cbf40);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Основной контент */
.content {
    background-color: #f5f5f5;
    padding: 40px 0;
}

.info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 60%;
    margin: 20px 0;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.info-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.highlight {
    font-size: 22px;
    font-weight: bold;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    border-radius: 8px;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001; /* Модальное окно поверх фона */
}
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Полупрозрачный черный фон */
    z-index: 1000; /* Фон поверх всего */
}

.close-btn {
    margin-top: 10px;
    background: red;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Блок "Как работает доставка денег?" */
.how-it-works {
    background-color: #f5f5f5;
    padding: 40px 20px;
    text-align: center;
}

.how-it-works h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 250px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #6cbf40;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step p {
    margin: 10px 0;
    font-size: 16px;
}

.step strong {
    font-size: 18px;
    color: #333;
}

/* Отзывы */
.reviews-container {
    margin-top: 40px;
    padding: 20px;
    background: #f5f5f5;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.review {
    background: #fff;
    padding: 15px;
    border-left: 5px solid #6cbf40;
    border-radius: 5px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review strong {
    margin-top: 10px;
}

.review p {
    margin-top: 10px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .info-card {
        width: 90%;
    }
    .header, .footer {
        font-size: 18px;
    }
    .modal {
        width: 90%;
    }
    .steps {
        flex-direction: column;
        align-items: center;
    }
    .step {
        width: 80%;
    }
}

/* Кнопка переключения языка */
#language-switcher {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #fff;
    color: #6cbf40;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

#language-switcher:hover {
    background: #6cbf40;
    color: #fff;
}