/**
 * Kheda Arts and Commerce College - Academic Program Details Stylesheet
 * Prefix: .program-
 * Colors: Navy #01356F, Burgundy #792D43, Section Bg #F5E9EC, Charcoal #302B35, White #FFFFFF, Border #E2D5D9
 */

/* =========================================================================
   1. Section & Main Container
   ========================================================================= */
.program-details-section {
    background-color: #ffffff;
    padding-top: 55px;
    padding-bottom: 80px;
    min-height: 600px;
    color: #302B35;
}

.program-details-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================================================
   2. Main Program Content Card
   ========================================================================= */
.program-main-card {
    background: #ffffff;
    border: 1px solid #E2D5D9;
    box-shadow: 0 10px 30px rgba(1, 53, 111, 0.05);
    padding: 36px 32px;
    overflow: hidden;
}

/* Featured Image */
.program-image-wrapper {
    width: 100%;
    max-height: 440px;
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid #E2D5D9;
    background-color: #F5E9EC;
}

.program-image {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Header & Titles */
.program-header-block {
    margin-bottom: 22px;
}

.program-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #792D43;
    background-color: #F5E9EC;
    border: 1px solid #E2D5D9;
    padding: 5px 16px;
    margin-bottom: 12px;
}

.program-badge i {
    font-size: 14px;
}

.program-title {
    font-size: 30px;
    font-weight: 700;
    color: #01356F;
    line-height: 1.35;
    margin: 0;
}

/* Short Description Box */
.program-short-desc-box {
    background-color: #fcf9fa;
    border-left: 4px solid #792D43;
    border-top: 1px solid #E2D5D9;
    border-right: 1px solid #E2D5D9;
    border-bottom: 1px solid #E2D5D9;
    padding: 18px 22px;
    font-size: 15.5px;
    line-height: 1.7;
    color: #302B35;
    font-weight: 500;
    margin-bottom: 30px;
}

.program-short-desc-box p {
    margin: 0;
}

/* Long Description / Rich Text Area */
.program-long-desc {
    font-size: 15.5px;
    line-height: 1.8;
    color: #302B35;
}

.program-long-desc h2,
.program-long-desc h3,
.program-long-desc h4 {
    color: #01356F;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 14px;
    line-height: 1.4;
}

.program-long-desc h2 {
    font-size: 22px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F5E9EC;
}

.program-long-desc h3 {
    font-size: 19px;
}

.program-long-desc h4 {
    font-size: 17px;
}

.program-long-desc p {
    margin-bottom: 16px;
    color: #302B35;
}

.program-long-desc p:last-child {
    margin-bottom: 0;
}

.program-long-desc ul,
.program-long-desc ol {
    margin: 14px 0 20px 0;
    padding-left: 24px;
}

.program-long-desc li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #302B35;
}

.program-long-desc table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    font-size: 14.5px;
}

.program-long-desc table th,
.program-long-desc table td {
    padding: 12px 14px;
    border: 1px solid #E2D5D9;
}

.program-long-desc table th {
    background-color: #F5E9EC;
    color: #01356F;
    font-weight: 700;
}

/* =========================================================================
   3. Sidebar Cards
   ========================================================================= */
.program-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.program-sidebar-card {
    background: #ffffff;
    border: 1px solid #E2D5D9;
    padding: 26px 22px;
    box-shadow: 0 8px 24px rgba(1, 53, 111, 0.05);
}

.program-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #01356F;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid #f0e6e9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-sidebar-title i {
    color: #792D43;
    font-size: 20px;
}

/* Other Programs List */
.program-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.program-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #eedee3;
    background-color: #faf7f8;
    color: #302B35;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.program-nav-item:hover,
.program-nav-item:focus {
    background-color: #01356F;
    color: #ffffff;
    border-color: #01356F;
    transform: translateX(4px);
    text-decoration: none;
}

.program-nav-item i {
    font-size: 16px;
    color: #792D43;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.program-nav-item:hover i,
.program-nav-item:focus i {
    color: #ffffff;
    transform: translateX(3px);
}

/* Help Desk Box */
.program-help-card {
    background: linear-gradient(135deg, #01356F 0%, #792D43 100%);
    color: #ffffff;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(1, 53, 111, 0.18);
}

.program-help-title {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.program-help-desc {
    font-size: 13.5px;
    color: #f7ebee;
    line-height: 1.55;
    margin-bottom: 20px;
}

.program-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background-color: #ffffff;
    color: #01356F;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.program-help-btn:hover,
.program-help-btn:focus {
    background-color: #F5E9EC;
    color: #792D43;
    transform: translateY(-2px);
    text-decoration: none;
}

/* =========================================================================
   4. Empty / Not Found State
   ========================================================================= */
.program-empty-state {
    text-align: center;
    padding: 60px 24px;
    background: #ffffff;
    border: 1.5px dashed #E2D5D9;
    max-width: 600px;
    margin: 40px auto;
}

.program-empty-icon {
    font-size: 54px;
    color: #792D43;
    margin-bottom: 16px;
}

.program-empty-title {
    font-size: 24px;
    font-weight: 700;
    color: #01356F;
    margin-bottom: 8px;
}

.program-empty-desc {
    font-size: 15px;
    color: #635d68;
    line-height: 1.6;
    margin-bottom: 24px;
}

.program-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    background: #01356F;
    color: #ffffff;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.program-empty-btn:hover {
    background: #792D43;
    color: #ffffff;
    text-decoration: none;
}

/* =========================================================================
   5. Responsive Media Queries
   ========================================================================= */
@media (max-width: 991px) {
    .program-details-section {
        padding-top: 45px;
        padding-bottom: 60px;
    }

    .program-main-card {
        padding: 26px 22px;
        margin-bottom: 24px;
    }

    .program-title {
        font-size: 26px;
    }

    .program-image-wrapper {
        max-height: 350px;
    }
}

@media (max-width: 575px) {
    .program-details-section {
        padding-top: 35px;
        padding-bottom: 50px;
    }

    .program-main-card {
        padding: 20px 16px;
    }

    .program-title {
        font-size: 22px;
    }

    .program-short-desc-box {
        font-size: 14.5px;
        padding: 15px 16px;
    }

    .program-image-wrapper {
        max-height: 240px;
        margin-bottom: 20px;
    }

    .program-sidebar-card,
    .program-help-card {
        padding: 20px 16px;
    }
}