/* ==========================
   Styles pour les boutons
========================== */
@media (max-width: 768px) {

  /* Garde la fille visible à droite */
  .dl-hero-single {
    background-position: 75% center !important; /* Décale un peu plus sur la droite */
    background-size: cover !important;
    height: 950px !important;
    position: relative;
    overflow: visible !important; /* Affiche le contenu interne */
  }

  /* Réaffiche correctement les boutons */
  .dl-hero-single .at_hero_slider {
    position: relative;
    z-index: 2;
  }

  .dl-hero-single::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* Légère ombre pour garder le texte lisible */
    z-index: 1;
  }

  /* Ajuste les titres et boutons pour mobile */
  .at-hero-title p,
  .at-hero-title span {
    position: relative;
    z-index: 3;
  }
}

.btn-outline {
    display: inline-flex;
    align-items: center; /* Vertically center-align SVG and text */
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 260px; /* Fixed width for uniform size */
    justify-content: left; /* Center-align icon and text in button */
}

.btn-outline:hover {
    background-color: #000;
    color: #ef5579; /* Attention : PHP dans CSS, à gérer via inline style si nécessaire */
}

.btn-outline svg {
    margin-right: 8px; /* Consistent space between icon and text */
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.button-container:hover .btn-outline svg {
    transform: translateX(5px); /* Move icon slightly on hover */
}

/* ==========================
   Section Taxi Center
========================== */
.section-taxi-center {
    padding: 30px 0; /* réduit l’espace global */
}

.section-taxi-center .featured-img img:first-of-type {
    max-width: 340px;
    width: 100%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.img-small {
    max-width: 340px;
    width: 100%;
    height: auto;
    max-height: 320px;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.section-taxi-center .text-block {
    text-align: center;
    padding: 10px 20px; /* réduit l’espace interne */
}

.section-taxi-center h1,
.section-taxi-center .at-subtitle {
    display: block;
    text-align: center;
    font-weight: 600;
}

.section-taxi-center p {
    line-height: 1.7;
    font-size: 17px;
    color: #444;
    margin-bottom: 15px; /* espace plus propre */
}

.section-taxi-center .btn {
    margin-top: 25px;
    padding: 12px 28px;
    font-size: 18px;
    border-radius: 8px;
}

/* ==========================
   Alignement et responsive
========================== */
@media (min-width: 992px) {
    .row-center-align {
        display: flex;
        align-items: flex-start;   /* IMPORTANT : place tout au même niveau */
        margin-top: 20px;          /* réduit l’espace */
    }

    .section-taxi-center .text-block {
        text-align: left;
        padding: 0 0 0 30px; /* moins d’espace à gauche */
        padding-top: 0 !important; /* enlève l'espace entre haut bloc & H3 */
    }

    .text-block h3 {
        margin-top: 0 !important;
        padding-top: 0 !important;
        line-height: 1.2; /* évite qu'il descende trop */
    }

    .col-lg-8 {
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* force l'alignement top vertical */
    }
}

/* ==========================
   Bloc images + actions
========================== */
.bloc-image-actions {
    text-align: center;
    margin: 10px auto;
}

.actions {
    margin-top: 12px;
}

.btn-action {
    display: inline-block;
    margin: 5px 0;
    padding: 12px 20px;
    background-color: #ef5579;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    min-width: 220px;
    text-align: center;
    font-weight: bold;
}

/* Supprime les espaces en trop entre les colonnes */
.row-center-align > [class*="col-"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Aligne parfaitement le H3 en haut avec l'image */
.text-block h3 {
    margin-top: 0 !important;
}





.taxi-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.taxi-links a {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid #b0b0b0;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.taxi-links a:hover {
    border-color: #ef5579;
    background: #ef5579;
    color: #fff;
}