/* Base Styles and Reset */
:root {
    --color-background: #0a0a0a;
    --color-text: #ffffff;
    --color-accent: #5d3bff;
    --color-accent-secondary: #00f2ea;
    --color-gray: #333333;
    --color-gray-light: #555555;
    --font-primary: 'Syne', sans-serif;
    --font-secondary: 'Syncopate', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text);
    font-size: 1.6rem;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

a {
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

.cursor-hover {
    width: 50px !important;
    height: 50px !important;
    background-color: rgba(255, 255, 255, 0.8);
    mix-blend-mode: difference;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxwYXRoIGQ9Ik0wIDBoMzAwdjMwMEgweiIgZmlsdGVyPSJ1cmwoI2EpIiBvcGFjaXR5PSIuMDUiLz48L3N2Zz4=');
    pointer-events: none;
    z-index: 9998;
    opacity: 0.5;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
}

.loading-title {
    font-family: 'Syncopate', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 30px;
    letter-spacing: 4px;
    position: relative;
}

.loading-accent {
    font-size: 3.5rem;
    color: transparent;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    transform: translateY(2px);
    animation: pulse 2s infinite alternate;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary));
    animation: progress 2s ease-in-out forwards;
}

@keyframes progress {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes pulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Page Container */
.page-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Header and Logo */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 40px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
   
    margin: 0 auto;
    padding: 0 50px;
}

.logo {
    position: relative;
    z-index: 1001;
    margin-left: 30px;
}

.logo a {
    text-decoration: none;
}

.logo .glitch-text {
    font-size: 5.5rem;
    margin: 0;
    padding: 0;
}

.logo-text, .logo-accent, .logo-shape {
    display: none;
}

/* Navigation */
.nav-toggle {
    position: fixed;
    top: 40px;
    right: 50px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(30, 30, 40, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.nav-toggle:hover {
    transform: scale(1.1);
    background-color: rgba(93, 59, 255, 0.2);
}

.nav-toggle-bar {
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

.nav-toggle-bar::before {
    transform: translateY(-8px);
}

.nav-toggle-bar::after {
    transform: translateY(8px);
}

.nav-open .nav-toggle-bar {
    background-color: transparent;
}

.nav-open .nav-toggle-bar::before {
    transform: rotate(45deg);
}

.nav-open .nav-toggle-bar::after {
    transform: rotate(-45deg);
}

.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-open .main-nav {
    visibility: visible;
    opacity: 1;
}

.nav-open .nav-background {
    transform: translateX(0);
}

.nav-list {
    position: relative;
    z-index: 1;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    transition-delay: 0.2s;
}

.nav-open .nav-list {
    opacity: 1;
    transform: translateY(0);
}

.nav-list li {
    margin: 2rem 0;
}

.nav-list a {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.nav-list a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    color: var(--color-accent);
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-list a:hover::before {
    width: 100%;
}

.nav-footer {
    position: absolute;
    bottom: 4rem;
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    transition-delay: 0.4s;
}

.nav-open .nav-footer {
    opacity: 1;
    transform: translateY(0);
}

.nav-socials {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--color-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 1rem;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--color-accent);
    transform: translateY(-5px);
}

/* Animations */
@keyframes loadingText {
    0% {
        opacity: 0.2;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

@keyframes loadingProgress {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

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

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-3px, 3px);
    }
    40% {
        transform: translate(-3px, -3px);
    }
    60% {
        transform: translate(3px, 3px);
    }
    80% {
        transform: translate(3px, -3px);
    }
    100% {
        transform: translate(0);
    }
}

/* Home Section */
.home-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10rem;
    overflow: hidden;
}

.home-content {
    width: 60%;
    z-index: 1;
}

.marquee-container {
    overflow: hidden;
    width: 100%;
    margin-bottom: 3rem;
}

.marquee {
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee span {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    letter-spacing: 1px;
    opacity: 0.7;
    display: inline-block;
}

.glitch-text {
    font-family: var(--font-secondary);
    font-size: 8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    position: relative;
    animation: glitch 5s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--color-accent);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 var(--color-accent-secondary);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

.home-description {
    margin-bottom: 5rem;
}

.home-description p {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.scroll-text {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.scroll-line {
    width: 10rem;
    height: 1px;
    background-color: var(--color-text);
    position: relative;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--color-accent);
    animation: scrollLine 2s infinite;
}

.home-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
}

.shape-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 40rem;
    height: 40rem;
    background: linear-gradient(45deg, var(--color-accent), transparent);
    top: 20%;
    left: 10%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 8s infinite ease-in-out;
}

.shape-2 {
    width: 30rem;
    height: 30rem;
    background: linear-gradient(45deg, var(--color-accent-secondary), transparent);
    bottom: 20%;
    right: 10%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 10s infinite ease-in-out reverse;
}

.shape-3 {
    width: 20rem;
    height: 20rem;
    background: linear-gradient(45deg, #ff3366, transparent);
    top: 40%;
    right: 30%;
    filter: blur(40px);
    opacity: 0.2;
    animation: float 12s infinite ease-in-out;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    color: var(--color-text);
    animation: float 6s infinite ease-in-out;
}

.shopify-icon {
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.code-icon {
    top: 60%;
    left: 50%;
    animation-delay: 1s;
}

.design-icon {
    top: 40%;
    right: 20%;
    animation-delay: 2s;
}

.hero-accent {
    font-size: 4.5rem;
    color: transparent;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    transform: translateY(2px);
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite alternate;
}

@keyframes scrollLine {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(9.3rem);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }
    10% {
        clip: rect(112px, 9999px, 76px, 0);
    }
    20% {
        clip: rect(85px, 9999px, 77px, 0);
    }
    30% {
        clip: rect(27px, 9999px, 97px, 0);
    }
    40% {
        clip: rect(64px, 9999px, 98px, 0);
    }
    50% {
        clip: rect(61px, 9999px, 85px, 0);
    }
    60% {
        clip: rect(99px, 9999px, 114px, 0);
    }
    70% {
        clip: rect(34px, 9999px, 115px, 0);
    }
    80% {
        clip: rect(98px, 9999px, 129px, 0);
    }
    90% {
        clip: rect(43px, 9999px, 96px, 0);
    }
    100% {
        clip: rect(82px, 9999px, 64px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(125px, 9999px, 162px, 0);
    }
    10% {
        clip: rect(120px, 9999px, 147px, 0);
    }
    20% {
        clip: rect(113px, 9999px, 138px, 0);
    }
    30% {
        clip: rect(142px, 9999px, 167px, 0);
    }
    40% {
        clip: rect(132px, 9999px, 151px, 0);
    }
    50% {
        clip: rect(146px, 9999px, 156px, 0);
    }
    60% {
        clip: rect(108px, 9999px, 154px, 0);
    }
    70% {
        clip: rect(142px, 9999px, 167px, 0);
    }
    80% {
        clip: rect(111px, 9999px, 172px, 0);
    }
    90% {
        clip: rect(131px, 9999px, 162px, 0);
    }
    100% {
        clip: rect(105px, 9999px, 142px, 0);
    }
}

/* Work Section */
.work-section {
    padding: 10rem;
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 6rem;
}

.section-number {
    font-family: var(--font-secondary);
    font-size: 10rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    margin-right: 2rem;
    line-height: 1;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 6rem;
    height: 3px;
    background-color: var(--color-accent);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
    gap: 4rem;
    margin-bottom: 6rem;
}

.project-item {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s forwards;
}

.project-item:nth-child(2) {
    animation-delay: 0.2s;
}

.project-item:nth-child(3) {
    animation-delay: 0.4s;
}

.project-image-container {
    position: relative;
    height: 25rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.project-image-1 {
    background-image: url('https://images.unsplash.com/photo-1556742111-a301076d9d18?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.project-image-2 {
    background-image: url('https://images.unsplash.com/photo-1607082349566-187342175e2f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.project-image-3 {
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-category {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.view-project {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.view-project::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text);
    transition: width 0.3s ease;
}

.project-image-container:hover .project-overlay {
    opacity: 1;
}

.project-image-container:hover .project-image {
    transform: scale(1.1);
}

.project-image-container:hover .view-project::after {
    width: 100%;
}

.project-info {
    padding: 0 1rem;
}

.project-title {
    font-family: var(--font-secondary);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.project-description {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
}

.project-tags span {
    font-size: 1.2rem;
    padding: 0.5rem 1.5rem;
    background-color: var(--color-gray);
    border-radius: 3rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.cta-container {
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1.5rem 3rem;
    background-color: transparent;
    border: 1px solid var(--color-accent);
    border-radius: 3rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-accent);
    z-index: -1;
    transition: width 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.cta-button:hover::before {
    width: 100%;
}

.cta-text {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-right: 1rem;
}

.cta-icon {
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon {
    transform: translateX(5px);
}

/* About Section */
.about-section {
    padding: 10rem;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-bottom: 10rem;
}

.about-text {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s forwards;
}

.large-text {
    font-size: 3.2rem;
    line-height: 1.4;
    margin-bottom: 3rem;
}

.highlight {
    color: var(--color-accent);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--color-accent);
    opacity: 0.3;
}

.skills-container {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s forwards;
    animation-delay: 0.2s;
}

.skill-category {
    margin-bottom: 4rem;
}

.category-title {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.skills-list {
    display: grid;
    gap: 2rem;
}

.skill-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.skill-name {
    font-size: 1.6rem;
}

.skill-bar {
    height: 3px;
    background-color: var(--color-gray);
    position: relative;
}

.skill-level {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary));
    animation: skillLevel 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    transform-origin: left;
    transform: scaleX(0);
}

.services-container {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s forwards;
    animation-delay: 0.4s;
    margin-top: 8rem;
}

.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 6rem;
    width: 100%;
}

.service-item {
    padding: 2.5rem;
    background-color: rgba(51, 51, 51, 0.3);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 1;
    transform: translateY(0);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    width: calc(25% - 1.5rem);
}

.service-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.service-dimmed {
    opacity: 0.4;
    transform: scale(0.98);
}

.service-link-clicked span {
    color: var(--color-accent);
}

.service-icon-wrapper {
    margin-bottom: 2rem;
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--color-text);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-item:hover .service-title {
    transform: translateX(10px);
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.7rem;
    flex-grow: 1;
}

.service-link {
    display: flex;
    align-items: center;
    margin-top: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
    padding-top: 2rem;
}

.service-link span {
    font-size: 1.6rem;
    font-weight: 600;
    margin-right: 1rem;
}

.service-link i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.service-item:hover .service-link {
    opacity: 1;
}

.service-item:hover .service-link i {
    transform: translateX(5px);
}

/* Contact Section */
.contact-section {
    padding: 10rem;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-text {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s forwards;
}

.contact-info {
    margin: 4rem 0;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-label {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.contact-value {
    font-size: 1.8rem;
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
}

.social-link {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-right: 3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

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

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

.contact-form-container {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s forwards;
    animation-delay: 0.2s;
}

.contact-form {
    display: grid;
    gap: 3rem;
}

.form-group {
    position: relative;
}

.form-group label {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 1rem;
    left: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--color-gray-light);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 1.6rem;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
    transform: translateY(-2rem);
    font-size: 1rem;
    color: var(--color-accent);
}

.form-group textarea {
    min-height: 15rem;
    resize: none;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 3rem;
    background-color: transparent;
    border: 1px solid var(--color-accent);
    border-radius: 3rem;
    color: var(--color-text);
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-accent);
    z-index: -1;
    transition: width 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.submit-button:hover::before {
    width: 100%;
}

.button-text {
    margin-right: 1rem;
}

.button-icon {
    transition: transform 0.3s ease;
}

.submit-button:hover .button-icon {
    transform: translateX(5px);
}

/* Footer */
.footer {
    padding: 60px 0;
    background-color: rgba(20, 20, 30, 0.8);
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    font-family: 'Syncopate', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 3px;
    position: relative;
}

.footer-logo-accent {
    font-size: 2.4rem;
    color: transparent;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    transform: translateY(2px);
}

.footer-text {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    font-size: 1.6rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icon:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    color: var(--color-text);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(93, 59, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
    
    .home-section,
    .work-section,
    .about-section,
    .contact-section,
    .footer {
        padding: 8rem;
    }
    
    .glitch-text {
        font-size: 7rem;
    }
    
    .projects-container,
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    }
}

@media (max-width: 992px) {
    html {
        font-size: 55%;
    }
    
    .home-section,
    .work-section,
    .about-section,
    .contact-section,
    .footer {
        padding: 6rem;
    }
    
    .home-content {
        width: 100%;
    }
    
    .home-visual {
        opacity: 0.3;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .skills-container {
        margin-bottom: 6rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%;
    }
    
    .home-section,
    .work-section,
    .about-section,
    .contact-section,
    .footer {
        padding: 4rem;
    }
    
    .glitch-text {
        font-size: 5rem;
    }
    
    .section-number {
        font-size: 6rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .projects-container,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 1rem;
    }
    
    /* Center the logo for mobile */
    .header-inner {
        justify-content: center;
        padding: 0;
    }
    
    .logo {
        margin: 0;
        text-align: center;
    }
    
    .logo .glitch-text {
        font-size: 3.5rem;
    }
    
    /* Move navbar toggle to bottom left */
    .nav-toggle {
        top: auto;
        bottom: 20px;
        left: 20px;
        right: auto;
        width: 50px;
        height: 50px;
    }
    
    .nav-list a {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .nav-list a {
        font-size: 2.5rem;
    }
    
    .home-section,
    .work-section,
    .about-section,
    .contact-section,
    .footer {
        padding: 3rem;
    }
    
    .glitch-text {
        font-size: 4rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-number {
        margin-bottom: 1rem;
    }
    
    .skill-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
