/* Tests by Health Risk Page Styles */

.health-risk-categories {
    padding: 80px 0;
    background: #f8f9fa;
}

.risk-category-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.risk-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-title {
    font-size: 14px;
    font-weight: 600;
    color: #0b2baa;
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0b2baa 0%, #0b2baa 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: #0df8de;
    color: #0b2baa;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: #0be0c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 248, 222, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .health-risk-categories {
        padding: 60px 0;
    }

    .risk-category-card {
        height: 160px;
        padding: 15px;
    }

    .category-image {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .category-title {
        font-size: 12px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .risk-category-card {
        height: 140px;
        padding: 10px;
    }

    .category-image {
        width: 50px;
        height: 50px;
    }

    .category-title {
        font-size: 11px;
    }
}