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

body {
    font-family: 'Newsreader', serif;
    background-color: white;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
}

.left-panel {
    flex: 0 0 60%;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.description {
    font-family: 'Newsreader', serif;
    font-size: 2.3rem;
    font-weight: 300;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.2 !important;
    text-align: left;
    color: #333;
    margin-bottom: 40px;
    margin: auto 0;
}

.navigation {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    margin-left: auto;
    width: fit-content;
}

.nav-link {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.nav-link::after {
    content: '›';
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #333;
    transform: translateX(8px);
}

.nav-link:hover::after {
    transform: translateX(4px);
}

.nav-link.active {
    color: #000;
}

.right-panel {
    flex: 0 0 40%;
    background-color: #fafafa;
    overflow-y: auto;
    padding: 60px 40px;
    border-left: 1px solid #eee;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.content-section.active {
    display: block;
}

.content-section h2 {
    font-family: 'Newsreader', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.content-section p {
    font-family: 'Newsreader', serif;
    font-size: 1.4rem;
    font-weight: 200;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
    font-optical-sizing: auto;
    font-style: normal;
    text-align: left;
}

.content-section ul {
    margin: 20px 0;
    padding-left: 20px;
}

.content-section li {
    font-family: 'Crimson Pro', serif;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 10px;
    color: #555;
}

/* Inline links styling */
.content-section p a,
.content-section li a,
.description a {
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
    font-optical-sizing: auto;
    letter-spacing: -0.03em;
    font-style: normal;
    color: inherit;
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.content-section p a:hover,
.content-section li a:hover,
.description a:hover {
    background-color: #ffeb3b;
}

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

/* Tablet styles */
@media (max-width: 1024px) {
    .left-panel {
        padding: 50px 60px;
    }
    
    .description {
        font-size: 2rem;
    }
    
    .nav-link {
        font-size: 1.3rem;
    }
    
    .nav-link::after {
        font-size: 1.3rem;
    }
    
    .right-panel {
        padding: 50px 30px;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
    body {
        overflow: auto;
    }
    
    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .left-panel {
        flex: none;
        padding: 40px 30px;
        min-height: auto;
        justify-content: flex-start;
        padding-top: 60px;
    }
    
    .description {
        font-size: 1.8rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .navigation {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 30px;
        align-items: center;
        justify-content: flex-start;
        margin-left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 10px 15px;
        border: 1px solid #ddd;
        border-radius: 25px;
        text-align: center;
        min-width: 80px;
        transform: none !important;
    }
    
    .nav-link::after {
        content: '';
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: #333;
        color: white;
        border-color: #333;
        transform: none !important;
    }
    
    .right-panel {
        flex: none;
        background-color: white;
        border-left: none;
        border-top: 1px solid #eee;
        padding: 30px 30px 60px;
        overflow-y: visible;
        min-height: auto;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .content-section p,
    .content-section li {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .left-panel {
        padding: 30px 20px;
        padding-top: 40px;
    }
    
    .description {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .navigation {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 8px 12px;
        min-width: 70px;
    }
    
    .right-panel {
        padding: 20px 20px 40px;
    }
    
    .content-section h2 {
        font-size: 1.4rem;
    }
    
    .content-section p,
    .content-section li {
        font-size: 0.95rem;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .left-panel {
        padding: 80px 100px;
    }
    
    .description {
        font-size: 2.5rem;
        line-height: 1.7;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .nav-link::after {
        font-size: 1.5rem;
    }
    
    .right-panel {
        padding: 80px 60px;
    }
}

/* Timeline Styles */
.timeline {
    max-width: 100%;
    margin: 0;
    position: relative;
    padding-top: 1rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ddd;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 21px;
    top: 0;
    width: 18px;
    height: 18px;
    background-color: #333;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #ddd;
}

.timeline-content h3 {
    font-family: 'Work Sans', sans-serif;
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content .company {
    font-family: 'Work Sans', sans-serif;
    color: #666;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.timeline-content .period {
    font-family: 'Work Sans', sans-serif;
    color: #999;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content p:last-child {
    font-family: 'Crimson Pro', serif;
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Mobile responsiveness for timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
        margin-bottom: 2rem;
    }
    
    .timeline-marker {
        left: 11px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content .company {
        font-size: 0.9rem;
    }
    
    .timeline-content .period {
        font-size: 0.8rem;
    }
    
    .timeline-content p:last-child {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }
    
    .timeline-content p:last-child {
        font-size: 0.95rem;
    }
}

.footer-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #6c757d;
  text-align: left;
  margin-top: auto;
  padding-top: 2rem;
  line-height: 1.5;
}