html{
    scroll-behavior: smooth;
}
.headshot-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}
.headshot-scroll > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}
.headshot-scroll::-webkit-scrollbar {
    height: 10px;
}
.headshot-scroll::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}
/* Hamburger icon animation */
.menu-icon {
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
}       
.menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}
.menu-icon span:nth-child(1) {
    top: 4px;
} 
.menu-icon span:nth-child(2) {
    top: 10px;
}
.menu-icon span:nth-child(3) {
    top: 16px;
}
/* Open state – transform into X */
.menu-icon.open span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}
.menu-icon.open span:nth-child(2) {
    opacity: 0;
}
.menu-icon.open span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}
/* Mobile menu slide animation */
.mobile-menu {
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 0;
}
.mobile-menu.open {
    max-height: 500px; /* adjust to fit your menu */
}
@media (min-width: 768px) {
    .mobile-menu {
    max-height: none !important;
    overflow: visible;
    }
}
/* Accordion styles */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.accordion-content.open {
    max-height: 400px; /* enough to hold the text */
}

.accordion-header .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.accordion-header.open .arrow {
    transform: rotate(90deg);
}
/* Modal overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 100;
    justify-content: center;
    align-items: center;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    padding: 2rem;
    position: relative;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}