:root {
    --primary-bg: #0c0f1d;
    --secondary-bg: #161b2e;
    --accent-color: #f0b90b;
    --accent-hover: #f8d33a;
    --text-primary: #eaecef;
    --text-secondary: #848e9c;
    --border-color: #2a3142;
    --card-bg: #1e232f;
    --success: #00c087;
    --danger: #f6465d;
    --warning: #f0b90b;
    --info: #2172e5;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.light-mode {
    --primary-bg: #ffffff;
    --secondary-bg: #f8f9fa;
    --accent-color: #f0b90b;
    --accent-hover: #f8d33a;
    --text-primary: #1e2329;
    --text-secondary: #707a8a;
    --border-color: #e6e8ea;
    --card-bg: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--secondary-bg);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-logo h2 {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo i {
    margin-right: 0.5rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    background-color: rgba(240, 185, 11, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-login, .btn-signup {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-signup {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}

.btn-login:hover {
    background-color: rgba(240, 185, 11, 0.1);
}

.btn-signup:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--border-color);
    transform: rotate(15deg);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(240, 185, 11, 0.1), transparent 50%);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.highlight {
    color: var(--accent-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 185, 11, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: rgba(240, 185, 11, 0.1);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

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

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    padding: 140px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Sections Common */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Features Section */
.features {
    background-color: var(--secondary-bg);
}

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

.feature-card {
    background-color: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--accent-color);
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Exams Section */
.exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.exam-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.exam-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.exam-card h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.exam-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.exam-card li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.exam-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.exam-card li:last-child {
    border-bottom: none;
}

.btn-exam {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: var(--primary-bg);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.btn-exam:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Materials Preview */
.materials-preview {
    background-color: var(--secondary-bg);
}

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

.material-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.material-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.material-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.material-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-material {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-material:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 600;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.about-text li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
}

.about-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-text li:last-child {
    border-bottom: none;
}

.about-stats {
    display: grid;
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

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

/* Team Section */
.team-section {
    background-color: var(--secondary-bg);
}

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

.team-member {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.member-img {
    width: 100px;
    height: 100px;
    background: var(--secondary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--accent-color);
}

.member-img i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.team-member h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.value-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section */
.services-section {
    background-color: var(--secondary-bg);
}

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

.service-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--accent-color);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    color: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--card-bg);
}

.process-step h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Courses Section */
.courses-section {
    background-color: var(--secondary-bg);
}

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

.course-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.course-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.course-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-bg);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-card.premium {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.course-card.popular {
    border: 2px solid var(--info);
}

.course-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.course-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.course-features {
    text-align: left;
    margin-bottom: 2rem;
}

.course-features h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.course-features ul {
    list-style: none;
}

.course-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
}

.course-features li i {
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.course-price {
    margin-bottom: 2rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-right: 1rem;
}

.original-price {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

/* Free Resources */
.free-resources {
    padding: 60px 0;
}

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

.resource-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.resource-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.resource-card h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.3rem;
}

.resource-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Quiz Section */
.quiz-section {
    background-color: var(--secondary-bg);
}

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

.quiz-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.quiz-category:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.quiz-category h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.quiz-category p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quiz-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quiz-stat {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.quiz-stat i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.quiz-stat h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

/* Study Materials Section */
.materials-section {
    background-color: var(--secondary-bg);
}

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

.material-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.material-category:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.material-category h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.material-category ul {
    list-style: none;
}

.material-category li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.material-category li::before {
    content: '📚';
    position: absolute;
    left: 0;
}

.material-category li:last-child {
    border-bottom: none;
}

/* Previous Papers Section */
.papers-section {
    background-color: var(--secondary-bg);
}

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

.paper-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.paper-category:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.paper-category h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.year-list {
    list-style: none;
}

.year-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.year-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.year-list a:hover {
    color: var(--accent-color);
}

.year-list i {
    color: var(--accent-color);
    transition: var(--transition);
}

.year-list a:hover i {
    transform: translateX(5px);
}

.year-list li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-details {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-details li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-details li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 20px;
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--secondary-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    text-align: center;
    color: var(--primary-bg);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background-color: var(--primary-bg);
    color: var(--accent-color);
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

.cta .btn-primary:hover {
    background-color: var(--secondary-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background-color: var(--secondary-bg);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: 3rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 450px;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-size: 1.8rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.auth-form input,
.auth-form select {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--secondary-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.1);
}

.auth-form button {
    margin-top: 1rem;
}

.modal-content p {
    text-align: center;
    color: var(--text-secondary);
}

.modal-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.modal-content a:hover {
    text-decoration: underline;
}
/* Quiz Page Specific Styles */
.daily-quiz {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
}

.quiz-card {
    background: var(--card-bg);
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin: 0 auto;
    max-width: 800px;
    box-shadow: var(--shadow);
}

.quiz-card.featured {
    position: relative;
    overflow: hidden;
}

.quiz-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quiz-header h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin: 0;
}

.quiz-badge {
    background: var(--success);
    color: var(--primary-bg);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.quiz-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.quiz-meta span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quiz-meta i {
    color: var(--accent-color);
}

.quiz-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quiz-topics {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.topic-tag {
    background: rgba(240, 185, 11, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(240, 185, 11, 0.3);
}

.quiz-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Quiz Categories */
.quiz-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quiz-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.quiz-category:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.category-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.quiz-category h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.quiz-category p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quiz-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
}

.quiz-stats span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.quiz-list {
    text-align: left;
    margin-bottom: 2rem;
}

.quiz-list h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.quiz-list ul {
    list-style: none;
}

.quiz-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.quiz-list li:last-child {
    border-bottom: none;
}

.quiz-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quiz-list a:hover {
    color: var(--accent-color);
}

.quiz-list a::before {
    content: '▸';
    color: var(--accent-color);
    font-weight: bold;
}

/* Subject-wise Quizzes */
.subject-quiz {
    background-color: var(--secondary-bg);
    padding: 80px 0;
}

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

.subject-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.subject-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.subject-card h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.subject-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.subject-topics span {
    background: var(--secondary-bg);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.quiz-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.quiz-count i {
    color: var(--accent-color);
}

/* Previous Year Quizzes */
.pyq-quiz {
    padding: 80px 0;
}

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

.pyq-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.pyq-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.pyq-card h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.pyq-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.pyq-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pyq-info i {
    color: var(--accent-color);
}

.pyq-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
}

.pyq-stats .stat {
    text-align: center;
}

.pyq-stats strong {
    display: block;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
}

.pyq-stats span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.text-center {
    text-align: center;
}

/* Quiz Features */
.quiz-features {
    padding: 80px 0;
    background-color: var(--secondary-bg);
}

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

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Leaderboard */
.leaderboard-preview {
    padding: 80px 0;
}

.leaderboard {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.leaderboard-header {
    background: var(--secondary-bg);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.leaderboard-header h3 {
    margin: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.leaderboard-header span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.leaderboard-list {
    padding: 0;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.leaderboard-item:hover {
    background: var(--secondary-bg);
}

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

.leaderboard-item.first {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), transparent);
}

.leaderboard-item.second {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), transparent);
}

.leaderboard-item.third {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), transparent);
}

.rank {
    width: 40px;
    height: 40px;
    background: var(--secondary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-color);
    margin-right: 1rem;
}

.leaderboard-item.first .rank {
    background: var(--accent-color);
    color: var(--primary-bg);
}

.user {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info strong {
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.user-info span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.score {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.leaderboard-actions {
    padding: 1.5rem 2rem;
    background: var(--secondary-bg);
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Instructions Modal */
.instructions {
    margin: 2rem 0;
}

.instructions h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.instructions ul {
    list-style: none;
    margin-bottom: 2rem;
}

.instructions li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.instructions li:last-child {
    border-bottom: none;
}

.instructions li i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.instruction-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Start Quiz Button */
.start-quiz {
    position: relative;
    overflow: hidden;
}

.start-quiz::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Base Styles - Binance Inspired */
:root {
    --primary: #f0b90b;
    --primary-dark: #c9940b;
    --secondary: #1e2026;
    --dark: #0b0e11;
    --light-dark: #161a1e;
    --gray: #848e9c;
    --light-gray: #eaecef;
    --white: #ffffff;
    --success: #03a66d;
    --danger: #cf304a;
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background-color: var(--secondary);
    border-bottom: 1px solid #2b3139;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-logo h2 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-logo i {
    margin-right: 0.5rem;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-item {
    margin: 0 1rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-login, .btn-signup {
    padding: 0.5rem 1.2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-login {
    color: var(--white);
    border: 1px solid var(--gray);
}

.btn-signup {
    background-color: var(--primary);
    color: var(--dark);
}

.btn-login:hover {
    background-color: rgba(255,255,255,0.1);
}

.btn-signup:hover {
    background-color: var(--primary-dark);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Syllabus Hero */
.syllabus-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    padding: 3rem 0;
    border-bottom: 1px solid #2b3139;
}

.breadcrumb {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--white);
}

.syllabus-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.syllabus-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.syllabus-meta {
    display: flex;
    gap: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
}

.meta-item i {
    color: var(--primary);
}

/* Main Layout */
.syllabus-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

/* Sidebar */
.syllabus-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-sticky {
    background-color: var(--secondary);
    border-radius: var(--border-radius);
    border: 1px solid #2b3139;
    padding: 1.5rem;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.sidebar-nav {
    list-style: none;
    margin-bottom: 2rem;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: rgba(240, 185, 11, 0.1);
    border-left-color: var(--primary);
    color: var(--primary);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--dark);
}

.sidebar-cta h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.sidebar-cta p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background-color: var(--dark);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #000;
    transform: translateY(-2px);
}

/* Syllabus Content */
.syllabus-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--secondary);
    border-radius: var(--border-radius);
    border: 1px solid #2b3139;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Exam Pattern */
.pattern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pattern-card {
    background-color: var(--light-dark);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #2b3139;
    transition: var(--transition);
}

.pattern-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.pattern-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pattern-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.pattern-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Subject Breakdown */
.subject-breakdown {
    margin-top: 2rem;
}

.subject-breakdown h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.2rem;
}

.breakdown-table {
    background-color: var(--light-dark);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #2b3139;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background-color: var(--primary);
    color: var(--dark);
    font-weight: 600;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid #2b3139;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row.total {
    background-color: rgba(240, 185, 11, 0.1);
    font-weight: 600;
}

.table-cell {
    padding: 1rem;
    display: flex;
    align-items: center;
}

/* Topic Grid */
.topic-grid, .aptitude-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.topic-card, .aptitude-card {
    background-color: var(--light-dark);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #2b3139;
    transition: var(--transition);
}

.topic-card:hover, .aptitude-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.topic-card h3, .aptitude-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.topic-card ul, .aptitude-card ul {
    list-style: none;
    padding-left: 0;
}

.topic-card li, .aptitude-card li {
    padding: 0.25rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1rem;
}

.topic-card li::before, .aptitude-card li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* CTA Section */
.syllabus-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #2b3139;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.cta-content p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--gray);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--primary);
}

/* Footer */
.footer {
    background-color: var(--secondary);
    border-top: 1px solid #2b3139;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--light-dark);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #2b3139;
    padding-top: 1rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}
/* Exams Grid Section */
.exams-grid-section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.exam-card {
    background-color: var(--secondary);
    border: 1px solid #2b3139;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.exam-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.exam-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(240, 185, 11, 0.1);
}

.exam-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.exam-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.exam-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.exam-meta {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-tag {
    background-color: var(--light-dark);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--primary);
}

/* Updates Section */
.updates-section {
    padding: 3rem 0;
    background-color: var(--secondary);
}

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

.update-card {
    background-color: var(--light-dark);
    border: 1px solid #2b3139;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    position: relative;
    transition: var(--transition);
}

.update-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.update-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background-color: var(--primary);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.update-card h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.update-card p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.update-date {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Tips Section */
.tips-section {
    padding: 3rem 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background-color: var(--secondary);
    border: 1px solid #2b3139;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.tip-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.tip-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tip-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Stage Breakdown */
.stage-breakdown {
    margin-top: 2rem;
}

.stage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stage-card {
    background-color: var(--light-dark);
    border: 1px solid #2b3139;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.stage-card:hover {
    border-color: var(--primary);
}

.stage-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.stage-card ul {
    list-style: none;
    padding-left: 0;
}

.stage-card li {
    padding: 0.5rem 0;
    color: var(--gray);
    border-bottom: 1px solid #2b3139;
}

.stage-card li:last-child {
    border-bottom: none;
}

.stage-card li strong {
    color: var(--white);
}

/* Subject Grid */
.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.subject-card {
    background-color: var(--light-dark);
    border: 1px solid #2b3139;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.subject-card:hover {
    border-color: var(--primary);
}

.subject-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.topic-list h4 {
    color: var(--white);
    margin: 1rem 0 0.5rem 0;
    font-size: 1rem;
}

.topic-list ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.topic-list li {
    padding: 0.25rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1rem;
    font-size: 0.9rem;
}

.topic-list li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
}

