:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent-color: #333333;
    --secondary-text: #666666;
    --border-color: #e0e0e0;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body,
html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
}

.container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* ===== PROFILE SIDEBAR ===== */
.profile-section {
    flex: 0 0 280px;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
}

.profile-img-container {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 4px solid #fff;
}

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

.name {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.title {
    font-size: 13px;
    color: var(--secondary-text);
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 24px;
    font-size: 12px;
    line-height: 1.4;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-item strong {
    color: var(--accent-color);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Projects Links */
.projects-links {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.projects-title {
    color: var(--accent-color);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    margin-bottom: 16px;
}

.project-link {
    display: block;
    padding: 5px 0;
    margin-bottom: 3px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.project-link::before {
    content: "→";
    margin-right: 8px;
    opacity: 1;
    transition: all 0.2s;
}

.project-link:hover::before {
    transform: translateX(3px);
}

.project-link:hover {
    color: #000;
}

.download-section {
    margin-top: auto;
}

.btn-download {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--text-color);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-download:hover {
    background-color: #000;
    transform: translateY(-1px);
}

/* ===== MAIN CONTENT SECTION ===== */
.content-section {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
    background-color: #fff;
}

.section {
    margin-bottom: 24px;
}

.section-title {
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 800;
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 6px;
}

/* Summary Section */
.summary-section {
    margin-bottom: 18px;
}

.summary-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--accent-color);
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
}

.column-left,
.column-right {
    display: flex;
    flex-direction: column;
}

/* Experience Items */
.experience-item {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

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

.job-header h3.job-role {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3px;
}

.job-company {
    font-size: 14px;
    color: var(--secondary-text);
    font-weight: 600;
    margin-bottom: 2px;
}

.job-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 9px;
}

.job-details {
    margin: 8px 0 8px 18px;
    padding: 0;
    list-style: disc;
}

.job-details li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.tech-stack {
    font-size: 13px;
    color: var(--secondary-text);
    margin-top: 8px;
}

.nda-note {
    font-size: 11px;
    font-style: italic;
    color: var(--secondary-text);
    margin-bottom: 8px;
}

/* Projects */
.project-item {
    margin-bottom: 16px;
}

.project-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3px;
}

.project-tech {
    font-size: 13px;
    color: var(--secondary-text);
    margin-bottom: 8px;
}

.project-details {
    margin: 6px 0 0 18px;
    padding: 0;
    list-style: disc;
}

.project-details li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
    color: var(--accent-color);
}

/* Skills */
.skills-category {
    margin-bottom: 16px;
}

.skills-category h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
}

.skills-list {
    font-size: 14px;
    line-height: 1.6;
    color: var(--accent-color);
}

/* Education */
.education-item h3.degree {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

.university {
    font-size: 14px;
    color: var(--secondary-text);
    margin-bottom: 3px;
}

.gpa {
    font-size: 13px;
    color: var(--secondary-text);
    margin-bottom: 6px;
}

.coursework {
    font-size: 13px;
    color: var(--accent-color);
    line-height: 1.5;
}

/* Certifications */
.certifications-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.certifications-list li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--accent-color);
    padding-left: 16px;
    position: relative;
}

.certifications-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-color);
    font-weight: 700;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1400px) {
    .content-section {
        padding: 18px 24px;
    }
}

@media (max-width: 1200px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 1024px) {

    body,
    html {
        overflow: auto;
        font-size: 16px;
        /* Increased for mobile */
    }

    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .profile-section {
        flex: 0 0 auto;
        padding: 32px 24px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .content-section {
        flex: 1 0 auto;
        padding: 32px 24px;
    }

    .profile-img-container {
        width: 140px;
        height: 140px;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
    }

    /* Increase font sizes for mobile readability */
    .name {
        font-size: 28px;
    }

    .title {
        font-size: 14px;
    }

    .contact-info {
        font-size: 14px;
    }

    .contact-item strong {
        font-size: 12px;
    }

    .projects-title {
        font-size: 12px;
    }

    .project-link {
        font-size: 15px;
        padding: 8px 0;
    }

    .btn-download {
        font-size: 14px;
        padding: 14px;
    }

    .section-title {
        font-size: 18px;
    }

    .summary-text {
        font-size: 16px;
    }

    .job-header h3.job-role {
        font-size: 17px;
    }

    .job-company {
        font-size: 15px;
    }

    .job-date {
        font-size: 13px;
    }

    .job-details li {
        font-size: 15px;
    }

    .tech-stack {
        font-size: 14px;
    }

    .nda-note {
        font-size: 12px;
    }

    .project-name {
        font-size: 17px;
    }

    .project-tech {
        font-size: 14px;
    }

    .project-details li {
        font-size: 15px;
    }

    .skills-category h4 {
        font-size: 15px;
    }

    .skills-list {
        font-size: 15px;
    }

    .education-item h3.degree {
        font-size: 16px;
    }

    .university {
        font-size: 15px;
    }

    .gpa {
        font-size: 14px;
    }

    .coursework {
        font-size: 14px;
    }

    .certifications-list li {
        font-size: 15px;
    }
}

@media (min-width: 1025px) {

    body,
    html {
        overflow: hidden;
    }
}

/* Scrollbar Styling for Main Content */
.content-section::-webkit-scrollbar,
.profile-section::-webkit-scrollbar {
    width: 6px;
}

.content-section::-webkit-scrollbar-track,
.profile-section::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.content-section::-webkit-scrollbar-thumb,
.profile-section::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.content-section::-webkit-scrollbar-thumb:hover,
.profile-section::-webkit-scrollbar-thumb:hover {
    background: #999;
}