/* ===== Program Details Page ===== */
.program-details-page {
    background: #fff;
}

/* ===== Hero Section ===== */
.pd-hero {
    position: relative;
    padding-top: 60px;
    padding-bottom: 80px;
    background:
        linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 40%),
        linear-gradient(135deg, rgba(0, 82, 154, 0.08), rgba(0, 168, 171, 0.08));
}

.pd-hero-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-top: 20px;
}

/* Hero Text */
.pd-hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 16px;
}

.pd-hero-title {
    font-size: 40px;
    font-weight: 800;
    color: #00293D;
    line-height: 130%;
    letter-spacing: -0.8px;
    text-align: right;
    margin: 0;
    max-width: 560px;
}

.pd-hero-desc {
    font-size: 18px;
    font-weight: 300;
    color: #535965;
    line-height: 150%;
    text-align: right;
    margin: 0;
    max-width: 658px;
}

.pd-hero-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 32px;
    width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(0, 166, 157, 0.12);
    background: rgba(0, 168, 171, 0.08);
    padding: 24px 32px 23px 24px;

}

.pd-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 246px;
    height: 56px;
    background: #00529A;
    border-radius: 100px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease;
}

.pd-btn-primary:hover {
    background: #003d75;
    color: #FFFFFF;
}

.pd-study-start {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.pd-study-label {
    font-size: 16px;
    font-weight: 500;
    color: #00293D;
    letter-spacing: -0.32px;
}

.pd-study-date {
    font-size: 20px;
    font-weight: 700;
    color: #00293D;
    letter-spacing: -0.4px;
}

/* ===== Sidebar Card ===== */
.pd-hero-sidebar {
    width: 400px;
    flex-shrink: 0;
    border-radius: 24px;
    overflow: hidden;
    background: transparent;
}

.pd-sidebar-image {
    position: relative;
    width: 100%;
    height: 287px;
    overflow: hidden;
    display: flex;

    padding: 24px 24px 242px 315px;
    justify-content: flex-end;
    align-items: center;
    align-self: stretch;
    border-radius: 24px;
}

.pd-sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-sidebar-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 41, 72, 0) 0%, rgba(10, 41, 72, 1) 100%);
}

.pd-sidebar-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    color: #00293D;
    z-index: 1;
}

/* Price Bar */
.pd-sidebar-price {
    background: #00A8AB;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 24px;
    background: var(--Secondry, #00A8AB);
    margin: 16px 0;
}

.pd-price-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.pd-price-row {
    display: flex;
    align-items: center;
    gap: 3px;
}

.pd-price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
}

.pd-price-period {
    font-size: 10px;
    font-weight: 400;
    color: #FFFFFF;
    opacity: 0.8;
}

.pd-price-label {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
}

/* Info Details */
.pd-sidebar-info {
    background: #FFFFFF;
    padding: 32px;

    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 24px;
    background: var(--White, #FFF);
    box-shadow: 0 80px 106.667px 0 rgba(28, 39, 115, 0.01), 0 26.667px 62.469px 0 rgba(28, 39, 115, 0.01), 0 13.333px 33.975px 0 rgba(28, 39, 115, 0.01);
}

.pd-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
}

.pd-info-item:last-child {
    padding-bottom: 0;
}

.pd-info-item-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #00293D;
}

.pd-info-item-label svg {
    color: #00A8AB;
}

.pd-info-item-value {
    font-size: 16px;
    font-weight: 400;
    color: #00293D;
}

/* ===== Content Section ===== */


.pd-content .container {
    max-width: 1240px;
}

.pd-content-card {
    background: #FFFFFF;
    border: 1px solid #E0E2E5;
    border-radius: 24px;
    padding: 40px;
}

/* Tabs */
.pd-tabs {
    display: flex;
    gap: 12px;
}

.pd-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #6E7686;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pd-tab svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.pd-tab:hover {
    color: #00293D;
}

.pd-tab.active {
    color: #00A8AB;
    font-weight: 500;
    border-bottom-color: #00A8AB;
}

.pd-tab.active svg {
    color: #00A8AB;
}

.pd-tab-line {
    height: 1px;
    background: #E0E2E5;
    margin-bottom: 32px;
}

/* Tab Panes */
.pd-tab-pane {
    display: none;
}

.pd-tab-pane.active {
    display: flex;
    flex-direction: column;
    gap: 48px;
    animation: pdSlideUp 0.4s ease;
}

@keyframes pdSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.pd-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pd-section-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 800;
    color: #00293D;
    line-height: 130%;
}

.pd-section-body {
    font-size: 18px;
    font-weight: 300;
    color: #00293D;
    line-height: 27px;
    text-align: right;
}

.pd-section-body p {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 27px;
    color: #00293D;
}

.pd-section-body ul,
.pd-section-body ol {
    padding-right: 20px;
    margin-bottom: 12px;
}

.pd-section-body li {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 27px;
    color: #00293D;
}

.pd-section-desc {
    font-size: 18px;
    font-weight: 300;
    color: #535965;
    line-height: 27px;
    text-align: right;
    margin: 0;
}

/* Requirement Cards */
.pd-req-grid {
    display: flex;
    gap: 24px;
}

.pd-req-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
    background: #FFFFFF;
    border: 1px solid #E0E2E5;
    border-radius: 24px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.pd-req-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pd-req-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 168, 171, 0.1), rgba(0, 82, 154, 0.1));
    border-radius: 16px;
}

.pd-req-icon svg {
    color: #00A8AB;
}

.pd-req-text {
    font-size: 18px;
    font-weight: 700;
    color: #00293D;
}

/* Expandable Levels */
.pd-levels {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pd-level {
    border-bottom: 1px solid #E0E2E5;
}

.pd-level:last-child {
    border-bottom: none;
}

.pd-level-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    text-align: right;
    justify-content: space-between;
}

.pd-level-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #00529A;
    transition: background 0.3s ease;
}

.pd-level--open .pd-level-indicator {
    background: #00A8AB;
}

.pd-level-icon {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.pd-level-name {
    font-size: 20px;
    font-weight: 700;
    color: #00293D;
}

.pd-level-content {
    padding: 0 0 20px 48px;
}

.pd-course-item {
    font-weight: 400;
    font-size: 16px;
    color: #00293D;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 41, 61, 0.1);
}

.pd-course-item:last-child {
    border-bottom: none;
}

.program-name {
    text-decoration: underline !important;
}

/* ===== Related Programs Section ===== */
.pd-related {
    padding: 60px 0;
    background: #F8FAFB;
}

.pd-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.pd-related-title {
    font-size: 32px;
    font-weight: 800;
    color: #00293D;
    line-height: 120%;
    margin: 0;
}

.pd-view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 246px;
    height: 56px;
    background: #FFFFFF;
    border: 1px solid #E0E3E6;
    border-radius: 100px;
    color: #00293D;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pd-view-all-btn:hover {
    background: #F0F2F4;
    color: #00293D;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .pd-hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .pd-hero-content {
        flex-direction: column-reverse;
        gap: 32px;
    }

    .pd-hero-text {
        align-items: center;
    }

    .pd-hero-title {
        font-size: 28px;
        text-align: center;
        max-width: 100%;
    }

    .pd-hero-desc {
        text-align: center;
        max-width: 100%;
    }

    .pd-hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .pd-hero-sidebar {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .pd-study-start {
        align-items: center;
    }

    .pd-related-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .pd-related-title {
        font-size: 24px;
    }

    .pd-view-all-btn {
        width: 100%;
    }

    .pd-content-card {
        padding: 24px 16px;
    }

    .pd-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pd-tab {
        padding: 10px 16px;
        font-size: 13px;
    }

    .pd-section-badge {
        font-size: 18px;
        padding: 6px 16px;
    }

    .pd-req-grid {
        flex-direction: column;
    }

    .pd-level-content {
        padding-left: 32px;
    }
}

@media (max-width: 576px) {
    .pd-hero-title {
        font-size: 24px;
    }

    .pd-sidebar-price {
        flex-direction: column;
        gap: 12px;
        align-items: flex-end;
    }

    .pd-btn-primary {
        width: 100%;
    }
}