/* ===== PROGRAMS OFFERED PAGE STYLES ===== */
/* File: /css/sections/programs/programs-offered.css */
/* Purpose: Standalone programs offered page with hero and 2×2 grid */
/* Last Updated: [CURRENT_DATE] */

/* ===== PAGE WRAPPER ===== */
.programs-offered-page {
    min-height: 100vh;
}

/* ===== HERO SECTION ===== */
.programs-hero-section {
    background: linear-gradient(135deg, var(--nsb-primary) 0%, #14213d 100%);
    color: var(--nsb-white);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.programs-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    pointer-events: none;
}

.programs-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.programs-hero-title {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.programs-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Hero CTA Button */
.hero-cta-btn {
    display: inline-block;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    color: var(--nsb-white);
    background-color: var(--nsb-accent);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--nsb-accent);
}

.hero-cta-btn:hover {
    background-color: transparent;
    color: var(--nsb-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 163, 17, 0.3);
}

/* ===== MAIN PROGRAMS SECTION ===== */
.programs-main-section {
    padding: 5rem 0;
    background-color: var(--nsb-light);
}

/* Section Header */
.programs-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.programs-section-title {
    font-size: 2.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--nsb-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.programs-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--nsb-accent);
    border-radius: 2px;
}

.programs-section-subtitle {
    font-size: 1.1rem;
    color: var(--nsb-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== PROGRAMS GRID ===== */
.programs-offered-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== PROGRAM CARD ===== */
.program-offered-card {
    background: var(--nsb-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.program-offered-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(252, 163, 17, 0.2);
}

/* Program Image */
.program-offered-image {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.program-offered-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-offered-card:hover .program-offered-img {
    transform: scale(1.05);
}

.program-offered-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 33, 61, 0.3) 0%, rgba(252, 163, 17, 0.1) 100%);
}

/* Degree Badge */
.degree-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--nsb-primary);
    color: var(--nsb-white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    z-index: 2;
}

/* Program Content */
.program-offered-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Program Header */
.program-offered-header {
    margin-bottom: 1rem;
}

.program-offered-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--nsb-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.program-offered-subtitle {
    font-size: 1rem;
    color: var(--nsb-text-secondary);
    font-weight: var(--font-weight-medium);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.program-offered-description {
    font-size: 0.875rem;
    color: var(--nsb-accent);
    font-weight: var(--font-weight-medium);
    margin-bottom: 1rem;
}

/* Duration Info */
.program-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--nsb-text-secondary);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--nsb-light);
}

.program-duration i {
    color: var(--nsb-accent);
}

/* Program Variants */
.program-offered-variants {
    margin-bottom: 1rem;
    flex: 1;
}

.program-offered-variant {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.program-offered-variant:last-child {
    border-bottom: none;
}

.variant-offered-name {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--nsb-text-primary);
    flex: 1;
    line-height: 1.3;
}

.variant-offered-know-more {
    font-size: 0.75rem;
    color: var(--nsb-accent);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.variant-offered-know-more:hover {
    color: var(--nsb-primary);
    text-decoration: underline;
}

/* Program Features */
.program-offered-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.program-offered-feature {
    background: rgba(20, 33, 61, 0.05);
    color: var(--nsb-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: var(--font-weight-medium);
    border: 1px solid rgba(20, 33, 61, 0.1);
    line-height: 1;
    white-space: nowrap;
}

/* Program CTA */
.program-offered-cta {
    margin-top: auto;
}

.program-offered-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--nsb-white);
    background-color: var(--nsb-primary);
    border: 1px solid var(--nsb-primary);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.program-offered-btn:hover {
    background-color: var(--nsb-accent);
    border-color: var(--nsb-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 163, 17, 0.3);
}

/* ===== ADDITIONAL INFO SECTION ===== */
.programs-additional-info {
    padding: 4rem 0;
    background-color: var(--nsb-white);
}

.info-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--nsb-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.info-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.info-point {
    background: var(--nsb-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--nsb-accent);
}

.info-point i {
    color: var(--nsb-accent);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.info-point p {
    font-size: 0.9375rem;
    color: var(--nsb-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ===== RESPONSIVE STYLES ===== */

/* Tablet */
@media (max-width: 1024px) {
    .programs-hero-section {
        padding: 5rem 0 3rem;
    }
    
    .programs-hero-title {
        font-size: 2.5rem;
    }
    
    .programs-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .programs-main-section {
        padding: 4rem 0;
    }
    
    .programs-section-title {
        font-size: 2rem;
    }
    
    .programs-offered-grid {
        gap: 1.5rem;
    }
    
    .program-offered-card {
        min-height: 380px;
    }
    
    .program-offered-image {
        height: 140px;
    }
    
    .info-points-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .programs-hero-section {
        padding: 4rem 0 2.5rem;
    }
    
    .programs-hero-title {
        font-size: 2rem;
    }
    
    .programs-hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .programs-main-section {
        padding: 3rem 0;
    }
    
    .programs-section-title {
        font-size: 1.75rem;
    }
    
    .programs-section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Switch to 1-column grid on mobile */
    .programs-offered-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 1.5rem;
    }
    
    .program-offered-card {
        min-height: 380px;
    }
    
    .program-offered-image {
        height: 150px;
    }
    
    .program-offered-content {
        padding: 1.25rem;
    }
    
    .program-offered-title {
        font-size: 1.35rem;
    }
    
    .program-offered-subtitle {
        font-size: 0.9375rem;
    }
    
    .info-points-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 1rem;
    }
    
    .info-title {
        font-size: 1.75rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .programs-hero-title {
        font-size: 1.75rem;
    }
    
    .programs-hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .programs-offered-grid {
        max-width: 100%;
        gap: 1.25rem;
    }
    
    .program-offered-card {
        min-height: 360px;
    }
    
    .program-offered-image {
        height: 130px;
    }
    
    .program-offered-title {
        font-size: 1.25rem;
    }
    
    .program-offered-subtitle {
        font-size: 0.875rem;
    }
    
    .program-offered-description {
        font-size: 0.8125rem;
    }
    
    .variant-offered-name {
        font-size: 0.8125rem;
    }
    
    .program-offered-btn {
        padding: 0.625rem;
        font-size: 0.8125rem;
    }
}