/*
Theme Name: Artem Kudliuk Consulting
Text Domain: ak_cons
*/

* {
    font-family: "Wix Madefor Text", sans-serif; 
    font-size: 16px;  
    color: #000000; 
    box-sizing: border-box;
}

h1,h2,h3 {
    font-family: "Wix Madefor Display", sans-serif;
}

a {
    text-decoration: none;
}

p {
    line-height: 1.6;   
}

li {
    list-style: none;
}

button a {
    font-size: 14px;
}

body {
    width: 95%; 
    margin: 0 auto;  
    height: 100%;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    height: 90px;
}

.button-global {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    z-index: 1;
    background-color: #000000dd;
    top: 0;
    left: 0;
    width: 100%;
    height: 200vw;
    display: none;
}

.hamburg-menu {
    position: fixed;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background-color: #ffffff;
    top: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 8rem;
    text-align: center;
    z-index: 1;
}

.hamburg-list li {
    padding: 1rem;
}

.open-modal {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px; 
    height: auto;
    margin-right: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text p {
    line-height: 23px;
    font-size: 18px;
    margin: 0;
}

.language-switcher {
    position: relative;
    left: 13%;
}

.language-switcher select {
    outline: none;
    padding: 0.7rem;
    padding-right: 1.7rem;
    border: 1px, solid, #000000;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav-list a:hover {
    text-decoration: underline;
}

.nav-list a:visited {
    text-decoration: underline;
}

.hero {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100vw; 
    height: auto;
    position: relative;
    left: 50%;
    margin-left: -50vw; 
}

.hero-img {
    width: 50%;
    height: 660px;   
}

.hero-img img {
    position: absolute; 
    top: 0;
    left: 0;
    width: 50%;   
    height: 100%;  
    object-fit: cover; 
    object-position: 65% 20%;
}

.hero-content {
    width: 50%;
    height: auto;
}

.hero-text {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    text-align: left; 
    max-width: 93%;
    word-wrap: break-word;
    gap: 1.5rem;
}

.hero-text h1 {
    font-size: 70px;
    margin: 0;
}

.hero-text p {
    width: 98%;
    margin: 0; 
}

.hero a {
    font-size: 14px;
}

.button-hero {
    width: 121px;
    padding: 0.6rem;
    padding-left: -1rem;
    padding-right: 0;
    background-color: #ffffff;
    border: 1px solid #000000; /* Исправлен синтаксис border */
    border-radius: 2rem;
    transition: background-color 0.4s ease, transform 0.4s ease;
}

.button-hero:hover {
    color: #ffffff;
    background-color: #000000;
}

.services a {
    font-size: 14px;
}

.services {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
}

.services h2 {
    font-size: 56px;
}

.service {
    display: flex;
    padding-top: 0.5rem;
    padding-bottom: 2rem;
}

.service-title {
    width: 50%;
}

.service-title h3 {
    font-size: 23px;
}

.service-content {
    width: 50%;
}

.button-service {
    padding: 0.4rem 4rem 0.4rem 4rem;
    background-color: #ffffff;
    border: 1px, solid, #000000;
    border-radius: 2rem;
    transition: background-color 0.4s ease, transform 0.4s ease;
}

.button-service:hover {
    color: #ffffff;
    background-color: #000000;
}

hr {
    margin: 0;
    width: 100%;
    height: 0.1px;
    border: none;
    background-color: rgb(194, 183, 194);
}

.reviews {
    text-align: center;
}

.reviews h2 {
    margin-top: 10rem;
    margin-bottom: 4rem;
    font-size: 56px;
}

.review-block {
    display: flex;
    flex-direction: row;
    gap: 1.8rem;
}

.review-img {
    width: 100%;
    margin-bottom: 1.5rem;
}

.review-img img {
    width: 55%;
    height: 100%;
    border-radius: 100%;
    object-position: center;
    object-fit: cover;
}

.review {
    width: 100%;
    height: 382px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2.4rem 0 2.4rem;
}

.review .name {
    margin: 0;
}

.contacts {
    text-align: center;
    margin-bottom: 7rem;
}

.contacts h2 {
    font-size: 56px;
    margin-top: 6rem;
}

.contact-text {
    display: flex;
    justify-content: center;
    gap: 8rem;
}

.address {
    width: 230px;
    height: auto;
    text-align: left;
}

.address h3 {
    font-size: 23px;
}

.phone-email {
    text-align: left;
    padding-top: 3.5rem ;
}

footer {
    text-align: center;
    padding: 1.5rem;
}

footer p {
    font-size: 13px;
}

.my-team {
    text-align: center;
    margin-bottom: 2rem;
}

.my-team h2 {
    margin: 0;
    margin-bottom: 6rem;
    font-size: 56px;
}

.my-team-block {
    display: flex;
    width: 50%;
    flex-direction: row;
    justify-content: center;
    margin: 0 auto;
}

.team-item-img {
    width: 11rem;
    height: 11rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.team-item-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    object-position: center;
    object-fit: cover;
}

.team-item {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-item .name {
    margin: 0;
}

.team-item-name {
    font-size: 23px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.team-item p {
    margin: 0;
}

.hero-about-us {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    height: auto;
    padding: 2.2rem;
    background-image: url('https://jaku.nextweb.ua/wp-content/themes/artem-kudliuk-amz-consulting/assets/img/hero-img-about-us.avif');
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-about-us-block {
    display: flex;
    width: 80%;
    height: 100%;
    margin: 0 auto;
    gap: 2rem;
}

.hero-about-us-text h1 {
    font-size: 56px;
    text-align: center;
    margin: 1rem;
}

.hero-about-us-img {
    width: 30%;
}

.hero-about-us-img img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.hero-about-us-content {
    width: 60%;
    padding: 1rem;
}

.slider-block {
    display: flex;
    max-width: none;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    height: 100%;
    box-sizing: border-box;
    justify-content: space-between;
}

.slider {
    width: 60%;
    height: auto;
    margin: 0 auto;
    margin-top: 5rem;
    margin-left: 7rem;
    display: none;
}

.slider.displaySlide {
    display: block;
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .5}
    to {opacity: 1;}
}

.slider h2 {
    margin: 0;
    font-size: 29px;
}

.slider-p-span {
    margin: 0;
}

.slider-block-img {
    width: 30%;
}

.slider-block-img img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
}

.slider-buttons {
    display: flex;
    position: absolute;
    top: 6%;
    right: 31%;
    gap: 0.7rem;
}

.slider-buttons a {
    width: 2rem;
    height: 2rem;
    border: 1px solid #000000;
    background-color: transparent;
    border-radius: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hero-prices {
    text-align: center;
}

.hero-prices h3 {
    font-size: 55px;
    margin: 0;
    line-height: 77px;
}

.hero-prices h4 {
    font-size: 37px;
    line-height: 60px;
    margin: 0;
    margin-top: 2rem;
}

.price-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.price-item {
    width: 30%;
    min-height: 300px;
    height: auto;
    box-sizing: border-box;
    background-color: #f6f6f6;
    padding: 2.2rem;
    line-height: 1.6rem;
}

.price-item h3 {
    font-size: 19px;
    text-align: center;
}

.button-bottom-prices-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-bottom-prices {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.button-bottom-prices a {
    font-size: 20px;
    font-weight: bold;
    border: 3px #000000 solid;
    border-radius: 1.5rem;
    padding: 0.7rem 4rem;
    transition: background-color 0.4s ease, transform 0.4s ease;
}

.button-bottom-prices a:hover {
    background-color: #000000;
    color: #ffffff;
}

.hero-contacts {
    margin-top: 5rem;
    text-align: center;
}

.hero-contacts h2 {
    font-size: 56px;
    margin: 0;
}

.form-contacts-section {
    background-image: url('https://jaku.nextweb.ua/wp-content/themes/artem-kudliuk-amz-consulting/assets/img/hero-img-about-us.avif');
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    margin-top: 5.5rem;
    display: flex;
}

.form-block {
    position: relative;
    margin: 3% 20% 0 20%;
    height: auto;
    padding: 1rem 2rem;
    background-color: #ffffff;
}

.form-block h1 {
    font-size: 28px;
}

.form-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.form-group {   
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
}

.form-group p {
    margin: 0;
}

.form-group.full-width {
    width: 100%;
} 

.form-group label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.form-group input, .form-group textarea {
    max-width: 100%;
    width: 100%;
    margin: 0;
    border: none;
    border-bottom: 1px #00000080 solid;
    padding: 0.5rem;
    outline: none;
}

.form-group textarea {
    height: 5rem;
    resize: none;
}

.button-form {
    position: relative;
    bottom: -100%;
    margin: 0;
    padding: 0.5rem 7rem 0.5rem 7rem;
    background-color: #ffffff;
    border: 1px, solid, #000000;
    border-radius: 2rem;
    transition: background-color 0.4s ease, transform 0.4s ease;
}

.button-form:hover {
    color: #ffffff;
    background-color: #000000;
}

.contacts-contacts {
    text-align: center;
    margin-top: 7rem;
    margin-bottom: 5rem;
}

.contact-text-contacts {
    display: flex;
    justify-content: center;
    text-align: left;
    gap: 3rem;
}

.contact-text-contacts .text {
    width: 30%;
}

.contact-text-contacts .address {
    width: 30%;
}

.contact-text-contacts .address h3 {
    font-size: 18px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border: none;
    margin: 0;
}

.polylang_langswitcher * {
    text-transform: uppercase !important;
}

.dropdown {
    position: relative;
}

.dropdown .arrow {
    position: absolute;
    top: 20px;
    left: 20px;
}

.dropdown-open {
    position: relative;
}
  
.dropdown-open svg {
    position: absolute;
    width: 16px;
    right: 6px;
    top: 18px;
    margin: auto 0;
}

.dropdown-open, .dropdown-content a {
    padding: .75rem 3rem .75rem 2rem;
    border: 1px solid #000;
    background-color: #fff;
    outline: none;
    cursor: pointer;
    display: block;
    text-align: center;
}

.dropdown-content a {
    border-top: none;
    padding: .75rem 0;
    width: 100%;
    cursor: pointer;
}

.dropdown-content {
    position: absolute;
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    z-index: 10;
}

.dropdown.opened .dropdown-content {
    display: block;
}

.form-block p {
    line-height: 1rem;
    margin: 0;
}

@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 47px;
    }

    .button-service {
        padding: 0.4rem 2.5rem 0.4rem 2.5rem;
    }

    .services h2 {
        font-size: 38px;
    }

    .service-title h3 {
        font-size: 18px;
    }

    .hero-about-us-text h1 {
        font-size: 38px;
    }

    .hero-about-us-block {
        width: 100%;
    }

    .hero-about-us {
        padding: 3rem;
    }

    .slider {
        margin: 3rem;
        height: 100%;
    }

    .my-team-block {
        width: 70%;
    }

    .hero-prices h3 {
        font-size: 45px;
    }

    .price-item {
        padding: 0.5rem;
    }

    .hero-prices h4 {
        font-size: 30px;
    }

    .form-block {
        width: 65%;
        margin: 4rem auto;
        padding: 1rem 2rem;
    }
}

@media (max-width: 1024px) {
    .form-block {
        width: 80%;
    }
    .menu-nav-list {
        display: none;
    }

    .open-modal {
        position: relative;
        right: 0;
        width: 3.5rem;
        height: 60%;
        display: block;
        border: none;
        background-color: transparent;
        cursor: pointer;
    }

    .open-modal hr {
        width: 90%;
        height: 3px;
        margin: 0.5rem;
        background-color: #000000;
        cursor: pointer;
    }

    .close-modal {
        position: relative;
        top: -15%;
        right: -40%;
    }

    .cl-btn-2 {
        margin: 20px;
        display: flex;
        justify-content: center;
    }
    .cl-btn-2 div {
        cursor: pointer;
        position: relative;  
        height: 68px;
        width: 50px;
    }
    .cl-btn-2 .leftright {
        height: 2px;
        width: 35px;
        position: absolute;
        margin-top: 24px;
        background-color: #000000;
        border-radius: 2px;
        transform: rotate(45deg);
        transition: all .3s ease-in;
    }
    .cl-btn-2 .rightleft {
        height: 2px;
        width: 35px;
        position: absolute;
        margin-top: 24px;
        background-color: #000000;
        border-radius: 2px;
        transform: rotate(-45deg);
        transition: all .3s ease-in;
    }
    .cl-btn-2 .close-btn {
        margin: 54px 0 0 -5px;
        position: absolute;
        color: #337AB7;
        font-family: Tahoma, sans-serif;
        font-size: 13px;
        font-weight: bold;
        text-transform: uppercase;
        transition: all .3s ease-in;
        opacity: 0; 
    }
    .cl-btn-2 div:hover .leftright {
        transform: rotate(-45deg);
        background-color: #000;
    }
    .cl-btn-2 div:hover .rightleft {
        transform: rotate(45deg);
        background-color: #000;
    }
    .cl-btn-2 div:hover .close-btn {
        opacity: 1;
    }

    .slider-buttons a {
        font-size: 14px;
    }
}

@media (max-width: 770px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .button-service {
        padding: 0.4rem 1rem 0.4rem 1rem;
    }

    .services h2 {
        font-size: 28px;
    }

    .hero {
        height: 550px;
    }

    .hero-img {
        width: 50%;
        height: 100%;
    }

    .hero-about-us-text h1 {
        text-align: left;
        margin: 0;
        font-size: 28px;
    }

    .hero-about-us-text p {
        margin: 0;
        margin-top: 1rem;
        font-size: 15px;
    }
    
    .hero-about-us-content {
        width: 50%;
        margin-left: auto;
        padding: 0;
    }

    .hero-about-us-img {
        display: flex;
        width: 50%;
        align-items: center;
    }

    .hero-about-us-block {
        height: 100%;
    }

    .slider-buttons {
        right: 25%;
    }

    .hero-prices h3 {
        font-size: 30px;
        line-height: 3rem;
    }

    .hero-prices h4 {
        font-size: 20px;
        line-height: 2rem;
    }

    .hero-prices {
        margin: 3rem;
    }

    .button-bottom-prices a {
        padding: 0.5rem 3rem;
        font-size: 12px;
        border: 1px #000000 solid;
        border-radius: 1rem;
    }

    .price-items {
        margin-bottom: 4rem;
    }

    .price-item {
        width: 40%;
    }

    .contact-text-contacts {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contacts-contacts {
        margin-bottom: 2rem;
    }

    .contact-text-contacts .text {
        width: 85%;
    }

    .contact-text-contacts .address {
        width: 85%;
        text-align: center;
    }

    .hero-contacts h2 {
        font-size: 35px;
    }
}

@media (max-width: 748px) {
    body {
        margin: 0;
    }

    header {
        padding: 0 2rem;
    }

    .services, .reviews, .contacts {
        margin: 0 2rem;
    }
    .hero {
        position: unset;
        flex-direction: column;
        height: 100%;
        width: 100%;
        margin: 0;
    }
    
    .hero-img {
        width: 100%;
        height: 30%;    
    }
    
    .hero-content {
        width: 100%;
    }

    .hero-text {
        padding: 3rem 2rem;
    }

    .services {
        margin-top: 3rem;
    }

    .service {
        flex-direction: column;
    }

    .services h2 {
        margin-bottom: 3rem;
    }

    .service-content {
        width: 100%;
    }

    .service-title h3 {
        padding-top: 1.5rem;
        margin: 0;
    }

    .services a {
        padding: 0.4rem 4rem;
    }

    .reviews h2 {
        font-size: 28px;
        margin-bottom: 2.2rem;
    }

    .hero-img img {
        position: unset;
        width: 100%; 
        height: 60vh;  
        object-fit: cover;
    }

    .review-block {
        flex-direction: column;
    }

    .review {
        width: unset;
        margin-bottom: 3.5rem;
    }

    .contact-text {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .address {
        text-align: center;
    }

    .phone-email {
        text-align: center;
    }

    .review p {
        margin-top: 2rem;
        width: 90%;
    }

    .review-img img {
        width: 50%;
    }

    .hero-about-us-block {
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
        padding-bottom: 3rem;
    }

    .hero-about-us-text h1 {
        margin: 1rem 0 2.5rem 0;
    }

    .hero-about-us-img {
        width: 100%;
        height: auto;
    }

    .hero-about-us-content {
        width: 100%;
    }

    .hero-about-us {
        padding-bottom: 0;
    }

    .slider-block {
        flex-direction: column;
    }

    .my-team-block {
        flex-direction: column;
    }

    .team-item {
        margin-bottom: 8rem;
    }

    .slider-buttons {
        right: 8%;
        top: 3%;
    }

    .slider {
        min-height: 250px;
        margin-top: 5rem;
    }

    .slider-block-img {
        width: 100%;
        height: 360px;
    }

    .slider-block-img img {
        width: 100%;   
        height: 80%;  
        object-fit: cover; 
        object-position: center;
    }

    .my-team h2 {
        font-size: 28px;
    }

    .hero-about-us-text p {
        padding-bottom: 1rem;
    }

    .price-item {
        width: 40%;
    }

    .button-bottom-prices a {
        padding: 0.8rem 4rem;
        font-size: 14px;
    }

    .language-switcher {
        left: unset;
        
    }

}

@media (max-width: 612px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 500px) {
    .price-item {
        width: 80%; 
    }

    .hero-contacts {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .hero-contacts h2 {
        font-size: 26px;
    }

    .form-contacts-section {
        margin-top: 2rem;
    }

    .button-form {
        padding: 0.5rem 3rem;
    }

    .contact-text-contacts .address h3 {
        font-size: 15px;
    }

    header {
        padding: 1rem;
    }

    .slider-buttons a {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .hero-prices h3 {
        font-size: 25px;
        line-height: 2.3rem;
    }
}