/* ==============================================================
   DIIST ABOUT US - GLOBAL STYLES (about.css)
   ============================================================== */

/* 🟢 PREMIUM PAGE HEADER (Slim DiST Red Banner) */
.timeline-page-header {
    background-color: #d82c2e;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.15);
    padding: 20px 0;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    border: none;
}

.timeline-page-header h1 {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
    font-size: 28px;
}

.timeline-page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-family: "Open Sans", sans-serif;
    margin: 0;
    font-size: 14px;
}

/* 🟢 TIMELINE STYLING */
.timeline-container {
    position: relative;
    padding-left: 30px;
    border-left: 3px solid #eef1f6;
    margin-bottom: 50px;
}

.timeline-year-group {
    margin-bottom: 40px;
    position: relative;
}

/* The Box-less Year Header */
.year-header {
    position: relative;
    background: transparent;
    color: #1f212d;
    display: inline-block;
    padding: 0;
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 15px;
    box-shadow: none;
    letter-spacing: 0.5px;
}

/* The dot on the timeline */
.year-header::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #c5a059;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.3);
}

/* Milestone Cards */
.milestone-card {
    background: #ffffff;
    border: 1px solid #eef1f6;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.milestone-card:hover {
    transform: translateX(10px);
    border-color: #c5a059;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.milestone-card i {
    color: #d82c2e;
    font-size: 14px;
    margin-right: 15px;
}

.milestone-text {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 1.6;
}

/* 🟢 RIGHT SIDEBAR (STICKY MENU) */
.sticky-sidebar {
    position: sticky;
    top: 100px;
    background: #f8f9fa;
    border: 1px solid #eef1f6;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.sidebar-title {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #002147;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c5a059;
}

.jump-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 60vh;
    overflow-y: auto;
}

/* Custom Scrollbar for the menu */
.jump-menu::-webkit-scrollbar { width: 5px; }
.jump-menu::-webkit-scrollbar-thumb { background: #c5a059; border-radius: 10px; }

.jump-menu li {
    margin-bottom: 8px;
}

.jump-menu a {
    display: block;
    color: #555;
    font-weight: 600;
    font-family: "Open Sans", sans-serif;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.2s ease;
    background: #ffffff;
    border: 1px solid #eef1f6;
}

.jump-menu a:hover {
    background: #1f212d;
    color: #c5a059;
    border-color: #1f212d;
}
