@import url('2d92ec7647e54c5f8c63dc3143aeba16.css');

:root {
    --serene-blue: #6B8EBD; /* PANTONE 16-4014 TCX approximation */
    --space-gray: #4a4a4a;
    --light-blue: #e0e8f0;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.text-blue-600 {
    color: var(--serene-blue);
}

.bg-blue-600 {
    background-color: var(--serene-blue);
}
.hover\:bg-blue-700:hover {
    background-color: #5a7aab;
}

.bg-blue-50 {
    background-color: var(--light-blue);
}

.text-blue-500 {
    color: var(--serene-blue);
}

#header.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* Timeline Styles */
#timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #e5e7eb; /* gray-200 */
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 50px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--serene-blue);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.2s;
}
.timeline-dot:hover {
    transform: scale(1.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
    transform: translateX(50%);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
    transform: translateX(-50%);
}

.timeline-content {
    background: #f9fafb; /* gray-50 */
    padding: 20px;
    border-radius: 8px;
    position: relative;
    border: 1px solid #f3f4f6; /* gray-100 */
}

.timeline-year {
    position: absolute;
    top: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--serene-blue);
}
.timeline-item:nth-child(odd) .timeline-year {
    right: 100%;
    margin-right: 30px;
    text-align: right;
}
.timeline-item:nth-child(even) .timeline-year {
    left: 100%;
    margin-left: 30px;
    text-align: left;
}

@media (max-width: 768px) {
    #timeline-container::before {
        left: 10px;
        transform: translateX(0);
    }
    .timeline-item {
        width: 100%;
        padding-left: 45px;
        padding-right: 0;
        margin-bottom: 30px;
    }
    .timeline-item:nth-child(odd) {
        left: 0;
    }
    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 45px;
    }
    .timeline-dot {
        left: 0;
        transform: translateX(0);
    }
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 0;
        transform: translateX(0);
    }
     .timeline-year {
        position: static;
        margin-bottom: 8px;
        text-align: left;
    }
}


/* Modal Styles */
.modal-content {
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

.modal-content.fade-out {
    animation: fadeOut 0.3s ease-in forwards;
}

#modal-backdrop.fade-in {
    animation: fadeInBackdrop 0.3s ease-out forwards;
}

#modal-backdrop.fade-out {
    animation: fadeOutBackdrop 0.3s ease-in forwards;
}


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

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

@keyframes fadeInBackdrop {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOutBackdrop {
    from { opacity: 1; }
    to { opacity: 0; }
}
