@import url("header-footer.css");

@font-face {
    font-family: 'Jost-Regular';
    src: url('/fonts/Jost-Regular.ttf'),
    url('/fonts/Jost-Regular.ttf'),
}
@font-face {
    font-family: 'Jost-Medium';
    src: url('/fonts/Jost-Medium.ttf'),
    url('/fonts/Lato-Medium.ttf'),
}
@font-face {
    font-family: 'Lato-Regular';
    src: url('/fonts/Lato-Regular.ttf'),
    url('/fonts/Lato-Regular.ttf'),
}
@font-face {
    font-family: 'Lato-Bold';
    src: url('/fonts/Lato-Bold.ttf'),
    url('/fonts/Lato-Bold.ttf'),
}

* {
    box-sizing: border-box;
}
:root {
    --main: #1E1E1E;
    --body: #F3F7F6;
    --Latoreg: 'Lato-Regular', sans-serif;
    --Latobold: 'Lato-Bold', sans-serif;
    --Jostreg: 'Jost-Regular', sans-serif;
    --Jostmed: 'Jost-Medium', sans-serif;
    --transition: all 0.2s ease-in-out;
}
body {
    background-color: var(--body);
    font-family: var(--Latoreg);
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 20px;
    color: var(--main);

}
body::-webkit-scrollbar-track {
    background-color: #535353;
}
body::-webkit-scrollbar {
    width: 13px;
}
body::-webkit-scrollbar-thumb {
    background-color: #18ae72;
}
h1, h2, h3 {
    margin-top: 0px!important;
}
a {
    text-decoration: none;
}
p {
    line-height: 1.4;
}
.button {
    padding: 15px 30px;
    border-radius: 40px;
    text-transform: uppercase;
    letter-spacing: 1.4;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    white-space: nowrap;
    transition: var(--transition);
    font-family: var(--Latobold);
}
.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.main-button {
    background: var(--main);
    color: white;
    border: 1px solid var(--main);
}
.main-button:hover {
    background: white;
    color: var(--main);
    transition: var(--transition);
}
.button-secondary {
    border: 1px solid var(--main);
}
.tag {
    padding: 10px 20px!important;
    font-family: var(--Latoreg)!important;
}

.mt30 {
    margin-top: 30px;
}
.mt60 {
    margin-top: 60px;
}

/* hero ===================== */
.hero-content {
    background: url(../img/hero.jpg) no-repeat center center / cover;
    height: 690px;
    border-radius: 40px;
    overflow: hidden;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: 114px;
}
.hero-content-title {
    font-size: 52px;
    text-transform: uppercase;
    font-family: var(--Jostreg);
}
.hero-button {
    background-color: white;
    color: black;
    display: inline-flex;
    margin-top: 28px;
    padding: 8px 8px 8px 20px !important;
    align-items: center;
    gap: 14px;
}
.hero-button > div {
    font-family: var(--Latobold);
}
.hero-button:hover {
    background-color: var(--main);
    color: white;
    transition: var(--transition);
}
.hero-button:hover svg {
    fill: white;
}

/* section ============= */
section {
    padding: 20px 0;
}
.container {
    max-width: 1320px;
    width: 90%;
    margin: 0 auto;
}
.title {
    font-size: 32px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-family: var(--Jostmed);
}
.wrapper {
    display: grid;
    gap: 20px; 
    margin: 0 auto;
}
.section-image {
    width: 100%;
    max-width: 540px;
    overflow: hidden;
    border-radius: 40px;
}
.section-content {
    background: white;
    border-radius: 40px;
    padding: 60px;
}
.section-content p {
    margin-top: 0;
}
.section-content p:last-child {
    margin-bottom: 0!important;
}

/* about ===========================*/
.about-wrapper {
    grid-template-columns: 40% 1fr;
}
.about-image {
    background: url(../img/about.jpg) no-repeat center center / cover;
}

/* info ===================== */
.info-wrapper {
    grid-template-columns: 1fr 40% ;
}
.info-image{
    background: url(../img/info.jpg) no-repeat center center / cover;
}
.info-image-ds{
    background: url(../img/ds-image.jpg) no-repeat center center / cover;
}
.info-image-ms{
    background: url(../img/ms-image.jpg) no-repeat center center / cover;
}
/* slider =====================*/
.slider-block {
    position: relative;
    padding: 20px 0;
}
.slider-image {
    margin: 0 10px;
    border-radius: 30px;
    overflow: hidden;
}
.slick-prev, .slick-next {
    background-color: #ddd; /* Серый фон */
    color: #333; /* Тёмно-серый текст */
    border: none; /* Убрать границу */
    border-radius: 5px; /* Скруглённые края */
    padding: 10px 20px; /* Отступы вокруг текста */
    cursor: pointer; /* Курсор в виде указателя */
    outline: none; /* Убрать контур при фокусе */
}
.slick-prev:hover, .slick-next:hover {
    background-color: #bbb; /* Светлее при наведении */
}
.slick-prev {
    position: absolute;
    left: 10px; /* Отступ слева */
    top: 50%; /* Центрировать по вертикали */
    transform: translateY(-50%); /* Сдвиг для точного центрирования */
}
.slick-next {
    position: absolute;
    right: 10px; /* Отступ справа */
    top: 50%; /* Центрировать по вертикали */
    transform: translateY(-50%); /* Сдвиг для точного центрирования */
}

/* partners ===============================*/
.partners {
    background: white;
    border-radius: 40px;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.partners-logo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

/* form  */
#requestForm {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

input {
    width: 100%;
    padding: 20px 14px;
    border: none;
    background: #efefef;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 16px; /* Увеличиваем размер шрифта */
}

select {
    width: 100%;
    padding: 20px 14px;
    border: none;
    background: #efefef;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 16px; /* Увеличиваем размер шрифта */
}

label {
    font-size: 16px;
    color: var(--main);
}

.form-informer {
    font-size: 12px;
    margin-bottom: 12px;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px; /* Увеличиваем размер шрифта */
}

button:hover {
    background-color: #45a049;
}

#successMessage {
    text-align: center;
    color: green;
    font-size: 18px;
    display: none;
}

/* Добавляем медиа-запросы для мобильных устройств */
@media (max-width: 600px) {
    input, select, button {
        font-size: 16px; /* Увеличиваем размер шрифта на мобильных устройствах */
    }
}

/* modal =======================*/
.modal {
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    top: 0;
    display: none;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.5s;
    backdrop-filter: blur(10px);
}
.modal-show {
    display: flex;
    opacity: 1;
}
.modal-hide {
    opacity: 0;
}
.modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    border-radius: 30px;
    padding: 30px;
    transform: scale(0.7);
    transition: transform 0.5s, opacity 0.5s;
    opacity: 0;
}
.modal-content-active {
    transform: scale(1);
    opacity: 1;
}
.modal-content .modal-close {
    position: absolute;
    cursor: pointer;
    top: -40px;
    right: 0;
    height: 20px;
}

@media (max-width: 1024px) {
    .about-image {
        height: 80%;
    }
    .info-image {
        height: 60%;
    }
    .section-content, .hero-content {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    .hero-content-title {
        font-size: 34px;
    }
    .section-content, .hero-content {
        padding: 30px;
    }
    .about-image {
        height: 240px;
    }
    .info-image {
        height: 530px;
    }
    .about-wrapper, .info-wrapper {
        grid-template-columns: 1fr;
    }
    .title {
        font-size: 26px;
        font-weight: 500;
    }
    body {
        font-size: 16px;
    }
}