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

:root {
    --primary: #0A0E27;
    --secondary: #1A1F3A;
    --accent: #00D9FF;
    --accent-2: #7B2FFF;
    --text: #E8E9ED;
    --text-dim: #8B92B0;
    --primary-rgb: 10, 14, 39;
}

[data-theme="light"] {
    --primary: #F8F9FA;
    --secondary: #FFFFFF;
    --accent: #47a0db;
    --accent-2: #7B2FFF;
    --text: #1A1F3A;
    --text-dim: #6B7280;
    --primary-rgb: 248, 249, 250;
}

[data-theme="green"] {
    --primary: #0A0A0A;
    --secondary: #111111;
    --accent: #00FF88;
    --accent-2: #00CC6A;
    --text: #E8E9ED;
    --text-dim: #8B92B0;
    --primary-rgb: 10, 10, 10;
}

[data-theme="green-light"] {
    --primary: #F0FFF4;
    --secondary: #FFFFFF;
    --accent: #00CC6A;
    --accent-2: #00FF88;
    --text: #0A0A0A;
    --text-dim: #4B5563;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text);
    overflow: hidden;
    position: relative;
    transition: background 0.5s ease, color 0.5s ease;
}


.theme-toggle {
    position: fixed;
    top: 25px;
    right: 40px;
    z-index: 1001;
    display: flex;
    gap: 10px;
}

.theme-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    color: var(--text);
}

.theme-btn:hover {
    transform: scale(1.1);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.2);
}

.theme-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.bg-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.15;
    background:
        radial-gradient(circle at 20% 50%, var(--accent) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--accent-2) 0%, transparent 50%);
    filter: blur(100px);
    animation: bg-shift 20s ease infinite;
}

@keyframes bg-shift {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-50px) scale(1.1); }
}

.particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10%, 90% { opacity: 1; }
    50% { transform: translateY(-100vh) translateX(50px); }
}

.container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.section {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.8s ease-in-out,
                pointer-events 0.3s ease;
    padding: 80px 40px 100px;
    opacity: 0;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: none;
    z-index: 1;
}

.section[style*="opacity: 1"],
.section[style*="opacity:1"] {
    pointer-events: auto;
}

.section.opacity-1 {
    pointer-events: auto;
}

.section::-webkit-scrollbar {
    width: 8px;
}

.section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.section::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

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

.showing-home .home { transform: translateY(0); opacity: 1; pointer-events: auto; z-index: 10; }
.showing-home .services { transform: translateY(50px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-home .portfolio { transform: translateY(100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-home .experience { transform: translateY(100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-home .contact { transform: translateY(100px); opacity: 0; pointer-events: none; z-index: 1; }

.showing-services .home { transform: translateY(-50px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-services .services { transform: translateY(0); opacity: 1; pointer-events: auto; z-index: 10; }
.showing-services .portfolio { transform: translateY(100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-services .experience { transform: translateY(100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-services .contact { transform: translateY(100px); opacity: 0; pointer-events: none; z-index: 1; }

.showing-portfolio .home { transform: translateY(-100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-portfolio .services { transform: translateY(-100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-portfolio .portfolio { transform: translateY(0); opacity: 1; pointer-events: auto; z-index: 10; }
.showing-portfolio .experience { transform: translateY(100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-portfolio .contact { transform: translateY(100px); opacity: 0; pointer-events: none; z-index: 1; }

.showing-experience .home { transform: translateY(-100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-experience .services { transform: translateY(-100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-experience .portfolio { transform: translateY(-100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-experience .experience { transform: translateY(0); opacity: 1; pointer-events: auto; z-index: 10; }
.showing-experience .contact { transform: translateY(100px); opacity: 0; pointer-events: none; z-index: 1; }

.showing-contact .home { transform: translateY(-100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-contact .services { transform: translateY(-100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-contact .portfolio { transform: translateY(-100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-contact .experience { transform: translateY(-100px); opacity: 0; pointer-events: none; z-index: 1; }
.showing-contact .contact { transform: translateY(0); opacity: 1; pointer-events: auto; z-index: 10; }

.navbar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nav-indicator {
    width: 3px;
    height: 60px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    border-radius: 10px;
    position: absolute;
    left: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 20px var(--accent);
}

.nav-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-dim);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.nav-link.active {
    color: var(--accent);
    transform: scale(1.2);
}

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

.nav-label {
    position: absolute;
    left: 70px;
    white-space: nowrap;
    background: rgba(0, 217, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.nav-link:hover .nav-label {
    opacity: 1;
    transform: translateX(0);
}

.page-indicator {
    position: fixed;
    right: 40px;
    bottom: 40px;
    font-family: 'Space Grotesk', monospace;
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    z-index: 100;
    letter-spacing: -2px;
}

.home {
    z-index: 4;
    align-items: center;
}

.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    align-items: center;
}

.profile-section {
    position: relative;
}

.profile-frame {
    width: 450px;
    height: 450px;
    position: relative;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--accent);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%);
    transition: all 0.5s ease;
}

.profile-image:hover img {
    transform: scale(1.1);
}

.profile-glow {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    filter: blur(40px);
    opacity: 0.3;
    animation: glow-pulse 3s ease infinite;
    z-index: -1;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.home-text {
    max-width: 600px;
}

.greeting {
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.greeting::before {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.main-title {
    font-family: 'Space Grotesk', monospace;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.typing-text {
    display: inline-block;
    position: relative;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.subtitle {
    font-size: 24px;
    color: var(--text-dim);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn {
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1.5px solid rgba(0, 217, 255, 0.2);
}

.social-link:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.3);
}

.services {
    z-index: 3;
    overflow-y: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Space Grotesk', monospace;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-dim);
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: all 0.4s ease;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-family: 'Space Grotesk', monospace;
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-dim);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.portfolio {
    z-index: 4;
    overflow-y: auto;
}

.filter-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 30px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(0, 217, 255, 0.2);
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-tab:hover {
    background: rgba(0, 217, 255, 0.15); /* 15% opacity of accent color */
    border-color: rgba(0, 217, 255, 0.3);
    color: var(--text);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(0, 217, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.3);
}

.project-card.project-exit {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    filter: blur(2px);
    pointer-events: none;
}

.project-card.project-enter {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    filter: blur(2px);
    animation: project-enter 380ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--stagger, 0) * 55ms);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* I GO REMOVE YOU LATER... */
:root, [data-theme='green'] {
    --coming-soon-start: #00FF88;
    --coming-soon-end: #00CC6A;
}

[data-theme='light'], 
[data-theme='dark'] {
    --coming-soon-start: #0077FF;
    --coming-soon-end: #0055CC;
}

.project-image {
    background: linear-gradient(135deg, var(--coming-soon-start), var(--coming-soon-end));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}
/* JUST HANG ON FOR A WHILE */

.project-image {
    height: 180px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(123, 47, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    pointer-events: none;
}

.project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.project-card:hover .project-image::before {
    opacity: 0.15;
}

.project-content {
    padding: 20px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.project-title {
    font-family: 'Space Grotesk', monospace;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.project-links {
    display: flex;
    gap: 8px;
}

.project-link {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all 0.3s ease;
    font-size: 14px;
}

.project-link:hover {
    background: var(--accent);
    color: white;
}

.project-desc {
    color: var(--text-dim);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 14px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    padding: 5px 12px; 
    border-radius: 20px;
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-image {
        height: 200px;
    }
}

.showing-portfolio .navbar {
    left: 10px;
    transition: left 0.5s ease;
}

.showing-portfolio .portfolio {
    padding-left: 100px; 
    transition: padding 0.5s ease;
}

@media (max-width: 1024px) {
    .showing-portfolio .navbar {
        left: 20px;
    }
    
    .showing-portfolio .portfolio {
        padding-left: 40px;
    }
}

/* EXPERIENCE SECTION */
.experience {
    z-index: 1;
    overflow-y: auto;
}

.experience-content {
    max-width: 1400px;
    margin: 0 auto;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.timeline-container {
    position: relative;
}

.timeline {
    position: relative;
    padding: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    padding-left: 30px;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.timeline-dot {
    position: absolute;
    left: -9px;
    top: 25px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 20px var(--accent);
    z-index: 1;
}

.tech-stack-container {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.tech-stack-rotating {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.tech-item {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(0, 217, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    opacity: 0.5;
    transform: scale(0.85);
}

.tech-item {
    animation: tech-spotlight 15s ease-in-out infinite;
}

.tech-item:nth-child(1)  { animation-delay: 0s; }
.tech-item:nth-child(2)  { animation-delay: 1s; }
.tech-item:nth-child(3)  { animation-delay: 2s; }
.tech-item:nth-child(4)  { animation-delay: 3s; }
.tech-item:nth-child(5)  { animation-delay: 4s; }
.tech-item:nth-child(6)  { animation-delay: 5s; }
.tech-item:nth-child(7)  { animation-delay: 6s; }
.tech-item:nth-child(8)  { animation-delay: 7s; }
.tech-item:nth-child(9)  { animation-delay: 8s; }
.tech-item:nth-child(10) { animation-delay: 9s; }
.tech-item:nth-child(11) { animation-delay: 10s; }
.tech-item:nth-child(12) { animation-delay: 11s; }
.tech-item:nth-child(13) { animation-delay: 12s; }
.tech-item:nth-child(14) { animation-delay: 13s; }
.tech-item:nth-child(15) { animation-delay: 14s; }

@keyframes tech-spotlight {
    0%, 6.66%, 100% {
        opacity: 0.5;
        transform: scale(0.85);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
    }
    3.33% {
        opacity: 1;
        transform: scale(1.15);
        border-color: var(--accent);
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.4), 0 0 40px rgba(0, 217, 255, 0.2);
        z-index: 10;
    }
}

.tech-item:hover {
    animation-play-state: paused;
    opacity: 1;
    transform: scale(1.2);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
    z-index: 20;
    border-color: var(--accent);
}

.tech-item i,
.tech-item span {
    font-size: 28px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.tech-item:hover i,
.tech-item:hover span {
    transform: scale(1.1);
}

.tech-name {
    font-size: 9px;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
}

.timeline-year {
    font-family: 'Space Grotesk', monospace;
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-role {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-company {
    color: var(--text-dim);
    font-size: 16px;
}

.contact {
    overflow-y: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Space Grotesk', monospace;
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-info p {
    color: var(--text-dim);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text);
}

.contact-method:hover {
    border-color: var(--accent);
    background: rgba(0, 217, 255, 0.05);
}

.contact-method i {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
}

/* Copyright Footer - Desktop and Mobile */
.copyright-footer {
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
    opacity: 0.7;
    margin-top: 40px;
    padding-top: 30px;
}

.copyright-footer p {
    margin: 0;
}

/* Mobile - Less spacing */
@media (max-width: 1024px) {
    .copyright-footer {
        margin-top: 20px;
        padding-top: 15px;
        font-size: 12px;
    }
}


.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.form-textarea {
    resize: none;
    height: 150px;
}

.crypto-ticker {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    max-width: 800px;
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(0, 217, 255, 0.2);
    border-radius: 16px;
    padding: 0;
    z-index: 999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    background: transparent;
    overflow: hidden;
}

.showing-services .crypto-ticker,
.showing-portfolio .crypto-ticker,
.showing-experience .crypto-ticker,
.showing-contact .crypto-ticker {
    display: none;
}

.crypto-container {
    overflow: hidden;
    position: relative;
    background: transparent;
    border-radius: 16px;
    padding: 8px 0;
}

.crypto-container::before,
.crypto-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.crypto-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--secondary) 0%, rgba(255, 255, 255, 0) 100%);
}

.crypto-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--secondary) 0%, rgba(255, 255, 255, 0) 100%);
}

.crypto-track {
    display: flex;
    gap: 20px;
    animation: scroll-ticker 40s linear infinite;
    width: max-content;
    padding: 0 20px;
}

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.crypto-track:hover {
    animation-play-state: paused;
}

.crypto-coin {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    min-width: 150px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.crypto-coin:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: var(--accent);
}

.crypto-symbol {
    font-weight: 700;
    font-size: 12px;
    color: var(--accent);
}

.crypto-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.crypto-change {
    font-size: 11px;
    font-weight: 600;
}

.crypto-change.positive { color: var(--accent); }
.crypto-change.negative { color: #FF4444; }

@media (max-width: 768px) {
    .crypto-ticker {
        width: 90%;
        bottom: 10px;
    }
}

@media (max-width: 1024px) {
    .navbar {
        left: 20px;
    }

    .home-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #centralized-text {
        text-align: center;
    }

    #topper {
        text-align: center;
    }

    .contact-grid {
        display: flex;
        flex-direction: column;
    }
    
    .contact-info h2 {
        font-size: 32px;
    }

    .contact-info p {
        font-size: 16px;
    }

    .contact-methods {
        margin-top: 40px;
        margin-bottom: 0;
    }
    
    .copyright-footer {
        margin-top: 20px;
        padding-top: 15px;
        font-size: 12px;
    }

    .profile-frame {
        width: 300px;
        height: 300px;
    }

    .main-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 40px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tech-stack-container {
        position: relative;
        top: 0;
    }

    .tech-stack-rotating {
        grid-template-columns: repeat(5, 1fr);
        max-width: 100%;
        gap: 10px;
        padding: 10px;
    }

    .tech-item {
        width: 55px;
        height: 55px;
        animation: tech-spotlight 15s ease-in-out infinite;
    }

    .tech-item i,
    .tech-item span {
        font-size: 24px;
    }

    .tech-name {
        font-size: 8px;
    }

    .tech-item {
        width: 55px;
        height: 55px;
        animation: tech-spotlight 15s ease-in-out infinite;
    }

    .tech-item i,
    .tech-item span {
        font-size: 24px;
    }

    .tech-name {
        font-size: 8px;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        padding-left: 30px;
    }

    .timeline-dot {
        left: -9px;
    }

    .page-indicator {
        font-size: 32px;
        right: 20px;
        bottom: 80px;
    }

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

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


.mobile-nav-toggle {
    display: none;
    position: fixed;
    left: 20px;
    top: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1001;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text);
    animation: pulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }
}

.mobile-nav-toggle.active {
    animation: none;
}

.mobile-nav-toggle .fa-bars {
    display: block;
}

.mobile-nav-toggle .fa-times {
    display: none;
}

.mobile-nav-toggle.active .fa-bars {
    display: none;
}

.mobile-nav-toggle.active .fa-times {
    display: block;
}

.mobile-nav-toggle:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 80px 20px 20px;
}

.mobile-nav-menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(0, 217, 255, 0.2);
    border-radius: 16px;
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 80%;
    max-width: 300px;
    cursor: pointer;
}

.mobile-nav-link i {
    font-size: 24px;
    color: var(--accent);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateX(10px);
}

.mobile-nav-dots {
    display: none;
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
}

@media (max-width: 1024px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .mobile-nav-dots {
        display: flex;
    }

    .navbar {
        display: none;
    }

    .theme-toggle {
        top: 20px;
        right: 20px;
    }

    .theme-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

.notification-toast {
    position: fixed;
    top: 100px;
    right: 40px;
    padding: 20px 30px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    font-weight: 500;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.notification-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-toast.success {
    border-color: var(--accent);
    background: rgba(0, 255, 136, 0.1);
}

.notification-toast.error {
    border-color: #FF4444;
    background: rgba(255, 68, 68, 0.1);
}

@media (max-width: 768px) {
    .notification-toast {
        top: 80px;
        right: 20px;
        left: 20px;
        max-width: none;
        transform: translateY(-150px);
    }
    
    .notification-toast.show {
        transform: translateY(0);
    }
}

input[name="botcheck"],
input[name="website"],
input[name="confirm_email"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}