/* Program Page Styles */

/* Top Bar Styling for Program Pages */
.top-bar {
    background: #1e3a8a;
    color: white;
    padding: 12px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-info span {
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: rgba(16, 185, 129, 0.9);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.portal-buttons {
    display: flex;
    gap: 12px;
}

.portal-btn {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.portal-btn:hover {
    background: #10b981;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Program Hero Section */
.program-hero {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(37, 99, 235, 0.9)), 
                url('../images/sliders/g.jpg') center/cover;
    padding: 100px 50px;
    color: white;
    text-align: center;
}

.program-hero-overlay {
    max-width: 1200px;
    margin: 0 auto;
}

.program-category {
    display: inline-block;
    background: rgba(16, 185, 129, 0.9);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.program-tagline {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.program-quick-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.quick-info-item .icon {
    font-size: 1.5em;
}

/* Program Tabs */
.program-tabs {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-link {
    padding: 18px 30px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-link:hover,
.tab-link.active {
    color: #1e3a8a;
    border-bottom-color: #10b981;
    background: #f9f9f9;
}

/* Program Content Layout */
.program-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 50px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.program-main-content {
    min-width: 0;
}

/* Content Sections */
.content-section {
    margin-bottom: 80px;
    scroll-margin-top: 80px;
}

.content-section h2 {
    font-size: 2.5em;
    color: #1e3a8a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #10b981;
}

.intro-text {
    font-size: 1.15em;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 30px;
}

.section-intro {
    font-size: 1.1em;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.7;
}

.content-section h3 {
    font-size: 1.8em;
    color: #1e3a8a;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #10b981;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15);
}

.feature-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 1.3em;
    color: #1e3a8a;
    margin: 0 0 10px 0;
}

.feature-box p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Learning Outcomes */
.learning-outcomes {
    background: #f9f9f9;
    padding: 30px 40px;
    border-radius: 12px;
    border-left: 5px solid #10b981;
}

.learning-outcomes li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #4b5563;
    font-size: 1.05em;
}

/* Curriculum */
.curriculum-level {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.curriculum-level h3 {
    color: #1e3a8a;
    font-size: 1.6em;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.course-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

.course-item strong {
    display: block;
    color: #1e3a8a;
    font-size: 1.1em;
    margin-bottom: 8px;
}

.course-item p {
    color: #6b7280;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Career Grid */
.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.career-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #10b981;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15);
}

.career-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.career-card h3 {
    color: #1e3a8a;
    font-size: 1.4em;
    margin: 0 0 12px 0;
}

.career-card p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 15px;
}

.career-setting {
    display: inline-block;
    background: #e0f2fe;
    color: #1e3a8a;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

/* Salary Info */
.salary-info {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
    border: 2px solid #bae6fd;
}

.salary-info h3 {
    color: #1e3a8a;
    margin: 0 0 25px 0;
    font-size: 1.8em;
}

.salary-range {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.salary-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.salary-item strong {
    color: #1e3a8a;
    font-size: 1.1em;
}

.salary-item span:last-child {
    color: #10b981;
    font-weight: 700;
    font-size: 1.1em;
}

.salary-note {
    color: #6b7280;
    font-size: 0.9em;
    font-style: italic;
    margin: 0;
}

/* Requirements */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.requirement-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #1e3a8a;
}

.requirement-card h3 {
    color: #1e3a8a;
    margin: 0 0 20px 0;
    font-size: 1.5em;
}

.requirement-card ul {
    list-style: none;
    padding: 0;
}

.requirement-card > ul > li {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #4b5563;
}

.nested-list {
    margin-top: 10px;
    margin-left: 20px;
}

.nested-list li {
    color: #6b7280;
    margin-bottom: 8px;
}

/* Application Documents */
.application-documents {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
}

.application-documents h3 {
    color: #1e3a8a;
    margin: 0 0 25px 0;
}

.documents-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.doc-item {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    color: #4b5563;
    border-left: 4px solid #10b981;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 {
    color: white;
    font-size: 2em;
    margin: 0 0 15px 0;
}

.cta-box p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Fees Grid */
.fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.fee-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.fee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15);
}

.fee-card.featured {
    border-color: #10b981;
    border-width: 3px;
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85em;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.fee-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.fee-header h3 {
    color: #1e3a8a;
    margin: 0;
    font-size: 1.4em;
}

.duration-badge {
    background: #e0f2fe;
    color: #1e3a8a;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.fee-amount {
    text-align: center;
    margin-bottom: 25px;
}

.fee-amount .amount {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1;
}

.fee-amount .period {
    display: block;
    color: #6b7280;
    font-size: 1em;
    margin-top: 8px;
}

.fee-includes {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.fee-includes li {
    padding: 10px 0;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.total-cost {
    background: #f0f9ff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    color: #1e3a8a;
    font-size: 1.1em;
}

/* Additional Costs */
.additional-costs {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
}

.additional-costs h3 {
    color: #1e3a8a;
    margin: 0 0 25px 0;
}

.cost-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cost-row {
    display: flex;
    justify-content: space-between;
    padding: 18px 25px;
    border-bottom: 1px solid #e5e7eb;
}

.cost-row:last-child {
    border-bottom: none;
}

.cost-row span:first-child {
    color: #4b5563;
    font-weight: 500;
}

.cost-row span:last-child {
    color: #1e3a8a;
    font-weight: 700;
}

/* Payment Options */
.payment-options {
    margin: 40px 0;
}

.payment-options h3 {
    color: #1e3a8a;
    margin-bottom: 30px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.payment-method {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #10b981;
}

.payment-method h4 {
    color: #1e3a8a;
    font-size: 1.3em;
    margin: 0 0 15px 0;
}

.payment-method p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 10px;
}

.payment-method ul {
    margin: 15px 0 0 20px;
    color: #4b5563;
}

.payment-method ul li {
    margin-bottom: 8px;
}

/* Info Box */
.info-box {
    background: #fef3c7;
    border: 2px solid #fbbf24;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
}

.info-box h4 {
    color: #92400e;
    margin: 0 0 20px 0;
    font-size: 1.3em;
}

.info-box ul {
    margin: 0;
    padding-left: 25px;
    color: #78350f;
}

.info-box li {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Sidebar */
.program-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.sidebar-card h3 {
    color: #1e3a8a;
    font-size: 1.3em;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.sidebar-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 12px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #f3f4f6;
    color: #1e3a8a;
    border: 2px solid transparent;
}

.sidebar-btn:hover {
    background: #e5e7eb;
    transform: translateX(5px);
}

.sidebar-btn.primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.sidebar-btn.primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    color: #6b7280;
    font-weight: 500;
}

.detail-row .value {
    color: #1e3a8a;
    font-weight: 700;
}

.sidebar-card p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 10px;
}

.related-program {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    text-decoration: none;
    color: #1e3a8a;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid #10b981;
}

.related-program:hover {
    background: #e0f2fe;
    transform: translateX(5px);
}

.related-program span:first-child {
    font-size: 2em;
}

.related-program span:last-child {
    font-weight: 600;
}

/* Buttons */
.btn-primary-large {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary-large:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .program-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .program-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    /* Top Bar Responsive */
    .top-bar {
        padding: 12px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-info {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-info span {
        font-size: 0.85em;
    }
    
    .top-right {
        gap: 20px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 1em;
    }
    
    .portal-btn {
        padding: 7px 16px;
        font-size: 0.85em;
    }
    
    /* Hero Section Responsive */
    .program-hero {
        padding: 60px 20px;
    }
    
    .program-hero-content h1 {
        font-size: 2.5em;
    }
    
    .program-tagline {
        font-size: 1.1em;
    }
    
    .program-quick-info {
        gap: 15px;
    }
    
    .quick-info-item {
        font-size: 0.95em;
        padding: 10px 18px;
    }
    
    .tabs-container {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-link {
        padding: 15px 20px;
        white-space: nowrap;
    }
    
    .program-content-wrapper {
        padding: 40px 20px;
    }
    
    .content-section h2 {
        font-size: 2em;
    }
    
    .feature-grid,
    .career-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .fees-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .sidebar-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    /* Top Bar Extra Small */
    .top-bar {
        padding: 10px 15px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .contact-info span {
        font-size: 0.8em;
    }
    
    .top-right {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .portal-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .portal-btn {
        flex: 1;
        text-align: center;
    }
    
    /* Hero Section */
    .program-hero-content h1 {
        font-size: 2em;
    }
    
    .program-tagline {
        font-size: 1em;
    }
    
    .quick-info-item {
        font-size: 0.85em;
        padding: 8px 15px;
    }
    
    .content-section h2 {
        font-size: 1.7em;
    }
    
    .content-section h3 {
        font-size: 1.4em;
    }
    
    .fee-amount .amount {
        font-size: 2em;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    .cta-box h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    /* Top Bar Mobile */
    .top-bar {
        padding: 8px 10px;
    }
    
    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 0.9em;
    }
    
    .portal-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }
    
    /* Hero Section */
    .program-hero {
        padding: 40px 15px;
    }
    
    .program-hero-content h1 {
        font-size: 1.7em;
    }
    
    .program-content-wrapper {
        padding: 30px 15px;
    }
    
    .tab-link {
        padding: 12px 15px;
        font-size: 0.9em;
    }
}
