/* 
   Academics Section CSS Styles
   Nashik Cambridge School Website
   Styles for School Results, Curriculum, and other academic pages
*/

:root {
    --mountain-brown: #553231;
    --water-blue: #597C9E;
    --olive-green: #8DA05B;
    --premium-white: #F8F5F2;
    --golden-brown: #EAAD3D;
    --dark-navy: #1A112E;
    --success-green: #8DA05B;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition-premium: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --section-spacing: 120px;
}

/* Hero Section Variations */
.academics-hero {
    background: linear-gradient(45deg, rgba(26, 17, 46, 0.9), rgba(89, 124, 158, 0.7)), 
                url('../images/academics/academics-hero.jpg') center/cover;
}

.fees-hero {
    background: linear-gradient(45deg, rgba(26, 17, 46, 0.9), rgba(89, 124, 158, 0.7)), 
                url('../images/academics/fees-hero.jpg') center/cover;
}

.results-hero {
    background: linear-gradient(45deg, rgba(26, 17, 46, 0.9), rgba(89, 124, 158, 0.7)), 
                url('https://www.ncsnskedu.in/images/slider/63288c4ab68c0WhatsApp%20Image%202022-09-19%20at%2013.57.55_2.jpeg') center/cover;
}

.achievers-hero {
    background: linear-gradient(45deg, rgba(26, 17, 46, 0.9), rgba(89, 124, 158, 0.7)), 
                url('../images/academics/achievers-hero.jpg') center/cover;
}

/* Admission Steps */
.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--golden-brown);
    color: white;
    border-radius: 50%;
    margin-bottom: 15px;
    font-weight: 600;
}

.btn-outline-primary {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid var(--water-blue);
    color: var(--water-blue);
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-premium);
}

.btn-outline-primary:hover {
    background-color: var(--water-blue);
    color: white;
}

/* Criteria Cards */
.criteria-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition-premium);
}

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

.criteria-header {
    padding: 20px;
    background: var(--water-blue);
    color: white;
    display: flex;
    align-items: center;
}

.criteria-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.criteria-header h3 {
    margin: 0;
    color: white;
    font-family: var(--font-heading);
}

.criteria-content {
    padding: 25px;
}

.criteria-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.criteria-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.criteria-list li i {
    color: var(--golden-brown);
    margin-right: 10px;
    margin-top: 3px;
}

/* Important Dates */
.date-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-premium);
    height: 100%;
}

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

.date-header {
    background: var(--water-blue);
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    font-size: 16px;
}

.date-content {
    padding: 20px;
    text-align: center;
}

.date-day {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--mountain-brown);
}

.date-info {
    color: var(--golden-brown);
    font-weight: 500;
}

.note-section {
    background: rgba(141, 160, 91, 0.1);
    border-radius: 8px;
    padding: 20px;
}

.note-content {
    display: flex;
    align-items: flex-start;
}

.note-icon {
    font-size: 24px;
    color: var(--olive-green);
    margin-right: 15px;
}

.note-text p {
    margin: 0;
}

/* Fee Structure Table */
.fee-table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.fee-table {
    margin-bottom: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.fee-table thead {
    background: var(--water-blue);
    color: white;
}

.fee-table th {
    padding: 15px;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    border: none;
}

.fee-table td {
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    border-color: #eee;
}

.fee-table tbody tr {
    transition: var(--transition-premium);
}

.fee-table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.fee-table tbody tr:hover {
    background-color: rgba(89, 124, 158, 0.05);
}

.fee-notes {
    background: rgba(234, 173, 61, 0.1);
    border-radius: 8px;
    padding: 25px;
}

.note-box h4 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    color: var(--mountain-brown);
}

.note-box h4 i {
    margin-right: 10px;
    color: var(--golden-brown);
}

.note-box ul {
    padding-left: 20px;
}

.note-box li {
    margin-bottom: 8px;
}

/* Additional Fee Cards */
.additional-fee-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-premium);
    height: 100%;
}

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

.fee-icon {
    width: 60px;
    height: 60px;
    background: rgba(89, 124, 158, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition-premium);
}

.additional-fee-card:hover .fee-icon {
    background: var(--water-blue);
}

.fee-icon i {
    font-size: 24px;
    color: var(--water-blue);
    transition: var(--transition-premium);
}

.additional-fee-card:hover .fee-icon i {
    color: white;
}

.fee-details ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.fee-details li {
    margin-bottom: 8px;
}

.fee-note {
    margin-top: 15px;
    font-style: italic;
    color: #666;
    font-size: 14px;
}

/* Payment Methods */
.payment-method-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-premium);
    height: 100%;
}

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

.payment-icon {
    width: 60px;
    height: 60px;
    background: rgba(234, 173, 61, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition-premium);
}

.payment-method-card:hover .payment-icon {
    background: var(--golden-brown);
}

.payment-icon i {
    font-size: 24px;
    color: var(--golden-brown);
    transition: var(--transition-premium);
}

.payment-method-card:hover .payment-icon i {
    color: white;
}

.payment-schedule {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.payment-schedule h3 {
    margin-bottom: 20px;
    font-family: var(--font-heading);
    color: var(--mountain-brown);
}

.schedule-table {
    margin-bottom: 0;
}

.schedule-table th {
    background: var(--golden-brown);
    color: white;
    border: none;
}

.schedule-table td {
    vertical-align: middle;
}

/* Scholarship Section */
.scholarship-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.scholarship-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.scholarship-list li i {
    color: var(--golden-brown);
    margin-right: 10px;
    margin-top: 3px;
}

.scholarship-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.scholarship-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--golden-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.badge-content {
    text-align: center;
    color: white;
    padding: 15px;
}

.badge-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.badge-value {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.badge-desc {
    font-size: 12px;
    opacity: 0.8;
}

/* Contact Section */
.contact-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info-section {
    background: var(--mountain-brown);
    color: white;
    padding: 40px;
}

.contact-info h3 {
    color: white;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-details li i {
    margin-right: 15px;
    color: var(--golden-brown);
}

.contact-form-section {
    padding: 40px;
}

.contact-form h3 {
    margin-bottom: 25px;
    font-family: var(--font-heading);
    color: var(--mountain-brown);
}

.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    margin-bottom: 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--golden-brown);
    box-shadow: 0 0 0 0.2rem rgba(234, 173, 61, 0.25);
}

textarea.form-control {
    min-height: 120px;
    border-radius: 20px;
}

.btn-submit {
    background: var(--water-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-premium);
}

.btn-submit:hover {
    background: var(--golden-brown);
}

/* Results & Achievements Styles */
.result-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-premium);
    height: 100%;
}

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

.result-header {
    background: var(--water-blue);
    color: white;
    padding: 15px 20px;
}

.result-header h3 {
    margin: 0;
    color: white;
    font-family: var(--font-heading);
    font-size: 18px;
}

.result-body {
    padding: 20px;
}

.result-year {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(234, 173, 61, 0.1);
    color: var(--golden-brown);
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.result-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    flex: 1;
    min-width: 120px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--water-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.topper-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topper-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.topper-item:last-child {
    border-bottom: none;
}

.topper-rank {
    width: 30px;
    height: 30px;
    background: var(--golden-brown);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
}

.topper-info {
    flex: 1;
}

.topper-name {
    font-weight: 600;
    color: var(--mountain-brown);
}

.topper-marks {
    font-size: 14px;
    color: #666;
}

.topper-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

/* Achiever Cards */
.achiever-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-premium);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.achiever-photo {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.achiever-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-premium);
}

.achiever-card:hover .achiever-photo img {
    transform: scale(1.05);
}

.achievement-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--golden-brown);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.achiever-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.achiever-name {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--mountain-brown);
}

.achiever-class {
    color: var(--golden-brown);
    font-weight: 500;
    margin-bottom: 15px;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.achievement-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.achievement-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--olive-green);
}

.achiever-quote {
    background: rgba(89, 124, 158, 0.05);
    border-left: 3px solid var(--water-blue);
    padding: 10px 15px;
    font-style: italic;
    margin-top: auto;
}

/* Achievement Categories */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.category-tab {
    padding: 8px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-premium);
    font-weight: 500;
}

.category-tab:hover {
    border-color: var(--water-blue);
    color: var(--water-blue);
}

.category-tab.active {
    background: var(--water-blue);
    color: white;
    border-color: var(--water-blue);
}

/* Achievement Statistics */
.achievement-stats {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-box {
    padding: 20px;
}

.stat-box-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--water-blue);
    margin-bottom: 5px;
}

.stat-box-label {
    color: var(--mountain-brown);
    font-weight: 500;
}

/* School Results Hero Section */
.results-hero {
    background: linear-gradient(45deg, rgba(26, 17, 46, 0.9), rgba(89, 124, 158, 0.7)), 
                url('https://www.ncsnskedu.in/images/slider/63288c4ab68c0WhatsApp%20Image%202022-09-19%20at%2013.57.55_2.jpeg') center/cover;
}

/* Results Chart Container */
.results-chart-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 300px;
}

/* Results Highlight Box */
.results-highlight-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    flex: 1;
    min-width: 120px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-premium);
    border-top: 3px solid transparent;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--golden-brown);
}

.highlight-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--water-blue);
    margin-bottom: 5px;
}

.highlight-text {
    font-size: 0.9rem;
    color: var(--mountain-brown);
}

/* Topper Cards */
.topper-highlight-card {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    padding: 30px;
    transition: var(--transition-premium);
}

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

.topper-card {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    padding: 30px;
    text-align: center;
    transition: var(--transition-premium);
    height: 100%;
}

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

.ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--golden-brown);
    color: white;
    padding: 7px 30px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.topper-image {
    margin-bottom: 20px;
    position: relative;
}

.topper-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid rgba(234, 173, 61, 0.1);
    transition: var(--transition-premium);
}

.topper-card:hover .topper-image img,
.topper-highlight-card:hover .topper-image img {
    border-color: var(--golden-brown);
}

.topper-details {
    position: relative;
    z-index: 2;
}

.topper-details h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--mountain-brown);
}

.topper-score {
    font-size: 24px;
    font-weight: 700;
    color: var(--success-green);
    margin-bottom: 15px;
}

.topper-score .subject {
    font-size: 14px;
    font-weight: 400;
    color: var(--mountain-brown);
    opacity: 0.7;
}

.subject-scores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.subject-scores.compact {
    flex-direction: column;
    align-items: center;
}

.subject-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px;
    background: rgba(89, 124, 158, 0.05);
    border-radius: 20px;
    font-size: 14px;
    width: 100%;
}

.subject-name {
    font-weight: 500;
    color: var(--mountain-brown);
}

.score {
    font-weight: 700;
    color: var(--water-blue);
    background: white;
    padding: 2px 10px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Stats Cards */
.stats-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: var(--transition-premium);
    height: 100%;
}

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

.stats-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--mountain-brown);
    text-align: center;
}

.stats-chart-container {
    height: 300px;
}

/* Grade Distribution Bars */
.grade-distribution-container {
    margin-top: 20px;
}

.grade-bar-container {
    margin-bottom: 15px;
}

.grade-label {
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--mountain-brown);
}

.grade-bar {
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    overflow: hidden;
}

.grade-progress {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: width 1s ease-in-out;
}

.grade-progress.a-plus {
    background: linear-gradient(45deg, #597C9E, #4A7CA0);
}

.grade-progress.a {
    background: linear-gradient(45deg, #4A7CA0, #6B9DC2);
}

.grade-progress.b-plus {
    background: linear-gradient(45deg, #EAAD3D, #D1AD6B);
}

.grade-progress.b {
    background: linear-gradient(45deg, #D1AD6B, #DFC391);
}

.grade-progress.c {
    background: linear-gradient(45deg, #553231, #7D6A5E);
}

/* Result Tabs */
.result-tabs {
    margin-top: 30px;
}

.nav-tabs {
    border-bottom: none;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.nav-tabs .nav-item {
    margin: 0 5px;
}

.nav-tabs .nav-link {
    border: none;
    background: none;
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--mountain-brown);
    font-weight: 500;
    transition: var(--transition-premium);
}

.nav-tabs .nav-link:hover {
    background: rgba(234, 173, 61, 0.1);
}

.nav-tabs .nav-link.active {
    background: var(--golden-brown);
    color: white;
}

.year-result-container {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Result Highlight Cards */
.result-highlight-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-premium);
    height: 100%;
}

.result-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-highlight-icon {
    width: 60px;
    height: 60px;
    background: rgba(234, 173, 61, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: var(--transition-premium);
}

.result-highlight-card:hover .result-highlight-icon {
    background: var(--golden-brown);
}

.result-highlight-icon i {
    font-size: 24px;
    color: var(--golden-brown);
    transition: var(--transition-premium);
}

.result-highlight-card:hover .result-highlight-icon i {
    color: white;
}

.result-highlight-info {
    flex: 1;
}

/* Result Table */
.result-table-container {
    overflow-x: auto;
}

.result-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.result-table th {
    background: var(--water-blue);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    border: none;
}

.result-table th:first-child {
    border-top-left-radius: 10px;
}

.result-table th:last-child {
    border-top-right-radius: 10px;
}

.result-table td {
    padding: 15px;
    text-align: center;
    border-top: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: middle;
}

.result-table tr:last-child td {
    border-bottom: none;
}

.result-table tr:hover td {
    background: rgba(89, 124, 158, 0.05);
}

/* Media Queries */
@media (max-width: 991px) {
    .criteria-card,
    .additional-fee-card,
    .payment-method-card {
        margin-bottom: 20px;
    }
    
    .contact-info-section {
        padding: 30px;
    }
    
    .contact-form-section {
        padding: 30px;
    }
    
    .achiever-photo {
        height: 200px;
    }
    
    .topper-image-container {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .ribbon {
        font-size: 12px;
        padding: 5px 25px;
    }
    
    .stats-chart-container {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .result-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .fee-table th, .fee-table td {
        padding: 10px;
        font-size: 14px;
    }
    
    .scholarship-badge {
        width: 120px;
        height: 120px;
    }
    
    .badge-title {
        font-size: 12px;
    }
    
    .badge-value {
        font-size: 18px;
    }
    
    .badge-desc {
        font-size: 10px;
    }
    
    .category-tab {
        padding: 6px 15px;
        font-size: 14px;
    }
    
    .results-highlight-box {
        flex-direction: column;
    }
    
    .highlight-item {
        width: 100%;
    }
    
    .subject-scores {
        flex-direction: column;
    }
    
    .result-highlight-card {
        padding: 15px;
    }
    
    .result-highlight-icon {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .result-highlight-icon i {
        font-size: 20px;
    }
    
    .nav-tabs .nav-link {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .result-table th, .result-table td {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .contact-form-section,
    .contact-info-section {
        padding: 25px;
    }
    
    .date-day {
        font-size: 2rem;
    }
    
    .stat-box-value {
        font-size: 28px;
    }
    
    .achievement-badge {
        padding: 4px 10px;
        font-size: 10px;
    }
    
    .topper-image img {
        width: 120px;
        height: 120px;
    }
    
    .ribbon {
        font-size: 10px;
        padding: 4px 20px;
        right: -25px;
        top: 15px;
    }
    
    .topper-score {
        font-size: 20px;
    }
    
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .nav-tabs .nav-item {
        flex-shrink: 0;
    }
    
    .stats-chart-container {
        height: 220px;
    }
}
