/* =============================================
   PARTICIPANT SELECTION CRITERIA SECTION
   Modern card grid with numbered badges
   ============================================= */

.criteria-section {
    padding: 80px 0 90px;
    background: #ffffff;
    position: relative;
}

.criteria-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.criteria-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.criteria-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #228B22;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    justify-content: center;
}

.criteria-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.criteria-intro {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Individual Card */
.criteria-card {
    background: #f9fdfa;
    padding: 35px 30px;
    border-radius: 16px;
    border: 1px solid rgba(34, 139, 34, 0.08);
    /* subtle green border */
    position: relative;
    transition: all 0.35s ease;
    z-index: 1;
    overflow: hidden;
}

.criteria-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(34, 139, 34, 0.08);
    border-color: rgba(34, 139, 34, 0.2);
    background: #ffffff;
}

/* Number Badge */
.criteria-number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-family: 'Playfair Display', serif;
    font-size: 100px;
    font-weight: 800;
    color: rgba(34, 139, 34, 0.05);
    /* very faint green watermark */
    line-height: 1;
    z-index: -1;
    transition: color 0.35s ease, transform 0.35s ease;
}

.criteria-card:hover .criteria-number {
    color: rgba(34, 139, 34, 0.1);
    transform: scale(1.1) rotate(-5deg);
}

/* Card Content */
.criteria-title {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.criteria-title::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: #228B22;
    border-radius: 50%;
}

.criteria-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Buttons */
.criteria-actions {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.criteria-btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.35s ease;
}

.criteria-btn-primary {
    background: #228B22;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}

.criteria-btn-primary:hover {
    background: #1B6E1B;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(34, 139, 34, 0.4);
}

.criteria-btn-secondary {
    background: transparent;
    color: #228B22;
    border: 2px solid #228B22;
}

.criteria-btn-secondary:hover {
    background: #f0fdf4;
    color: #1B6E1B;
    border-color: #1B6E1B;
    transform: translateY(-2px);
}

/* =============================================
   RESPONSIVE — Criteria Section
   ============================================= */

/* Tablet landscape */
@media (max-width: 1024px) {
    .criteria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .criteria-section {
        padding: 60px 0;
    }

    .criteria-heading {
        font-size: 34px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .criteria-section {
        padding: 50px 0;
    }

    .criteria-container {
        padding: 0 20px;
    }

    .criteria-heading {
        font-size: 28px;
    }

    .criteria-intro {
        font-size: 15px;
    }

    .criteria-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .criteria-card {
        padding: 25px 20px;
    }

    .criteria-actions {
        flex-direction: column;
        gap: 15px;
    }

    .criteria-btn {
        width: 100%;
        max-width: 320px;
    }
}