:root {
    --background-color: #F8FAFC;
    --background-tile-color: rgba(255, 255, 255, 0.6);
    --text-color: #0F172A;
    --link-color: #6366F1;
    --hover-color: #EEF2FF;
    --border-color: rgba(255, 255, 255, 0.4);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* Hide default cursor (trail dots replace it) */
*, *::before, *::after {
    cursor: none !important;
}

.darkmode {
    --background-color: #0B0E14;
    --background-tile-color: rgba(17, 24, 39, 0.4);
    --text-color: #F8FAFC;
    --link-color: #818CF8;
    --hover-color: #4F46E5;
    --border-color: rgba(255, 255, 255, 0.05);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}


/* TARGET ALL ELEMENTS */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family:'Inter', sans-serif;
    background-color: var(--background-color);
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
}

/* Kamehameha Section Divider — 3-part layout */
.kame-divider {
    display: flex;
    align-items: center;
    width: 100%;
    height: 80px;
    margin: 30px 0;
    overflow: hidden;
}

.kame-left {
    width: 80px;
    height: 100%;
    flex-shrink: 0;
    background: url('kame_left.gif') no-repeat right center;
    background-size: auto 100%;
    filter: hue-rotate(45deg);
}

.kame-beam {
    flex: 1;
    height: 100%;
    background: url('kame_beam.gif') repeat-x center center;
    background-size: auto 100%;
    filter: hue-rotate(45deg);
}

.kame-right {
    width: 100px;
    height: 100%;
    flex-shrink: 0;
    background: url('kame_right.gif') no-repeat left center;
    background-size: auto 100%;
    filter: hue-rotate(45deg);
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a{
    color: var(--link-color);
    text-decoration: none;
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    padding-right: 120px;
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 900;
    background-color: var(--background-tile-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

nav .left a {
    color: var(--text-color); /* link color */
    font-size: 22px; /* font size */
    font-weight: 600; /* bold text */
}

nav .right a {
    color: var(--text-color); /* link color */
    margin: 0 10px; /* spacing between links */
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav .right a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--link-color);
    transition: width 0.3s ease;
}

nav .right a:hover:after {
    width: 100%;
}


nav .right a:last-child {
    color: var(--background-color); /* text color for button */
    background-color: var(--text-color); /* button background */
    padding: 5px 15px; /* button padding */
    border-radius: 5px;

}

/* Add spacing to any span inside right links */
nav .right a span{
    margin-left: 5px;    /* 5px space between icon and text */
}




/* SECTION 1: HERO */
.hero-section{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    margin: 50px 0;
    margin-bottom: 100px;
    gap: 40px;
}

.hero-section .text{
    flex: 5;
    color: var(--text-color);
}

.hero-section .text h2 {
    font-size: 45px;
    color: var(--text-color);
}


.hero-section .text .links {
    margin-top: 25px;
}

.hero-section .text .links a {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Inline GIF next to heading */
.inline-gif {
    height: 150px;
    width: auto;
    vertical-align: middle;
    margin-left: 10px;
    border-radius: 8px;
    margin-top: -35px;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.inline-gif:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Vegeta GIF next to resume button */
.masenko-gif {
    height: 80px;
    width: auto;
    vertical-align: middle;
    margin-left: -115px;
    margin-top: -15px;
    position: relative;
    z-index: -1;
    transform: scaleX(-1);
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.masenko-gif:hover {
    opacity: 1;
    transform: scaleX(-1) scale(1.15);
}

/* Contact section decorative GIF */
.contact-gif-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.contact-gif {
    max-width: 220px;
    border-radius: 16px;
    opacity: 0.85;
    filter: drop-shadow(0 4px 20px rgba(99, 102, 241, 0.15));
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-gif:hover {
    opacity: 1;
    transform: scale(1.05);
}

.hero-section .headshot{
    flex: 2;
    display: flex;
    justify-content: right;
}

.hero-section .headshot img{
    border-radius: 20%;
    width: 250px;
    position: relative;
    z-index: 1;
    animation: dbz-aura-pulse 2s ease-in-out infinite;
    box-shadow:
        /* Inner glow */
        0 0 15px rgba(59, 130, 246, 0.6),
        0 0 30px rgba(59, 130, 246, 0.4),
        /* Mid glow */
        0 0 60px rgba(99, 102, 241, 0.35),
        0 0 80px rgba(99, 102, 241, 0.25),
        /* Outer glow */
        0 0 110px rgba(139, 92, 246, 0.2),
        0 0 150px rgba(139, 92, 246, 0.1);
}

/* DBZ Aura Pulse Animation */
@keyframes dbz-aura-pulse {
    0%, 100% {
        box-shadow:
            0 0 15px rgba(59, 130, 246, 0.6),
            0 0 30px rgba(59, 130, 246, 0.4),
            0 0 60px rgba(99, 102, 241, 0.35),
            0 0 80px rgba(99, 102, 241, 0.25),
            0 0 110px rgba(139, 92, 246, 0.2),
            0 0 150px rgba(139, 92, 246, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow:
            0 0 20px rgba(59, 130, 246, 0.8),
            0 0 45px rgba(59, 130, 246, 0.5),
            0 0 75px rgba(99, 102, 241, 0.45),
            0 0 100px rgba(99, 102, 241, 0.3),
            0 0 140px rgba(139, 92, 246, 0.25),
            0 0 200px rgba(139, 92, 246, 0.15);
        transform: scale(1.03);
    }
}

/* Hover intensifies the aura */
.hero-section .headshot img:hover {
    animation: dbz-aura-powerup 0.8s ease-in-out infinite;
}

@keyframes dbz-aura-powerup {
    0%, 100% {
        box-shadow:
            0 0 25px rgba(59, 130, 246, 0.9),
            0 0 50px rgba(59, 130, 246, 0.6),
            0 0 80px rgba(99, 102, 241, 0.5),
            0 0 120px rgba(99, 102, 241, 0.35),
            0 0 160px rgba(139, 92, 246, 0.3),
            0 0 220px rgba(236, 72, 153, 0.15);
        transform: scale(1.05);
    }
    50% {
        box-shadow:
            0 0 30px rgba(59, 130, 246, 1),
            0 0 60px rgba(59, 130, 246, 0.7),
            0 0 100px rgba(99, 102, 241, 0.6),
            0 0 150px rgba(139, 92, 246, 0.4),
            0 0 200px rgba(236, 72, 153, 0.3),
            0 0 280px rgba(236, 72, 153, 0.15);
        transform: scale(1.08);
    }
}
    
/* SECTION 2: SKILLS */
.skills-section {
    padding: 0 50px;
    margin-top: 20px;
}

.skills-section h2 {
    text-align: center;
    font-size: 35px;
    color: var(--text-color);
}

.skills-section .text {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
}

.skills-section .cells {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-color);
}

/* Update your skills cells for better appearance */
.skills-section .cells .cell {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 200px;
    padding: 15px 20px; 
    margin: 15px;
    border: 1.5px solid var(--text-color);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: var(--background-tile-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.skills-section .cells .cell:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--link-color);
}

.skills-section .cells .cell img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 2px;
}

.skills-section .cells .cell span {
    font-size: 18px;
}


/* PROJECTS SECTION */
.projects-section {
    padding: 80px 50px;   
}

.projects-section h2 {
    text-align: center;
    font-size: 35px;
    margin-bottom: 50px;
    color: var(--text-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--background-tile-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--link-color);
}

.darkmode .project-card:hover {
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.project-content {
    padding: 25px;
    color: var(--text-color);
}

.project-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    
    
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tech-pill {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--link-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.tech-pill:hover {
    background-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.project-description {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-features {
    list-style-type: none;
    
}

.project-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.5;
}

.project-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a76ee;
    font-weight: bold;
}


/* CONTACT SECTION */
.contact-section {
    padding: 80px 50px;
    color: var(--background-color);
    text-align: center;
}

.contact-section h2 {
    font-size: 35px;
    margin-bottom: 20px;
    color: var(--text-color);;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text-color);;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    color: var(--text-color);
    
}

.contact-details a {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-color);
    background-color: var(--background-tile-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--card-shadow);
}

.contact-details a:hover {
    transform: translateY(-5px);
    color: var(--link-color);
    border-color: var(--link-color);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
}

.contact-details a i {
    margin-right: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 30px auto 0 auto;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--background-tile-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--link-color);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.contact-form button {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: var(--link-color);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.form-message {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    color: var(--link-color);
}

/***************** MOBILE STYLES ********************************/

/* Tablet — 840px */
@media (max-width: 840px) {
    /* Reduce padding across all sections */
    nav, .hero-section, .skills-section, .projects-section, .contact-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    nav {
        padding-right: 80px;
    }

    /* Hide nav text labels — switch to icon-only earlier */
    nav .right a span {
        display: none;
    }

    nav .right a:last-child {
        color: var(--text-color);
        background-color: transparent;
        padding: 0;
    }

    .hero-section .text h2 {
        font-size: 35px;
    }

    /* Smaller inline GIF on tablet */
    .inline-gif {
        height: 100px;
        margin-top: -25px;
    }

    /* Smaller Vegeta GIF on tablet */
    .masenko-gif {
        height: 60px;
        margin-left: -80px;
    }

    /* Slightly smaller Kamehameha on tablet */
    .kame-divider {
        height: 60px;
        margin: 20px 0;
    }

    .kame-left {
        width: 60px;
    }

    .kame-right {
        width: 80px;
    }
}

/* Small Tablet / Large Phone — 740px */
@media (max-width: 740px) {
    /* Stack hero vertically */
    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        margin-bottom: 50px;
    }

    .hero-section .headshot {
        justify-content: center;
    }

    .hero-section .headshot img {
        width: 220px;
    }

    /* Reduce aura glow on smaller screens */
    .hero-section .headshot img {
        box-shadow:
            0 0 10px rgba(59, 130, 246, 0.5),
            0 0 20px rgba(59, 130, 246, 0.3),
            0 0 40px rgba(99, 102, 241, 0.25),
            0 0 60px rgba(99, 102, 241, 0.15);
    }

    .hero-section .text .links {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }

    /* Projects single column */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Smaller Kamehameha */
    .kame-divider {
        height: 45px;
        margin: 15px 0;
    }

    .kame-left {
        width: 45px;
    }

    .kame-right {
        width: 60px;
    }
}

/* Phone — 600px */
@media (max-width: 600px) {
    /* Hide cursor trail on mobile (touch devices) */
    .circle {
        display: none;
    }

    /* Restore default cursor on mobile */
    *, *::before, *::after {
        cursor: auto !important;
    }

    /* NAVBAR */
    nav {
        padding: 0 15px;
        padding-right: 90px;
        height: 60px;
    }

    nav .left a {
        font-size: 16px;
    }

    nav .right a {
        font-size: 18px;
        margin: 0 5px;
    }

    nav .right a:last-child {
        color: var(--text-color);
        background-color: transparent;
        padding: 0;
    }

    nav .right a span {
        display: none;
    }

    /* HERO */
    .hero-section {
        padding: 0 15px;
        margin: 30px 0;
        margin-bottom: 40px;
        gap: 25px;
    }

    .hero-section .text h2 {
        font-size: 26px;
    }

    .hero-section .headshot img {
        width: 180px;
    }

    /* Smaller inline GIF next to name */
    .inline-gif {
        height: 60px;
        margin-top: -15px;
        margin-left: 5px;
    }

    /* Smaller Vegeta GIF */
    .masenko-gif {
        height: 45px;
        margin-left: -55px;
        margin-top: -10px;
    }

    /* Typed tagline */
    .typed-tagline {
        font-size: 15px;
    }

    /* KAMEHAMEHA DIVIDERS */
    .kame-divider {
        height: 35px;
        margin: 10px 0;
    }

    .kame-left {
        width: 35px;
    }

    .kame-right {
        width: 50px;
    }

    /* SKILLS */
    .skills-section {
        padding: 0 15px;
        margin-top: 10px;
    }

    .skills-section h2 {
        font-size: 28px;
    }

    .skills-section .cells .cell {
        width: 150px;
        padding: 10px 15px;
        margin: 8px;
    }

    .skills-section .cells .cell span {
        font-size: 14px;
    }

    .skills-section .cells .cell img {
        width: 28px;
        height: 28px;
    }

    /* PROJECTS */
    .projects-section {
        padding: 40px 15px;
    }

    .projects-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .project-content {
        padding: 18px;
    }

    .project-title {
        font-size: 18px;
    }

    /* CONTACT */
    .contact-section {
        padding: 40px 15px;
    }

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

    .contact-gif {
        max-width: 150px;
    }

    .contact-details a {
        width: 100%;
        justify-content: center;
    }

    /* FOOTER */
    footer {
        padding: 30px 15px;
    }

    /* Theme switch — centered in the 60px nav */
    #theme-switch {
        top: 16px;
        right: 12px;
        width: 52px;
        height: 28px;
    }

    .theme-slider {
        width: 20px;
        height: 20px;
    }

    body.darkmode .theme-slider {
        left: calc(100% - 24px);
    }
}

/********************************** STYLING IMPROVEMENTS ************************************************/

/* Dark/Light Mode Toggle Switch */
#theme-switch {
    width: 64px;
    height: 32px;
    border-radius: 30px;
    background-color: var(--background-tile-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    padding: 0 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


#theme-switch:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
    border-color: var(--link-color);
}

.theme-slider {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--link-color);
    border-radius: 50%;
    left: 4px; /* Positions slider over the sun */
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
}

body.darkmode .theme-slider {
    left: calc(100% - 28px); /* Slides over to the moon */
}

#theme-switch i {
    font-size: 14px;
    z-index: 2;
    transition: color 0.4s ease;
}

.sun-icon {
    color: #FFFFFF; /* High contrast inside the slider */
}

.moon-icon {
    color: var(--text-color); /* Idle color */
}

body.darkmode .sun-icon {
    color: var(--text-color); /* Idle color */
}

body.darkmode .moon-icon {
    color: #FFFFFF; /* High contrast inside the slider */
}





body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav, section, .project-card, .cell {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.links a {
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    overflow: visible;
    z-index: 1;
    transition: all 0.3s ease;
    background-color: var(--background-tile-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

/* Rainbow border */
.links a::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    background: linear-gradient(
        90deg,
        var(--link-color),
        #a855f7,
        #ec4899,
        var(--link-color)
    );
    background-size: 300% 300%;
    animation: rgb-border 6s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Show rainbow border on hover */
.links a:hover {
    transform: translateY(-3px);
    color: var(--text-color);
}

.links a:hover::before {
    opacity: 1;
}

/* Animate the gradient */
@keyframes rgb-border {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}

.section-divider {
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--link-color), transparent);
    background-size: 200% 100%;
    animation: rainbow-line 4s linear infinite;
    margin: 60px 0;
    border-radius: 1px;
    opacity: 0.5;
}

@keyframes rainbow-line {
0% { background-position: 0% 0%; }
100% { background-position: 200% 0%; }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 30px auto 0 auto;
}


/* Interactive Canvas Circles for Script */
.circle {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typed text cursor */
.typed-tagline {
    font-size: 18px;
    color: var(--link-color);
    font-weight: 500;
    margin-top: 8px;
    margin-bottom: 8px;
    min-height: 28px;
}

.typed-tagline .cursor {
    display: inline-block;
    border-right: 2px solid var(--link-color);
    animation: blink-cursor 0.75s step-end infinite;
    margin-left: 2px;
    height: 1.2em;
    vertical-align: text-bottom;
}

@keyframes blink-cursor {
    50% { border-color: transparent; }
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 50px;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 14px;
    opacity: 0.7;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

footer .footer-links a {
    color: var(--text-color);
    font-size: 20px;
    transition: all 0.3s ease;
}

footer .footer-links a:hover {
    color: var(--link-color);
    transform: translateY(-3px);
}

/* Project links button */
.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--link-color);
    border: 1px solid var(--border-color);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.project-links a:hover {
    background-color: rgba(99, 102, 241, 0.1);
    border-color: var(--link-color);
    transform: translateY(-2px);
}

/* Success message */
.form-success {
    color: #10B981;
    font-weight: 600;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-error {
    color: #EF4444;
    font-weight: 600;
    animation: fadeInUp 0.5s ease;
}

/* Mobile theme switch alignment — MUST come after desktop #theme-switch styles */
@media (max-width: 600px) {
    #theme-switch {
        top: 16px;
        right: 12px;
        width: 52px;
        height: 28px;
    }

    .theme-slider {
        width: 20px;
        height: 20px;
    }

    body.darkmode .theme-slider {
        left: calc(100% - 24px);
    }
}
