﻿/* ==============================
   RESULTS SECTION STYLES
============================== */

.results-section {
    background-color: #f4f6fb;
}

.section-icon {
    font-size: 22px;
    color: #f59e0b;
}

.results-title {
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 1px;
}

.results-subtitle {
    font-size: 14px;
    color: #6c757d;
}

/* Tab Pills Styling */
#classTab .nav-link {
    background: #fff;
    color: #4f46e5;
    border: 1.5px solid #4f46e5;
    border-radius: 50px;
    padding: 8px 30px;
    font-weight: 600;
    margin: 0 10px;
    transition: 0.3s ease;
}

    #classTab .nav-link.active {
        background: #4f46e5;
        color: #fff;
    }

/* Result Card - Large Original Design */
.result-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px 15px; /* High vertical padding for original size */
    text-align: center;
    position: relative;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .result-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(79, 70, 229, 0.12);
    }

.topper-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: #fff;
    font-size: 9px;
    padding: 3px 10px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.student-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    margin-top: 10px;
    border: 3px solid #f3f4f6;
}

.student-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 5px;
    color: #1f2937;
}

.student-rank {
    color: #4f46e5;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 2px;
}

.exam-label {
    font-size: 11px;
    color: #6b7280;
}

/* Featured Testimonial Banner */
.featured-testimonial {
    background: linear-gradient(135deg, #5b5be3, #6d28d9);
    color: #fff;
    padding: 40px;
    border-radius: 25px;
}

.featured-quote {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
}

.featured-author {
    font-size: 14px;
    opacity: 0.9;
}

.watch-btn {
    background: #fff;
    color: #4f46e5;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

    .watch-btn:hover {
        background: #f8f9fa;
    }

/* Responsive adjustments */
@media (max-width: 1199px) {
    .col-xl-2 {
        flex: 0 0 33.333%; /* Show 3 cards per row on medium screens */
        max-width: 33.333%;
    }
}

@media (max-width: 767px) {
    .col-xl-2 {
        flex: 0 0 100%; /* Show 1 card per row on mobile */
        max-width: 100%;
    }

    .featured-testimonial {
        text-align: center;
    }
}
