﻿/* ============================
   EXCELLENCE SECTION
   ============================ */
.excellence-section {
    background-color: var(--page-bg);
    padding: 80px 0;
    color: var(--text-secondary);
}

.excellence-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

.excellence-heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

    /* Accent line under heading */
    .excellence-heading::after {
        content: "";
        display: block;
        width: 80px;
        height: 5px;
        background-color: var(--orange-accent);
        margin: 14px auto 36px;
        border-radius: 3px;
    }

/* ============================
   CARD LAYOUT
   ============================ */
.excellence-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.excellence-card {
    flex: 1 1 280px;
    max-width: 320px;
    overflow: hidden;
    text-align: left;
    position: relative;
    padding: 24px;
}

    .excellence-card.card {
        border-left: none;
    }

    .excellence-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 4px;
        width: 100%;
        background-color: var(--card-accent);
    }

    .excellence-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 4px;
        width: 100%;
        pointer-events: none;
    }

    /* ============================
   CARD CONTENT
   ============================ */
    .excellence-card h3 {
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--text-primary);
        margin-bottom: 0.75rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .excellence-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }

/* Icon (uses global card-icon variables) */
.excellence-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: var(--icon-bg);
    margin-bottom: 1rem;
}

    .excellence-icon i {
        font-size: 0.95rem;
        color: var(--card-accent);
    }

/* ============================
   MOBILE STACKING
   ============================ */
@media (max-width: 768px) {
    .excellence-cards {
        flex-direction: column;
        align-items: center;
    }

    .excellence-card {
        max-width: 100%;
    }
}
