/*
--- SPECTRUM VOID THEME ---
Concept: A living spectrum — every marketing metric emits light that animates the environment.
Aesthetic: 360° gradient spectrum dome, soft light bloom reflections.
Colors: Full-spectrum gradient; primary base #101020.
*/

:root {
    --primary-bg: #101020;
    --primary-bg-transparent: rgba(16, 16, 32, 0.8);
    --secondary-bg: #1a1a3a;
    --text-primary: #e0e0ff;
    --text-secondary: #a0a0c0;
    --glow-color: #ff00ff;
    --accent-color-1: #00ffff;
    --accent-color-2: #ff00ff;
    --accent-color-3: #ffff00;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --glow-shadow: 0 0 5px var(--accent-color-1), 0 0 10px var(--accent-color-1), 0 0 15px var(--accent-color-2), 0 0 20px var(--accent-color-2);
}

/* --- Base & Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--accent-color-1), var(--accent-color-2));
    border-radius: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
}

a {
    color: var(--accent-color-1);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--accent-color-1);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 100px 0;
    position: relative;
}

.highlight {
    color: var(--accent-color-1);
    text-shadow: 0 0 10px var(--accent-color-1);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--accent-color-1);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
}


/* --- Aurora Cursor Trail --- */
#cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.5) 0%, rgba(0, 255, 255, 0) 60%);
    transition: transform 0.1s ease-out, opacity 0.3s ease-out;
    transform: translate(-50%, -50%);
}

.trail-element {
    position: fixed;
    pointer-events: none;
    width: 20px;
    height: 40px;
    border-radius: 50%;
    z-index: 9998;
    background: linear-gradient(var(--accent-color-1), var(--accent-color-2));
    opacity: 0.8;
    animation: fadeOut 0.5s forwards;
    transform-origin: center;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.5) rotate(180deg);
    }
}


/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-logo {
    text-align: center;
}

.loader-logo img {
    width: 100px;
    margin-bottom: 20px;
    filter: invert(1);
    animation: pulse 2s infinite ease-in-out;
}

.loader-bar {
    width: 150px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50px;
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    border-radius: 2px;
    animation: loading 2.5s infinite linear;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes loading {
    0% {
        transform: translateX(-50px);
    }

    100% {
        transform: translateX(150px);
    }
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background-color: var(--primary-bg-transparent);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo img {
    height: 60px;
    filter: invert(1);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link .fa-chevron-down {
    font-size: 0.8em;
    margin-left: 5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-menu li a:hover {
    background-color: var(--primary-bg);
    color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    top: -9px;
}

.hamburger::after {
    top: 9px;
}

.nav.active .hamburger {
    background: transparent;
}

.nav.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    z-index: 1;
    border: 2px solid transparent;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-primary {
    color: #fff;
    background-image: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    background-size: 200% auto;
    transition: background-position 0.5s ease;
}

.btn-primary:hover {
    color: #fff;
    background-position: right center;
}

.btn-secondary {
    color: #fff;
    background-color: transparent;
    border: 2px solid var(--accent-color-1);
}

.btn-secondary:hover {
    color: var(--primary-bg);
    background-color: var(--accent-color-1);
    box-shadow: var(--glow-shadow);
}

.btn-secondary i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-secondary:hover i {
    transform: translateX(5px);
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.3rem;
}

/* --- Clean CSS Starfield Background --- */
.hero-bg,
.cta-bg,
.page-header .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background-color: var(--primary-bg);
}

/* Layer 1: Small, dense stars */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    background-image: radial-gradient(white, rgba(255, 255, 255, 0) 0.5px);
    background-size: 1px 1px;
    background-repeat: repeat;
    opacity: 0.4;
    animation: zoom-stars 20s linear infinite;
}

@keyframes zoom-stars {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Layer 2: Twinkling stars */
.twinkling {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    background-image:
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    background-position: 0 0, 40px 40px;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.8;
    }
}


/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    bottom: -50vh;
    left: 50%;
    transform: translateX(-50%);
    width: 150vw;
    height: 100vh;
    background: radial-gradient(ellipse at bottom, rgba(0, 255, 255, 0.15), transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-primary);
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 3D Data Cube */
.hero-3d-visualization {
    position: absolute;
    bottom: 5%;
    right: 5%;
    perspective: 800px;
    z-index: 1;
    display: none;
    /* Hidden on small screens */
}

.data-cube {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

.data-cube .face {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid var(--accent-color-1);
    background: rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.2);
}

.face.front {
    transform: rotateY(0deg) translateZ(50px);
}

.face.back {
    transform: rotateY(180deg) translateZ(50px);
}

.face.right {
    transform: rotateY(90deg) translateZ(50px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(50px);
}

.face.top {
    transform: rotateX(90deg) translateZ(50px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(50px);
}

@keyframes rotate-cube {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    border-radius: var(--border-radius);
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.service-card-inner {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    height: 100%;
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color-1);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--accent-color-1);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-link {
    font-family: var(--font-secondary);
    font-weight: 600;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* --- Process Section --- */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(var(--secondary-bg), var(--accent-color-1), var(--secondary-bg));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.process-step {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.process-step:nth-child(even) {
    left: 50%;
    text-align: left;
}

.process-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.5rem;
    font-family: var(--font-secondary);
    text-align: center;
    background: var(--secondary-bg);
    color: var(--accent-color-1);
    border: 3px solid var(--accent-color-1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: 0 0 15px var(--accent-color-1);
}

.process-step:nth-child(odd) .process-icon {
    right: -30px;
}

.process-step:nth-child(even) .process-icon {
    left: -30px;
}

.process-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.process-content p {
    color: var(--text-secondary);
}

/* --- Testimonials Section --- */
.testimonial-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    /* This will be handled by JS, but good for base */
}

.testimonial-card {
    flex: 0 0 100%;
    background: var(--secondary-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
}

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--accent-color-1);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 1.2rem;
    margin: 0;
}

.author-info span {
    color: var(--text-secondary);
}

/* --- Industry Section --- */
.industry-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background-color: var(--secondary-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.industry-tabs .tab-link {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
}

.industry-tabs .tab-link i {
    font-size: 1.5rem;
    width: 30px;
}

.industry-tabs .tab-link.active,
.industry-tabs .tab-link:hover {
    background-color: var(--primary-bg);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.industry-content .tab-content {
    display: none;
}

.industry-content .tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.industry-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--accent-color-1);
}

.industry-content ul {
    margin-top: 20px;
    padding-left: 20px;
}

.industry-content ul li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.industry-content ul li i {
    color: var(--accent-color-1);
}

/* --- CTA Section --- */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
.footer {
    padding-top: 80px;
    background: var(--secondary-bg);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo img {
    height: 60px;
    filter: invert(1);
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-secondary);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #fff;
    border-color: var(--accent-color-1);
    background: var(--accent-color-1);
    color: var(--primary-bg);
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 15px;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: var(--text-secondary);
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Utility Classes (Back to top, Chat, etc.) --- */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(var(--accent-color-1), var(--accent-color-2));
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 999;
}

.back-to-top.show {
    visibility: visible;
    opacity: 1;
}

.chat-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-color-1);
    color: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
}

/* --- Page Header for Inner Pages --- */
.page-header {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.breadcrumbs {
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--text-secondary);
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs span {
    color: #fff;
}

/* --- Legal Pages Content --- */
.main-content {
    padding: 80px 0;
}

.legal-content {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--accent-color-1);
}

.legal-content p,
.legal-content li {
    color: var(--text-secondary);
}

.legal-content strong {
    color: var(--text-primary);
}

/* --- Contact Section & Form (NEW) --- */
.contact-section {
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-form-container {
    background: rgba(26, 26, 58, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(0, 255, 255, 0.1);
}

.contact-form .form-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 8px var(--accent-color-1);
}

.contact-form .form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.contact-form .form-group {
    flex: 1;
    position: relative;
}

.form-row+.form-group {
    margin-bottom: 25px;
}

.contact-form label {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(160, 160, 192, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color-1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 30px;
    user-select: none;
}

.checkbox-group input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.checkbox-group label[for="consent"] {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.checkbox-group label[for="consent"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid var(--accent-color-1);
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.checkbox-group input[type="checkbox"]:checked+label[for="consent"]::before {
    background-color: var(--accent-color-1);
    box-shadow: 0 0 10px var(--accent-color-1);
}

.checkbox-group label[for="consent"]::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    color: var(--primary-bg);
    font-size: 12px;
    transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.checkbox-group input[type="checkbox"]:checked+label[for="consent"]::after {
    transform: translateY(-50%) scale(1);
}

.checkbox-group label a {
    text-decoration: underline;
}

.checkbox-group label a:hover {
    text-decoration: none;
}

.contact-form button[type="submit"] {
    padding: 15px 30px;
    font-size: 1.2rem;
}

.contact-form button[type="submit"]:hover {
    box-shadow: 0 0 25px var(--accent-color-2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: rgba(26, 26, 58, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}

.contact-icon {
    font-size: 2rem;
    color: var(--accent-color-1);
    text-shadow: 0 0 10px var(--accent-color-1);
    min-width: 40px;
    text-align: center;
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #fff;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.contact-details p a {
    color: var(--text-secondary);
}

.contact-details p a:hover {
    color: var(--accent-color-1);
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 16, 32, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 450px;
    border: 1px solid var(--accent-color-1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.popup-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.popup-icon {
    font-size: 4rem;
    color: #00ff89;
    margin-bottom: 20px;
    text-shadow: 0 0 15px #00ff89;
}

.popup-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.popup-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* --- Scroll Animations --- */
[data-animation] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-animation="fade-in"] {
    transform: scale(0.95);
}

[data-animation="fade-up"] {
    transform: translateY(50px);
}

[data-animation="fade-right"] {
    transform: translateX(-50px);
}

[data-animation="fade-left"] {
    transform: translateX(50px);
}

.animate {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary-bg-transparent);
        backdrop-filter: blur(20px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .nav-link {
        font-size: 2rem;
    }

    .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-top: 20px;
        text-align: center;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-3d-visualization {
        display: none;
    }

    .contact-wrapper,
    .industry-wrapper {
        grid-template-columns: 1fr;
    }

    .process-timeline::after {
        left: 30px;
    }

    .process-step {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
        text-align: left !important;
    }

    .process-step:nth-child(even) {
        left: 0;
    }

    .process-icon,
    .process-step:nth-child(odd) .process-icon,
    .process-step:nth-child(even) .process-icon {
        left: 0;
    }
}

@media (max-width: 576px) {

    .section-title,
    .hero-title,
    .page-header h1 {
        font-size: 2.5rem;
    }

    .hero-description,
    .section-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-form .form-row .form-group {
        margin-bottom: 25px;
    }

    .contact-form .form-row .form-group:last-child {
        margin-bottom: 0;
    }

    .footer-top {
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }
}