* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI";
}

@import url("https://fonts.googleapis.com/css2?family=Segoe+UI&display=swap");

: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: 25px;
}

.for-adaptive {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    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.9rem;
}

.nav a:hover {
    color: var(--blue-color);
}

.main-logo {
    width: 6rem;
    margin-top: 6px;
}
.header-services {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 3px;
    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: 15px;
}

.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;
}

/*section-for-head*/
.section-for-head {
    height: 20rem;
    width: 100%;
    background: url("../images/new-main-img-min.jpg");
    object-fit: cover;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.block-header {
    width: 90%;
    margin: 0 auto;
    color: white;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.router {
    display: flex;
    align-items: center;
    gap: 5px;
}

.router a {
    cursor: pointer;
    font-size: 1rem;
    color: white;
    text-decoration: none;
}

.block-main-txt {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    top: 20px;
    text-transform: uppercase;
}

/* partner page */
.partner {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    margin-bottom: 40px;
}

.partner-text {
    font-size: 1rem;
}

.dot {
    font-size: 1.7rem;
    color: var(--blue-color);
}

.process ul {
    padding-left: 1.7rem;
}

.partner-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: space-between;
}

.partner-img {
    width: 35rem;
    height: 22rem;
    border-radius: 1rem;
}

.partner-info-right {
    height: 22rem;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.olzha-back {
    width: 40%;
    position: absolute;
}

.partner-info-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.partner-info-text p {
    color: var(--gray-color);
}

.partner-info-text h2 {
    font-size: 2rem;
    font-weight: bold;
}

.partner-info-text h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.process h3 {
    color: var(--blue-color);
    font-size: 1.4rem;
}

.process p {
    font-size: 1rem;
}

/* steps section */
.steps {
    background: linear-gradient(180deg, #003da6, #2860c1);
    color: #fff;
    padding: 2rem;
    border-radius: 20px;
    font-size: 1rem;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 40px;
}

.steps p {
    margin-bottom: 1.5rem;
}
.steps p:last-child {
    margin-bottom: 0;
}

.steps strong {
    font-size: 1.2rem;
}

/* about-logos section */
.trust-us {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.trust-us h2 {
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-logos {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    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;
}

/* info-crds section */
.info-cards {
    display: flex;
    gap: 2rem;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 40px;
    justify-content: space-between;
}

.card {
    border: 1px solid var(--blue-color);
    border-radius: 25px;
    padding: 20px;
    min-height: 14rem;
    width: 22rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    color: #000;
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.circle {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--blue-color);
}

.card h2 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: auto;
}

.card:hover {
    color: white;
    background-color: var(--blue-color);
}

.card:hover .circle {
    background: #fff;
}

.card:hover p {
    display: block;
    color: #fff;
}

.card p {
    display: none;
}

.card.active {
    background: #0043a7;
    color: #fff;
    border: none;
}

.card.active .circle {
    background: #fff;
}
.card.active p {
    display: block;
}

.card.inactive {
    background: #fff;
    color: #000;
    border: 1px solid var(--blue-color);
}
.card.inactive .circle {
    background: var(--blue-color);
}
.card.inactive p {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .card:hover {
        background: #0043a7;
        color: #fff;
        border-color: transparent;
    }
    .card:hover .circle {
        background: #fff;
    }
    .card:hover p {
        display: block;
    }
}

/* .info-cards:has(.card:not(:first-child):hover) .card:first-child {
    border: 1px solid var(--blue-color);
    border-radius: 25px;
    padding: 20px;
    min-height: 14rem;
    width: 22rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    color: #000;
    transition: background 0.3s ease, color 0.3s ease;
}
.info-cards:has(.card:not(:first-child):hover) .card:first-child .circle {
    background-color: var(--blue-color);
}
.info-cards:has(.card:not(:first-child):hover) .card:first-child p {
    display: none;
} */

/* contact page */
.contact-section {
    position: relative;
    background: url("../images/foot-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;
}

.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.6rem;
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 60%;
}

.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: 7vh;
    border-radius: 125px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    outline: none;
}

.contact-agree {
    margin-top: 10px;
    font-size: 0.9rem;
    color: white;
}

/* 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: 6vh;
    border-radius: 220px;
    border: 0px;
    outline: none;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    padding-left: 16px;
}

.modal-textarea {
    resize: none;
    height: 6vh !important;
    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: 6vh;
    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: 6vh;
    border-radius: 220px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
}
.send-btn:hover {
    background: #003080;
}

.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,
    .work-section,
    .advantages-section,
    .stock-section,
    .rent-section,
    .partner,
    .steps,
    .trust-us,
    .info-cards {
        width: 80rem;
    }

@media (max-width: 1260px) {
    html {
        font-size: 15px !important;
    }
}
@media (max-width: 1115px) {
    .info-cards {
        flex-wrap: wrap !important;
    }
}
@media (max-width: 1000px) {
    html {
        font-size: 14px !important;
    }
}
@media (max-width: 800px) {
    html {
        font-size: 13px !important;
    }
    .partner-info {
        flex-wrap: wrap;
    }
}

@media (max-width: 960px) {
    .for-adaptive {
        display: none;
    }
    .burger-btn {
        display: flex;
    }
}
@media (max-width: 1300px) {
    .address {
        display: none;
    }
    .partner-info-right {
        height: auto;
    }
}
@media (max-width: 760px) {
    .address {
        display: flex;
    }
    .for-adaptive {
        display: none;
    }
    .burger-btn {
        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) {
    .olzha-back {
        width: 50%;
    }
    .contact-form {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .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;
    }
    .partner-info-right {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 520px) {
    .card {
        width: 100%;
    }
    .info-cards:has(.card:not(:first-child):hover) .card:first-child {
        width: 100%;
    }
    .partner-img {
        width: 100%;
        height: 18rem;
    }
}

@media (max-width: 500px) {
    .section-for-head {
        height: 22rem;
    }
    .block-header {
        margin-top: 40px;
    }
    .block-main-txt {
        font-size: 1.7rem;
    }
    .router a {
        font-size: 0.8rem;
    }
}
@media (max-width: 420px) {
    .block-header {
        margin-top: 50px;
    }
}

@media (max-width: 500px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .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;
    }
}
