/* Programs Page Styles */

:root {
    --primary-color: #1512d3;
    --secondary-color: #d8861c;
    --accent-color: #e67e22;
    --success-color: #27ae60;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-color: #95a5a6;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Base Styles */
body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Source Serif Pro', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background: #8e44ad;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Page Header */
.page-header {
    background: #03224d;
    padding: 80px 0;
    text-align: center;
}

.page-header-content h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
}

.page-header-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
    max-width: 600px;
    margin: 0 auto 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    color: rgba(255, 255, 255, 0.65);
}

.breadcrumb span {
    color: var(--white);
    font-weight: 600;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Programs */
.main-programs {
    padding: 80px 0;
    background: var(--light-color);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.program-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.incubation-card {
    border-top: 5px solid var(--primary-color);
}

.sweep-card {
    border-top: 5px solid var(--secondary-color);
}

.program-header {
    padding: 30px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
    text-align: center;
    position: relative;
}

.sweep-card .program-header {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(155, 89, 182, 0.05));
}

.program-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--success-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.program-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.sweep-card .program-icon {
    color: var(--secondary-color);
}

.program-header h3 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.program-tagline {
    color: var(--gray-color);
    font-size: 16px;
    margin: 0;
}

.program-body {
    padding: 30px;
}

.program-description {
    color: var(--dark-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.program-features h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.program-features ul {
    list-style: none;
    margin-bottom: 25px;
}

.program-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--dark-color);
}

.program-features li i {
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.program-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
}

.detail {
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail i {
    font-size: 24px;
    color: var(--primary-color);
}

.sweep-card .detail i {
    color: var(--secondary-color);
}

.detail-label {
    display: block;
    font-size: 12px;
    color: var(--gray-color);
    margin-bottom: 2px;
}

.detail-value {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
}

.program-cta {
    display: flex;
    gap: 15px;
}

/* Training Programs */
.training-programs {
    padding: 80px 0;
    background: var(--white);
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.training-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 3px solid var(--accent-color);
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.training-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.training-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.training-card p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 72px;
}

.training-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.training-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--gray-color);
}

.view-all-training {
    text-align: center;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Program Comparison */
.program-comparison {
    padding: 80px 0;
    background: var(--light-color);
}

.table-responsive {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table thead {
    background: #5349d6;
    color: var(--white);
}

.comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-table th:first-child {
    border-top-left-radius: 10px;
}

.comparison-table th:last-child {
    border-top-right-radius: 10px;
    border-right: none;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--light-color);
    transition: var(--transition);
}

.comparison-table tbody tr:hover {
    background: var(--white);
}

.comparison-table td {
    padding: 15px 20px;
    color: var(--dark-color);
    border-right: 1px solid var(--light-color);
}

.comparison-table td:first-child {
    font-weight: 600;
    background: var(--white);
    color: var(--dark-color);
}

.comparison-table td:last-child {
    border-right: none;
}

/* Application Process */
.application-process {
    padding: 80px 0;
    background: var(--white);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--light-color);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: #5349d6;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 8px solid var(--white);
    box-shadow: var(--shadow);
}

.step-content {
    max-width: 200px;
    margin: 0 auto;
}

.step-content h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.step-content p {
    color: var(--gray-color);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.step-arrow {
    color: var(--gray-color);
    font-size: 24px;
}

/* Application Deadlines */
.application-deadlines {
    background: var(--light-color);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.application-deadlines h3 {
    color: var(--dark-color);
    margin-bottom: 30px;
    font-size: 24px;
}

.deadline-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.deadline-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.deadline-card h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.deadline-date {
    font-size: 24px;
    font-weight: 700;
    color: #5349d6;
    margin-bottom: 15px;
}

.countdown {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding: 10px;
    background: var(--light-color);
    border-radius: 5px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    color: var(--dark-color);
    flex: 1;
}

.faq-question i {
    color: #5349d6;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--dark-color);
    line-height: 1.6;
    margin: 0;
    padding-top: 15px;
    border-top: 1px solid var(--light-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #5349d6 0%, #3558e8 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary,
.cta-section .btn-secondary {
    background: var(--white);
    color: #5349d6;
}

.cta-section .btn-primary:hover,
.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.cta-section .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta-section .btn-outline:hover {
    background: var(--white);
    color: #5349d6;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .btn, .nav-link, .training-modal-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .programs-grid,
    .training-grid {
        gap: 20px;
    }
    
    input, textarea, select {
        font-size: 16px;
    }
    
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .program-cta,
    .view-all-training,
    .cta-buttons {
        flex-direction: column;
    }
    
    .program-cta .btn,
    .view-all-training .btn,
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-header-content h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .program-header h3,
    .training-card h3 {
        font-size: 20px;
    }
    
    .program-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Print styles */
@media print {
    .announcement-bar,
    .header-modern,
    .footer,
    .btn,
    .training-modal-btn {
        display: none !important;
    }
    
    .program-card,
    .training-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .comparison-table {
        break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}