/* Program Description Sections */
.program-descriptions-container {
    width: 100%;
    margin-bottom: 80px;
    padding: 20px 0;
}

.program-descriptions-section {
    width: 100%;
    margin-bottom: 0;
}

.program-description-card {
    width: 100%;
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    min-height: 420px;
}

/* Level Meta Line - Top Left Corner */
.program-description-card .level-meta-line {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 15;
    font-size: 10px;
    font-weight: 800;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Program-specific background colors for level meta line */
.program-description-card[data-program="w"] .level-meta-line {
    background: #1ABC9C;
}

.program-description-card[data-program="rh"] .level-meta-line {
    background: #8A2BE2;
}

.program-description-card[data-program="bck"] .level-meta-line {
    background: #FF69B4;
}

.program-description-card[data-program="tc"] .level-meta-line {
    background: #E74C3C;
}

.program-description-card[data-program="bb"] .level-meta-line {
    background: #FFD700;
}

.program-description-card[data-program="gt"] .level-meta-line {
    background: #34495E;
}

.program-description-card[data-program="test"] .level-meta-line {
    background: #667eea;
}

.program-description-card .level-meta-line .dot-sep {
    opacity: 0.8;
    font-weight: 600;
    color: white;
}

/* Navigation Chevrons */
.program-description-card .description-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.program-description-card .description-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.program-description-card .description-nav-btn.prev {
    left: -25px;
}

.program-description-card .description-nav-btn.next {
    right: -25px;
}

.program-description-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.program-description-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.program-description-right {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.small-covers-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
}

.small-cover {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.program-description-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.header-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 2rem;
}

.program-description-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #333;
}

.program-description-text {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-top: 2rem;
}

.program-description-text p {
    margin: 0;
    max-width: 70%;
}

/* On mobile, use full width */
@media (max-width: 768px) {
    .program-description-text p {
        max-width: 100%;
    }
}

.program-skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: -8rem;
}

.skills-column h4,
.ideal-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.skills-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skills-column ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    color: #555;
}

.skills-column ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.ideal-column p {
    margin: 0;
    color: #555;
}

.program-cover-image {
    width: 100%;
    height: auto;
    max-width: 216px;
    border-radius: 8px;
}

/* Program-specific large stop colors */
.program-description-card[data-program="w"] .large-stop {
    border-color: #1ABC9C;
    color: #1ABC9C;
}

.program-description-card[data-program="rh"] .large-stop {
    border-color: #8A2BE2;
    color: #8A2BE2;
}

.program-description-card[data-program="bck"] .large-stop {
    border-color: #FF69B4;
    color: #FF69B4;
}

.program-description-card[data-program="tc"] .large-stop {
    border-color: #E74C3C;
    color: #E74C3C;
}

.program-description-card[data-program="bb"] .large-stop {
    border-color: #FFD700;
    color: #333;
}

.program-description-card[data-program="gt"] .large-stop {
    border-color: #34495E;
    color: #34495E;
}

.program-description-card[data-program="test"] .large-stop {
    border-color: #667eea;
    color: #667eea;
}

/* Section Separator */
.section-separator {
    text-align: center;
    padding: 60px 0;
    margin: 80px 0;
    border-top: 3px solid #eee;
    border-bottom: 3px solid #eee;
    background: #f8f9fa;
}

/* Program Cards Container */
.program-cards-container {
    width: 100%;
    margin-top: 40px;
    padding: 20px 0;
}

.section-separator h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.section-separator p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .program-description-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .program-description-right {
        flex: none;
        width: 100%;
        justify-content: center;
    }
    
    .program-skills-grid {
        grid-template-columns: 1fr;
        gap: -8rem;
    }
    
    .program-description-card {
        padding: 20px;
    }
    
    .program-description-title {
        font-size: 24px;
    }
}
