/* --- AWARDS PAGE STYLES --- */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.award-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-left: 5px solid #8b8dd6; /* Your signature lavender/purple color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.award-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.award-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: #8b8dd6; /* Matches the left border */
}

.award-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.award-issuer {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.award-card p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Ensure mobile responsiveness */
@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   AWARDS PAGE — INTRO, STATS, ICONS, EMPHASIZED CARD,
   ACADEMIC SERVICE
   ========================================================= */

/* Intro */
.awards-intro {
    max-width: 880px;
    margin: 0 0 36px 0;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.75;
}

.awards-intro strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Stats row at top */
.awards-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    margin: 0 0 60px 0;
}

.award-stat {
    background: #fff;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    border: 1px solid #ececf6;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.award-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.07);
}

.award-stat .stat-value {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--accent-purple);
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.award-stat .stat-value svg {
    width: 22px;
    height: 22px;
    color: var(--accent-mint);
    flex-shrink: 0;
}

.award-stat .stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-top: 6px;
    letter-spacing: 0.4px;
    line-height: 1.4;
}

/* Section eyebrow + title above each block */
.awards-section-heading {
    margin-top: 20px;
    margin-bottom: 24px;
}

.awards-section-heading .eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-mint);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.awards-section-heading h2 {
    font-size: 1.7rem;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Award card icon + category */
.award-card {
    position: relative;
    overflow: hidden;
}

.award-icon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.award-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(139, 141, 214, 0.12);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.award-icon svg { width: 22px; height: 22px; }

.award-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.award-cat-fellowship { background: rgba(43, 176, 149, 0.12); color: #1f8a73; border: 1px solid rgba(43, 176, 149, 0.30); }
.award-cat-academic   { background: rgba(255, 152, 0, 0.10); color: #d97706; border: 1px solid rgba(255, 152, 0, 0.30); }
.award-cat-competition{ background: rgba(231, 76, 60, 0.10); color: #c0392b; border: 1px solid rgba(231, 76, 60, 0.30); }
.award-cat-recognition{ background: rgba(139, 141, 214, 0.12); color: #6a6cb5; border: 1px solid rgba(139, 141, 214, 0.30); }

.award-year-pill {
    font-size: 0.85rem;
    font-weight: 700;
    color: #6a6cb5;
    background: rgba(139, 141, 214, 0.08);
    padding: 3px 10px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

/* Emphasized / flagship award card (NSF GRFP) */
.award-card.is-flagship {
    background: #ffffff;
    border-left: 5px solid var(--accent-mint);
    border-top: 1px solid rgba(43, 176, 149, 0.25);
    border-right: 1px solid rgba(43, 176, 149, 0.18);
    border-bottom: 1px solid rgba(43, 176, 149, 0.18);
    box-shadow: 0 14px 36px rgba(43, 176, 149, 0.10);
    padding: 35px;
}


.award-card.is-flagship > * { position: relative; z-index: 1; }

.award-card.is-flagship .award-icon {
    background: linear-gradient(135deg, var(--accent-mint), #1f8a73);
    color: #fff;
}

.flagship-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-mint);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 14px;
    margin-bottom: 12px;
}

.flagship-ribbon svg { width: 12px; height: 12px; }

/* Award context strip (e.g., selectivity / role notes) */
.award-context {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.award-context-chip {
    background: rgba(43, 176, 149, 0.08);
    color: #1f8a73;
    border: 1px solid rgba(43, 176, 149, 0.22);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.award-context-chip svg { width: 13px; height: 13px; }

/* Academic Service section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
    margin-top: 8px;
}

.service-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    border: 1px solid #ececf6;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.07);
}

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(139, 141, 214, 0.12);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg { width: 22px; height: 22px; }

.service-card-body { flex: 1; min-width: 0; }

.service-role {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-mint);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.service-card h4 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.55;
    margin: 0;
}

.service-meta {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-top: 8px;
    background: #f4f5fb;
    padding: 3px 10px;
    border-radius: 10px;
}

/* Section spacing helpers */
.awards-block { margin-bottom: 70px; }

/* Mobile tweaks */
@media (max-width: 600px) {
    .award-stat .stat-value { font-size: 1.5rem; }
    .awards-intro { font-size: 1rem; }
}