/* Courses Page Specific Styles */

/* Course Programs Section */
.course-programs {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.program-section {
    margin-bottom: 60px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.program-header {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    padding: 25px 30px;
    position: relative;
}

.program-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.program-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.program-content {
    padding: 40px 30px;
}

.program-item {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.program-item:last-child {
    margin-bottom: 0;
}

.program-number {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.program-details {
    flex: 1;
}

.program-name {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    line-height: 1.3;
}

.program-description {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
}

.program-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid #8B0000;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateX(5px);
}

.feature-item i {
    color: #8B0000;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    color: #495057;
    font-weight: 500;
    font-size: 1rem;
}

/* Program Counter */
.program-counter {
    background: rgba(139, 0, 0, 0.1);
    padding: 15px 30px;
    text-align: center;
    border-radius: 25px;
    margin: 20px auto;
    max-width: 200px;
    font-weight: 600;
    color: #8B0000;
    font-size: 1.1rem;
}

.program-counter .current {
    font-weight: 700;
    font-size: 1.3rem;
}

/* Program Search */
.program-search {
    padding: 30px 0;
    text-align: center;
}

.search-input-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.search-input:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.1);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #8B0000;
    font-size: 1.2rem;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ffffff;
    color: #8B0000;
    border-color: #ffffff;
}

.btn-primary:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline-primary:hover {
    background: #ffffff;
    color: #8B0000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
}

.scroll-to-top i {
    font-size: 1.2rem;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #8B0000;
    color: #ffffff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Animation Classes */
.program-section {
    animation: fadeInUp 0.8s ease-out;
}

.program-section:nth-child(2) {
    animation-delay: 0.2s;
}

.program-section:nth-child(3) {
    animation-delay: 0.4s;
}

.program-section.animate-in {
    animation: slideInFromBottom 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.program-section:focus-within {
    outline: 3px solid #8B0000;
    outline-offset: 2px;
}

.feature-item:focus-within {
    outline: 2px solid #8B0000;
    outline-offset: 2px;
}

/* Keyboard Navigation Styles */
.keyboard-navigation .program-section:focus-within,
.keyboard-navigation .feature-item:focus-within {
    outline: 3px solid #8B0000;
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-programs {
        padding: 60px 0;
    }
    
    .program-header {
        padding: 20px 20px;
    }
    
    .program-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .program-content {
        padding: 30px 20px;
    }
    
    .program-item {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .program-number {
        align-self: center;
    }
    
    .program-name {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .program-description {
        font-size: 1rem;
        text-align: center;
    }
    
    .program-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        justify-content: center;
        text-align: center;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .program-counter {
        margin: 15px auto;
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .search-input {
        padding: 12px 45px 12px 15px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .program-header {
        padding: 15px 15px;
    }
    
    .program-title {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }
    
    .program-content {
        padding: 25px 15px;
    }
    
    .program-name {
        font-size: 1.3rem;
    }
    
    .program-description {
        font-size: 0.95rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .scroll-to-top i {
        font-size: 1rem;
    }
    
    .program-counter {
        padding: 10px 20px;
        font-size: 0.9rem;
        max-width: 150px;
    }
}

/* Print Styles */
@media print {
    .cta-section,
    .footer,
    .scroll-to-top,
    .program-search,
    .program-counter {
        display: none;
    }
    
    .program-section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .program-header {
        background: #8B0000 !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== MHT-CET PAGE SPECIFIC STYLES ===== */

/* Main Content Container */
.mhtcet-main-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 0 30px;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    border-radius: 2px;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 25px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    border-radius: 2px;
}

.title-separator {
    width: 120px;
    height: 6px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    margin: 0 auto;
    border-radius: 3px;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

/* ===== ACCORDION STYLES ===== */

.accordion-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.accordion-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
}

.accordion-item {
    background: #ffffff;
    border: 2px solid #f1f3f4;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.accordion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.accordion-item:hover::before {
    transform: scaleX(1);
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #8B0000;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.accordion-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.05), transparent);
    transition: left 0.6s ease;
}

.accordion-header:hover::before {
    left: 100%;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transform: translateX(5px);
}

.accordion-header.active {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
    transform: translateX(0);
}

.accordion-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.accordion-header.active .accordion-title {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.accordion-icon {
    width: 50px;
    height: 50px;
    border: 3px solid #8B0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    background: rgba(139, 0, 0, 0.05);
}

.accordion-header.active .accordion-icon {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(180deg);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.accordion-icon i {
    font-size: 1.4rem;
    color: #8B0000;
    transition: all 0.4s ease;
    transform: rotate(0deg);
}

.accordion-header.active .accordion-icon i {
    color: #ffffff;
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 40px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}

.accordion-content.active {
    max-height: 3000px;
    padding: 50px 40px;
    border-top: 1px solid #f1f3f4;
}

/* Accordion content styling */
.accordion-content .subject-selection-content,
.accordion-content .eligibility-content,
.accordion-content .marks-content,
.accordion-content .note-content,
.accordion-content .syllabus-intro,
.accordion-content .syllabus-points,
.accordion-content .examination-details-container {
    margin-bottom: 50px;
}

.accordion-content .subject-selection-content:last-child,
.accordion-content .eligibility-content:last-child,
.accordion-content .marks-content:last-child,
.accordion-content .note-content:last-child,
.accordion-content .syllabus-intro:last-child,
.accordion-content .syllabus-points:last-child,
.accordion-content .examination-details-container:last-child {
    margin-bottom: 0;
}

/* Subject Selection Content */
.subject-selection-content {
    max-width: 1200px;
    margin: 0 auto;
}

.selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.subject-category {
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f1f3f4;
    position: relative;
}

.subject-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
}

.subject-category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 80px rgba(139, 0, 0, 0.15);
    border-color: #8B0000;
}

.category-header {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    padding: 30px 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.category-header h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subject-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.subjects-list {
    padding: 40px 35px;
}

.subject-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    border-left: 5px solid #8B0000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.subject-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.05), transparent);
    transition: left 0.6s ease;
}

.subject-item:hover::before {
    left: 100%;
}

.subject-item:last-child {
    margin-bottom: 0;
}

.subject-item:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.subject-number {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #ffffff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.subject-name {
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.5;
    flex: 1;
    position: relative;
    z-index: 2;
}

.total-subjects-note {
    text-align: center;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #ffffff;
    padding: 25px 50px;
    border-radius: 50px;
    display: inline-block;
    margin: 0 auto;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.total-subjects-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.total-subjects-note:hover::before {
    left: 100%;
}

.total-subjects-note p {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

/* Eligibility Content */
.eligibility-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.eligibility-header {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #ffffff;
    padding: 25px 50px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.eligibility-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.eligibility-header:hover::before {
    left: 100%;
}

.eligibility-header h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 2;
}

.eligibility-text {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f3f4;
    transition: all 0.4s ease;
}

.eligibility-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(139, 0, 0, 0.15);
    border-color: #8B0000;
}

.eligibility-text p {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.5;
}

.eligibility-text strong {
    color: #8B0000;
    font-size: 1.8rem;
    font-weight: 800;
}

/* Marks Content */
.marks-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.marks-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.marks-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    border-radius: 2px;
}



.marks-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.marks-table th {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #ffffff;
    padding: 30px 25px;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
}

.marks-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.marks-table td {
    padding: 30px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    border-bottom: 2px solid #f1f3f4;
    transition: all 0.3s ease;
}

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

.marks-table tbody tr:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transform: scale(1.02);
}

/* Note Content */
.note-content {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 40px 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(255, 193, 7, 0.2);
    border: 2px solid #ffeaa7;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.note-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.note-content:hover::before {
    left: 100%;
}

.note-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(255, 193, 7, 0.3);
}

.note-icon {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.note-icon i {
    font-size: 3rem;
    color: #8B0000;
    filter: drop-shadow(0 4px 8px rgba(139, 0, 0, 0.3));
}

.note-text p {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.7;
    color: #1a1a1a;
    position: relative;
    z-index: 2;
}

.note-text strong {
    color: #8B0000;
    font-weight: 800;
}

/* Syllabus Intro */
.syllabus-intro {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 50px;
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f3f4;
    transition: all 0.4s ease;
}

.syllabus-intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(139, 0, 0, 0.15);
    border-color: #8B0000;
}

.syllabus-intro p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #1a1a1a;
    margin: 0;
    font-weight: 500;
}

/* Syllabus Points */
.syllabus-points {
    max-width: 1000px;
    margin: 0 auto;
}

.point-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background: #ffffff;
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f3f4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.point-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.05), transparent);
    transition: left 0.6s ease;
}

.point-item:hover::before {
    left: 100%;
}

.point-item:last-child {
    margin-bottom: 0;
}

.point-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 80px rgba(139, 0, 0, 0.15);
    border-color: #8B0000;
}

.point-number {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #ffffff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.point-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.point-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #1a1a1a;
    margin: 0;
    font-weight: 500;
}

/* Examination Details Container */
.examination-details-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f3f4;
    height: fit-content;
    transition: all 0.4s ease;
}

.examination-details-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(139, 0, 0, 0.15);
    border-color: #8B0000;
}

.examination-details-container h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.examination-details-container h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    border-radius: 2px;
}

.details-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-item {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    border-left: 5px solid #8B0000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.05), transparent);
    transition: left 0.6s ease;
}

.detail-item:hover::before {
    left: 100%;
}

.detail-item:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.15);
}

.detail-label {
    font-weight: 800;
    color: #8B0000;
    font-size: 1.1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.detail-value {
    color: #1a1a1a;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* ===== ENTRANCE EXAMINATIONS SECTION ===== */

.entrance-exams-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.entrance-exams-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
}

.exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.exam-category {
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f1f3f4;
    position: relative;
}

.exam-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.exam-category:hover::before {
    transform: scaleX(1);
}

.exam-category:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 100px rgba(139, 0, 0, 0.15);
    border-color: #8B0000;
}

.exam-category .category-header {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    padding: 35px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.exam-category .category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.exam-category .category-header h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.exam-category .exam-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.exams-list {
    padding: 40px;
}

.exam-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    border-left: 5px solid #8B0000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.exam-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.05), transparent);
    transition: left 0.6s ease;
}

.exam-item:hover::before {
    left: 100%;
}

.exam-item:last-child {
    margin-bottom: 0;
}

.exam-item:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(139, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.exam-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.exam-details {
    flex: 1;
    position: relative;
    z-index: 2;
}

.exam-details h4 {
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exam-details p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

.exams-note {
    text-align: center;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    padding: 30px 50px;
    border-radius: 25px;
    display: inline-block;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 20px 60px rgba(255, 193, 7, 0.2);
    border: 2px solid #ffeaa7;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
}

.exams-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.exams-note:hover::before {
    left: 100%;
}

.exams-note:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(255, 193, 7, 0.3);
}

.exams-note p {
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.exams-note strong {
    color: #8B0000;
    font-weight: 800;
}

/* ===== QUESTION PAPER PATTERN SECTION ===== */

.question-pattern-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.question-pattern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
}

.pattern-table-container {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #f1f3f4;
    transition: all 0.4s ease;
}

.pattern-table-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 100px rgba(139, 0, 0, 0.15);
    border-color: #8B0000;
}

.pattern-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.pattern-table th {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #ffffff;
    padding: 30px 20px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pattern-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.pattern-table .sub-header th {
    background: linear-gradient(135deg, #A52A2A 0%, #8B0000 100%);
    font-size: 1.1rem;
    padding: 25px 15px;
    font-weight: 700;
}

.pattern-table td {
    padding: 30px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    border: 1px solid #f1f3f4;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.pattern-table tbody tr:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transform: scale(1.01);
}

.pattern-table .total-row {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #ffffff;
}

.pattern-table .total-row td {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    font-weight: 800;
}

.pattern-table .total-row strong {
    color: #ffffff;
}

/* ===== DETAILED SYLLABUS SECTION ===== */

.detailed-syllabus-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.detailed-syllabus-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
}

.syllabus-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.syllabus-table-container h3,
.examination-details-container h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.syllabus-table-container h3::after,
.examination-details-container h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    border-radius: 2px;
}

.syllabus-details-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid #f1f3f4;
    transition: all 0.4s ease;
}

.syllabus-details-table:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(139, 0, 0, 0.15);
    border-color: #8B0000;
}

.syllabus-details-table th {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #ffffff;
    padding: 25px 20px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
}

.syllabus-details-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.syllabus-details-table td {
    padding: 25px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a1a;
    text-align: left;
    border-bottom: 2px solid #f1f3f4;
    vertical-align: top;
    transition: all 0.3s ease;
}

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

.syllabus-details-table tbody tr:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transform: scale(1.01);
}

/* ===== CTA SECTION ===== */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 50px;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-block;
    border: 3px solid transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #8B0000;
    border-color: #ffffff;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.btn-outline-primary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.btn-outline-primary:hover {
    background: #ffffff;
    color: #8B0000;
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.3);
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1200px) {
    .syllabus-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .exams-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .selection-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .main-title {
        font-size: 2.6rem;
        letter-spacing: 3px;
    }
    
    .accordion-section,
    .entrance-exams-section,
    .question-pattern-section,
    .detailed-syllabus-section,
    .cta-section {
        padding: 80px 0;
    }
    
    .exams-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .accordion-section,
    .entrance-exams-section,
    .question-pattern-section,
    .detailed-syllabus-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .accordion-header {
        padding: 25px 30px;
    }
    
    .accordion-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    
    .accordion-icon {
        width: 45px;
        height: 45px;
    }
    
    .accordion-content.active {
        padding: 35px 30px;
    }
    
    .subject-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    
    .subject-name {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .total-subjects-note {
        padding: 20px 35px;
        font-size: 1rem;
    }
    
    .eligibility-header {
        padding: 20px 35px;
    }
    
    .eligibility-header h3 {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    
    .eligibility-text {
        padding: 30px 35px;
    }
    
    .eligibility-text p {
        font-size: 1.3rem;
    }
    
    .eligibility-text strong {
        font-size: 1.5rem;
    }
    
    .marks-title {
        font-size: 2rem;
    }
    
    .marks-table th,
    .marks-table td {
        padding: 25px 15px;
        font-size: 1rem;
    }
    
    .note-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 35px;
    }
    
    .note-icon i {
        font-size: 2.5rem;
    }
    
    .note-text p {
        font-size: 1.1rem;
    }
    
    .syllabus-intro {
        padding: 30px 35px;
    }
    
    .syllabus-intro p {
        font-size: 1.1rem;
    }
    
    .point-item {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 25px;
    }
    
    .point-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        align-self: center;
    }
    
    .point-content p {
        font-size: 1rem;
        text-align: center;
    }
    
    .exam-category .category-header h3 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .exam-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px;
    }
    
    .exam-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .exam-details h4 {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .exam-details p {
        font-size: 1rem;
        text-align: center;
    }
    
    .exams-note {
        padding: 25px 35px;
        font-size: 1rem;
    }
    
    .pattern-table th,
    .pattern-table td {
        padding: 25px 15px;
        font-size: 1rem;
    }
    
    .syllabus-details-table th,
    .syllabus-details-table td {
        padding: 20px 15px;
        font-size: 0.95rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .btn {
        padding: 16px 35px;
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 60px;
        padding: 40px 0 20px;
    }
    
    .main-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .accordion-section,
    .entrance-exams-section,
    .question-pattern-section,
    .detailed-syllabus-section,
    .cta-section {
        padding: 50px 0;
    }
    
    .accordion-header {
        padding: 20px 25px;
    }
    
    .accordion-title {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }
    
    .accordion-icon {
        width: 40px;
        height: 40px;
    }
    
    .accordion-content.active {
        padding: 25px 25px;
    }
    
    .category-header {
        padding: 25px 25px;
    }
    
    .category-header h3 {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    
    .subjects-list {
        padding: 25px 25px;
    }
    
    .subject-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .subject-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .subject-name {
        font-size: 1rem;
    }
    
    .total-subjects-note {
        padding: 15px 25px;
        font-size: 0.9rem;
    }
    
    .eligibility-header {
        padding: 15px 25px;
    }
    
    .eligibility-header h3 {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    
    .eligibility-text {
        padding: 20px 25px;
    }
    
    .eligibility-text p {
        font-size: 1.1rem;
    }
    
    .eligibility-text strong {
        font-size: 1.3rem;
    }
    
    .marks-title {
        font-size: 1.8rem;
    }
    
    .marks-table th,
    .marks-table td {
        padding: 20px 10px;
        font-size: 0.9rem;
    }
    
    .note-content {
        padding: 20px 25px;
    }
    
    .note-icon i {
        font-size: 2rem;
    }
    
    .note-text p {
        font-size: 1rem;
    }
    
    .syllabus-intro {
        padding: 20px 25px;
    }
    
    .syllabus-intro p {
        font-size: 1rem;
    }
    
    .point-item {
        padding: 20px;
        gap: 20px;
    }
    
    .point-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .point-content p {
        font-size: 0.95rem;
    }
    
    .exam-category .category-header {
        padding: 25px 25px;
    }
    
    .exam-category .category-header h3 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .exams-list {
        padding: 25px 25px;
    }
    
    .exam-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .exam-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .exam-details h4 {
        font-size: 1.1rem;
    }
    
    .exam-details p {
        font-size: 0.95rem;
    }
    
    .exams-note {
        padding: 20px 25px;
        font-size: 0.95rem;
    }
    
    .pattern-table th,
    .pattern-table td {
        padding: 20px 10px;
        font-size: 0.9rem;
    }
    
    .syllabus-details-table th,
    .syllabus-details-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
}

/* ===== UTILITY ELEMENTS ===== */

.pattern-summary {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(139, 0, 0, 0.4);
    z-index: 1000;
    animation: fadeInUp 0.5s ease-out;
    max-width: 400px;
    text-align: center;
}

.pattern-summary .summary-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pattern-summary .summary-content p {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.pattern-summary .summary-content strong {
    color: #ffeaa7;
}

.exam-countdown {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
    border: 1px solid #ffeaa7;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
    animation: fadeInUp 0.5s ease-out;
}

.exam-countdown .countdown-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8B0000;
}

.exam-countdown .countdown-content p {
    margin: 8px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.exam-countdown .countdown-content strong {
    color: #8B0000;
}

/* Animation for utility elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MODERN MHT-CET PAGE STYLES ===== */

/* CSS Variables for Modern Design System */
:root {
    /* Modern Color Palette - Imperial Academy Theme */
    --primary-gradient: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    --secondary-gradient: linear-gradient(135deg, #A52A2A 0%, #8B0000 100%);
    --accent-gradient: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    --success-gradient: linear-gradient(135deg, #8B0000 0%, #B22222 100%);
    --warning-gradient: linear-gradient(135deg, #DC143C 0%, #FF4500 100%);
    
    /* Neutral Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    /* Glassmorphism Colors */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Neumorphism Colors */
    --neu-light: #ffffff;
    --neu-dark: #e2e8f0;
    --neu-shadow-light: 8px 8px 16px #d1d9e6;
    --neu-shadow-dark: -8px -8px 16px #ffffff;
    
    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-2xl: 3rem;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
    overflow-x: hidden;
}

/* Main Content Container */
.mhtcet-main-content {
    background: var(--bg-secondary);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f5f9 100%);
    padding: var(--space-2xl) 0 var(--space-xl);
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(139, 0, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 0, 0, 0.02) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(139, 0, 0, 0.01) 50%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(139, 0, 0, 0.01) 40px,
            rgba(139, 0, 0, 0.01) 41px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(139, 0, 0, 0.01) 40px,
            rgba(139, 0, 0, 0.01) 41px
        );
    pointer-events: none;
}

.hero-title-2{
    font-size: 4rem;
    font-weight: 900;
    color:  #8B1538;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
} 

.hero-subtitle-2{
    font-size: 1.3rem;
    color: #8B1538;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--bg-primary);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 10px rgba(139, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--bg-primary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    justify-content: center;
}

.stat-item {
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--bg-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--space-xs);
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

.stat-item:hover .stat-number::after {
    width: 100%;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bg-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for hero */
@media (max-width: 1024px) {
    .hero-section {
        padding: var(--space-xl) 0;
        min-height: 60vh;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--space-lg) 0;
        min-height: 50vh;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ===== SECTION HEADERS ===== */
.section-header-modern {
    text-align: center;
    margin-bottom: var(--space-3xl);
    padding: var(--space-2xl) 0;
}

.header-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-lg);
    animation: scaleIn 0.6s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ELIGIBILITY SECTION ===== */
.eligibility-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
    position: relative;
}

.eligibility-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #8B0000 50%, transparent 100%);
}

.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

/* Responsive Design for Eligibility Section */
@media (max-width: 768px) {
    .eligibility-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .eligibility-card {
        margin-bottom: var(--space-lg);
    }
    
    .card-header {
        padding: var(--space-md) var(--space-lg);
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .card-icon-modern {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
    
    .card-header h3 {
        font-size: 1.3rem;
    }
    
    .card-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .eligibility-section {
        padding: var(--space-2xl) 0;
    }
    
    .eligibility-grid {
        gap: var(--space-md);
    }
    
    .eligibility-card {
        margin-bottom: var(--space-md);
    }
    
    .card-header {
        padding: var(--space-sm) var(--space-md);
    }
    
    .card-header h3 {
        font-size: 1.2rem;
    }
    
    .card-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

.eligibility-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--bg-tertiary);
    position: relative;
    transform: translateY(0);
}

.eligibility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.eligibility-card:hover::before {
    transform: scaleX(1);
}

.eligibility-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: #8B0000;
}

.eligibility-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.03), transparent);
    transition: left var(--transition-slow);
}

.eligibility-card:hover::after {
    left: 100%;
}

.card-header {
    background: var(--primary-gradient);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left var(--transition-slow);
}

.eligibility-card:hover .card-header::before {
    left: 100%;
}

.card-icon-modern {
    font-size: 2.2rem;
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.eligibility-card:hover .card-icon-modern {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.3);
}

.card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bg-primary);
    flex: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.card-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-primary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
}

.eligibility-card:hover .card-badge {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.card-content {
    padding: var(--space-xl);
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}

/* Responsive Design for Card Content */
@media (max-width: 768px) {
    .card-content {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .card-content {
        padding: var(--space-md);
    }
}

.subject-group {
    margin-bottom: var(--space-xl);
    position: relative;
}

.subject-group:last-child {
    margin-bottom: 0;
}

.subject-group h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 3px solid var(--primary-gradient);
    position: relative;
    display: inline-block;
}

.subject-group h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-gradient);
    transition: width var(--transition-normal);
}

.eligibility-card:hover .subject-group h4::after {
    width: 100%;
}

.subject-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.subject-item-modern {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.subject-item-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.05), transparent);
    transition: left var(--transition-slow);
}

.subject-item-modern:hover::before {
    left: 100%;
}

.subject-item-modern:hover {
    background: var(--bg-tertiary);
    transform: translateX(12px) scale(1.02);
    border-left-color: var(--primary-gradient);
    box-shadow: var(--shadow-md);
}

.subject-number {
    background: var(--primary-gradient);
    color: var(--bg-primary);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.subject-item-modern:hover .subject-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.subject-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.criteria-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.criteria-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.05), transparent);
    transition: left var(--transition-slow);
}

.criteria-item:hover::before {
    left: 100%;
}

.criteria-item:hover {
    background: var(--bg-tertiary);
    transform: translateX(8px);
    border-left-color: var(--primary-gradient);
    box-shadow: var(--shadow-md);
}

.criteria-icon {
    font-size: 1.8rem;
    width: 55px;
    height: 55px;
    background: var(--warning-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.criteria-item:hover .criteria-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.criteria-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 2;
}

.criteria-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Responsive Design for Criteria Items */
@media (max-width: 768px) {
    .criteria-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
        padding: var(--space-lg);
    }
    
    .criteria-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        align-self: center;
    }
    
    .criteria-text h4 {
        font-size: 1rem;
        margin-bottom: var(--space-xs);
    }
    
    .criteria-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .criteria-item {
        padding: var(--space-md);
        margin-bottom: var(--space-md);
    }
    
    .criteria-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
    
    .criteria-text h4 {
        font-size: 0.95rem;
    }
    
    .criteria-text p {
        font-size: 0.9rem;
    }
}

.marks-chart {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.chart-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.chart-bar {
    flex: 1;
    height: 45px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-lg);
    color: var(--bg-primary);
    font-weight: 700;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
    transition: all var(--transition-normal);
}

.chart-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.chart-bar:hover::before {
    left: 100%;
}

.chart-bar:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
}

.bar-label {
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.bar-value {
    font-size: 1.2rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.total-marks {
    text-align: center;
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-radius: var(--radius-lg);
    border: 3px solid var(--primary-gradient);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.total-marks::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.05), transparent);
    transition: left var(--transition-slow);
}

.total-marks:hover::before {
    left: 100%;
}

.total-marks:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.total-label {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== EXAMS SECTION ===== */
.exams-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.exams-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
}

.exam-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--bg-tertiary);
}

.exam-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.exam-header {
    background: var(--secondary-gradient);
    padding: var(--space-lg);
    text-align: center;
    color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.exam-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.exam-card:hover .exam-header::before {
    left: 100%;
}

.exam-icon-modern {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.exam-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.exam-count {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.exam-list {
    padding: var(--space-lg);
}

.exam-item-modern {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    border-left: 4px solid transparent;
}

.exam-item-modern:hover {
    background: var(--bg-tertiary);
    border-left-color: var(--primary-gradient);
    transform: translateX(8px);
}

.exam-badge {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.exam-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.exam-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== PATTERN SECTION ===== */
.pattern-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

.pattern-overview {
    display: grid;
    gap: var(--space-2xl);
}

.pattern-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.stat-card {
    background: var(--bg-secondary);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--bg-tertiary);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-primary);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pattern-table-modern {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--bg-tertiary);
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table th {
    background: var(--primary-gradient);
    color: var(--bg-primary);
    padding: var(--space-lg);
    font-weight: 700;
    text-align: center;
    font-size: 1rem;
}

.modern-table td {
    padding: var(--space-lg);
    text-align: center;
    border-bottom: 1px solid var(--bg-tertiary);
    transition: all var(--transition-fast);
}

.modern-table tbody tr:hover {
    background: inherit;
}

.modern-table .total-row {
    background: var(--secondary-gradient);
    color: var(--bg-primary);
    font-weight: 800;
}

/* ===== SYLLABUS SECTION ===== */
.syllabus-section {
    padding: var(--space-3xl) 0;
}

.syllabus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.syllabus-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--bg-tertiary);
}

.syllabus-card:hover {
    transform: none;
    box-shadow: var(--shadow-lg);
}

.syllabus-header {
    background: var(--accent-gradient);
    padding: var(--space-lg);
    text-align: center;
    color: var(--bg-primary);
}

.syllabus-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.syllabus-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.topic-count {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.syllabus-content {
    padding: var(--space-lg);
}

.topic-group {
    margin-bottom: var(--space-lg);
}

.topic-group h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--bg-tertiary);
}

.topic-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.topic-list li {
    padding: var(--space-sm);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    position: relative;
    padding-left: var(--space-lg);
}

.topic-list li::before {
    content: '•';
    position: absolute;
    left: var(--space-sm);
    color: var(--primary-gradient);
    font-weight: 800;
}

.topic-list li:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transform: translateX(5px);
}

/* ===== EXAM DETAILS SECTION ===== */
.exam-details-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

.details-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.detail-card {
    background: var(--bg-secondary);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--bg-tertiary);
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.detail-card:hover::before {
    left: 100%;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-primary);
}

.detail-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.detail-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.detail-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta-section-modern {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    padding: 4rem 0;
    margin: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.cta-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circles" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23circles)"/></svg>');
    opacity: 0.3;
}

.cta-content-modern {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-badge {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.cta-section-modern h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.cta-section-modern p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons-modern {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary-modern {
    background: white;
    color: #8B1538;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-primary-modern:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-text {
    font-weight: 600;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-primary-modern:hover .btn-icon {
    transform: translateX(5px);
}

/* Responsive Design for CTA */
@media (max-width: 768px) {
    .cta-section-modern {
        padding: 3rem 0;
    }
    
    .cta-content-modern {
        padding: 0 1rem;
    }
    
    .cta-badge {
        font-size: 3rem;
    }
    
    .cta-section-modern h2 {
        font-size: 2rem;
    }
    
    .cta-section-modern p {
        font-size: 1.1rem;
    }
    
    .btn-primary-modern {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        height: 300px;
        order: -1;
    }
    
    .eligibility-grid,
    .exams-grid-modern,
    .syllabus-grid {
        grid-template-columns: 1fr;
    }
    
    .pattern-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .details-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .pattern-stats {
        grid-template-columns: 1fr;
    }
    
    .details-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons-modern {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-modern,
    .btn-secondary-modern {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .header-badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .card-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ===== SYLLABUS WEIGHTAGE SECTION ===== */
.syllabus-weightage-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

.syllabus-weightage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #8B0000 50%, transparent 100%);
}

.syllabus-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-paragraph {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    border-left: 4px solid var(--primary-gradient);
    box-shadow: var(--shadow-md);
}

.intro-paragraph p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

.syllabus-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    background: var(--bg-primary);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-gradient);
    transition: all var(--transition-normal);
}

.point-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.point-number {
    background: var(--primary-gradient);
    color: var(--bg-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

.point-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 500;
}

/* ===== QUESTION PATTERN SECTION ===== */
.question-pattern-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
    position: relative;
}

.question-pattern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #8B0000 50%, transparent 100%);
}

.pattern-table-container {
    overflow-x: auto;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--bg-tertiary);
}

.detailed-pattern-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    font-size: 1rem;
}

.detailed-pattern-table th,
.detailed-pattern-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    border-bottom: 1px solid var(--bg-tertiary);
    vertical-align: middle;
}

.detailed-pattern-table th {
    background: var(--primary-gradient);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.detailed-pattern-table th:first-child {
    text-align: left;
}

.detailed-pattern-table td {
    color: var(--text-primary);
    font-weight: 500;
}

.detailed-pattern-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
}

.detailed-pattern-table .total-row {
    background: var(--bg-secondary);
    font-weight: 700;
}

.detailed-pattern-table .total-row td {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.detailed-pattern-table tbody tr:nth-child(even) {
    background: rgba(139, 0, 0, 0.02);
}

/* Remove all table hover effects */
.modern-table tbody tr:hover,
.detailed-pattern-table tbody tr:hover {
    background: inherit !important;
    transform: none !important;
    box-shadow: none !important;
}

.modern-table tbody tr:hover td,
.detailed-pattern-table tbody tr:hover td {
    background: inherit !important;
    color: inherit !important;
}

/* Responsive table adjustments */
@media (max-width: 768px) {
    .detailed-pattern-table {
        font-size: 0.9rem;
    }
    
    .detailed-pattern-table th,
    .detailed-pattern-table td {
        padding: var(--space-sm) var(--space-md);
    }
    
    .point-item {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .point-number {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .detailed-pattern-table {
        font-size: 0.8rem;
    }
    
    .detailed-pattern-table th,
    .detailed-pattern-table td {
        padding: var(--space-xs) var(--space-sm);
    }
    
    .intro-paragraph,
    .point-item {
        padding: var(--space-md);
    }
}

/* Table Note Styling */
.table-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-left: 4px solid #8B1538;
    border-radius: 8px;
}

.table-note p {
    margin: 0;
    line-height: 1.6;
    color: #333;
    font-size: 0.95rem;
}

/* Marking Scheme Table Styling */
.marking-scheme-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.marking-scheme-table thead th {
    background: #8B1538;
    color: white;
    padding: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.marking-scheme-table tbody td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.marking-scheme-table tbody td:first-child {
    font-weight: 500;
    color: #495057;
    width: 60%;
}

.marking-scheme-table tbody td:last-child {
    text-align: center;
    font-weight: 600;
    color: #8B1538;
    width: 40%;
}

.marking-scheme-table tbody tr:last-child td {
    border-bottom: none;
}

.marking-scheme-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

/* Advanced Details Table Styling */
.advanced-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.advanced-details-table thead th {
    background: #8B1538;
    color: white;
    padding: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.advanced-details-table tbody td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.advanced-details-table tbody td:first-child {
    font-weight: 600;
    color: #495057;
    width: 35%;
    background: #f8f9fa;
}

.advanced-details-table tbody td:last-child {
    color: #333;
    width: 65%;
}

.advanced-details-table tbody tr:last-child td {
    border-bottom: none;
}

.advanced-details-table tbody tr:nth-child(even) td:first-child {
    background: #e9ecef;
}

/* Advanced Note Styling */
.advanced-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
}

.advanced-note p {
    margin: 0;
    line-height: 1.6;
    color: #856404;
    font-size: 0.95rem;
}

/* Marking Scheme Content Container */
.marking-scheme-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.marking-table-container {
    overflow-x: auto;
}

/* Advanced Details Content Container */
.advanced-details-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.advanced-table-container {
    overflow-x: auto;
}

/* Home Page Blog Section Styling */
.home-page .blog-section {
    text-align: center;
}

.home-page .blog-section .section-header {
    margin-bottom: 3rem;
    position: relative;
    padding-right: 200px;
}

.home-page .blog-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8B1538;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.home-page .blog-section .view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.home-page .blog-section .view-all-btn:hover {
    background: linear-gradient(135deg, #a52a2a 0%, #8B1538 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4);
}

.home-page .blog-section .view-all-btn i {
    transition: transform 0.3s ease;
}

.home-page .blog-section .view-all-btn:hover i {
    transform: translateX(3px);
}

/* Center blog grid on home page */
.home-page .blog-section .row.justify-content-center {
    justify-content: center !important;
}

.home-page .blog-section .blog-item {
    display: flex;
    justify-content: center;
}

/* Responsive adjustments for home page blog section */
@media (max-width: 768px) {
    .home-page .blog-section .section-title {
        font-size: 2rem;
    }
    
    .home-page .blog-section .view-all-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* NEET Page Specific Styles */

/* Compact Marks Table */
.marks-table-compact {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 500px;
}

.marks-table-compact th,
.marks-table-compact td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.marks-table-compact th {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.marks-table-compact td {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
}

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

/* Calculation Table */
.calculation-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.calculation-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.1rem;
}

.calculation-table .calculation-label {
    font-weight: 600;
    color: #2c3e50;
    width: 60%;
}

.calculation-table .calculation-value {
    font-weight: 700;
    color: #8B1538;
    text-align: center;
    width: 40%;
}

.calculation-table .highlight-row {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.calculation-table .highlight-row .calculation-value {
    color: #dc3545;
    font-size: 1.2rem;
}

/* NEET UG Card */
.neet-ug-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 2rem;
}

.neet-ug-header {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.neet-ug-icon {
    font-size: 2rem;
    color: white;
}

.neet-ug-header h3 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.neet-ug-text {
    padding: 2rem;
}

.neet-ug-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #2c3e50;
    font-size: 1.1rem;
}

.neet-ug-text p:last-child {
    margin-bottom: 0;
}

.neet-ug-text strong {
    color: #8B1538;
}

/* Syllabus Eligibility Card */
.syllabus-eligibility-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 2rem;
}

.syllabus-eligibility-header {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.syllabus-eligibility-icon {
    font-size: 2rem;
    color: white;
}

.syllabus-eligibility-header h3 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.syllabus-eligibility-text {
    padding: 2rem;
}

.syllabus-section,
.eligibility-section {
    margin-bottom: 2rem;
}

.syllabus-section:last-child,
.eligibility-section:last-child {
    margin-bottom: 0;
}

.syllabus-section h4,
.eligibility-section h4 {
    color: #8B1538;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.syllabus-section p,
.eligibility-section p {
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

/* Instructions Section */
.instructions-section {
    padding: 80px 0;
    background: #f8f9fa;
    margin-bottom: 40px;
}

/* Instructions Card */
.instructions-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 2rem;
}

.instructions-header {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.instructions-icon {
    font-size: 2rem;
    color: white;
}

.instructions-header h3 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.instructions-list {
    padding: 2rem;
}

.instruction-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.instruction-item:last-child {
    margin-bottom: 0;
}

.instruction-number {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
    font-family: 'Playfair Display', serif;
}

.instruction-content h4 {
    color: #8B1538;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.instruction-content p,
.instruction-content ul {
    color: #2c3e50;
    line-height: 1.6;
    font-size: 1.1rem;
    margin: 0;
}

.instruction-content ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.instruction-content li {
    margin-bottom: 0.5rem;
}

/* Responsive Design for NEET Sections */
@media (max-width: 768px) {
    .marks-table-compact {
        font-size: 0.9rem;
    }
    
    .marks-table-compact th,
    .marks-table-compact td {
        padding: 12px 16px;
    }
    
    .instructions-section {
        padding: 60px 0;
        margin-bottom: 30px;
    }
    
    .neet-ug-header,
    .syllabus-eligibility-header,
    .instructions-header {
        padding: 1.5rem;
    }
    
    .neet-ug-text,
    .syllabus-eligibility-text,
    .instructions-list {
        padding: 1.5rem;
    }
    
    .instruction-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .instruction-number {
        align-self: flex-start;
    }
}

/* Applicability Section Styles */
.applicability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.applicability-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 2px solid #f1f3f4;
    transition: all 0.3s ease;
}

.applicability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(139, 21, 56, 0.15);
    border-color: #8B1538;
}

.applicability-header {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.applicability-icon {
    font-size: 2rem;
    color: white;
}

.applicability-header h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.applicability-details {
    padding: 1.5rem;
}

.applicability-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #8B1538;
}

.applicability-item:last-child {
    margin-bottom: 0;
}

.applicability-percentage {
    background: #8B1538;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.applicability-text {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    flex: 1;
}

/* Responsive Design for Applicability */
@media (max-width: 768px) {
    .applicability-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .applicability-header {
        padding: 1.25rem;
    }
    
    .applicability-header h3 {
        font-size: 1.3rem;
    }
    
    .applicability-details {
        padding: 1.25rem;
    }
    
    .applicability-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .applicability-percentage {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
        min-width: 50px;
    }
    
    .applicability-text {
        font-size: 0.9rem;
    }
}

/* Pattern Section Styles */
.pattern-content {
    margin-top: 2rem;
    overflow-x: auto;
}

.detailed-pattern-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.detailed-pattern-table th,
.detailed-pattern-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.detailed-pattern-table th {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.detailed-pattern-table td {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
}

.detailed-pattern-table .total-row {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 700;
}

.detailed-pattern-table .total-row td {
    color: #8B1538;
}

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

/* Responsive Design for Pattern Section */
@media (max-width: 768px) {
    .detailed-pattern-table {
        font-size: 0.9rem;
    }
    
    .detailed-pattern-table th,
    .detailed-pattern-table td {
        padding: 12px 16px;
    }
}

/* Subject Selection Section Styles */
.subject-selection-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.subject-selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.subject-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #f1f3f4;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(139, 0, 0, 0.12);
    border-color: #8B0000;
}

.card-header {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.card-icon-modern {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.card-header h3 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 1;
}

.card-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.card-content {
    padding: 1.5rem;
}

.subject-group {
    margin-bottom: 1.5rem;
}

.subject-group:last-child {
    margin-bottom: 0;
}

.subject-group h4 {
    color: #8B1538;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    font-family: 'Playfair Display', serif;
}

.subject-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.subject-item-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.subject-item-modern:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.subject-number {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.subject-name {
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
}

/* Reduce spacing between sections */
section {
    margin-bottom: 2rem;
}

section:last-child {
    margin-bottom: 0;
}

.section-header-modern {
    margin-bottom: 1.5rem;
}

/* Responsive Design for Subject Selection */
@media (max-width: 768px) {
    .subject-selection-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .subject-card {
        margin-bottom: 1rem;
    }
    
    .card-header {
        padding: 1.25rem;
    }
    
    .card-content {
        padding: 1.25rem;
    }
    
    .card-header h3 {
        font-size: 1.2rem;
    }
}

/* Eligibility Criteria Section Styles */
.eligibility-criteria {
    margin-top: 2rem;
}

.criteria-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    border: 2px solid #f1f3f4;
    transition: all 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
}

.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(139, 0, 0, 0.12);
    border-color: #8B0000;
}

.criteria-icon {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(139, 0, 0, 0.2);
}

.criteria-content {
    flex: 1;
}

.criteria-content h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    font-family: 'Playfair Display', serif;
}

.criteria-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid #8B1538;
}

.highlight-number {
    color: #8B1538;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.highlight-separator {
    color: #6c757d;
    font-size: 1.5rem;
    font-weight: 600;
}

.highlight-total {
    color: #6c757d;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.highlight-subject {
    color: #8B1538;
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.criteria-content p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Eligibility Criteria */
@media (max-width: 768px) {
    .criteria-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .criteria-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .criteria-content h3 {
        font-size: 1.2rem;
    }
    
    .highlight-number,
    .highlight-total {
        font-size: 1.5rem;
    }
    
    .highlight-subject {
        font-size: 1rem;
    }
}

/* Important Instructions Section - Modern Style */
.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.instruction-card-modern {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 2px solid #f1f3f4;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.instruction-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
}

.instruction-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(139, 21, 56, 0.15);
    border-color: #8B1538;
}

.instruction-icon-modern {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.instruction-card-modern h4 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.instruction-card-modern p {
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
}

.marks-breakdown-modern {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.mark-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.mark-label {
    font-weight: 500;
    color: #495057;
}

.mark-value {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.mark-value.positive {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mark-value.negative {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mark-value.neutral {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

.duration-highlight {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    color: white!important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 0.5rem;
}

/* Responsive Design for Instructions Grid */
@media (max-width: 768px) {
    .instructions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .instruction-card-modern {
        padding: 1.5rem;
    }
    
    .instruction-icon-modern {
        font-size: 2.5rem;
    }
    
    .mark-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Eligibility Criteria Section - New Modern Layout */
.eligibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.eligibility-card-main {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    color: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(139, 21, 56, 0.3);
    position: relative;
    overflow: hidden;
}

.eligibility-card-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.eligibility-header {
    margin-bottom: 2rem;
}

.eligibility-icon-main {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.eligibility-card-main h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.eligibility-highlight-main {
    margin: 2rem 0;
}

.highlight-circle {
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
}

.highlight-number-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFD700;
}

.highlight-separator-main {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0.5rem;
}

.highlight-total-main {
    font-size: 1.8rem;
    font-weight: 700;
}

.highlight-subject-main {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

.eligibility-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
}

.eligibility-requirements {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.requirement-item {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 2px solid #f1f3f4;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.requirement-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(139, 21, 56, 0.15);
    border-color: #8B1538;
}

.requirement-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.requirement-content h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    font-family: 'Playfair Display', serif;
}

.requirement-content p {
    color: #5a6c7d;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design for Eligibility Grid */
@media (max-width: 992px) {
    .eligibility-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .eligibility-card-main {
        padding: 2rem;
    }
    
    .highlight-circle {
        width: 100px;
        height: 100px;
    }
    
    .highlight-number-main {
        font-size: 2rem;
    }
    
    .highlight-total-main {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .eligibility-card-main {
        padding: 1.5rem;
    }
    
    .eligibility-icon-main {
        font-size: 3rem;
    }
    
    .eligibility-card-main h3 {
        font-size: 1.5rem;
    }
    
    .requirement-item {
        padding: 1.25rem;
    }
    
    .requirement-icon {
        font-size: 1.5rem;
    }
    
    .requirement-content h4 {
        font-size: 1.1rem;
    }
}

/* PCB Requirement Info in Subject Selection Section */
.pcb-requirement-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.requirement-pointer {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #8B1538;
    max-width: 600px;
    margin: 0 auto;
}

.pointer-icon {
    color: #8B1538;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    margin-top: 0.1rem;
}

.pointer-text {
    color: #495057;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.pointer-text strong {
    color: #8B1538;
    font-weight: 600;
}

/* Responsive Design for PCB Requirement Info */
@media (max-width: 768px) {
    .pcb-requirement-info {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .requirement-pointer {
        padding: 0.75rem 1rem;
        margin: 0 1rem;
    }
    
    .pointer-text {
        font-size: 0.95rem;
    }
}

/* NEET Introduction Section Styles */
.neet-intro-content {
    margin-top: 2rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.intro-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.intro-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.intro-card h4 {
    color: #8B1538;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.intro-card p {
    color: #2c3e50;
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

/* Calculation Card Styles */
.calculation-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 2rem;
}

.calculation-header {
    background: linear-gradient(135deg, #8B1538 0%, #a52a2a 100%);
    padding: 2rem;
    text-align: center;
}

.calculation-header h3 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.calculation-content {
    padding: 2rem;
}

/* Marks Breakdown Styles */
.marks-breakdown {
    margin-top: 2rem;
}

/* Program Name Links Styling */
.program-name a {
    color: #8B1538;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.program-name a:hover {
    color: #a52a2a;
    transform: translateY(-2px);
    text-decoration: underline;
}

.program-name a:focus {
    outline: 2px solid #8B1538;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Additional Responsive Styles for JEE Main Purpose Section */
@media (max-width: 768px) {
    .eligibility-card.criteria-card {
        margin: 0 10px 20px 10px !important;
        border-radius: 15px !important;
        max-width: 100% !important;
        transform: none !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    }
    
    .eligibility-card.criteria-card .card-header {
        padding: 15px 20px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }
    
    .eligibility-card.criteria-card .card-header h3 {
        font-size: 1.2rem !important;
        margin: 0 !important;
        line-height: 1.2 !important;
    }
    
    .eligibility-card.criteria-card .card-icon-modern {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.5rem !important;
    }
    
    .eligibility-card.criteria-card .card-badge {
        font-size: 0.75rem !important;
        padding: 4px 12px !important;
    }
    
    .eligibility-card.criteria-card .card-content {
        padding: 20px !important;
    }
    
    .eligibility-card.criteria-card .criteria-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
        padding: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .eligibility-card.criteria-card .criteria-item:last-child {
        margin-bottom: 0 !important;
    }
    
    .eligibility-card.criteria-card .criteria-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.3rem !important;
        align-self: center !important;
    }
    
    .eligibility-card.criteria-card .criteria-text h4 {
        font-size: 0.95rem !important;
        margin-bottom: 8px !important;
    }
    
    .eligibility-card.criteria-card .criteria-text p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .eligibility-card.criteria-card {
        margin: 0 5px 15px 5px !important;
        border-radius: 12px !important;
        max-width: 100% !important;
    }
    
    .eligibility-card.criteria-card .card-header {
        padding: 12px 15px !important;
        gap: 8px !important;
    }
    
    .eligibility-card.criteria-card .card-header h3 {
        font-size: 1.1rem !important;
        line-height: 1.1 !important;
    }
    
    .eligibility-card.criteria-card .card-icon-modern {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.3rem !important;
    }
    
    .eligibility-card.criteria-card .card-badge {
        font-size: 0.7rem !important;
        padding: 3px 10px !important;
    }
    
    .eligibility-card.criteria-card .card-content {
        padding: 15px !important;
        margin: 0 !important;
    }
    
    .eligibility-card.criteria-card .criteria-item {
        padding: 12px !important;
        margin-bottom: 12px !important;
        gap: 12px !important;
    }
    
    .eligibility-card.criteria-card .criteria-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.2rem !important;
    }
    
    .eligibility-card.criteria-card .criteria-text h4 {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    .eligibility-card.criteria-card .criteria-text p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 360px) {
    .eligibility-card.criteria-card {
        margin: 0 3px 12px 3px !important;
    }
    
    .eligibility-card.criteria-card .card-header {
        padding: 10px 12px !important;
    }
    
    .eligibility-card.criteria-card .card-header h3 {
        font-size: 1rem !important;
    }
    
    .eligibility-card.criteria-card .card-content {
        padding: 12px !important;
    }
    
    .eligibility-card.criteria-card .criteria-item {
        padding: 10px !important;
        margin-bottom: 10px !important;
    }
    
    .eligibility-card.criteria-card .criteria-text h4 {
        font-size: 0.85rem !important;
    }
    
    .eligibility-card.criteria-card .criteria-text p {
        font-size: 0.75rem !important;
    }
}

/* Additional layout fixes for JEE Main Purpose section */
.eligibility-section .eligibility-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
}

@media (min-width: 769px) {
    .eligibility-section .eligibility-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

.eligibility-card.criteria-card {
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    max-width: 100% !important;
    margin: 0 auto 20px auto !important;
}

.eligibility-card.criteria-card .card-content {
    overflow: hidden !important;
    padding: 20px !important;
}

.eligibility-card.criteria-card .criteria-item {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    margin-bottom: 15px !important;
}

.eligibility-card.criteria-card .criteria-item:last-child {
    margin-bottom: 0 !important;
}

.eligibility-card.criteria-card .criteria-text p {
    word-break: break-word !important;
    hyphens: auto !important;
    margin: 0 !important;
}

