/* Specialized Program Detail Section */
.program-detail-section {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.program-detail-inner {
    position: relative;
    z-index: 3;
}

.abstract-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.abstract-background::after {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at top right, rgba(109, 214, 220, 0.18), transparent 60%),
        radial-gradient(circle at 15% 65%, rgba(59, 130, 246, 0.12), transparent 55%);
    opacity: 0.65;
}

.shape {
    position: absolute;
    display: block;
    opacity: 0.35;
    filter: drop-shadow(0 18px 35px rgba(15, 23, 42, 0.08));
    mix-blend-mode: normal;
    background-repeat: no-repeat;
}

.shape-zigzag {
    width: 320px;
    height: 140px;
    top: 10%;
    left: -60px;
    background-size: 30px 30px;
    background-image:
        linear-gradient(135deg, rgba(109, 214, 220, 0.4) 25%, transparent 25%),
        linear-gradient(225deg, rgba(96, 165, 250, 0.35) 25%, transparent 25%);
    transform: rotate(6deg);
    border-radius: 32px;
}

.shape-diagonal {
    width: 420px;
    height: 420px;
    right: -150px;
    top: -60px;
    background: linear-gradient(160deg, rgba(109, 214, 220, 0.12), rgba(14, 165, 233, 0.18));
    clip-path: polygon(0 20%, 65% 0, 100% 75%, 45% 100%);
    border: 1px solid rgba(109, 214, 220, 0.2);
    transform: rotate(-8deg);
}

.shape-circle {
    width: 280px;
    height: 280px;
    bottom: -80px;
    left: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 214, 220, 0.55), rgba(109, 214, 220, 0.2));
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
}

.shape-dots {
    width: 220px;
    height: 220px;
    bottom: 20%;
    right: 6%;
    background-image: radial-gradient(rgba(109, 214, 220, 0.45) 2px, transparent 2px);
    background-size: 18px 18px;
    border-radius: 32px;
    transform: rotate(12deg);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.program-detail-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    text-align: center;
    width: 100%;
}

.program-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    
}

.program-detail-badge {
    display: inline-block;
    background: var(--color-primary-light);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.program-detail-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.program-detail-points {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.program-point {
    display: flex;
    gap: 0;
    align-items: flex-start;
    position: relative;
    margin-bottom: 2rem;
    padding-left: 0;
}

.program-point:last-child {
    margin-bottom: 0;
}

/* Stepper line connecting points */
.program-point::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 48px;
    bottom: -2rem;
    width: 2px;
    background-color: #e2e8f0;
    z-index: 1;
}

.program-point:last-child::after {
    display: none;
}

.program-point-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: white;
    color: black;
    margin-right: 16px;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.25rem;
    font-weight: 600;
}

.program-point-content {
    flex: 1;
    padding-top: 4px;
}

.program-point h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.program-point p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Hover effect */
.program-point:hover .program-point-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Program Roadmap Sidebar */
.program-roadmap {
    position: relative;
    width: 100%;
    max-width: 360px;
    min-height: 440px;
    margin: 0 auto;
    padding: 1rem 0 1.5rem;
}

.roadmap-paths {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.roadmap-paths .path {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    opacity: 0.75;
    filter: drop-shadow(0 12px 22px rgba(15, 23, 42, 0.12));
}

.roadmap-paths .path-1 {
    stroke: rgba(109, 214, 220, 0.5);
}

.roadmap-paths .path-2 {
    stroke: rgba(56, 189, 248, 0.4);
}

.roadmap-node {
    position: absolute;
    width: min(240px, calc(100% - 32px));
    padding: 1rem 1.25rem;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    z-index: 2;
}

.node-marker {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #6DD6DC);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 12px 25px rgba(56, 189, 248, 0.35);
}

.roadmap-node h5 {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    color: #0f172a;
}

.roadmap-node p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.roadmap-node.step-1 {
    top: 0;
    left: 18px;
}

.roadmap-node.step-2 {
    top: 45%;
    right: 0;
}

.roadmap-node.step-3 {
    bottom: 10px;
    left: 14%;
}

.image-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-surface);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.step-num {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Research Topics */
.research-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.topic-tag {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 1200px) {
    .program-detail-title {
        font-size: 2.25rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .program-detail-section {
        padding: 4rem 0;
    }

    .program-detail-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .program-detail-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 2rem;
    }

    .program-detail-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .program-detail-points {
        gap: 0;
    }

    .program-point {
        margin-bottom: 1.5rem;
    }

    .program-point::after {
        left: 21px;
        top: 42px;
        bottom: -1.5rem;
    }

    .program-point-icon {
        width: 42px;
        height: 42px;
        margin-right: 14px;
        font-size: 1.1rem;
    }

    .program-point h4 {
        font-size: 1.1rem;
    }

    .program-point p {
        font-size: 0.95rem;
    }

    .shape-zigzag {
        width: 240px;
        height: 110px;
        left: -90px;
    }

    .shape-diagonal {
        right: -210px;
        top: -140px;
        width: 360px;
        height: 360px;
    }

    .shape-circle {
        left: 2%;
        width: 240px;
        height: 240px;
    }

    .shape-dots {
        right: -10px;
        width: 180px;
        height: 180px;
    }

    .program-roadmap {
        max-width: 320px;
        min-height: 360px;
    }
}

@media (max-width: 768px) {
    .program-detail-section {
        padding: 4rem 0;
    }

    .program-detail-content {
        gap: 2.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .program-detail-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 2rem;
    }

    .program-detail-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .program-detail-points {
        gap: 0;
    }

    .program-point {
        margin-bottom: 1.25rem;
    }

    .program-point::after {
        left: 19px;
        top: 38px;
        bottom: -1.25rem;
    }

    .program-point-icon {
        width: 38px;
        height: 38px;
        margin-right: 12px;
        font-size: 1rem;
    }

    .program-point h4 {
        font-size: 1rem;
    }

    .program-point p {
        font-size: 0.9rem;
    }

    .shape-diagonal {
        width: 280px;
        height: 280px;
        right: -150px;
        top: -170px;
    }

    .shape-circle {
        width: 220px;
        height: 220px;
        left: 50%;
        transform: translateX(-50%);
        bottom: -150px;
    }

    .shape-zigzag,
    .shape-dots {
        display: none;
    }

    .program-roadmap {
        max-width: 100%;
        min-height: auto;
        padding: 0.5rem 0 0;
    }

    .roadmap-paths {
        display: none;
    }

    .roadmap-node {
        position: relative;
        width: 100%;
        margin-bottom: 1rem;
    }

    .roadmap-node:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .program-detail-section {
        padding: 3rem 0;
    }

    .program-detail-content {
        gap: 2rem;
    }

    .program-detail-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .program-detail-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .program-detail-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .program-detail-points {
        gap: 0;
    }

    .program-point {
        margin-bottom: 1rem;
    }

    .program-point::after {
        left: 16px;
        top: 32px;
        bottom: -1rem;
    }

    .program-point-icon {
        width: 32px;
        height: 32px;
        margin-right: 10px;
        font-size: 0.9rem;
    }

    .program-point h4 {
        font-size: 0.95rem;
    }

    .program-point p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .roadmap-node {
        padding: 0.9rem 1rem;
    }

    .node-marker {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .shape-circle {
        width: 180px;
        height: 180px;
        bottom: -130px;
    }

    .shape-diagonal {
        width: 220px;
        height: 220px;
        right: -180px;
        top: -120px;
        opacity: 0.25;
    }
}

@media (max-width: 360px) {
    .program-detail-title {
        font-size: 1.4rem;
    }

    .program-detail-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .program-detail-section {
        padding: 2.5rem 0;
    }
}

@media print {
    .program-detail-section {
        padding: 1rem 0;
        break-inside: avoid;
    }
}

