/* --- Variables & Reset --- */
:root {
    --bg-color: #030014;
    --surface-color: #0F0728;
    --primary: #6f00ffe7;
    --secondary: #00c3ffcb;
    --accent: #FF0080;
    --text-main: #ffffff;
    --text-muted: #9ca3af;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --container-max: 1280px;
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --radius-full: 9999px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.5;
}

/* --- Utilities --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}

.text-start {
    text-align: left;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;

    /* background-clip: text; */
    -webkit-text-fill-color: transparent;
    /* background-clip: text; */
}

.text-glow {
    text-shadow: 0 0 20px rgba(112, 0, 255, 0.5);
}

/* Glass Effects */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* --- Animations --- */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Ambient Background */
.ambient-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blob 10s infinite alternate;
}

.orb-1 {
    width: 24rem;
    height: 24rem;
    background: var(--primary);
    top: -100px;
    left: -125px;
    transform: translate(-30%, -30%);
}

.orb-2 {
    width: 30rem;
    height: 30rem;
    background: var(--secondary);
    bottom: -110px;
    right: -150px;
    transform: translate(30%, 30%);
    animation-delay: 1s;
}

.orb-3 {
    width: 16rem;
    height: 16rem;
    background: var(--accent);
    top: 20%;
    left: 40%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation-delay: 0.7s;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(3, 0, 20, 0.7);
    backdrop-filter: blur(20px);
}

/* nav.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
} */

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.75rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.logo-text span {
    color: var(--secondary);
}

.nav-links ul {
    display: none;
    list-style: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links ul {
        display: flex;
    }
}

.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    font-family: var(--font-heading);
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-links a.active {
    color: var(--secondary);
}

.mobile-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#menu-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: block;
}

@media (max-width: 768px) {
    .mobile-controls.btn-glass {
        display: none;
    }
}

@media (min-width: 768px) {
    #menu-toggle {
        display: none;
    }

    .mobile-controls.hidden-mobile {
        display: none !important;
    }
}

/* Mobile Menu */
#mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(3, 0, 20, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

#mobile-menu.open {
    transform: translateX(0);
}

#close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
}

.mobile-link {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: white;
    text-decoration: none;
}

.mobile-link.highlight {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.btn {
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(112, 0, 255, 0.6);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 18px;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    overflow: hidden;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(128, 128, 128, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(128, 128, 128, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-anim {
    opacity: 0;
    transform: translateY(20px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(112, 0, 255, 0.3);
    margin-bottom: 2rem;
    color: #d1d5db;
    font-size: 0.875rem;
    font-weight: 500;
}

.dot-container {
    position: relative;
    display: flex;
    width: 0.5rem;
    height: 0.5rem;
}

.dot-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.dot {
    position: relative;
    display: inline-flex;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--secondary);
}

.hero-title {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-subtitle {
    color: #9ca3af;
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-btns {
        flex-direction: row;
    }
}

/* Floating Cards */
.floater {
    position: absolute;
    display: none;
}

@media (min-width: 1024px) {
    .floater {
        display: block;
    }
}

.float-1 {
    top: 50%;
    left: -35%;
}

.float-2 {
    bottom: 5rem;
    right: -30%;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.glass-pill {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle.bg-blue {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.icon-circle.bg-green {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.glass-pill .label {
    font-size: 0.75rem;
    color: #9ca3af;
}

.glass-pill .value {
    font-size: 0.875rem;
    font-weight: 700;
}

.scroll-indicator {
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* --- Services Section --- */
.section-padding {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-header.center {
    text-align: center;
    align-items: center;
}

@media (min-width: 768px) {
    .section-header:not(.center) {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.section-tag {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-title.large {
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    .section-title.large {
        font-size: 3.75rem;
    }
}

.link-arrow {
    color: #9ca3af;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.link-arrow:hover {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    padding: 2rem;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px) !important;
    /* Override JS inline style on hover */
    border-color: rgba(112, 0, 255, 0.3);
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.2);
}

.glow-effect {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
    transform: translate(50%, -50%);
    transition: all 0.3s;
}

.service-card:hover .glow-effect {
    opacity: 0.2;
}

.bg-primary {
    background: var(--primary);
}

.bg-secondary {
    background: var(--secondary);
}

.bg-accent {
    background: var(--accent);
}

.bg-yellow {
    background: #eab308;
}

.service-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    width: 2rem;
    height: 2rem;
    color: var(--secondary);
    transition: color 0.3s;
}

.service-card:hover .service-icon {
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.service-card p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.service-card:hover .check-list li {
    color: #d1d5db;
}

.check-list li i {
    font-size: 0.75rem;
    color: var(--secondary);
}

.card-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    opacity: 0.6;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s;
}

.service-card:hover .card-link {
    opacity: 1;
}

.wide-card {
    grid-column: 2 / -1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .wide-card {
        flex-direction: row;
        align-items: center;
    }
}

.wide-content {
    flex: 1;
}

.btn-pill {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-pill:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wide-visual {
    flex: 1;
    min-height: 200px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(112, 0, 255, 0.2), transparent);
    opacity: 0.5;
}

.visual-icon {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 8rem;
    height: 8rem;
    color: rgba(255, 255, 255, 0.05);
    transform: rotate(12deg);
}

.visual-text {
    text-align: center;
    position: relative;
    z-index: 2;
}

.big-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.small-text {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* --- Projects Section --- */
.bg-dim {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-swiper {
    padding: 0 1rem;
    width: 100%;
    overflow: hidden;
}

.project-slide {
    width: 320px;
}

@media (min-width: 768px) {
    .project-slide {
        width: 100%;
        flex-direction: column;
    }
}

.project-card {
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s;
}

.project-card:hover {
    border-color: rgba(112, 0, 255, 0.5);
}

.card-image-container {
    height: 16rem;
    position: relative;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0.8;
}

.card-badge {
    position: absolute;
    bottom: 4rem;
    left: 1.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bg-primary-soft {
    background: rgba(112, 0, 255, 0.2);
    color: var(--primary);
    border: 1px solid rgba(112, 0, 255, 0.3);
}

.bg-secondary-soft {
    background: rgba(0, 194, 255, 0.2);
    color: var(--secondary);
    border: 1px solid rgba(0, 194, 255, 0.3);
}

.bg-accent-soft {
    background: rgba(255, 0, 128, 0.2);
    color: var(--accent);
    border: 1px solid rgba(255, 0, 128, 0.3);
}

.bg-yellow-soft {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.card-title-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
}

.card-title-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.card-action {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.icon-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.hover-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.hover-secondary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.hover-accent:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.hover-yellow:hover {
    background: #eab308;
    border-color: #eab308;
}

.card-body {
    padding: 1.5rem;
}

.card-body p {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* --- Tech Stack --- */
.section-padding-sm {
    padding: 2rem 0;
}

.bg-glass-strip {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-slide {
    width: auto;
    padding: 0 2.5rem;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s;
    font-size: 5rem;
}

.tech-slide:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* --- About Section --- */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        flex-direction: row;
    }
}

.about-visuals {
    width: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
}

@media (min-width: 1024px) {
    .about-visuals {
        width: 50%;
    }
}

.glow-blob {
    position: absolute;
    /* left: 60% ; */
    inset: -1rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 50%;
    filter: blur(99px);
    opacity: 0.2;
    animation: pulse-slow 4s infinite;
}

.img-grid {
    /* width: 500px; */
    height: auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-img {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: transform 0.5s;
}

.about-img:hover {
    transform: scale(1.05);
    transition: all 0.5s linear;
    /* width: 500px; */
}

.img-1 {
    width: 300px;
    height: 200px;
    position: relative;
    /* right: 20%; */
    top: 30%;
}

.img-2 {
    position: relative;
    top: -20%;
    width: 300px;
}

.floater-stats {
    position: absolute;
    bottom: -2.5rem;
    left: -2.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.2;
}

.about-content {
    width: 100%;
    opacity: 0;
    transform: translateX(40px);
}

@media (min-width: 1024px) {
    .about-content {
        width: 50%;
    }
}

.section-desc {
    color: #9ca3af;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-item {
    padding-left: 1rem;
    border-left: 2px solid;
}

.border-primary {
    border-color: var(--primary);
}

.border-accent {
    border-color: var(--accent);
}

.feature-item h4 {
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
}

.feature-item p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* --- Process Timeline --- */
.timeline-container {
    position: relative;
    max-width: 64rem;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
}

@media (min-width: 768px) {
    .timeline-line {
        left: 50%;
        transform: translateX(-0.5px);
    }
}

.process-step {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    /* GSAP will handle */
}

@media (min-width: 768px) {
    .process-step {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.step-content {
    width: 100%;
    padding-left: 3.5rem;
}

@media (min-width: 768px) {
    .step-content {
        width: 42%;
        padding: 0;
    }

    .text-end {
        text-align: right;
        padding-right: 2.5rem;
    }

    .text-start {
        text-align: left;
        padding-left: 2.5rem;
    }
}

.step-marker {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: black;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.5);
}

@media (min-width: 768px) {
    .step-marker {
        position: relative;
        left: auto;
        top: auto;
        flex-shrink: 0;
    }
}

.border-primary {
    border-color: var(--primary);
}

.border-secondary {
    border-color: var(--secondary);
}

.border-accent {
    border-color: var(--accent);
}

.border-white {
    border-color: rgba(201, 196, 196, 0.5);
}

.step-empty {
    display: none;
    width: 42%;
}

@media (min-width: 768px) {
    .step-empty {
        display: block;
    }
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.process-step:hover .group-hover-primary {
    color: var(--primary);
}

.process-step:hover .group-hover-secondary {
    color: var(--secondary);
}

.process-step:hover .group-hover-white {
    color: rgb(179, 176, 176);
}

.process-step:hover .group-hover-accent {
    color: var(--accent);
}

/* --- FAQ --- */
.narrow-container {
    max-width: 48rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    color: white;
    text-align: left;
    cursor: pointer;
}

.faq-header span {
    font-size: 1.125rem;
    font-weight: 600;
}

.faq-icon {
    color: #9ca3af;
    transition: transform 0.3s;
}

.faq-content {
    height: 0;
    overflow: hidden;
}

.faq-inner {
    padding: 0 1.5rem 1.5rem;
    color: #9ca3af;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(10px);
}

/* --- Contact --- */
.decoration-blur {
    position: absolute;
    top: 5rem;
    right: -5rem;
    width: 24rem;
    height: 24rem;
    background: rgba(112, 0, 255, 0.2);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.contact-card {
    border-radius: 2.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .contact-card {
        padding: 4rem;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-form-wrapper {
    background: rgba(15, 7, 40, 0.5);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
}

.form-group textarea {
    height: 8rem;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 0.75rem;
    border: none;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
}

/* --- Footer --- */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #020010;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-col h4 {
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem 0 0 0.5rem;
    padding: 0.5rem 1rem;
    color: white;
    width: 100%;
    outline: none;
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 0 1rem;
    color: white;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: rgba(112, 0, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    color: #4b5563;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #9ca3af;
}

/* Split Text Animation Helper */
.split-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}



/* ---------------------------
  Extra responsive tweaks
  Paste at end of style.css
----------------------------*/

/* global container padding for small screens */
@media (max-width: 639px) {

   
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .ambient-light{
        width: 100vw !important;
    }

    /* nav adjustments */
    .logo-text {
        font-size: 2rem;
    }

    .nav-links ul {
        display: none !important;
    }

    #navbar {
        width: 100vw;
        /* display: block !important; */
    }

    /* hero */
    .hero-section {
    
        margin-top: 4rem;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 3.9rem !important;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        max-width: none;
    }

    .hero-btns {
        gap: 0.6rem;
    }

    /* hide floaters to prevent overflow */
    .floater {
        display: none !important;
    }

    /* services grid -> single column */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .wide-card {
        grid-column: auto;
        flex-direction: column;
        padding: 1rem;
    }

    /* projects */
    .project-swiper {
        padding: 0;
    }

    .project-slide {
        width: 92vw !important;
        max-width: 420px;
    }

    /* about images: responsive stacking */
    .img-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .img-1,
    .img-2 {
        width: 100% !important;
        height: auto !important;
        position: static !important;
        top: 0 !important;
    }

    /* floater-stats reposition */
    .floater-stats {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
    }

    /* features -> vertical */
    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* timeline: remove horizontal line offset on mobile */
    .timeline-line {
        left: 1rem !important;
        transform: none !important;
    }

    /* faq */
    .mobile-link {
        font-size: 1.5rem;
    }

    /* contact: stack columns */
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-info .image-box img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .contact-form-wrapper {
        width: 100%;
    }

    /* optimized footer layout */
    .footer-bottom {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* tablet tweaks */
@media (min-width: 640px) and (max-width: 1023px) {
    .logo-text {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 3rem;
    }

    .img-grid {
        grid-template-columns: 1fr 1fr;
    }

    .img-1,
    .img-2 {
        width: 100%;
        height: auto;
        position: static;
        top: 0;
    }

    .wide-card {
        grid-column: 1 / -1;
    }
}

/* sensible max-widths to avoid huge text on very large screens */
@media (min-width: 1600px) {
    .hero-title {
        max-width: 1200px;
    }

    .section-title {
        max-width: 1200px;
    }
}

/* small accessibility improvement: increase touch target on mobile */
@media (max-width: 639px) {

    .mobile-link,
    .btn {
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
    }
    .mobile-controls a{
        display: none !important;
    }
    
}

/* small fix: ensure images never break layout */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* End responsive tweaks */