body {
    font-family: 'Roboto';
}

* {
    font-family: 'Roboto';
}

.hero-background {
    background-image: url('/assets/images/labs/penetrometric.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    max-width: 100.6%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.7);
    position: relative;
}



.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

/* Assurez-vous que le contenu de la section est au-dessus du filtre */
.hero-background>div {
    position: relative;
    z-index: 1;
}


/* .col-md-6 h2 {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid #28a745;
    display: inline-block;
    color: #333;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 10px;
}

.analysis-types h2 {
    border-color: #00b050;
} */

.ap-propos-section {
    background: #f4f4f4;
    padding: 40px
}

/* .image-border {
    border: 3px solid #fff;
    padding: 2px;
    display: inline-block;
    background-color: white;
} */
.image-border img {
    border-radius: 30px;
}

ul li {
    transition: all 0.3s ease;
    cursor: pointer;
    padding-left: 20px;
    /* padding-bottom: 5px; */
    /* width: 48%; */
    margin-right: 2%;
    position: relative;
    padding-left: 30px;
    /* font-size: 16px; */
    /* font-weight: 700; */
    color: #02b050;
}

ul.text-white li:hover {
    color: #02b050;
    padding-left: 30px;
    font-weight: bold;
}

.lnbtp-logo {
    width: 25%;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.step {
    background: #fff;
    color: #000;
    padding: 20px;
    border-radius: 5px;
}

.step img {
    width: 50px;
    margin-bottom: 10px;
}





/*  */



.custom-card {
    width: 18rem;
    margin: 2rem;
    border: 1px solid #ddd;
    background-image: url('/assets/images/labs/penetrometric.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    transition: all 0.3s ease-in-out;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.custom-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.custom-card .card-body {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    position: relative;
    padding: 1rem;
    z-index: 2;
    /* Plus élevé que le z-index de ::before */
    transition: justify-content 0.5s ease, padding 0.5s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    /* Ombre portée pour améliorer la lisibilité */

}

.custom-card .step-number {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3em;
    transition: opacity 0.5s ease, top 0.5s ease;
    z-index: 10;
}

.custom-card:hover .step-number {
    opacity: 0;
    top: 0;
}

.custom-card .icon-container {
    color: #02b050;
    transition: color 0.3s ease-in-out;
}

.custom-card .card-title {
    font-size: 1.25em;
    margin-bottom: 0.5rem;
    transition: font-size 0.3s ease-in-out, margin-bottom 0.3s ease-in-out;
}

.custom-card .card-text {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    opacity: 0;
    transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
    padding: 1rem;
    display: none;
}

.custom-card:hover .card-body {
    justify-content: flex-start;
    padding-top: 2rem;
}

.custom-card:hover .card-title {
    font-size: 1em;
    margin-bottom: 1rem;
}

.custom-card:hover .card-text {
    top: 50%;
    opacity: 1;
    display: block;
}

.custom-card:hover .icon-container i {
    transform: scale(0.8);
}


/* .bg-lnbtp {
    background-color: #00b050 !important;
} */
nav a:hover {
    color: #02b050 !important;
    font-weight: 700;
    font-family: "roboto";
}


.demande-bouton {
    background-color: #02b050;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.demande-bouton:hover {
    background-color: orangered !important;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-right: 10px;
    margin-left: 10px;
}

.lnbtp-color {
    color: #02b050 !important;
}

footer {
    background-color: #f4f4f4;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    font-family: "roboto";
}

.contact-info p {
    margin: 5px 0;
}

.map iframe {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    text-decoration: none;
    color: #000;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Add responsiveness */
@media (max-width: 768px) {
    footer {
        flex-direction: column;
    }

    .map iframe {
        width: 100%;
        height: auto;
    }

    .footer-links {
        align-items: center;
        margin-top: 20px;
    }
}

.col-md-6.contact-info p {
    padding-top: 20px;
    padding-bottom: 20px;

}

section.commentcamarche {
    background: #000;
    background-image: url('/assets/front/images/background_section.png');
}

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

.step {
    background: #fff;
    color: #000;
    padding: 20px;
    border-radius: 5px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.step img {
    width: 80px;
    margin-bottom: 10px;
    height: auto;
}

.step {
    min-height: 200px;
    width: calc(33.333% - 14px);
}

footer {
    padding-top: 30px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #28a745;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #218838;
}

@media (max-width: 768px) {
    .steps {
        flex-direction: column;
    }
    .step {
        width: 100%;
        margin-bottom: 20px;
    }
}
.titre {
    font-weight: 700;
}

.step.text-center p {
    font-weight: 600;
}

.faq-accordion-button:hover {
    color: white;
  }

  .accordion-button:not(.collapsed) {
    color: white;
    background-color: green;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.image-incription {
    width: 50%;
}

.titre-highlight {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #008000;
    position: relative;
    font-weight: bold;
}


.titre-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #008000;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
}


.step-arrow-nav .nav {
    background-color: var(--vz-light)
}

.step-arrow-nav .nav .nav-link {
    border-radius: 0;
    position: relative;
    font-weight: 500;
    color: var(--vz-dark)
}

.step-arrow-nav .nav .nav-link:before {
    content: "";
    position: absolute;
    border: 7px solid transparent;
    right: -14px;
    top: 50%;
    transform: translateY(-50%)
}

.step-arrow-nav .nav .nav-link.done {
    background-color: #1c9754;
    color: white !important
}

.step-arrow-nav .nav .nav-link.done:before {
    border-left-color: transparent
}

.step-arrow-nav .nav .nav-link.active {
    background-color: #18cd6a;
    color: white !important;
    box-shadow: none
}

.step-arrow-nav .nav .nav-link.active:before {
    border-left-color: #18cd6a
}

.step-arrow-nav .nav .nav-item:last-child .nav-link:before {
    display: none
}
.sample-border {
    border: 1px solid #00800052;
    padding: 20px;
    border-radius: 5px;
}

#loader-container {
    display: block;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid green;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
    margin: 20% auto;
    margin-bottom: 10%;
}

.loader i {
    font-size: 2em;
    color: #3498db;
    /* Change the color as needed */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.file-upload-wrapper {
    border: 2px dashed #d3d3d3;
    padding: 10px;
    text-align: center;
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-wrapper img {
    max-width: 100%;
    height: 100px;


}

.fas.fa-file-pdf {
    font-size: 48px;
    color: #D33434;
}

.custom-file-input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.custom-file-label {
    cursor: pointer;
}

.sample-border {
    border: 1px solid #00800052;
    padding: 20px;
    border-radius: 5px;
}

.form-label-titre {
    font-size: 18px;
}

.dl dt {
    float: left;
    width: 41%;
    padding: 0 !important;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1rem;
    font-size: .9em;
}

.dl dd {
    margin-left: 44%;
    line-height: 1rem;
    font-size: .9em;
    font-weight: 700;
}

.lnbtp-color {
    color: #02b050 !important;
}
ul li {
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

ul li:hover {
    color: #02b050;
    transform: translateX(10px);
    color: orangered;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
}

.bg-grey {
    background-color: #f3f3f3;
    padding: 0px 5px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 20px;
    height: 20px;
    line-height: 20px;
    cursor: pointer;
    position: relative;
}

/* Tooltip container */
.bg-grey::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 125%; /* Position above the element */
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    font-size: 12px;
}

/* Tooltip arrow */
.bg-grey::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 115%;
    border-width: 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.bg-grey:hover::after, .bg-grey:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Menu Icon */
.menu-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

/* Mobile Menu */
/* .mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 200px;
    height: 100%;
    background-color: #343a40;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
    z-index: 1000;
} */

/* .mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 2px 0;
    margin-left: 30px;
    width: 100%;
}

.mobile-menu.show {
    left: 0;
} */

@media (max-width: 992px) {
    .desktop-menu, .hide-on-mobile {
        display: none !important;
    }

    button#steparrow-gen-info-tab, button#steparrow-description-info-tab, button#pills-experience-tab {
        font-size: 14px;
    }

    .depot-demande-header, .depot-demande-mobile-size {
        font-size: 14px;
    }
    .slide1 {
        font-size: 20px;
        margin-bottom: 10px;

    }

    .hero-background {
        height: 30vh;
    }

    .demande-bouton {
        margin-bottom: 10px;
        width: 80%;
    }
    .ap-propos-section {
        padding: 40px 5px;
    }
}
