﻿body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f5f7fa;
    color: #333;
}

.main-wrapper {
    width: 95%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.page-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #0a3d62;
    margin-bottom: 20px;
}

h2 {
    color: #0c2461;
    margin-top: 20px;
}

ul {
    padding-left: 20px;
}

.badge {
    display: inline-block;
    background: #f6b93b;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    color: #000;
}

.timeline {
    position: relative;
    margin: 40px 0;
    padding: 0;
}

    .timeline::after {
        content: '';
        position: absolute;
        width: 6px;
        background: #0a3d62;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -3px;
    }

.timeline-item {
    padding: 20px;
    position: relative;
    width: 50%;
}

    .timeline-item.left {
        left: 0;
    }

    .timeline-item.right {
        left: 50%;
    }

    .timeline-item .content {
        padding: 20px;
        background: #fff;
        border-radius: 8px;
        position: relative;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        animation: fadeInUp 1s ease;
    }

    .timeline-item.left .content {
        margin-right: 30px;
    }

    .timeline-item.right .content {
        margin-left: 30px;
    }

    .timeline-item::before {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 25px;
        border-radius: 50%;
        background: #0a3d62;
        border: 3px solid #f6b93b;
        z-index: 1;
    }

    .timeline-item.left::before {
        right: -10px;
    }

    .timeline-item.right::before {
        left: -10px;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }

        .timeline-item.right {
            left: 0;
        }

            .timeline-item.left .content,
            .timeline-item.right .content {
                margin: 0 0 20px 0;
            }

        .timeline-item::before {
            left: 10px;
        }
}




/* Program strip that matches the screenshot */
.program-strip {
    width: 100%;
    background: linear-gradient(180deg, #f7fbfe 0%, #e6f7fd 45%, #cfeefc 100%);
    padding: 28px 0 22px;
    box-shadow: inset 0 -30px 50px rgba(0,103,160,0.02);
    margin-bottom: 20px;
}

.program-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

/* each card */
.program-card {
    text-align: center;
    padding: 6px 10px;
    min-height: 170px;
}

.program-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: transparent;
}

/* title like screenshot: small uppercase orange */
.program-title {
    font-size: 13px;
    color: #e86d2f; /* orange */
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 6px 0 8px;
    font-weight: 700;
    line-height: 1.1;
}

/* description: compact, muted and small */
.program-desc {
    font-size: 12px;
    color: #23475a;
    opacity: 0.95;
    margin: 0;
    line-height: 1.35;
    max-width: 220px; /* controls line length similar to screenshot */
    margin-left: auto;
    margin-right: auto;
}

/* responsive breakpoints */
@media (max-width: 1000px) {
    .program-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-desc {
        max-width: 300px;
    }
}

@media (max-width: 560px) {
    .program-inner {
        grid-template-columns: 1fr;
    }

    .program-card {
        padding: 12px 6px;
        min-height: auto;
    }

    .program-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 8px;
    }

    .program-title {
        font-size: 13px;
    }

    .program-desc {
        font-size: 13px;
        max-width: 420px;
    }
}
