/* Past Questions Page Custom Styles - Brand Colors: Green, White, Black */

/* Page Title */
.past-questions-page .page-title {
    background: var(--brand-green-50);
    color: inherit;
    padding: 140px 0 80px;
    position: relative;
}

.past-questions-page .page-title h1 {
    color: var(--brand-gray-900);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.past-questions-page .page-title p {
    color: var(--brand-gray-600);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Hero Section */
.past-questions-hero {
    padding: 100px 0;
    background: #ffffff;
}

.past-questions-hero h2 span {
    color: #000;
}

.past-questions-hero .hero-stats .stat-item {
    text-align: center;
    padding: 1.25rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.past-questions-hero .hero-stats .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
}

.past-questions-hero .hero-stats .stat-item h3 {
    color: var(--brand-gray-900);
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.past-questions-hero .hero-stats .stat-item p {
    color: #333;
    font-weight: 500;
    margin: 0;
}

.past-questions-hero .cta-buttons .btn-primary {
    background: var(--brand-green-600);
    border-color: var(--brand-green-600);
    color: white;
    font-weight: 600;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
}

.past-questions-hero .cta-buttons .btn-primary:hover {
    background: #15803d;
    border-color: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.08);
}

.past-questions-hero .cta-buttons .btn-outline {
    border-color: var(--brand-gray-300);
    color: var(--brand-gray-700);
    background: transparent;
    font-weight: 600;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: none;
}

.past-questions-hero .cta-buttons .btn-outline:hover {
    background: var(--brand-gray-900);
    color: white;
    transform: translateY(-1px);
}

/* Hero secondary (green) button */
.past-questions-hero .cta-buttons .btn-secondary {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
    font-weight: 700;
    padding: 1.05rem 2.1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(40, 167, 69, 0.25);
}
.past-questions-hero .cta-buttons .btn-secondary:hover {
    background: #1e7e34;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(30, 126, 52, 0.3);
}

/* Optional tertiary button for hero (outlined dark) */
.past-questions-hero .cta-buttons .btn-tertiary {
    background: transparent;
    border: 1px solid #e5e7eb;
    color: var(--brand-gray-700);
    font-weight: 600;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.past-questions-hero .cta-buttons .btn-tertiary:hover {
    background: var(--brand-gray-900);
    color: #fff;
}

/* Section footer buttons (View all ...) */
.past-questions-page .section .btn-primary,
.past-questions-page .section .btn-dark {
    background: #000;
    border-color: #000;
    color: #fff;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.past-questions-page .section .btn-primary:hover,
.past-questions-page .section .btn-dark:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-2px);
}

/* Exam Cards */
.exam-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
    transition: all 0.2s ease;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    height: 100%;
}

.exam-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
    border-color: #d1fae5;
}

.exam-card .card-header {
    background: transparent;
    color: var(--brand-gray-900);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
}

.exam-card .card-header h3 {
    color: var(--brand-gray-900);
    font-weight: 700;
    margin: 0;
    font-size: 1.25rem;
}

.exam-card .exam-icon {
    color: var(--brand-green-600);
    font-size: 1.25rem;
}

.exam-card .card-body {
    padding: 1.5rem;
}

.exam-card .subjects-list h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.exam-card .subjects-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exam-card .subjects-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
    color: #555;
    font-size: 0.9rem;
}

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

.exam-card .subjects-list li i {
    color: #28a745;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.exam-card .card-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.exam-card .card-actions .btn {
    flex: 1;
    min-width: 120px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 600;
}

.exam-card .card-actions .btn-primary {
    background: var(--brand-green-600);
    border: 1px solid var(--brand-green-600);
    color: white;
}

.exam-card .card-actions .btn-primary:hover {
    background: #1e7e34;
    border-color: #1e7e34;
    color: white;
    transform: translateY(-2px);
}

.exam-card .card-actions .btn-outline {
    background: transparent;
    border: 1px solid var(--brand-gray-300);
    color: var(--brand-gray-700);
}

.exam-card .card-actions .btn-outline:hover {
    background: var(--brand-gray-900);
    color: white;
    transform: translateY(-1px);
}

/* Subject Cards */
.subject-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.subject-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
    border-color: #d1fae5;
}

.subject-card .card-icon {
    font-size: 2rem;
    color: var(--brand-green-600);
    margin-bottom: 0.75rem;
}

.subject-card .card-content h4 {
    color: var(--brand-gray-900);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.subject-card .card-content p {
    color: var(--brand-gray-600);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 1rem;
}

.subject-card .card-content .btn {
    background: var(--brand-green-600);
    border-color: var(--brand-green-600);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.subject-card .card-content .btn:hover {
    background: #15803d;
    border-color: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(20, 83, 45, 0.15);
}

/* Category Titles */
.category-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

/* Benefits Section */
.benefit-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
    padding: 2rem;
    height: 100%;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px #28a745;
    border-color: #28a745;
}

.benefit-card .benefit-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* FAQ Section */
.faq .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
}

.faq .accordion-button {
    background: white;
    border: none;
    font-weight: 600;
    color: #333;
    padding: 1.5rem;
}

.faq .accordion-button:not(.collapsed) {
    background: #28a745;
    color: white;
}

.faq .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.faq .accordion-body {
    padding: 1.5rem;
    background: #f8f9fa;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: #28a745;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta .lead {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: white;
    line-height: 1.6;
}

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

.cta .btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta .btn-primary {
    background: #000;
    border-color: #000;
    color: white;
}

.cta .btn-primary:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px #000;
}

.cta .btn-outline {
    border-color: white;
    color: white;
    background: transparent;
}

.cta .btn-outline:hover {
    background: white;
    color: #28a745;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px #fff;
}

.cta .btn-secondary {
    background: #fff;
    border-color: #fff;
    color: #28a745;
}

.cta .btn-secondary:hover {
    background: #f8f9fa;
    border-color: #f8f9fa;
    transform: translateY(-3px);
}

/* Section Titles */
.section-title h2 {
    color: #333;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Breadcrumbs */
.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumbs li {
    color: var(--brand-gray-700);
    font-size: 0.9rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '>';
    margin: 0 0.5rem;
    color: var(--brand-gray-500);
}

.breadcrumbs li a {
    color: var(--brand-gray-600);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs li a:hover { color: var(--brand-gray-900); }

.breadcrumbs li.current { color: var(--brand-gray-900); font-weight: 600; }

/* Responsive Design */
@media (max-width: 768px) {
    .past-questions-page .page-title h1 {
        font-size: 2.5rem;
    }
    
    .past-questions-hero .hero-stats {
        flex-direction: column;
    }
    
    .exam-card .card-actions {
        flex-direction: column;
    }
    
    .cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta h2 {
        font-size: 2.5rem;
    }
    
    .cta .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
} 