/* --- Core Variables --- */
:root {
    --bg-dark: #0f0f13;
    --bg-darker: #08080a;
    --bg-card: #15151a;
    --bg-card-light: #f5f5f5;
    --bg-color: #0f0f13;
    --text-color: #ffffff;
    --text-dark: #121212;
    --text-muted: #a0a0a5;
    --primary-yellow: #fbc02d;
    --primary-purple: #9d6cf5;
    --primary-purple-hover: #8b5cf6;
    
    --font-main: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Reset & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.col-half {
    flex: 1;
    min-width: 300px;
}

.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 3rem; }
.ms-2 { margin-left: 0.5rem; }
.me-2 { margin-right: 0.5rem; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.pt-4 { padding-top: 1.5rem; }
.pt-5 { padding-top: 3rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pr-5 { padding-right: 3rem; }
.d-inline-block { display: inline-block; }
.text-sm { font-size: 0.9rem; line-height: 1.6; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: #fff !important; }
.text-purple { color: var(--primary-purple); }
.text-muted { color: var(--text-muted); }
.w-100 { width: 100%; }

/* Visually hidden (accessible to screen readers and search engines, hidden visually) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* --- Floating Icons --- */
.fixed-icons {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.icon-btn:hover {
    transform: scale(1.1) translateX(-5px);
}

.icon-btn.whatsapp { background-color: #25D366; }
.icon-btn.phone { background-color: #06b6d4; }

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 500;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(15, 15, 19, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--primary-purple);
    font-size: 1.8rem;
}

.logo-text {
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-yellow);
}

.btn-quote {
    background-color: var(--primary-yellow);
    color: #000;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-purple {
    background-color: var(--primary-purple);
    color: #fff;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-purple:hover {
    background-color: var(--primary-purple-hover);
}

.hover-grow {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.hover-grow:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Slider --- */
.hero-section {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    overflow: hidden;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Promote to its own layer — prevents iOS freeze when parent slide uses transform */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.75); /* Dark tint to make text readable */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.massive-title {
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--text-color);
    letter-spacing: -2px;
}

.slide-subtitle {
    font-size: 1.8rem;
    color: #e0e0e0;
    font-weight: 300;
    line-height: 1.4;
    border-left: 4px solid var(--primary-yellow);
    padding-left: 20px;
}

/* Custom Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    gap: 20px;
    z-index: 100;
}

button.custom-nav,
.swiper-button-next.custom-nav,
.swiper-button-prev.custom-nav {
    position: static;
    width: 50px;
    height: 50px;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.swiper-button-next.custom-nav::after,
.swiper-button-prev.custom-nav::after {
    font-size: 18px;
    font-weight: 300; /* Thin arrows */
}

button.custom-nav:hover,
.swiper-button-next.custom-nav:hover,
.swiper-button-prev.custom-nav:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Custom Horizontal Pagination Pill */
.swiper-pagination {
    position: absolute;
    bottom: 50px !important;
    left: 50px !important;
    width: auto !important;
    z-index: 100;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: rgba(15, 15, 19, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 40px;
    font-family: var(--font-main);
}

.swiper-pagination .current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    line-height: 1;
}

.swiper-pagination .separator {
    width: 30px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 15px;
}

.swiper-pagination .total {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1;
}

/* --- Tech Bar --- */
.tech-bar {
    background-color: #111111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tech-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1.5rem 0;
    color: #a0a0a0;
    font-size: 0.95rem;
    font-weight: 500;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease;
}

.tech-item:last-child {
    border-right: none;
}

.tech-item i {
    font-size: 1.3rem;
    color: #fff;
}

.tech-item:hover {
    color: #fff;
}

@media (max-width: 992px) {
    .tech-bar-container {
        flex-wrap: wrap;
    }
    .tech-item {
        flex: 1 1 50%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .tech-item:nth-child(even) {
        border-right: none;
    }
    .tech-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}
@media (max-width: 576px) {
    .tech-item {
        flex: 1 1 50%;
        padding: 1rem 0.75rem;
        font-size: 0.82rem;
        gap: 8px;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
    .tech-item:nth-child(even) {
        border-right: none;
    }
    .tech-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .tech-item i {
        font-size: 1.15rem;
    }
    .tech-bar-container {
        padding: 0;
    }
}

/* --- Intro Section --- */
.intro-card {
    background-color: rgba(25, 25, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 4rem;
    display: flex;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    background: linear-gradient(to bottom, #9d6cf5, #6c3ce9);
}

.intro-left {
    flex: 1;
    min-width: 300px;
}

.intro-heading {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(90deg, #c7a7ff, #e5d5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.heading-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-purple);
    border-radius: 2px;
}

/* --- Brands Slider --- */
.brands-section {
    background-color: var(--bg-color);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

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

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

.marquee-content {
    display: inline-block;
    animation: scroll-marquee 30s linear infinite;
}

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

.brand-item {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 0 40px;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.brand-item i {
    font-size: 2.5rem;
}

.brand-item:hover {
    color: #fff;
    transform: scale(1.05);
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .brands-section {
        padding: 2rem 0;
    }
    .marquee-container::before,
    .marquee-container::after {
        width: 80px;
    }
    .brand-item {
        padding: 0 25px;
        font-size: 1.2rem;
    }
    .brand-item i {
        font-size: 1.8rem;
    }
}

.intro-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.intro-right p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- Bento Services Grid --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.bento-card {
    padding: 3rem;
    border-radius: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
}

.bento-card.dark {
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
}

.bento-card.light {
    background-color: var(--bg-card-light);
    color: var(--text-dark);
}

.bento-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bento-card p {
    font-size: 1rem;
    opacity: 0.8;
}

.bento-icon {
    position: absolute;
    bottom: -20px;
    left: -20px;
    font-size: 10rem;
    opacity: 0.05;
    transition: var(--transition);
}

.bento-card.light .bento-icon {
    opacity: 0.05;
    color: #000;
}

.bento-card:hover .bento-icon {
    transform: scale(1.1) rotate(10deg);
}

.bento-arrow {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.bento-card.light .bento-arrow {
    background: rgba(0,0,0,0.1);
}

.bento-card:hover .bento-arrow {
    background: var(--primary-purple);
    color: white;
    transform: translateX(10px);
}

/* --- Banner Section --- */
.banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0; /* remove inline gap below the video */
}

.banner-video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain; /* show the full video frame, never crop its text */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15,15,19,0.8);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

/* --- About Section (Below Banner) --- */
.about-card {
    background-color: #121214;
    border-radius: 12px;
    border-left: 5px solid var(--primary-purple);
    padding: 5rem 4rem;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-card-left {
    flex: 1;
}

.about-card-right {
    flex: 1.2;
}

.about-card-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about-card-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-purple);
    border-radius: 2px;
}

.about-card-right p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-card-right p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .about-card {
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 3rem;
    }
    .about-card-title {
        font-size: 2.2rem;
    }
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Digital Services Grid --- */
.why-choose-img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 5rem auto;
    border-radius: 20px;
    overflow: hidden;
}
.why-choose-img img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

.digital-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.digital-service-card {
    background-color: #121214;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}

.digital-service-card.active {
    border-color: rgba(168, 127, 251, 0.5);
}

.digital-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 127, 251, 0.3);
}

.ds-icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #a87ffb, #6b4cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.digital-service-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.4;
}

.digital-service-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .digital-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .digital-services-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Projects --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.project-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.bg-placeholder-1 { background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=800&q=80'); }
.bg-placeholder-2 { background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=800&q=80'); }
.bg-placeholder-3 { background-image: url('https://images.unsplash.com/photo-1576153192396-180ecef2a715?auto=format&fit=crop&w=800&q=80'); }

.project-info {
    padding: 2rem;
}

/* --- Contact Form --- */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info .icon-box {
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-info-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-info-label {
    display: block;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-info-value {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}

.contact-info-address {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

.address-details {
    line-height: 1.8;
}

.address-details small {
    display: inline-block;
    margin-bottom: 8px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: rgba(255,255,255,0.05);
}

.underline-input {
    width: 100%;
    padding: 1rem 0;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 0 !important;
    color: white !important;
    font-family: inherit;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
.underline-input:focus {
    outline: none;
    border-bottom-color: var(--primary-purple) !important;
}
.form-contact-info div {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.form-contact-info i {
    flex-shrink: 0;
    width: 20px;
    margin-top: 3px;
}

/* --- Footer --- */
.footer {
    padding: 5rem 0 2rem;
    background: var(--bg-darker);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.brand-col .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.brand-col .text-sm {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
}

.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-links a i {
    margin-top: 4px;
    width: 14px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #fff;
}

/* --- Modal Styles --- */
.dark-theme-modal.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center; align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.dark-theme-modal.active {
    opacity: 1;
    visibility: visible;
}
.modal-container {
    width: 90%;
    max-width: 650px;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}
.dark-theme-modal.active .modal-container {
    transform: translateY(0);
}
.modal-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.modal-header-top h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}
.modal-header-top .modal-close {
    background: transparent;
    border: none;
    color: #999;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}
.modal-header-top .modal-close:hover {
    color: #fff;
}
.dark-theme-modal .modal-content {
    background: #1C1C21;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    width: 100%;
}
.dark-theme-modal .modal-form .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.dark-theme-modal .modal-form .form-row input {
    margin-bottom: 0;
    width: 100%;
}
.dark-theme-modal .modal-form input,
.dark-theme-modal .modal-form select,
.dark-theme-modal .modal-form textarea {
    width: 100%;
    background: #141418;
    border: 1px solid rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}
.dark-theme-modal .modal-form select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="292.4" height="292.4" viewBox="0 0 292.4 292.4"><path fill="%23999999" d="M287 69.4a17.6 17.6 0 0 0-13-5.4H18.4c-5 0-9.3 1.8-12.9 5.4A17.6 17.6 0 0 0 0 82.2c0 5 1.8 9.3 5.4 12.9l128 127.9c3.6 3.6 7.8 5.4 12.8 5.4s9.2-1.8 12.8-5.4L287 95c3.5-3.5 5.4-7.8 5.4-12.8 0-5-1.9-9.2-5.4-12.8z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1.2rem top 50%;
    background-size: 0.65rem auto;
}
.dark-theme-modal .modal-form select option {
    background: #141418;
    color: #fff;
}
.dark-theme-modal .modal-form textarea {
    resize: vertical;
    margin-bottom: 2rem;
}
.dark-theme-modal .modal-form input::placeholder,
.dark-theme-modal .modal-form select::placeholder,
.dark-theme-modal .modal-form textarea::placeholder {
    color: rgba(255,255,255,0.4);
}
.dark-theme-modal .modal-form input:focus,
.dark-theme-modal .modal-form select:focus,
.dark-theme-modal .modal-form textarea:focus {
    border-color: #9b5de5;
}
.btn-purple {
    background: #9b5de5;
    color: #fff;
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.btn-purple:hover {
    background: #8b4ce0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(155, 93, 229, 0.3);
}
.btn-purple i {
    margin-left: 8px;
}
.btn-full-width {
    width: 100%;
}
@media (max-width: 768px) {
    .dark-theme-modal .modal-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .dark-theme-modal .modal-form .form-row input {
        width: 100%;
        margin-bottom: 1.5rem;
    }
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
}

.slide-up {
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-in-right {
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in {
    transition: opacity 1s ease;
}

.pop-in {
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.is-visible {
    opacity: 1;
    transform: none !important;
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* --- Process Grid --- */
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgba(255,255,255,0.05);
}

.process-card {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.process-card .hover-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(1.05);
    z-index: 10;
}

.process-card:hover .hover-bg {
    opacity: 1;
    transform: scale(1);
}

.process-card-top {
    flex-grow: 1;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.process-card-bottom {
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.process-number {
    font-size: 5rem;
    font-weight: 800;
    line-height: 0.8;
    color: transparent;
    font-family: 'Inter', sans-serif;
}

.process-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.process-desc {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Black Card */
.process-card.bg-black {
    background-color: #0f0f13;
    color: white;
}
.process-card.bg-black .process-card-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
}
.process-card.bg-black .process-number {
    -webkit-text-stroke: 1.5px white;
}
.process-card.bg-black .process-desc {
    color: rgba(255,255,255,0.6);
}

/* White Card */
.process-card.bg-white {
    background-color: #ffffff;
    color: #000000;
}
.process-card.bg-white .process-card-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
}
.process-card.bg-white .process-number {
    -webkit-text-stroke: 1.5px #e0e0e0;
}
.process-card.bg-white .process-desc {
    color: rgba(0,0,0,0.6);
}

.icon-btn-small {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.process-card.bg-black .icon-btn-small {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.2);
}
.process-card.bg-black .icon-btn-small:hover {
    background: white;
    color: black;
}
.process-card.bg-white .icon-btn-small {
    color: rgba(0,0,0,0.5);
    border: 1px solid rgba(0,0,0,0.2);
}
.process-card.bg-white .icon-btn-small:hover {
    background: black;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { 
        flex-direction: column; 
        gap: 1rem; 
        text-align: center; 
    }
    .col-half { flex: 0 0 100%; padding-right: 0 !important; }
    .pr-5 { padding-right: 0; }

    /* Floating buttons — bottom-right on mobile (avoids overlapping hero/tech bar) */
    .fixed-icons {
        top: auto;
        bottom: 150px;
        right: 12px;
        transform: none;
        gap: 10px;
    }
    .icon-btn { width: 44px; height: 44px; font-size: 1.2rem; }

    .container { padding: 0 1.25rem; }
    .section-heading { font-size: 2rem; }
    .section-padding { padding: 4rem 0; }

    /* Process cards — compact on mobile */
    .process-title { font-size: 1.65rem; }
    .process-desc { font-size: 0.95rem; }
    .process-number { font-size: 3rem; }
    .process-card { min-height: auto; }
    .process-card-top { padding: 2rem 1.5rem; }
    .process-card-bottom { padding: 1.25rem 1.5rem; }

    /* Contact form spacing */
    .contact-form { padding: 2rem 1.5rem; }
    .row { gap: 2rem; }
}

@media (max-width: 992px) {
    .bento-grid, .services-list-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .process-grid { grid-template-columns: 1fr; }
    .intro-card { flex-direction: column; padding: 2rem; }
    .nav-action { display: none; }
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 600;
        color: #fff;
    }

    /* Slide-in mobile menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 78%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 6rem 1.75rem 2rem;
        background: rgba(10, 10, 13, 0.98);
        backdrop-filter: blur(12px);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.45);
        transform: translateX(105%);
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 480;
    }
    .nav-links.open {
        transform: translateX(0);
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links li a {
        display: block;
        width: 100%;
        padding: 0.9rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Dimmed backdrop behind the menu */
    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease;
        z-index: 470;
    }
    .nav-backdrop.open {
        opacity: 1;
        visibility: visible;
    }
    body.menu-open {
        overflow: hidden;
    }
    body.menu-open .fixed-icons {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .form-row { flex-direction: column; gap: 0; }
}
/* --- FAQ Section --- */
.faq-section {
    background-color: #ffffff;
    color: #111111;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    font-weight: 600;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #111111;
}

.faq-question i {
    font-size: 1.2rem;
    color: #111111;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    color: #444444;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .faq-image {
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .massive-title {
        font-size: 3.5rem !important;
        letter-spacing: -1px;
    }
    .slide-subtitle {
        font-size: 1.2rem !important;
    }
    /* Lift slide content above the bottom controls so they don't overlap */
    .hero-content {
        justify-content: center;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        padding-bottom: 130px;
    }
    .swiper-pagination {
        bottom: 80px !important;
        left: 20px !important;
        padding: 8px 18px;
    }
    .swiper-pagination .current {
        font-size: 1.2rem;
    }
    .swiper-pagination .total {
        font-size: 1rem;
    }
    .slider-controls {
        bottom: 45px;
        right: 20px;
        gap: 12px;
    }
    button.custom-nav,
    .swiper-button-next.custom-nav,
    .swiper-button-prev.custom-nav {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .massive-title {
        font-size: 2.8rem !important;
        letter-spacing: -1px;
    }
    .slide-subtitle {
        font-size: 1rem !important;
        padding-left: 14px;
    }
    .hero-content {
        padding-bottom: 115px;
    }
    .swiper-pagination {
        bottom: 80px !important;
        left: 12px !important;
        padding: 6px 14px;
    }
    .swiper-pagination .separator {
        width: 18px;
        margin: 0 10px;
    }
    .swiper-pagination .current {
        font-size: 1rem;
    }
    .swiper-pagination .total {
        font-size: 0.85rem;
    }
    .slider-controls {
        bottom: 80px;
        right: 12px;
        gap: 8px;
    }
    button.custom-nav,
    .swiper-button-next.custom-nav,
    .swiper-button-prev.custom-nav {
        width: 38px;
        height: 38px;
    }
    .tech-item {
        font-size: 0.78rem;
        padding: 0.85rem 0.5rem;
    }
    .section-heading {
        font-size: 1.65rem;
    }
}

/* Wrapper to definitively prevent horizontal scrolling on mobile */
.main-wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
