* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    max-width: 100%;
}

:root {
    --main-bg: #050505;
    --hero-bg: radial-gradient(circle at top left, rgba(255, 69, 0, 0.18), transparent 32%),
                 radial-gradient(circle at bottom right, rgba(239, 71, 111, 0.16), transparent 28%);
    --accent: orangered;
    --text-light: #f7f7f7;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-strong: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #020202 0%, #111 45%, #141414 100%);
    color: white;
    overflow-x: hidden;
    padding-top: 100px;
}


/* FULL-WIDTH WEBSITE LAYOUT */
.resume-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 8% 60px;
}

.resume-doc {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.resume-head {
    text-align: left;
    padding: 30px 40px;
    margin-bottom: 40px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.resume-head-info h1 {
    font-size: 3rem;
    margin-bottom: 4px;
    color: #fff;
    line-height: 1.1;
}

.resume-head-info h1 span {
    color: var(--accent);
}

.resume-role {
    font-size: 1.25rem;
    color: #d8d8d8;
    font-weight: 500;
    margin-bottom: 12px;
}

.resume-contact {
    font-size: 0.95rem;
    color: #c9c9c9;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.resume-contact i {
    color: var(--accent);
    margin-right: 5px;
}

.resume-actions-row {
    display: flex;
    align-items: center;
}

/* 2-COLUMN CORNER-TO-CORNER GRID */
.resume-body-grid {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 40px;
}

.resume-sidebar, .resume-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.resume-section {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 28px 32px;
    border-radius: 16px;
}

.resume-section h2 {
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 69, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
}

.resume-section h2 i {
    color: var(--accent);
    font-size: 1.4rem;
}

.resume-section p {
    color: #d3d7dd;
    line-height: 1.75;
    font-size: 0.98rem;
}

.resume-list {
    list-style: disc;
    padding-left: 20px;
}

.resume-list li {
    margin-bottom: 12px;
    color: #d3d7dd;
    line-height: 1.65;
    font-size: 0.98rem;
}

.resume-list li b {
    color: #ffffff;
}

.job-entry {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.job-entry:last-child {
    margin-bottom: 0;
}

.job-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.job-row h3 {
    font-size: 1.2rem;
    color: #f5f5f5;
}

.job-dates {
    font-size: 0.9rem;
    color: #b7b7b7;
    font-style: italic;
}

.job-meta {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 500;
    margin: 4px 0 12px;
}


/* Mobile Adaptability for New Additions */
@media screen and (max-width: 768px) {
    /* Stack the resume layout into a single column */
    .resume-body-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Adjust resume header padding and alignment to prevent cramping[cite: 3] */
    .resume-head {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .resume-head-info h1 {
        font-size: 2.2rem;
    }

    /* Ensure dropdowns don't cause horizontal scrolling on small screens */
    .nav-dropdown-content {
        min-width: 100%;
        max-width: 100%;
        right: auto;
        left: 0;
    }

    /* Make large images responsive and fluid */
    .about-img img, 
    .img-box img {
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    /* Stack service cards vertically[cite: 4] */
    .services {
        grid-template-columns: 1fr;
        padding: 30px 5%;
    }

    /* Reduce aggressive padding on content sections and wrappers */
    .page-resume .nisu-section,
    .page-resume .content-section,
    .resume-wrap,
    .resume-section {
        padding: 20px 5%;
    }
}