/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
}

/* Profile Column */
.profile-column {
    position: sticky;
    top: 40px;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24px;
    border: 3px solid #f5f5f5;
}

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

.profile-card h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.profile-card h2 {
    font-size: 18px;
    font-weight: 400;
    color: #666666;
    margin-bottom: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666666;
}

.contact-icon {
    width: 18px;
    height: 18px;
    color: #666666;
    flex-shrink: 0;
}

.contact-item a {
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #1a1a1a;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: #666666;
    transition: all 0.2s ease;
    border: 1px solid #e8e8e8;
}

.social-link:hover {
    color: #1a1a1a;
    background-color: #f5f5f5;
    border-color: #d4d4d4;
}

/* Content Column */
.content-column {
    max-width: 100%;
}

/* Education Section */
.education-section {
    margin-bottom: 80px;
}

.education-section h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.education-item {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e8e8e8;
}

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

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.education-main {
    flex: 1;
    min-width: 200px;
}

.education-main h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.degree {
    font-size: 16px;
    color: #4a4a4a;
    margin-bottom: 4px;
    line-height: 1.6;
}

.gpa {
    font-size: 16px;
    color: #666666;
    font-weight: 500;
}

.education-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

.location {
    font-size: 14px;
    color: #666666;
}

.education-meta .date {
    font-size: 14px;
    color: #666666;
}

/* Education Activities (nested under education) */
.education-activities {
    margin-top: 12px;
    padding-left: 0;
    border-left: none;
}

.activities-label {
    font-size: 14px;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 4px;
    display: inline;
}

.activities-list {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    display: inline;
}

/* Skills Section */
.skills-section {
    margin-bottom: 80px;
}

.skills-section h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.skill-category {
    margin-bottom: 32px;
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.skill-icon {
    width: 20px;
    height: 20px;
    color: #666666;
    flex-shrink: 0;
}

.skill-category h4 {
    font-size: 14px;
    font-weight: 600;
    color: #4a4a4a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 30px;
}

.skill-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

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

.skill-level {
    font-weight: 400;
    color: #666666;
    font-size: 13px;
}

/* Experience Section */
.experience-section {
    margin-bottom: 40px;
}

.experience-section h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.timeline {
    position: relative;
    margin-left: 30px;
}

.timeline-line {
    position: absolute;
    left: -25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e8e8e8;
}

.experience-item {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.experience-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666666;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #e8e8e8;
    z-index: 1;
}

.experience-content {
    margin-left: 0;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 12px;
}

.experience-header h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.experience-date {
    font-size: 14px;
    color: #666666;
    font-weight: 400;
}

.company-name {
    font-size: 16px;
    color: #4a4a4a;
    margin-bottom: 12px;
    font-weight: 500;
}

.experience-description {
    font-size: 16px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 0;
}

.experience-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-bullets li {
    font-size: 16px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.experience-bullets li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #666666;
    font-weight: bold;
}

.experience-bullets li:last-child {
    margin-bottom: 0;
}

/* Projects Section */
.projects-section {
    margin-bottom: 40px;
}

.projects-section h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.project-item {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e8e8e8;
}

.project-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 12px;
}

.project-header h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.project-date {
    font-size: 14px;
    color: #666666;
    font-weight: 400;
}

.project-tech {
    font-size: 14px;
    color: #4a4a4a;
    margin-bottom: 12px;
    font-style: italic;
}

.project-description {
    font-size: 16px;
    color: #666666;
    line-height: 1.7;
}

/* Divider between sections */
.content-column::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #e8e8e8;
    margin-bottom: 80px;
}

.education-section::after,
.skills-section::after,
.experience-section::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #e8e8e8;
    margin-top: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 280px 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 40px 16px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .profile-column {
        position: static;
    }

    .profile-card {
        align-items: center;
        text-align: center;
    }

    .profile-image {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-info {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .education-section h3,
    .skills-section h3,
    .experience-section h3,
    .projects-section h3 {
        font-size: 28px;
    }

    .timeline {
        margin-left: 0;
    }

    .timeline-line {
        display: none;
    }

    .timeline-dot {
        display: none;
    }

    .skill-tags {
        margin-left: 0;
        justify-content: center;
    }

    .skill-category-header {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .profile-card h1 {
        font-size: 28px;
    }

    .profile-card h2 {
        font-size: 16px;
    }


    .education-section h3,
    .skills-section h3,
    .experience-section h3,
    .projects-section h3 {
        font-size: 24px;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-header h4 {
        font-size: 18px;
    }

    .skill-tags {
        gap: 6px;
    }

    .skill-tag {
        font-size: 13px;
        padding: 5px 12px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: #e8e8e8;
    color: #1a1a1a;
}

/* Remove divider pseudo-elements on mobile */
@media (max-width: 768px) {
    .content-column::before,
    .education-section::after,
    .skills-section::after,
    .experience-section::after {
        display: none;
    }

    .education-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .education-meta {
        align-items: flex-start;
        text-align: left;
    }

    .education-activities {
        padding-left: 0;
        margin-top: 12px;
    }
}
