
/* Latest posts */

.card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.card-img-top {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}
.btn-primary {
    background: linear-gradient(90deg, #007bff 60%, #0056b3 100%);
    border: none;
}
.btn-primary:hover {
    background: linear-gradient(90deg, #0056b3 60%, #007bff 100%);
}

.latest-posts {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* medecin */

.card .card-img-top.rounded-circle {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: none !important;
    box-shadow: none !important;
}
.medecins .card {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Counter */

.counter-card {
    background: #007bff; /* Bleu principal Bootstrap, adapte si besoin */
    color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.counter-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.counter-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}
.counter-number {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.counter-text {
    font-size: 1rem;
    opacity: 0.9;
}
@media (max-width: 767px) {
    .counter-card { margin-bottom: 1.5rem; }
}

/* Specialites */
.specialite-card {
    border-radius: 1rem;
    transition: box-shadow 0.2s, transform 0.2s;
    background: #fff;
    min-height: 64px;
}
.specialite-card:hover {
    box-shadow: 0 8px 32px rgba(0,123,255,0.10);
    transform: translateY(-3px) scale(1.01);
}
.specialite-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #e7f0fd;
    border-radius: 12px;
    padding: 6px;
    display: block;
    margin-right: 1rem;
}
.specialites-section h2 {
    font-weight: 700;
    color: #007bff;
}

.specialite-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #e7f0fd;
    border-radius: 12px;
    padding: 6px;
    display: block;
}

.media {
    display: flex;
    align-items: center;
}
.media-body {
    flex: 1 1 0;
}

.specialite-illustration {
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,123,255,0.13), 0 2px 8px rgba(0,0,0,0.09);
    border: 4px solid #f2f6ff;
    max-width: 95%;
    transition: transform 0.25s, box-shadow 0.25s;
    background: #fff;
    padding: 0.5rem;
}
.specialite-illustration:hover {
    transform: scale(1.03) rotate(-1.5deg);
    box-shadow: 0 16px 48px rgba(0,123,255,0.18), 0 4px 16px rgba(0,0,0,0.13);
}

/* les horaires */
.home-horaires-section {
    background: linear-gradient(135deg, #f2f6ff 0%, #eaf2fb 100%);
}
.horaires-simple-block {
    max-width: 520px;
    margin: 0 auto;
    padding: 0 1rem;
}
.horaires-simple-block .fa-clock-o {
    color: #007bff;
    margin-bottom: 1rem;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.horaires-simple-block h3 {
    font-size: 2rem;
    font-weight: 700;
}
.horaires-simple-block .lead {
    font-size: 1.25rem;
    font-weight: 500;
}
.horaires-simple-block .btn {
    margin-top: 0.5rem;
    box-shadow: none;
}

/* nos prestations */
.prestations-table-wrapper {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,123,255,0.07);
    padding: 2rem 1.5rem;
    margin-bottom: 2.5rem;
}
.prestations-table {
    background: transparent;
    border-radius: 1rem;
    overflow: hidden;
}
.prestations-table thead th {
    background: #f2f6ff !important;
    color: #007bff;
    font-weight: 700;
    border-bottom: 2px solid #eaf2fb;
    font-size: 1.05rem;
}
.prestations-table tbody tr {
    transition: background 0.15s;
}
.prestations-table tbody tr:hover {
    background: #f8fafd;
}
.prestations-table td, .prestations-table th {
    vertical-align: middle;
    border: 1px solid #eaf2fb;
    padding: 0.75rem 1rem;
}
@media (max-width: 767px) {
    .prestations-table-wrapper {
        padding: 1rem 0.5rem;
    }
    .prestations-table td, .prestations-table th {
        font-size: 0.98rem;
        padding: 0.5rem 0.3rem;
    }
}
