/* --- CSS STYLES EMBEDDED FOR SIMPLICITY --- */
:root {
    --bg-color: #0A0A0A;
    --primary-color: #141414;
    --text-color: #A3A3A3;
    --heading-color: #EAEAEA;
    --accent-color: #00F0FF;
    --accent-glow: rgba(0, 240, 255, 0.3);
    --gradient-1: linear-gradient(135deg, #00F0FF, #0080FF);
    --gradient-2: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Roboto Mono', monospace;
    color: var(--heading-color);
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
}

.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px var(--accent-glow);
    letter-spacing: -0.02em;
    position: relative;
}

.hero-name::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
}

.main-header {
    position: fixed;
    width: 100%;
    z-index: 10;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: clamp(0.8rem, 2vw, 1.2rem) clamp(3%, 5vw, 5%);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--heading-color);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

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

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

.nav-link:hover::after {
    width: 100%;
}

.header-resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--bg-color);
    text-decoration: none;
    padding: clamp(0.6rem, 1.5vw, 0.8rem) clamp(1.2rem, 3vw, 1.5rem);
    background: var(--gradient-1);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
    box-shadow: 0 2px 10px rgba(0, 240, 255, 0.3);
}

.header-resume-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.4);
    background: linear-gradient(135deg, #0080FF, var(--accent-color));
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--heading-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem clamp(3%, 5vw, 5%);
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mobile-menu .header-resume-btn {
    align-self: center;
    margin-top: 1rem;
}

#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    padding: clamp(8rem, 15vw, 10rem) clamp(3%, 5vw, 5%) clamp(3rem, 8vw, 5rem);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 128, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 240, 255, 0.03) 0%, transparent 50%);
    z-index: 1;
    animation: backgroundShift 20s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        linear-gradient(45deg, transparent 40%, rgba(0, 240, 255, 0.01) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(0, 128, 255, 0.01) 50%, transparent 60%);
    z-index: 1;
    animation: meshRotate 30s linear infinite;
}

@keyframes backgroundShift {

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

    25% {
        transform: translateX(-20px) translateY(-10px);
    }

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

    75% {
        transform: translateX(-10px) translateY(20px);
    }
}

@keyframes meshRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-decoration {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.hero-decoration-1 {
    top: 15%;
    left: 10%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-decoration-2 {
    top: 60%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, rgba(0, 240, 255, 0.1), rgba(0, 128, 255, 0.1));
    border-radius: 20px;
    animation: float 8s ease-in-out infinite reverse;
    transform: rotate(45deg);
}

.hero-decoration-3 {
    bottom: 20%;
    left: 5%;
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.3), transparent);
    animation: pulse 4s ease-in-out infinite;
}

.hero-decoration-4 {
    top: 25%;
    right: 25%;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    animation: float 10s ease-in-out infinite, spin 20s linear infinite;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 240, 255, 0.4);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: -2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 40%;
    animation-delay: -4s;
    animation-duration: 12s;
}

.particle:nth-child(4) {
    left: 60%;
    animation-delay: -6s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    left: 80%;
    animation-delay: -8s;
    animation-duration: 16s;
}

.particle:nth-child(6) {
    left: 10%;
    animation-delay: -10s;
    animation-duration: 14s;
}

.particle:nth-child(7) {
    left: 30%;
    animation-delay: -12s;
    animation-duration: 22s;
}

.particle:nth-child(8) {
    left: 50%;
    animation-delay: -14s;
    animation-duration: 18s;
}

.particle:nth-child(9) {
    left: 70%;
    animation-delay: -16s;
    animation-duration: 13s;
}

.particle:nth-child(10) {
    left: 90%;
    animation-delay: -18s;
    animation-duration: 19s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    max-width: 1100px;
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    text-align: left;
    position: relative;
}

.hero-text::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.hero-image {
    flex: 0 0 clamp(200px, 25vw, 300px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    animation: spin 30s linear infinite;
    z-index: -1;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -35px;
    left: -35px;
    right: -35px;
    bottom: -35px;
    border: 1px dashed rgba(0, 128, 255, 0.1);
    border-radius: 50%;
    animation: spin 45s linear infinite reverse;
    z-index: -1;
}

.profile-image {
    width: clamp(200px, 25vw, 280px);
    height: clamp(200px, 25vw, 280px);
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    box-shadow:
        0 0 40px var(--accent-glow),
        0 0 80px rgba(0, 240, 255, 0.1),
        inset 0 0 20px rgba(0, 240, 255, 0.05);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 60px var(--accent-glow),
        0 0 120px rgba(0, 240, 255, 0.15),
        inset 0 0 30px rgba(0, 240, 255, 0.1);
}

/* Experience and Interests Sections */
#experience,
#interests {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(3%, 5vw, 5%);
    position: relative;
}

#experience::before,
#interests::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(0, 240, 255, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(0, 128, 255, 0.02) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
}

.section-title h2 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.experience-timeline {
    position: relative;
    z-index: 2;
}

.experience-item {
    display: flex;
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    padding: clamp(1.5rem, 3vw, 2rem);
    background: rgba(20, 20, 20, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

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

.experience-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg,
            rgba(0, 240, 255, 0.1) 0%,
            transparent 25%,
            transparent 75%,
            rgba(0, 128, 255, 0.1) 100%);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-item:hover::before {
    opacity: 1;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.experience-date {
    flex: 0 0 clamp(120px, 20%, 150px);
    font-family: 'Roboto Mono', monospace;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    padding-top: 0.5rem;
}

.experience-content {
    flex: 1;
}

.experience-content h3 {
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.experience-company {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.experience-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.experience-skills span {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
}

.experience-skills span:hover {
    background: rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    z-index: 2;
}

.interest-card {
    background: rgba(20, 20, 20, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

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

.interest-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg,
            rgba(0, 240, 255, 0.08) 0%,
            transparent 25%,
            transparent 75%,
            rgba(0, 128, 255, 0.08) 100%);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.interest-card:hover::before {
    opacity: 1;
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.interest-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.interest-card h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.interest-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.interest-tags span {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    background: rgba(0, 128, 255, 0.1);
    color: #0080FF;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 128, 255, 0.2);
    transition: all 0.3s ease;
}

.interest-tags span:hover {
    background: rgba(0, 128, 255, 0.2);
    transform: translateY(-2px);
}

/* Mobile responsiveness for new sections */
@media (max-width: 768px) {
    .experience-item {
        flex-direction: column;
        text-align: left;
        gap: 1rem;
    }

    .experience-date {
        flex: none;
        padding-top: 0;
        text-align: left;
    }

    .interests-grid {
        grid-template-columns: 1fr;
    }

    #experience::before,
    #interests::before {
        display: none;
    }

    .experience-item,
    .interest-card {
        background: rgba(20, 20, 20, 0.5);
        padding: 1rem;
    }
}

@media (max-width: 480px) {

    .experience-item::before,
    .interest-card::before {
        display: none;
    }
}

#project-showcase {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem) clamp(3%, 5vw, 5%);
    position: relative;
}

#project-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 128, 255, 0.03) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.project {
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    margin-bottom: clamp(4rem, 8vw, 8rem);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    position: relative;
    z-index: 2;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 12px;
    background: rgba(20, 20, 20, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            rgba(0, 240, 255, 0.1) 0%,
            transparent 25%,
            transparent 75%,
            rgba(0, 128, 255, 0.1) 100%);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project:hover::before {
    opacity: 1;
}

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

.project:nth-child(odd) {
    flex-direction: row;
}

.project:nth-child(even) {
    flex-direction: row-reverse;
}

.project-text {
    flex: 1;
    position: relative;
}

.project-image {
    flex: 1.2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(0, 240, 255, 0.1);
    max-width: 100%;
    height: clamp(250px, 30vw, 300px);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(0, 240, 255, 0.05) 0%,
            transparent 50%,
            rgba(0, 128, 255, 0.05) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.project:hover .project-image::before {
    opacity: 1;
}

.project:hover .project-image {
    transform: scale(1.02);
    box-shadow:
        0 0 60px rgba(0, 0, 0, 0.7),
        0 0 120px rgba(0, 240, 255, 0.15);
}

.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 0;
    /* Add lazy loading via HTML attribute, not CSS */
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.3rem, 1vw, 0.5rem);
    margin: 1.5rem 0;
}

.tech-stack span {
    font-family: 'Roboto Mono', monospace;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    background: rgba(34, 34, 34, 0.8);
    color: var(--accent-color);
    padding: clamp(0.2rem, 0.5vw, 0.3rem) clamp(0.4rem, 1vw, 0.6rem);
    border-radius: 4px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.tech-stack span:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.2);
}

.project-links .btn {
    display: inline-block;
    padding: clamp(0.5rem, 1.5vw, 0.7rem) clamp(1rem, 2.5vw, 1.5rem);
    background: rgba(20, 20, 20, 0.8);
    color: var(--heading-color);
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 240, 255, 0.2);
    margin: clamp(0.3rem, 1vw, 0.5rem) clamp(0.5rem, 1.5vw, 1rem) clamp(0.3rem, 1vw, 0.5rem) 0;
    text-decoration: none;
    font-size: clamp(0.8rem, 2vw, 1rem);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.project-links .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-links .btn:hover::before {
    left: 100%;
}

.project-links .btn:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}

footer {
    text-align: center;
    padding: clamp(4rem, 10vw, 8rem) clamp(3%, 5vw, 5%) clamp(3rem, 6vw, 4rem);
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 20, 0.9) 100%);
    border-top: 1px solid #333;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 240, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 128, 255, 0.03) 0%, transparent 50%);
    z-index: 1;
}

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

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-title {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-color);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-color), #0080FF);
    color: var(--bg-color);
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.resume-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.4);
    background: linear-gradient(135deg, #0080FF, var(--accent-color));
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 2rem);
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: var(--text-color);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

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

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.3);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

/* Add decoration elements to sections */
.section-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.section-decoration-1 {
    top: 10%;
    right: 5%;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
}

.section-decoration-2 {
    bottom: 15%;
    left: 8%;
    width: 40px;
    height: 40px;
    background: rgba(0, 128, 255, 0.05);
    transform: rotate(45deg);
    animation: float 10s ease-in-out infinite reverse;
}

.section-decoration-3 {
    top: 50%;
    right: 2%;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.2), transparent);
    animation: pulse 6s ease-in-out infinite;
}

/* Enhanced hr styling */
hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
    margin: clamp(3rem, 6vw, 5rem) 0;
    position: relative;
}

hr::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Mobile First Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-content {
        position: relative;
    }

    .project,
    .project:nth-child(even) {
        flex-direction: column !important;
        gap: 1.5rem;
        text-align: center;
    }

    .project-text {
        order: 2;
    }

    .project-image {
        order: 1;
        flex: none;
        max-width: 100%;
        height: 250px;
    }

    .tech-stack {
        justify-content: center;
    }

    .project-links {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-actions {
        gap: 1.5rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
    }

    hr {
        margin: 2rem 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-image {
        flex: none;
        order: -1;
    }

    .hero-name {
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .hero-tagline {
        text-align: center;
        margin-bottom: 1rem;
    }

    .project {
        margin-bottom: 3rem;
    }

    .project-image {
        height: 200px;
    }

    .project-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .project-links .btn {
        width: 100%;
        max-width: 200px;
        margin: 0;
    }

    .main-header {
        padding: 1rem 4%;
    }

    .logo {
        font-size: 1rem;
    }

    #hero {
        padding: 6rem 4% 3rem;
        min-height: 80vh;
    }

    #project-showcase {
        padding: 1rem 4%;
    }

    footer {
        padding: 3rem 4% 2rem;
    }

    .social-links {
        gap: 1rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-image {
        flex: none;
    }

    .project {
        margin-bottom: 4rem;
    }

    .project-image {
        height: 280px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
    }

    .project {
        gap: 2.5rem;
        margin-bottom: 6rem;
    }
}

@media (min-width: 1025px) {
    .hero-content {
        gap: 4rem;
    }

    .project {
        gap: 3rem;
        margin-bottom: 8rem;
    }
}

/* Landscape mobile orientation */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        min-height: 100vh;
        padding: 5rem 4% 2rem;
    }

    .hero-content {
        flex-direction: row;
        gap: 2rem;
    }

    .hero-text {
        text-align: left;
    }

    .hero-image {
        flex: 0 0 200px;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }
}

/* Mobile optimizations for decorations */
@media (max-width: 768px) {

    .hero-decoration-1,
    .hero-decoration-2,
    .hero-decoration-3,
    .hero-decoration-4,
    .section-decoration-1,
    .section-decoration-2,
    .section-decoration-3 {
        display: none;
    }

    .floating-particles {
        opacity: 0.5;
    }

    #hero::after,
    #project-showcase::before,
    footer::before {
        display: none;
    }

    .project {
        background: rgba(20, 20, 20, 0.5);
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .floating-particles {
        display: none;
    }

    #hero::before {
        opacity: 0.3;
    }

    .project::before {
        display: none;
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-1);
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: rgba(20, 20, 20, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg,
            rgba(0, 240, 255, 0.1) 0%,
            transparent 25%,
            transparent 75%,
            rgba(0, 128, 255, 0.1) 100%);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-form:hover::before {
    opacity: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: clamp(0.8rem, 2vw, 1rem);
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--heading-color);
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    background: rgba(10, 10, 10, 0.7);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-color);
    opacity: 0.7;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.submit-btn {
    width: 100%;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    background: var(--gradient-1);
    color: var(--bg-color);
    border: none;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.4);
    background: linear-gradient(135deg, #0080FF, var(--accent-color));
}

/* Mobile optimizations for contact form */
@media (max-width: 768px) {
    .contact-form {
        margin: 0 auto 2rem;
        padding: 1rem;
        background: rgba(20, 20, 20, 0.5);
    }

    .contact-form::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .form-group {
        margin-bottom: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.7rem;
    }

    .contact-form textarea {
        min-height: 100px;
    }
}

/* Add to your existing CSS */
@media (max-width: 768px) {

    /* Disable complex animations on mobile */
    .floating-particles,
    .hero-decoration-1,
    .hero-decoration-2,
    .hero-decoration-3,
    .hero-decoration-4,
    .section-decoration-1,
    .section-decoration-2,
    .section-decoration-3 {
        display: none !important;
    }

    /* Simplify backdrop filters */
    .project,
    .experience-item,
    .interest-card,
    .contact-form {
        backdrop-filter: none;
        background: rgba(20, 20, 20, 0.8) !important;
    }

    /* Disable complex gradients */
    #hero::before,
    #hero::after,
    #project-showcase::before,
    #experience::before,
    #interests::before,
    footer::before {
        display: none !important;
    }

    /* Simplify transforms */
    .project:hover,
    .experience-item:hover,
    .interest-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    /* Reduce blur effects */
    .main-header {
        backdrop-filter: none;
        background: rgba(10, 10, 10, 0.95) !important;
    }
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}