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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #e8e8e8;
    color: #2a2a2a;
    line-height: 1.6;
    min-height: 100vh;
    padding: 40px 20px;
}

.wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 60px 80px 60px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

nav {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

nav a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #ff6b35;
}

h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.intro {
    font-size: 20px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 60px;
}

.section {
    margin-bottom: 60px;
}

h2 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #999;
    margin-bottom: 25px;
    font-weight: 600;
}

.timeline-item {
    margin-bottom: 30px;
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-item:hover {
    border-color: #ff6b35;
    transform: translateX(10px);
}

.timeline-item::before {
    display: none;
}

.timeline-item h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-item .meta {
    font-size: 14px;
    color: #ff6b35;
    margin-bottom: 15px;
    font-weight: 500;
}

.timeline-item p {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr; /* Force single column */
    gap: 25px;
}

.experience-list {
    background: #fafafa;
    border-radius: 8px;
    overflow: hidden;
}

.experience-list .timeline-item {
    margin: 0;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    border-radius: 0;
    background: transparent;
    padding: 0;
    transition: all 0.3s ease;
}

.experience-list .timeline-item:last-child {
    border-bottom: none;
}

.experience-list .timeline-item:nth-child(even),
.experience-list .timeline-item:nth-child(odd) {
    margin-left: 0;
    margin-right: 0;
}

.exp-header {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.exp-header:hover {
    background: rgba(255, 107, 53, 0.05);
}

.exp-title-meta {
    flex: 1;
}

.exp-header h3 {
    font-size: 20px;
    margin: 0;
}

.exp-header .meta {
    margin: 5px 0 0 0;
}

.exp-toggle {
    font-size: 20px;
    color: #999;
    transition: transform 0.3s ease;
    user-select: none;
}

.timeline-item.active .exp-toggle {
    transform: rotate(180deg);
}

.timeline-item.active .exp-header {
    background: rgba(255, 107, 53, 0.05);
}

.exp-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.timeline-item.active .exp-content {
    max-height: 500px;
}

.exp-content p {
    padding: 0 30px 25px 30px;
    margin: 0;
}

.timeline-item:hover {
    transform: none;
    border-color: #e5e5e5;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: #fafafa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.card h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 600;
}

.card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.contact {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

.contact a {
    display: inline-block;
    margin: 0 15px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact a:hover {
    color: #ff6b35;
}

@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    .wrapper {
        padding: 40px 30px;
    }

    h1 {
        font-size: 36px;
    }

    .intro {
        font-size: 18px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .exp-header {
        padding: 15px 20px;
    }

    .exp-header h3 {
        font-size: 18px;
    }

    .exp-content p {
        padding: 0 20px 20px 20px;
    }
}
