/* Curriculum Page Specific Styles */

/* Hero Section */
.curriculum-hero {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.9), rgba(42, 82, 152, 0.9)), url('../images/curriculum/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.curriculum-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.curriculum-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.hero-features .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-features .feature i {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 8px;
}

.hero-features .feature span {
    font-size: 1rem;
    opacity: 0.9;
}

/* Curriculum Navigation */
.curriculum-nav {
    background: white;
    padding: 0;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.curriculum-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-link {
    padding: 20px 25px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.tab-link:hover {
    color: #667eea;
    background: #f8f9fa;
}

.tab-link.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: #f8f9fa;
}

/* Curriculum Sections */
.curriculum-section {
    display: none;
    padding: 80px 0;
}

.curriculum-section.active {
    display: block;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #1e3c72;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* JSS Section Styles */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.focus-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 4px solid #667eea;
    transition: transform 0.3s;
}

.focus-card:hover {
    transform: translateY(-5px);
}

.focus-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.focus-card h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.focus-card p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.subjects-container {
    margin-bottom: 60px;
}

.subjects-container h3 {
    color: #1e3c72;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.subject-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #28a745;
    transition: all 0.3s;
}

.subject-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.subject-card h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.subject-card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.subject-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.hours {
    color: #667eea;
    font-weight: 600;
}

.level {
    color: #28a745;
    font-weight: 600;
}

.assessment-system {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
}

.assessment-system h3 {
    color: #1e3c72;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

.assessment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.assessment-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.assessment-card h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.assessment-card p {
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* SSS Section Styles */
.streams-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}

.stream-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.stream-tab {
    flex: 1;
    padding: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.stream-tab:hover {
    background: white;
    color: #667eea;
}

.stream-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: white;
}

.stream-content {
    padding: 40px;
}

.stream-panel {
    display: none;
}

.stream-panel.active {
    display: block;
}

.stream-header {
    text-align: center;
    margin-bottom: 40px;
}

.stream-header h3 {
    color: #1e3c72;
    margin-bottom: 10px;
    font-size: 2rem;
}

.stream-header p {
    color: #666;
    font-size: 1.1rem;
}

.stream-subjects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.stream-subjects h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.subjects-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subject-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s;
}

.subject-item:hover {
    background: #e9ecef;
}

.subject-item i {
    color: #667eea;
    font-size: 1.2rem;
    width: 20px;
}

.subject-item span {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.subject-item small {
    color: #666;
    font-size: 0.8rem;
    background: white;
    padding: 3px 8px;
    border-radius: 12px;
}

.career-paths h4 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.career-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s;
}

.career-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.career-card i {
    color: #667eea;
    font-size: 1.1rem;
}

.career-card span {
    color: #333;
    font-weight: 500;
}

.sss-assessment {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 40px;
    border-radius: 15px;
}

.sss-assessment h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.assessment-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.breakdown-item {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.breakdown-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.percentage {
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
}

.breakdown-item p {
    margin: 0;
    opacity: 0.9;
}

/* Teaching Methodology */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.methodology-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.methodology-header {
    padding: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.methodology-header h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.methodology-header p {
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.methodology-methods {
    padding: 25px;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.method-item:last-child {
    border-bottom: none;
}

.method-item i {
    color: #28a745;
    margin-top: 3px;
    font-size: 1.1rem;
}

.method-info strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.method-info span {
    color: #666;
    font-size: 0.95rem;
}

.learning-environment {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.learning-environment h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #1e3c72;
    font-size: 1.8rem;
}

.environment-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-item i {
    font-size: 2rem;
    color: #667eea;
    margin-top: 5px;
}

.feature-info h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.feature-info p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Co-curricular Activities */
.co-curricular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.activity-category {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.category-header {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 25px;
    text-align: center;
}

.category-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.activities-list {
    padding: 25px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.2rem;
}

.activity-info h4 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.activity-info p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.benefits-section h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #1e3c72;
    font-size: 1.8rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 20px;
}

.benefit-card h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Academic Calendar */
.calendar-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.term-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.term-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 25px;
    text-align: center;
}

.term-header h3 {
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.term-duration {
    opacity: 0.9;
    font-size: 1rem;
}

.term-dates {
    padding: 25px;
}

.date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.date-item:last-child {
    border-bottom: none;
}

.date-info strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.date-info span {
    color: #666;
    font-size: 0.9rem;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.upcoming {
    background: #fff3cd;
    color: #856404;
}

.term-stats {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.term-stats .stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
}

.important-dates h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #1e3c72;
    font-size: 1.8rem;
}

.events-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.timeline-date {
    flex: 0 0 120px;
    text-align: center;
}

.timeline-date span {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.timeline-content h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Call to Action */
.curriculum-cta {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.curriculum-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.curriculum-cta p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: white;
    color: #1e3c72;
}

/* Responsive Design */
@media (max-width: 768px) {
    .curriculum-hero h1 {
        font-size: 2.5rem;
    }
    
    .curriculum-tabs {
        flex-direction: column;
    }
    
    .tab-link {
        text-align: center;
        border-bottom: 1px solid #e9ecef;
        border-left: 3px solid transparent;
    }
    
    .tab-link.active {
        border-left-color: #667eea;
        border-bottom-color: #e9ecef;
    }
    
    .stream-subjects {
        grid-template-columns: 1fr;
    }
    
    .stream-tabs {
        flex-direction: column;
    }
    
    .co-curricular-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-container {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .timeline-date {
        flex: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .curriculum-hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .subjects-grid {
        grid-template-columns: 1fr;
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
    }
    
    .environment-features {
        grid-template-columns: 1fr;
    }
}