/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

h1, h2, h3 {
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

ul {
    list-style-position: inside;
    margin-left: 20px;
}

li {
    margin-bottom: 5px;
}

/* Header and profile styles */
header {
    margin-bottom: 30px;
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #3498db;
}

#title {
    color: #7f8c8d;
    font-size: 1.2rem;
}

/* Contact section */
.contact-section {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon {
    font-size: 1.2rem;
}

/* Experience/Timeline section */
.timeline-controls {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.timeline-controls button {
    padding: 5px 10px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.timeline-controls button:hover {
    background-color: #2980b9;
}

.timeline {
    position: relative;
    margin-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #3498db;
}

.timeline-item {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 20px;
    margin-left: 20px;
    position: relative;
    border-left: 3px solid #3498db;
    transition: all 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #3498db;
}

.timeline-item .job-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-item .company {
    font-weight: normal;
    color: #3498db;
}

.timeline-item .dates {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-item .toggle-details {
    background: none;
    border: none;
    color: #3498db;
    cursor: pointer;
    font-size: 1.2rem;
}

.job-details {
    margin-top: 15px;
    display: none;
}

.job-details.expanded {
    display: block;
}

/* Skills section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.skills-category {
    flex: 1;
    min-width: 250px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #2c3e50;
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .skills-container {
        flex-direction: column;
    }
}