/* --- Mobile Menu Redesign (Decentralized for Index) --- */

/* Hamburger to X Animation */
.nav-toggle .bar {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-open .nav-toggle .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-open .nav-toggle .bar:nth-child(2) {
    opacity: 0;
}

.menu-open .nav-toggle .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay Reset & Premium Redesign */
.nav-overlay {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-20px);
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 2000;
}

.nav-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

.nav-overlay-close {
    position: absolute;
    top: 12px;
    right: 42px;
    background: none;
    border: none;
    font-size: 48px;
    color: #111111;
    cursor: pointer;
    z-index: 2001;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.nav-overlay-close:hover {
    transform: rotate(90deg);
    color: #6366f1;
}

.nav-overlay-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    z-index: 10;
}

.nav-overlay-menu li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.nav-overlay.open .nav-overlay-menu li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.nav-overlay.open .nav-overlay-menu li:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-overlay.open .nav-overlay-menu li:nth-child(2) {
    transition-delay: 0.2s;
}

.nav-overlay.open .nav-overlay-menu li:nth-child(3) {
    transition-delay: 0.3s;
}

.nav-overlay.open .nav-overlay-menu li:nth-child(4) {
    transition-delay: 0.4s;
}

.nav-overlay.open .nav-overlay-menu li:nth-child(5) {
    transition-delay: 0.5s;
}

.nav-overlay-item {
    font-family: "Raleway", sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #111111;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    display: block;
}

.nav-overlay-item:hover {
    transform: scale(1.05);
    color: #6366f1;
}

/* Moving Bubbles Background */
.nav-overlay-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.overlay-blob {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    mix-blend-mode: multiply;
    animation: overlayDrift 20s infinite alternate ease-in-out;
}

.ob1 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: -50px;
    left: -100px;
}

.ob2 {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    bottom: 0px;
    right: -100px;
    animation-duration: 25s;
    animation-delay: -5s;
}

.ob3 {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    top: 40%;
    left: 60%;
    width: 250px;
    height: 250px;
    animation-duration: 18s;
}

@keyframes overlayDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(60px, -40px) scale(1.15);
    }
}

/* Desktop Hide */
@media (min-width: 761px) {
    .nav-overlay {
        display: none !important;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 480px) {
    .nav-overlay-item {
        font-size: 34px;
    }

    .nav-overlay-menu {
        gap: 24px;
    }
}

/* --- Mobile Only Overrides for Homepage --- */

@media (max-width: 760px) {

    /* 1. Hide Hero Illustration on Mobile */
    .hero-right {
        display: none !important;
    }

    /* 2. Redesign Industries Section for 2-column card layout */
    .industries-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 20px 0 !important;
    }

    .industry-item {
        background: #ffffff !important;
        border-radius: 20px !important;
        padding: 30px 15px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(0, 0, 0, 0.03) !important;
        transition: transform 0.3s ease !important;
        height: auto !important;
        min-width: unset !important;
    }

    .industry-icon {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .industry-icon img,
    .industry-icon svg {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .industry-name {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #334155 !important;
        margin: 0 !important;
    }

    .industries .section-title {
        font-size: 28px !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }
}

/* ============================================
   INDEX PAGE SPECIFIC STYLES
   (Extracted from styles.css)
   ============================================ */

/* Hero Section */
.hero {
    position: relative;
    padding: 104px 0 36px;
    /* add top space to offset the fixed navbar */
}

.hero-container {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 28px;
    align-items: center;
}

/* Apply Raleway font to the specific hero text */
.hero-left {
    font-family: "Raleway", sans-serif;
    padding: 12px 4px;
}

.hero-left h1 {
    font-weight: 700;
    font-size: clamp(48px, 6vw, 56px);
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--text);
}

.hero-left p {
    font-weight: 400;
    font-size: clamp(16px, 2.4vw, 20px);
    color: var(--muted);
}

.hero-right {
    display: flex;
    justify-content: center;
}

.hero-illustration {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    /*box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);*/
    /*background: rgba(255, 255, 255, 0.8);*/
    padding: 16px;
}

.hero-blobs {
    position: absolute;
    inset: -40px 0 -40px 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    filter: blur(22px);
    opacity: 0.34;
    mix-blend-mode: multiply;
    animation: float2 18s ease-in-out infinite alternate;
}

.blob.b1 {
    left: 10%;
    top: 10%;
    background: #a9d3ff;
}

.blob.b2 {
    right: 8%;
    top: 40%;
    background: #ffe0bf;
    animation-duration: 20s;
}

.blob.b3 {
    left: 42%;
    bottom: -20px;
    background: #d7ffe6;
    animation-duration: 22s;
}

.hero-illustration {
    mix-blend-mode: multiply;
    animation: floatImg 5s ease-in-out infinite alternate;
}

/* Enhanced Achievements Section */
.achievements {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    overflow: hidden;
}

.achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%236366f1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.6;
    z-index: 0;
}

.main-content-achievements {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0px;
    position: relative;
    z-index: 1;
}

.header-text-ach {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: #1e293b;
    margin: 0 auto 60px;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.box-ach {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 0;
    flex-wrap: wrap;
}

.individual-ach-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 280px;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.individual-ach-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.individual-ach-box:hover::before {
    opacity: 1;
}

.individual-ach-box:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.ach-number-text {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 900;
    color: #6366f1;
    margin: 0 0 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    margin: 16px auto;
    border-radius: 2px;
}

.support-text-ach {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.ach-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

/* Responsive Design for Achievements */
@media (max-width: 980px) {
    .box-ach {
        gap: 24px;
    }

    .individual-ach-box {
        min-height: 200px;
        padding: 24px 20px;
    }
}

@media (max-width: 760px) {
    .achievements {
        padding: 60px 0;
    }

    .box-ach {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .individual-ach-box {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        aspect-ratio: auto;
        min-height: 180px;
        border-radius: 20px;
    }

    .ach-number-text {
        font-size: 48px;
    }

    .support-text-ach {
        font-size: 16px;
    }

    .ach-desc {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .individual-ach-box {
        padding: 20px 16px;
        min-height: 160px;
    }

    .ach-number-text {
        font-size: 40px;
    }

    .support-text-ach {
        font-size: 15px;
    }

    .ach-desc {
        font-size: 12px;
    }
}

/*---------------- Keyframe ----------------- */
@keyframes floatImg {
    0% {
        transform: translateY(0px);
    }

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

@keyframes float2 {
    to {
        transform: translateY(-28px) translateX(18px) scale(1.08);
    }
}

/* Industries Section */
.industries {
    padding: 64px 0 100px 0;
    /*padding: 120px 0 80px 0;*/
    background: var(--bg);
    /* match hero/body background for seamless blend */
}

.industries-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 120px;
    z-index: 1;
}

.industry-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.industry-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-icon svg {
    width: 100%;
    height: 100%;
}

.industry-name {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 0;
    line-height: 1.3;
}

/* Contact CTA Section */
.contact-cta {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
}

.contact-cta .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-bg-blobs {
    position: absolute;
    inset: -60px 0 -60px 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.contact-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
    mix-blend-mode: screen;
    animation: contactDrift 20s ease-in-out infinite alternate;
}

.contact-blob.cb1 {
    left: -50px;
    top: 20%;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    animation-duration: 22s;
}

.contact-blob.cb2 {
    right: -80px;
    top: 60%;
    background: linear-gradient(45deg, #10b981, #059669);
    animation-duration: 26s;
}

.contact-blob.cb3 {
    left: 50%;
    bottom: 10%;
    background: linear-gradient(45deg, #f59e0b, #d97706);
    animation-duration: 24s;
}

@keyframes contactDrift {
    0% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    50% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
    }

    100% {
        transform: translateY(-60px) translateX(-20px) scale(0.9);
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    color: #64748b;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 32px;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-visual {
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tech-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    min-width: 120px;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.logo-item svg {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.logo-item span {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    text-align: center;
}

.glassy-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.glassy-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.3);
}

.card-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.glassy-card h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
}

.glassy-card p {
    color: #cbd5e1;
    font-size: 16px;
    margin: 0;
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    font-size: 32px;
    animation: floatAround 8s ease-in-out infinite;
}

.float-item.item-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.float-item.item-2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.float-item.item-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: 4s;
}

.float-item.item-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 6s;
}

.float-item.item-5 {
    top: 50%;
    left: 5%;
    animation-delay: 1s;
}

.float-item.item-6 {
    top: 70%;
    right: 5%;
    animation-delay: 3s;
}

@keyframes floatAround {

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

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(-10px) rotate(-3deg);
    }

    75% {
        transform: translateY(-25px) rotate(3deg);
    }
}

/* Responsive Design for Contact Section */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .contact-visual {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .contact-cta {
        padding: 60px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
        border-radius: 24px;
    }

    .contact-buttons {
        justify-content: center;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 15px;
    }

    .tech-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .logo-item {
        padding: 15px;
        min-width: 100px;
    }

    .logo-item svg {
        width: 28px;
        height: 28px;
    }

    .logo-item span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .tech-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .logo-item {
        padding: 12px;
        min-width: 80px;
    }

    .logo-item svg {
        width: 24px;
        height: 24px;
    }

    .logo-item span {
        font-size: 11px;
    }

    .contact-content {
        padding: 30px 16px;
        border-radius: 20px;
    }
}

/* Tech stack marquee */
.tech-stack {
    position: relative;
    padding: 28px 0 16px;
    background: transparent;
}

.tech-marquee {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.tech-marquee::before,
.tech-marquee::after {
    display: none;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 18px 22px;
    width: max-content;
    animation: scroll-x 28s linear infinite;
}

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

.tech {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 0;
    background: transparent;
    transition: none;
    text-decoration: none;
}

.tech:hover {
    transform: none;
    box-shadow: none;
}

.tech img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.tech span {
    font-size: 14px;
    font-weight: 600;
    color: #3b3f45;
}

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

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 760px) {
    .tech {
        gap: 8px;
        padding: 10px 14px;
    }

    .tech img {
        width: 30px;
        height: 30px;
    }

    .marquee-track {
        gap: 20px;
        padding: 14px 18px;
        animation-duration: 24s;
    }
}

/* Services on Home */
.services-home {
    position: relative;
    padding: 64px 0 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
}

/* Background blobs for services section */
.services-bg-blobs {
    position: absolute;
    inset: -60px 0 -60px 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.services-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    mix-blend-mode: multiply;
    animation: servicesDrift 20s ease-in-out infinite alternate;
}

.services-blob.svb1 {
    left: -50px;
    top: 20%;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    animation-duration: 22s;
}

.services-blob.svb2 {
    right: -80px;
    top: 60%;
    background: linear-gradient(45deg, #06b6d4, #3b82f6);
    animation-duration: 25s;
}

.services-blob.svb3 {
    left: 30%;
    bottom: -40px;
    background: linear-gradient(45deg, #10b981, #059669);
    animation-duration: 18s;
}

@keyframes servicesDrift {
    0% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    50% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
    }

    100% {
        transform: translateY(-60px) translateX(-10px) scale(0.9);
    }
}

.services-home .container {
    position: relative;
    z-index: 1;
}

.services-home .section-subtitle {
    max-width: 820px;
    margin: 10px auto 0;
    color: var(--muted);
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.service-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    border-color: rgba(17, 17, 17, 0.12);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.01em;
}

.service-desc {
    margin: 0 0 12px;
    color: #5a5f67;
    line-height: 1.6;
}

.service-btn {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 12px;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.service-btn:hover {
    background: #2b2b2b;
    transform: translateY(-1px);
}

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

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

/* Customer Solutions Section */
.customer-solutions {
    position: relative;
    padding: 80px 0 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
}

/* Background blobs for solutions section */
.solutions-bg-blobs {
    position: absolute;
    inset: -60px 0 -60px 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.solutions-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    mix-blend-mode: multiply;
    animation: solutionsDrift 20s ease-in-out infinite alternate;
}

.solutions-blob.sb1 {
    left: -50px;
    top: 20%;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    animation-duration: 22s;
}

.solutions-blob.sb2 {
    right: -80px;
    top: 60%;
    background: linear-gradient(45deg, #10b981, #059669);
    animation-duration: 26s;
}

.solutions-blob.sb3 {
    left: 50%;
    bottom: 10%;
    background: linear-gradient(45deg, #f59e0b, #d97706);
    animation-duration: 24s;
}

@keyframes solutionsDrift {
    0% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    50% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
    }

    100% {
        transform: translateY(-60px) translateX(-20px) scale(0.9);
    }
}

.customer-solutions .container {
    position: relative;
    z-index: 1;
}

.customer-solutions .section-subtitle {
    max-width: 700px;
    margin: 12px auto 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.solutions-content {
    margin-top: 60px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.solution-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.solution-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #10b981, #f59e0b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.solution-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.solution-icon svg {
    width: 32px;
    height: 32px;
}

.solution-title {
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.solution-desc {
    color: #5a5f67;
    line-height: 1.6;
    margin: 0 0 20px;
    font-size: 15px;
}

.solution-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111111, #374151);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.solutions-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.cta-content h3 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #111111;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.cta-content p {
    color: #5a5f67;
    line-height: 1.7;
    margin: 0 0 28px;
    font-size: 16px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #111111, #374151);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.2);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(17, 17, 17, 0.3);
    background: linear-gradient(135deg, #000000, #111111);
}

.cta-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* CTA Visual */
.cta-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 110px;
    max-width: 130px;
    animation: floatAnimation 6s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Positioned cards in their own dedicated spaces */
.floating-card.card-1 {
    top: 5%;
    left: 5%;
    animation-delay: 0s;
    animation-name: floatAnimation1;
}

.floating-card.card-2 {
    top: 15%;
    right: 8%;
    animation-delay: 1.2s;
    animation-name: floatAnimation2;
}

.floating-card.card-3 {
    top: 60%;
    left: 15%;
    animation-delay: 2.4s;
    animation-name: floatAnimation3;
}

.floating-card.card-4 {
    top: 70%;
    right: 20%;
    animation-delay: 3.6s;
    animation-name: floatAnimation4;
}

.floating-card.card-5 {
    top: 40%;
    left: 45%;
    animation-delay: 4.8s;
    animation-name: floatAnimation5;
}

.card-text {
    font-weight: 600;
    color: #111111;
    font-size: 13px;
    text-align: center;
}

/* Individual animation patterns to prevent overlap */
@keyframes floatAnimation1 {

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

    50% {
        transform: translateY(-25px) rotate(3deg);
    }
}

@keyframes floatAnimation2 {

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

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

@keyframes floatAnimation3 {

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

    50% {
        transform: translateY(-30px) rotate(1deg);
    }
}

@keyframes floatAnimation4 {

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

    50% {
        transform: translateY(-18px) rotate(-3deg);
    }
}

@keyframes floatAnimation5 {

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

    50% {
        transform: translateY(-22px) rotate(2deg);
    }
}

/* Responsive Design for Customer Solutions */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .solutions-cta {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }

    /* Tablet - keep all 5 cards but adjust positioning */
    .cta-visual {
        height: 350px;
    }

    .floating-card {
        min-width: 100px;
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .customer-solutions {
        padding: 60px 0 80px 0;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    .solution-card {
        padding: 24px 20px;
    }

    .solutions-cta {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .cta-visual {
        height: 280px;
    }

    .floating-card {
        min-width: 95px;
        max-width: 115px;
        padding: 16px;
    }

    /* Hide card-5 (Scalability) on mobile to show only 4 cards */
    .floating-card.card-5 {
        display: none;
    }

    /* Mobile positioning for 4 cards - better spaced without overlap */
    .floating-card.card-1 {
        top: 15%;
        left: 12%;
    }

    .floating-card.card-2 {
        top: 20%;
        right: 15%;
    }

    .floating-card.card-3 {
        top: 65%;
        left: 15%;
    }

    .floating-card.card-4 {
        top: 70%;
        right: 18%;
    }

    .card-icon {
        font-size: 20px;
    }

    .card-text {
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .customer-solutions .section-subtitle {
        font-size: 16px;
    }

    .solution-card {
        padding: 20px 16px;
    }

    .solution-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .solution-title {
        font-size: 18px;
    }

    .solution-desc {
        font-size: 14px;
    }

    /* Ensure card-5 stays hidden on small mobile too */
    .floating-card.card-5 {
        display: none;
    }

    /* Fine-tune positioning for very small screens */
    .cta-visual {
        height: 260px;
    }

    .floating-card {
        min-width: 85px;
        max-width: 105px;
        padding: 14px;
    }

    .floating-card.card-1 {
        top: 18%;
        left: 8%;
    }

    .floating-card.card-2 {
        top: 22%;
        right: 10%;
    }

    .floating-card.card-3 {
        top: 68%;
        left: 10%;
    }

    .floating-card.card-4 {
        top: 72%;
        right: 12%;
    }

    .card-icon {
        font-size: 18px;
    }

    .card-text {
        font-size: 11px;
    }
}

/* Process/Delivery Approach Styles - Original Design without Background Line */
.about-process {
    padding: 60px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
    opacity: 1;
    transform: none;
}

.about-process .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.about-process h2 {
    text-align: center;
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: #111111;
    opacity: 1;
    transform: none;
}

.about-process .section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: #5a5f67;
    font-size: 18px;
    line-height: 1.6;
}

.process {
    position: relative;
    padding: 32px 0 0;
}

/* REMOVED: process-track - this was the background line */

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.p-step {
    text-align: center;
    position: relative;
    opacity: 1;
    transform: none;
    transition: all 0.3s ease;
}

.p-step:hover {
    transform: translateY(-8px);
}

.p-node {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.4);
    display: grid;
    place-items: center;
    animation: bob 5s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.p-node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.p-step:hover .p-node {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 20px 50px rgba(99, 102, 246, 0.5);
}

.p-step:hover .p-node::before {
    opacity: 1;
}

.p-node span {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.p-step .p-arrow {
    position: absolute;
    left: calc(50% + 60px);
    top: 36px;
    width: calc(100% - 120px);
    height: 0;
    display: block;
    pointer-events: none;
}

.p-step .p-arrow span {
    position: relative;
    display: block;
    width: 85%;
    height: 3px;
    background: linear-gradient(90deg, #94a3b8, #cbd5e1);
    opacity: 0.8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.p-step:hover .p-arrow span {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    opacity: 1;
    transform: scaleX(1.1);
}

.p-step .p-arrow span::after {
    content: "";
    position: absolute;
    right: -12px;
    top: -6px;
    width: 0;
    height: 0;
    border-left: 12px solid #cbd5e1;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    transition: border-left-color 0.3s ease;
}

.p-step:hover .p-arrow span::after {
    border-left-color: #8b5cf6;
}

.p-step p {
    margin: 0;
    color: #111111;
    font-weight: 700;
    letter-spacing: .3px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.p-step:hover p {
    color: #6366f1;
}

@keyframes bob {

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

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

/* Mobile Responsive Styles */
@media (max-width: 980px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .p-step:nth-child(4),
    .p-step:nth-child(5) {
        grid-column: span 1;
    }

    .p-step:nth-child(4) {
        grid-column: 1 / 2;
    }

    .p-step:nth-child(5) {
        grid-column: 3 / 4;
    }

    .p-node {
        width: 60px;
        height: 60px;
    }

    .p-node span {
        font-size: 16px;
    }

    .p-step .p-arrow {
        left: calc(50% + 50px);
        top: 30px;
        width: calc(100% - 100px);
    }
}

@media (max-width: 760px) {
    .about-process {
        padding: 40px 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 300px;
        margin: 0 auto;
    }

    .p-step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 16px;
    }

    .p-node {
        margin: 0;
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .p-node span {
        font-size: 14px;
    }

    .p-step p {
        margin: 0;
        font-size: 16px;
    }

    .p-step .p-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .about-process .section-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }

    .p-node {
        width: 45px;
        height: 45px;
    }

    .p-step p {
        font-size: 15px;
    }
}

/* Floating Tools Animation for CTA Section */
.cta-visual {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.floating-tools {
    position: relative;
    width: 100%;
    height: 100%;
}

.tool-item {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.7;
    animation: float-tools 8s ease-in-out infinite;
}

.tool-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.tool-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.tool-2 {
    top: 60%;
    left: 15%;
    animation-delay: 1s;
}

.tool-3 {
    top: 30%;
    left: 80%;
    animation-delay: 2s;
}

.tool-4 {
    top: 70%;
    left: 75%;
    animation-delay: 3s;
}

.tool-5 {
    top: 10%;
    left: 50%;
    animation-delay: 4s;
}

.tool-6 {
    top: 80%;
    left: 40%;
    animation-delay: 5s;
}

.tool-7 {
    top: 40%;
    left: 30%;
    animation-delay: 6s;
}

.tool-8 {
    top: 15%;
    left: 70%;
    animation-delay: 7s;
}

@keyframes float-tools {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }

    25% {
        transform: translateY(-10px) rotate(2deg);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-5px) rotate(-1deg);
        opacity: 0.8;
    }

    75% {
        transform: translateY(-15px) rotate(1deg);
        opacity: 0.9;
    }
}

/* Responsive adjustments for floating tools */
@media (max-width: 768px) {
    .cta-visual {
        height: 200px;
    }

    .tool-item {
        width: 30px;
        height: 30px;
    }

    .tool-1 {
        top: 15%;
        left: 5%;
    }

    .tool-2 {
        top: 65%;
        left: 10%;
    }

    .tool-3 {
        top: 25%;
        left: 85%;
    }

    .tool-4 {
        top: 75%;
        left: 80%;
    }

    .tool-5 {
        top: 5%;
        left: 45%;
    }

    .tool-6 {
        top: 85%;
        left: 35%;
    }

    .tool-7 {
        top: 35%;
        left: 25%;
    }

    .tool-8 {
        top: 10%;
        left: 75%;
    }
}

@media (max-width: 480px) {
    .cta-visual {
        height: 150px;
    }

    .tool-item {
        width: 25px;
        height: 25px;
    }
}

/* Delivery Process — mobile vertical layout with down arrows between steps */
@media (max-width: 820px) {

    /* Stack steps vertically */
    .about-process .process-steps {
        display: flex;
        flex-direction: column;
        gap: 22px;
        max-width: 560px;
        margin: 0 auto;
    }

    /* Each step becomes a centered vertical block */
    .about-process .p-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        transform: none;
    }

    .about-process .p-step:hover {
        transform: none;
    }

    /* Node sizing for mobile */
    .about-process .p-node {
        width: 56px;
        height: 56px;
        margin: 0;
    }

    .about-process .p-step p {
        margin: 10px 0 0;
        font-size: 16px;
    }

    /* Convert the horizontal arrow into a down arrow between steps */
    .about-process .p-step .p-arrow {
        position: relative;
        left: auto;
        top: auto;
        width: 2px;
        height: 30px;
        margin: 12px 0 0;
        display: block;
        /* re-enable if hidden elsewhere */
    }

    .about-process .p-step .p-arrow span {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        /* vertical line */
        height: 100%;
        background: linear-gradient(180deg, #cbd5e1, #94a3b8);
        border-radius: 1px;
    }

    .about-process .p-step .p-arrow span::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -7px;
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 8px solid #94a3b8;
        /* arrow head */
    }

    /* No arrow after the last step (5th) */
    .about-process .p-step:last-child .p-arrow {
        display: none;
    }

    /* Ensure any desktop-specific horizontal arrow styles are neutralized */
    .about-process .p-step .p-arrow,
    .about-process .p-step .p-arrow span,
    .about-process .p-step .p-arrow span::after {
        transition: none;
    }
}