/* Program Header Styles */
.program-header {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #004182 100%);
    border-radius: 12px;
    color: var(--white);
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 45, 88, 0.1);
    position: relative;
    overflow: hidden;
}

.program-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-color: rgba(243, 178, 0, 0.1);
    border-radius: 50%;
    transform: translate(40px, -40px);
}

.program-breadcrumb {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.program-breadcrumb i {
    margin: 0 6px;
    font-size: 11px;
}

.program-title {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.program-subtitle {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.program-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.badge {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 6px 15px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-accent {
    background-color: var(--accent);
    color: var(--primary);
}

/* Compact Program Info Cards */
/* .program-info-cards {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    justify-content: center;
}
    */
.info-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 18px 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    min-height: 80px;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.info-card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, #004182 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-card-icon i {
    font-size: 18px;
    color: white;
}

.info-card-content h3 {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 4px;
    font-weight: 500;
}

.info-card-content p {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.3;
}

/* Compact Quick Links Section */
.quick-links {
    background-color: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.links-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 45, 88, 0.1);
}

.links-title i {
    color: var(--accent);
    font-size: 16px;
}

.links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: #f9fbfd;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-text);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    min-height: 80px;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 45, 88, 0.1);
    border-color: var(--accent);
    background-color: white;
}

.link-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #004182 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.link-icon i {
    font-size: 20px;
    color: white;
}

.link-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.link-content p {
    margin-bottom: 0;
    font-size: 13px;
    color: var(--light-text);
    line-height: 1.4;
}

/* Accordion Styles - Pure CSS */
.accordion-wrap {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.accordion-content {
    padding: 0;
}

.ct {
    border-bottom: 1px solid var(--border);
}

.ct:last-child {
    border-bottom: none;
}

/* Hide checkbox visually but keep it accessible */
.accordion-input {
    display: none;
}

.item-header {
    padding: 18px 25px;
    background-color: var(--white);
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.item-header:hover {
    background-color: #f5f9ff;
}

.item-header i.fa-chevron-right {
    transition: transform 0.3s ease;
    font-size: 14px;
    color: var(--accent);
    margin-right: 10px;
}

.item-header .header-icon {
    color: var(--accent);
    font-size: 16px;
}

.cd {
    padding: 0 25px;
    background-color: #fafcfd;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

/* Accordion functionality with :checked pseudo-class */
.accordion-input:checked + .item-header {
    background-color: #f0f7ff;
    /* border-left: 4px solid var(--accent); */
}

.accordion-input:checked + .item-header i.fa-chevron-right {
    transform: rotate(90deg);
}

.accordion-input:checked ~ .cd {
    padding: 20px 25px;
    opacity: 1;
    max-height: 5000px; /* Large enough to accommodate content */
}

/* Content inside accordion */
.cd p, .cd div {
    color: var(--dark-text);
    line-height: 1.6;
    font-size: 15px;
    /* margin-bottom: 14px; */
}

.cd div:last-child {
    margin-bottom: 0;
}

.cd strong {
    font-size: large;
    color: var(--primary);
    font-weight: 600;
    display: block;
    /* margin-top: 15px; */
}

.cd strong:first-of-type {
    margin-top: 0;
}

.cd a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    background-color: rgba(0, 45, 88, 0.05);
    border-radius: 6px;
    transition: all 0.2s;
    margin-right: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 45, 88, 0.1);
    font-size: 14px;
}

.cd a:hover {
    background-color: rgba(0, 45, 88, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 45, 88, 0.1);
}

.cd a img {
    width: 18px;
    height: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .program-title {
        font-size: 22px;
    }
    
    .program-subtitle {
        font-size: 14px;
    }
    
    /* .program-info-cards {
        display: none;
    } */
    
    .info-card {
        padding: 15px 12px;
        min-height: 70px;
    }
    
    .info-card-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
    }
    
    .info-card-icon i {
        font-size: 16px;
    }
    
    .info-card-content h3 {
        font-size: 13px;
    }
    
    .info-card-content p {
        font-size: 14px;
    }
    
    .links-container {
        grid-template-columns: 1fr;
    }
    
    .link-card {
        padding: 14px;
        min-height: 70px;
    }
    
    .link-icon {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .link-icon i {
        font-size: 18px;
    }
    
    .link-content h4 {
        font-size: 15px;
    }
    
    .item-header {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .cd, .accordion-input:checked ~ .cd {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    /* .program-info-cards {
        grid-template-columns: 1fr;
    } */
    
    .program-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Footer note */
.footer-note {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    color: var(--light-text);
    font-size: 13px;
    line-height: 1.5;
}

.footer-note i {
    margin-right: 6px;
    color: var(--accent);
}

/* for sharepoint */
.page-content{
    padding: 0 0.7rem;
}

@media (max-width: 576px) {
    .page-content{
        padding: 0;
    }
}