body {
    background-color: #f8f9fa;
}

.credit-card-section {
    position: relative;
    background-image: url('../images/credit-card1.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.9);
    border-radius: 10px;
    padding: 60px 40px;
    color: white;
    text-align: left;
    overflow: visible; /* Permet aux cartes de sortir du div */
    background-color: transparent;
}

.overlay {
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch; /* S'assure que le gradient s'étire bien */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); /* Augmenter l'opacité à gauche */
    border-radius: 10px;
    z-index: 999;
}

.content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 500px; /* Pour éviter que le texte soit trop large */
}

h2 {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
}

h6 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.cards {
    display: flex;
    gap: 15px;

}

.card {
    width: 200px;
    height: 130px;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    bottom: -120px;
}

.card-primary {
    background-color:#008081 !important;
    color: white;
}

.card-secondary {
    background-color: white;
    color: #6c757d;
    border: 1px solid #ddd;
}

.card i {
    font-size: 40px;
    margin-bottom: 10px;
    color: inherit;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.credit-card-section {
    position: relative;
    padding-bottom: 80px; /* Laisser assez de place pour les cartes */
}
.align-items-center{
    width: 90%;
    height: auto;
}
.rounded-circle {
    align-self: flex-start;
}
.d-flex .ml-2 {
    display: flex;
    align-items: flex-start; /* Aligner le contenu en haut */
}
.card-col {
    width: 90%;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid #b9bbbe;
}
.abonnement {
    min-width: 260px !important;
    text-align: center;
    position: absolute;
    top: 0;
    margin-top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.btn-custom {
    background-color:#008081 !important;
    color: white;
}
.btn-custom:hover {
    background-color: #008089;
    color: white;
}
.btn-details{
    background-color: transparent;
    color:#008081 !important;
    border: 2px solid #008081 !important;
    border-radius: 5px;
    width:100%;
}
.btn-details:hover{
    width:100%;
    background-color: #008081 !important;
    color: white !important;
    border: 2px solid #008060;
    border-radius: 5px;
}
.card-img-top{
    align-items: center;
    width: 100%;
    height: auto;
    justify-content: center;
}
.accordion-item{
    background: transparent;
}
.accordion-button{
    background: transparent !important;
}
.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: transparent !important;
    color: inherit !important;
}
@media (max-width: 991px) {
    .card {
        width: 300px;
        height: 180px;
        border-radius: 12px;
        text-align: center;
        padding: 20px;
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        bottom: -120px;
    }
    .card-col {
        width: 100%;
    }
    .card-col:first-child{
        margin-bottom: 20px;
    }
    .abonnement {
        min-width: 220px;
        text-align: center;
    }
}