﻿.cert-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 30%, #ffffff 70%, #fef2f2 100%);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

    .cert-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(165, 28, 48, 0.08) 0%, transparent 70%);
        border-radius: 50%;
    }

    .cert-hero::after {
        content: '';
        position: absolute;
        bottom: -30%;
        right: -5%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(165, 28, 48, 0.05) 0%, transparent 70%);
        border-radius: 50%;
    }

.cert-hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #a51c30;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

    .hero-badge i {
        font-size: 14px;
    }

.hero-tagline {
    font-size: 18px;
    color: #a51c30;
    font-weight: 600;
    margin-bottom: 16px;
}

.cert-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    line-height: 1.2;
}

    .cert-hero h1 span {
        color: #c98a2e;
        display: block;
    }

.hero-description {
    font-size: 1.5rem;
    color: #6b7280;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 40px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #a51c30;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #a51c30;
    color: #ffffff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #a51c30;
}

    .btn-primary-hero:hover {
        background: #a51c30;
        border-color: #a51c30;
        color: #ffffff;
        transform: translateY(-2px);
        /* box-shadow: 0 8px 20px rgba(165, 28, 48, 0.3); */
    }

.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: #a51c30;
    border: 2px solid #a51c30;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-outline-hero:hover {
        background: #fef2f2;
        color: #a51c30;
        transform: translateY(-2px);
    }

/* Responsive */
@media (max-width: 768px) {
    .cert-hero h1 {
        font-size: 32px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .stats-row {
        gap: 30px;
    }

    .stat-number {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-hero,
    .btn-outline-hero {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-row {
        flex-direction: column;
        gap: 20px;
    }

    .cert-hero h1 {
        font-size: 28px;
    }
}

/* Modal Centering - Fixed */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 1rem);
}

@media (min-width: 576px) {
    .modal-dialog-centered {
        min-height: calc(100vh - 3.5rem);
    }
}
