/*Global styles*/
.bg-custom-primary {
    background-color: #2f4c92 !important;
}

.bg-custom-secondary {
    background: linear-gradient(135deg, #2f4c92, #567EBD);
}

.border-custom-primary{
    border-color: #0E47A1 !important;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

#index_banner h1 {
    text-transform: uppercase;
    font-weight: bold;
    color : #ffffff;
}

p {
    font-size: 18px;
    text-align: justify;
}

.shadow-custom {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.icon-color-primary {
    color: #2f4c92 !important;
}

.text-light {
    color:  #E7EDF6 !important;
}

/*navbar styles start here*/
.navbar-nav .nav-link {
    font-size: 20px;
    color: #000000;
    margin-right: 30px;
    transition: background-color 0.5s;
    border-radius: 10px;
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0E47A1;
    position: absolute;
    transition: width 0.5s;
    width: 0;
    left: 5px;
    right: 5px;
    bottom: 5px;
}

.navbar-nav .nav-link:hover::after {
    width: calc(100% - 10px);
}

.navbar-nav .nav-link.active {
    color: #2f4c92;
}
/*navbar styles end here*/

/*footer code starts here*/
.footer-copyright {
    border-top: 1px solid #434859;
}

.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;
    text-align: left;
}
/*footer code ends here*/

/*home page styles starts here*/
.about_img img {
    max-width: 100%;
    height: auto;
}

.about_img figure img {
    position: relative;
    z-index: 9999;
}

.about_section .img-box {
    position: relative;
}

.ca-about-item {
    position: relative;
    padding-left: 30px;
}

.ca-about-item:before {
    position: absolute;
    content: "";
    background: white;
    border-radius: 5px;
    min-height: 150px;
    width: 6px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.icon-container {
    border-radius: 50%;
    width: 70px;
    height: 70px;
    margin-right: 10px;
}

.icon-container i {
    color: #ffffff;
    font-size: 40px;
}

.slider_section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: bottom;
    background-image: url('../images/home-image.jpg');
    position: relative;
    padding: 100px 0;
}

.slider_section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(28, 30, 50, 0.7), rgba(28, 30, 50, 0.8));
    z-index: 1;
}

.slider_section .row {
    display: flex;
    align-items: center;
    z-index: 2;
}

.slider_section .detail-box {
    padding-bottom: 120px;
    z-index: 2;
    position: relative;
}

.slider_section .detail-box h1 {
    font-weight: bold;
    margin-bottom: 25px;
    color: #0355cc;
}

.slider_section .detail-box p {
    color: #fff;
    font-size: 15px;
}

.slider_section .detail-box a {
    display: inline-block;
    font-family: 'Merriweather Sans', sans-serif;
    text-transform: uppercase;
    padding: 10px 45px;
    background-color: #0E47A1;
    border: 1px solid #0E47A1;
    border-radius: 5px;
    color: #ffffff;
    margin-top: 15px;
}

.slider_section .detail-box a:hover {
    background-color: transparent;
    color: #0E47A1;
}

.feature_section {
    transform: translateY(-50%);
    position: relative;
    z-index: 2;
}

.feature_section .feature_container {
    display: flex;
}

.feature_section .feature_container .box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 10px;
    padding: 45px 15px;
    background-color: #ffffff;
    color: #555089;
    transition: all 0.3s;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
}

.feature_section .feature_container .box .img-box {
    width: 90px;
    height: 90px;
}

.feature_section .feature_container .box .name {
    margin-top: 20px;
    text-transform: uppercase;
    margin-bottom: 0;
}

/*.feature_section .feature_container .box:hover, .feature_section .feature_container .box.active {*/
/*    background-color: #0E47A1;*/
/*    color: #ffffff;*/
/*}*/

.overlay {
    z-index: 1;
}

/*.feature_section .feature_container .box:hover .img-box i,*/
/*.feature_section .feature_container .box:hover .name {*/
/*    color: white !important;*/
/*}*/

/*.feature_section .feature_container .box .img-box i,*/
/*.feature_section .feature_container .box .name {*/
/*    color: #0E47A1;*/
/*}*/

@media (max-width: 992px) {
    .slider_section {
        padding-top: 45px;
    }

    .feature_section .feature_container .box {
        padding: 30px 15px;
    }

    .feature_section .feature_container .box .img-box {
        width: 75px;
    }

    .feature_section {
        transform: none;
        padding: 30px 0;
    }
}

@media (max-width: 767px) {
    .slider_section .detail-box {
        padding-bottom: 45px;
    }

    .feature_section .feature_container {
        flex-direction: column;
    }

    .feature_section .feature_container .box {
        padding: 30px 15px;
    }

    .feature_section .feature_container .box:not(:nth-last-child(1)) {
        margin-bottom: 15px;
    }
}
/*Home page CSS ends here*/

/*owner operator page CSS starts here*/
.own {
    min-height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 10px #12161905;
    border-color: #f3f3f4;
    border-left-width: 1px;
    border-right-width: 1px;
    border-style: solid;
    border-top-width: 1px;
}

.own i {
    position: relative;
    z-index: 1;
    background: #2f4c92;
    border-radius: 50%;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E7EDF6 !important;
    transition: background 0.3s ease, color 0.3s ease;
}

/*.own:hover {*/
/*    background: #567EBD;*/
/*    transform: scale(1.05);*/
/*    transition: transform 0.3s ease, background 0.3s ease;*/
/*}*/

/*.own:hover i {*/
/*    color: #2f4c92 !important;*/
/*    background: white;*/
/*}*/

/*.own:hover::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    width: 95px;*/
/*    height: 95px;*/
/*    border-radius: 50%;*/
/*    border: 2px solid white;*/
/*    z-index: 0;*/
/*    transition: opacity 0.3s ease;*/
/*    margin:-10px;*/
/*}*/

/*.own:hover::before {*/
/*    opacity: 1;*/
/*}*/

/*.own:hover h5 {*/
/*    color: white;*/
/*}*/
/*owner operator page CSS ends here*/

/*intermodal agents page starts here*/
.item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    background: #E7EDF6;
    box-shadow: 0 2px 10px rgba(18, 22, 25, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 15px;
    flex: 1;
    min-height: 220px;
}

.cards {
    position: relative;
    background-color: #E7EDF6;
    border-radius: 4px;
    text-decoration: none;
    z-index: 0;
}

.cards:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -16px;
    right: -16px;
    background: #2f4c92;
    height: 50px;
    width: 50px;
    border-radius: 32px;
    transform: scale(1);
    transform-origin: 60% 40%;
    transition: transform 0.3s ease-out;
}

.cards:hover:before {
    transform: scale(30);
}

.cards:hover h5,
.cards:hover li,
.cards:hover a {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease-out;
}

.item h5 {
    text-align: center;
    color: #333;
    transition: color 0.3s ease;
}

.item .icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2f4c92;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.item:hover .icon {
    background-color: #E7EDF6;
}

.item:hover .icon i {
    color: #2f4c92 !important;
}

.item:hover h5,
.item.active h5 {
    color: white;
}

.item:hover .go-corner {
    background-color: #2f4c92;
}

.go-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background-color: #2f4c92;
    border-radius: 0 4px 0 32px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.go-arrow {
    margin-top: -4px;
    margin-right: -4px;
    color: white;
    font-family: courier, sans;
}

.collapse-content {
    display: none;
}

.bullet-list {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 0;
}

.bullet-list li {
    margin-bottom: 0.5em;
    font-size: 16px;
    line-height: 1.6;
}
/*intermodal agents page ends here*/

/*brokerage agents page CSS starts here*/
.card {
    background-color: #8ba4d4;
}

.benefit-item {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: 3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    min-height: 220px;
    border: 1px solid #dadfe9;
    z-index: 1;
}

.benefit-icon {
    display: inline-block;
    color: #2f4c92;
}

.benefit-item h5 {
    padding-bottom: 16px;
    text-transform: initial;
    position: relative;
}

.benefit-item h5:before {
    position: absolute;
    content: "";
    width: 20px;
    height: 3px;
    background: #2f4c92;
    bottom: 0;
    left: 50%;
    margin-left: -10px;
}

.benefit-item:hover h5 {
    color: #fff;
}

.benefit-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2f4c92;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.benefit-item:hover::after {
    transform: translateY(0);
}

.benefit-item:hover .benefit-icon[class^="fa-"]:before,
.benefit-item:hover .benefit-icon [class*="fa-"]:before,
.benefit-item:hover h5:before,
.benefit-item:hover #toggleLink,
.benefit-item:hover #supportDetails li {
    color: #fff !important;
}

.benefit-item:hover h5:before {
    background: #fff;
}
/*brokerage page CSS ends here*/

/*shippers page CSS starts here*/
.item-carousel .owl-prev,
.item-carousel .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0E47A1 !important;
    border: 1px solid white !important;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: none;
}

.item-carousel  .owl-nav .owl-prev:hover,
.item-carousel  .owl-nav .owl-next:hover {
    background-color: #567EBD !important;
}

.item-carousel .owl-nav .owl-prev {
    left: -6rem;
}

.item-carousel .owl-nav .owl-next {
    right: -6rem;
}

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

    .item-carousel .owl-nav {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
}
/*shippers page CSS ends here*/

/*Contact us page CSS start here*/
.contact-section {
    background-color: #E7EDF6;
}

.icon-content,
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.icon-content {
    position: relative;
}

.card-overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: 25px;
}

.icon-image {
    position: relative;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background: #FFF;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.icon-image i {
    color: #2f4c92;
}

.border-inner {
    position: relative;
}

.border-inner::before {
    position: absolute;
    content: "";
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    background: none;
    border: 1px solid white;
    z-index: 0;
}
/*contact us page CSS ends here*/

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

.form {
    margin: 40px;
}

.left {
    background: #2f4c92;
    box-shadow: 0px 0px 40px 16px rgba(0, 0, 0, 0.22);
    position: relative;
}

.right {
    background: #F1F1F2;
    box-shadow: 0px 0px 40px 16px rgba(0, 0, 0, 0.22);
    color: #F1F1F2;
    padding: 20px;
    position: relative;
    flex: 1;
}

.left h2 {
    line-height: inherit;
}

.button-custom {
    padding: 12px 20px;
    background-color: #0056b3;
    border: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.button-custom:hover {
    background-color: #2f4c92;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.button-custom:focus {
    outline: none;
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.15);
}

.button-custom:active {
    background-color: #004085;
    transform: translateY(2px);
}

.invalid-feedback {
    font-size: 14px !important;
}

#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;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #567EBD;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    animation: rotation 1s linear infinite;
}

.loader:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 5px solid transparent;
    border-bottom-color: #2f4c92;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

/*payment status form CSS starts here*/
.payment-status-card {
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2f4c92, #567EBD);;
    margin-top: -60px;
}

.payment-status-form {
    border-top-right-radius: 60px;
    border-top-left-radius: 0;
    background: #F1F1F2;
}
/*payment status form CSS ends here*/

/*Agent information request form CSS starts here*/
.agent-info-form {
    position: relative;
}

.agent-info-form i {
    position: absolute;
    font-size: 150px;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    color: #F1F1F2;
    z-index: 1;
}

@media (max-width: 991px) {
    .agent-info-form i {
        display: none;
    }
}
/*Agent information request form CSS ends here*/

/*Owner operator information request form CSS starts here*/
.requirements-box {
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.requirements-box:hover {
    background-color: #2f4c92;
    color: white;
}

.requirements-box:hover h2,
.requirements-box:hover ul li {
    color: white;
}
/*Owner operator information request form CSS ends here*/
