:root {
    --color-primary: #0a192f;
    --color-secondary: #00b4d8;
    --color-accent: #00ffcc;
    --color-bg: #0a192f;
    --color-text: #ffffff;
    --color-text-muted: #8892b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

p {
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.gradient-text {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--color-accent);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.bg-gradient {
    background: radial-gradient(circle at top right, rgba(0, 180, 216, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 255, 204, 0.05), transparent 40%);
}

/* Components */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    color: var(--color-primary);
    border: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline:hover {
    background: rgba(0, 180, 216, 0.1);
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.glow-effect:hover {
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.6);
    transform: translateY(-2px);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    border-radius: 0 0 16px 16px;
    border-top: none;
    border-left: none;
    border-right: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--color-secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.dynamic-text-wrapper {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--color-secondary);
    min-height: 1.6em;
}

.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--color-accent);
    animation: blink 1s infinite;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    animation: bounce 2s infinite;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.mission-box {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.mission-box i {
    color: var(--color-accent);
    font-size: 1.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    display: inline-block;
}

.stat-symbol {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    display: inline-block;
}

/* Services Section */
/* Services Section - Carousel */
.services-carousel {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    margin-top: 50px;
    /* Masking for fade effect on edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.services-track {
    display: flex;
    gap: 30px;
    width: max-content;
    /* Animation handled by JS for seamless loop or CSS infinite */
    /* animation: scroll 40s linear infinite; */
}

/* Pause on hover if desired */
/* .services-track:hover {
    animation-play-state: paused;
} */

.service-card {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 300px;
    /* Fixed width for carousel items */
    max-width: 300px;
    flex-shrink: 0;
}

/* @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 7 - 30px * 7)); } 
} */

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-secondary);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.learn-more {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.learn-more:hover {
    gap: 10px;
}

/* Technologies Section */
.tech-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    transition: var(--transition);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.2);
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.process-flow {
    margin-top: 60px;
    text-align: center;
}

.process-flow h3 {
    margin-bottom: 30px;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.vertical-process {
    flex-direction: column;
    gap: 15px;
}

.step {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    justify-content: flex-start;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-accent);
    border: 1px solid var(--color-secondary);
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.2);
}

.arrow {
    color: var(--color-secondary);
    font-size: 1.5rem;
    height: 30px;
    display: flex;
    align-items: center;
}

.animated-arrow i {
    animation: glowPulse 1.5s infinite alternate, floatDown 1s infinite alternate;
    text-shadow: 0 0 10px var(--color-accent);
}

@keyframes glowPulse {
    from {
        opacity: 0.6;
        text-shadow: 0 0 5px var(--color-secondary);
    }

    to {
        opacity: 1;
        text-shadow: 0 0 15px var(--color-accent);
    }
}

@keyframes floatDown {
    from {
        transform: translateY(-3px);
    }

    to {
        transform: translateY(3px);
    }
}

/* Clients Section */
.carousel-container {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    padding: 40px 60px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.carousel-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

.quote-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial h4 {
    color: var(--color-secondary);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 10px;
}

.testimonial p {
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.carousel-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-controls button:hover {
    color: var(--color-accent);
}

#prev-slide {
    left: 20px;
}

#next-slide {
    right: 20px;
}

/* Booking Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--color-secondary);
    width: 24px;
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.2);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Footer */
footer {
    background: #020c1b;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--color-text-muted);
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--color-accent);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #0a192f;
    border: 1px solid var(--color-secondary);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: zoomIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.success-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

/* Animations */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .nav-container .btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0a192f;
        padding: 20px;
        border-bottom: 1px solid var(--glass-border);
    }
}