  .cards-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* --- Section Header --- */
        .sec-head {
            text-align: center;
            padding: 64px 0 40px;
        }

        .sec-head .pill {
            display: inline-block;
            background: #2b3186; /* Replaced --brand */
            color: #ffffff; /* Replaced --white */
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            padding: 4px 16px;
            border-radius: 40px;
            margin-bottom: 14px;
        }

        .sec-head h2 {
            font-size: clamp(1.7rem, 3.5vw, 2.5rem);
            font-weight: 700;
            color: #1a1d5c; /* Replaced --brand-dark */
            letter-spacing: -0.01em;
        }

        .sec-head .rule {
            width: 56px;
            height: 3px;
            background: linear-gradient(90deg, #2b3186, #4249b3); /* Replaced --brand and --brand-lt */
            border-radius: 2px;
            margin: 14px auto 0;
        }

        /* --- Card Styling --- */
        .card {
            background: #ffffff;
            border-radius: 16px;
            padding: 35px 25px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            border-top: 6px solid #2b3186;
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(43, 49, 134, 0.03); /* RGB equivalent of #2b3186 with opacity */
            transition: left 0.4s ease;
            z-index: 0;
        }

        .card:hover::before {
            left: 0;
        }

        .card:hover {
            transform: translateY(-12px);
            box-shadow: 0 16px 32px rgba(43, 49, 134, 0.15);
        }

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

        .card-subject {
            font-size: 1.3rem;
            color: #2b3186; /* Replaced --brand */
            font-weight: 800;
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .card-name {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 25px;
            font-weight: 500;
            line-height: 1.4;
        }

        .card-marks {
            font-size: 3rem;
            color: #2b3186; /* Replaced --brand */
            font-weight: 900;
            line-height: 1;
            margin-bottom: 8px;
        }

        .marks-label {
            font-size: 0.8rem;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 600;
        }

        /* --- Tablet Responsiveness (1000px and below) --- */
        @media (max-width: 1000px) {
            .cards-container {
                gap: 20px;
                grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            }

            .card {
                padding: 30px 22px;
                border-radius: 14px;
                border-top: 5px solid #2b3186; /* Replaced --brand */
            }

            .card-subject {
                font-size: 1.15rem;
                margin-bottom: 10px;
                letter-spacing: 1.5px;
            }

            .card-name {
                font-size: 1rem;
                margin-bottom: 20px;
            }

            .card-marks {
                font-size: 2.7rem;
            }

            .marks-label {
                font-size: 0.75rem;
            }
        }

        /* --- Mobile Responsiveness (700px and below) --- */
        @media (max-width: 700px) {
            .sec-head {
                padding: 40px 0 30px;
            }

            .cards-container {
                gap: 15px;
                grid-template-columns: 1fr;
            }

            .card {
                padding: 25px 20px;
                border-radius: 12px;
                border-top: 4px solid #2b3186; /* Replaced --brand */
            }

            .card:hover {
                transform: translateY(-8px);
            }

            .card-subject {
                font-size: 1rem;
                margin-bottom: 8px;
                letter-spacing: 1.2px;
            }

            .card-name {
                font-size: 0.95rem;
                margin-bottom: 18px;
            }

            .card-marks {
                font-size: 2.3rem;
                margin-bottom: 6px;
            }

            .marks-label {
                font-size: 0.7rem;
                letter-spacing: 1.5px;
            }
        }


.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid #2a2b5f;
    background: #d4d8ef;
    
    /* Centering the text icon */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2a2b5f; /* Matches the theme color */
    font-size: 42px; /* Large, clear letter icon */
    font-weight: 700;
}
