
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #50984f, #f5e96a);
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
    min-height: 100vh;
}

header {
    width: 100%;
    background: linear-gradient(45deg, #61ff7b, #e2845f);
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    font-size: 24px;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin: 0 10px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #fff59d;
}

.intro, .questions, .reviews, .contacts {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 40px;
    position: relative;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro h2, .questions h3, .contacts h3, .reviews h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.intro p, .questions p, .reviews p, .contacts p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.intro h3 {
    font-size: 24px;
    margin-top: 40px;
}

.intro button {
    padding: 12px 25px;
    font-size: 18px;
    background: linear-gradient(45deg, #b2e8a1, #e3d198);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 25px;
    transition: background 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.intro button:hover {
    background: linear-gradient(45deg, #ecc61d, #21e91e);
}

.intro-image, .questions-image, .contacts-image {
    width: 70%;
    max-width: 1200px;
    height: auto;
    margin: 20px 0;
    border-radius: 10px;
}

.question, .review-card {
    background: linear-gradient(317deg, #ccf1bd, #f3f8aa);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.question:hover, .review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

footer {
    background: linear-gradient(45deg, #d9edb4, #e8f053);
    color: white;
    padding: 10px 20px;
    text-align: center;
    width: 100%;
}

.animated-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.animated-section.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    header .logo h1 {
        font-size: 20px;
    }

    header nav ul {
        flex-direction: column;
    }

    .intro, .questions, .reviews, .contacts {
        padding: 30px;
    }

    .content-container {
        padding: 10px;
    }
}

.a-buttons {
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
    background: linear-gradient(45deg, #31ec95, #dff935);
    border-radius: 5px;
    padding: 8px;
    font-size: 17px;
}

.a-buttons:hover {
    background: linear-gradient(45deg, #f7f308, #56ed10);
}

.review-dates {
    font-size: 21px;
    font-weight: bold;
}

.user-link {
    text-decoration: none;
    color: #154a0b;
    font-weight: bold;
    transition: transform 0.3s ease;
    display: inline-block;
}

.user-link:hover {
    text-decoration: underline;
    color: #95f19e;
    transform: scale(1.3);
}