@import url('https://fonts.googleapis.com/css2?family=Exo+2&display=swap');

body {
    font-family: 'Exo 2';
}

:root {
    --text-white: #fff;
    --text-muted: #a8b2d1;
    --text-gray: #333;
    --text-dark: #242424;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --bg-corp: #BD1F2E;
    --bg-gray: #333333;
    --bg-overlay: #BF141E;
    --light-gray: #444;
    --bg-corp-gray: #464646;
}

.w-65 {
    width: 65%;
}

.h-90 {
    height: 90%;
}

.w-60 {
    width: 60px;
}

.h-60 {
    height: 60px;
}

header .nav-link {
    font-size: 15px;
    padding: 8px 12px;
    transition: color 0.2s ease-in-out;
}

header .nav-link:hover {
    color: #c00;
    /* акцентный цвет */
}

header .dropdown-menu {
    font-size: 15px;
}

.bg-corp-gray {
    background-color: var(--bg-corp-gray) !important;
}

.carousel-caption {
    left: 10%;
    right: 10%;
    bottom: 35%;
}

.index-banner {
    position: relative;
}

.carousel-inner {
    height: 507px;
}

.bg-truck {
    background-image: url('../images/index/suhoputniye.png');
    /* background-size: cover; */
    background-position: center;
    height: 100%;
    width: 100%;
}

.bg-avia {
    background-image: url('../images/index/avia.png');
    /* background-size: cover; */
    background-position: center;
    height: 100%;
    width: 100%;
}

.bg-ship {
    background-image: url('../images/index/sea_transportation.png');
    /* background-size: cover; */
    background-position: center;
    height: 100%;
    width: 100%;
}

.bg-avia2 {
    background-image: url('../images/index/avia2.png');
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
}

.bg_baggage {
    background-image: url('../images/services/baggage_section.png');
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
}


.bg-form {
    background-image: url('../images/faq & contact form/form.png');
    position: absolute;
    top: 15%;
    z-index: 3;
    left: 65%;
    transform: translateX(-50%);
    width: 40%;
}


.bg-danger {
    background-color: var(--bg-corp) !important;
}

.bg-gray {
    background-color: var(--bg-gray) !important;
}

.bg-light-gray {
    background-color: var(--light-gray) !important;
}

.services-box {
    position: absolute;
    display: flex;
    top: 80%;
    z-index: 5;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 15%;
}

.hover:hover {
    background-color: var(--bg-overlay) !important;
    transition: all 0.3s ease-in-out;
    color: var(--text-white);
    /* Optional: Change text color for better visibility */
}


.btn-danger {
    background-color: var(--bg-corp) !important;
}

.btn-danger:hover {
    background-color: var(--bg-overlay) !important;
}

.btn-dark {
    background-color: var(--text-gray) !important;
}

.btn-dark:hover {
    background-color: var(--bg-gray) !important;
}


.clients-logos {
    height: 100px;
    object-fit: contain;
}


.contact-form {
    background-image: url('../images/faq & contact form/form.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    height: 54%;
    min-height: 400px;
    position: absolute;
    z-index: 1;
    width: 685px;
    right: 0;
}


.main-form {
    position: relative;
    z-index: 2;
    background: transparent;
}

.contact-form .form-control {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    color: #000;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: #333;
}

.contact-form button {
    border-radius: 0;
}



/* Mobile Styles */
@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 30px;
    }

    h5 {
        font-size: 26px;
    }

    h6 {
        font-size: 24px;
    }

    p {
        font-size: 20px;
    }

    .bg-form {
        top: 10%;
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
    }

    .services-box {
        top: 90%;
        width: 100%;
        height: auto;
        flex-wrap: wrap;
    }

    header .nav-link {
        font-size: 14px;
        padding: 6px 10px;
    }

    .contact-form {
        padding: 10px;
        min-height: 300px;
    }

    .contact-form .form-control {
        font-size: 14px;
    }

    .clients-logos {
        height: 60px;
    }

    .contact-form {
        background-image: url('../images/faq & contact form/form.png');
        background-size: cover;
        background-position: center;
        padding: 20px;
        height: 411px;
        position: absolute;
        z-index: 1;
        width: 386px;
        right: 0;
        top: 76%;
    }



    .main-form {
        position: relative;
        z-index: 2;
        background: transparent;
        width: 100%;
    }

}