/* Global Styles */
* {
    box-sizing: border-box !important;
    transition: ease all 0.5s;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #666666;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.80857;
    font-weight: normal;
    overflow-x: hidden;
}

a {
    color: #c80207;
    text-decoration: underline;
    outline: none !important;
    transition: all .3s ease-in-out;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0;
    position: relative;
    padding-bottom: 10px;
    color: #111111;
    margin: 0;
}

h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 13px; }

ul, li, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    font-size: 16px;
    line-height: 30px;
    text-align: justify;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background: linear-gradient(135deg, #c80207, #041a54) !important;
}

.text-primary {
    color: #c80207 !important;
}

.bg-light {
    background-color: #F3F6FF !important;
}

.fw-bold {
    font-weight: 500 !important;
}

.custom-color {
    background: #f8f9fa;
}

.shadow-custom {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
/* Global styles end */

/* Navbar CSS starts here */
.navbar {
    background-color: #f2f2f2;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-nav .nav-link {
    font-size: 20px;
    color: #000000;
    margin-right: 30px;
}

.navbar-nav .nav-link:hover {
    color: #c80207;
}

.nav-link.active {
    color: #c80207 !important;
}
/* Navbar CSS ends here */

/* Footer CSS starts here */
.footer {
    background-color: rgba(242, 242, 242, 0.8);
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    color: lightgray;
}

.footer p {
    color: #1f1f1f;
    font-size: 17px;
}

.custom-hr {
    width: 85%;
    margin: 0 auto;
    border: none;
    border-top: 1px solid black;
    margin-top: 10px;
}
/* footer CSS ends here */

/* Home page CSS starts here */
.banner_section .banner-container {
    display: flex;
    align-items: center;
    padding-left: 5%;
}

.banner_section .banner-details {
    width: 45%;
    z-index: 4;
    color: #ffffff;
}

.banner_section .banner-details h1 {
    text-transform: uppercase;
    font-weight: bold;
    color : #ffffff;
}

.banner_section .banner-details p {
    width: 75%;
    margin-top: 15px;
}

.banner_section .banner-image {
    width: 73%;
    margin-left: -17%;
    position: relative;
    z-index: 2;
}

.banner_section .banner-bg{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    clip-path: polygon(0 0, 60% 0, 37% 100%, 0% 100%);
}

.services_section {
    width: 100%;
    float: left;
}

.about_section {
    width: 75%;
    margin: auto;
}

.section-title {
    position: relative;
    padding-left: 60px;
}

.section-title::before {
    position: absolute;
    content: "";
    top: 10px;
    left: 0;
    width: 45px;
    height: 3px;
    background: #c80207;
}

.trucking_business_section {
    width: 100%;
    float: left;
}

@media (max-width: 991px) {
    .about_section {
        width: 95%;
    }
    .image-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 1200px) {
    .banner_section .banner-container {
        flex-direction: column;
        padding: 0;
    }

    .banner_section .banner-details {
        width: 100%;
        text-align: center;
        padding: 75px 15px;
        background:  linear-gradient(135deg, #c80207, #041a54);
        position: relative;
    }

    .banner_section .banner-image {
        width: 100%;
        margin: 0;
        padding-bottom: 30px;
    }

    .banner_section .banner-bg {
        display: none;
    }

    .banner_section .banner-details p {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}
/* Home CSS ends here */

/* Owner Operator CSS starts here */
.benifit-wrapper {
    background: #eaf0fc;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.05);
    border-radius: 20px;
    margin-bottom: 60px;
    min-height: 200px;
}

.benifit-wrapper i {
    display: inline-block;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    margin-bottom: 15px !important;
    -webkit-transform: translateY(-45px);
    -ms-transform: translateY(-45px);
    transform: translateY(-45px);
    background:  linear-gradient(135deg, #c80207, #041a54);
    border: 5px solid white;
    line-height: unset;
}

.benifit-wrapper .title {
    margin-top: -40px;
}

.benifit-wrapper {
    transition: transform 0.3s;
}

.benifit-wrapper:hover {
    transform: translateY(-10px);
    background-color: white;
}

@media (max-width: 576px) {
    #benefit_package_section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
/* Owner Operators CSS ends here */

/* intermodal agents page CSS starts here */
.our-services .container {
    position: relative;
}

.our-services {
    position: relative;
    margin-top: 0px;
    padding-top: 50px;
}

.our-services .item {
    text-align: center;
    padding: 30px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.05);
    min-height: 250px;
    transition: transform 0.3s ease;
}

.our-services .item .icon {
    width: 45px;
    height: 45px;
    margin: 0 auto;
}

.our-services .item i {
    display: inline-block;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    margin-bottom: 15px !important;
    background: linear-gradient(135deg, #c80207, #041a54);
    border: 5px solid white;
    line-height: unset;
}

.item {
    transition: transform 0.3s ease;
}

.item:hover {
    transform: translateY(-10px);
    background-color: white !important;
}

.section-heading {
    position: relative;
    z-index: 2;
}

.section-heading h4 {
    font-size: 30px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 10px;
}
/* intermodal agents page CSS ends here */

/* Brokerage agents page CSS starts here */
.brokerage-Carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    bottom: 0;
    left: -5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
}

.brokerage-Carousel .owl-nav .owl-prev:hover,
.brokerage-Carousel .owl-nav .owl-next:hover {
    color: #ffffff !important;
    background: #c80207;
}

.brokerage-Carousel .owl-nav .owl-prev, .brokerage-Carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c80207 !important;
    background: transparent;
    border: 1px solid #c80207 !important;
    font-size: 22px;
    transition: none;
}

.support_bg  {
    border-radius: 80px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.card-title {
    background-color: #003366;
    color: #ffffff;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.card-body {
    padding: 20px;
}
/* brokerage agents page CSS end here */

/* shippers page CSS start here */
.custom-bg {
    background-color: rgba(255, 255, 255, 0.9); !important;
}

.custom-carousel .owl-prev,
.custom-carousel .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white ;
    border: 1px solid white !important;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: none;
}

.custom-carousel  .owl-nav .owl-prev:hover,
.custom-carousel  .owl-nav .owl-next:hover {
    background-color: #c80207;
}

.custom-carousel .owl-nav .owl-prev {
    left: -4rem;
}

.custom-carousel .owl-nav .owl-next {
    right: -4rem;
}

@media (max-width: 576px) {
    .custom-carousel .owl-prev,
    .custom-carousel .owl-next {
        position: static;
        transform: none;
        margin: 10px;
    }

    .custom-carousel .owl-nav {
        display: flex;
        justify-content: center;
    }
}
/* Shippers page CSS ends here */

/* Shippers form CSS starts here */
.form-label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.register{
    background:  linear-gradient(135deg, #c80207, #041a54);
}

.register-left h1 {
    color: #fff !important;
    line-height: inherit;
    text-align: left;
}

.register-left input{
    border: none;
    border-radius: 1.5rem;
    padding: 2%;
    width: 60%;
    background: #f8f9fa;
    font-weight: bold;
    color: #383d41;
    margin-top: 30%;
    margin-bottom: 3%;
    cursor: pointer;
}

.register-right{
    background: #f8f9fa;
    border-top-left-radius: 10% 50%;
    border-bottom-left-radius: 10% 50%;
}

@media (max-width: 991.98px) {
    .register-right {
        border-radius: 0;
    }
}

.btn-custom {
    background-color: #0c2c7a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.btn-custom:hover {
    background-color: #041a54;
    color: white;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#preloader img {
    width: 100px;
}

.btn-custom:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background-color: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
}
/* Shippers form CSS end here */

/* owner operator info page CSS starts here */
.form-container {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: #fff;
}

.form-container .form-control {
    border-radius: 4px;
}

.form-container .btn {
    border-radius: 4px;
}

.service-item {
    position: relative;
    z-index: 1;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.3);
    border-radius: 10px;
    border-top-right-radius: 50px;
    transition: all .3s;
}

.service-item ul {
    transition: all .3s;
    font-size: 15px;
    margin-bottom: 20px;
    color: white;
}

.service-item:hover h2,
.service-item:hover ul,
.service-item:hover i {
    color: #1f1f1f !important;
}

.service-item:hover {
    background: #ffffff !important;
}

#first-service, #second-service {
    scroll-margin-top: 150px;
}
/* owner operator info page CSS end here */
