/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #0a0a0f;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #9ca3af;
}

/* Container */

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

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

.nav-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    margin-right: 1rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: 1rem;
}

.nav-link {
    text-decoration: none;
    color: #e5e7eb;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8b5cf6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8b5cf6;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #e5e7eb;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #2d1b69 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #2d1b69 100%);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.08), rgba(168, 85, 247, 0.05));
}

/* Modern Tech Hero Background - 2025 Trends */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 1000px 500px at 15% 85%, rgba(139, 92, 246, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 800px 400px at 85% 15%, rgba(168, 85, 247, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 600px 300px at 50% 50%, rgba(196, 181, 253, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, rgba(30, 30, 40, 0.8) 0%, rgba(20, 20, 30, 0.9) 100%);
    animation: modernFloat 25s ease-in-out infinite;
    will-change: transform;
}

@keyframes modernFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1) rotate(0deg); 
    }
    25% { 
        transform: translateY(-10px) scale(1.02) rotate(0.3deg); 
    }
    50% { 
        transform: translateY(-15px) scale(1.03) rotate(0deg); 
    }
    75% { 
        transform: translateY(-8px) scale(1.01) rotate(-0.3deg); 
    }
}

/* Enhanced Gradient Overlay */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.08) 50%, rgba(196, 181, 253, 0.06) 100%),
        linear-gradient(135deg, rgba(30, 30, 40, 0.3) 0%, rgba(20, 20, 30, 0.4) 100%);
    z-index: 1;
}

/* Responsive Modern Background */
@media (max-width: 768px) {
    .parallax-bg {
        animation-duration: 20s;
        background: 
            radial-gradient(ellipse 500px 250px at 15% 85%, rgba(139, 92, 246, 0.2) 0%, transparent 60%),
            radial-gradient(ellipse 400px 200px at 85% 15%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
            linear-gradient(135deg, rgba(30, 30, 40, 0.9) 0%, rgba(20, 20, 30, 0.95) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .parallax-bg {
        animation: none;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    color: white;
}

/* Modern Hero Text Effects - 2025 Trends */
.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(15px);
    animation: quickSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

.highlight {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

@keyframes quickSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    color: #9ca3af;
    animation: quickFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

@keyframes quickFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(15px);
    animation: quickSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

/* Modern Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.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.6s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(139, 92, 246, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border-color: #8b5cf6;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modern Interactive Floating Cards */
.floating-cards {
    position: relative;
    width: clamp(300px, 25vw, 400px);
    height: clamp(300px, 25vw, 400px);
    perspective: 1200px;
    cursor: pointer;
    pointer-events: none;
}

.floating-cards .card {
    pointer-events: auto;
}

.card {
    position: absolute;
    width: clamp(80px, 8vw, 120px);
    height: clamp(80px, 8vw, 120px);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2) 0%, 
        rgba(168, 85, 247, 0.15) 50%, 
        rgba(192, 132, 252, 0.1) 100%);
    backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    padding: clamp(0.5rem, 1vw, 1rem);
    text-align: center;
    color: white;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 60px rgba(139, 92, 246, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform-style: preserve-3d;
    will-change: transform;
    animation: float3D 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(139, 92, 246, 0.1) 100%);
    border-radius: 28px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.card:hover {
    transform: translateY(-15px) scale(1.08) rotateX(5deg) rotateY(5deg);
    box-shadow: 
        0 30px 80px rgba(139, 92, 246, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.3) 0%, 
        rgba(168, 85, 247, 0.25) 50%, 
        rgba(192, 132, 252, 0.2) 100%);
}

.card-icon {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: clamp(0.25rem, 0.5vw, 0.5rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 2;
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 8px 16px rgba(139, 92, 246, 0.5));
}

.card-text {
    font-size: clamp(0.6rem, 1.2vw, 0.8rem);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.card:hover .card-text {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(139, 92, 246, 0.4);
}

/* 3D Positioning for Modern Layout - Fixed */
.card-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateZ(0px);
    animation-delay: 0s;
}

.card-2 {
    bottom: 0;
    left: 0;
    transform: translateZ(-20px);
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 0;
    right: 0;
    transform: translateZ(-40px);
    animation-delay: 3s;
}

.card-4 {
    top: 0;
    left: 0;
    transform: translateZ(-10px);
    animation-delay: 4.5s;
}

/* Modern 3D Float Animation */
@keyframes float3D {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    25% { 
        transform: translateY(-10px) rotateX(2deg) rotateY(1deg);
    }
    50% { 
        transform: translateY(-5px) rotateX(-1deg) rotateY(2deg);
    }
    75% { 
        transform: translateY(-15px) rotateX(1deg) rotateY(-1deg);
    }
}

/* Individual Card Hover States - Fixed */
.card:hover {
    transform: translateY(-15px) scale(1.08) rotateX(5deg) rotateY(5deg);
    box-shadow: 
        0 30px 80px rgba(139, 92, 246, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.3) 0%, 
        rgba(168, 85, 247, 0.25) 50%, 
        rgba(192, 132, 252, 0.2) 100%);
    animation-play-state: paused;
}

/* Specific positioning for each card on hover */
.card-1:hover {
    transform: translateX(-50%) translateY(-15px) scale(1.08) rotateX(5deg) rotateY(5deg);
}

.card-2:hover {
    transform: translateY(-15px) scale(1.08) rotateX(5deg) rotateY(-5deg);
}

.card-3:hover {
    transform: translateY(-15px) scale(1.08) rotateX(5deg) rotateY(5deg);
}

.card-4:hover {
    transform: translateY(-15px) scale(1.08) rotateX(5deg) rotateY(-5deg);
}


.card span {
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover span {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

@keyframes floatCard {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translateY(-15px) rotate(2deg) scale(1.02); 
    }
    50% { 
        transform: translateY(-25px) rotate(0deg) scale(1.05); 
    }
    75% { 
        transform: translateY(-15px) rotate(-2deg) scale(1.02); 
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 1000;
    pointer-events: auto;
}

.scroll-arrow {
    display: block;
    text-decoration: none;
    color: #8b5cf6;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1001;
}

.scroll-arrow:hover {
    color: #a855f7;
    transform: translateY(-5px);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin: 0 auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #9ca3af;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: #111827;
}

/* Modern Service Cards - 2025 Trends */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

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

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon .icon-wrapper {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #8b5cf6, #a855f7);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.icon-wrapper svg {
    width: 30px;
    height: 30px;
}

.service-title {
    color: #ffffff;
    margin-bottom: 1rem;
}

.service-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    flex-grow: 1;
}

.service-features li {
    padding: 0.5rem 0;
    color: #d1d5db;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: bold;
}

/* Technologies Section */
.technologies {
    background: #0a0a0f;
}

/* Modern Tech Category Cards - 2025 Trends */
.tech-category {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tech-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(168, 85, 247, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tech-category:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(139, 92, 246, 0.2);
}

.tech-category:hover::before {
    opacity: 1;
}

.tech-category:hover .tech-category-title {
    color: #8b5cf6;
    transform: scale(1.05);
}

.tech-category-title {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.tech-item {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

.tech-item:hover {
    background: rgba(139, 92, 246, 0.25);
    color: #ffffff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    border-color: #8b5cf6;
}

.tech-item:hover::before {
    left: 100%;
}


.tech-tag {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

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

.tech-tag:hover {
    background: rgba(139, 92, 246, 0.25);
    color: #ffffff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    border-color: #8b5cf6;
}

.tech-tag:hover::before {
    left: 100%;
}

/* Process Section */
.process {
    background: #0f172a;
}

/* Modern Process Cards - 2025 Trends */
.process-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.process-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

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

.process-card:hover .process-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 8px 25px rgba(139, 92, 246, 0.4));
}

.process-image {
    height: 200px;
    background: linear-gradient(45deg, #8b5cf6, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-placeholder {
    text-align: center;
    color: white;
}

.process-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.process-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.process-title {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.process-description {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.process-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.process-tech-item {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.process-tech-item:hover {
    background: rgba(139, 92, 246, 0.25);
    color: #ffffff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    border-color: #8b5cf6;
}

/* Hover effects for process cards */
.process-card:hover .process-title {
    color: #8b5cf6;
    transform: scale(1.02);
    text-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}

.process-card:hover .process-description {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.process-card:hover .process-tech-item {
    background: rgba(139, 92, 246, 0.2);
    color: #e0e7ff;
    border-color: rgba(139, 92, 246, 0.4);
}

/* Contact Section */
.contact {
    background: #0a0a0f;
}

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

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-text h4 {
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: #9ca3af;
    margin: 0;
    transition: all 0.3s ease;
}

#email-display {
    cursor: pointer;
    position: relative;
}

#email-display:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

#email-display:active {
    transform: scale(0.98);
}

/* Form Styles */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Modern Form Elements - 2025 Trends */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    color: #e5e7eb;
    backdrop-filter: blur(10px);
    position: relative;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 
        0 0 0 3px rgba(139, 92, 246, 0.1),
        0 4px 20px rgba(139, 92, 246, 0.2);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: #9ca3af;
    transform: translateY(-2px);
}

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

.form-group select {
    color: #e5e7eb;
    cursor: pointer;
}

.form-group select option {
    background: #1a1a2e;
    color: #e5e7eb;
}

/* Form Messages */
.form-message {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Form Loading State */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Validation Styles - Only show errors, not success states */
.form-group input:focus:invalid,
.form-group textarea:focus:invalid,
.form-group input.touched:invalid,
.form-group textarea.touched:invalid {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Only show green validation on focus, not when touched */
.form-group input:focus:valid,
.form-group textarea:focus:valid {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Default state - no validation colors */
.form-group input:not(:focus):not(.error),
.form-group textarea:not(:focus):not(.error),
.form-group select:not(:focus):not(.error) {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Error state styling */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: rgba(239, 68, 68, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Validation message styling */
.validation-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    animation: slideIn 0.3s ease;
}

/* Cloudflare Turnstile styling */
.cf-turnstile {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.cf-turnstile iframe {
    border-radius: 8px;
}

/* Footer */
.footer {
    background: #0a0a0f;
    color: #e5e7eb;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #8b5cf6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(15, 15, 35, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        backdrop-filter: blur(20px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .floating-cards {
        width: 250px;
        height: 250px;
    }


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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .tech-category {
        padding: 1.5rem;
    }

    .project-content {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Smooth scrolling - disabled to avoid conflicts with JavaScript */
html {
    scroll-behavior: auto; /* Disabled to avoid conflicts */
}

/* Ensure sections have proper spacing for smooth scroll */
section {
    scroll-margin-top: 100px;
}

/* Focus styles for accessibility */
.btn:focus,
/*.nav-link:focus,*/
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form,
    .footer {
        display: none;
    }
    
    .hero {
        background: white;
        color: black;
    }
    
    .hero-text {
        color: black;
    }
}