@charset "UTF-8";

/* Font-family: Poppins (Une plateforme dynamique et contemporaine) */
/* Font-family: Lato (Une interface axée sur la communauté) */

:root {
    --bs-font-sans-serif: Montserrat;
    --bs-primary: #16a09b;
    --bs-primary-rgb: 22, 160, 155;
    --bs-secondary: #273c4e;
    --bs-dark-rgb: var(--bs-secondary);
    --kt-text-dark: var(--bs-secondary);
    --kt-text-secondary: var(--bs-secondary);
    --kt-primary: var(--bs-primary);
    --kt-highlight-btn-color-hover: var(--bs-primary);
    --tagify-dd-color-primary: var(--bs-primary);
    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: var(--bs-primary);
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-color: var(--bs-primary);
    --kt-component-active-bg: var(--bs-primary);
    --kt-component-hover-color: var(--bs-primary);
    --kt-primary-active: #0d6461;
    --kt-text-primary: var(--bs-primary);
    --kt-link-color: var(--bs-primary);
    --kt-btn-link-color: var(--bs-primary);
    --kt-form-check-input-checked-bg-color: var(--bs-primary);
    --kt-link-hover-color: #0d6461;
    --kt-component-checked-bg: #0d6461;
    --kt-btn-link-hover-color: #0d6461;
    --kt-form-check-input-checked-bg-color-solid: var(--bs-primary);
    --kt-dropdown-link-active-bg: var(--bs-primary);
    --kt-form-check-input-checked-border-color: var(--bs-primary);
    --kt-form-check-input-indeterminate-bg-color: var(--bs-primary);
    --kt-nav-pills-link-active-bg: var(--bs-primary);
    --kt-pagination-focus-color: var(--bs-primary);
    --kt-pagination-hover-color: var(--bs-primary);
    --kt-pagination-active-bg: var(--bs-primary);
    --kt-accordion-button-active-color: var(--bs-primary);
    --kt-accordion-icon-active-color: var(--bs-primary);
    --kt-list-group-active-bg: var(--bs-primary);
    --kt-list-group-active-border-colorg: var(--bs-primary);
    --kt-breadcrumb-active-color: var(--bs-primary);
    --kt-scrolltop-bg-color: var(--bs-primary);
    --kt-scrolltop-bg-color-hover: var(--bs-primary);
    --kt-menu-link-color-hover: var(--bs-primary);
    --kt-menu-link-color-show: var(--bs-primary);
    --kt-menu-link-color-here: var(--bs-primary);
    --kt-menu-link-color-active: var(--bs-primary);
    --kt-ribbon-label-bg: var(--bs-primary);
    --kt-form-check-input-indeterminate-border-color: var(--bs-primary);
    --kt-scrollbar-color: var(--bs-primary);
    --kt-scrollbar-hover-color: var(--bs-primary);
    --kt-text-success: var(--bs-primary);
    --kt-success: var(--bs-primary);
    /* --kt-gray-100: var(--kt-gray-300); */
    /* --kt-gray-200: var(--kt-gray-400); */
    /* --kt-gray-300: var(--kt-gray-500); */
    /* --kt-gray-400: var(--kt-gray-600); */
    --kt-gray-500: var(--kt-text-dark);
    --kt-gray-600: var(--kt-text-dark);
    --kt-gray-700: var(--kt-text-dark);
    /* --kt-gray-800: var(--kt-gray-900); */
    /* --kt-gray-900: var(--kt-gray-900); */
    /* --kt-text-gray-100: var(--kt-text-gray-300); */
    /* --kt-text-gray-200: var(--kt-text-gray-400); */
    /* --kt-text-gray-300: var(--kt-text-gray-500); */
    /* --kt-text-gray-400: var(--kt-text-dark); */
    --kt-text-gray-500: var(--kt-text-dark);
    /* --kt-text-gray-600: var(--kt-text-gray-800); */
    --kt-text-gray-700: var(--kt-text-dark);
    /* --kt-text-gray-800: var(--kt-text-gray-900); */
    /* --kt-text-gray-900: var(--kt-text-gray-900); */

    --bs-border-radius-3xl: 3rem;
}

/* Background color override */
html body.app-default,
html body {
    background-color: #fcfcfc;
}

.rounded-20 {
    border-radius: var(--bs-border-radius-2xl);
}

.rounded-35 {
    border-radius: var(--bs-border-radius-3xl);
}

.stepper.stepper-pills.stepper-multistep {
    --kt-stepper-icon-bg-color-current: var(--bs-primary);
    --kt-stepper-label-title-color-current: #0d6461;
    --kt-stepper-label-title-color-completed: #0d6461;
    --kt-stepper-label-desc-color-current: #0d6461;
    --kt-stepper-label-desc-color-completed: #0d6461;
    --kt-stepper-label-title-color: var(--bs-primary);
    --kt-stepper-label-desc-color: var(--bs-primary);
    --kt-stepper-icon-number-color: var(--bs-primary);
    --kt-stepper-icon-border: 1px dashed var(--bs-primary);
    --kt-stepper-line-border: 1px dashed var(--bs-primary);
    --kt-stepper-icon-check-color-completed: var(--bs-primary);
    --kt-stepper-icon-border-completed: 1px dashed var(--bs-primary);
}

.btn-orange {
    color: #fff;
    background-color: #e74c3c;
}

.btn-orange:hover {
    color: #fff;
    background-color: #cf6208 !important;
}

.text-orange {
    color: #e74c3c !important;
}

.landing-header {
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
}

.landing-header .menu .menu-link {
    color: var(--bs-secondary);
}

.landing-header .menu .menu-link:hover,
.landing-header .menu .menu-link.active {
    color: var(--bs-primary);
}

[data-kt-sticky-landing-header=on] .landing-header .menu .menu-link,
[data-kt-sticky-landing-header=on] .landing-header .menu .menu-link.active {
    color: var(--bs-primary);
}

[data-kt-sticky-landing-header=on] .landing-header .menu .menu-link:hover {
    color: var(--bs-primary);
    background-color: var(--kt-success-light);
}

/* Adjust the height and padding for the default-header to ensure content is not hidden */
.default-header {
    height: auto;
    /* Automatically adjust the height */
    padding: 10px 0;
    /* Add padding to avoid content being hidden */
    border-bottom: 1px solid var(--kt-gray-200);
    /* Add bottom border with a lighter color */
}

.landing-dark-color {
    color: var(--bs-secondary);
}

.landing-dark-bg {
    background-color: var(--bs-secondary);
}

.landing-teal-bg {
    background-color: #1f6e75;
}

.landing-dark-separator {
    border-top: 1px dashed var(--kt-gray-400);
}

.landing-primary-bg {
    background-color: var(--bs-primary);
}

/* Add hover effect for the card */
.card.border-hover-primary:hover {
    border: var(--kt-primary) solid 2px !important;
}

/* Soft outline for the landing page title */
.landing-title {
    font-size: 90px;
    /* Text size */
    color: white;
    /* Text in white */
    text-shadow:
        0px 0px 10px var(--bs-secondary),
        /* Blue shadow around the text */
        0px 0px 20px var(--bs-secondary),
        /* A bit blurrier blue shadow */
        0px 0px 30px var(--bs-secondary),
        /* Even blurrier blue shadow */
        0px 0px 40px var(--bs-secondary);
    /* Very blurry blue shadow, creating the progressive outline effect */
    font-weight: bold;
    /* Bold title */
    z-index: 2;
}

/* Soft outline for the landing page subtitle */
.landing-subtitle {
    font-size: 24px;
    /* Text size */
    color: white;
    /* Text in white */
    text-shadow:
        0px 0px 5px var(--bs-secondary),
        /* Blue shadow around the text */
        0px 0px 10px var(--bs-secondary),
        /* Slightly blurrier blue shadow */
        0px 0px 15px var(--bs-secondary),
        /* Even blurrier blue shadow */
        0px 0px 20px var(--bs-secondary);
    /* Wider and blurrier blue shadow */
    font-weight: normal;
    /* Normal weight for subtitle */
    z-index: 2;
}

.search-form {
    z-index: 2;
}

.landing-image-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bs-secondary);
    opacity: 0.6;
    z-index: 1;
}

/* Section background with three images side by side */
.landing-image-bg {
    position: relative;
    background-image:
        url(/assets/media/landing/6.jpeg),
        url(/assets/media/landing/8.jpeg),
        url(/assets/media/landing/9.jpeg);
    background-repeat: no-repeat;
    background-position: left center, center center, right center;
    background-size: 33.33% 100%;
    /* Each image takes 1/3 of the width */
    width: 100%;
    /* Ensure the background takes the full width of the section */
    height: 35vh;
    /* Default section height for most screens */
    display: flex;
    /* Flexbox to center content */
    justify-content: center;
    /* Center content horizontally */
    align-items: center;
    /* Center content vertically */
    overflow: hidden;
}

@media (max-width: 1920px) {
    .landing-image-bg {
        background-image: url(/assets/media/landing/big.jpg);
        /* Display only the last image */
        background-repeat: no-repeat;
        background-position: center 80%;
        /* Center the image */
        background-size: cover;
        /* Ensure the image covers the whole section */
        height: 50vh !important;
        /* Slightly increased height for better spacing */
        position: relative;
    }
}

/* For small screens, show only one image */
@media (max-width: 576px) {
    .landing-image-bg {
        background-image: url(/assets/media/landing/big.jpg);
        background-repeat: no-repeat;
        background-position: center 80%;
        /* Center the image */
        background-size: cover;
        /* Ensure the image covers the whole section */
        height: 38vh;
        /* Slightly increased height for better spacing */
    }

    .landing-title {
        font-size: 1rem;
        /* Title font size for small screens */
    }

    .landing-subtitle {
        font-size: 0.8rem;
        /* Subtitle font size for small screens */
    }

    .search-form {
        margin-top: 10px;
        /* Spacing between the title and the form */
    }
}

/* For very large screens, reduce section height */
@media (min-width: 1600px) {
    .landing-image-bg {
        height: 30vh;
        /* Reduced height for very large screens (> 1600px) */
    }

    .landing-title {
        font-size: 1.4rem;
        /* Title font size slightly larger on large screens */
    }

    .landing-subtitle {
        font-size: 1.1rem;
        /* Subtitle font size slightly larger on large screens */
    }
}

/* Landing page title with smaller font size */
.landing-title {
    font-size: 1.2rem;
    /* Reduced title font size */
    text-align: center;
    line-height: 1.3;
    margin-bottom: 10px;
    /* Less bottom spacing */
}

/* Landing page subtitle with smaller font size */
.landing-subtitle {
    font-size: 0.9rem;
    /* Reduced subtitle font size */
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    /* Less bottom spacing */
}

/* Search form adjusted */
.search-form {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    /* Smaller spacing between the title and the form */
}

/* Search form button - desktop */
.search-form-btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Search form - mobile responsive */
@media (max-width: 991.98px) {
    .landing-image-bg {
        height: auto !important;
        min-height: 38vh;
    }

    .search-form {
        border-radius: var(--bs-border-radius-xl) !important;
        overflow: hidden;
    }

    .search-form form {
        min-height: auto !important;
    }

    .search-form .input-group {
        min-height: 50px;
    }

    .search-form-btn {
        border-radius: var(--bs-border-radius-xl) !important;
        margin: 8px 12px 12px;
        height: auto !important;
        min-height: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .has-search-form ~ .app-main {
        padding-top: 100px;
    }
}

/* For medium-sized screens, adjust font size */
@media (max-width: 991px) {
    .landing-title {
        font-size: 1rem;
        /* Title font size for medium-sized screens */
    }

    .landing-subtitle {
        font-size: 0.8rem;
        /* Subtitle font size for medium-sized screens */
    }

    .search-form {
        margin-top: 5px;
        /* Less space between the title and the form */
    }
}

[data-ke-sticky-name="publish-trip-actions"] {
    position: sticky !important;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-bottom: 10px;
}


/* become carrier */
.landing-bc-calculator-image-bg {
    background-color: #c2d2e1;
    margin-top: 70px;
}

.landing-bc-calculator-image-bg .landing-bc-title,
.landing-bc-calculator-image-bg .landing-bc-subtitle {
    color: var(--bs-secondary);
}


@media (max-width: 991px) {
    .landing-header {
        padding: 0 !important;
        height: 65px;
        display: flex;
        align-items: center;
    }

    .landing-header.default-header {
        height: auto;
        padding: 10px 0 !important;
    }

    .landing-header .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .landing-header img.logo-default {
        height: 30px !important;
    }
}


/* ─── Trip Timeline Vertical ─────────────────────────────────────────────── */

.trip-timeline {
    display: grid;
    grid-template-columns: 45px 20px 1fr;
    grid-template-rows: auto auto auto;
}

.tt-time-dep {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
    font-size: 16px;
    font-weight: 700;
    color: var(--bs-secondary);
    padding-top: 4px;
    line-height: 1;
}

.tt-time-arr {
    grid-column: 1;
    grid-row: 3;
    text-align: right;
    font-size: 16px;
    font-weight: 700;
    color: var(--bs-secondary);
    padding-top: 14px;
    line-height: 1;
}

.tt-duration {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    text-align: right;
    font-size: 10px;
    color: #8a9db5;
}

.tt-name-dep {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--bs-secondary);
    padding-left: 10px;
    padding-bottom: 12px;
}

.tt-name-arr {
    grid-column: 3;
    grid-row: 3;
    align-self: center;
    padding-left: 10px;
    padding-top: 12px;
}

.tt-name-arr .name {
    font-size: 16px;
    font-weight: 700;
    color: var(--bs-secondary);
}

.tt-name-arr .sub {
    font-size: 11px;
    color: #8a9db5;
    margin-top: 3px;
}

.tt-dot-dep {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    display: flex;
    justify-content: center;
    padding-bottom: 12px;
    position: relative;
    z-index: 2;
}

.tt-dot-arr {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    display: flex;
    justify-content: center;
    padding-top: 9px;
    position: relative;
    z-index: 2;
}

.tt-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2.5px solid var(--bs-secondary);
    background: #fff;
    flex-shrink: 0;
}

.tt-line {
    grid-column: 2;
    grid-row: 1 / 4;
    display: flex;
    justify-content: center;
    align-self: stretch;
    position: relative;
    z-index: 1;
}

/* Sans heures */
.trip-timeline.no-times {
    grid-template-columns: 20px 1fr;
}

.tt-dot-dep.no-times {
    padding-bottom: 14px;
}

.no-times .tt-dot-dep,
.no-times .tt-dot-arr,
.no-times .tt-line {
    grid-column: 1;
}

.no-times .tt-name-dep,
.no-times .tt-name-arr {
    grid-column: 2;
}

.tt-vline {
    width: 3px;
    background-color: var(--bs-secondary);
    align-self: stretch;
    margin-top: 6px;
    margin-bottom: 18px;
}
