* {
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    color: #000;
    padding: 0;
    margin: 0;
}

body {
    background: #fff;
}

a {
    text-decoration: none;
}

.max-width {
    max-width: 1280px;
    width: 100%;
}

.nav a, .menu-wrapper a {
    margin: 0 10px;
}

.nav a:hover {
    color: #dedede;
}

.nav-mobile {
    display: none;
    cursor: pointer;
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

.menu-wrapper {
    position: absolute;
    width: 100%;
    background: #fff;
    top: 0;
    padding: 10px;
    display: none;
    border-top: 1px solid grey;
}

.menu-wrapper a {
    margin: 10 0;
    color: #000;
}

.opened {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: menu-open 0.5s forwards;
}

.logo {
    display: flex;
    align-items: center;
}

.logo p {
    font-weight: 700;
    margin: 10px;
    font-style: italic;
}
.logo img {
    width: 50px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-bottom: 1px solid grey;
}

.header_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header * {
    color: #000;
}

.top-header {
    text-align: center;
    font-weight: 700;
    padding: 1em 0;
}

.menu-wrapper a {
    margin: 5px 0;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url("../assets/images/wrapper.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    padding: 1em;
}

.faq_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em 0;
}

.faq_header {
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.accordion {
    display: flex;
    gap: 10px;
    flex-direction: column;
    max-width: 860px;
    width: 100%;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    outline: none;
    border: none;
    color: grey;
    border: 1px solid grey;
}

.accordion-header__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color-main);
    width: 90%;
}

.accordion-content__text {
    color: var(--subtext-color);
    font-size: 18px;
    line-height: 21.8px;
    width: 90%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion-content.open .accordion-content__text {
    opacity: 1;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out, opacity 0.1s ease-out 0.2s, visibility 0.1s ease-out 0.2s;
    opacity: 0;
    visibility: hidden;
    padding: 0 15px;
}

.accordion-content.open {
    background-color: var(--bg-color-tertiary);
    height: auto;
    padding: 15px;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out, opacity 0.1s ease-out 0.2s, visibility 0.1s ease-out 0.2s;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: black;
    width: 100%;
    padding: 3em 1em;
}

.footer_content {
    background: black;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer_content-brands {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 1em;
    align-items: center;
    justify-content: center;
}

.footer_content-brands img {
    height: 50px;
    max-width: 100%;
}

.age {
    background: red;
    border: 2px solid #fff;
    color: #fff;
    display: block;
    border-radius: 50%;
    padding: 1em;
}

.age * {
    color: #fff;
}

.footer_content * {
    text-align: center;
}

.prev_info {
    margin: 1em 0;
}

.prev_info h3 {
    color: #fff;
}

.prev_info p {
    color: grey;
}

.disclaimer {
    border-top: 1px solid grey;
    border-bottom: 1px solid grey;
    padding: 1em 0;
    margin-bottom: 1em;
}
.disclaimer * {
    color: #fff;
    font-weight: 800;
}

.copyright {
    margin-top: 1em;
    color: grey;
}

.link {
    color: #fff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin: 1em 0;
}

.footer-links a {
    color: #fff;
}

.footer-links a:hover {
    text-decoration: underline;
}

.banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url("../assets/images/banner.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    padding: 3em 0;
    width: 100%;
}

.banner_about {
    background: url("../assets/images/about.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

.banner_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffffc2;
    border-radius: 15px;
    padding: 2em 1em;
    text-align: center;
}

.choose {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url("../assets/images/sect_back.webp");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 2em 0;
    width: 100%;
}

.choose_item {
    border-radius: 15px;
    background: #ffffffc2;
    padding: 1em;
    margin: 1em 0;
    max-width: 600px;
}


.participation {
    text-align: center;
    border-bottom: 1px solid lightgrey;
    border-top: 1px solid lightgrey;
    padding: 2em 0;
}

.cont {
    text-align: center;
    background: #C0FDF8;
    padding: 2em 0;
    width: 100%;
}

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about_item {
    border-radius: 15px;
    padding: 1em;
    background: #d7d7d7c2;
    margin: 1em 0;
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.values {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

.values h2 {
    text-align: center;
    width: 100%;
}

.values_item {
    width: 30%;
    min-width: 300px;
    border-radius: 15px;
    background: #2A7B9B;
background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
padding: 1em;
height: 140px;
}

.values_item h3 {
    color: #fff;
}

.contact-form-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
}

/* Heading */
.contact-form h2 {
    text-align: center;
    color: #007bff;
}

/* Form elements styling */
.contact-form label {
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    height: 150px;
}

/* Button styling */
.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.contact-form input.invalid, .contact-form textarea.invalid {
    border-color: #e74c3c;
    background-color: #f9d6d6;
}

.contacts_container {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.sended {
    display: none;
    width: 100%;
    background: rgb(126, 230, 126);
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    color: #fff;
    width: 100%;
    text-align: center;
}

.info {
    padding: 1em;
}

.info h2 {
    width: 100%;
}

.info h3 {
    margin-top: 1em;
}

ul {
    margin-left: 1.2em;
}

.main_head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main_head {
    text-align: center;
}

.main_head-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    align-items: center;
    justify-content: center;
}

.main_head-banner h2 {
    width: 100%;
    color: #fff;
    text-shadow: 2px 2px 2px black;
}

.main_head-banner-item {
    width: 30%;
    min-width: 300px;
    border-radius: 15px;
    background: #3F5EFB;
    background: radial-gradient(circle, rgba(63, 94, 251, 1) 0%, rgba(252, 70, 107, 1) 100%);
    padding: 1em;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1em;
    justify-content: space-around;
}

.main_head-banner-item h3 {
    color: #fff;
    text-shadow: 2px 2px 2px black;
}

.works {
    padding: 2em 1em;
}

.works h2{
    width: 100%;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 2px black;
}

.main_resp {
    padding: 1em;

}

.main_resp-item {
    border-radius: 15px;
    border: 1px solid #d7d7d7c2;
    padding: 1em;
    text-shadow: 2px 2px 2px black;
    
}

.main_resp h2 {
    width: 100%;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 2px black;
}

.main_resp-item p {
    color: #fff;
    font-weight: 700;
    text-shadow: 1px 1px 1px black;
}

.works_item {
    padding: 2em 1em;
    background: #d7d7d7c2;
    margin: 1em 0;
    border-radius: 15px;
}

.reviews_block {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    align-items: center;
    justify-content: center;
    margin: 1em 0;
}

.reviews {
    width: 100%;
    text-align: center;
}

.reviews h2 {
    color: #fff;
    text-shadow: 2px 2px 2px black;
}

.reviews_block-item {
    width: 30%;
    padding: 1em;
    background: #ffffff;
background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(171, 163, 255, 1) 100%);
border-radius: 15px;
height: 215px;
cursor: pointer;
min-width: 300px;
}

.reviews_block-item:hover {
    transform: scale(1.05);
    transition: 0.5s;
}

.reviews_block-item p {
    font-style: italic;
}

.main_head h1 {
    color: #fff;
    text-shadow: 2px 2px 2px black;
}

.main_head h2 {
    margin: 1em 0;
}

.main_head p {
    color: #fff;
    text-shadow: 2px 2px 2px black;
}

.btn {
    padding: 1em 2em;
    background: #f53e69;
    border: 1px solid #fff;
    border-radius: 15px;
    font-weight: 700;
    width: 100%;
    max-width: 200px;
    margin-top: 1em;
    cursor: pointer;
    color: #fff;
}

.btn:hover {
    transform: scale(1.05);
    transition: 0.5s;
}

.main_about {
    background: url("../assets/images/about.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.main_about {
    text-align: center;
}

.main_about h2 {
    text-align: center;
    margin-bottom: 1em;
    color: #fff;
    text-shadow: 2px 2px 2px black;
}

.main_about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main_about-content h2 {
    width: 100%;
}

.main_about-content-item {
    background: #d7d7d7c2;
    padding: 1em;
    border-radius: 15px;
    margin: 1em 0;
}

.main_about_values {
    display: flex;
    flex-wrap: wrap;
    padding: 1em;
    gap: 1em;
    align-items: center;
    justify-content: center;
}

.main_about_values-content {
    width: 30%;
    min-width: 300px;
    padding: 1em;
    border-radius: 15px;
    height: 160px;
    background: #ffffff;
background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(171, 163, 255, 1) 100%);
}

.main_about_values h2 {
    width: 100%;
}

.subinfo {
    background: none;
}

.burger {
    width: 30px;
}

@media screen and (max-width: 765px) {
    .nav {
        display: none;
    }

    .nav-mobile {
        display: block;
    }
}

@keyframes menu-open {
    from {
        top: -100%;
    }

    to {
        top: 60px;
    }
}