@import url("https://fonts.googleapis.com/css2?family=Segoe+UI&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI";
}

:root {
    --blue-color: #003da6;
    --gray-color: #a0a0a0;
}

html {
    font-size: 16px !important;
}

::-webkit-scrollbar {
    width: 0px;
}

/* Header */
.header {
    background: rgba(241, 241, 245, 0.97);
    width: 90%;
    margin: 0 auto;
    position: fixed;
    border-radius: 200px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 13px 25px;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.for-adaptive {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    gap: 10px;
}

.ul {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    font-size: 0.8rem;
}

.nav a:hover {
    color: var(--blue-color);
}

.main-logo {
    width: 6rem;
    margin-top: 6px;
    image-rendering: -webkit-optimize-contrast;
}

.header-services {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 2px;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.icon-down {
    width: 12px;
    margin-top: 5px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.address {
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-txt {
    font-size: 0.8rem;
    width: 9rem;
}

.contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contacts-lan {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
}

.contacts .phone {
    color: white;
    background: var(--blue-color);
    height: 3rem;
    width: 10rem;
    border-radius: 500px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.burger-icon {
    width: 1.5rem;
}

.burger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 11rem;
    height: 3.5rem;
    border-radius: 100px;
    outline: none;
    border: none;
    gap: 8px;
    color: white;
    background-color: var(--blue-color);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.mobile-menu {
    display: none;
}

/* Dropdown menu */
.dropdown {
    position: relative;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 200%;
    left: -80%;
    background: white;
    list-style: none;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin: 0;
    min-width: 15rem;
    min-height: 8rem;
    z-index: 1000;
}

.dropdown-menu li {
    margin-bottom: 1rem;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu a {
    text-decoration: none;
    color: black;
    font-size: 0.9rem;
    display: block;
}

.dropdown-menu a:hover {
    color: #004aad;
}

/*main page*/
.hero {
    background: url("../images/main-img.jpg") no-repeat center center/cover;
    color: white;
    text-align: left;
    height: 37.5rem;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.hero-inner {
    width: 90%;
}

.hero-inner h1 {
    font-size: 2.9rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-inner p {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 700px;
}

.buttons {
    display: flex;
    gap: 15px;
}

.btn {
    height: 3.4rem;
    width: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 250px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.btn.blue {
    background: var(--blue-color);
    color: white;
}

.btn.gray {
    background: var(--gray-color);
    color: white;
}

/* services */
.offers {
    width: 100%;
    margin-bottom: 40px;
}

.offers-inner-container {
    width: 90%;
    margin: 0 auto;
}

.offers-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    align-items: center;
}

.offers-title {
    font-size: 2rem;
}

.offers-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    width: 100%;
}

.offers-card {
    background: #f0f0f0cb;
    border-radius: 30px;
    width: 24rem;
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offers-img {
    width: 100%;
    height: 17rem;
    object-fit: cover;
    border-radius: 35px;
    margin-bottom: 10px;
}

.offers-card:hover .offers-img {
    height: 14rem;
}

.offers-card-title {
    font-size: 1.2rem;
    color: var(--blue-color);
}

.offers-card-text {
    font-size: 1rem;
    margin: 10px 0;
    color: #333;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.offers-card-text:hover {
    -webkit-line-clamp: unset;
    height: auto;
}

.offers-card-info {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.offers-card:hover .offers-card-info {
    opacity: 1;
    max-height: 220px;
}

.offers-card-buttons {
    display: flex;
    gap: 10px;
    flex-direction: column;
    width: 100%;
}

.offers-btn {
    border-radius: 215px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offers-btn-blue {
    background: var(--blue-color);
    color: #fff;
}

.offers-btn-gray {
    background: var(--gray-color);
    color: #fff;
}

.offers-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.offers-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    color: var(--blue-color);
    border: 2px solid var(--blue-color);
    font-size: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.offers-arrow p {
    margin-bottom: 3.5px;
}

.offers-arrow:hover {
    background-color: var(--blue-color);
    color: white;
    border: none;
}

/* about us */

.about-section {
    margin-bottom: 40px;
}

.about-inner {
    width: 90%;
    margin: 0 auto;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: var(--blue-color);
    border-radius: 50%;
    margin-right: 10px;
}

.about-head-txt {
    display: flex;
    align-items: center;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 40px;
}

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

.about-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-description {
    font-size: 1rem;
    margin-bottom: 25px;
    max-width: 600px;
}

.about-btn {
    background: var(--blue-color);
    color: #fff;
    width: 20rem;
    height: 3.4rem;
    border: none;
    border-radius: 225px;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
}

.about-btn:hover {
    background: #003a96;
}

.about-image {
    max-width: 35rem;
    height: 26rem;
    border-radius: 35px;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: start;
    width: 100%;
    margin-bottom: 40px;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item h3 {
    font-size: 2.9rem;
    color: var(--blue-color);
    margin-bottom: 5px;
}

.about-logos {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1.2rem;
    scroll-behavior: smooth;
}

.about-logos::-webkit-scrollbar {
    display: none;
}

.logo-card {
    flex: 0 0 auto;
    display: block;
    scroll-snap-align: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.7;
    transform: scale(0.9);
}
.logo-card.active {
    transform: scale(1);
    opacity: 1;
}

.logo-card img {
    height: 12rem;
    width: 24rem;
    border-radius: 1.5rem;
    display: block;
    object-fit: cover;
}

.about-cta {
    text-align: center;
}

.cta-btn {
    background: var(--blue-color);
    color: #fff;
    width: 20rem;
    height: 3.4rem;
    border: none;
    border-radius: 225px;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
}

.cta-btn:hover {
    background: #003a96;
}

/* news section */
.news-section {
    margin-bottom: 40px;
}

.news-inner {
    width: 90%;
    margin: 0 auto;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.news-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-dot {
    width: 12px;
    height: 12px;
    background: var(--blue-color);
    border-radius: 50%;
}

.news-subtitle {
    color: var(--gray-color);
    font-size: 1rem;
}

.news-right .news-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-right {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 10px;
}

.news-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    background-color: var(--blue-color);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
}

.news-send p {
    margin-bottom: 5px;
}

.news-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.news-two-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.news-card {
    background: #f0f0f0;
    border-radius: 25px;
    overflow: hidden;
    width: 30rem;
    display: flex;
    flex-direction: column;
    padding: 15px;
    /* flex-wrap: wrap; */
}

.news-image {
    position: relative;
}

.news-image img {
    width: 100%;
    height: 17rem;
    display: block;
    border-radius: 25px;
    margin-bottom: 15px;
}

.news-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(160, 160, 160, 0.9);
    color: #fff;
    padding: 5px 16px;
    border-radius: 108px;
    font-size: 0.9rem;
    font-weight: 600;
}

.news-content {
    padding: 0px;
}

.news-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-card-text {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #444;
}

.news-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18rem;
    height: 2.8rem;
    background: var(--blue-color);
    color: #fff;
    border-radius: 125px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
}

.news-btn:hover {
    background: #002f7a;
}

/* quality page */
.quality-section {
    margin-bottom: 40px;
}

.quality-inner {
    width: 90%;
    margin: 0 auto;
}

.quality-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 35px;
}

.quality-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quality-dot {
    width: 12px;
    height: 12px;
    background: var(--blue-color);
    border-radius: 50%;
}

.quality-subtitle {
    font-size: 1rem;
    color: var(--gray-color);
}

.quality-title {
    font-weight: 700;
    font-size: 1.9rem;
}

.quality-logos {
    display: flex;
    justify-content: center;
}

.quality-img {
    width: 50rem;
    height: 15rem;
}

/* contact page */
.contact-section {
    position: relative;
    background: url("../images/big-img-min.jpg") no-repeat center center/cover;
    min-height: 48rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    color: #fff;
    margin-bottom: 40px;
}

.contact-container {
    width: 90%;
    margin: 0 auto;
    padding: 30px 0px;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    color: #003da6;
}

.contact-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 40rem;
}

.contact-select {
    width: 100%;
    padding: 15px 18px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    color: #666;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff url("../images/icon-down.svg") no-repeat right 12px center;
    background-size: 16px;
}

.contact-input {
    width: 100%;
    padding: 15px 18px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.contact-button {
    background: #003399;
    color: #fff;
    border: none;
    width: 28rem;
    height: 3.4rem;
    border-radius: 125px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
    outline: none;
}

.contact-agree {
    margin-top: 10px;
    font-size: 0.9rem;
    color: white;
}

/*company page*/
.company-contacts-section {
    margin-bottom: 40px;
}

.company-contacts-container {
    display: flex;
    width: 90%;
    margin: 0 auto;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.company-contacts-info {
    display: flex;
    flex-direction: column;
}

.company-contacts-title {
    font-size: 2rem;
    font-weight: 700;
}

.company-contacts-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 20px;
}

.company-contacts-info p {
    margin-top: 8px;
    font-size: 1rem;
    color: var(--gray-color);
}

.company-contacts-info a {
    text-decoration: none;
    font-size: 1rem;
    color: var(--gray-color);
}

.company-contacts-socials {
    margin-top: 12px;
    display: flex;
    gap: 15px;
}

.company-contacts-socials img {
    width: 28px;
    height: 28px;
}

.map {
    border-radius: 25px;
    width: 50rem;
    height: 25rem;
}

/* footer */
.footer {
    background: linear-gradient(to bottom, #0440a9, #225bbd);
    color: #fff;
}

.footer-inner {
    width: 90%;
    margin: 0 auto;
    padding: 50px 0px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
    flex-wrap: wrap;
}

.footer-logo {
    width: 8rem;
    height: 4rem;
    margin-bottom: 15px;
}

.footer h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

.footer p,
.footer a,
.footer li {
    font-size: 1rem;
    margin-top: 5px;
    margin-bottom: 18px;
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-center ul {
    list-style: none;
    padding: 0;
}

.footer-center li {
    margin-bottom: 8px;
}

.footer-extra {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.feedback-btn {
    background: var(--gray-color);
    color: #fff;
    border: none;
    border-radius: 200px;
    width: 20rem;
    height: 3.4rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
}

.feedback-btn:hover {
    background: #939393;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    width: 35px;
    height: 35px;
}

.footer-bottom {
    margin-top: 30px;
    border-top: 1px solid white;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
}

/* modal window */
.modal {
    display: none;
    position: fixed;
    z-index: 1200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #f0f0f0;
    padding: 25px;
    border-radius: 25px;
    width: 650px;
    max-width: 90%;
    position: relative;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
}

.modal-header h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--blue-color);
}

.close {
    font-size: 38px;
    cursor: pointer;
    position: relative;
    bottom: 3px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 3px;
}

.rating span {
    font-size: 38px;
    cursor: pointer;
    color: #ccc;
    margin-bottom: 10px;
}
.rating span.active {
    color: gold;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-input {
    width: 100%;
    height: 3rem;
    border-radius: 220px;
    border: 0px;
    outline: none;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    padding-left: 16px;
}

.modal-textarea {
    resize: none;
    height: 2.8rem;
    width: 100%;
    border-radius: 220px;
    border: 0px;
    outline: none;
    font-size: 0.9rem;
    padding-left: 16px;
    padding-top: 10px;
}

.modal-textarea::placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.file-upload {
    font-size: 0.9rem;
    cursor: pointer;
    color: gray;
    height: 2.8rem;
    border: none;
    border-radius: 200px;
    background-color: white;
    display: flex;
    align-items: center;
    padding-left: 16px;
    gap: 8px;
}
.file-upload input {
    display: none;
}

.checkbox {
    font-size: 0.9rem;
}

.send-btn {
    background: var(--blue-color);
    color: #fff;
    border: none;
    width: 100%;
    height: 2.8rem;
    border-radius: 220px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
}
.send-btn:hover {
    background: #003080;
}

@media screen and (min-width: 1500px) {
    .offers-inner-container,
    .header,
    .offers-inner-container,
    .news-inner,
    .block-header,
    .container,
    .footer-inner,
    .hero-inner,
    .about-inner,
    .quality-inner,
    .contact-container,
    .company-contacts-container {
        width: 80rem;
    }
}

@media (max-width: 1260px) {
    html {
        font-size: 15px !important;
    }
}
@media (max-width: 1000px) {
    html {
        font-size: 14px !important;
    }
}
@media (max-width: 800px) {
    html {
        font-size: 13px !important;
    }
    .news-two-card {
        flex-direction: column;
    }
}

@media (max-width: 870px) {
    .about-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 960px) {
    .for-adaptive {
        display: none;
    }
    .burger-btn {
        display: flex;
    }
}
@media (max-width: 1300px) {
    .address {
        display: none;
    }
}
@media (max-width: 760px) {
    .for-adaptive {
        display: none;
    }
    .burger-btn {
        display: flex;
    }

    .address {
        display: flex;
    }
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -150%;
        width: 100%;
        height: 100%;
        background-color: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        display: flex;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transition: left 0.3s ease-in-out;
        height: 100vh;
    }
    .btn.blue {
        height: 3.4rem;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 250px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        background: var(--blue-color);
        color: white;
    }
    /* service adap */
    .head-adap {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
    .ser-adap {
        list-style: none;
        margin-top: 10px;
        margin-left: 15px;
    }
    .ser-adap li {
        margin-bottom: 10px;
    }

    .dropdown-menu {
        top: 20%;
        left: 160%;
    }

    .mobile-menu.active {
        left: 0;
    }

    .mobile-menu .ul {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .contact-form {
        width: 100%;
    }
}

@media (max-width: 490px) {
    .news-card {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .news-right {
        flex-direction: column;
        align-items: start;
    }
    .news-link {
        justify-content: space-between;
        width: 100%;
    }
    .company-contacts-container {
        flex-direction: column;
        align-items: start;
    }
    .map {
        width: 100%;
    }
    .quality-img {
        width: 100%;
        height: 13rem;
    }
    .offers-card-info {
        opacity: 1;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 500px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .about-stats {
        flex-direction: column;
    }
    .offers-arrow {
        display: none;
    }
    .quality-img {
        height: 11rem;
    }
    .about-image {
        width: 100%;
        height: 22rem;
    }
    .contact-title {
        font-size: 2.4rem;
    }
    .contact-subtitle {
        font-size: 2rem;
    }
    .hero-inner h1 {
        font-size: 2.4rem;
    }
    .map {
        height: 22rem;
    }
    .news-send {
        width: 35px;
        height: 35px;
        font-size: 1.6rem;
    }
    .offers-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.6rem;
    }
}

@media (max-width: 420px) {
    .main-logo {
        width: 6rem;
    }
    .burger-btn {
        width: 9rem;
        height: 3rem;
    }
    .buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    .quality-img {
        height: 9rem;
    }
    .contact-form {
        width: 100%;
    }
    .contact-button {
        width: 100%;
    }
    .map {
        height: 18rem;
    }
    .logo-card img {
        object-fit: cover;
    }
    .news-image img {
        height: 15rem;
    }
    .about-image {
        height: 18rem;
    }
    .news-link {
        gap: 6px;
    }
}

@media (max-width: 320px) {
    .about-image {
        height: 16rem;
    }
    .quality-img {
        height: 7rem;
    }
    .news-image img {
        height: 12rem;
    }
}
