:root {
    /* Color Palette */
    --primary: #0056b3;
    /* Executive Blue */
    --secondary: #00a8ff;
    /* Vivid Blue */
    --dark: #0f172a;
    /* Deep Navy */
    --light: #f8fafc;
    --white: #ffffff;
    --accent: #e2e8f0;
    --gray: #64748b;
    --gradient: linear-gradient(135deg, #0056b3 0%, #00a8ff 100%);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-serif: 'Montserrat', sans-serif;

    /* Spacing */
    --container: 1200px;
    --section-padding: 100px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    font-optical-sizing: auto;
}

h1,
h2 {
    font-family: var(--font-serif);
    font-weight: 400;
}

h3,
h4,
.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    padding: 12px 0;
    position: fixed;
    width: 94%;
    max-width: 1400px;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(10, 15, 29, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    width: 90%;
    background: rgba(10, 15, 29, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo-img {
    height: 25px;
    width: auto;
    display: block;
    filter: invert(1) hue-rotate(180deg);
    /* Makes black white while preserving blue */
    transition: 0.3s;
}

.logo-img:hover {
    filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.footer-logo {
    margin-bottom: 25px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 0.9rem;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 168, 255, 0.4);
    background: #0097e6;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass);
}

/* Full-Background Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #0a0f1d;
    margin: 10px;
    border-radius: 40px;
}

.slides-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.5s;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(10, 15, 29, 1) 0%, rgba(10, 15, 29, 0.8) 50%, rgba(10, 15, 29, 0.4) 100%);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.hero-image-container {
    position: relative;
    height: 500px;
    width: 100%;
    border-radius: 40px 40px 40px 200px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-features {
    margin-top: 30px;
    list-style: none;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.hero-features li ion-icon {
    color: var(--secondary);
    font-size: 1.2rem;
}

.highlight {
    color: var(--secondary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
}

.slide.active {
    opacity: 1;
    visibility: visible;
}


.hero-container {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-left: 30px;
}

.hero-content {
    max-width: 650px;
    text-align: left;
    position: relative;
    z-index: 10;
    padding-top: 100px;
}

.hero-slider h1 {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -1.5px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.hero-slider p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    max-width: 450px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
}

/* Social Links Left */
.hero-socials {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.social-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 20px;
}

.hero-socials a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    transition: 0.3s;
}

.hero-socials a:hover {
    color: var(--secondary);
}

/* Status Badge Top Right */
.status-badge {
    position: absolute;
    top: 140px;
    right: 5%;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 20;
    animation: float 5s ease-in-out infinite alternate;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.badge-text div:first-child {
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
}

.badge-text div:last-child {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-slider .hero-btns {
    opacity: 0;
    transform: translateY(40px);
}

.slide.active h1 {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.3s;
}

.slide.active p {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.5s;
}

.slide.active .hero-btns {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Bottom Right Controls */
.slider-progress-container {
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

/* Desktop-specific positioning for slider progress - push it DOWN */
@media (min-width: 769px) {
    .slider-progress-container {
        bottom: 15px;
    }
}

.current-slide {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
}

.progress-ring-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__circle-bg {
    stroke: rgba(255, 255, 255, 0.1);
}

.progress-ring__circle {
    stroke-dasharray: 219.9;
    /* 2 * PI * 35 */
    stroke-dashoffset: 219.9;
    transition: stroke-dashoffset 0.1s linear;
}

/* Service Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 20px;
}

/* Currency Switcher */
.currency-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.currency-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    transition: 0.3s;
    opacity: 0.5;
}

#currency-toggle:not(:checked)~.currency-label:first-of-type,
#currency-toggle:checked~.currency-label:last-of-type {
    opacity: 1;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 3px;
    background-color: var(--secondary);
    transition: .4s;
}

input:checked+.slider {
    background-color: rgba(0, 168, 255, 0.2);
}

input:checked+.slider:before {
    transform: translateX(28px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Services */
.services {
    padding: var(--section-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 20px;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--secondary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-list {
    margin-top: 20px;
    list-style: none;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li ion-icon {
    color: var(--secondary);
}

/* Pricing */
.pricing {
    padding: var(--section-padding);
    background: #0a0f1d;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.pricing-tab {
    padding: 10px 25px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--white);
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.pricing-tab.active {
    background: var(--gradient);
    border-color: transparent;
}

.pricing-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.pricing-grid.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.price-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.price-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.15);
}

.price-card.featured {
    border-color: var(--secondary);
    background: rgba(0, 168, 255, 0.05);
    transform: scale(1.05);
    z-index: 2;
}

.price-card.featured:hover {
    transform: scale(1.08) translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 168, 255, 0.25);
}

.price-tag {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 20px 0;
    transition: transform 0.2s ease;
}

.price-tag span {
    font-size: 1rem;
    color: var(--gray);
    margin-left: 5px;
}

.price-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary);
    font-weight: 700;
    margin-top: 10px;
}

.price-offer {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 25px;
    min-height: 48px;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.price-features li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li ion-icon {
    color: var(--secondary);
}

/* Process Section */
.process {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, var(--dark), #0a0f1d);
}

.process-wrapper {
    position: relative;
    padding: 60px 0;
    max-width: var(--container);
    margin: 0 auto;
}

.process-thread {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    z-index: 1;
    opacity: 0.5;
}

.process-thread svg {
    display: block;
}

#thread-path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 4;
}

#thread-path-active {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 4;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset 0.5s ease;
}

#thread-path-mobile {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2;
    /* Ensure consistent thin width */
}

#thread-path-active-mobile {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 2;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset 0.5s ease;
    filter: drop-shadow(0 0 5px var(--secondary));
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    gap: 0;
    min-height: 400px;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 10px;
    background: transparent;
    border: none;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.2;
    transform: translateY(0) scale(0.85);
}

.process-step:nth-child(even) {
    transform: translateY(200px) scale(0.85);
}

.process-step.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.process-step:nth-child(even).active {
    transform: translateY(200px) scale(1);
}

.process-step:hover {
    transform: translateY(-5px) scale(1.05) !important;
}

.process-step:nth-child(even):hover {
    transform: translateY(195px) scale(1.05) !important;
}



.step-number {
    width: 60px;
    height: 60px;
    background: var(--glass);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 20px;
    transition: 0.5s;
    color: var(--white);
    position: relative;
    z-index: 5;
}

.process-step.active .step-number {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 0 30px rgba(0, 168, 255, 0.3);
}

.step-number::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid var(--secondary);
    opacity: 0;
    transform: scale(1.2);
    transition: 0.5s;
}

.process-step.active .step-number::after {
    opacity: 1;
    transform: scale(1);
}

.process-step h4 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Why Us Section */
.why-us {
    padding: var(--section-padding);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.why-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 168, 255, 0.05), transparent);
    opacity: 0;
    transition: 0.4s;
}

.why-item:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--secondary);
    box-shadow: 0 20px 50px rgba(0, 168, 255, 0.15);
}

.why-item:hover::before {
    opacity: 1;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 168, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 30px;
    transition: 0.4s;
}

.why-item:hover .why-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 168, 255, 0.3);
}

.why-text h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.why-text p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Products Marquee */
.products-marquee {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(0, 168, 255, 0.03) 50%, rgba(15, 23, 42, 0) 100%);
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.products-marquee::before,
.products-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 300px;
    /* Wider fade for smoother entry */
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.products-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--dark), transparent);
}

.products-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--dark), transparent);
}

.marquee-title {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--secondary);
    margin-bottom: 50px;
    font-weight: 700;
    opacity: 0.8;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.marquee-title::before,
.marquee-title::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--secondary);
    opacity: 0.3;
}

.marquee-track {
    display: flex;
    overflow: hidden;
    user-select: none;
}

.marquee-content {
    display: flex;
    gap: 120px;
    /* Increased gap for better clarity */
    animation: scroll 40s linear infinite;
    /* Slower, more elegant scroll */
    padding: 0 60px;
}

.marquee-track:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
    opacity: 0.3;
    transition: all 0.5s ease;
    cursor: pointer;
    filter: grayscale(1);
    /* All logos grayscale by default */
}

.marquee-item:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0);
    /* Reveal brand colors on hover */
}

.marquee-logo {
    height: 35px;
    width: auto;
    transition: 0.5s;
}

.marquee-logo.invert-logo {
    filter: invert(1) hue-rotate(180deg) brightness(1.2);
}

/* Ensure inverted logos stay inverted but gain color/brightness on hover */
.marquee-item:hover .marquee-logo.invert-logo {
    filter: invert(1) hue-rotate(180deg) brightness(1.5) drop-shadow(0 0 10px rgba(0, 168, 255, 0.4));
}

.marquee-placeholder {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--secondary);
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.1);
}

.marquee-item span {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
    font-family: var(--font-heading);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 60px));
        /* Sync with gap and padding */
    }
}

/* Project Preview Modal */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 29, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    /* Changed from center to allow scrolling from top */
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    /* Enable vertical scroll */
    padding: 60px 0;
    /* Add padding for breathing room */
}

.preview-modal.active {
    opacity: 1;
    visibility: visible;
}

.preview-content {
    width: 90%;
    max-width: 1000px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 60px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.preview-modal.active .preview-content {
    transform: scale(1) translateY(0);
}

.close-preview {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid var(--dark);
    z-index: 2100;
}

.close-preview:hover {
    transform: rotate(90deg) scale(1.1);
    background: #0097e6;
}

.preview-header {
    margin-bottom: 25px;
    text-align: center;
}

.preview-header h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin: 15px 0 10px;
    letter-spacing: -1px;
}

.preview-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.preview-header .badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 100px;
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preview-body {
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.preview-link {
    display: block;
    width: 100%;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    backdrop-filter: blur(2px);
}

.preview-link:hover .preview-overlay {
    opacity: 1;
}

.visit-btn {
    background: var(--secondary);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 15px 30px rgba(0, 168, 255, 0.4);
    transform: translateY(20px);
    transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.preview-link:hover .visit-btn {
    transform: translateY(0);
}

.preview-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Custom scrollbar for preview body */
.preview-body::-webkit-scrollbar {
    width: 8px;
}

.preview-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.preview-body::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

/* CTA */
.cta {
    padding: var(--section-padding);
}

.cta-card {
    background: var(--gradient);
    padding: 80px 40px;
    border-radius: 40px;
    text-align: center;
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-card p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-lg {
    padding: 18px 45px;
    font-size: 1.1rem;
    background: var(--white);
    color: var(--primary);
}

/* Footer */
footer {
    padding: 100px 0 40px;
    background: #050811;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand p {
    color: var(--gray);
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--white);
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive Improvements */
@media (max-width: 1024px) {

    .hero h1,
    .hero-slider h1 {
        font-size: 3.2rem;
    }

    .hero-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .status-badge {
        right: 40px;
        top: 120px;
    }

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

@media (max-width: 991px) {
    .navbar {
        width: 96%;
        top: 15px;
    }

    .nav-links {
        display: none;
        /* Hide links on tablet/mobile for a cleaner look */
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
        padding-top: 40px;
    }

    .hero-container {
        padding-left: 30px;
        padding-right: 30px;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0;
        padding-top: 100px;
    }

    .hero-label {
        font-size: 0.8rem;
        margin-bottom: 15px;
        letter-spacing: 1.5px;
        font-weight: 700;
    }

    .hero-slider h1 {
        font-size: 2.2rem;
        /* Slighly smaller */
        margin-left: 0;
        margin-right: 0;
        line-height: 1.1;
        letter-spacing: -1.2px;
    }

    .hero-slider p {
        margin: 0 0 20px;
        font-size: 0.95rem;
        opacity: 0.8;
    }

    .hero-features {
        align-items: center;
        margin-bottom: 30px;
        list-style: none;
        padding: 0;
    }

    .hero-features li {
        justify-content: flex-start;
        font-size: 0.95rem;
    }

    .hero-btns {
        justify-content: flex-start;
        display: flex;
    }

    .hero-image-area {
        display: block;
        margin-top: 10px;
        opacity: 1;
        transform: none;
        width: 100%;
        order: 2;
        /* Ensure it stays below text but before buttons if possible */
    }

    .hero-image-container {
        height: 140px;
        /* Smaller to fit */
        border-radius: 15px 15px 15px 60px;
        border-width: 2px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    .status-badge {
        top: auto !important;
        bottom: 40px !important;
        right: 20px !important;
        left: auto !important;
        transform: scale(0.7) !important;
        transform-origin: bottom right !important;
        background: rgba(0, 168, 255, 0.15) !important;
        backdrop-filter: blur(15px) !important;
        border: 1px solid rgba(0, 168, 255, 0.4) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        z-index: 100;
        position: absolute !important;
    }

    .slide-overlay {
        background: radial-gradient(circle at 50% 30%, rgba(10, 15, 29, 0.4) 0%, rgba(10, 15, 29, 0.85) 100%);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .hero-slider h1 {
        font-size: 2.8rem;
        max-width: 100%;
        display: block;
        overflow: visible;
        line-height: 1.05;
        letter-spacing: -1.5px;
        font-weight: 800;
        margin-bottom: 20px;
    }

    .hero-slider p {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 30px;
        opacity: 0.8;
        max-width: 550px;
    }

    .hero-socials {
        display: none;
    }

    .slider-progress-container {
        bottom: 30px;
        right: 20px;
        transform: scale(0.6);
        transform-origin: bottom right;
    }

    .pricing-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .pricing-tab {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        position: relative;
        /* Context for absolute thread */
    }

    .process-thread.desktop-thread {
        display: none;
    }

    .process-thread.mobile-thread {
        display: block !important;
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        /* Top and Height will be set by JS, defaults here */
        top: 30px;
        height: calc(100% - 60px);
        width: 100%;
        z-index: 1;
        pointer-events: none;
    }

    .process-thread.mobile-thread svg {
        width: 100%;
        height: 100%;
    }

    .process-step {
        /* Reset stack overrides to allow animation */
        opacity: 0.2;
        transform: scale(0.85);
        text-align: center;
        max-width: 100%;
        position: relative;
        z-index: 2;
        /* Ensure steps are above the thread */
    }

    .process-step .step-number {
        background: #0a0f1d;
        /* Solid background to hide the line */
        z-index: 10;
        position: relative;
        transform: translateY(50%);
        /* overlap card slightly or push down? No, just keep as is */
        margin-bottom: -20px;
        /* Pull content up or number down? */
        /* Actually, let's keep number separate */
        margin-bottom: 20px;
    }

    .step-content {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 30px 20px 20px;
        /* Top padding space for number */
        border-radius: 20px;
        backdrop-filter: blur(10px);
        width: 100%;
        position: relative;
        z-index: 5;
    }

    .process-step.active {
        opacity: 1;
        transform: scale(1);
    }

    .process-step:nth-child(even) {
        /* Remove the desktop zigzag offset */
        transform: scale(0.85);
    }

    .process-step:nth-child(even).active {
        transform: scale(1);
    }

    .price-card {
        padding: 40px 25px;
    }

    .cta-card {
        padding: 60px 20px;
    }

    .cta-card h2 {
        font-size: 2.2rem;
    }

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

    .marquee-title {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    .marquee-content {
        gap: 60px;
    }

    .marquee-logo {
        height: 25px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 15px;
    }

    .hero-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .hero-slider h1 {
        font-size: 1.8rem;
        line-height: 1.1;
        text-align: left;
        margin: 0 0 10px 0;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .hero-slider p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 25px;
        display: block;
        overflow: visible;
        max-width: 100%;
        text-align: left;
        opacity: 0.75;
    }

    .status-badge {
        bottom: 100px !important;
        right: 15px !important;
        transform: scale(0.7) !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .logo-img {
        height: 22px;
    }
}

/* Consultation Form Styles */
.consultation-content {
    max-width: 850px;
}

.consultation-form {
    margin-top: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-left: 5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.7;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px 20px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(0, 168, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.15);
    transform: translateY(-2px);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

.form-group select option {
    background: #0f172a;
    color: white;
}

.form-footer {
    margin-top: 40px;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
}

.pricing-notice {
    background: rgba(0, 168, 255, 0.05);
    border: 1px solid rgba(0, 168, 255, 0.2);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: left;
}

.pricing-notice ion-icon {
    color: var(--secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Contact Method Styles */
.contact-method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 5px;
}

.contact-method-card {
    position: relative;
    cursor: pointer;
}

.contact-method-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.method-card-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.method-card-content ion-icon {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.3s;
}

.method-card-content span {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.3s;
}

.contact-method-card input[type="radio"]:checked+.method-card-content {
    background: rgba(0, 168, 255, 0.1);
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.15);
}

.contact-method-card input[type="radio"]:checked+.method-card-content ion-icon,
.contact-method-card input[type="radio"]:checked+.method-card-content span {
    color: var(--secondary);
}

.contact-method-card:hover .method-card-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .close-preview {
        top: -15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .preview-content {
        padding: 40px 20px;
        width: 95%;
    }

    .preview-header h3 {
        font-size: 1.8rem;
    }
}

.rotate {
    animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}