* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif; /* Changed to Montserrat */
}

/* Hamburger Button Styles */
.pelahm-hamburger-73fd5 {
    width: 20px; /* Reduced from 30px */
    height: 16px; /* Reduced from 25px */
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 150;
}

.pelahm-hamburger-73fd5 span {
    display: block;
    height: 1.5px; /* Thinner lines, reduced from 2px */
    width: 100%;
    background-color: #dddddd;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.pelahm-hamburger-73fd5.pelahm-active-a8e21 span:nth-child(1) {
    transform: translateY(7px) rotate(45deg); /* Adjusted from 11.5px */
}

.pelahm-hamburger-73fd5.pelahm-active-a8e21 span:nth-child(2) {
    opacity: 0;
}

.pelahm-hamburger-73fd5.pelahm-active-a8e21 span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg); /* Adjusted from -11.5px */
}

/* Sidebar Navigation - Changed to left side with dark glass effect */
.pelahm-sidebar-b9c43 {
    position: fixed;
    top: 0;
    left: -45vw;
    width: 45vw;
    height: 100vh;
    background-color: rgba(22, 22, 22, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: left 1.2s ease; /* Even slower transition */
    z-index: 120;
    /* Adjust padding to center content vertically and add modern margins */
    padding: 0 40px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    /* Add flex layout to center content vertically */
    display: flex;
    align-items: center;
}

.pelahm-sidebar-b9c43.pelahm-active-a8e21 {
    left: 0;
}

/* Darkened Overlay */
.pelahm-overlay-f71e2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease; /* Slower transition */
}

.pelahm-overlay-f71e2.pelahm-active-a8e21 {
    opacity: 1;
    visibility: visible;
}

/* Navigation Links with cinematic animation */
.pelahm-nav-links-d2e67 {
    list-style: none;
    /* Align items to the right */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    /* Add proper spacing from the edge */
    padding-right: 10%;
}

.pelahm-nav-links-d2e67 li {
    margin-bottom: 28px; /* Increased spacing between items */
    transform: translateX(-100px); /* Move further left for entry */
    opacity: 0;
    transition: all 1.2s ease; /* Slower transition */
    width: 100%;
    text-align: right;
    /* Add initial state with visibility: hidden to prevent screen readers from reading them */
    visibility: hidden;
}

/* Apply staggered animation delays when active with longer intervals */
.pelahm-sidebar-b9c43.pelahm-active-a8e21 .pelahm-nav-links-d2e67 li:nth-child(1) {
    transition-delay: 0.6s;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.pelahm-sidebar-b9c43.pelahm-active-a8e21 .pelahm-nav-links-d2e67 li:nth-child(2) {
    transition-delay: 1.0s;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.pelahm-sidebar-b9c43.pelahm-active-a8e21 .pelahm-nav-links-d2e67 li:nth-child(3) {
    transition-delay: 1.4s;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.pelahm-sidebar-b9c43.pelahm-active-a8e21 .pelahm-nav-links-d2e67 li:nth-child(4) {
    transition-delay: 1.8s;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.pelahm-sidebar-b9c43.pelahm-active-a8e21 .pelahm-nav-links-d2e67 li:nth-child(5) {
    transition-delay: 2.2s;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.pelahm-sidebar-b9c43.pelahm-active-a8e21 .pelahm-nav-links-d2e67 li:nth-child(6) {
    transition-delay: 2.6s;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

/* Exit animations - staggered in reverse with shorter intervals */
.pelahm-sidebar-b9c43:not(.pelahm-active-a8e21) .pelahm-nav-links-d2e67 li:nth-child(1) {
    transition-delay: 1.8s;
    transform: translateX(-100px);
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s ease;
}

.pelahm-sidebar-b9c43:not(.pelahm-active-a8e21) .pelahm-nav-links-d2e67 li:nth-child(2) {
    transition-delay: 1.2s;
    transform: translateX(-100px);
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s ease;
}

.pelahm-sidebar-b9c43:not(.pelahm-active-a8e21) .pelahm-nav-links-d2e67 li:nth-child(3) {
    transition-delay: 0.9s;
    transform: translateX(-100px);
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s ease;
}

.pelahm-sidebar-b9c43:not(.pelahm-active-a8e21) .pelahm-nav-links-d2e67 li:nth-child(4) {
    transition-delay: 0.6s;
    transform: translateX(-100px);
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s ease;
}

.pelahm-sidebar-b9c43:not(.pelahm-active-a8e21) .pelahm-nav-links-d2e67 li:nth-child(5) {
    transition-delay: 0.3s;
    transform: translateX(-100px);
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s ease;
}

.pelahm-sidebar-b9c43:not(.pelahm-active-a8e21) .pelahm-nav-links-d2e67 li:nth-child(6) {
    transition-delay: 0.1s;
    transform: translateX(-100px);
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s ease;
}

.pelahm-nav-links-d2e67 li a {
    color: #fff;
    text-decoration: none;
    font-size: 22px; /* Larger font size */
    font-weight: 500;
    display: block;
    padding: 12px 0; /* Increased padding for better touch targets */
    transition: all 0.5s ease;
    position: relative;
}

.pelahm-nav-links-d2e67 li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #fff;
    right: 0; /* Start from right side */
    bottom: 0;
    transition: width 0.5s ease;
}

.pelahm-nav-links-d2e67 li a:hover {
    color: #f0f0f0;
}

.pelahm-nav-links-d2e67 li a:hover::after {
    width: 100%;
}

/* Add special styling for last item if needed */
.pelahm-nav-links-d2e67 li:last-child {
    margin-bottom: 0;
}

/* Example container for the hamburger button */
.pelahm-menu-container-c6a91 {
    padding: 20px;
    display: flex;
    justify-content: flex-start;
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* Mobile devices (320px - 480px) - Small phones */
@media (max-width: 480px) {
    .pelahm-sidebar-b9c43 {
        width: 80vw;
        left: -80vw;
        padding: 0 20px;
    }

    .pelahm-nav-links-d2e67 {
        padding-right: 5%;
    }

    .pelahm-nav-links-d2e67 li {
        margin-bottom: 24px;
    }

    .pelahm-nav-links-d2e67 li a {
        font-size: 20px;
        padding: 10px 0;
    }

    .pelahm-hamburger-73fd5 {
        width: 18px;
        height: 14px;
    }

    .pelahm-hamburger-73fd5 span {
        height: 1.5px;
    }

    .pelahm-hamburger-73fd5.pelahm-active-a8e21 span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .pelahm-hamburger-73fd5.pelahm-active-a8e21 span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

/* Tablets and larger phones (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .pelahm-sidebar-b9c43 {
        width: 55vw;
        left: -55vw;
        padding: 0 30px;
    }

    .pelahm-nav-links-d2e67 {
        padding-right: 8%;
    }

    .pelahm-nav-links-d2e67 li {
        margin-bottom: 26px;
    }

    .pelahm-nav-links-d2e67 li a {
        font-size: 21px;
        padding: 11px 0;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .pelahm-sidebar-b9c43 {
        padding: 0 20px;
        overflow-y: auto;
    }

    .pelahm-nav-links-d2e67 {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .pelahm-nav-links-d2e67 li {
        margin-bottom: 15px;
    }

    .pelahm-nav-links-d2e67 li a {
        font-size: 18px;
        padding: 8px 0;
    }
}

/* Very small devices (320px and below) */
@media (max-width: 375px) {
    .pelahm-sidebar-b9c43 {
        width: 85vw;
        left: -85vw;
        padding: 0 16px;
    }

    .pelahm-nav-links-d2e67 li {
        margin-bottom: 20px;
    }

    .pelahm-nav-links-d2e67 li a {
        font-size: 18px;
        padding: 8px 0;
    }

    .pelahm-hamburger-73fd5 {
        width: 16px;
        height: 13px;
    }

    .pelahm-hamburger-73fd5.pelahm-active-a8e21 span:nth-child(1) {
        transform: translateY(5.5px) rotate(45deg);
    }

    .pelahm-hamburger-73fd5.pelahm-active-a8e21 span:nth-child(3) {
        transform: translateY(-5.5px) rotate(-45deg);
    }
}

/* Ensure touch targets are large enough on all mobile devices */
@media (max-width: 768px) {
    .pelahm-nav-links-d2e67 li a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    /* Improve overlay visibility on mobile */
    .pelahm-overlay-f71e2.pelahm-active-a8e21 {
        background-color: rgba(0, 0, 0, 0.6);
    }

    /* Prevent body scroll when menu is open */
    body.pelahm-menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}
