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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "IBM Plex Sans", sans-serif;
    color: #141414;
}

:root {
    --secondary-color: #4BA7E8;
    --primary-color: #0E2B6E;
    --default-gray: #F7F7F7;
}

/*header*/

.header {
    background-color: #FAFDFF;
    padding: 35px 0 65px;
}

.header .container {
    display: grid;
    grid-template-columns: 182px 1fr 117px;
    justify-items: center;
    align-items: center;
}

.header-burger {
    display: none;
}
.menu ul {
    display: flex;
    max-width: 705px;
    justify-content: space-between;
    gap: 40px;
}

.menu ul li {
    list-style: none;
}

.menu a {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #141414;
    text-align: left;
    font-size: 16px;
    transition-duration: 0.3s;
}

.menu a:hover {
    color: var(--secondary-color);
}

.menu svg {
    margin-left: 10px;
}

.languages, .languages form {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.languages a, .languages button {
    text-decoration: none;
    border: none;
    color: #141414;
    background: none;
    font-size: 20px;
    font-family: Barlow, sans-serif;
    cursor: pointer;
}

.languages .languages-active {
    color: #4BA7E8;
    font-weight: 600;
}

.about {
    position: relative;
}

.about-window {
    position: absolute;
    top: 50px;
    left: -10px;
    display: grid;
    grid-template-columns: 1fr;
    width: 110px;
    height: 165px;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(102, 102, 102, 0.1);
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
    z-index: 5;
}

.about:hover .about-window {
    visibility: visible;
    opacity: 1;
    transition-delay: 0.1s;
}

.about-window a {
    text-decoration: none;
    transition-duration: 0.3s;
    cursor: pointer;
}

.about-window a:hover {
    color: var(--secondary-color);
}

/*main*/

.container {
    max-width: 1280px;
    margin: 0 auto;
}

/*first block on a page, without title*/
.main-info {
    background-color: #F7F7F7;
    padding: 15px 40px 40px;
}

.main-title {
    font-size: 50px;
    font-weight: 600;
    color: var(--primary-color);
}

/*block with title*/
.info-title {
    padding: 95px 70px;
    background-color: #F7F7F7;
    max-width: 515px;
}

.title-h3 {
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 30px;
    color: var(--primary-color);
}

.text {
    color: #141414;
    font-size: 18px;
    line-height: 150%;
}

/*button*/

.button {
    font-size: 15px;
    cursor: pointer;
    font-family: "IBM Plex Sans", sans-serif;
    letter-spacing: 0.3px;
    transition-duration: 0.3s;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.button-blue {
    height: 55px;
    width: 150px;
    background-color: var(--primary-color);
    color: #fff;
    border: 0;
}

.button-blue:hover {
    opacity: 0.699999988079071;
    background: var(--primary-color, #0E2B6E);
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);

}

.button-transparent {
    height: 45px;
    width: 140px;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background: var(--default-gray);
}

.button-transparent:hover {
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
    border: none;
    background-color: var(--primary-color);
    color: white;
}

/*button-light*/

.button-light {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;

    padding: 25px;
    flex-shrink: 0;
    border-top: 1px solid var(--secondary-color);
    border-right: 1px solid var(--secondary-color);
    border-left: 1px solid var(--secondary-color);
    border-bottom: none;
    background-color: var(--default-gray);
    opacity: 0.8;
    cursor: pointer;
    transition-duration: 0.3s;

    color: var(--primary-color, #0E2B6E);
    font-size: 25px;
    font-family: "IBM Plex Sans", sans-serif;
}

.button-light:hover {
    background-color: #e7e4e4;
}

.button-light.active {
    opacity: 0.8;
    background: var(--secondary-color, #4BA7E8);
    color: #FFF;
    transition-duration: 0.3s;
}

.button-light.active:hover {
    background-color: #3592d0;
}

/*slider*/
.arrow {
    position: absolute;
    top: calc(45%);
    transform: translateY(-50%);
    cursor: pointer;
}

.arrow svg {
    width: 10px;
    height: 20px;
}

.arrow-left {
    left: -26px;
}

.arrow-right {
    right: -26px;
}

/*divider*/

.divider .container {
    height: 6px;
    border-top: 1px solid #B3B3B3;
}

.divider-gray {
    background-color: var(--default-gray);
    width: 100%;
    height: 45px;
}

/*footer*/

.footer {
    background-color: var(--default-gray);
    padding: 64px 0;
    position: relative;
}

.footer .container {
    display: grid;
    grid-template-columns: 182px 1fr 130px;
    justify-items: center;
    align-items: center;
}

.licences {
    display: none;
}

.footer .about-window {
    position: absolute;
    top: -185px;
    left: -10px;
    display: grid;
    grid-template-columns: 1fr;
    width: 110px;
    height: 165px;
    background-color: var(--default-gray);
    padding: 10px;
    box-shadow: 0 4px 20px rgba(102, 102, 102, 0.1);
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
    z-index: 5;
}

.about-footer {
    position: relative;
}

.about-footer img {
    margin-left: 10px;
    transition-duration: 0.3s;
}

.about-footer:hover img {
    transform: rotate(180deg);
}

.about-footer:hover .about-window {
    visibility: visible;
    opacity: 1;
    transition-delay: 0.1s;
}

.social a {
    text-decoration: none;

}

.social img {
    height: 28px;
}

/*point*/

.point {
    padding: 84px 64px 54px;
    border: 1px solid var(--secondary-color, #4BA7E8);
    background: rgba(247, 247, 247, 0.6);
}

/*accordion*/

.accordion {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 40px 0;
}

.accordion .container .button-light:first-child {
    margin-top: 0;
}

.draft {
    background-color: var(--default-gray);
    padding: 35px 30px 10px;
    margin-top: 50px;
    border: 1px solid var(--secondary-color);
}

.draft-image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 492px;
    height: 395px;
    margin: 0 54px 35px 0;
    flex-shrink: 0;
    float: left;
}

.accordion .text {
    margin-bottom: 35px;
}

.accordion .text:last-child {
    margin-bottom: 25px;
}

.accordion .button-light {
    margin-top: 50px;
    width: 100%;
    font-size: 20px;
    border-bottom: 1px solid var(--secondary-color);
}

/*section "contacts"*/

.tel {
    text-decoration: none;
    display: block;
    color: #141414;
}

.mail {
    text-decoration: none;
    color: #141414;
}

.contacts .container {
    position: relative;
}

/*.first-pad*/

.first-pad {
    border-bottom: 1px solid #B3B3B3;
}

/*switch */

.switch {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.switch .button {
    width: 45px;
    height: 45px;
}

.switch .button.current-page {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    cursor: not-allowed;
}

.switch .button.ellipsis {
    background-color: var(--default-gray);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    cursor: default;
}

/*date*/

.date {
    margin-bottom: 20px;
    color: rgba(0, 0, 0, 0.49);
    font-size: 20px;
    line-height: 150%;
}

/*circles*/

.circles {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.circle.glide__bullet--active circle:first-child {
    fill: #4BA7E8;
}

.circle.glide__bullet--active circle:last-child {
    fill: #F7F7F7;
}

.circles svg {
    cursor: pointer;
}

.circles svg:hover {
    box-shadow: 2px 2px 4px 0 #0000004D;
    border-radius: 50%;
}

/*section "services"*/
.main-stance {
    padding: 50px 0 60px;
}

.stance {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin: 58px 0 160px;
}

.position {
    display: flex;
    background-color: var(--default-gray, #F7F7F7);
    border-top: 1px solid #B3B3B3;
    height: 365px;
    transition-duration: 0.3s;
}

.position:hover {
    box-shadow: 6px 6px 12px 0 rgba(0, 0, 0, 0.15);
}

.position-image {
    height: 364px;
    width: 470px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.position-info {
    padding: 28px 98px 28px 54px;
    display: flex;
    flex-direction: column;
}

.main-stance .title-h3 {
    text-align: left;
    margin-bottom: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 660px;
}

.position-info .text {
    position: relative;
    line-height: 1.5em;
    max-height: 4.5em;
    overflow: hidden;
    max-width: 660px;
    text-overflow: ellipsis;
    display: -webkit-box; /* Set as a flexible box container */
    display: -moz-box; /* For Firefox */
    -webkit-line-clamp: 3; /* Limit the content to 3 lines for WebKit */
    -moz-box-orient: vertical; /* Arrange box content vertically for Firefox */
    -webkit-box-orient: vertical;
}

.button {
    margin-top: auto;
}

.for_partners-image,
.group-image {
    display: flex;
}

input:focus, select:focus, textarea:focus {
    outline: 1px solid var(--secondary-color);
}

input.invalid, select.invalid, textarea.invalid {
    outline: 1px solid #bb1b1b;
    border: 1px solid #bb1b1b;
}

.extra-li {
    display: none;
}

.hidden-input {
    display: none;
}

.hidden {
    display: none;
}