* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #333;
}

header {
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 0px;
}

.logo img {
    height: 50px;
}

h1 {
    font-size: 26px;
    margin: 0;
    text-align: center;
}

.offer {
    display: flex;
    background-color: #fff;
    color: black;
    margin: 5px auto;
    padding: 10px;
    border-radius: 12px;
    width: 80%;
    max-width: 1100px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.offer-details {
    flex: 1;
    padding-right: 20px;
}

.offer-details h2 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.offer-details ul {
    list-style: none;
    padding: 0;
}

.offer-details ul li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.offer-details ul li img {
    width: 18px;
    margin-right: 10px;
}

.countdown {
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
}

.countdown p {
    font-size: 20px;
}

#timer {
    font-size: 48px;
    color: black;
}

.offer-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.offer-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.note {
    margin-top: 10px;
    font-size: 18px;
    text-align: center;
}

.advantages {
    display: flex;
    background-color: #fff;
    color: black;
    margin: 5px auto;
    padding: 10px;
    border-radius: 12px;
    width: 80%;
    max-width: 1100px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.advantages-image {
    flex-shrink: 0;
    padding-right: 20px;
}

.advantages-image img {
    max-width: 100%;
    border-radius: 12px;
    max-height: 360px;
    margin-right: 20px;
}

.advantages-details {
    flex-grow: 1;
}

.advantages-details h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.advantages-details ul {
    list-style: none;
    padding: 0;
}

.advantages-details p {
    font-size: medium;
}

.advantages-details ul li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.advantages-details ul li span {
    background-color: black;
    color: white;
    padding: 5px 10px;
    margin-right: 10px;
    border-radius: 50%;
}

.cta-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #2E8B57;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 20px;
    padding: 20px 80px;
    font-size: 18px;
    display: block;
}

.cta-button:hover {
    background-color: #00458f;
}

.reviews {
    display: flex;
    flex-wrap: wrap;
    color: black;
    margin: 20px auto;
    padding: 10px;
    border-radius: 12px;
    width: 80%;
    max-width: 1120px;
    justify-content: space-between;
    align-items: center;
}

.review-card {
    background-color: #fff;
    border-radius: 10px;
    width: 300px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.review-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.review-content {
    margin-top: 15px;
}

.review-content p {
    margin-bottom: 10px;
}

.author {
    font-weight: bold;
    font-style: italic;
    color: #777777;
}

.footer {
    background-color: gray;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-policy {
    color: white;
    text-decoration: none;
}

.privacy-policy:hover {
    text-decoration: underline;
}

.btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(240, 240, 240);
}

.modal-content {
    background-color: rgba(0, 0, 0, 0);
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    color: white;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    right: 20px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.question-block {
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.question-block:last-child {
    border-bottom: none;
}

h5,
h6 {
    color: #007bff;
}

input[type="text"],
input[type="tel"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

input[type="radio"]{
    margin-top: 14px;
}

.quiz-label {
    font-size: 18px;
}

input[type="text"]:focus,
input[type="tel"]:focus {
    border-color: #007bff;
    outline: none;
}

.body-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow-x: hidden;
    color: black;
}

.final-page-container {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    display: none;
}

.final-page-text-container {
    width: 100%;
    padding: 1.5rem 1rem 1.6rem;
}

.final-page-text-container h1 {
    margin-bottom: 1.2rem;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
}

.final-page-form-container {
    padding: 29px 35px 19px;
    border-radius: 3px;
    -webkit-box-shadow: 0 9px 40px 0 #d6d6d6;
    box-shadow: 0 9px 40px 0 #d6d6d6;
    border: solid 1.2px #d6d6d6;
    background-color: #f0f0f0;
    width: 100%;
}

.nav-buttons {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-buttons button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

#prevButton {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: #333;
}

#nextButton {
    background-color: #4CAF50;
    border: 1px solid #4CAF50;
    border-radius: 8px;
    color: white;
}

#prevButton:hover {
    background-color: #3c883e;
    border: 1px solid #3c883e;
    color: white;
}

#nextButton:hover {
    background-color: #3c883e;
    border: 1px solid #3c883e;
    color: white;
}

@media (max-width: 625px) {
    .final-page-form-container{
        border:none;
        box-shadow: none;
        background-color: transparent;
    }

    .final-page-form-container input {
        margin: 0 16px;
    }

    .final-page-form-container button {
        margin: 0 16px;
        max-width: calc(100% - 32px);
    }
    
}

.final-page-form-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.final-page-form-container input {
    height: 48px;
    border: solid 1.2px var(--color-bg-3, #b1b5be);
    color: #000000;
    background: none;
    border-radius: 4px;
    font-weight: 500;
    padding: calc(.375em - 1px) calc(.625em - 1px);
    padding-left: 3.4rem;
}

.final-page-form-container a {
    text-decoration: none;
    color: #007bff;
}

.final-page-form-container a:hover {
    text-decoration: underline;
    color: gray;
}

.final-page-form-container .field[name='name'] {
    background: #ebebeb url(../images/name-icon.png) 22px center no-repeat;
}

.final-page-form-container .field[name='phone'] {
    background: #ebebeb url(../images/phone-icon.png.png) 20px center no-repeat;
}

.final-page-form-container button {
    margin-top: 10px;
    min-height: 50px;
    overflow: hidden;
    width: 100%;
    font-weight: 400;
    color: white;
    background-color: #007bff;
    box-shadow: 0 3px 15px 0 rgba(0, 123, 255, 0.5);
    font-size: 18px;
    padding: 12px 30px;
    border-radius: 24px;
    border: none;
    line-height: 1.3rem;
    cursor: pointer;
}

.final-page-form-container button:hover {
    background-color: #0063cc;
}

.final-page-container p {
    font-size: 18px;
    line-height: 26px;
}

@media screen and (max-width: 768px) {

    .offer,
    .advantages {
        flex-direction: column;
    }

    .offer-details,
    .offer-image {
        padding: 0;
        flex: 1;
    }

    .offer-details {
        display: flex;
        flex-direction: column;
    }

    .offer-image {
        order: -2;
        padding-top: 20px;
        margin-bottom: 20px;
    }

    .offer-image img {
        width: 100%;
        height: auto;
    }

    .offer-details h2 {
        order: -1;
    }

    .advantages-image img {
       flex-shrink: 0;
       padding-right: 0px;
    }

    .cta-button {
        width: 100%;
        padding: 20px 20px;
    }
}

@media (max-width: 900px) {
    .reviews {
        justify-content: center;
    }

    .review-card {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .offer-details h2 {
        text-align: center;
    }

    .countdown {
        margin-top: 10px;
    }

    .offer-details ul li {
        font-size: 16px;
    }

    .advantages-details h2 {
        text-align: center;
    }

    .advantages-details ul li {
        font-size: 16px;
    }

    .review-card {
        width: 100%;
        margin-bottom: 20px;
    }
}
A {
    color: white; /* Цвет ссылок */
   }
a.text:active, /* активная/посещенная ссылка */
a.text:hover,  /* при наведении */
a.text {
  text-decoration: none;
  color: #ffffff;
}
