
    :root {
        --purple: #4723A4;
        --lime: #C2D039;
        --brown: #372A2A;
        --cream: #F5F4E3;
        --white: #fafafa;
        --light: #A185E5;
        --dark-purple: #301B65;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        background-color: var(--cream);
        font-family: 'Anonymous Pro', monospace;
        line-height: 1.4;
        color: var(--brown);
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        min-height: 100vh;
    }
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding: 15px 25px;
        background: var(--white);
        border-radius: 25px;
        border: 2px solid var(--brown);
    }

    .logo {
        display: flex;
        align-items: center; 
    }
    
    .logo-img {
        max-height: 40px; 
        width: auto;   
        display: block;
        transition: transform 0.3s ease;
    }
    
    .logo a:hover .logo-img {
        transform: scale(1.05) rotate(-2deg); 
    }
    

    .nav {
        display: flex;
        gap: 30px;
    }

    .nav a {
        font-family: 'Anonymous Pro', monospace;
        font-size: 14px;
        color: var(--brown);
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: color 0.3s ease;
    }

    .nav a:hover {
        color: var(--purple);
    }

    .nav a.active {
        color: var(--purple);
        font-weight: 700;
    }

    /* Mobile menu button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: relative;
    width: 30px;
    height: 30px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--brown);
    margin: 5px 0;
    transition: all 0.3s ease;
    position: absolute;
    left: 2.5px;
}

.menu-toggle span:first-child {
    top: 6px;
}

.menu-toggle span:nth-child(2) {
    top: 14px;
}

.menu-toggle span:last-child {
    bottom: 6px;
}

.menu-toggle.active span:first-child {
    transform: rotate(45deg);
    top: 14px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:last-child {
    transform: rotate(-45deg);
    bottom: 14px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 20px;
    border: 2px solid var(--brown);
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    z-index: 99;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav a {
    font-family: 'Anonymous Pro', monospace;
    font-size: 16px;
    color: var(--brown);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--purple);
}

.mobile-nav a.active {
    color: var(--purple);
    font-weight: 700;
}
    .grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 2fr 2fr;
        grid-template-rows: 1.5fr 1.5fr;
        gap: 20px;
        height: calc(100vh - 150px);
        min-height: 600px;
    }

    .card {
        border-radius: 20px;
        border: 2px solid var(--brown);
        position: relative;
        overflow: hidden;
    }

    .card.no-border {
        border: none;
        padding: 0;
    }

    .photo-card {
        background: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        grid-column: 1 / 2;
        grid-row: 1;
    }

    .photo-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    .presentation-card {
        background: var(--white);
        grid-column: 2 / 5;
        grid-row: 1;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }

    .presentation-card img {
        width: 100%;
        height: 100%;
        border-radius: 20px;
    }

    .poster-card {
        background: var(--white);
        display:flex;
        align-items: center;
        justify-content: center;
        grid-column: 5 / 6;
        grid-row: 1;
    }

    .poster-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    .project-card {
        background: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        grid-column: 1 / 3;
        grid-row: 2;
    }

    .project-card img {
        width: 120%;
        height: 100%;
        object-fit:contain;
        border-radius: 20px;
    }

    .art-card {
        background: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        grid-column: 3 / 4;
        grid-row: 2;
    }

    .art-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    .contact-card {
        background: var(--lime);
        display: flex;
        position: relative;
        grid-row: 2;
        grid-column: 4 / 6;
    }


    @media (max-width: 768px) {
        .header {
            flex-direction: column;
            gap: 15px;
            text-align: center;
        }

        .nav {
            justify-content: center;
        }

        .grid {
            grid-template-columns: 1fr;
            grid-template-rows: repeat(6, auto);
            gap: 15px;
            height: auto;
        }

        .project-card,
        .photo-card,
        .poster-card,
        .presentation-card,
        .contact-card,
        .art-card {
            grid-column: 1;
        }

        .presentation-card {
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .contact-card h2 {
            font-size: 28px;
        }
    }

    @media (max-width: 480px) {
        .container {
            padding: 15px;
        }

        .card {
            padding: 20px;
        }

        .card.no-border {
            padding: 0;
        }
    }

    .card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(71, 35, 164, 0.15) !important;
    }

    .contact-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(194, 208, 57, 0.3) !important;
    }
    /* Animation Classes */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes rotateIn {
        from {
            opacity: 0;
            transform: rotate(-10deg) scale(0.9);
        }
        to {
            opacity: 1;
            transform: rotate(0) scale(1);
        }
    }

    .card {
        opacity: 0;
        animation-fill-mode: forwards;
        animation-duration: 0.8s;
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    .header {
        opacity: 0;
        animation: fadeInUp 1s ease forwards;
    }

    .project-card {
        animation-name: fadeInScale;
        animation-delay: 0.1s;
    }

    .photo-card {
        animation-name: fadeInUp;
        animation-delay: 0.2s;
    }

    .poster-card {
        animation-name: slideInRight;
        animation-delay: 0.3s;
    }

    .presentation-card{
        animation-name: slideInLeft;
        animation-delay: 0.4s;
    }

    .contact-card {
        animation-name: fadeInUp;
        animation-delay: 0.6s;
    }

    .art-card {
        animation-name: rotateIn;
        animation-delay: 0.8s;
    }

    /* Hover pulse for contact arrow */
    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
    }

    .contact-card:hover .arrow {
        animation: pulse 1s ease-in-out infinite;
    }

    @media (max-width: 768px) {
        .landing-content {
            flex-direction: column;
            padding: 40px 20px;
            text-align: center;
        }
    
        .name-highlight h1 {
            font-size: 60px;
        }
    
        .landing-text h2 {
            font-size: 38px;
        }
    
        .landing-text .subtitle {
            font-size: 24px;
            padding-left: 0;
        }
    
        .landing-text .subtitle::before {
            display: none;
        }
    
        .spirograph-flower {
            width: 300px;
            height: 300px;
        }
    
        .bg-text {
            font-size: 120px;
        }
    
        .projects-grid {
            grid-template-columns: 1fr;
        }
    
        .page-title {
            font-size: 36px;
        }
    
        .header {
            justify-content: space-between;
            padding: 15px 20px;
        }
    
        .nav {
            display: none;
        }
    
        .menu-toggle {
            display: block;
        }
    
        .mobile-nav {
            display: flex;
        }
    
        .logo-img {
            max-height: 32px; 
        }
    }