/* ===== PROGRAMS PAGE CSS START ===== */
/* File: /nsbrevamp/css/sections/programs.css */
/* Purpose: Styles for programs page and tabbed interface */
/* Dependencies: main.css, components/cards.css */
/* Last Updated: 2024-01-15 */

/* Tab colors - Using nsb prefix */
:root {
    --tab-standard: var(--nsb-primary);
    --tab-immersion: #2A5C8B;
    --tab-exchange: #1A7F64;
    --tab-height: 80px;
    --tab-indicator-height: 4px;
    --section-spacing: 80px;
    --mobile-section-spacing: 50px;
    --transition-normal: 0.3s ease;
}

/* ===== HERO SECTION ===== */
.programs-hero {
    background: linear-gradient(135deg, var(--nsb-primary) 0%, #2A5C8B 100%);
    color: var(--nsb-white);
    padding: var(--section-spacing) 0;
    text-align: center;
}

.programs-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.programs-hero-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.programs-hero-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ===== TAB NAVIGATION ===== */
.program-tabs-section {
    background: var(--nsb-white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.program-tabs-container {
    position: relative;
    padding: 0.5rem 0;
}

.program-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    background: transparent;
}

.program-tab {
    flex: 0 1 280px;
    height: var(--tab-height);
    background: var(--nsb-white);
    border: 2px solid var(--nsb-light);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

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

.program-tab.active {
    color: var(--nsb-white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: tabPulse 0.5s ease;
}

.tab-standard.active { 
    background: linear-gradient(135deg, var(--nsb-primary) 0%, #1a2b4d 100%);
}

.tab-immersion.active { 
    background: linear-gradient(135deg, var(--tab-immersion) 0%, #1d3d5c 100%);
}

.tab-exchange.active { 
    background: linear-gradient(135deg, var(--tab-exchange) 0%, #0f5c47 100%);
}

@keyframes tabPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.program-tab.active::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--nsb-white);
    border-radius: 50%;
    opacity: 0.7;
}

.program-tab:not(.active):hover .tab-icon {
    transform: scale(1.1);
    transition: transform var(--transition-normal);
}

.tab-icon {
    font-size: 1.4rem;
    display: block;
    line-height: 1;
}

.tab-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.tab-short {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    color: inherit;
    line-height: 1.1;
}

.program-tab.active .tab-short {
    opacity: 0.85;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    height: var(--tab-indicator-height);
    background: var(--nsb-accent);
    transition: all var(--transition-normal);
    border-radius: 2px 2px 0 0;
    box-shadow: 0 -2px 8px rgba(252, 163, 17, 0.3);
}

/* ===== PROGRAM CONTENT AREA ===== */
.program-content-area {
    padding-top: var(--spacing-lg);
}

.tab-content-area {
    width: 100%;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.duration-note {
    font-size: 0.9rem;
    color: var(--nsb-accent);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ===== PARTNER LOGOS GRID ===== */
.partner-logos-grid {
    margin-top: var(--spacing-xl);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.logo-item {
    background: var(--nsb-white);
    border-radius: 8px;
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform var(--transition-normal);
}

.logo-item:hover {
    transform: translateY(-3px);
}

.flag-placeholder {
    width: 60px;
    height: 40px;
    margin: 0 auto var(--spacing-sm);
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.college-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--nsb-primary);
}

.college-info span {
    font-size: 0.8rem;
    color: var(--nsb-text-secondary);
}

@media (max-width: 1024px) {
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logos-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PROGRAM HEADER ===== */
.program-header {
    text-align: center;
    padding: var(--section-spacing) 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.program-badge {
    display: inline-block;
    background: var(--nsb-primary);
    color: var(--nsb-white);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semi-bold);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.program-main-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--nsb-primary);
    margin-bottom: 0.5rem;
}

.program-tagline {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--nsb-text-secondary);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.program-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    background: var(--nsb-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
}

.meta-label {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nsb-text-secondary);
    margin-bottom: 0.25rem;
}

.meta-value {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nsb-primary);
}

.meta-value.price {
    color: var(--nsb-accent);
    font-size: 1.3rem;
}

.meta-note {
    font-size: 0.8rem;
    color: var(--nsb-text-light);
    margin-top: 0.25rem;
}

/* ===== FEE STRUCTURE SECTION ===== */
.fee-structure-section {
    max-width: 1200px;
    margin: 0 auto;
}

.fee-wrapper {
    background: var(--nsb-white);
    border-radius: 12px;
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: var(--spacing-lg);
}

.fee-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    border-left: 4px solid var(--nsb-accent);
}

.fee-total-display {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--nsb-primary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.fee-breakdown {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.breakdown-label {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--nsb-text-secondary);
    margin-bottom: 0.5rem;
}

.breakdown-value {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--nsb-accent);
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-secondary);
    margin-bottom: var(--spacing-lg);
}

.fee-table th {
    background: var(--nsb-primary);
    color: var(--nsb-white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.fee-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--nsb-light);
    vertical-align: middle;
}

.fee-table tr:nth-child(even) {
    background: #f8f9fa;
}

.fee-table tr:hover {
    background: #e9ecef;
}

.installment-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.installment-number {
    background: var(--nsb-accent);
    color: var(--nsb-white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.installment-label {
    font-weight: 500;
}

.installment-amount {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--nsb-primary);
    font-size: 1.1rem;
}

.installment-due {
    color: var(--nsb-text-secondary);
    font-size: 0.95rem;
}

.total-row {
    background: linear-gradient(135deg, var(--nsb-primary) 0%, #1a2b4d 100%) !important;
    color: var(--nsb-white);
}

.total-label {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: right;
    padding-right: 1rem !important;
}

.total-amount {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--nsb-white);
}

.fee-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: var(--spacing-md);
    margin-top: var(--spacing-lg);
    font-size: 0.95rem;
    color: #856404;
}

.fee-note p {
    margin: 0;
}

/* ===== PROGRAM DESCRIPTION ===== */
.program-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}

.program-description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--nsb-text-primary);
}

/* ===== HIGHLIGHTS & ELIGIBILITY GRIDS ===== */
.program-highlights,
.eligibility-section {
    max-width: 1200px;
    margin: 0 auto;
}

.highlights-grid,
.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-item,
.eligibility-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--nsb-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform var(--transition-normal);
}

.highlight-item:hover,
.eligibility-item:hover {
    transform: translateY(-3px);
}

.highlight-icon {
    color: var(--nsb-accent);
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 24px;
}

.eligibility-number {
    background: var(--nsb-accent);
    color: var(--nsb-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.highlight-text,
.eligibility-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== COMMON CONTENT AREA ===== */
.common-content-area {
    margin-top: var(--section-spacing);
   /* padding-top: var(--section-spacing);
    border-top: 2px solid var(--nsb-light); */
}

.common-content-area .section-header {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-xl);
}

.common-content-area .section-title {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.common-content-area .section-subtitle {
    text-align: center;
    color: var(--nsb-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== TABLES (CURRICULUM & SPECIALIZATIONS) ===== */
.curriculum-tables,
.specializations-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.curriculum-table-wrapper,
.specializations-section .table-responsive {
    width: 100%;
    max-width: 1000px;
}

.semester-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--nsb-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--nsb-accent);
    text-align: center;
}

.table-responsive {
    overflow-x: auto;
    margin: 1rem auto;
    max-width: 100%;
}

.curriculum-table,
.specializations-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    font-family: var(--font-secondary);
    margin: 0 auto;
}

.curriculum-table th,
.specializations-table th {
    background: var(--nsb-primary);
    color: var(--nsb-white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.curriculum-table td,
.specializations-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--nsb-light);
}

.specializations-table td {
    padding: 1.5rem;
    border: 1px solid var(--nsb-light);
    vertical-align: top;
}

.curriculum-table tr:nth-child(even),
.specializations-table tr:nth-child(even) {
    background: #f8f9fa;
}

.curriculum-table tr:hover,
.specializations-table tr:hover {
    background: #e9ecef;
}

.spec-name {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--nsb-primary);
    min-width: 150px;
}

.course-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.course-list li:last-child {
    border-bottom: none;
}

/* ===== PGPM CARDS ===== */
.pgpm-section .section-header {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-xl);
}

.pgpm-cards-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.pgpm-cards {
    display: grid;
    gap: 1.5rem;
    justify-content: center;
}

.pgpm-card {
    background: var(--nsb-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform var(--transition-normal);
    width: 100%;
}

.pgpm-card:hover {
    transform: translateY(-5px);
}

.pgpm-card-header {
    background: var(--nsb-primary);
    color: var(--nsb-white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pgpm-card-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.pgpm-card-badge {
    background: var(--nsb-accent);
    color: var(--nsb-white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pgpm-card-content {
    padding: 1.5rem;
}

.pgpm-modules,
.pgpm-activities {
    margin-bottom: 1.5rem;
}

.pgpm-modules h4,
.pgpm-activities h4 {
    font-family: var(--font-primary);
    color: var(--nsb-primary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.pgpm-modules ul,
.pgpm-activities ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pgpm-modules li,
.pgpm-activities li {
    padding: 0.375rem 0;
    padding-left: 1rem;
    position: relative;
}

.pgpm-modules li::before {
    content: "•";
    color: var(--nsb-accent);
    position: absolute;
    left: 0;
}

/* ===== ACCREDITATIONS ===== */
.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 2rem auto;
}

.accreditation-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--nsb-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.accreditation-item:hover {
    transform: translateY(-5px);
}

/* NO PADDING VERSION - Logo touches the border */
.accreditation-logo {
    width: 100%;
    height: 160px;
    margin: 0 auto 1.5rem;
    background: var(--nsb-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* NO padding */
    border: 1px solid var(--nsb-light);
    overflow: hidden; /* Hide anything that goes outside */
}


/* Logo fills container completely */
.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* OR use 'cover' if you want to fill completely */
    object-position: center; /* Center the logo */
}

.accreditation-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--nsb-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.accreditation-desc {
    font-size: 0.95rem;
    color: var(--nsb-text-secondary);
    line-height: 1.5;
}

/* ===== VIDEOS SECTION ===== */
.program-videos {
    max-width: 1200px;
    margin: 0 auto;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.video-item {
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    aspect-ratio: 16/9;
    background: var(--nsb-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nsb-primary), var(--tab-immersion));
    color: var(--nsb-white);
}

.play-icon {
    font-size: 2.5rem;
    opacity: 0.8;
    transition: transform var(--transition-normal);
}

.video-item:hover .play-icon {
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: var(--nsb-white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.video-title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    padding: 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.8em;
}

.youtube-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    background: #000;
}

.youtube-embed-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.youtube-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(2px);
}

.thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== TESTIMONIALS ===== */
.program-testimonials {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonials-carousel {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
}

.testimonial-slide {
    min-width: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.testimonial-content {
    background: var(--nsb-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-quote {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--nsb-text-primary);
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--nsb-accent);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info {
    flex: 1;
}

.author-name {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nsb-primary);
    margin-bottom: 0.25rem;
}

.author-details {
    font-size: 0.9rem;
    color: var(--nsb-text-secondary);
    line-height: 1.4;
}

.author-rating {
    color: var(--nsb-accent);
    font-size: 1.2rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-prev,
.carousel-next {
    background: var(--nsb-primary);
    color: var(--nsb-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-normal);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--nsb-accent);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--nsb-light);
    cursor: pointer;
    padding: 0;
}

.carousel-dots button.active {
    background: var(--nsb-accent);
}

/* ===== CTA SECTION ===== */
.program-cta {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    max-width: 1200px;
    margin: 0 auto;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content {
    margin-bottom: 2rem;
}

.cta-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--nsb-primary);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--nsb-text-secondary);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--nsb-accent);
    color: var(--nsb-white);
}

.btn-primary:hover {
    background: #e59400;
}

.btn-secondary {
    background: var(--nsb-primary);
    color: var(--nsb-white);
}

.btn-secondary:hover {
    background: #0f1a2e;
}

.btn-outline {
    background: transparent;
    color: var(--nsb-primary);
    border: 2px solid var(--nsb-primary);
}

.btn-outline:hover {
    background: var(--nsb-primary);
    color: var(--nsb-white);
}

/* ===== SECTION UTILITIES ===== */
.section-spacing {
    padding: var(--section-spacing) 0;
}

.section-light {
    background-color: var(--nsb-light);
}

.section-white {
    background-color: var(--nsb-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--nsb-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--nsb-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== PGPM HIGHLIGHTS ===== */
.pgpm-highlights {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--section-spacing) 0;
}

.pgpm-highlights .section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.pgpm-highlights .section-title {
    font-size: 2rem;
    color: var(--nsb-primary);
    margin-bottom: var(--spacing-sm);
}

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

.pgpm-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--nsb-light) 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pgpm-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--nsb-white);
    border-radius: 8px;
    border-left: 4px solid var(--nsb-accent);
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    animation: fadeInUp 0.5s ease forwards;
}

.pgpm-highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(252, 163, 17, 0.1);
    border-left-color: var(--nsb-primary);
}

.pgpm-highlight-icon {
    color: var(--nsb-accent);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    min-width: 24px;
    text-align: center;
    transition: transform var(--transition-normal);
}

.pgpm-highlight-item:hover .pgpm-highlight-icon {
    transform: scale(1.2);
    color: var(--nsb-primary);
}

.pgpm-highlight-text {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--nsb-text-primary);
    margin: 0;
}

.pgpm-highlight-item.feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--nsb-white);
    border-radius: 12px;
    border-left: 4px solid var(--tab-exchange);
    box-shadow: 0 4px 15px rgba(26, 127, 100, 0.08);
}

.feature-content {
    width: 100%;
}

.feature-title {
    color: var(--tab-exchange);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semi-bold);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.feature-description {
    color: var(--nsb-text-secondary);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* ===== PROGRAM SPECIFIC DETAILS ===== */
.program-specific-details {
    margin-top: var(--section-spacing);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: var(--spacing-xl) 0;
    animation: slideInUp 0.6s ease-out;
}

.program-specific-details .section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.program-specific-details .section-title {
    color: var(--tab-immersion);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.program-specific-details .section-subtitle {
    color: var(--nsb-text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Details Grid for Immersion */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.details-column {
    height: 100%;
}

.details-card {
    background: var(--nsb-white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border-top: 4px solid var(--tab-immersion);
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.details-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(42, 92, 139, 0.12);
}

.details-card-header {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(42, 92, 139, 0.1);
}

.details-card-title {
    color: var(--tab-immersion);
    font-size: 1.3rem;
    font-weight: var(--font-weight-semi-bold);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: 0;
}

.details-card-title i {
    font-size: 1.2rem;
    width: 24px;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--nsb-text-secondary);
    line-height: 1.5;
}

.details-list li:last-child {
    border-bottom: none;
}

.details-list li i {
    color: var(--tab-immersion);
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.details-description {
    color: var(--nsb-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== EXCHANGE PROGRAM STYLES ===== */
.exchange-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.exchange-feature {
    background: var(--nsb-white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 15px rgba(26, 127, 100, 0.08);
    border-top: 4px solid var(--tab-exchange);
    transition: transform var(--transition-normal);
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.exchange-feature:hover {
    transform: translateY(-3px);
}

.exchange-feature h4 {
    color: var(--tab-exchange);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semi-bold);
}

.exchange-feature p {
    color: var(--nsb-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Exchange-specific overrides */
.details-card[style*="exchange"],
.exchange-feature {
    border-top-color: var(--tab-exchange);
}

.details-card[style*="exchange"] .details-card-title,
.exchange-feature h4 {
    color: var(--tab-exchange);
}

.details-list[style*="exchange"] li i {
    color: var(--tab-exchange);
}

/* ===== COLLEGE LIST ===== */
.college-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: var(--spacing-lg) auto 0;
    padding: 0 var(--spacing-md);
}

.college-item {
    background: var(--nsb-white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--tab-exchange);
    transition: all var(--transition-normal);
    animation: fadeInUp 0.5s ease forwards;
}

.college-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 127, 100, 0.12);
    border-left-color: var(--nsb-accent);
}

.college-content {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.college-content i {
    color: var(--tab-exchange);
    font-size: 1.5rem;
    margin-top: 4px;
    flex-shrink: 0;
    transition: color var(--transition-normal);
}

.college-item:hover .college-content i {
    color: var(--nsb-accent);
}

.college-details {
    flex: 1;
}

.college-name {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semi-bold);
    color: var(--nsb-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.college-country {
    display: inline-block;
    background: linear-gradient(135deg, var(--tab-exchange) 0%, #2d9c82 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Animation delays for staggered animations */
.pgpm-highlight-item:nth-child(1),
.details-card:nth-child(1),
.exchange-feature:nth-child(1),
.college-item:nth-child(1) { animation-delay: 0.1s; }
.pgpm-highlight-item:nth-child(2),
.details-card:nth-child(2),
.exchange-feature:nth-child(2),
.college-item:nth-child(2) { animation-delay: 0.2s; }
.pgpm-highlight-item:nth-child(3),
.exchange-feature:nth-child(3),
.college-item:nth-child(3) { animation-delay: 0.3s; }
.pgpm-highlight-item:nth-child(4),
.exchange-feature:nth-child(4),
.college-item:nth-child(4) { animation-delay: 0.4s; }
.pgpm-highlight-item:nth-child(5),
.college-item:nth-child(5) { animation-delay: 0.5s; }
.pgpm-highlight-item:nth-child(6),
.college-item:nth-child(6) { animation-delay: 0.6s; }
.college-item:nth-child(7) { animation-delay: 0.7s; }
.college-item:nth-child(8) { animation-delay: 0.8s; }
.college-item:nth-child(9) { animation-delay: 0.9s; }
.college-item:nth-child(10) { animation-delay: 1.0s; }
.college-item:nth-child(11) { animation-delay: 1.1s; }
.college-item:nth-child(12) { animation-delay: 1.2s; }
.college-item:nth-child(13) { animation-delay: 1.3s; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .programs-hero-title,
    .program-main-title {
        font-size: 2.2rem;
    }
    .program-meta {
        gap: 1.5rem;
    }
    .videos-grid,
    .videos-grid.compact {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        max-width: 800px;
    }
    .program-tab {
        flex: 0 1 240px;
        padding: 0.6rem 1rem;
    }
    .tab-title {
        font-size: 0.9rem;
    }
    .fee-total-display {
        font-size: 1.6rem;
    }
    .college-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .common-content-area {
        margin-top: var(--mobile-section-spacing);
    }
    .programs-hero {
        padding: 3rem 0;
    }
    .programs-hero-title {
        font-size: 1.8rem;
    }
    .program-main-title {
        font-size: 1.6rem;
    }
    .program-meta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .meta-item {
        min-width: auto;
    }
    .curriculum-table,
    .specializations-table {
        min-width: 600px;
    }
    .highlights-grid,
    .eligibility-grid,
    .accreditations-grid,
    .videos-grid,
    .pgpm-cards,
    .pgpm-highlights-grid,
    .pgpm-highlights-grid.center-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-buttons .btn,
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    .specializations-table td {
        padding: 1rem;
    }
    .program-specific-details {
        padding: var(--spacing-lg) 0;
        margin-top: var(--spacing-lg);
    }
    .details-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    .exchange-features {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    .details-card {
        padding: var(--spacing-md);
    }
    .details-card-title {
        font-size: 1.2rem;
    }
    .program-tabs {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    .program-tab {
        flex: 1;
        min-width: 150px;
        padding: 0.6rem 0.75rem;
        height: auto;
        min-height: 60px;
    }
    .tab-icon {
        font-size: 1.2rem;
    }
    .tab-title {
        font-size: 0.85rem;
    }
    .tab-short {
        display: none;
    }
    .video-thumbnail {
        aspect-ratio: 16/9;
    }
    .play-icon {
        font-size: 2rem;
    }
    .fee-wrapper {
        padding: var(--spacing-lg);
    }
    .fee-summary {
        padding: var(--spacing-md);
    }
    .fee-total-display {
        font-size: 1.4rem;
    }
    .fee-breakdown {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }
    .breakdown-item {
        width: 100%;
        max-width: 250px;
    }
    .fee-table th,
    .fee-table td {
        padding: 0.75rem;
    }
    .installment-name {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .college-list {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .college-item {
        padding: var(--spacing-md);
    }
    .college-content {
        gap: var(--spacing-sm);
    }
    .college-name {
        font-size: 1rem;
    }
    .pgpm-cards {
        max-width: 500px;
    }
    .pgpm-highlight-item,
    .pgpm-highlight-item.feature-item {
        padding: var(--spacing-sm);
    }
    .pgpm-highlights .section-title {
        font-size: 1.75rem;
    }
    .pgpm-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .fee-wrapper {
        padding: var(--spacing-md);
    }
    .fee-total-display {
        font-size: 1.3rem;
    }
    .installment-amount {
        font-size: 1rem;
    }
    .total-amount {
        font-size: 1.1rem;
    }
    .college-list {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .programs-hero-title {
        font-size: 1.5rem;
    }
    .programs-hero-subtitle {
        font-size: 1rem;
    }
    .program-main-title {
        font-size: 1.4rem;
    }
    .testimonial-slide {
        padding: 1rem;
    }
    .testimonial-content {
        padding: 1.5rem;
    }
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .program-specific-details .section-title {
        font-size: 1.5rem;
    }
    .program-specific-details .section-subtitle {
        font-size: 1rem;
    }
    .details-list li {
        font-size: 0.95rem;
        padding: 0.75rem 0;
    }
    .program-tab {
        flex: 1 0 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
        margin-bottom: 0.5rem;
    }
    .tab-title {
        font-size: 0.8rem;
    }
    .video-title {
        font-size: 0.95rem;
    }
    .fee-table {
        font-size: 0.9rem;
    }
    .fee-table th,
    .fee-table td {
        padding: 0.5rem;
    }
    .fee-total-display {
        font-size: 1.2rem;
    }
    .college-name {
        font-size: 0.95rem;
    }
    .college-country {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .pgpm-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 0 auto;
    }
    .college-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .pgpm-cards {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
    .college-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .program-tabs-section,
    .program-cta,
    .carousel-controls {
        display: none;
    }
    .tab-content {
        display: block !important;
        page-break-before: always;
    }
    .programs-hero {
        background: none;
        color: #000;
    }
    .curriculum-table,
    .specializations-table,
    .fee-table {
        page-break-inside: avoid;
    }
    .fee-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ===== PROGRAMS PAGE CSS END ===== */