        <div class="result-summary">
            <div>
                <div class="info-row">
                    <div class="info-label">মোট নম্বর</div>
                    <div class="info-value" style="font-weight: 700; color: #2c3e50;"><?php echo $total_obtained . '/' . $total_marks; ?></div>
                </div>
                <div class="info-row">
                    <div class="info-label">শতাংশ</div>
                    <div class="info-value" style="font-weight: 700; color: #3498db;"><?php echo $percentage . '%'; ?></div>
                </div>
                <div class="info-row">
                    <div class="info-label">গ্রেড</div>
                    <div class="info-value" style="font-weight: 700; font-size: 18px; color: <?php echo ($gpa >= 5.00 ? '#27ae60' : ($gpa >= 4.00 ? '#2ecc71' : ($gpa >= 3.50 ? '#3498db' : ($gpa >= 3.00 ? '#9b59b6' : ($gpa >= 2.00 ? '#f39c12' : ($gpa >= 1.00 ? '#e67e22' : '#e74c3c')))))); ?>;">
                        <?php echo determineGrade($gpa); ?>
                    </div>
                </div>
            </div>
            <div>
                <div class="info-row">
                    <div class="info-label">জিপিএ</div>
                    <div class="info-value" style="font-weight: 700; color: #2c3e50;"><?php echo number_format($gpa, 2); ?></div>
                </div>
                <?php if ($merit_position): ?>
                <div class="info-row">
                    <div class="info-label">মেরিট পজিশন</div>
                    <div class="info-value" style="font-weight: 700; color: #e74c3c;">(<?php echo $merit_position; ?>)</div>
                </div>
                <?php endif; ?>
            </div>
        </div>