* {
    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;
    --bckgrnd-white-color: #f0f0f0;
}

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

/* 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/oil-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;
}

/* rent-section */
.rent-section {
    max-width: 90%;
    margin: 0px auto;
    margin-bottom: 40px;
}

.rent-card {
    display: flex;
    overflow: hidden;
    margin-bottom: 20px;
    gap: 15px;
    justify-content: space-between;
}

.left-img {
    max-width: 35rem;
    height: 22rem;
    object-fit: cover;
    border-radius: 35px;
}

.rent-right {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rent-right-txt1 {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.rent-right h2 {
    font-size: 1.7rem;
    text-transform: uppercase;
}
.rent-right p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.rent-right-txt1 h3 {
    font-size: 1.4rem;
}

.rent-right-txt1 ul {
    margin-left: 30px;
}

.rent-right-txt1 li {
    font-size: 0.9rem;
}
.rent-right-txt1 li:last-child {
    margin-bottom: 10px;
}

.rent-right-txt2 h3 {
    font-size: 1.4rem;
}

.rent-right-txt2 ul {
    margin-left: 30px;
}

.rent-right-txt2 li {
    font-size: 0.9rem;
}
.rent-right-txt2 li:last-child {
    margin-bottom: 10px;
}

.btn {
    background: #003da6;
    color: #fff;
    border: none;
    height: 7vh;
    width: 20rem;
    border-radius: 250px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.rent-desc {
    font-size: 1rem;
    margin-bottom: 20px;
}

.rent-foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rent-foot h3 {
    color: var(--blue-color);
    font-size: 1.5rem;
}

.rent-foot ul {
    margin-left: 30px;
    font-size: 1rem;
}

/* stock-section */
.stock-section {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 40px;
}

.stock-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.stock-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.stock-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
}

.stock-block h3 {
    font-size: 1.5rem;
    color: var(--blue-color);
    font-weight: bold;
    text-transform: uppercase;
}

.stock-card {
    background: var(--bckgrnd-white-color);
    border-radius: 30px;
    padding: 20px;
    min-height: 22rem;
}

.stock-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 30px;
}

.stock-card p {
    font-size: 1rem;
}

/* advantages-section */
.advantages-section {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 40px;
}

.advantages-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.advantages-text {
    width: 40rem;
}

.advantages-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.advantages-text ol {
    list-style: none;
    padding: 0;
}

.advantages-text li {
    margin-bottom: 20px;
    font-size: 1rem;
}

.advantages-text li span {
    font-weight: bold;
    color: #0047ab;
    font-size: 1.2rem;
}

.advantages-image {
    text-align: right;
}

.advantages-image img {
    max-width: 40rem;
    height: 27rem;
    border-radius: 30px;
}

/* 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;
}

.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: 7vh;
    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;
}

/* work-section */
.work-section {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 40px;
}

.work-container h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

.work-two-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.work-item img {
    width: 100%;
    border-radius: 30px;
}

/* 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;
}

@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,
    .work-section,
    .advantages-section,
    .stock-section,
    .rent-section {
        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;
    }
}

@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: 700px) {
    .company-contacts-container {
        flex-direction: column;
        align-items: start;
    }
    .map {
        width: 100%;
    }
    .work-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .section-for-head {
        height: 17rem;
    }
    .block-header {
        margin-top: 40px;
    }
    .block-main-txt {
        font-size: 1.7rem;
    }
}
@media (max-width: 420px) {
    .block-header {
        margin-top: 50px;
    }
    .router a {
        font-size: 0.8rem;
    }
}

@media (max-width: 950px) {
    .advantages-container {
        flex-wrap: wrap;
    }
}
@media (max-width: 880px) {
    .rent-card {
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .rent-right {
        width: 100%;
    }
    .stock-container {
        grid-template-columns: 1fr;
    }
    .work-gallery {
        grid-template-columns: 1fr;
    }
    .work1 {
        height: 30rem;
    }
    .work2 {
        height: 19rem;
    }
    .work3 {
        height: 19rem;
    }
    .work4 {
        height: 30rem;
    }
    .left-img {
        max-width: 100%;
        height: 22rem;
        object-fit: cover;
        border-radius: 35px;
    }
    .advantages-image img {
        width: 100%;
        height: 23rem;
    }
}

@media (max-width: 500px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .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 {
        width: 100%;
    }
    .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;
    }
}
