html, body {
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f4f4f4;
    font-size: 20px; /* Base font size */
}

header {
    background: #333;
    color: white;
    padding: 20px 30px;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: flex-end; /* Aligns buttons to the right */
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

/* Style for navigation links (blending into background) */
.nav-link {
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ddd;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #444;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    width: 180px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.dropdown-menu li {
    border-bottom: 1px solid #666;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: white;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #555;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Divider between buttons */
.divider {
    width: 2px;
    height: 20px;
    background: white;
    margin: 0 15px;
}

.profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.profile img {
    width: 300px; /* Fixed width */
    height: auto;
}

.profile p {
    font-size: 24px;
}

.project-container {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}

.project-list {
    display: flex;
    overflow: hidden;
    width: 320px;
    scroll-behavior: smooth;
    gap: 20px;
}

.project {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 150px; 
    height: 150px; 
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: black;
    font-weight: bold;
    transition: transform 0.3s ease;
    text-align: center;
}

.project:hover {
    transform: scale(1.05);
}

/* Scroll buttons positioned below */
.scroll-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.scroll-left, .scroll-right {
    width: 75px; /* Square size */
    height: 40px; /* Square size */
    display: flex;
    align-items: center;
    justify-content: center;
    background: grey;
    border: 1px solid black;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.scroll-left:hover, .scroll-right:hover {
    background: darkgray;
}

.education, .work {
    text-align: center;
    padding: 10px;
}

.education h3, .work h4 {
    font-size: 24px;
}

.education-container, .work-container, .leadership-history {
    display: inline-block;
    text-align: left;
    max-width: 600px;
}

.work h5 {
    font-size: 22px;
    margin-top: -20px; /* Reduce the top gap */
    margin-bottom: -10px;
    text-indent: 25px;
}

.work-container p {
    position: relative;
    padding-left: 20px; /* Space for the bullet */
}

.work-container p::before {
    content: "•"; /* Bullet character */
    position: absolute;
    left: 0;
    color: black; /* Adjust bullet color if needed */
    font-size: 24px; /* Make the bullet slightly larger */
}

.leadership h4 {
    font-size: 20px;
}

.leadership-history p {
    position: relative;
    padding-left: 20px; /* Space for the bullet */
}

.leadership-history p::before {
    content: "•"; /* Bullet character */
    position: absolute;
    left: 0;
    color: black; /* Adjust bullet color if needed */
    font-size: 24px; /* Make the bullet slightly larger */
}

.contact {
    margin: 20px;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input {
    padding: 10px;
    margin: 10px;
    width: 300px; /* Fixed width */
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    width: 300px; /* Fixed width */
    height: 250px; /* Fixed height */
    resize: none; /* Prevents resizing */
    padding: 10px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


button {
    width: 150px; /* Prevents resizing */
    padding: 10px 20px;
    border: none;
    background: #333;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

button:hover {
    background: #555;
}

/* Mobile Styles */
@media (max-width: 768px) {
    header {
        display: fixed;
        background: #333;
        color: white;
        padding: 30px 30px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Make sure it starts below header */
        left: 0;
        width: 100%;
        background: #333;
        text-align: center;
        padding: 20px 0; /* Increased padding to cover the button */
        z-index: 1; /* Ensure nav menu is above the hamburger */
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        display: block;
        padding: 10px 0;
    }

    .hamburger {
        display: block;
        background: none;
        border: none;
        font-size: 30px;
        color: white;
        cursor: pointer;
        position: fixed;  
        top: 0px;       
        right: 20px;      
        z-index: 2;       
    } 

    .divider {
        width: 100px;
        height: 1px;
        background: white;
        transform: scaleY(0.25); /* Makes it appear thinner */
        }

    /* Ensure profile text appears below image */
    .profile {
        flex-direction: column;
        text-align: center;
    }

    /* Dropdown Menu */
    .dropdown-menu {
        display: none;
        position: absolute;
        top: 0; /* Aligns with the parent menu item */
        left: 100%; /* Moves the submenu to the right of the main menu */
        background: #444;
        list-style: none;
        padding: 0;
        margin: 0;
        border-radius: 5px;
        width: 180px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    /* Ensure dropdown displays properly */
    .dropdown {
        position: relative;
    }

    /* Show dropdown on hover */
    .dropdown:hover .dropdown-menu {
        display: block;
    }

}

/* Hide hamburger button on larger screens */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}