
        body {
            background: #f9fafc;
            min-height: 100vh;
            font-family: "Open Sans", sans-serif;
        }
        .hero {
            background: linear-gradient(90deg, #198754, #0d6efd);
            color: white;
            padding: 60px 0;
            text-align: center;
        }
        .search-bar {
            max-width: 650px;
            margin: 20px auto;
        }
        .services-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
        }
        @media (max-width: 1200px) {
            .services-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @media (max-width: 768px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        .service-card {
            border-radius: 15px;
            overflow: hidden;
            transition: transform .2s, box-shadow .2s;
            position: relative;
        }
        .service-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0,0,0,.15);
        }
        .service-card img:not(.service-logo) {
            height: 120px;
            object-fit: cover;
        }
        .service-card p {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .type-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: #feb916;
            color: black;
            font-size: 14px;
            padding: 5px 10px;
            border-radius: 20px;
            font-weight: 600;
            z-index: 2;
            text-transform: capitalize;
        }
        
        .service-card .card-body {
    padding: 5px;
    font-size: 16px;
}

.service-card h6.fw-bold {
    text-transform: uppercase;        /* Tout en majuscules */
    font-size: 1.1rem;               /* Taille légèrement plus grande */
    color: #198754;                  /* Bleu Bootstrap pour mettre en valeur */
    letter-spacing: 1px;             /* Espacement entre lettres */
    text-shadow: 0 1px 2px rgba(0,0,0,0.1); /* Petite ombre pour effet “pop” */
    font-weight: 700;                 /* Gras */
}

.service-card:hover h6.fw-bold {
    color: #0d6efd;                  /* Passe au vert lors du hover */
    transition: color 0.3s ease;
}

.btn-visit {
    background-color: #0d6efd !important;  /* Fond vert */
    border-color: #198754 !important;      /* Bordure assortie */
    color: #fff !important;                /* Texte blanc */
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-visit:hover {
    background-color: #146c43 !important;  /* Vert plus foncé */
    border-color: #146c43 !important;
    color: #fff !important;
}

.service-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    z-index: 5;
}

@keyframes heartbeat-tick {
    0%   { transform: scale(1); }
    25%  { transform: scale(1.08); } /* tick */
    50%  { transform: scale(1); }    /* normal */
    75%  { transform: scale(1.08); } /* tick */
    100% { transform: scale(1); }
}

.service-card:hover .service-logo {
    animation: heartbeat-tick 1.8s ease-in-out infinite;
}
