:root {
    --bg-color: #0a0a0a;
    --card-bg: #161616;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #64ffda;
    /* Neon mint/cyan common in tech portfolios */
    --accent-glow: rgba(100, 255, 218, 0.2);
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Utilities */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

body.loading {
    overflow: hidden;
}

/* Splash Screen Loader */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    margin: 0;
    padding: 0;
    position: relative;
    font-size: 3.5vw;
    color: transparent;
    text-transform: lowercase;
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 2px;
}

.loader-text span:nth-child(1) {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(100, 255, 218, 0.8);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    overflow: hidden;
    width: 100%;
    text-align: center;
}

#loader-wrapper.animate .loader-text span:nth-child(1) {
    transform: translate(-50%, -15px);
}

.loader-text span:nth-child(2) {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(100, 255, 218, 0.8);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
    overflow: hidden;
    width: 100%;
    text-align: center;
}

#loader-wrapper.animate .loader-text span:nth-child(2) {
    transform: translate(-50%, 15px);
}

.loader-text span:nth-child(3) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleY(0);
    width: 90%;
    color: var(--bg-color);
    background: var(--accent);
    font-size: 0.25em;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-align: center;
    padding: 3px 0;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    box-shadow: 0 0 15px var(--accent-glow);
}

#loader-wrapper.animate .loader-text span:nth-child(3) {
    transform: translate(-50%, -50%) scaleY(1);
}

.loading-dots {
    display: flex;
    gap: 8px;
    margin-top: 40px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: dotPulse 1.4s infinite ease-in-out both;
    box-shadow: 0 0 5px var(--accent-glow);
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dotPulse {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.3;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .loader-text {
        font-size: 10vw;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 4rem;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title::before {
    content: "";
    display: block;
    width: 4px;
    height: 32px;
    background: var(--accent);
    margin-right: 15px;
    box-shadow: 0 0 15px var(--accent-glow);
    border-radius: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-family: var(--font-mono);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: -0.5rem;
}

.nav-links li {
    width: 100px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-position-x 0.9s linear;
}

.nav-links li:hover,
.nav-links li.active {
    background: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='390px' height='40px' viewBox='0 0 635 50'%3E%3Cpath fill='none' stroke='%2364ffda' stroke-width='1.5' d='M0,47.585c0,0,97.5,0,130,0c13.75,0,28.74-38.778,46.168-19.416C192.669,46.5,243.603,47.585,260,47.585c31.821,0,130,0,130,0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom;
    animation: line-wave 750ms;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.45s;
    line-height: 40px;
}

.nav-links li:hover a,
.nav-links li.active a {
    color: var(--accent);
}

@keyframes line-wave {
    0% {
        background-position-x: 360px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.photo-wrapper {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dashed var(--accent);
    opacity: 0.3;
}

.ring-1 {
    width: 380px;
    height: 380px;
    animation: rotate 20s linear infinite;
}

.ring-2 {
    width: 420px;
    height: 420px;
    border-style: solid;
    border-width: 1px;
    border-color: var(--accent) transparent;
    animation: rotate 15s linear reverse infinite;
}

.photo-container {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
    z-index: 2;
    background: var(--bg-color);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    cursor: pointer;
}

.profile-photo {
    width: 100%;
    height: 115%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.shimmer {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 50%;
    height: 300%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    transition: none;
}

.photo-wrapper:hover .photo-container {
    transform: perspective(1000px) rotateY(10deg) rotateX(10deg) scale(1.05);
    box-shadow: -10px 10px 50px var(--accent-glow), 0 0 20px var(--accent);
}

.photo-wrapper:hover .profile-photo {
    transform: scale(1.1);
}

.photo-wrapper:hover .shimmer {
    animation: shimmer-sweep 1.5s ease-out;
}

.photo-wrapper:hover .ring-1 {
    animation-duration: 5s;
    opacity: 0.6;
}

.photo-wrapper:hover .ring-2 {
    animation-duration: 4s;
    opacity: 0.6;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes shimmer-sweep {
    0% {
        top: -100%;
        left: -100%;
    }

    100% {
        top: 100%;
        left: 100%;
    }
}

@media (max-width: 1200px) {
    .photo-wrapper {
        right: 5%;
        width: 350px;
        height: 350px;
    }

    .ring-1 {
        width: 320px;
        height: 320px;
    }

    .ring-2 {
        width: 360px;
        height: 360px;
    }

    .photo-container {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
    }

    .photo-wrapper {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 3rem;
        order: -1;
    }
}

.greeting {
    font-family: var(--font-mono);
    color: var(--accent);
    display: block;
    margin-bottom: 1rem;
}

.name {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #b3b3b3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.code-role {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.const {
    color: #c678dd;
}

.var-name {
    color: #e5c07b;
}

.string {
    color: #98c379;
}

.tagline {
    max-width: 500px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid var(--accent);
}

.btn.primary {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
}

.btn.primary:hover {
    background: rgba(100, 255, 218, 0.2);
}

.btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: #fff;
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* About Section */
.about-grid {
    display: grid;
    gap: 2rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.about-text strong {
    color: var(--accent);
}

.personal-info {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-item h3 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: 0.95rem;
}

/* Journey Section */
.journey-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 768px) {
    .journey-container {
        grid-template-columns: 1fr;
    }
}

.journey-heading {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
}

.timeline {
    border-left: 2px solid #333;
    padding-left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--bg-color);
    border: 2px solid var(--accent);
    border-radius: 50%;
}

.timeline-item .date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-item h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.timeline-item .institution {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-small {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    font-size: 0.8rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 4px;
    transition: var(--transition);
}

.btn-small:hover {
    background: rgba(100, 255, 218, 0.1);
}

/* Projects Flip Effects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    perspective: 1000px;
}

.flipy {
    width: 100%;
    height: 400px;
    position: relative;
    cursor: pointer;
}

.flipy .card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.flipy:hover .card,
.flipy.flipped .card {
    transform: rotateY(180deg);
}

.flipy .card .face {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.flipy .card .front {
    background: var(--card-bg);
    z-index: 2;
}

.flipy .card .front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.flipy .card .front .project-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
}

.flipy .card .front .project-title-overlay h3 {
    font-size: 1.3rem;
    margin: 0;
}

.flipy .card .back {
    background: #1a1a1a;
    transform: rotateY(180deg);
    padding: 2rem;
    justify-content: center;
    text-align: left;
    border: 1px solid var(--accent);
}

.flipy .card .back p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.flipy .card .back .tech-stack {
    margin-bottom: 2rem;
}

.flipy .card .back .tech-stack span {
    padding: 4px 10px;
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.card-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.card-actions .btn-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    transition: var(--transition);
}

.card-actions .btn-github {
    background: #333;
    color: #fff;
}

.card-actions .btn-live {
    background: var(--accent);
    color: #0a0a0a;
}

.card-actions .btn-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .flipy {
        height: 350px;
    }
}

/* Skills Section */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.skill-category {
    background: rgba(100, 255, 218, 0.03);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.skill-category:hover {
    transform: translateY(-10px);
    background: rgba(100, 255, 218, 0.05);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(100, 255, 218, 0.05);
}

.skill-category h3 {
    color: var(--accent);
    margin-bottom: 2rem;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.skill-category h3::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent);
    margin-top: 8px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    perspective: 1000px;
    margin-top: 1.5rem;
}

.skill-tag {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default;
    padding: 0.6rem 1rem;
    border: 1px solid var(--accent);
    border-radius: 4px;
    background: rgba(100, 255, 218, 0.05);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-mono);
    transform-style: preserve-3d;
    transition: all 175ms cubic-bezier(0, 0, 1, 1);
    margin-bottom: 0.5rem;
}

.skill-tag i {
    font-size: 1.2rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.skill-tag::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(100, 255, 218, 0.1);
    border-radius: inherit;
    box-shadow: 0 0 0 1px var(--accent), 0 0.3em 0 0 var(--accent);
    transform: translate3d(0, 0, -1px);
    transition: all 175ms cubic-bezier(0, 0, 1, 1);
}

.skill-tag:hover,
.skill-tag.active-touch {
    background: rgba(100, 255, 218, 0.15);
    transform: translate(0, -0.45rem);
}

.skill-tag:hover::before,
.skill-tag.active-touch::before {
    transform: translate3d(0, 0.3em, -1px);
}

.skill-tag:active {
    transform: translate(0, 0.3em);
}

.skill-tag:active::before {
    transform: translate3d(0, 0, -1px);
    box-shadow: 0 0 0 1px var(--accent), 0 0.05em 0 0 var(--accent);
}

/* Icon Pulse Animation */
.skill-tag:hover i {
    animation: pulse-icon 1s infinite;
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Tooltip Styling */
.tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) rotateX(-90deg);
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    width: 200px;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 10px var(--accent-glow);
    z-index: 100;
    transform-origin: bottom center;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: var(--accent) transparent transparent transparent;
}

.skill-tag:hover .tooltip,
.skill-tag.active-touch .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0) rotateX(0deg);
}

.skill-tags span:hover:before,
.skill-tags span:hover:after {
    display: none;
    /* Clean up old pseudo-elements if any remained */
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.contact-open {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-link:hover {
    color: var(--accent);
}

.contact-loc {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin-top: 1rem;
    margin-bottom: 3rem;
    /* Added space for 3D links */
}

.contact-loc:hover {
    color: var(--accent);
}


/* New Social Links Style */
.social-3d {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 2rem;
    padding: 20px 0;
    list-style: none;
}

@media (max-width: 768px) {
    .social-3d {
        justify-content: center;
        margin-top: 3rem;
        order: 3;
    }
}

.social-3d li {
    list-style: none;
}

.social-3d li a {
    width: 40px;
    height: 40px;
    background-color: rgb(146 221 205);
    text-align: center;
    line-height: 37px;
    font-size: 25px;
    display: block;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 3px solid rgb(146 221 205);
    z-index: 1;
    transition: .5s;
}

.social-3d li a .icon {
    position: relative;
    color: #262626;
    transition: .5s;
    z-index: 3;
}

.social-3d li a:hover .icon,
.social-3d li a.active-touch .icon {
    color: #fff;
    transform: rotateY(360deg);
}

.social-3d li a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f00;
    transition: .5s;
    z-index: 2;
}

.social-3d li a:hover:before,
.social-3d li a.active-touch:before {
    top: 0;
}

/* LinkedIn Color */
.social-3d li:nth-child(1) a:before {
    background: #0077b5;
}

/* Instagram Color */
.social-3d li:nth-child(2) a:before {
    background: #e4405f;
}

/* GitHub Color */
.social-3d li:nth-child(3) a:before {
    background: #333;
}

@media (max-width: 768px) {
    .social-3d {
        justify-content: center;
    }

    .social-3d li a {
        width: 40px;
        height: 40px;
        line-height: 37px;
        font-size: 18px;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.copy {
    font-size: 2.3em;
    vertical-align: -webkit-baseline-middle;
}


/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.toast {
    background: rgba(17, 34, 64, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-left: 4px solid var(--accent);
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: var(--font-mono);
    min-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    border-left-color: #ff5555;
}

.toast.success {
    border-left-color: var(--accent);
}

/* Mobile Nav */
.hamburger {
    display: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 0;
        background: #6e8d85;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1001;
        opacity: 0;
        overflow: hidden;
        transition: all 600ms cubic-bezier(.62, .04, .3, 1.56);
        transition-delay: 100ms;
        padding: 0;
    }

    .nav-links.show {
        width: 60%;
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
        margin: 1rem 0;
        text-align: center;
        background: none !important;
        /* Remove wave animation on mobile menu items */
    }

    .nav-links a {
        font-size: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .hamburger-icon {
        display: block;
        position: fixed;
        height: 50px;
        width: 50px;
        top: 1.5rem;
        right: 2rem;
        z-index: 2000;
        cursor: pointer;
        border-radius: 50%;
        transition: all 0.2s ease-in-out;
        background: rgba(255, 255, 255, 0.1);
    }

    .hamburger-icon:hover {
        transform: scale(1.1);
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    }

    .icon-1,
    .icon-2,
    .icon-3 {
        position: absolute;
        left: 25%;
        top: 50%;
        width: 25px;
        height: 2px;
        background-color: var(--accent);
        transition: all 400ms cubic-bezier(.84, .06, .52, 1.8);
    }

    .icon-1 {
        transform: translateY(-8px);
    }

    .icon-3 {
        transform: translateY(8px);
    }

    .icon-1.a {
        transform: rotate(45deg) translateY(0);
    }

    .icon-3.b {
        transform: rotate(-45deg) translateY(0);
    }

    .icon-2.c {
        opacity: 0;
    }

    .dark-blue {
        position: fixed;
        top: 0;
        left: 0;
        background: #64B5F6;
        height: 100vh;
        width: 0;
        transition: all 500ms cubic-bezier(.62, .04, .3, 1.8);
        transition-delay: 50ms;
        z-index: 1000;
        opacity: 0;
    }

    .dark-blue.slide {
        width: 60%;
        opacity: 1;
    }

    .name {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }

    /* Hero Mobile Reorder */
    .hero {
        flex-direction: column-reverse;
        padding-top: 120px;
        justify-content: center;
        text-align: center;
    }

    .photo-wrapper {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-bottom: 2rem;
    }

    .photo-container {
        width: 260px;
        height: 260px;
    }

    .ring-1 {
        width: 300px;
        height: 300px;
    }

    .ring-2 {
        width: 330px;
        height: 330px;
    }

    .cta-buttons {
        justify-content: center;
    }

    /* Contact Mobile Reorder */
    .contact-info {
        order: 1;
    }

    .contact-form {
        order: 2;
    }
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Background Glow Effect */
.glow-sphere {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.4) 0%, rgba(100, 255, 218, 0) 70%);
    filter: blur(50px);
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-40%) translateX(20px);
    }

    100% {
        transform: translateY(-50%) translateX(0);
    }
}

/* Mobile responsive fix for glow */
@media (max-width: 768px) {
    .glow-sphere {
        right: 50%;
        transform: translate(50%, -50%);
        width: 200px;
        height: 200px;
        opacity: 0.5;
    }
}