
    .portfolio-page {
        min-height: 100vh;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        padding: 120px 20px 60px;
        margin-top: 70px;
    }

    .portfolio-header {
        text-align: center;
        margin-bottom: 60px;
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s forwards;
    }

    .portfolio-header h1 {
        font-size: 48px;
        color: #333;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .portfolio-header p {
        color: #666;
        font-size: 18px;
        max-width: 600px;
        margin: 0 auto;
    }

    .filter-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 40px;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 10px 20px;
        background: transparent;
        border: 1px solid var(--primary-color);
        color: var(--primary-color);
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 16px;
    }

    .filter-btn:hover,
    .filter-btn.active {
        background: var(--primary-color);
        color: #fff;
        transform: translateY(-2px);
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
        max-width: 1400px;
        margin: 0 auto;
        padding: 20px;
    }

    .portfolio-item {
        position: relative;
        border-radius: 15px;
        overflow: hidden;
        aspect-ratio: 16/9;
        cursor: pointer;
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s forwards;
        animation-delay: calc(var(--delay) * 0.2s);
    }

    .portfolio-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .portfolio-item:hover img {
        transform: scale(1.1);
    }

    .portfolio-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        padding: 20px;
        text-align: center;
    }

    .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
    }

    .portfolio-overlay h3 {
        color: #fff;
        font-size: 24px;
        margin-bottom: 10px;
        transform: translateY(20px);
        transition: transform 0.3s ease;
    }

    .portfolio-overlay p {
        color: var(--primary-color);
        font-size: 16px;
        transform: translateY(20px);
        transition: transform 0.3s ease 0.1s;
    }

    .portfolio-item:hover .portfolio-overlay h3,
    .portfolio-item:hover .portfolio-overlay p {
        transform: translateY(0);
    }

    .view-project-btn {
        margin-top: 15px;
        padding: 8px 20px;
        background: var(--primary-color);
        color: #fff;
        border: none;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateY(20px);
    }

    .portfolio-item:hover .view-project-btn {
        opacity: 1;
        transform: translateY(0);
    }

    .view-project-btn:hover {
        background: #fff;
        color: var(--primary-color);
    }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 768px) {
        .portfolio-header h1 {
            font-size: 36px;
        }

        .portfolio-grid {
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            padding: 10px;
        }

        .filter-buttons {
            gap: 10px;
            margin-bottom: 30px;
        }

        .filter-btn {
            padding: 8px 16px;
            font-size: 14px;
        }
    }

    .tech-stack {
        margin-top: 10px;
    }

    .tech-stack span {
        display: inline-block;
        padding: 4px 8px;
        margin: 2px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
        font-size: 0.8em;
        color: #fff;
    }

    .portfolio-overlay {
        padding: 20px;
    }

    .portfolio-overlay h3 {
        margin-bottom: 10px;
    }

    .portfolio-overlay p {
        margin-bottom: 15px;
    }

    /* Update modal styles to match theme */
    .modal-content {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 15px;
        padding: 20px;
    }

    .close {
        color: #333;
    }

    /* Update footer wave color to match theme */
    .footer-wave svg path {
        fill: #f8f9fa;
    }

    /* Side Menu Styles */
    .side-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        z-index: 1000;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        padding: 60px 20px;
    }

    .side-menu.active {
        right: 0;
    }

    .side-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .side-menu ul li {
        margin: 15px 0;
    }

    .side-menu ul li a {
        color: #333;
        text-decoration: none;
        font-size: 18px;
        transition: color 0.3s ease;
        display: block;
        padding: 10px;
    }

    .side-menu ul li a:hover,
    .side-menu ul li a.active {
        color: var(--primary-color);
    }

    .close-icon {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        cursor: pointer;
        color: #333;
        transition: color 0.3s ease;
    }

    .close-icon:hover {
        color: var(--primary-color);
    }

    /* Floating Menu Icon Styles */
    .floating-menu {
        position: static;
        box-shadow: none;
        background: none;
    }

    .menu-icon {
        cursor: pointer;
    }

    .menu-icon .line {
        background: #333;
    }

    /* Add these new header styles */
    .main-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .auth-buttons {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .auth-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #333;
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s ease;
    }

    .auth-link:hover {
        color: var(--primary-color);
    }

    .separator {
        color: #333;
        margin: 0 0.5rem;
    }

    /* Auth styles */
    .auth-dropdown {
        position: relative;
        display: inline-block;
    }

    .auth-dropdown-content {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        background-color: #fff;
        min-width: 180px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-radius: 8px;
        z-index: 1000;
        margin-top: 5px;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s, transform 0.3s;
    }

    .auth-dropdown:hover .auth-dropdown-content {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .auth-dropdown-content a {
        color: #333;
        padding: 12px 16px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s ease;
    }

    .auth-dropdown-content a:hover {
        background-color: #f8f9fa;
        color: var(--primary-color);
    }

    .dropdown-divider {
        height: 1px;
        background-color: #e9ecef;
        margin: 4px 0;
    }

    /* Auth message styles */
    .auth-message {
        margin-top: 15px;
        padding: 10px;
        border-radius: 5px;
        text-align: center;
        font-size: 0.9rem;
    }

    .auth-message.error {
        background-color: rgba(220, 53, 69, 0.1);
        color: #dc3545;
        border: 1px solid rgba(220, 53, 69, 0.2);
    }

    .auth-message.success {
        background-color: rgba(40, 167, 69, 0.1);
        color: #28a745;
        border: 1px solid rgba(40, 167, 69, 0.2);
    }
