
:root {
    --primary-color: #0077cc;
    --secondary-color: #333333;
    --accent-color: #131282;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --light-text: #6c757d;
    --white: #ffffff;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    padding: 20px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Header Section */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    text-align: center;
}
.header-content {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}
.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.profile-img img:hover {
    transform: scale(1.05);
}
.intro {
    flex: 1;
    min-width: 300px;
}
.intro h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
}
.intro h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}
.contact-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}
.contact-item i {
    margin-right: 8px;
    opacity: 0.8;
    font-size: 1rem;
}

/* About Me Section */
.about-me {
    padding: 50px 30px 30px;
    font-size: 1rem;
    color: var(--dark-text);
    line-height: 1.8;
}

/* Main Content */
.main-content {
    display: flex;
    flex-wrap: wrap;
    padding: 0 20px;
}
.left-column, .right-column {
    padding: 20px;
}
.left-column {
    flex: 1;
    min-width: 300px;
}
.right-column {
    flex: 2;
    min-width: 400px;
    border-left: 1px solid rgba(0,0,0,0.1);
}

/* Section Styling */
.section {
    margin-bottom: 30px;
}
.section-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
}
.section-title i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Experience Items */
.timeline-item {
    margin-bottom: 25px;
    position: relative;
    padding-left: 25px;
    border-left: 2px solid var(--light-text);
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-item:before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary-color);
    left: -9.7px;
    top: 6px;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-color);
}
.timeline-item-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 5px;
    gap: 10px;
}
.job-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color);
}
.company {
    display: block;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 5px;
}
.duration {
    color: var(--light-text);
    font-size: 0.9rem;
    white-space: nowrap;
}
.job-location {
    font-style: italic;
    margin-bottom: 10px;
    color: var(--light-text);
    font-size: 0.9rem;
}
.job-description ul {
    padding-left: 20px;
}
.job-description li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.skill-category {
    flex: 1;
    min-width: 250px;
}
.skill-category h4 {
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}
.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.skill-item {
    background-color: rgba(0, 119, 204, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
}
.skill-item:hover {
    background-color: rgba(0, 119, 204, 0.2);
    transform: translateY(-2px);
}

/* Education */
.education-item {
    margin-bottom: 20px;
}
.degree {
    font-weight: 600;
    font-size: 1rem;
    color: var(--secondary-color);
}
.institution {
    display: block;
    color: var(--accent-color);
    margin: 5px 0;
    font-size: 0.95rem;
}
.education-item .duration {
    display: block;
    margin-bottom: 8px;
}
.education-item p {
    font-size: 0.95rem;
}

/* Languages */
.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.language-name {
    font-weight: 500;
    font-size: 0.95rem;
}
.language-level {
    display: flex;
}
.level-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 2px;
    background-color: #e0e0e0;
}
.filled {
    background-color: var(--primary-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: var(--light-text);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 900px) {
    .left-column, .right-column {
        flex: 100%;
        min-width: 100%;
    }
    .right-column {
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    header {
        padding: 25px 15px;
    }
    .intro h1 {
        font-size: 1.6rem;
    }
    .intro h2 {
        font-size: 1.1rem;
    }
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .contact-item {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    .about-me {
        padding: 0 20px 20px;
    }
    .main-content {
        padding: 0;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .timeline-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .duration {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .profile-img {
        width: 120px;
        height: 120px;
    }
    .intro h1 {
        font-size: 1.4rem;
    }
    .section-title {
        font-size: 1.2rem;
    }
    .skill-category {
        min-width: 100%;
    }
    .job-title, .degree {
        font-size: 1rem;
    }
    .job-description li, .education-item p {
        font-size: 0.9rem;
    }
}
