/* Curriculum Page Styles */
body {
    font-family: 'Noto Sans Thai', sans-serif;
    background-color: #f8f9fa;
    line-height: 1.6;
}

.page-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.page-title h1 {
    margin: 0;
    font-family: 'db_helvethaica_x65_med', 'Noto Sans Thai', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.degree-navigation {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.degree-btn {
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.degree-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-decoration: none;
}

.degree-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.degree-btn:not(.active) {
    background: white;
    color: #495057;
    border-color: #e9ecef;
}

.degree-btn:not(.active):hover {
    border-color: #667eea;
    color: #667eea;
}

.scholarship-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-color: #28a745;
}

.degree-btn i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.section-header {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(23, 162, 184, 0.3);
}

.section-header h4 {
    margin: 0;
    font-family: 'db_helvethaica_x65_med', 'Noto Sans Thai', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
}

.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
    position: relative;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.program-card .position-relative {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.program-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover img {
    transform: scale(1.05);
}

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 20px 20px 0 0;
}

.program-card:hover .program-overlay {
    opacity: 1;
}

.program-title {
    color: white;
    text-align: center;
    padding: 1rem;
    font-family: 'db_helvethaica_x65_med', 'Noto Sans Thai', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.program-info {
    padding: 1.5rem;
    background: white;
}

.program-info h6 {
    color: #495057;
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

.program-info .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.breadcrumb {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-size: 1.2em;
    color: #6c757d;
}

.breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #764ba2;
}

.breadcrumb-item.active {
    color: #495057;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-title {
        padding: 1.5rem;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .degree-navigation {
        padding: 1.5rem;
    }
    
    .degree-btn {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .degree-btn i {
        font-size: 1.5rem;
    }
    
    .program-card img {
        height: 200px;
    }
    
    .program-info {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .page-title h1 {
        font-size: 1.75rem;
    }
    
    .program-card img {
        height: 180px;
    }
}
