.main-content {
    flex: 1;
}

.content-section {
    display: none;
   
    margin-top: 20px;
}

.content-section.active {
    display: block;
}

/* Typography */
.main-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
    text-align: center;
}



.program-title {
    font-size: 2rem;
    font-weight: 600;
    color: #036f63;
    margin-bottom: 1rem;
    text-align: center;
}

.program-title-arabic {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 1.5rem;
    text-align: center;
}

.program-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 4xl;
    margin: 0 auto 3rem;
    line-height: 1.7;
    text-align: center;
}

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-card {
    background: #0d9488;
    color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stat-card i {
    font-size: 3rem;
    color: #c29d3c;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
}

/* Apply Button */
.apply-btn {
    background: #ea580c;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.apply-btn:hover {
    background: #dc2626;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 2rem;
}

.objectives-text {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.7;
}

/* Tracks Grid */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.track-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.track-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.track-header {
    padding: 1.5rem 1.5rem 0;
}

.track-header h3 {
    font-size: 1.25rem;
    color: #0d9488;
    font-weight: 600;
}

.track-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.track-info h4 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.track-details {
    font-size: 0.875rem;
    color: #6b7280;
}

.track-details p {
    margin-bottom: 0.25rem;
}

/* Track Buttons */
.track-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.track-btn {
    background: #0d9488;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 500;
}

.track-btn:hover {
    background: #0f766e;
}

.track-btn.active {
    background: #0f766e;
}

.curriculum-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Year Sections */
.year-section {
    margin-bottom: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.year-header {
    background: linear-gradient(to right, #fb923c, #fb923c);
    color: white;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.2s;
}

.year-header:hover {
    background: linear-gradient(to right, #fb923c, #fb923c);
}

.toggle-icon {
    font-size: 0.875rem;
    transition: transform 0.2s;
}

.year-content {
    display: none;
}

.year-content.expanded {
    display: block;
}

.semester-section {
    border-bottom: 1px solid #e5e7eb;
}

.semester-section:last-child {
    border-bottom: none;
}

.semester-header {
    background: #f9fafb;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.semester-header h4 {
    font-weight: 600;
    color: #111827;
}

.credits-badge {
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.course-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.2s;
}

.course-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.course-name {
    font-weight: 500;
    color: #111827;
}

.course-credits {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Course Descriptions */
.courses-section {
    margin-bottom: 2rem;
}

.courses-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d9488;
    margin-bottom: 1rem;
}

.specialization-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #287c72;
    margin: 2rem 0 1rem;
    text-transform: capitalize;
}

.courses-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.course-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.course-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.course-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.course-info h4 {
    font-size: 1.125rem;
    color: #111827;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.course-meta {
    font-size: 0.875rem;
    color: #6b7280;
}

.course-credits-badge {
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.course-description {
    padding: 0 1.5rem 1.5rem;
}

.course-description p {
    color: #374151;
    line-height: 1.6;
}

/* Text Center Utility */
.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .sidebar-card {
        position: static;
    }
    
    .sidebar-nav {
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
    }
    
    .nav-item {
        white-space: nowrap;
        border-right: none;
        border-bottom: 4px solid transparent;
    }
    
    .nav-item.active {
        border-right: none;
        border-bottom: 4px solid #0d9488;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .top-nav {
        gap: 1rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .program-title {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tracks-grid {
        grid-template-columns: 1fr;
    }
    
    .track-buttons {
        flex-direction: column;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .main-layout {
        padding: 1rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .main-title {
        font-size: 1.75rem;
    }
    
    .program-title {
        font-size: 1.25rem;
    }
    
    .sidebar-nav {
        flex-direction: column;
    }
}

