* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #4991ff;
    --secondary-color: #4991ff;
    --text-color: #000000;
    --background-color: #ffffff;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: whitesmoke;
    color: var(--text-color);
    line-height: 1.5;
    font-size: 16px;
    padding: 2%;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navbar*/
.navbar {
    background-color: whitesmoke;
    padding: 0;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: left;
}

.brand-logo {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.header-container {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
    align-items: center;
}

.navbar .nav-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.navbar ul li a {
    display: block;
    color: black;
    gap: 5px;
    padding: 20px 20px;
    font-size: 18px;
    font-weight: 600;
    transition: 0.5s;
}

.navbar .nav-menu ul li a:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
    border-radius: 5px;
}

.container ul li {
    margin-bottom: 8px;
    margin-top: 8px;
    margin-left: 30px;
    list-style-type: disc;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 10px 16px;
    border-radius: 999px;
    background: white;
    border: 1px solid black;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: black;
    margin-bottom: 10px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: green;
    box-shadow: 0 0 0 5px lightgreen;
}

.title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 600;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: black;
}

.tag-pill {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid darkgrey;
    color: black;
    background-color: white;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
    background: rgba(15, 23, 42, 0.96);
    color: var(--text);
}

.button.primary {
    border-color: rgba(56, 189, 248, 0.9);
    background: linear-gradient(135deg, #38bdf8, #adadad);
    color: #0b1220;
    font-weight: 600;
    box-shadow: 0 10px 26px rgba(56, 189, 248, 0.55);
}

.button.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 32px rgba(140, 185, 215, 0.7);
}

.button.outline:hover {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(148, 163, 184, 0.9);
}

.button span.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #dde6e1;
}

.note {
    margin-bottom: 1px;
}

/* Contact */
.contact-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.contact-item {
    color: black;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item a {
    word-break: break-word;
}

.contact-label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    display: block;
}

/* Utility Classes */

.container {
    max-width: 100%;
    margin: auto;
    padding: 20px;
    align-items: center;
}

/* Timeline */
.timeline {
    border-left: 1px dashed rgba(0, 0, 0, 0.233);
    margin-top: 16px;
    padding-left: 24px;
    display: grid;
    gap: 32px;
}

.timeline-item {
    position: relative;
    padding-left: 16px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -28.5px;
    top: 0.35em;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #000000;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-meta {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: black;
    font-size: 12px;
    margin-bottom: 8px;
    word-wrap: break-word;
}

.timeline-title {
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    word-wrap: break-word;
}

.timeline-desc {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.6;
}

/* Tablet and up 768px+ devices */
@media (min-width: 768px) {
    body {
        font-size: 18px;
    }
    .container {
        max-width: 90%;
        padding: 30px;
    }
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        max-width: 90%;
    }
    .brand {
        justify-content: flex-start;
    }

    .navbar .nav-menu ul {
        justify-content: flex-end;
    }

    .title {
        font-size: 32px;
    }

    .contact-row {
        flex-direction: row;
        gap: 24px;
    }

    .timeline {
        padding-left: 32px;
        gap: 40px;
    }

    .timeline-item {
        padding-left: 20px;
    }

    .timeline-item::before {
        left: -36.5px;
        width: 11px;
        height: 11px;
    }

    .timeline-meta {
        font-size: 13px;
    }

    .timeline-desc {
        font-size: 16px;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .container {
        max-width: 900px;
    }

    .header-container {
        max-width: 900px;
    }

    .title {
        font-size: 36px;
    }

    .timeline {
        padding-left: 40px;
        gap: 48px;
    }

    .timeline-item {
        padding-left: 24px;
    }

    .timeline-item::before {
        left: -44.5px;
        width: 12px;
        height: 12px;
    }
}
/* Large desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1100px;
    }

    .header-container {
        max-width: 1100px;
    }
}
