:root {
    --bg-color: #080a0f; /* Very dark background */
    --grid-color: #1a1e24; /* Subtle grid lines */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #ffb800; /* Yellow/Gold */
    --border-color: #1e293b;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary) !important;
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Background Grid Pattern */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-size: 100px 100px;
    background-image: 
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    opacity: 0.5;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography elements */
.section-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

/* Divider line */
.divider {
    height: 1px;
    background-color: var(--border-color);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.logo-highlight {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 2px 6px;
    margin-right: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary) !important;
}

.nav-links a.active-nav {
    color: var(--accent-color) !important;
}

.btn-outline {
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    color: var(--accent-color) !important;
    transition: all 0.3s !important;
}

.btn-outline:hover {
    border-color: var(--accent-color);
    background-color: rgba(255, 184, 0, 0.1);
}

/* Language Switcher */
.lang-switcher select {
    background-color: transparent;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.lang-switcher select:hover,
.lang-switcher select:focus {
    color: var(--text-primary) !important;
    border-color: var(--accent-color);
}

.lang-switcher select option {
    background-color: var(--bg-color);
    color: var(--text-primary) !important;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 100px);
    padding: 20px 0 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.hero-text {
    flex: 1.2;
}
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.hero-image img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.hero-title {
    font-size: clamp(1.5rem, min(3.5vw, 6vh), 3.2rem);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.02em;
    max-width: 1000px;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary) !important;
    margin-top: 30px;
    max-width: 600px;
    line-height: 1.6;
}

/* Intro Card (First slide in Services) */
.intro-card {
    border: none;
    padding-left: 0;
    justify-content: center;
    background: transparent;
}
.intro-subtitle {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 500;
}
.intro-desc {
    color: var(--text-secondary) !important;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Update Services Grid for Horizontal Scroll */
.services-wrapper {
    height: 400vh;
    position: relative;
    margin-bottom: 0px;
}

.services-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.services {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    padding: 0 40px;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.services-controls {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.slider-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

.service-card {
    min-width: 600px;
    max-width: 600px;
    height: 480px;
    padding: 50px 40px;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow-y: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.service-card::-webkit-scrollbar {
    display: none;
}


/* Yellow corner markers */
.corner-tl, .corner-tr, .corner-bl, .corner-br {
    display: none;
}

.service-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.service-title-small {
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.service-desc {
    color: var(--text-secondary) !important;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-desc ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.service-desc li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}
.service-desc li::before {
    content: "—";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* Why Us Section */
.why-us {
    padding: 40px 0 120px 0;
}
.whyus-main-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 60px;
}
.whyus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.whyus-item {
    border-left: 2px solid var(--accent-color);
    padding-left: 24px;
}
.whyus-item h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text-primary) !important;
    font-weight: 500;
}
.whyus-item p {
    color: var(--text-secondary) !important;
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.contact-desc {
    color: var(--text-secondary) !important;
    font-size: 1.25rem;
    margin-bottom: 60px;
    max-width: 800px;
}

.btn-solid {
    display: inline-block;
    background-color: var(--accent-color);
    color: #000;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 16px 32px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background-color 0.3s;
}

.btn-solid:hover {
    background-color: #e6a600;
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 20px 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-primary) !important;
}

.footer-copy {
    color: var(--text-secondary) !important;
    text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .whyus-grid {
        grid-template-columns: 1fr;
    }
}

/* Hamburger menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 20px;
    }

    /* Navbar */
    .navbar-inner {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(8, 10, 15, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 40px 20px;
        transition: right 0.4s ease;
        z-index: 999;
        border-left: 1px solid var(--border-color);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
    }

    /* Hero */
    .hero {
        flex-direction: column;
        padding: 10px 0 20px 0;
        min-height: auto;
        gap: 30px;
    }

    .hero-text {
        flex: none;
        width: 100%;
    }

    .hero-title {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }

    .hero-desc {
        font-size: 1rem;
        margin-top: 20px;
    }

    .hero-image {
        flex: none;
        width: 100%;
        justify-content: center;
    }

    .hero-animation {
        max-width: 300px;
    }

    /* Services Section */
    .services-wrapper {
        height: 350vh;
    }

    .services {
        gap: 20px;
        padding: 0 20px;
    }

    .services-controls {
        bottom: 10px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }

    /* Intro card in services */
    .intro-subtitle {
        font-size: 1.5rem;
    }

    .intro-desc {
        font-size: 0.95rem;
    }

    /* Service cards */
    .service-card {
        min-width: 85vw;
        max-width: 85vw;
        height: 68vh;
        padding: 24px 20px;
        overflow-y: hidden;
    }

    .service-title-small {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .service-tag {
        font-size: 0.7rem;
        margin-bottom: 10px;
    }

    .service-desc {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .service-desc li {
        margin-bottom: 8px;
        padding-left: 15px;
    }

    /* Why Us */
    .why-us {
        padding: 30px 0 60px 0;
    }

    .whyus-main-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .whyus-grid {
        gap: 24px;
    }

    .whyus-item h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .whyus-item p {
        font-size: 0.9rem;
    }

    /* Contact */
    .contact-section {
        padding: 40px 0;
    }

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

    .contact-desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-solid {
        font-size: 0.8rem;
        padding: 14px 24px;
    }

    /* Footer */
    .footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 16px 0;
    }

    .footer-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Modal */
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }

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

    /* Section tag */
    .section-tag {
        font-size: 0.75rem;
    }
}

/* Book a Call Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--text-secondary) !important;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-primary) !important;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.modal-subtitle {
    color: var(--text-secondary) !important;
    margin-bottom: 30px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary) !important;
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.form-group .required {
    color: var(--accent-color);
}

.booking-form input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary) !important;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.booking-form input:focus {
    border-color: var(--accent-color);
}

.booking-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 0;
}

/* Intl-tel-input overrides for dark theme */
.iti {
    width: 100%;
}
.iti__country-list {
    background-color: #111 !important;
    border: 1px solid var(--border-color);
    color: var(--text-primary) !important;
    max-width: 400px;
}
.iti__country-name {
    color: var(--text-primary) !important;
}
.iti__dial-code {
    color: var(--text-secondary) !important;
}
.iti__country.iti__highlight {
    background-color: rgba(255, 255, 255, 0.1) !important;
}
.iti__divider {
    border-bottom: 1px solid var(--border-color);
}
.iti__selected-dial-code {
    color: var(--text-primary) !important;
}

.services::after {
    content: '';
    min-width: 1px;
    height: 1px;
}


/* Hero SVG Animation */
.hero-animation {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.1));
}

.data-flow {
    stroke-dasharray: 15 300;
    stroke-dashoffset: 300;
    animation: flowAnim 2.5s linear infinite;
}

.flow-1 { animation-delay: 0s; stroke-dasharray: 15 300; animation-duration: 2.5s; }
.flow-2 { animation-delay: 1.2s; stroke-dasharray: 15 300; animation-duration: 2.5s; }
.flow-3 { animation-delay: 0.5s; stroke-dasharray: 15 150; stroke-dashoffset: 150; animation-duration: 1.5s; animation-name: flowAnimShort; }

@keyframes flowAnim {
    0% { stroke-dashoffset: 300; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes flowAnimShort {
    0% { stroke-dashoffset: 150; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}
