@import "reset.css";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;800&display=swap');
@import "swiper.css";

body {
    background-color: #000;
    font-family: 'Montserrat', sans-serif;
}

.thank-you-message {
    text-align: center;
    padding: 2rem 0;
}

.thank-you-message h3 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.thank-you-message p {
    color: #666;
    margin-bottom: -30px;
}

.submit-another {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

section.homeBlock {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    height: 100vh;
    background: url(bg.png) no-repeat center center / cover;
    margin-bottom: 20px;
    position: relative;
}

.showOnMobile {
    display: none;
}

header {
    width: 1100px;
    display: flex;
    align-items: center;
    margin-top: 50px;
}

.menu {
    width: 100%;
    display: flex;
    align-items: center;
}

.menu ul {
    list-style: none;
    display: flex;
    width: 100%;
    padding: 0;
    margin: 0;
}

.menu ul li {
    width: 100%;
}

.menu a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: underline;
    color: #3C3E44;
    transition: color 0.3s ease;
    font-size: 18px;
}

.menu a:hover {
    color: #FF4C4C;
}

.menu.left {
    text-align: left;
}

.menu.right {
    text-align: right;
}

.logo {
    margin-bottom: -60px;
}

.logo img {
    max-height: 200px;
}

.hamburger-menu {
    display: none;
    font-size: 2rem;
    position: absolute;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
    color: #373737;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu ul {
    text-align: center;
}

.mobile-menu li {
    margin: 20px 0;
}

.mobile-menu a {
    color: white;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #FF4C4C;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.flex-row {
    display: flex;
}

.servicesBlock {
    position: relative;
    color: #fff;
    padding: 0 0 50px;
}

.sliderBlock {
    padding-bottom: 60px;
}

.servicesBlock::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-image: url("services-bg.png");
    opacity: 0.4;
    background-size: cover;
    pointer-events: none;
    z-index: -1;
}

.servicesBlock h1 {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    margin-bottom: 40px;
}

.service-blocks-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}

.servicesBlock::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: url(./red-shadow.png);
    background-size: cover;
    background-position: 50%;
    z-index: -1;
    opacity: 0.5;
}

.service-block {
    width: calc(50% - 15px);
    background: rgb(26 26 26 / 50%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.servicesBlock h1 {
    font-size: 60px;
    font-weight: 800;
    font-style: italic;
}

.servicesBlock h1 img {
    width: 150px;
}

.service-block-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 700;
}

.counter {
    font-family: 'Montserrat', sans-serif;
    font-size: 37px;
    margin-bottom: 20px;
    font-weight: 700;
    background-color: #ff0000;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 26px;
}

.counter span {
    font-style: italic;
    font-size: 34px;
    text-indent: -4px;
}

.service-desc {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
    font-style: italic;
}

.service-images-block {
    display: flex;
    gap: 5%;
    margin-top: auto;
}

.service-images-block .image-wrapper {
    width: 30%;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-images-block .image-wrapper::before {
    content: '';
    display: block;
    padding-bottom: 133.33%;
}

.service-images-block .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.service-images-block .image-wrapper:hover {
    transform: scale(1.02);
}

.bmw-apr {
    margin-top: 34px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(255, 76, 76, 1) 50%, rgba(255, 0, 0, 1) 100%);
    display: flex;
    border-radius: 10px;
}

.bmw-apr img {
    width: 100%;
}

.block-last {
    border: 2px solid #2B2A2A;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 20px;
    padding: 30px;
    background: url(./relevant-bg.png) 50% 135%;
    background-size: cover;
    justify-content: flex-end;
    align-items: center;
    display: flex;
    overflow: hidden;
    position: relative;
}

.display-block {
    margin-bottom: 20px;
    margin-top: 20px;
}

.block-last::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    z-index: 0;
}

.block-last h1 {
    font-size: 36px;
    font-style: italic;
    text-align: center;
}

.block-last-desc {
    font-size: 20px;
    font-style: italic;
    text-align: center;
    font-weight: 400;
}

.signup-btn {
    margin-top: 40px;
    font-size: 22px;
    cursor: pointer;
    background: linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(255, 76, 76, 1) 50%, rgba(255, 0, 0, 1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-style: italic;
}

.signup-btn span {
    color: #fff;
}

.signup-btn img {
    width: 36px;
    margin-left: 16px;
}

.container-flex {
    display: flex;
}

.descriptionBlock {
    color: #fff;
    font-style: italic;
    margin-top: 100px;
    padding: 0 15px;
}

.container-flex > div.description-left-block {
    width: 50%;
}

.container-flex > div.description-left-block img {
    width: 85%;
}

.container-flex > div.description-right-block {
    width: 50%;
    font-size: 20px;
}

.container-flex > div.description-right-block img.small-logo {
    width: 85%;
}

.display-block {
    display: block;
}

.small-block-buttons {
    text-align: left;
    background: linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(255, 76, 76, 1) 50%, rgba(255, 0, 0, 1) 100%);
    display: inline-block;
    font-weight: 700;
    padding: 7px 20px;
    margin-right: 2px;
    margin-top: 10px;
    border-radius: 8px;
}

.description-hero {
    font-weight: 400;
    margin-top: 15px;
    font-size: 20px;
    margin-bottom: 30px;
}

.simple-circle {
    background-color: #ff0000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 10px;
}

.hr-svg {
    width: 100%;
    text-align: center;
    margin-top: 130px;
}

.hr-svg img {
    width: 800px;
    max-width: 100%;
}

.customerResultsBlock-wrapper {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.customerResultsBlock {
    position: relative;
}

.customerResultsBlock::before {
    content: "";
    background-image: url("./results-bg.png");
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    opacity: 0.1;
}

.customerResultsBlock::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    pointer-events: none;
    background-image: url(./red-shadow.png);
    background-size: cover;
    background-position: 50%;
    z-index: -1;
    top: 0;
}

.customer-result-wrapper {
    width: calc(33.333% - 15px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    margin-bottom: 40px;
}

.costumer-result {
    background: rgb(26 26 26 / 70%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    padding-bottom: 30px;
    font-style: italic;
    border-radius: 20px;
    height: 100%;
}

.costumer-result .inner {
    text-align: center;
    margin-top: -60px;
}

.small-auto-title {
    background: linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(255, 76, 76, 1) 50%, rgba(255, 0, 0, 1) 100%);
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 25px;
}

.hemisphere img {
    width: 50%;
    display: block;
    margin: 0 auto;
}

.hemisphere {
    width: 100%;
}

.costumer-result img {
    width: 80%;
}

.small-auto-desc span {
    color: #ff0000;
}

.service-block-title::before {
    content: "1";

}

.customer-result-title {
    font-size: 60px;
    color: #fff;
    font-weight: 800;
    font-style: italic;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
    position: relative;
}

.customer-result-title::before {
    content: "";
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.customer-result-title span {
    color: #ff0000;
}

.badge-gray {
    width: 80%;
    margin-top: 30px;
}

.questionsBlock {
    color: #fff;
    font-style: italic;
    margin-top: 80px;
}

.questionsOuter {
    background-color: #121010;
    border: 2px solid #373737;
    padding: 45px 40px;
    margin: 12px;
    border-radius: 12px;
}

.questions-block-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
}

.questions-desc {
    display: flex;
    align-items: baseline;
}

.questions-desc p {
    font-size: 22px;
    padding-left: 10px;
}

input.question-input {
    border: 2px solid #616060;
    outline: none;
    background-color: #121010;
    width: 100%;
    color: #fff;
    font-size: 17px;
    border-radius: 8PX;
    padding: 25px 0 25px 20px;
}

input.question-input.last {
    padding: 25px;
    border: 2px solid transparent;
    background: linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(255, 76, 76, 1) 50%, rgba(255, 0, 0, 1) 100%);
    font-weight: 800;
    font-style: italic;
    font-size: 24px;
    position: relative;
    cursor: pointer;
}

.inputs-row::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
}

input::placeholder {
    font-style: italic;
}

.wrapp {
    width: 100%;
    position: relative;
}

.wrapp img {
    position: absolute;
    bottom: 0;
    width: 75%;
    right: 20px;
}

.inputs-row {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    margin-top: 40px;
}

.contactsBlock {
    color: #fff;
    font-style: italic;
    font-weight: 700;
    margin-top: 110px;
    padding-bottom: 100px;
}

.contactsBlock-title {
    font-size: 50px;
    font-weight: 700;
}

.badge-red img {
    padding-right: 19px;
    width: 140px;
    margin-top: 8px;
}

.contactsBlock-title span {
    color: #FF0000;
}

.contactsBlockOuter {
    display: flex;
}

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

.desc-wrp img {
    width: 36px;
    height: 36px;
    margin-right: 15px;
}

.desc-wrp {
    margin-bottom: 20px;
}

.first-ttl {
    margin-bottom: 20px;
    margin-top: 15px;
}

.contactsBlockOuter {
    padding: 15px;
}

.contactMap {
    width: 100%;
    text-align: right;
}

.contactMap iframe {
    width: 80%;
    height: 100%;
    margin: 0 auto;
    border: 2px solid #ff0000;
    border-radius: 6px;
}

.details-btn {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22px;
    cursor: pointer;
    background: linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(255, 76, 76, 1) 50%, rgba(255, 0, 0, 1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-style: italic;
}

.details-btn span {
    color: #fff;
}

.details-btn img {
    width: 36px;
    margin-left: 16px;
}


.service-block-wrapper {
    counter-reset: service-counter; /* Создаем счётчик */
}

.service-block {
    counter-increment: service-counter; /* Увеличиваем счётчик для каждого блока */
}

.service-block-title {
    display: flex;
    align-items: center;
    gap: 10px; /* Отступ между номером и текстом */
}

.service-block-title::before {
    content: counter(service-counter); /* Выводим номер */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: red;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
}

.service-block-title::before {
    display: none;
}