/* ============================================
   CSS Variables & Base Styles
   ============================================ */
:root {
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --secondary: #a855f7;
    --accent: #f59e0b;
    --dark-bg: #0f0f23;
    --card-bg: #1a1a3e;
    --text-light: #e0e0e0;
    --text-muted: #9ca3af;
    --success: #10b981;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a0a3a 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   Navbar Styles
   ============================================ */
.navbar-custom {
    background: rgba(15, 15, 35, 0.98) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1050;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    margin: 0 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #a855f7);
    transition: width 0.3s ease;
}

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

.btn-nav {
    background: linear-gradient(135deg, #00d4ff, #a855f7);
    color: #0f0f23;
    border: none;
    padding: 0.65rem 1.8rem;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

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

/* ============================================
   Mobile Sidebar
   ============================================ */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    max-width: 350px;
    height: 100vh;
    background: rgba(15, 15, 35, 0.99);
    backdrop-filter: blur(15px);
    border-left: 2px solid rgba(0, 212, 255, 0.3);
    padding: 5rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1040;
    overflow-y: auto;
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-menu .nav-link {
    display: block;
    color: var(--text-light) !important;
    padding: 0.8rem 0;
    margin: 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.sidebar-menu .nav-link:hover {
    color: var(--primary) !important;
    padding-left: 0.8rem;
}

.sidebar-menu .nav-link::after {
    display: none;
}

.sidebar-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.sidebar-close:hover {
    background: rgba(0, 212, 255, 0.3);
    transform: rotate(90deg);
}

.menu-toggle {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* ============================================
   Animations
   ============================================ */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes rotateCube {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -20px);
    }
    50% {
        transform: translate(-20px, 20px);
    }
    75% {
        transform: translate(-20px, -20px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), inset 0 0 30px rgba(0, 212, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 60px rgba(0, 212, 255, 0.8), inset 0 0 60px rgba(0, 212, 255, 0.3);
    }
}

/* ============================================
   Hero Section with 3D
   ============================================ */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 10;
    animation: slideInLeft 0.9s ease;
}

.hero-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-tag::before {
    content: '';
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary), transparent);
    border-radius: 2px;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #00d4ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 650px;
    line-height: 1.8;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #00d4ff, #00a8cc);
    color: #0f0f23;
    border: none;
    padding: 14px 45px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.35);
    font-size: 1rem;
}

.btn-primary-custom:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.45);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--primary);
    border: 2.5px solid var(--primary);
    padding: 12px 43px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary-custom:hover {
    background: var(--primary);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* ============================================
   3D Cube Animation
   ============================================ */
.floating-graphic-3d {
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 400px;
}

.cube-container {
    perspective: 1000px;
    width: 280px;
    height: 280px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 280px;
    height: 280px;
    background: rgba(26, 26, 62, 0.85);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary);
    backdrop-filter: blur(10px);
    opacity: 0.9;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.cube-face.front {
    transform: rotateY(0deg) translateZ(140px);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(168, 85, 247, 0.1));
}

.cube-face.back {
    transform: rotateY(180deg) translateZ(140px);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(0, 212, 255, 0.1));
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(140px);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(0, 212, 255, 0.1));
}

.cube-face.left {
    transform: rotateY(-90deg) translateZ(140px);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(245, 158, 11, 0.1));
}

.cube-face.top {
    transform: rotateX(90deg) translateZ(140px);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(245, 158, 11, 0.1));
}

.cube-face.bottom {
    transform: rotateX(-90deg) translateZ(140px);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(168, 85, 247, 0.1));
}

/* Floating Orb */
.orb-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    pointer-events: none;
}

.orb {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.8), rgba(168, 85, 247, 0.6));
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6), 0 0 80px rgba(168, 85, 247, 0.4);
    animation: floatOrb 6s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
    filter: blur(1px);
}

/* ============================================
   Stats Section
   ============================================ */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2.2rem;
    background: rgba(26, 26, 62, 0.85);
    border: 1.5px solid rgba(0, 212, 255, 0.25);
    border-radius: 18px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: slideDown 0.9s ease backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.3s; }
.stat-card:nth-child(2) { animation-delay: 0.4s; }
.stat-card:nth-child(3) { animation-delay: 0.5s; }

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

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 10px 35px rgba(0, 212, 255, 0.2);
}

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

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    animation: slideDown 0.9s ease;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 4.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    animation: slideDown 0.9s ease 0.1s both;
}

.service-card {
    background: rgba(26, 26, 62, 0.85);
    border: 1.5px solid rgba(0, 212, 255, 0.2);
    padding: 2.8rem 2.2rem;
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    animation: slideDown 0.9s ease backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(168, 85, 247, 0.12));
    transition: top 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.25);
}

.service-card:hover::before {
    top: 0;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    font-size: 2.3rem;
    color: var(--dark-bg);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.service-tag {
    display: inline-block;
    background: rgba(0, 212, 255, 0.12);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(0, 212, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   Tech Stack Section
   ============================================ */
.tech-section {
    padding: 120px 0;
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.tech-item {
    background: rgba(26, 26, 62, 0.85);
    border: 1.5px solid rgba(0, 212, 255, 0.2);
    padding: 2.2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    animation: slideDown 0.9s ease backwards;
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(168, 85, 247, 0.12));
    transition: top 0.3s ease;
    z-index: -1;
}

.tech-item:nth-child(1) { animation-delay: 0.05s; }
.tech-item:nth-child(2) { animation-delay: 0.1s; }
.tech-item:nth-child(3) { animation-delay: 0.15s; }
.tech-item:nth-child(4) { animation-delay: 0.2s; }
.tech-item:nth-child(5) { animation-delay: 0.25s; }
.tech-item:nth-child(6) { animation-delay: 0.3s; }
.tech-item:nth-child(7) { animation-delay: 0.35s; }
.tech-item:nth-child(8) { animation-delay: 0.4s; }
.tech-item:nth-child(9) { animation-delay: 0.45s; }
.tech-item:nth-child(10) { animation-delay: 0.5s; }
.tech-item:nth-child(11) { animation-delay: 0.55s; }
.tech-item:nth-child(12) { animation-delay: 0.6s; }

.tech-item:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.25);
}

.tech-item:hover::before {
    top: 0;
}

.tech-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.4));
}

.tech-item p {
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 120px 0;
    position: relative;
}

.about-item {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
    align-items: flex-start;
    animation: slideDown 0.9s ease backwards;
}

.about-item:nth-child(1) { animation-delay: 0.1s; }
.about-item:nth-child(2) { animation-delay: 0.2s; }
.about-item:nth-child(3) { animation-delay: 0.3s; }
.about-item:nth-child(4) { animation-delay: 0.4s; }
.about-item:nth-child(5) { animation-delay: 0.5s; }
.about-item:nth-child(6) { animation-delay: 0.6s; }

.about-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--dark-bg);
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.about-item:hover .about-icon {
    transform: scale(1.1) rotate(10deg);
}

.about-item h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: white;
}

.about-item p {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 1rem;
}

/* ============================================
   Process Section
   ============================================ */
.process-section {
    padding: 120px 0;
    position: relative;
}

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

.process-step {
    background: rgba(26, 26, 62, 0.85);
    border: 1.5px solid rgba(0, 212, 255, 0.2);
    padding: 2.5rem;
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: slideDown 0.9s ease backwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(0, 212, 255, 0.2);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0 auto 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.15) rotate(360deg);
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 120px 0;
    position: relative;
}

.contact-wrapper {
    background: rgba(26, 26, 62, 0.9);
    border: 2px solid rgba(0, 212, 255, 0.3);
    padding: 4.5rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
    animation: slideDown 0.9s ease 0.2s both;
}

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

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: white;
    font-size: 0.98rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 0.95rem 1.2rem;
    background: rgba(30, 30, 60, 0.9);
    border: 1.5px solid rgba(0, 212, 255, 0.35);
    border-radius: 12px;
    color: #ffffff !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-control::placeholder {
    color: rgba(224, 224, 224, 0.5) !important;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(30, 40, 80, 0.95);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2);
    color: #ffffff !important;
}

/* Fix for all input types */
input.form-control {
    color: #ffffff !important;
}

input.form-control:autofill,
input.form-control:autofill:hover,
input.form-control:autofill:focus {
    -webkit-box-shadow: 0 0 0 30px rgba(30, 30, 60, 0.9) inset !important;
    box-shadow: 0 0 0 30px rgba(30, 30, 60, 0.9) inset !important;
}

input.form-control:autofill {
    -webkit-text-fill-color: #ffffff !important;
}

/* Select dropdown styling */
select.form-control {
    color: #ffffff !important;
    background: rgba(30, 30, 60, 0.9) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 1rem center;
    background-size: 1.5em 1.5em;
    appearance: none;
    padding-right: 2.5rem;
}

select.form-control option {
    background: #1a1a3e;
    color: #ffffff;
}

/* Textarea styling */
textarea.form-control {
    color: #ffffff !important;
}

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

.form-submit {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    border: none;
    padding: 14px 45px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

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

/* ============================================
   Footer
   ============================================ */
footer {
    background: rgba(15, 15, 35, 0.98);
    border-top: 1.5px solid rgba(0, 212, 255, 0.15);
    padding: 5rem 0 1.5rem;
    margin-top: 6rem;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    color: white;
    letter-spacing: -0.3px;
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.8rem;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.12);
    border: 1.5px solid rgba(0, 212, 255, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.footer-bottom {
    border-top: 1.5px solid rgba(0, 212, 255, 0.15);
    padding-top: 2.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 212, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============================================
   Particle Canvas
   ============================================ */
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ============================================
   Loading Animation
   ============================================ */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmerLoad {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 212, 255, 0.2);
    border-top-color: #00d4ff;
    border-right-color: #a855f7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-dots {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #a855f7);
    animation: bounce 1.4s infinite;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
    animation: slideDown 0.5s ease;
}

.loading-card {
    background: rgba(26, 26, 62, 0.95);
    border: 2px solid rgba(0, 212, 255, 0.4);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0, 212, 255, 0.3);
    max-width: 400px;
}

.loading-icon {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.loading-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #00d4ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.loading-progress {
    width: 100%;
    height: 4px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #a855f7);
    border-radius: 10px;
    animation: shimmerLoad 2s infinite;
    background-size: 1000px 100%;
}
@media (max-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

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

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }

    .btn-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.3rem;
        letter-spacing: -0.8px;
    }

    .hero {
        padding: 110px 0 50px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

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

    .floating-graphic-3d {
        height: 300px;
    }

    .cube-container {
        width: 200px;
        height: 200px;
    }

    .cube-face {
        width: 200px;
        height: 200px;
        font-size: 3.5rem;
    }

    .cube-face.front,
    .cube-face.back,
    .cube-face.right,
    .cube-face.left,
    .cube-face.top,
    .cube-face.bottom {
        transform-origin: center;
    }

    .contact-wrapper {
        padding: 2.5rem 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        text-align: center;
    }

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

    .service-card {
        padding: 2rem 1.5rem;
    }

    .about-item {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .about-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

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

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

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        gap: 0.8rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

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

    .tech-item {
        padding: 1.5rem 1rem;
    }

    .tech-icon {
        font-size: 2.5rem;
    }

    .tech-item p {
        font-size: 0.85rem;
    }

    .cube-container {
        width: 150px;
        height: 150px;
    }

    .cube-face {
        width: 150px;
        height: 150px;
        font-size: 2.5rem;
    }

    .floating-graphic-3d {
        height: 200px;
    }
}


@media (max-width: 375px) {
.navbar-brand {
    font-size: 1.5rem;
}}

@media (max-width: 320px) {
.navbar-brand {
    font-size: 1.2rem;
}}