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

/* CSS Custom Properties for Brand Colors */
:root {
    --primary-gradient: linear-gradient(135deg, #4ecdc4, #45b7d1);
    --secondary-gradient: linear-gradient(135deg, #ff6b6b, #ff9ff3);
    --accent-gradient: linear-gradient(135deg, #96ceb4, #00d2d3);
    --purple-gradient: linear-gradient(135deg, #5f27cd, #54a0ff);
    --yellow-gradient: linear-gradient(135deg, #feca57, #ff6b6b);
    
    --primary-color: #4ecdc4;
    --secondary-color: #ff6b6b;
    --accent-color: #96ceb4;
    --highlight-color: #45b7d1;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: #ffffff;
    overflow-x: hidden;
}

/* Skip Navigation for Accessibility */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 4px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.skip-nav:focus {
    top: 0;
    opacity: 1;
    transform: translateY(0);
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Navigation with squiggly underlines */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 2rem;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.5s ease;
    backdrop-filter: blur(20px);
    background: rgba(45, 55, 72, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #ffffff;
}

/* Fixed Logo Styling - Much Larger */
.logo-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 2px;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05);
}

.logo-icon:hover .logo-image {
    transform: scale(1.1);
}

.nav-brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #a0aec0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Squiggly underlines */
.text-draw__box {
    color: var(--primary-color);
    width: 100%;
    height: 0.625em;
    position: relative;
    margin-top: 0.25rem;
}

.text-draw__box-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: visible !important;
}

/* Fixed CTA Button Styling */
.nav-cta {
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.3);
    position: relative;
    overflow: hidden;
}

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

.nav-cta:hover::before {
    left: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(45, 55, 72, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
}

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

.mobile-nav-item {
    position: relative;
}

.mobile-menu a {
    display: block;
    color: #a0aec0;
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
    position: relative;
}

.mobile-menu a:hover {
    color: var(--primary-color);
}

.mobile-menu .text-draw__box {
    color: var(--primary-color);
    width: 100%;
    height: 0.625em;
    position: relative;
    margin-top: 0.25rem;
}

/* Landing Section */
.landing {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

/* Subtle background effects */
.landing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 107, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 20%, rgba(69, 183, 209, 0.06) 0%, transparent 60%);
    background-size: 400px 400px, 600px 600px, 350px 350px;
    background-position: 0% 0%, 100% 100%, 50% 0%;
    opacity: 0.6;
    animation: float 20s ease-in-out infinite, drift 30s linear infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(1.1); 
        opacity: 0.4;
    }
}

@keyframes drift {
    0% { 
        background-position: 0% 0%, 100% 100%, 50% 0%; 
    }
    25% { 
        background-position: 25% 25%, 75% 75%, 25% 25%; 
    }
    50% { 
        background-position: 50% 50%, 50% 50%, 0% 50%; 
    }
    75% { 
        background-position: 75% 25%, 25% 75%, 75% 25%; 
    }
    100% { 
        background-position: 0% 0%, 100% 100%, 50% 0%; 
    }
}

.logo-container {
    position: relative;
    text-align: center;
    z-index: 10;
}

.text {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    margin-bottom: 2rem;
}

.letter {
    display: inline-block;
    position: relative;
    transform-origin: center bottom;
    cursor: pointer;
}

.letter.space {
    width: 0.3em;
}

/* Enhanced SVG particle system */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.particle {
    position: absolute;
    opacity: 1;
    z-index: 9999;
}

.particle.svg-triangle {
    width: 12px;
    height: 12px;
}

.particle.svg-circle {
    width: 8px;
    height: 8px;
}

.particle.svg-diamond {
    width: 10px;
    height: 10px;
}

.particle.svg-star {
    width: 14px;
    height: 14px;
}

.particle.svg-hexagon {
    width: 12px;
    height: 12px;
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 300;
    color: #a0aec0;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 3s forwards;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.subtitle {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    font-weight: 400;
    color: #718096;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 3.5s forwards;
    letter-spacing: 0.02em;
}

.cta-section {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 4s forwards;
    margin-top: 2rem;
}

/* Fixed CTA Button Colors */
.cta-button {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 0 8px;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::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;
}

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

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(78, 205, 196, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #4ecdc4;
    border: 2px solid rgba(78, 205, 196, 0.6);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: rgba(78, 205, 196, 0.1);
    border-color: #45b7d1;
    color: #45b7d1;
}

/* Color palette for letters - original vibrant colors */
.letter:nth-child(1) { color: #ff6b6b; }
.letter:nth-child(2) { color: #4ecdc4; }
.letter:nth-child(3) { color: #45b7d1; }
.letter:nth-child(4) { color: #96ceb4; }
.letter:nth-child(5) { color: #feca57; }
.letter:nth-child(6) { color: #ff9ff3; }
.letter:nth-child(7) { color: #54a0ff; }
.letter:nth-child(8) { color: #5f27cd; }
.letter:nth-child(9) { color: #00d2d3; }

/* ORGANIC FLOWING SECTIONS - NO STRAIGHT DIVIDERS */
.content-flow {
    position: relative;
    background: linear-gradient(180deg, 
        rgba(45, 55, 72, 0) 0%, 
        rgba(26, 32, 44, 0.3) 20%,
        #1a202c 40%, 
        #2d3748 70%, 
        #1a202c 100%);
    margin-top: -200px;
    padding-top: 200px;
}

.section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #a0aec0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-title-underline {
    width: 100%;
    height: 0.8em;
    position: absolute;
    bottom: -0.4em;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.section-title-underline svg {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: visible;
}

.section-title-underline.animate {
    opacity: 1;
}

.section-title-underline path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #a0aec0;
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Floating organic shapes that blend sections */
.organic-shape {
    position: absolute;
    z-index: 1;
    opacity: 0.7;
    border-radius: 50% 30% 70% 40%;
    filter: blur(60px);
    animation: organicFloat 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 300px;
    background: linear-gradient(45deg, rgba(78, 205, 196, 0.3), rgba(69, 183, 209, 0.2));
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(254, 202, 87, 0.3));
    top: 50%;
    right: -5%;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(225deg, rgba(255, 159, 243, 0.2), rgba(84, 160, 255, 0.3));
    bottom: 20%;
    left: 5%;
    animation-delay: 10s;
}

.shape-4 {
    width: 250px;
    height: 300px;
    background: linear-gradient(315deg, rgba(150, 206, 180, 0.3), rgba(95, 39, 205, 0.2));
    top: 70%;
    right: 10%;
    animation-delay: 15s;
}

@keyframes organicFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        border-radius: 50% 30% 70% 40%;
    }
    25% {
        transform: translateY(-50px) translateX(30px) rotate(90deg) scale(1.1);
        border-radius: 30% 60% 40% 70%;
    }
    50% {
        transform: translateY(-30px) translateX(-20px) rotate(180deg) scale(0.9);
        border-radius: 60% 40% 30% 50%;
    }
    75% {
        transform: translateY(20px) translateX(40px) rotate(270deg) scale(1.2);
        border-radius: 40% 70% 60% 30%;
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: #cbd5e0;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-visual {
    position: relative;
    height: 400px;
    border-radius: 20px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    font-weight: 800;
    overflow: hidden;
}

.about-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(78, 205, 196, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Technology Stack Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-align: center;
}

.tech-category:nth-child(1) {
    border-color: rgba(78, 205, 196, 0.3);
}

.tech-category:nth-child(2) {
    border-color: rgba(255, 107, 107, 0.3);
}

.tech-category:nth-child(3) {
    border-color: rgba(150, 206, 180, 0.3);
}

.tech-category:nth-child(4) {
    border-color: rgba(95, 39, 205, 0.3);
}

.tech-category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.tech-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-item {
    background: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(78, 205, 196, 0.3);
    transition: all 0.3s ease;
}

.tech-category:nth-child(2) .tech-item {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
}

.tech-category:nth-child(3) .tech-item {
    background: rgba(150, 206, 180, 0.2);
    color: #96ceb4;
    border-color: rgba(150, 206, 180, 0.3);
}

.tech-category:nth-child(4) .tech-item {
    background: rgba(95, 39, 205, 0.2);
    color: #5f27cd;
    border-color: rgba(95, 39, 205, 0.3);
}

.tech-item:hover {
    transform: scale(1.05);
    background: rgba(78, 205, 196, 0.3);
}

/* Portfolio Expanding Cards */
.portfolio-options {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    min-width: 600px;
    max-width: 1000px;
    width: calc(100% - 40px);
    height: 450px;
    margin: 3rem auto 0;
}

.portfolio-option {
    position: relative;
    overflow: hidden;
    min-width: 80px;
    margin: 10px;
    background: var(--optionBackground), linear-gradient(45deg, #4ecdc4, #45b7d1);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: 0.6s cubic-bezier(0.05, 0.61, 0.41, 0.95);
    border-radius: 20px;
    border: 2px solid rgba(78, 205, 196, 0.2);
}

.portfolio-option.active {
    flex-grow: 10000;
    max-width: 600px;
    margin: 0px;
    border-radius: 20px;
    background-size: cover;
    border-color: rgba(78, 205, 196, 0.6);
}

.portfolio-option.active .portfolio-shadow {
    box-shadow: inset 0 -150px 150px -120px rgba(0,0,0,0.8), 
                inset 0 -150px 150px -100px rgba(0,0,0,0.6);
}

.portfolio-option.active .portfolio-label {
    bottom: 30px;
    left: 30px;
}

.portfolio-option.active .portfolio-info > div {
    left: 0px;
    opacity: 1;
}

.portfolio-option:not(.active) {
    flex-grow: 1;
    border-radius: 20px;
}

.portfolio-option:not(.active) .portfolio-shadow {
    bottom: -40px;
    box-shadow: inset 0 -120px 0px -120px black, 
                inset 0 -120px 0px -100px black;
}

.portfolio-option:not(.active) .portfolio-label {
    bottom: 15px;
    left: 15px;
}

.portfolio-option:not(.active) .portfolio-info > div {
    left: 30px;
    opacity: 0;
}

.portfolio-shadow {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 150px;
    transition: 0.6s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.portfolio-label {
    display: flex;
    position: absolute;
    right: 0px;
    height: 50px;
    transition: 0.6s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.portfolio-icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 50px;
    max-width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.portfolio-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 15px;
    color: white;
    white-space: pre;
}

.portfolio-info > div {
    position: relative;
    transition: 0.6s cubic-bezier(0.05, 0.61, 0.41, 0.95), 
               opacity 0.6s ease-out;
}

.portfolio-main {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.portfolio-sub {
    font-size: 0.95rem;
    opacity: 0.9;
    transition-delay: 0.1s;
    text-shadow: 0 1px 5px rgba(0,0,0,0.8);
}

.portfolio-tech-stack {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    transition-delay: 0.2s;
}

.portfolio-tech-item {
    background: rgba(78, 205, 196, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Process Section with Rotating Colors */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.process-step:nth-child(1) .process-number {
    background: var(--primary-gradient);
}

.process-step:nth-child(2) .process-number {
    background: var(--secondary-gradient);
}

.process-step:nth-child(3) .process-number {
    background: var(--accent-gradient);
}

.process-step:nth-child(4) .process-number {
    background: var(--purple-gradient);
}

.process-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.process-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-step:nth-child(1) .process-title {
    color: #4ecdc4;
}

.process-step:nth-child(2) .process-title {
    color: #ff6b6b;
}

.process-step:nth-child(3) .process-title {
    color: #96ceb4;
}

.process-step:nth-child(4) .process-title {
    color: #5f27cd;
}

.process-description {
    color: #a1a8b6;
    line-height: 1.6;
}

.process-line {
    position: absolute;
    left: 29px;
    top: 60px;
    bottom: -3rem;
    width: 2px;
    background: linear-gradient(to bottom, rgba(78, 205, 196, 0.6), transparent);
    z-index: 1;
}

.process-step:last-child .process-line {
    display: none;
}

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

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info p {
    color: #a0aec0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-details {
    font-style: normal;
}

.contact-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e0;
    padding: 0.5rem 0;
}

.contact-item a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

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

.form-group {
    position: relative;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #718096;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Fixed Form Button */
.form-button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-button::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;
}

.form-button:hover::before {
    left: 100%;
}

.form-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.4);
}

/* Footer */
.footer {
    background: rgba(26, 32, 44, 0.8);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer p {
    color: #718096;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--dx), var(--dy)) rotate(var(--rotation)) scale(0.2);
    }
}

@keyframes particlePop {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) rotate(360deg) translate(var(--dx), var(--dy));
    }
}

@keyframes drawIn {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawInTitle {
    from {
        stroke-dashoffset: 1000;
        opacity: 0.3;
    }
    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

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

    .nav-cta {
        display: none;
    }

    .section {
        padding: 4rem 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .cta-button {
        display: block;
        margin: 8px 0;
        text-align: center;
    }

    .organic-shape {
        filter: blur(40px);
        opacity: 0.5;
    }

    .portfolio-options {
        flex-direction: column;
        height: auto;
        min-width: auto;
    }

    .portfolio-option {
        min-width: auto;
        height: 80px;
        margin: 5px 0;
    }

    .portfolio-option.active {
        height: 200px;
        max-width: none;
    }

    .portfolio-option:not(.active) {
        height: 60px;
    }

    .portfolio-label {
        height: 40px;
    }

    .portfolio-icon {
        min-width: 40px;
        max-width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .portfolio-main {
        font-size: 1.1rem;
    }

    .portfolio-sub {
        font-size: 0.85rem;
    }
}