/* certificats.css */

.service-main {
    position: relative;
    padding: 140px 20px 80px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(-45deg, #e0f7fa, #e3f2fd, #f3e5f5, #ffebee);
    background-size: 400% 400%;
    animation: animatedBackground 20s ease infinite;
}

@keyframes animatedBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.service-container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.page-title h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.page-title p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    justify-content: center;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px 0 rgba(31, 38, 135, 0.12);
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 15px;
    flex-grow: 1; /* Permet aux titres de prendre de la place pour un meilleur alignement */
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color-start);
    margin-bottom: 20px;
}

.pricing-card .btn {
    width: 100%;
}

.section-divider {
    width: 100%;
    text-align: center;
    margin: 70px 0 40px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .page-title h1 {
        font-size: 2.2rem;
    }
    .page-title p {
        font-size: 1rem;
    }
    .section-divider {
        font-size: 1.5rem;
    }
}