*{
    box-sizing: border-box;
}
body{
    background-color: #8B5A96;
}
.header-images{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-left: 220px;
}
.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    object-position: top;
    margin: auto;
    display: block;
}
.nyu-logo{
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: top;
}
header{
    background:  #57068C;
    padding: 40px;
    border-radius: 15px 15px 0 0;
    margin: 20px auto 0;
    width: 75%;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
    text-align: center;

}
h1{
    font-size: 2.5rem;
    padding-top: 20px;
    padding-bottom: 10px;
    margin: 20px auto;
}
.subtitle{
    font-size: 1.2rem;
    margin: 0 auto;
}
nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #57068C;
    padding: 15px 0;
    border-radius: 10px;
    width: 70%;
    margin: 0 auto 20px;
    position: relative;
}
nav ul{
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}
nav a{
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 15px;
    transition: all 0.3s ease;
}
nav a:hover{
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hamburger menu button - hidden by default */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    /* Tablet styles */
    .header-images {
        margin-left: 100px;
        gap: 15px;
    }
    
    .profile-pic, .nyu-logo {
        width: 150px;
        height: 150px;
    }
    
    nav {
        width: 95% !important;
        padding: 12px 15px !important;
        justify-content: center !important;
    }
    
    nav ul {
        gap: 6px !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    nav ul li {
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    nav a {
        padding: 6px 8px !important;
        font-size: 0.75rem !important;
        white-space: nowrap !important;
        text-align: center !important;
        min-width: fit-content !important;
        margin: 0 !important;
    }
    
    .content {
        width: 85%;
        padding: 30px;
    }
    
    header, footer {
        width: 85%;
    }
}

/* Additional tablet-specific override */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    nav ul {
        gap: 6px !important;
    }
    
    nav a {
        padding: 6px 8px !important;
        font-size: 0.75rem !important;
    }
}

@media screen and (max-width: 768px) {
    /* Mobile styles */
    .header-images {
        margin-left: 0;
        flex-direction: column;
        gap: 10px;
    }
    
    .profile-pic, .nyu-logo {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    nav {
        width: 95%;
        padding: 10px 15px;
        justify-content: space-between;
    }
    
    /* Show hamburger menu */
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    /* Hide regular nav menu by default on mobile */
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #57068C;
        flex-direction: column;
        gap: 0;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    /* Show nav menu when active */
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav a {
        display: block;
        padding: 15px 20px;
        text-align: center;
        border-radius: 0;
    }
    
    nav a:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .content {
        width: 95%;
        padding: 20px;
    }
    
    header, footer {
        width: 95%;
        padding: 30px 20px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    /* Experience items mobile layout */
    .experience-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .experience-details {
        text-align: left;
        margin-left: 0;
        min-width: auto;
        width: 100%;
    }
    
    .date {
        font-size: 0.9rem;
    }
    
    .location {
        font-size: 0.8rem;
    }
    
    /* Contact grid mobile layout */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .contact-item {
        min-height: auto;
        padding: 20px;
    }
    
    /* Project items mobile layout */
    .project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    
    .project-details {
        text-align: left;
        margin-left: 0;
        min-width: auto;
        width: 100%;
    }
    
    .project-links {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .project-link {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    /* Skills container mobile */
    .skills-container {
        height: 300px;
        padding: 15px;
    }
    
    .skill-bubble {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
}

@media screen and (max-width: 480px) {
    /* Small mobile styles */
    .profile-pic, .nyu-logo {
        width: 100px;
        height: 100px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .content {
        padding: 15px;
    }
    
    header, footer {
        padding: 20px 15px;
    }
    
    /* Abbreviate dates for very small screens */
    .date {
        font-size: 0.85rem;
    }
    
    .experience-content h3 {
        font-size: 1.1rem;
    }
    
    .experience-content p {
        font-size: 1rem;
    }
    
    /* Compact contact items */
    .contact-item {
        padding: 15px;
        gap: 10px;
    }
    
    .contact-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .contact-content h3 {
        font-size: 1.1rem;
    }
    
    .contact-detail {
        font-size: 1rem;
    }
    
    /* Compact project items */
    .project-content h3 {
        font-size: 1.2rem;
    }
    
    .project-description {
        font-size: 1rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .project-link {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
}
.content{
    background-color: ghostwhite;
    padding: 40px;
    margin: 0 auto;
    width: 75%;
    color: darkslategray;

}
footer{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
    text-align: center;
    padding: 20px;
    border-radius: 0 0 15px 15px;
    background-color: #57068C;
    color: white;
    width: 75%;
    margin: 0 auto;
}
h2{
    font-size: 1.8rem;
    margin-top: 20px;
}
h3{
    font-size: 1.2rem; 
    margin-bottom: 20px;
}
.education-item p{
    margin-top: 10px;
    margin-bottom: 10px;
}
.highlight{
    font-weight: bold;
}

/* Typewriter effect styles */
.typewriter {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1.6;
    color: darkslategray;
    margin: 20px 0;
}

.cursor {
    animation: blink 1s infinite;
    color: #57068C;
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

a{
    text-decoration: none;
    color: darkslategray;
}
.experience-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.experience-item:hover {
    background-color: rgba(87, 6, 140, 0.08);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(87, 6, 140, 0.1);
}

.experience-content {
    flex: 1;
}

.experience-content h3 {
    margin: 0 0 8px 0;
    color: darkslategray;
    font-size: 1.3rem;
}

.experience-content p {
    margin: 0;
    color: darkslategray;
    font-size: 1.1rem;
}

.experience-details {
    text-align: right;
    min-width: 180px;
    margin-left: 20px;
}

.date {
    font-weight: 600;
    color: darkslategray;
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.location {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-style: italic;
}

.timeline-item.current:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(87, 6, 140, 0.6);
    transition: all 0.3s ease;
}

/* Skills Bubbles Styles */
.skills-container {
    position: relative;
    height: 400px;
    margin: 40px 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(87, 6, 140, 0.02) 0%, rgba(139, 90, 150, 0.02) 100%);
    border-radius: 15px;
    padding: 20px;
}

.skill-bubble {
    position: absolute;
    background: #57068C;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(87, 6, 140, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.skill-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(87, 6, 140, 0.5);
    z-index: 20;
}

.skill-bubble.popping {
    animation: pop 0.5s ease-out forwards;
}

.skill-bubble.hidden {
    opacity: 0;
    transform: scale(0);
}



/* Tooltip styles */
.skill-bubble::before {
    content: attr(data-description);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 30;
    pointer-events: none;
}

.skill-bubble::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 30;
    pointer-events: none;
}

.skill-bubble:hover::before,
.skill-bubble:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}



@keyframes pop {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* Project Item Styles */
.project-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(87, 6, 140, 0.1);
    transition: all 0.3s ease;
}

.project-item:hover {
    background-color: rgba(87, 6, 140, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(87, 6, 140, 0.15);
}

.project-content {
    flex: 1;
}

.project-content h3 {
    margin: 0 0 12px 0;
    color: darkslategray;
    font-size: 1.4rem;
    font-weight: 600;
}

.project-description {
    margin: 0 0 15px 0;
    color: darkslategray;
    font-size: 1.1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background-color: #57068C;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-details {
    text-align: right;
    min-width: 200px;
    margin-left: 25px;
}

.project-details .date {
    font-weight: 600;
    color: darkslategray;
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.project-type {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 15px 0;
    font-style: italic;
}

.project-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-link {
    color: #57068C;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 6px 12px;
    border: 2px solid #57068C;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
}

.project-link:hover {
    background-color: #57068C;
    color: white;
    transform: translateY(-1px);
}

/* Contact Page Styles */
.contact-interests {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.contact-interests li {
    background-color: rgba(87, 6, 140, 0.05);
    padding: 12px 20px;
    margin: 8px 0;
    border-radius: 8px;
    border-left: 4px solid #57068C;
    color: darkslategray;
    font-size: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0;
    width: 100%;
}

.contact-item {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(87, 6, 140, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 140px;
}

.contact-item:hover {
    background-color: rgba(87, 6, 140, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(87, 6, 140, 0.15);
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
    color: #57068C;
}

.contact-icon svg {
    width: 2rem;
    height: 2rem;
}

.contact-content {
    flex: 1;
}

.contact-content h3 {
    margin: 0 0 8px 0;
    color: #57068C;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-detail {
    margin: 0 0 12px 0;
    color: darkslategray;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-note {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.contact-link {
    display: inline-block;
    color: #57068C;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 2px solid #57068C;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.contact-link:hover {
    background-color: #57068C;
    color: white;
    transform: translateY(-1px);
}

/* Hobby and People Section Styles */
.hobby-section, .people-section {
    background-color: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(87, 6, 140, 0.1);
    transition: all 0.3s ease;
}

.hobby-section:hover, .people-section:hover {
    background-color: rgba(87, 6, 140, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(87, 6, 140, 0.15);
}

.hobby-section h3, .people-section h3 {
    color: #57068C;
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.hobby-section p, .people-section p {
    margin: 0;
    color: darkslategray;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(87, 6, 140, 0.15);
    overflow: hidden;
}

.slideshow-wrapper {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.slide-caption {
    padding: 20px;
    background-color: rgba(87, 6, 140, 0.05);
    color: darkslategray;
    font-size: 1rem;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation Buttons */
.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(87, 6, 140, 0.8);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.slideshow-btn:hover {
    background-color: rgba(87, 6, 140, 1);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Dot Indicators */
.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: #57068C;
    transform: scale(1.2);
}

/* Thumbnail Navigation */
.thumbnail-nav {
    display: flex;
    gap: 10px;
    margin: 30px auto;
    max-width: 800px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.1);
    border-color: rgba(87, 6, 140, 0.3);
}

.thumbnail.active {
    border-color: #57068C;
    transform: scale(1.1);
}


#photo-gallery {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 300;
    color: darkslategray;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slideshow-container {
        margin: 20px 10px;
    }
    
    .slideshow-wrapper {
        height: 400px;
    }
    
    .slide img {
        height: 300px;
    }
    
    .slideshow-btn {
        padding: 10px 15px;
        font-size: 1.2rem;
    }
    
    .thumbnail-nav {
        gap: 8px;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
}