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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #E6E6E6;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* ==================== HAMBURGER MENU ==================== */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.hamburger-menu span {
    width: 28px;
    height: 3px;
    background-color: #1A1A1B;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.page-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.sidebar {
    width: 280px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 50;
}

.sidebar-top {
    height: 35vh;
    background-color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

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

.sidebar-bottom {
    height: 65vh;
    background-color: #F2B824;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 35px;
}

.nav-links a {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #1A1A1B;
    letter-spacing: 2px;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.right-nav {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    background-color: transparent;
}

.nav-line {
    width: 1px;
    height: 80px;
    background-color: #1A1A1B;
    margin: 20px 0;

}

.nav-icons {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #F2B824;
    /* Yellow Border */
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.nav-item img {
    width: 18px;
    height: 18px;
    opacity: 1;
    filter: brightness(0);
    /* Black Icons */
    transition: 0.3s;
}

.nav-item:hover,
.nav-item.active:hover {
    background-color: #F2B824;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(242, 184, 36, 0.5);
}

.nav-item.active {
    background-color: #F2B824;
    box-shadow: none;
}

.nav-item::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: #1A1A1B;
    color: #F2B824;
    padding: 6px 12px;
    font-size: 12px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-item::after {
    content: '';
    position: absolute;
    right: 47px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1A1A1B;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-item:hover::before,
.nav-item:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}


.main-content {
    flex-grow: 1;
    padding: 60px 100px 60px 80px;
    background-color: #E6E6E6;
    margin-left: 280px;
    margin-right: 80px;
    width: calc(100% - 360px);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.dash {
    width: 40px;
    height: 3px;
    background-color: #333;
}

.section-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    color: #333;
    font-weight: 700;
    margin: 0;
}



.resume-wrapper {
    display: flex;
    gap: 80px;
    margin-top: 50px;
}

.resume-col {
    flex: 1;
}

.category-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 35px;
    padding-bottom: 10px;
    border-bottom: 3px solid #F2B824;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resume-item {
    position: relative;
    padding-left: 35px;
    margin-bottom: 50px;
    border-left: 2px solid #D6D6D6;
    /* Vertical Line */
}

.resume-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background-color: #F2B824;
    border-radius: 50%;
    border: 3px solid #E6E6E6;
    box-shadow: 0 0 0 1px #F2B824;
    transition: 0.3s ease;
}

.resume-item:hover::before {
    background-color: #1A1A1B;
    box-shadow: 0 0 0 1px #1A1A1B;
}

.year-badge {
    background-color: #1A1A1B;
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

.resume-item h4 {
    font-family: inherit;
    font-size: 1.2rem;
    color: #1A1A1B;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    font-weight: 700;
}

.institution {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #F2B824;
    margin-bottom: 12px;
    font-family: inherit;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.resume-item p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 900px) {
    .resume-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .main-content {
        padding-right: 60px;
    }
}


.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Pushes button to the right */
    margin-bottom: 40px;
    flex-wrap: wrap;
    /* Allows wrapping on small phones */
    gap: 20px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Added to center content */
    gap: 10px;

    background-color: #F2B824;
    /* Yellow Background */
    color: #1A1A1B;
    /* Dark Text */

    padding: 10px 25px;
    border-radius: 30px;
    /* Pill Shape */

    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 0.9rem;

    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-download .icon {
    font-size: 1.1rem;
    font-weight: 900;
}

.btn-download:hover {
    background-color: #1A1A1B;
    /* Turns Black */
    color: #F2B824;
    /* Text turns Yellow */
    transform: translateY(-3px);
    /* Moves up slightly */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
    .section-header {
        justify-content: center;
        /* Center everything */
    }
}

/* ==================== MOBILE RESPONSIVENESS ==================== */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex !important;
        flex-direction: column;
    }

    .sidebar {
        position: fixed;
        width: 100%;
        left: 0;
        top: 0;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }

    .sidebar-top {
        height: 200px;
    }

    .sidebar-bottom {
        flex-grow: 1;
        padding: 30px 0;
    }

    .profile-circle {
        width: 120px;
        height: 120px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.95rem;
    }

    .main-content {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        padding: 40px 30px;
        padding-top: 70px;
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
    }

    .section-header h1 {
        font-size: 2.5rem;
    }

    .header-content {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .btn-download {
        width: 100%;
    }

    .resume-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .resume-col {
        width: 100%;
    }

    .right-nav {
        display: none;
    }

    .resume-item {
        margin-bottom: 20px;
    }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
    .sidebar-top {
        height: 320px;
    }

    .sidebar-bottom {
        padding: 20px 0;
    }

    .profile-circle {
        width: 150px;
        height: 150px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 1.3rem;
        padding: 8px 5px;
    }

    .main-content {
        padding: 25px 15px;
        padding-top: 70px;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    .section-header h1 {
        font-size: 1.8rem;
    }

    .header-content {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .dash {
        width: 30px;
        height: 2px;
    }

    .btn-download {
        width: 100%;
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .resume-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .resume-col {
        width: 100%;
    }

    .category-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .resume-item {
        margin-bottom: 15px;
    }

    .resume-item h4 {
        font-size: 0.95rem;
    }

    .resume-item p {
        font-size: 0.85rem;
    }

    .nav-item {
        display: none;
    }
}