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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f3f2ef;
    color: #000000;
    line-height: 1.5;
}

.container {
    max-width: 1128px;
    margin: 0 auto;
    padding: 24px;
}

/* Profile Header */
.profile-header {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.profile-banner {
    width: 100%;
    height: 200px;
    background-image: url('assets/banner.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.profile-picture {
    width: 152px;
    height: 152px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    background-color: #e0e0e0;
    overflow: hidden;
    position: absolute;
    bottom: -76px;
    left: 24px;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 88px 24px 24px 24px;
    position: relative;
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 4px;
}

.profile-headline {
    font-size: 16px;
    color: #000000;
    margin-bottom: 8px;
}

.profile-location {
    font-size: 14px;
    color: #666666;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-location img {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.cloud-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 4px;
}

.role-timeline {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.timeline-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20px;
    flex-shrink: 0;
    padding-top: 8px;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    background-color: #999999;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.timeline-connector {
    width: 2px;
    flex-grow: 1;
    background-color: #e0e0e0;
    margin: 8px 0;
}

.role-content {
    flex: 1;
}

.role-item {
    position: relative;
}

/* Section Cards */
.section-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 8px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.08);
    position: relative;
}

.github-icon {
    position: absolute;
    left: 214px;
    top: 215px;
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: opacity 0.2s;
    color: #000000;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.github-icon:hover {
    opacity: 1;
}

.instagram-icon {
    position: absolute;
    left: 188px;
    top: 215px;
    width: 18px;
    height: 18px;
    opacity: 1;
    transition: opacity 0.2s;
    color: #000000;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.instagram-icon:hover {
    opacity: 1;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 16px;
}

.section-content {
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
}

/* Experience Items */
.experience-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.experience-icon {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    background-color: #e0e0e0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 24px;
}

.experience-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 2px;
}

.experience-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 4px;
}

.experience-details .company {
    color: #0a66c2;
    text-decoration: none;
}

.experience-details .company:hover {
    text-decoration: underline;
}

.experience-details .duration {
    font-size: 14px;
    color: #666666;
    margin-bottom: 8px;
}

.experience-details .location {
    font-size: 14px;
    color: #666666;
    margin-bottom: 8px;
}

.experience-details .description {
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
    margin-top: 8px;
}

.show-all-link:hover {
    background-color: #f3f2ef;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s ease-out;
}

.modal-content {
    background-color: #fefefe;
    margin: 40px auto;
    padding: 0;
    border: 1px solid #888;
    width: 744px;
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: white;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    z-index: 10;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.close-btn {
    color: #666666;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: #f3f2ef;
    color: #000000;
}

.modal-body {
    padding: 0;
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Education Items */
.education-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}

.education-item:last-child {
    border-bottom: none;
}

.education-icon {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    background-color: #e0e0e0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 24px;
}

.education-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 2px;
}

.education-details h4 {
    font-size: 14px;
    color: #666666;
    margin-bottom: 4px;
}

.education-details .duration {
    font-size: 14px;
    color: #666666;
}

/* Skills */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background-color: #f3f2ef;
    color: #000000;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.skill-tag:hover {
    background-color: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .navbar-menu {
        display: none;
    }

    .profile-picture {
        width: 120px;
        height: 120px;
        bottom: -60px;
    }

    .github-icon {
        left: 182px;
        top: 215px;
    }

    .instagram-icon {
        left: 156px;
        top: 215px;
    }

    .profile-info {
        padding-top: 72px;
    }
}