.stegis-section {
    background-color: #061a3a; /* bleu foncé comme l’image */
    width: 100%; /* Ensures the section takes full width */
}

.titre, .desc {
    color: #c1cde5;
}

.stegis-card {
    position: relative;
    height: 260px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stegis-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 26, 58, 0.85); /* voile sombre */
    z-index: 1;
}

.stegis-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.tp-slider-3-height {
    height: 750px !important; /* Ajuste selon ton besoin : 600, 700, 800px… */
}

.tp-slider-3-bg {
    height: 100% !important;
    object-fit: cover;
}

/* ----------------------
LOOK MODERN + STEG COLORS
----------------------- */
.slot-btn.disabled {
    background: #ccc !important;
    color: #666;
    border-color: #aaa;
}

#appointmentModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
}

#appointmentModal .modal-header {
    background: var(--tp-theme-1); /* bleu */
    color: #fff;
}

.appointment-container {
    padding: 25px;
}

/* CALENDRIER */
.flatpickr-calendar {
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #e92429 !important; /* ROUGE */
    border-color: #e92429 !important;
}

.flatpickr-day:hover {
    background: #0074bc !important; /* BLEU */
    color: white !important;
}

/* ----------------------
   TIME SLOTS
----------------------- */

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.slot-btn {
    padding: 14px;
    background: #fff;
    border: 2px solid #0074bc;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: 0.25s;
    color: #0074bc;
}

.slot-btn:hover {
    background: #0074bc;
    color: #fff;
}

/* ACTIVE */
.slot-btn.active {
    background: #e92429;
    border-color: #e92429;
    color: #fff;
}

/* FORM */
#appointment-form input,
#appointment-form textarea {
    border-radius: 8px;
}

#appointment-form button {
    background: #e92429;
    border: none;
    font-size: 18px;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
}

#appointment-form button:hover {
    background: #bf1d22;
}

.tp-funfact-icon span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px; /* ajuste selon la taille voulue */
    height: 120px; /* ajuste selon la taille voulue */
    margin: 0 auto; /* centre le span lui-même */
}

.tp-funfact-icon span img {
    max-width: 45%;
    max-height: 45%;
    object-fit: contain;
}
/* Default styles (mobile and smaller screens) */
.tp-blog-3-content {
    height: auto; /* Default height, will adjust based on content */
}

/* Apply 300px height only on desktop and larger screens */
@media (min-width: 992px) {
    .tp-blog-3-content {
        height: 320px;
    }
}

