:root {
    --primary-color: #4a90e2;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --success-color: #2ecc71;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
}

/* Common Styles for Exam Pages */
.exam-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.exam-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.exam-header .col-md-2 {
    max-width: 80px;
    flex: 0 0 80px;
}

.exam-header .col-md-10 {
    max-width: calc(100% - 80px);
    flex: 0 0 calc(100% - 80px);
}

.exam-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.exam-header .lead {
    font-size: 1rem;
    margin-bottom: 0;
}

.info-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.info-card i {
    font-size: 1.5rem;
    color: #1e3c72;
    margin-bottom: 0.7rem;
}

.info-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1e3c72;
}

.info-card p {
    margin-bottom: 4px;
    font-size: 0.95rem;
    color: #666;
}

/* Update the row containing info cards */
.row.mb-5 {
    margin-bottom: 3rem !important;
}

.row.mb-5 > div {
    margin-bottom: 1rem;
}

.syllabus-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.syllabus-topic {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.syllabus-topic h5 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.syllabus-topic ul {
    list-style-type: none;
    padding-left: 0;
}

.syllabus-topic li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.syllabus-topic li:last-child {
    border-bottom: none;
}

.topic-link {
    color: #2a5298;
    text-decoration: none;
    transition: color 0.3s ease;
}

.topic-link:hover {
    color: #1e3c72;
}

.marks {
    color: #666;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.exam-pattern {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.pattern-stage {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pattern-stage h5 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.pattern-stage table {
    width: 100%;
    border-collapse: collapse;
}

.pattern-stage th, .pattern-stage td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.pattern-stage th {
    background: #f1f3f5;
}

.cta-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
}

.cta-button {
    background: white;
    color: #1e3c72;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: #1e3c72;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .exam-header {
        padding: 1.5rem 0;
    }
    .exam-logo {
        width: 60px;
        height: 60px;
    }
    .display-4 {
        font-size: 2rem;
    }
    .lead {
        font-size: 1rem;
    }
    .info-card {
        padding: 1.25rem;
    }
    .info-card i {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    .info-card h5 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    .info-card p {
        font-size: 0.9rem;
    }
    .row.mb-5 > div {
        margin-bottom: 0.75rem;
    }
    .syllabus-section, .exam-pattern {
        padding: 1rem;
    }
    .syllabus-topic, .pattern-stage {
        padding: 1rem;
    }
    .table {
        font-size: 0.9rem;
    }
    .table th, .table td {
        padding: 0.5rem;
    }
    .cta-section {
        padding: 2rem 0;
    }
    .cta-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .exam-header {
        padding: 1rem 0;
    }
    .exam-logo {
        width: 50px;
        height: 50px;
    }
    .display-4 {
        font-size: 1.5rem;
    }
    .table-responsive {
        font-size: 0.8rem;
    }
    .table th, .table td {
        padding: 0.4rem;
    }
    .info-card {
        padding: 1rem;
    }
    .info-card i {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    .info-card h5 {
        font-size: 0.95rem;
    }
    .info-card p {
        font-size: 0.85rem;
    }
} 