/* Darwin Transport - Custom CSS with New Colors */

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.btn {
    text-transform: uppercase;
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 #1E2051; /* Nouveau bleu foncé */
}

.btn.btn-primary:hover {
    box-shadow: inset 200px 0 0 0 #1E2051 !important; /* Nouveau bleu foncé */
    color: #00A9F2 !important; /* Nouveau jaune doré */
}

.btn.btn-dark {
    box-shadow: inset 0 0 0 0 #00A9F2; /* Nouveau jaune doré */
}

.btn.btn-dark:hover {
    box-shadow: inset 200px 0 0 0 #00A9F2; /* Nouveau jaune doré */
    color: #1E2051 !important; /* Nouveau bleu foncé */
}

/*** Topbar Start ***/
.search-btn {
    position: relative;
    width: 100%;
    padding: 0 0 0 25px;
}

.search-btn .form-group {
    width: 100%;
}

.search-btn button {
    position: absolute;
    right: 25px;
}

@media (max-width: 992px) {
    .search-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
    }
    .search-btn {
        display: none;
    }
    .topbar-info {
        flex-direction: column;
    }
    .topbar-info a {
        padding: 0 0 10px 0;
    }
    .topbar-icon {
        padding: 0 0 10px 0;
    }
}

@media (max-width: 576px) {
    .topbar-top {
        display: none;
    }
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav {
    padding: 15px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 15px;
    color: var(--bs-white);
    font-weight: 500;
    font-size: 16px;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active  {
    color: #00A9F2; /* Nouveau jaune doré */
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 800;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover,
.dropdown .dropdown-menu a.active {
    background: #1E2051; /* Nouveau bleu foncé */
    color: #00A9F2; /* Nouveau jaune doré */
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}

.navbar-toggler {
    background: var(--bs-secondary);
    color: var(--bs-light) !important;
    padding: 5px 12px;
    border: 2px solid #00A9F2 !important; /* Nouveau jaune doré */
}
/*** Navbar End ***/

/*** Carousel Start ***/
.carousel-item {
    height: 60vh; /* Réduit la hauteur à 60% de la hauteur de l'écran */
    max-height: 500px; /* Hauteur maximale de 500px */
    min-height: 400px; /* Hauteur minimale de 400px */
    position: relative;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image couvre bien la zone sans déformation */
}

.carousel-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, .7);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev {
    width: 80px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: #00A9F2; /* Nouveau jaune doré */
    border-radius: 0 30px 30px 0;
    transition: .5s;
    opacity: 1;
}

.carousel-control-next {
    width: 80px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: #00A9F2; /* Nouveau jaune doré */
    border-radius: 30px 0 0 30px;
    transition: .5s;
    opacity: 1;
}

#carouselId .carousel-indicators li {
    width: 24px;
    height: 24px;
    background: #1E2051; /* Nouveau bleu foncé */
    border: 2px solid #00A9F2; /* Nouveau jaune doré */
    border-radius: 24px;
    margin: 0 10px 30px 10px;
}

#carouselId .carousel-indicators li.active {
    background: #00A9F2 !important; /* Nouveau jaune doré */
}

/* Ajustements responsive */
@media (max-width: 768px) {
    .carousel-item {
        height: 50vh; /* Plus petit sur mobile */
        max-height: 400px;
        min-height: 300px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 40vh; /* Encore plus petit sur très petits écrans */
        max-height: 350px;
        min-height: 250px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
    margin-bottom: 6rem;
}
/*** Carousel End ***/

/*** About Start ***/
.about-img {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 30px 30px 30px 30px ;
    overflow: hidden;
}

.about-img::before {
    content: "";
    width: 100%;
    height: 40%;
    background: #1E2051; /* Nouveau bleu foncé */
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    border-radius: 10px 10px 10px 10px;
}

.about-img::after {
    content: "";
    width: 100%;
    height: 60%;
    background: #00A9F2; /* Nouveau jaune doré */
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 1;
    border-radius: 10px 10px 10px 10px;
}

.rotate-left {
    width: 150px;
    height: 100px;
    position: absolute;
    top: 28%;
    left: -10%;
    rotate: 25deg;
    z-index: 2;
}

.rotate-right {
    width: 150px;
    height: 100px;
    position: absolute;
    top: 28%;
    right: -10%;
    rotate: -25deg;
    z-index: 2;
}

.about-img img {
    position: relative;
    z-index: 2;
    border-radius: 10px;
}

.experiences {
    width: 160px;
    height: 200px;
    position: absolute;
    top: -0;
    right: 0;
    padding: 35px 35px;
    text-align: center;
    border-radius: 10px;
    z-index: 3;
    animation: mymove 5s infinite;
    animation-timing-function: ease-in-out;
}

@keyframes mymove {
    from {top: -202px;}
    to {top: 102%;}
}
/*** About End ***/

/*** Services Start ***/
.services-inner-icon {
    width: 130px;
    height: 130px;
    background: #1E2051; /* Nouveau bleu foncé */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    position: relative;
}

.services-inner-icon::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 62px;
    top: 50%;
    left: 50%;
    transition: .5s;
}

.services-item:hover .services-inner-icon::after {
    width: 100%;
    height: 100%;
    margin-top: -50%;
    margin-left: -50%;
    background: #00A9F2; /* Nouveau jaune doré */
    color: #1E2051; /* Nouveau bleu foncé */
} 

.services-item i {
    text-align: center;
    transition: .5s;
}

.services-item:hover i {
    color: #1E2051 !important; /* Nouveau bleu foncé */
    z-index: 1;
    rotate: 360deg;
}

.services-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
/*** Services End ***/

/*** Project Start ***/
.project-item {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 30px 30px 30px 30px ;
    overflow: hidden;
}

.project-item::before {
    content: "";
    width: 100%;
    height: 40%;
    background: #1E2051; /* Nouveau bleu foncé */
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    border-radius: 10px 10px 10px 10px;
}

.project-item::after {
    content: "";
    width: 100%;
    height: 60%;
    background: #00A9F2; /* Nouveau jaune doré */
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 1;
    border-radius: 10px 10px 10px 10px;
}

.project-left {
    width: 180px;
    height: 70px;
    position: absolute;
    top: 22%;
    left: -18%;
    rotate: 30deg;
    z-index: 2;
}

.project-right {
    width: 180px;
    height: 70px;
    position: absolute;
    top: 22%;
    right: -18%;
    rotate: -30deg;
    z-index: 2;
}

.project-item img {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-item a {
    position: absolute;
    padding: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(-360deg);
    border-radius: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    opacity: 0;
}

.project-item:hover a {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    background: #00A9F2; /* Nouveau jaune doré */
    color: #1E2051 !important; /* Nouveau bleu foncé */
    opacity: 1;
}
/*** Project End ***/

/*** Blog Start ***/
.blog-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.blog-carousel .owl-nav .owl-prev {
    position: absolute;
    width: 80px;
    height: 50px;
    background: #00A9F2; /* Nouveau jaune doré */
    top: -51px;
    left: 0;
    border: 0;
    border-radius: 10px 30px 30px 10px;
}

.blog-carousel .owl-nav .owl-prev {
    box-shadow: inset 0 0 0 0 #1E2051; /* Nouveau bleu foncé */
    transition: .5s;
}

.blog-carousel .owl-nav .owl-prev:hover {
    box-shadow: inset 200px 0 0 0 #1E2051; /* Nouveau bleu foncé */
    color: #00A9F2 !important; /* Nouveau jaune doré */
}

.blog-carousel .owl-prev,
.blog-carousel .owl-next {
    color: #1E2051; /* Nouveau bleu foncé */
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-carousel .owl-nav .owl-next {
    position: absolute;
    width: 80px;
    height: 50px;
    background: #00A9F2; /* Nouveau jaune doré */
    top: -51px;
    right: 0;
    border-radius: 30px 10px 10px 30px;
}

.blog-carousel .owl-nav .owl-next {
    box-shadow: inset 0 0 0 0 #1E2051; /* Nouveau bleu foncé */
    transition: .5s;
}

.blog-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 200px 0 0 0 #1E2051; /* Nouveau bleu foncé */
    color: #00A9F2 !important; /* Nouveau jaune doré */
}
/*** Blog End ***/

/*** Pricing Start ***/
.pricing-item {
    transition: .5s;
}

.pricing-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    margin: -20px 0 20px 0;
}

.pricing-label {
    border-bottom: 20px solid var(--bs-light);
    border-radius: 0 0 300px 300px;
    transition: .5s;
}

.pricing-item:hover .pricing-label {
    border-color: rgba(0, 0, 0, .5);
}

.pricing-item:hover .pricing-label.pricing-featured {
    border-color: rgba(255, 255, 255, .5);
}
/*** Pricing End ***/

/*** Call To Action Start ***/
.call-to-action {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}
/*** Call To Action End ***/

/*** Team Start ***/
.team-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.team-item .team-icon {
    position: absolute;
    top: 15px;
    right: -80px;
    rotate: -30deg;
    transition: .5s;
    visibility: hidden;
}

.team-item:hover .team-icon {
    visibility: visible;
    margin-right: 95px;
    rotate: 0deg;
}

.team-item .team-icon .btn {
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 35px;
}

.team-item .team-content {
    box-shadow: inset 0 0 0 0 #1E2051; /* Nouveau bleu foncé */
    transition: 1s;
}

.team-item:hover .team-content {
    box-shadow: inset 550px 0 0 0 #1E2051; /* Nouveau bleu foncé */
    color: #00A9F2 !important; /* Nouveau jaune doré */
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bs-light);
    z-index: 1;
}

.testimonial-content::before {
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50px;
    bottom: -15px;
    rotate: 45deg;
    z-index: -5;
    background: var(--bs-light);
}

.testimonial-carousel {
    position: relative;
    padding-left: 60px;
    padding-right: 60px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 60px;
    height: 40px;
    background: #00A9F2; /* Nouveau jaune doré */
    color: #1E2051; /* Nouveau bleu foncé */
    font-size: 22px;
    top: 14%;
    left: 0px;
    border-radius: 30px 0 0 30px;
    box-shadow: inset 0 0 0 0 #1E2051; /* Nouveau bleu foncé */
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover {
    box-shadow: inset 200px 0 0 0 #1E2051; /* Nouveau bleu foncé */
    color: #00A9F2 !important; /* Nouveau jaune doré */
}

.testimonial-carousel .owl-nav .owl-next {
    left: auto;
    right: 0px;
    border-radius: 0 30px 30px 0;
}

.testimonial-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 200px 0 0 0 #1E2051; /* Nouveau bleu foncé */
    color: #00A9F2 !important; /* Nouveau jaune doré */
}

.testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-secondary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: #00A9F2; /* Nouveau jaune doré */
}
/*** Testimonial End ***/

/*** Contact Start ***/
.contact-link a i,
.contact-link a h5,
.contact-link a.h5 {
    transition: .5s;
}

.contact-link a i:hover,
.contact-link a h5:hover,
.contact-link a.h5:hover {
    color: #00A9F2 !important; /* Nouveau jaune doré */
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80) center center no-repeat;
    background-size: cover;
    color: rgba(255, 255, 255, .7);
    margin-top: 6rem;
}

.footer-item,
.footer-item a {
    color: rgba(255, 255, 255, .7);
    text-transform: capitalize;
}
/*** Footer End ***/

/*** Copyright Start ***/
.copyright .copyright-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright .copyright-icon {
    width: 44px; 
    height: 44px; 
    display: flex;
    align-items: center; 
    justify-content: center;
}
/*** Copyright End ***/

/*** Quote Form ***/
.quotation-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-control:focus {
    border-color: #00A9F2; /* Nouveau jaune doré */
    box-shadow: 0 0 0 0.2rem rgba(252, 206, 22, 0.25); /* Nouveau jaune doré avec transparence */
}

.alert {
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

/* Ajoutez ces règles à la fin de votre style.css pour forcer la couleur du topbar */

/*** Topbar Color Override ***/
.topbar-top.bg-primary {
    background-color: #00A9F2 !important; /* Force le nouveau jaune doré */
}

.container-fluid.topbar-top.bg-primary {
    background-color: #00A9F2 !important; /* Force le nouveau jaune doré */
}

/* Alternative si la première méthode ne fonctionne pas */
.topbar-top {
    background-color: #00A9F2 !important; /* Force le nouveau jaune doré */
}

/* Pour s'assurer que tous les éléments bg-primary utilisent la nouvelle couleur */
.bg-primary {
    background-color: #00A9F2 !important;
}

/* Spécifiquement pour le topbar s'il a une classe différente */
.container-fluid.bg-primary {
    background-color: #00A9F2 !important;
}

/* Ajoutez ces règles à votre style.css pour corriger les couleurs du logo */

/*** Logo Color Fix ***/
.navbar-brand h1 {
    color: #00A9F2 !important; /* Nouveau jaune doré pour "Darwin" */
}

.navbar-brand h1 span {
    color: #ffffff !important; /* Blanc pour "Transport" */
}

.navbar-brand h1 i {
    color: #00A9F2 !important; /* Nouveau jaune doré pour l'icône camion */
}

/* Alternative si les classes sont différentes */
.navbar-brand .text-primary {
    color: #00A9F2 !important; /* Force le nouveau jaune doré */
}

.navbar-brand .text-white {
    color: #ffffff !important; /* Force le blanc */
}

/* Pour l'icône spécifiquement */
.navbar-brand .fas.fa-truck {
    color: #00A9F2 !important; /* Nouveau jaune doré pour le camion */
}


/* REMPLACEZ la section "Carousel Buttons Color Fix" dans votre CSS par ceci : */

/*** Carousel Buttons Color Fix - Version Corrigée ***/
.carousel-caption .btn-primary {
    background-color: #00A9F2 !important; /* Nouveau jaune doré */
    border-color: #00A9F2 !important; /* Bordure de la même couleur */
    color: #1E2051 !important; /* Texte en bleu foncé pour contraste */
}

.carousel-caption .btn-primary:hover {
    background-color: #1E2051 !important; /* Bleu foncé au survol */
    border-color: #1E2051 !important;
    color: #00A9F2 !important; /* Texte jaune au survol */
}

.carousel-caption .btn-primary:focus,
.carousel-caption .btn-primary:active {
    background-color: #00A9F2 !important;
    border-color: #00A9F2 !important;
    color: #1E2051 !important;
    box-shadow: 0 0 0 0.2rem rgba(252, 206, 22, 0.25) !important;
}

/* Pour les boutons primaires UNIQUEMENT dans les sections spécifiques */
.carousel .btn.btn-primary,
.services .btn.btn-primary,
.about .btn.btn-primary {
    background-color: #00A9F2 !important;
    border-color: #00A9F2 !important;
    color: #1E2051 !important;
}

.carousel .btn.btn-primary:hover,
.services .btn.btn-primary:hover,
.about .btn.btn-primary:hover {
    background-color: #1E2051 !important;
    border-color: #1E2051 !important;
    color: #00A9F2 !important;
}

/* Ajoutez ces règles à la fin de votre style.css pour corriger le bouton retour en haut */

/*** Back to Top Button Color Fix ***/
.back-to-top {
    background-color: #00A9F2 !important; /* Nouveau jaune doré */
    color: #1E2051 !important; /* Icône en bleu foncé */
    border: 2px solid #00A9F2 !important;
}

.back-to-top:hover {
    background-color: #1E2051 !important; /* Bleu foncé au survol */
    color: #00A9F2 !important; /* Icône jaune au survol */
    border-color: #1E2051 !important;
}

.back-to-top:focus {
    background-color: #00A9F2 !important;
    color: #1E2051 !important;
    box-shadow: 0 0 0 0.2rem rgba(252, 206, 22, 0.25) !important;
}

/* Si le bouton utilise la classe btn-primary */
.back-to-top.btn-primary {
    background-color: #00A9F2 !important;
    border-color: #00A9F2 !important;
    color: #1E2051 !important;
}

.back-to-top.btn-primary:hover {
    background-color: #1E2051 !important;
    border-color: #1E2051 !important;
    color: #00A9F2 !important;
}

/* Pour l'icône flèche spécifiquement */
.back-to-top i,
.back-to-top .fa-arrow-up {
    color: inherit !important;
}

/* Ajoutez ces règles à la fin de votre style.css pour corriger le bouton de devis */

/*** Quote Button Color Fix ***/
#quote .btn-primary,
.quote-form .btn-primary,
input[type="button"].btn-primary {
    background-color: #00A9F2 !important; /* Nouveau jaune doré */
    border-color: #00A9F2 !important;
    color: #1E2051 !important; /* Texte en bleu foncé */
}

#quote .btn-primary:hover,
.quote-form .btn-primary:hover,
input[type="button"].btn-primary:hover {
    background-color: #1E2051 !important; /* Bleu foncé au survol */
    border-color: #1E2051 !important;
    color: #00A9F2 !important; /* Texte jaune au survol */
}

/* Pour les inputs de type button spécifiquement */
input[value="DEMANDER UN DEVIS"] {
    background-color: #00A9F2 !important;
    border-color: #00A9F2 !important;
    color: #1E2051 !important;
}

input[value="DEMANDER UN DEVIS"]:hover {
    background-color: #1E2051 !important;
    border-color: #1E2051 !important;
    color: #00A9F2 !important;
}

/* Alternative plus générale pour la section quote */
#quote input.btn,
#quote button.btn {
    background-color: #00A9F2 !important;
    border-color: #00A9F2 !important;
    color: #1E2051 !important;
}

#quote input.btn:hover,
#quote button.btn:hover {
    background-color: #1E2051 !important;
    border-color: #1E2051 !important;
    color: #00A9F2 !important;
}

/* Ajoutez ces règles à la fin de votre style.css pour corriger l'alignement du bouton */

/* Remplacez les règles précédentes du bouton par ceci dans votre style.css */
/* Remplacez les règles du bouton par ceci pour l'agrandir */

/* Remplacez les règles du bouton par ceci pour le rendre plus large */

/*** Wider Quote Button Fix ***/
input[type="button"].btn-primary,
input[value="DEMANDER UN DEVIS"],
#quote input[type="button"] {
    background-color: #00A9F2 !important;
    border-color: #00A9F2 !important;
    color: #1E2051 !important;
    
    /* Bouton plus large mais hauteur normale */
    height: 48px !important; /* Hauteur normale */
    padding: 10px 10px !important; /* Plus de padding horizontal */
    min-width: 200px !important; /* Largeur minimale */
    width: 100% !important; /* Prend toute la largeur disponible */
    
    /* Texte bien visible */
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    
    /* Centrage simple */
    vertical-align: middle !important;
    
    /* Supprime les styles par défaut */
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    border-radius: 10px !important;
    
    /* Force l'affichage du texte */
    display: inline-block !important;
    position: relative !important;
}

input[type="button"].btn-primary:hover,
input[value="DEMANDER UN DEVIS"]:hover,
#quote input[type="button"]:hover {
    background-color: #1E2051 !important;
    border-color: #1E2051 !important;
    color: #00A9F2 !important;
}

/* Assurer que le conteneur permet la largeur */
#quote .col-xl-2 {
    min-width: 250px !important; /* Permet au bouton d'être plus large */
}

/* Version responsive */
@media (max-width: 768px) {
    input[value="DEMANDER UN DEVIS"],
    #quote input[type="button"] {
        height: 45px !important;
        padding: 10px 30px !important;
        font-size: 0.9rem !important;
        min-width: 180px !important;
    }
    
    #quote .col-xl-2 {
        min-width: 200px !important;
    }
}

/*** Centered Quote Submit Button ***/
.quote-submit-btn {
    background-color: #00A9F2 !important;
    border-color: #00A9F2 !important;
    color: #1E2051 !important;
    padding: 12px 50px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    min-width: 250px !important;
    transition: all 0.3s ease !important;
}

.quote-submit-btn:hover {
    background-color: #1E2051 !important;
    border-color: #1E2051 !important;
    color: #00A9F2 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(30, 32, 81, 0.3) !important;
}

.quote-submit-btn:focus,
.quote-submit-btn:active {
    background-color: #00A9F2 !important;
    border-color: #00A9F2 !important;
    color: #1E2051 !important;
    box-shadow: 0 0 0 0.2rem rgba(252, 206, 22, 0.25) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .quote-submit-btn {
        width: 100% !important;
        min-width: auto !important;
    }
}

/*** About Section Icon Color Fix ***/
.about-item .bg-dark i {
    color: #00A9F2 !important; /* Force le nouveau jaune doré pour les icônes */
}

/* Alternative si la première méthode ne fonctionne pas */
.about-item .text-primary {
    color: #00A9F2 !important;
}

/* Pour cibler spécifiquement les icônes Font Awesome dans cette section */
.about-item .fas {
    color: #00A9F2 !important;
}

/* Si les icônes ont une classe spécifique */
.about-item .fa-truck,
.about-item .fa-shipping-fast,
.about-item .fa-boxes,
.about-item .fa-shield-alt {
    color: #00A9F2 !important;
}

/*** About Section Button Color Fix ***/
.about-item .btn-primary {
    background-color: #00A9F2 !important; /* Nouveau jaune doré */
    border-color: #00A9F2 !important;
    color: #1E2051 !important; /* Texte en bleu foncé */
}

.about-item .btn-primary:hover {
    background-color: #1E2051 !important; /* Bleu foncé au survol */
    border-color: #1E2051 !important;
    color: #00A9F2 !important; /* Texte jaune au survol */
    box-shadow: inset 200px 0 0 0 #1E2051 !important;
}

.about-item .btn-primary:focus,
.about-item .btn-primary:active {
    background-color: #00A9F2 !important;
    border-color: #00A9F2 !important;
    color: #1E2051 !important;
    box-shadow: 0 0 0 0.2rem rgba(252, 206, 22, 0.25) !important;
}

/*** Section Labels/Badges Color Fix ***/
.border-primary {
    border-color: #00A9F2 !important; /* Nouveau jaune doré pour les bordures */
}

/* Plus spécifiquement pour les badges de section */
h5.border.border-primary,
.rounded-pill.border-primary {
    border-color: #00A9F2 !important;
}

/* Si vous voulez aussi changer la couleur du texte dans ces badges */
h5.border.border-primary {
    color: #1E2051 !important; /* Texte en bleu foncé */
}

/*** Services Section Icons Color Fix ***/
.services-item i {
    color: #00A9F2 !important; /* Nouveau jaune doré pour les icônes */
}

/* Spécifiquement pour les icônes Font Awesome dans les services */
.services-inner-icon i {
    color: #00A9F2 !important;
}

/* Pour s'assurer que la couleur reste jaune même au survol */
.services-item:hover i {
    color: #1E2051 !important; /* Bleu foncé au survol comme défini dans votre CSS */
}

/* Alternative si les icônes utilisent .text-primary */
.services-item .text-primary {
    color: #00A9F2 !important;
}

/*** Fix Dark Background Elements ***/
/* Change tous les fonds bg-dark en bleu foncé */
.bg-dark {
    background-color: #1E2051 !important; /* Nouveau bleu foncé */
}

/* S'assure que les icônes dans la section About sont jaunes */
.about-item .bg-dark i {
    color: #00A9F2 !important; /* Nouveau jaune doré */
}

/* Alternative pour forcer le changement */
.about-item .p-4.bg-dark {
    background-color: #1E2051 !important;
}

/* Pour la navbar qui utilise aussi bg-dark */
.navbar.bg-dark,
.container-fluid.bg-dark {
    background-color: #1E2051 !important;
}

/* Pour le footer copyright qui utilise bg-dark */
.copyright.bg-dark {
    background-color: #1E2051 !important;
}

/*** Footer Color Fix ***/
/* Icônes des réseaux sociaux dans le footer */
.copyright .btn-primary,
.copyright-icon {
    background-color: #00A9F2 !important; /* Nouveau jaune doré */
    border-color: #00A9F2 !important;
    color: #1E2051 !important; /* Icônes en bleu foncé */
}

.copyright .btn-primary:hover,
.copyright-icon:hover {
    background-color: #1E2051 !important; /* Bleu foncé au survol */
    border-color: #1E2051 !important;
    color: #00A9F2 !important; /* Icônes jaunes au survol */
}

/* Logo dans le footer */
.copyright .text-primary {
    color: #00A9F2 !important; /* Jaune doré pour "Darwin" */
}

.copyright .fas.fa-truck {
    color: #00A9F2 !important; /* Jaune doré pour l'icône camion */
}

/* Lien "Darwin Transport" dans le footer */
.footer-item a {
    color: #00A9F2 !important; /* Liens en jaune */
}

.footer-item a:hover {
    color: #fff !important; /* Blanc au survol */
}

/* Icônes de check dans les listes */
.footer-item .fa-check {
    color: #00A9F2 !important; /* Checks en jaune */
}

*** Mobile Icons Fix ***/
/* Responsive pour les icônes de services dans la section About */
@media (max-width: 768px) {
    /* Réduire la taille des icônes sur mobile */
    .about-item .fas.fa-4x {
        font-size: 2.5rem !important; /* Plus petit que fa-4x sur mobile */
    }
    
    /* Ajuster les colonnes pour mobile */
    .about-item .row .col-3 {
        margin-bottom: 20px; /* Espacement entre les éléments */
    }
    
    /* Réduire le padding des conteneurs d'icônes */
    .about-item .p-4.bg-dark {
        padding: 1.5rem !important; /* Plus petit padding */
        height: 80px !important; /* Hauteur fixe plus petite */
        width: 80px !important; /* Largeur fixe plus petite */
        margin: 0 auto !important; /* Centrer */
    }
    
    /* Ajuster la taille du texte sous les icônes */
    .about-item .col-3 h5 {
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
        margin: 0.25rem 0 !important;
    }
}

/* Pour les très petits écrans (moins de 576px) */
@media (max-width: 576px) {
    /* Passer en 2 colonnes au lieu de 4 sur très petits écrans */
    .about-item .row .col-3 {
        flex: 0 0 auto;
        width: 50% !important; /* 2 colonnes */
        margin-bottom: 25px;
    }
    
    /* Icônes encore plus petites */
    .about-item .fas.fa-4x {
        font-size: 2rem !important;
    }
    
    /* Conteneurs d'icônes encore plus petits */
    .about-item .p-4.bg-dark {
        padding: 1rem !important;
        height: 70px !important;
        width: 70px !important;
    }
    
    /* Texte plus petit */
    .about-item .col-3 h5 {
        font-size: 0.8rem !important;
        margin: 0.2rem 0 !important;
    }
}
/* CORRECTIONS POUR L'AFFICHAGE MOBILE - À ajouter à la fin de votre style.css */

/*** Mobile Navigation Fix ***/
/* Éviter le chevauchement de la navbar avec le carousel */
@media (max-width: 991.98px) {
    .carousel {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* Ajuster la hauteur de la navbar pour mobile */
    .navbar {
        min-height: 70px;
    }
    
    /* S'assurer que le carousel commence après la navbar */
    .carousel-item {
        margin-top: 0;
    }
}

/*** Mobile Carousel Text Fixes ***/
@media (max-width: 768px) {
    /* Réduire drastiquement la taille du texte principal */
    .carousel-caption h1 {
        font-size: 1.8rem !important; /* Beaucoup plus petit */
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    /* Ajuster la hauteur du carousel pour mobile */
    .carousel-item {
        height: 50vh !important;
        max-height: 400px !important;
        min-height: 300px !important;
    }
    
    /* Réduire le padding du carousel-caption */
    .carousel-caption {
        padding: 1rem !important;
        bottom: 2rem !important;
    }
    
    /* Bouton plus petit et mieux positionné */
    .carousel-caption .btn {
        padding: 8px 20px !important;
        font-size: 0.9rem !important;
        margin-top: 0.5rem !important;
    }
}

@media (max-width: 576px) {
    /* Encore plus petit pour les très petits écrans */
    .carousel-caption h1 {
        font-size: 1.4rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.8rem !important;
    }
    
    /* Carousel encore plus compact */
    .carousel-item {
        height: 40vh !important;
        max-height: 350px !important;
        min-height: 250px !important;
    }
    
    .carousel-caption {
        padding: 0.5rem !important;
        bottom: 1rem !important;
    }
    
    /* Bouton encore plus petit */
    .carousel-caption .btn {
        padding: 6px 15px !important;
        font-size: 0.8rem !important;
    }
}

/*** Mobile Carousel Indicators Fix ***/
@media (max-width: 768px) {
    /* Repositionner les indicateurs du carousel */
    #carouselId .carousel-indicators {
        bottom: 10px !important; /* Plus près du bas */
        margin-bottom: 0 !important;
    }
    
    #carouselId .carousel-indicators li {
        width: 15px !important; /* Plus petits */
        height: 15px !important;
        margin: 0 5px 0 5px !important; /* Moins d'espacement */
        border-width: 1px !important; /* Bordure plus fine */
    }
}

@media (max-width: 576px) {
    /* Indicateurs encore plus petits sur très petits écrans */
    #carouselId .carousel-indicators li {
        width: 12px !important;
        height: 12px !important;
        margin: 0 3px 0 3px !important;
    }
}

/*** Mobile Button Positioning Fix ***/
@media (max-width: 768px) {
    /* S'assurer que le bouton ne chevauche pas les indicateurs */
    .carousel-content {
        padding-bottom: 50px !important; /* Espace pour les indicateurs */
    }
    
    /* Ajuster l'espacement du contenu du carousel */
    .carousel-caption .container {
        padding-bottom: 40px !important;
    }
}

/*** Navbar Mobile Height Fix ***/
@media (max-width: 991.98px) {
    /* Fixer la hauteur de la navbar mobile */
    .navbar-toggler {
        padding: 0.25rem 0.5rem !important;
        font-size: 1rem !important;
    }
    
    /* Ajuster le logo sur mobile */
    .navbar-brand img {
        height: 40px !important; /* Plus petit sur mobile */
    }
    
    /* Menu mobile */
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        margin: 0.2rem 0 !important;
    }
}

/*** Global Mobile Container Fix ***/
@media (max-width: 576px) {
    /* Réduire les marges globales sur mobile */
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Espacement des sections */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/*** Specific Carousel Content Adjustment ***/
@media (max-width: 768px) {
    /* Cibler spécifiquement le texte "Audit et Optimisation" */
    .carousel-caption h1.display-1 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.8rem !important;
        word-break: break-word;
        hyphens: auto;
    }
    
    /* Cibler le texte "Votre Partenaire de Confiance" */
    .carousel-item:nth-child(2) .carousel-caption h1 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    /* Pour les très petits écrans comme iPhone SE */
    .carousel-caption h1.display-1 {
        font-size: 1.3rem !important;
        line-height: 1.1 !important;
    }
    
    .carousel-item {
        height: 35vh !important;
        min-height: 220px !important;
    }
    
    .carousel-caption {
        bottom: 0.5rem !important;
        padding: 0.3rem !important;
    }
}

/*** Fix Text Alignment for Mobile ***/
/* Supprimer la justification du texte sur mobile pour éviter les trous */
@media (max-width: 768px) {
    /* Cibler spécifiquement les paragraphes avec text-align: justify */
    p[style*="text-align: justify"],
    .fs-5[style*="text-align: justify"],
    p.fs-5 {
        text-align: left !important; /* Alignement à gauche sur mobile */
        line-height: 1.6 !important; /* Meilleure lisibilité */
        margin-bottom: 1rem !important;
    }
    
    /* Cibler tous les paragraphes dans les sections services */
    .services p,
    .services .fs-5 {
        text-align: left !important;
        line-height: 1.6 !important;
    }
    
    /* Cibler la section "À propos" */
    #about p,
    #about .fs-5 {
        text-align: left !important;
        line-height: 1.6 !important;
    }
    
    /* Règle générale pour tous les paragraphes sur mobile */
    .bg-light p {
        text-align: left !important;
        line-height: 1.6 !important;
        word-spacing: normal !important;
    }
}

/* Amélioration générale de la lisibilité sur mobile */
@media (max-width: 576px) {
    /* Réduire légèrement la taille de police sur très petits écrans */
    .fs-5 {
        font-size: 1.1rem !important;
    }
    
    p.fs-5 {
        font-size: 1.1rem !important;
        line-height: 1.7 !important;
    }
    
    /* Espacement des paragraphes */
    .bg-light.rounded.p-5 {
        padding: 1.5rem !important; /* Moins de padding sur mobile */
    }
}