@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #ff00ff;
    --accent: #00ff88;
    --dark-bg: #0a0a0f;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --glow-color: rgba(0, 212, 255, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-bg);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    animation: bgAnimation 20s ease infinite;
}

@keyframes bgAnimation {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

/* Particle Effect Container */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.5;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center; /* Ensure vertical alignment of links and button */
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 20px var(--glow-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--glow-color);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* WhatsApp Channel Marquee */
.marquee-container {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg,
        rgba(0, 212, 255, 0.04) 0%,
        rgba(0, 255, 136, 0.04) 50%,
        rgba(255, 0, 255, 0.04) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.08);
    border-top: 1px solid rgba(0, 212, 255, 0.05);
    overflow: hidden;
    z-index: 999;
    padding: 0.7rem 0;
    box-shadow:
        0 2px 10px rgba(0, 212, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.marquee-content {
    display: flex;
    animation: marqueeScroll 25s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.marquee-text {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0 3rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-shrink: 0;
    opacity: 0.85;
}

.marquee-icon {
    font-size: 1.1rem;
    opacity: 0.7;
}

.marquee-message {
    font-weight: 400;
    letter-spacing: 0.3px;
}

.marquee-message strong {
    font-weight: 600;
    color: rgba(0, 212, 255, 0.7);
}

.marquee-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.9rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: rgba(0, 212, 255, 0.8);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.marquee-link:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    color: rgba(0, 212, 255, 0.95);
    transform: translateY(-1px);
}

.marquee-separator {
    color: rgba(0, 212, 255, 0.3);
    font-size: 1rem;
    opacity: 0.5;
}

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

.hero-bg{position:absolute;inset:0;z-index:-1;overflow:hidden}
.hero-video{position:absolute;top:50%;left:50%;min-width:100%;min-height:100%;width:auto;height:auto;transform:translate(-50%,-50%);filter:brightness(.35)}
.hero-overlay{position:absolute;inset:0;background:rgba(11,15,20,.4)}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 130px;
    background: radial-gradient(ellipse at bottom, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
}

/* Floating Elements */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    top: 20%;
    border-radius: 50%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    right: 20%;
    top: 50%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 5s;
}

.shape:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 50%;
    bottom: 20%;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(90deg); }
    50% { transform: translateY(30px) rotate(180deg); }
    75% { transform: translateY(-15px) rotate(270deg); }
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    z-index: 2;
    position: relative;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(0, 212, 255, 0.3));
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-feature {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 255, 0.05));
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-feature:hover::before {
    opacity: 0.3;
}

.hero-feature:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.hero-feature .icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
    filter: drop-shadow(0 0 10px currentColor);
}

.hero-feature .text {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 48px;
    min-width: 160px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    position: relative;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    z-index: -1;
    transition: width 0.3s ease;
}

.btn-secondary:hover {
    color: white;
}

.btn-secondary:hover::after {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02), transparent);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: rotate(45deg);
}

.process-step:hover::before {
    opacity: 0.05;
}

.process-step:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2),
                inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: ripple 2s linear infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.process-step .duration {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent, rgba(255, 0, 255, 0.02), transparent);
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tab-content.active {
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2),
                inset 0 0 30px rgba(0, 212, 255, 0.05);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--glow-color));
}

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

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.service-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}


/* Tools Section */
.tools {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02), transparent);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.tool-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.tool-card:hover {
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
    border-color: var(--primary);
}

.tool-header {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 255, 0.05));
    border-bottom: 1px solid var(--border-color);
}

.tool-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.tool-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tool-content {
    padding: 2rem;
}

.tool-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Fix external link buttons */
a[href^="https://"].btn {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    background: transparent !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    padding: 1rem 2rem !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 1rem !important;
    transition: all 0.3s ease !important;
}

a[href^="https://"].btn:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    cursor: pointer !important;
}


/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent, rgba(255, 0, 255, 0.02), transparent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.project-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
    border-color: var(--primary);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image::after {
    opacity: 0.5;
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 700;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.tech-tag {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 255, 0.05));
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent, rgba(0, 255, 136, 0.02), transparent);
}

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

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-item i {
    margin-right: 1.5rem;
    color: var(--primary);
    width: 25px;
    font-size: 1.3rem;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.contact-item a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px var(--glow-color);
}

.contact-form {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    position: relative;
}

.form-group label::after {
    content: '';
    position: absolute;
    bottom: -0.15rem;
    left: 0;
    width: 16px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 1px;
}

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow:
        0 0 15px rgba(0, 212, 255, 0.2),
        0 0 25px rgba(0, 212, 255, 0.05);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

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

.form-group select option {
    background: var(--dark-bg);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02));
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p,
.footer-section li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive Design - Mobile First Approach */

/* Extra Small Devices (phones, 320px-480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo img {
        height: 28px !important;
        width: 28px !important;
    }

    .logo-text {
        font-size: 1rem !important;
    }

    /* Marquee responsive */
    .marquee-container {
        top: 60px;
        padding: 0.6rem 0;
    }

    .marquee-text {
        gap: 0.5rem;
        padding: 0 2rem;
        font-size: 0.8rem;
    }

    .marquee-icon {
        font-size: 1rem;
    }

    .marquee-link {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }

    .hero {
        padding-top: 110px;
        min-height: 85vh;
        padding-bottom: 2rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.6rem !important;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-feature {
        padding: 1rem;
        min-width: auto;
        width: 100%;
    }

    .hero-feature .icon {
        font-size: 1.8rem;
    }

    .hero-feature .text {
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
        text-align: center;
        width: 100%;
        min-height: 44px;
    }

    .section-title h2 {
        font-size: 1.6rem !important;
        margin-bottom: 0.8rem;
    }

    .section-title p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .process-step {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .process-step h3 {
        font-size: 1.2rem;
    }

    .process-step .duration {
        font-size: 0.85rem;
    }

    .service-card,
    .tool-card,
    .project-card {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }

    .service-card h3,
    .project-title {
        font-size: 1.2rem;
    }

    .service-card p,
    .project-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .service-features li {
        font-size: 0.85rem;
        padding-left: 1.5rem;
    }

    .services-tabs {
        flex-direction: column;
        gap: 0.4rem;
    }

    .tab-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
        min-height: 44px;
    }

    .tool-header {
        padding: 1.2rem;
    }

    .tool-header h3 {
        font-size: 1.2rem;
    }

    .tool-content {
        padding: 1.2rem;
    }

    .project-content {
        padding: 1.2rem;
    }

    .tech-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }

    .contact-item {
        font-size: 0.95rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

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

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section li {
        font-size: 0.85rem;
    }

    .services-grid,
    .tools-grid,
    .portfolio-grid {
        grid-template-columns: 1fr !important;
        justify-items: stretch;
    }

}

/* Small Devices (landscape phones, 481px-768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .logo img {
        height: 35px !important;
        width: 35px !important;
    }

    .logo-text {
        font-size: 1.1rem !important;
    }

    /* Marquee responsive */
    .marquee-container {
        top: 68px;
        padding: 0.7rem 0;
    }

    .marquee-text {
        gap: 0.8rem;
        padding: 0 2.5rem;
        font-size: 0.88rem;
    }

    .marquee-icon {
        font-size: 1.1rem;
    }

    .marquee-link {
        padding: 0.35rem 0.9rem;
        font-size: 0.78rem;
    }

    .hero {
        padding-top: 120px;
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .hero-feature {
        padding: 1.2rem;
    }

    .hero-feature .icon {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.2rem;
    }

    .btn {
        padding: 1rem 1.8rem;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .section-title h2 {
        font-size: 2.2rem !important;
    }

    .section-title p {
        font-size: 1.1rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-step {
        padding: 2rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

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

    .service-card {
        padding: 2rem;
    }

    .services-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .tab-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
        min-height: 48px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .tool-card {
        margin-bottom: 1rem;
    }

    .tool-header,
    .tool-content {
        padding: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .project-card {
        margin-bottom: 1rem;
    }

    .project-content {
        padding: 1.5rem;
    }

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

    .contact-item {
        font-size: 1.1rem;
        flex-direction: row;
        text-align: left;
    }

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

/* Medium Devices (tablets, 769px-1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .nav-container {
        padding: 0 2rem;
    }

    .logo-text {
        font-size: 1.2rem !important;
    }

    /* Marquee responsive */
    .marquee-container {
        top: 70px;
        padding: 0.75rem 0;
    }

    .marquee-text {
        font-size: 0.9rem;
    }

    .hero {
        padding-top: 125px;
        min-height: 95vh;
    }

    .hero h1 {
        font-size: 2.8rem !important;
    }

    .hero-subtitle {
        font-size: 1.3rem !important;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .hero-feature {
        padding: 1.5rem;
    }

    .hero-feature .icon {
        font-size: 2.5rem;
    }

    .cta-buttons {
        gap: 1.5rem;
    }

    .btn {
        padding: 1.2rem 2.2rem;
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2.5rem !important;
    }

    .section-title p {
        font-size: 1.2rem;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .process-step {
        padding: 2.2rem;
    }

    .step-number {
        width: 65px;
        height: 65px;
        font-size: 1.7rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .service-card {
        padding: 2.2rem;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .services-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .tab-button {
        padding: 1rem 1.8rem;
        font-size: 0.95rem;
    }

    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .tool-header,
    .tool-content {
        padding: 1.8rem;
    }

    .tool-header h3 {
        font-size: 1.4rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .project-content {
        padding: 1.8rem;
    }

    .project-title {
        font-size: 1.4rem;
    }

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

    .contact-item {
        font-size: 1.1rem;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* All Mobile and Tablet Devices */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
        backdrop-filter: blur(20px);
        z-index: 1001;
    }

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

    .nav-links li {
        margin-bottom: 1rem;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .menu-toggle {
        display: flex;
    }

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

    /* Adjust floating shapes for mobile */
    .floating-shapes {
        display: none;
    }

    /* Better touch targets */
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }

    .tab-button {
        min-height: 44px;
        touch-action: manipulation;
    }

    /* Reduce animations on mobile for better performance */
    .hero-feature:hover,
    .service-card:hover,
    .tool-card:hover,
    .project-card:hover,
    .process-step:hover {
        transform: none;
    }

    /* Disable scroll-triggered animations on mobile */
    .hero-feature,
    .service-card,
    .tool-card,
    .project-card,
    .process-step {
        transform: none !important;
        animation: none !important;
    }

    /* Simplify backgrounds for better performance */
    .hero::before,
    .process::before,
    .services::before,
    .tools::before,
    .portfolio::before,
    .contact::before {
        display: none;
    }
}

/* Large Devices (desktops, 1025px-1199px) */
@media (min-width: 1025px) and (max-width: 1199px) {
    .container {
        padding: 0 2.5rem;
    }

    .nav-container {
        padding: 0 2.5rem;
    }

    .hero {
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 3.2rem !important;
    }

    .hero-subtitle {
        font-size: 1.4rem !important;
    }

    .hero-features {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .hero-feature {
        flex: 0 1 200px;
        padding: 1.5rem;
    }

    .section-title h2 {
        font-size: 2.8rem !important;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

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

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* Extra Large Devices (large desktops, 1200px-1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1200px;
        padding: 0 3rem;
    }

    .nav-container {
        max-width: 1200px;
        padding: 0 3rem;
    }

    .hero-content {
        max-width: 1000px;
    }

    .hero h1 {
        font-size: 3.8rem !important;
    }

    .hero-subtitle {
        font-size: 1.5rem !important;
    }

    .hero-features {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .hero-feature {
        flex: 0 1 220px;
        padding: 1.8rem;
    }

    .section-title h2 {
        font-size: 3rem !important;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .process-step {
        padding: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .service-card {
        padding: 2.5rem;
    }

    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

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

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* Ultra Wide Screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 4rem;
    }

    .nav-container {
        max-width: 1400px;
        padding: 0 4rem;
    }

    .hero-content {
        max-width: 1200px;
    }

    .hero h1 {
        font-size: 4.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.6rem !important;
    }

    .hero p {
        font-size: 1.3rem;
    }

    .hero-features {
        display: flex;
        justify-content: center;
        gap: 2.5rem;
        margin-bottom: 3.5rem;
    }

    .hero-feature {
        flex: 0 1 250px;
        padding: 2rem;
    }

    .section-title h2 {
        font-size: 3.5rem !important;
    }

    .section-title p {
        font-size: 1.3rem;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 3.5rem;
    }

    .process-step {
        padding: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3.5rem;
    }

    .service-card {
        padding: 3rem;
    }

    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3.5rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3.5rem;
    }

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

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
    }
}

/* Super Ultra Wide Screens (1600px and up) */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }

    .nav-container {
        max-width: 1600px;
    }

    .hero-content {
        max-width: 1400px;
    }

    .services-grid,
    .tools-grid,
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
}

/* Landscape Mobile Specific */
@media (max-height: 500px) and (orientation: landscape) {
    /* Marquee responsive */
    .marquee-container {
        top: 55px;
        padding: 0.4rem 0;
    }

    .marquee-text {
        font-size: 0.75rem;
        gap: 0.5rem;
        padding: 0 1.5rem;
    }

    .marquee-icon {
        font-size: 0.9rem;
    }

    .marquee-link {
        padding: 0.25rem 0.6rem;
        font-size: 0.65rem;
    }

    .hero {
        min-height: 100vh;
        padding-top: 95px;
        padding-bottom: 1rem;
    }

    .hero h1 {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-features {
        display: flex;
        justify-content: center;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .hero-feature {
        padding: 0.8rem;
        flex: 0 1 150px;
    }

    .hero-feature .icon {
        font-size: 1.5rem;
    }

    .hero-feature .text {
        font-size: 0.8rem;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo img {
        height: 25px !important;
        width: 25px !important;
    }

    .logo-text {
        font-size: 0.9rem !important;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .section-title h2 {
        font-size: 1.5rem !important;
    }

    .section-title p {
        font-size: 0.9rem;
    }
}

/* High-DPI/Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    .project-image img,
    .tool-card .project-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Ensure touch targets are at least 44px */
    .btn,
    .tab-button,
    .nav-links a,
    .hero-feature {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }

    /* Disable hover effects on touch devices */
    .hero-feature:hover,
    .service-card:hover,
    .tool-card:hover,
    .project-card:hover,
    .process-step:hover,
    .btn:hover,
    .tab-button:hover {
        transform: none;
        box-shadow: inherit;
    }

    /* Improve tap targets */
    .project-image,
    .tool-card .project-image {
        padding: 0.5rem;
    }

    /* Remove hover pseudo-elements on touch */
    .project-image::before,
    .tool-card .project-image::before {
        display: none;
    }
}

/* Very Small Height Devices (smart watches, etc.) */

/* Quote Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    margin: 8% auto;
    padding: 2rem;
    border: 1px solid var(--border-color);
    width: 85%;
    max-width: 480px;
    border-radius: 20px;
    position: relative;
    box-shadow:
        0 20px 40px rgba(0, 212, 255, 0.15),
        0 0 60px rgba(0, 212, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    color: var(--text-secondary);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transform: scale(1.05);
}

.modal-step {
    display: none;
    opacity: 0;
}

.modal-step.active {
    display: block;
    opacity: 1;
    animation: modalStepIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.modal-step h3::after {
    content: '';
    position: absolute;
    bottom: -0.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

@keyframes modalStepIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.modal-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.step-indicator-container {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
}

.step-indicator-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    right: 30%;
    height: 1px;
    background: var(--border-color);
    z-index: 0;
}

.step-indicator {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.step-indicator.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: var(--primary);
    box-shadow:
        0 0 15px rgba(0, 212, 255, 0.3),
        0 0 30px rgba(0, 212, 255, 0.1);
    transform: scale(1.05);
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
    align-items: center;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    font-style: italic;
    line-height: 1.4;
}


.nav-links .btn {
    padding: 0.5rem 1.5rem;
    margin-left: 1rem;
}

.nav-links a.btn-primary {
    color: white !important; /* Override the default nav link color */
}


@media (max-height: 400px) {
    .hero {
        min-height: 90vh;
        padding-top: 50px;
    }

    .hero h1 {
        font-size: 1.4rem !important;
    }

    .hero p {
        font-size: 0.8rem;
    }

    .hero-features {
        gap: 0.5rem;
        margin-bottom: 0.8rem;
    }

    .hero-feature {
        padding: 0.6rem;
    }

    .section-title {
        margin-bottom: 1.5rem;
    }

    .navbar {
        padding: 0.3rem 0;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .whatsapp-float,
    .modal,
    .loading {
        display: none !important;
    }

    .hero {
        padding-top: 0;
        min-height: auto;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .hero-features,
    .services-grid,
    .tools-grid,
    .portfolio-grid,
    .process-steps {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .footer {
        page-break-inside: avoid;
    }
}

/* Performance optimizations to prevent glitching */
.service-card,
.tool-card,
.project-card,
.process-step {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Disable animations on devices that prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    z-index: 9999;
    transition: width 0.25s ease;
    box-shadow: 0 0 10px var(--glow-color);
}

/* Loading Animation - Enhanced for mobile reliability */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
    /* Prevent scrolling while loading */
    overflow: hidden;
    /* Ensure it covers everything on mobile */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.loading.hide {
    opacity: 0;
    pointer-events: none;
    /* Ensure it gets removed from rendering context */
    visibility: hidden;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    /* Ensure smooth animation on mobile */
    will-change: transform;
    backface-visibility: hidden;
}

/* Ensure body doesn't scroll while loading */
body:has(.loading:not(.hide)) {
    overflow: hidden;
    height: 100vh;
}

/* Fallback for browsers that don't support :has() */
.loading-active {
    overflow: hidden !important;
    height: 100vh !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
    .whatsapp-float{position:fixed;width:60px;height:60px;bottom:40px;right:40px;background:#25d366;color:#FFF;border-radius:50px;text-align:center;font-size:24px;box-shadow:0 10px 30px rgba(37, 211, 102, 0.4);z-index:100;display:flex;align-items:center;justify-content:center;text-decoration:none;transition:all 0.3s ease}
.whatsapp-float:hover{transform:scale(1.1) translateY(-5px);box-shadow:0 15px 40px rgba(37, 211, 102, 0.5)}

/* WhatsApp button responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 2rem;
    max-width: 90%;
    max-height: 90%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    animation: modalImageIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-primary);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    color: var(--primary);
    background: rgba(10, 10, 15, 0.9);
    transform: scale(1.1);
}

.modal-caption {
    color: var(--text-primary);
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Make project and tool images clickable */
.project-image,
.tool-card .project-image {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-image::before,
.tool-card .project-image::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--primary);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    background: rgba(10, 10, 15, 0.8);
    padding: 1rem;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

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

.project-image:hover,
.tool-card .project-image:hover {
    /* Removed transform to prevent glitching */
}

/* Modal animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalImageIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem 1rem;
        max-width: 92%;
        max-height: 90%;
        margin: 5% auto;
        border-radius: 16px;
    }

    .modal-header {
        margin-bottom: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .step-indicator {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }

    .step-indicator-container {
        gap: 0.6rem;
    }

    .modal-step h3 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

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

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.7rem 0.8rem;
        border-radius: 10px;
        font-size: 0.85rem;
    }

    .form-group textarea {
        min-height: 70px;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .modal-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .modal-close {
        top: 0.8rem;
        right: 0.8rem;
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .modal-image {
        max-height: 70vh;
    }

    .modal-caption {
        font-size: 0.95rem;
        padding: 0.4rem 0;
    }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
    .modal-content {
        padding: 1.2rem 0.8rem;
        max-width: 95%;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .step-indicator-container {
        gap: 0.5rem;
    }

    .step-indicator {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .modal-step h3 {
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.6rem 0.7rem;
        font-size: 0.8rem;
    }

    .form-group textarea {
        min-height: 60px;
    }

    .form-hint {
        font-size: 0.75rem;
    }
}/* WhatsApp Floating Widget */
.whatsapp-widget { position: fixed; bottom: 24px; right: 24px; z-index: 1001; }
.whatsapp-toggle { width: 60px; height: 60px; border: none; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.whatsapp-toggle:hover { transform: scale(1.06) translateY(-2px); box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5); }
.whatsapp-toggle:focus { outline: none; }
.whatsapp-options { position: absolute; right: 0; bottom: 64px; display: flex; flex-direction: column; gap: 8px; opacity: 0; pointer-events: none; transition: opacity 0.18s ease; }
.whatsapp-options a { display: inline-flex; align-items: center; justify-content: center; padding: 0.55rem 0.9rem; border-radius: 9999px; text-decoration: none; font-weight: 600; font-size: 0.88rem; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25); transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.whatsapp-options a:first-child { background: #25D366; color: #ffffff; }
.whatsapp-options a:first-child:hover { transform: translateY(-2px); }
.whatsapp-options a:last-child { background: rgba(37, 211, 102, 0.12); color: #25D366; border: 1px solid rgba(37, 211, 102, 0.35); backdrop-filter: blur(6px); }
.whatsapp-options a:last-child:hover { transform: translateY(-2px); background: rgba(37, 211, 102, 0.18); border-color: rgba(37, 211, 102, 0.5); }
@media (hover: hover) and (pointer: fine) { .whatsapp-widget:hover .whatsapp-options, .whatsapp-widget:focus-within .whatsapp-options, .whatsapp-options:hover { opacity: 1; pointer-events: auto; } }
.whatsapp-widget.open .whatsapp-options {
  opacity: 1 !important;
  pointer-events: auto !important;
  display: flex !important;
  visibility: visible !important;
}
@media (max-width: 768px) { .whatsapp-widget { bottom: 16px; right: 16px; } .whatsapp-toggle { width: 56px; height: 56px; } .whatsapp-options { bottom: 60px; gap: 6px; } .whatsapp-options a { font-size: 0.85rem; padding: 0.5rem 0.75rem; } }
.whatsapp-widget::before { content: ""; position: absolute; right: 0; bottom: 56px; width: 60px; height: 20px; }
@media print { .whatsapp-widget { display: none !important; } }
