/* Iconic Orbit Custom Styles */

/* --- Global Header/Breadcrumb Background Override --- */
.tp-breadcrumb-area,
.ar-hero-area,
.tp-contact-main-ptb,
[data-background*="blog-bradcum-bg.png"] {
    background-image: radial-gradient(circle at 50% 50%, #111111 0%, #000000 100%) !important;
    background-color: #000 !important;
    position: relative;
    overflow: hidden;
}

.tp-breadcrumb-area::before,
.ar-hero-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 145, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 145, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.tp-blog-title,
.tp-career-title {
    color: #fff !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- Home Slider / Ticker --- */
.tp-ticker-blue-bg {
    background-color: #0091FF !important;
}

.tp-text-slide-title {
    color: #fff !important;
    font-weight: 800;
    text-transform: uppercase;
}

/* --- Portfolio Page --- */
.io-social-icon-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    margin-right: 12px !important;
    margin-bottom: 12px !important;
    overflow: hidden !important;
}

.io-social-icon-btn::before,
.io-social-icon-btn::after {
    content: none !important;
    display: none !important;
}

.io-social-icon-btn:hover {
    background: #0091FF !important;
    border-color: #0091FF !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0, 145, 255, 0.4) !important;
}

.io-social-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-style: normal !important;
}

.io-social-icon svg {
    width: 20px !important;
    height: 20px !important;
    fill: #fff !important;
    transition: all 0.3s !important;
}

.io-social-icon-btn:hover .io-social-icon svg {
    transform: scale(1.1) !important;
    fill: #fff !important;
}

/* --- Portfolio Detail --- */
.tp-portfolio-details-area h1,
.tp-portfolio-details-area h2,
.tp-portfolio-details-area h3,
.tp-portfolio-details-area h4,
.tp-portfolio-details-area h5,
.tp-portfolio-details-area h6 {
    color: #fff !important;
    margin-bottom: 25px;
    margin-top: 35px;
}

.tp-portfolio-details-area p,
.tp-portfolio-details-area span,
.tp-portfolio-details-area li {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.tp-portfolio-details-sidebar {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tp-portfolio-details-sidebar strong {
    color: #0091FF;
}

.tp-portfolio-details-sidebar div {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* --- Contact Location Cards --- */
.tp-contact-location-ptb {
    background: #000;
    overflow: hidden;
}

.blob-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 145, 255, 0.05), transparent 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none !important;
}

.blob-1 {
    top: -200px;
    left: -200px;
}

.blob-2 {
    bottom: -200px;
    right: -200px;
}

.tp-location-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
    z-index: 10;
    pointer-events: auto !important;
}

.tp-location-card:hover {
    border-color: rgba(0, 145, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.tp-location-card-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0091FF;
    font-weight: 700;
    margin-bottom: 30px;
    display: block;
}

.tp-location-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.tp-location-info-item i {
    font-size: 20px;
    color: #0091FF;
    margin-top: 5px;
}

.tp-location-info-item a {
    color: #fff !important;
    font-size: 18px;
    line-height: 1.6;
    transition: color 0.3s ease;
    position: relative;
    z-index: 20;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.tp-location-info-item a:hover {
    color: #0091FF !important;
}

.spotlight-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 400px at var(--fx) var(--fy), rgba(0, 145, 255, 0.1), transparent 80%);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tp-location-card:hover .spotlight-glow {
    opacity: 1;
}

/* --- Contact Page Styles --- */
.tp-contact-form-title {
    font-size: 40px;
    color: #fff;
    margin-bottom: 30px;
}

.tp-contact-info-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
}

.tp-contact-info-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.tp-contact-form-input label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tp-contact-form-input input,
.tp-contact-form-input select,
.tp-contact-form-input textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    padding: 15px 20px;
    width: 100%;
    transition: all 0.3s ease;
}

.tp-contact-form-input input:focus,
.tp-contact-form-input select:focus,
.tp-contact-form-input textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #0091FF;
    outline: none;
    box-shadow: 0 0 15px rgba(0, 145, 255, 0.2);
    transform: translateY(-2px);
}


/* Workflow Modernization */
.io-work-step {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
}

.io-work-step:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(0, 145, 255, 0.3) !important;
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 145, 255, 0.1) !important;
}

.io-work-step .tp-work-number i {
    background-color: #0091FF !important;
    color: #fff !important;
    font-style: normal !important;
    font-weight: 700 !important;
    box-shadow: 0 0 15px rgba(0, 145, 255, 0.4) !important;
    transition: all 0.3s ease !important;
}

.io-work-step:hover .tp-work-number i {
    transform: rotate(10deg) scale(1.1) !important;
    box-shadow: 0 0 25px rgba(0, 145, 255, 0.6) !important;
}

.io-work-step .tp-work-title {
    color: #fff !important;
    margin-bottom: 10px !important;
    transition: all 0.3s ease !important;
}

.io-work-step:hover .tp-work-title {
    color: #0091FF !important;
}

.io-work-step p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Modern Service Navigation Styling */
.modern-service-nav {
    position: sticky;
    top: 100px;
    /* Moved up from 150px */
    z-index: 1000;
    /* Increased z-index */
    padding: 40px;
    background: rgba(6, 6, 8, 0.9);
    /* More opaque to prevent text mixing */
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.service-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #fff;
    font-weight: 900;
    display: block;
    margin-bottom: 35px;
    opacity: 0.6;
}

.service-nav-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-nav-item {
    position: relative;
    overflow: visible;
}

.service-nav-link {
    display: flex;
    align-items: center;
    /* Center vertically for better alignment */
    gap: 15px;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: normal;
}

.service-nav-num {
    font-size: 15px;
    /* Reduced for better alignment */
    font-weight: 800;
    color: #0091FF;
    font-family: 'Space Grotesk', sans-serif;
    min-width: 35px;
    opacity: 0.8;
}

.service-nav-text {
    font-size: 18px;
    /* Reduced further for elegance */
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    transition: all 0.4s ease;
    display: block;
    width: 100%;
    letter-spacing: -0.02em;
}

.service-nav-item:hover .service-nav-link {
    transform: translateX(8px);
}

.service-nav-item:hover .service-nav-text {
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 145, 255, 0.4);
}

@media (max-width: 1400px) {
    .service-nav-text {
        font-size: 22px;
    }
}

@media (max-width: 991px) {
    .modern-service-nav {
        position: relative;
        top: 0;
        margin-bottom: 60px;
        background: transparent;
        backdrop-filter: none;
        border: none;
        padding: 0;
    }

    .service-nav-text {
        font-size: 20px;
    }
}

/* Portfolio Heading Fix */
.tp-portfolio-masonry-big-text {
    font-size: 130px !important;
    /* Slightly smaller for better fit */
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    /* Reduced from 900 for clarity */
    letter-spacing: 0.02em !important;
    /* Added positive spacing to prevent mixing */
    word-break: break-word !important;
    overflow: visible !important;
}

@media (max-width: 1400px) {
    .tp-portfolio-masonry-big-text {
        font-size: 100px !important;
    }
}

@media (max-width: 767px) {
    .tp-portfolio-masonry-big-text {
        font-size: 60px !important;
    }
}

/* Fix for Global Strategy Text Glow */
.io-gradient-text {
    background: linear-gradient(135deg, #0091FF 0%, #00d4ff 50%, #0091FF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ioGradShift 4s linear infinite;
    text-shadow: 0 0 30px rgba(0, 145, 255, 0.2);

    /* Clipping fix for descenders like 'g', 'y', 'p' */
    display: inline-block;
    line-height: 1.35;
    padding-bottom: 0.15em;
    padding-right: 0.05em;
    /* Prevent side clipping */
    vertical-align: middle;
    letter-spacing: 0.01em;
    /* Prevent mixing */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.ar-about-us-4-title {
    text-align: left !important;
}

/* Modern FAQ Accordion Styling */
.modern-faq-accordion {
    border: none !important;
    background: transparent !important;
}

.modern-faq-accordion .accordion-item {
    background: rgba(26, 27, 30, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.modern-faq-accordion .accordion-item:hover {
    border-color: rgba(0, 145, 255, 0.3) !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.modern-faq-accordion .accordion-button {
    background: transparent !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    padding: 30px !important;
    box-shadow: none !important;
    border: none !important;
    transition: all 0.3s ease;
}

.modern-faq-accordion .accordion-button:not(.collapsed) {
    color: #0091FF !important;
    padding-bottom: 15px !important;
}

.modern-faq-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modern-faq-accordion .accordion-body {
    padding: 0 30px 30px 30px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
}

/* GSAP Reveal State */
.io-faq-item {
    opacity: 0;
    transform: translateY(30px);
}

@keyframes ioGradShift {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.tp-contact-form-input input.is-invalid,
.tp-contact-form-input select.is-invalid,
.tp-contact-form-input textarea.is-invalid {
    border-color: #FF4D4D !important;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.2) !important;
}

.error-text {
    color: #FF4D4D;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    font-weight: 400;
}

.tp-contact-form-input .nice-select.open .list {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: scale(1) translateY(0) !important;
}

.tp-contact-form-input select option {
    background: #1D1D1F;
    color: #fff;
}

.tp-contact-form-btn button {
    background: #0091FF;
    border-radius: 12px;
    padding: 18px;
    font-weight: 600;
    transition: all 0.3s;
}

.tp-contact-form-btn button:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

.tp-contact-form-wrap {
    background: rgba(29, 29, 31, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: border-color 0.4s ease;
}

.tp-contact-form-wrap:hover {
    border-color: rgba(0, 145, 255, 0.3);
}

.form-spotlight-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 400px at var(--fx) var(--fy), rgba(0, 145, 255, 0.08), transparent 80%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tp-contact-form-wrap:hover .form-spotlight-glow {
    opacity: 1;
}

.tp-contact-form-input {
    position: relative;
    z-index: 2;
}

.modern-social-btn:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #0091FF;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0, 145, 255, 0.3);
}

.modern-social-btn:hover .btn-glow {
    opacity: 0.2;
}

.modern-social-btn i,
.modern-social-btn svg {
    transition: transform 0.4s ease;
}

.modern-social-btn:hover i,
.modern-social-btn:hover svg {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .tp-contact-social-wrap {
        text-align: center;
        padding: 40px;
        margin-top: 0;
    }

    .tp-contact-social-link {
        justify-content: center !important;
        margin-top: 30px;
    }
}

#globe-viz {
    width: 100%;
    height: 600px;
    background: radial-gradient(circle at center, rgba(0, 145, 255, 0.05) 0%, transparent 70%);
    border-radius: 40px;
    cursor: grab;
    position: relative;
    overflow: hidden;
}

.globe-label {
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.label-inner {
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    padding: 6px 16px;
    background: rgba(0, 145, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid #0091FF;
    border-radius: 30px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 145, 255, 0.6);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: labelFloat 3s ease-in-out infinite;
    margin-bottom: 20px;
}

@keyframes labelFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.tp-postbox-details-meta {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.tp-postbox-details-meta-item span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.ml-50 {
    margin-left: 50px;
}

/* --- Blog Detail --- */
.tp-postbox-details-text h1,
.tp-postbox-details-text h2,
.tp-postbox-details-text h3,
.tp-postbox-details-text h4,
.tp-postbox-details-text h5,
.tp-postbox-details-text h6 {
    color: #fff !important;
    margin: 40px 0 25px;
}

.tp-postbox-details-text p,
.tp-postbox-details-text span,
.tp-postbox-details-text li,
.tp-postbox-details-text div {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.tp-postbox-details-text ul,
.tp-postbox-details-text ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.tp-postbox-details-text li {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 10px;
}

.tp-postbox-details-text a {
    color: #0091FF !important;
    text-decoration: underline;
}

.tp-postbox-details-text img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 30px 0;
}

/* --- Blog SEO Sections --- */
.tp-postbox-seo-title {
    font-size: 32px;
    color: #fff !important;
    margin-bottom: 15px;
}

.tp-postbox-seo-item p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7) !important;
}

.tp-postbox-takeaways {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
}

.tp-postbox-takeaways-title {
    color: #0091FF !important;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tp-postbox-takeaways ul {
    list-style: none;
    padding: 0;
}

.tp-postbox-takeaways li {
    color: #fff !important;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.tp-postbox-takeaways li i {
    color: #0091FF;
    margin-top: 5px;
}

.tp-postbox-cta {
    background: linear-gradient(135deg, rgba(0, 145, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid rgba(0, 145, 255, 0.2);
    border-radius: 30px;
    padding: 60px 40px;
}

.tp-postbox-cta h3 {
    font-size: 36px;
    color: #fff !important;
}

.tp-postbox-cta p {
    color: rgba(255, 255, 255, 0.6) !important;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* --- Navigation Menu Hover (GSAP Magnetic) --- */
.tp-header-menu nav ul li {
    display: inline-block;
    padding: 0 15px;
    /* Ensure enough space for magnetic effect */
}

.tp-header-menu nav ul li a {
    position: relative;
    display: inline-block;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.tp-header-menu nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: var(--underline-width, 0%);
    height: 1.5px;
    background-color: #0091FF;
    transition: none;
    transform-origin: left;
}



/* --- Header Alignment Fixes --- */
.tp-header-area {
    padding-top: 25px !important;
    padding-bottom: 5px !important;
    transition: all 0.3s ease;
}



.container-1750 {
    max-width: 1650px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

#header-sticky.header-sticky {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}


/* breathing room for logo */
.tp-header-logo img {
    margin-left: 10px;
}

/* breathing room for button */
.tp-header-btn {
    margin-right: 10px;
}

/* --- Tech Architecture Section --- */
.tp-funfact-img-card {
    background: rgba(255, 255, 255, 0.03) !important;
    padding: 40px 20px !important;
    border-radius: 16px !important;
    text-align: center !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    z-index: 1;
}

.tp-funfact-img-card:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(0, 145, 255, 0.4) !important;
    transform: translateY(-10px) scale(1.05) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    z-index: 10;
}

.tp-funfact-img-card img,
.tp-funfact-img-card i {
    width: 55px !important;
    height: 55px !important;
    font-size: 50px !important;
    padding: 5px !important;
    object-fit: contain !important;
    color: #0091FF !important;
    /* Fix for AWS dull color */
    filter: drop-shadow(0 0 10px rgba(0, 145, 255, 0.4)) brightness(1.1) !important;
    transition: all 0.4s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tp-funfact-img-card:hover img,
.tp-funfact-img-card:hover i {
    filter: drop-shadow(0 0 20px rgba(0, 145, 255, 0.8)) brightness(1.3) !important;
    transform: scale(1.1) !important;
}

.tp-funfact-card-label {
    display: block !important;
    font-size: 13px !important;
    color: #fff !important;
    margin-top: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    opacity: 0.9 !important;
    /* More vibrant base state */
    transition: all 0.3s ease !important;
}

.tp-funfact-img-card:hover .tp-funfact-card-label {
    opacity: 1 !important;
    color: #0091FF !important;
}

/* Ensure parents don't clip the glow */
.tp-funfact-img-wrap,
.tp-funfact-img-wrap .row,
.tp-funfact-img-wrap .col-lg-12,
.tp-funfact-img-wrap .col-lg-3 {
    overflow: visible !important;
}


/* === Premium Glassmorphic Services (Maximum Readability) === */
.tp-service-pin {
    background: #000 !important;
}

.tp-service-item {
    background: rgba(10, 10, 15, 0.4) !important;
    /* Slightly darker glass for text contrast */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 40px !important;
    margin-bottom: 0 !important;
    padding: 70px 50px !important;
    transition: background 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.tp-service-item .tp-service-content p {
    color: #ffffff !important;
    /* Pure white for maximum readability */
    font-size: 18px !important;
    line-height: 1.6 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    /* Shadow to pop text off glass */
    opacity: 1 !important;
}

.tp-service-item .tp-service-number span {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 700 !important;
}

.tp-service-item:hover {
    background: rgba(15, 15, 25, 0.6) !important;
    border-color: rgba(0, 145, 255, 0.3) !important;
}

/* Glass Reflection Effect */
.tp-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.6s;
    pointer-events: none;
}

.tp-service-item:hover::before {
    left: 150%;
}

.tp-service-item .tp-section-title a {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    transition: color 0.3s ease !important;
}

.tp-service-item:hover .tp-section-title a {
    color: #0091FF !important;
}

.tp-service-item .tp-service-thumb img {
    border-radius: 24px !important;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)) !important;
}

.tp-service-item .tp-service-category span {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 6px 15px !important;
    border-radius: 100px !important;
    font-size: 13px !important;
    backdrop-filter: blur(5px) !important;
}

/* --- Services Mega Menu Alignment Fixes (Desktop Only) --- */
@media (min-width: 1200px) {
    .tp-megamenu-wrapper {
        text-align: left !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 32px !important;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.03) !important;
        z-index: 9999 !important;
        pointer-events: auto !important;
        background: rgba(10, 10, 15, 0.85) !important;
        backdrop-filter: blur(30px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
        padding: 50px 40px !important;
        /* Increased top padding to 50px */
        margin-top: 0 !important;
        top: 100% !important;
        /* Align exactly at the bottom of header */
    }







    .tp-megamenu-list {
        text-align: left !important;
        padding: 30px 20px !important;
        /* Reduced to give more room inside columns */
        border-radius: 24px !important;
        transition: background 0.3s ease !important;
    }



    .tp-megamenu-list:hover {
        background: rgba(255, 255, 255, 0.02) !important;
    }


    .tp-megamenu-list ul {
        padding: 0 !important;
        margin: 0 !important;
    }

    .tp-megamenu-list ul li {
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
        list-style: none !important;
    }

    /* Top-level category title in Mega Menu */
    .tp-megamenu-list li.menu-item-has-children>a {
        text-align: left !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        color: #0091FF !important;
        text-transform: uppercase !important;
        letter-spacing: 2.5px !important;
        margin-bottom: 30px !important;
        padding: 0 0 15px 15px !important;
        /* Added 15px left padding to title */
        display: block !important;
        border-bottom: 1px solid rgba(0, 145, 255, 0.2) !important;
        transition: all 0.3s ease !important;
        white-space: nowrap !important;
    }



    .tp-megamenu-list li.menu-item-has-children>a:hover {
        background: transparent !important;
        /* Ensure no background appears */
        color: #fff !important;
        /* Subtle color shift on hover */
    }

    /* --- Mega Menu Main Services Gradient & Icon Design --- */
    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        font-size: 13px !important;
        /* Elegant normal size to avoid overlapping */
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 1.5px !important;
        margin-bottom: 25px !important;
        padding: 0 0 15px 5px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        background: transparent !important;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        position: relative !important;
        text-align: left !important;
        white-space: nowrap !important;
    }

    /* Icon Box Style */
    .mega-menu-icon-box {
        width: 34px !important;
        height: 34px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        /* Perfect circle */
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        position: relative !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.02) !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Explicit Fix to Override Theme Hiding Mega Menu Icons & Center Align Them */
    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link .mega-menu-icon-box i {
        display: flex !important;
        /* Forces flex layout to guarantee centering */
        align-items: center !important;
        justify-content: center !important;
        font-family: "Font Awesome 6 Pro" !important;
        font-weight: 300 !important;
        /* Premium thin look */
        font-style: normal !important;
        font-size: 14px !important;
        /* Well-balanced premium size */
        line-height: 1 !important;
        text-rendering: auto !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        margin: 0 !important;
        /* Overrides any theme margin-right/left throwing off centering */
        padding: 0 !important;
        text-align: center !important;
        width: auto !important;
        height: auto !important;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    }

    /* Base Gradient text color */
    .mega-menu-title-text {
        font-size: 13px !important;
        /* Match title link size for perfect inheritance */
        font-weight: 800 !important;
        background: linear-gradient(90deg, #ffffff 0%, #a1a1aa 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        transition: all 0.4s ease;
    }

    /* Underline glow effect on hover */
    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 0%;
        height: 2px;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        opacity: 0;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link:hover::after {
        width: 100%;
        opacity: 1;
    }

    /* Specific Category Gradients & Hovers */

    /* 1. Digital Marketing: Electric Pink/Purple to Neon Blue */
    .dm-gradient .mega-menu-icon-box {
        color: #00f2fe;
        border-color: rgba(0, 242, 254, 0.2) !important;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.dm-gradient:hover {
        border-bottom-color: rgba(0, 242, 254, 0.4) !important;
        transform: translateY(-2px) !important;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.dm-gradient:hover .mega-menu-icon-box {
        background: linear-gradient(135deg, rgba(127, 206, 254, 0.2) 0%, rgba(0, 242, 254, 0.2) 100%) !important;
        border-color: #00f2fe !important;
        box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
        transform: scale(1.1) rotate(5deg);
        color: #fff;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.dm-gradient:hover .mega-menu-title-text {
        background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.dm-gradient::after {
        background: linear-gradient(90deg, #00f2fe, #4facfe) !important;
        color: #00f2fe;
    }

    /* 2. Web Design & Development: Sunset Orange/Yellow to Violet */
    .wd-gradient .mega-menu-icon-box {
        color: #ff0844;
        border-color: rgba(255, 8, 68, 0.2) !important;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.wd-gradient:hover {
        border-bottom-color: rgba(255, 8, 68, 0.4) !important;
        transform: translateY(-2px) !important;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.wd-gradient:hover .mega-menu-icon-box {
        background: linear-gradient(135deg, rgba(255, 75, 43, 0.2) 0%, rgba(255, 8, 68, 0.2) 100%) !important;
        border-color: #ff0844 !important;
        box-shadow: 0 0 15px rgba(255, 8, 68, 0.4);
        transform: scale(1.1) rotate(5deg);
        color: #fff;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.wd-gradient:hover .mega-menu-title-text {
        background: linear-gradient(90deg, #ff4b2b 0%, #ff0844 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.wd-gradient::after {
        background: linear-gradient(90deg, #ff4b2b, #ff0844) !important;
        color: #ff0844;
    }

    /* 3. Custom Development: Neon Green to Teal */
    .cd-gradient .mega-menu-icon-box {
        color: #00ff87;
        border-color: rgba(0, 255, 135, 0.2) !important;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.cd-gradient:hover {
        border-bottom-color: rgba(0, 255, 135, 0.4) !important;
        transform: translateY(-2px) !important;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.cd-gradient:hover .mega-menu-icon-box {
        background: linear-gradient(135deg, rgba(96, 239, 115, 0.2) 0%, rgba(0, 255, 135, 0.2) 100%) !important;
        border-color: #00ff87 !important;
        box-shadow: 0 0 15px rgba(0, 255, 135, 0.4);
        transform: scale(1.1) rotate(5deg);
        color: #fff;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.cd-gradient:hover .mega-menu-title-text {
        background: linear-gradient(90deg, #60ef73 0%, #00ff87 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.cd-gradient::after {
        background: linear-gradient(90deg, #60ef73, #00ff87) !important;
        color: #00ff87;
    }

    /* 4. Branding & Identity: Gold/Orange to Rose */
    .br-gradient .mega-menu-icon-box {
        color: #f6d365;
        border-color: rgba(246, 211, 101, 0.2) !important;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.br-gradient:hover {
        border-bottom-color: rgba(246, 211, 101, 0.4) !important;
        transform: translateY(-2px) !important;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.br-gradient:hover .mega-menu-icon-box {
        background: linear-gradient(135deg, rgba(253, 160, 133, 0.2) 0%, rgba(246, 211, 101, 0.2) 100%) !important;
        border-color: #f6d365 !important;
        box-shadow: 0 0 15px rgba(246, 211, 101, 0.4);
        transform: scale(1.1) rotate(5deg);
        color: #fff;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.br-gradient:hover .mega-menu-title-text {
        background: linear-gradient(90deg, #fda085 0%, #f6d365 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.br-gradient::after {
        background: linear-gradient(90deg, #fda085, #f6d365) !important;
        color: #f6d365;
    }

    /* 5. AI Solutions & Automation: Electric Purple to Cyber Cyan */
    .ai-gradient .mega-menu-icon-box {
        color: #a18cd1;
        border-color: rgba(161, 140, 209, 0.2) !important;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.ai-gradient:hover {
        border-bottom-color: rgba(161, 140, 209, 0.4) !important;
        transform: translateY(-2px) !important;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.ai-gradient:hover .mega-menu-icon-box {
        background: linear-gradient(135deg, rgba(251, 194, 235, 0.2) 0%, rgba(161, 140, 209, 0.2) 100%) !important;
        border-color: #a18cd1 !important;
        box-shadow: 0 0 15px rgba(161, 140, 209, 0.4);
        transform: scale(1.1) rotate(5deg);
        color: #fff;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.ai-gradient:hover .mega-menu-title-text {
        background: linear-gradient(90deg, #fbc2eb 0%, #a18cd1 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .tp-megamenu-list li.menu-item-has-children>a.mega-menu-title-link.ai-gradient::after {
        background: linear-gradient(90deg, #fbc2eb, #a18cd1) !important;
        color: #a18cd1;
    }


    /* Submenu container */
    .tp-megamenu-list ul.submenu {
        padding: 15px 20px !important;
        /* Balanced padding */
        margin-top: 15px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 24px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        width: 100% !important;
    }



    /* Submenu items */
    .tp-megamenu-list ul.submenu li {
        margin-bottom: 15px !important;
        display: block !important;
        width: 100% !important;
    }

    .tp-megamenu-list ul.submenu li a {
        font-size: 14px !important;
        /* Reverted back to original elegant small size */
        font-weight: 500 !important;
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 6px 0 !important;
        /* Reduced vertical padding */
        display: block !important;
        /* Changed to block for proper wrapping */
        line-height: 1.4 !important;
        text-align: left !important;
        transition: all 0.3s ease !important;
        background: transparent !important;
    }



    .tp-megamenu-list ul.submenu li a:hover {
        color: #fff !important;
        transform: translateX(5px) !important;
    }

    .tp-megamenu-list ul.submenu li a i {
        margin-right: 12px !important;
        font-size: 14px !important;
        width: 18px !important;
        text-align: center !important;
        color: rgba(255, 255, 255, 0.4) !important;
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .tp-megamenu-list ul.submenu li a:hover i {
        color: #0091FF !important;
        transform: scale(1.15) !important;
    }


    .tp-megamenu-list ul.submenu li a::before {
        content: '';
        width: 0;
        height: 1px;
        background: #0091FF;
        display: inline-block;
        transition: all 0.3s ease;
        margin-right: 0;
    }

    .tp-megamenu-list ul.submenu li a:hover::before {
        width: 15px;
        margin-right: 10px;
    }

    /* Vertical separator line fix */
    .tp-megamenu-list ul::after {
        display: none !important;
    }

    .tp-megamenu-wrapper .row>[class*="col-"]:not(:last-child) {
        border-right: none !important;
        /* Remove individual column borders */
    }


    .tp-megamenu-wrapper.megamenu-black-bg,
    .tp-header-menu nav ul li .submenu {
        background: rgba(10, 10, 15, 0.9) !important;
        /* Solid enough to hide background text */
        backdrop-filter: blur(25px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9) !important;
        border-radius: 32px !important;
    }

    /* Remove ANY internal borders from columns/lists */
    .tp-megamenu-list,
    .tp-megamenu-list ul,
    .tp-megamenu-list li,
    .tp-megamenu-list ul.submenu,
    .tp-megamenu-wrapper .row>[class*="col-"] {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        outline: none !important;
    }



    /* Standard Select Styling (Form Dropdowns) */
    select#country-select,
    select#main-service,
    select#sub-service {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
        padding: 12px 20px !important;
        border-radius: 12px !important;
        width: 100% !important;
        cursor: pointer !important;
        appearance: none !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 15px center !important;
        outline: none !important;
        transition: all 0.3s ease !important;
    }

    select#country-select:focus,
    select#main-service:focus,
    select#sub-service:focus {
        border-color: #0091FF !important;
        background: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 0 15px rgba(0, 145, 255, 0.2) !important;
    }

    select option {
        background: #111 !important;
        color: #fff !important;
        padding: 10px !important;
    }

    /* Header menu alignment counter-fix */
    .tp-header-menu nav ul li .tp-megamenu-wrapper {
        text-align: left !important;
    }
}

/* --- Neural Feature Grid (Updated About Page) --- */
.neural-core-section {
    background: #0e0e10;
    position: relative;
    z-index: 1;
}

.neural-label-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.neural-status-tag {
    font-size: 11px;
    text-transform: uppercase;
    background: rgba(0, 145, 255, 0.1);
    color: #0091FF;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(0, 145, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #0091FF;
    border-radius: 50%;
    box-shadow: 0 0 10px #0091FF;
    animation: statusPulse 1.5s infinite alternate;
}

@keyframes statusPulse {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* Foundry Grid */
.neural-foundry-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.foundry-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.foundry-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 145, 255, 0.2);
}

.foundry-icon-box {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(0, 145, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0091FF;
    font-size: 22px;
    position: relative;
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid #0091FF;
    border-radius: 12px;
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.foundry-content h5 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.foundry-content p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5) !important;
    margin: 0;
}

/* Feature Grid */
.neural-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding-left: 30px;
}

.neural-feature-item {
    display: flex;
    gap: 25px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.neural-feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 145, 255, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 145, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, rgba(0, 145, 255, 0.1) 0%, rgba(0, 145, 255, 0.05) 100%);
    border: 1px solid rgba(0, 145, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0091FF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    /* For pulse */
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #a0a0a0 !important;
    /* Brighter grey for readability */
    margin: 0;
}

.neural-main-title {
    font-size: 68px;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff !important;
    letter-spacing: -2px;
}

.neural-desc-box p {
    font-size: 19px;
    line-height: 1.7;
    color: #e0e0e0 !important;
    max-width: 95%;
}

.neural-fade,
.neural-text-anim {
    opacity: 1;
    /* Default visible to prevent GSAP "stuck" state */
    visibility: visible;
}

/* --- Modern Work Process Section --- */
.tp-work-area {
    background: #05070a;
    position: relative;
    overflow: hidden;
}

.tp-work-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px 40px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    opacity: 1;
    /* Fail-safe visibility */
    visibility: visible;
}

.tp-work-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 145, 255, 0.2);
    transform: translateX(10px);
}

.tp-work-number i {
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    color: #0091FF;
    background: rgba(0, 145, 255, 0.1);
    padding: 6px 15px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    display: inline-block;
}

.tp-work-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.tp-work-content p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Vertical Connector Line */
.tp-work-wrapper {
    position: relative;
    padding-left: 0;
}

.tp-work-wrapper::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 145, 255, 0) 0%,
            rgba(0, 145, 255, 0.2) 20%,
            rgba(0, 145, 255, 0.2) 80%,
            rgba(0, 145, 255, 0) 100%);
}

.work-scroll-progress {
    position: absolute;
    left: -41px;
    top: 0;
    width: 3px;
    height: 0%;
    /* Managed by GSAP */
    background: #0091FF;
    box-shadow: 0 0 15px rgba(0, 145, 255, 0.5);
    z-index: 3;
}

@media (max-width: 991px) {
    .tp-work-item {
        padding: 40px 30px;
    }

    .tp-work-wrapper::before,
    .work-scroll-progress {
        display: none;
    }
}

@media (max-width: 1199px) {
    .neural-feature-grid {
        padding-left: 0;
    }

    .neural-main-title {
        font-size: 48px;
    }
}

@media (max-width: 767px) {

    /* Global Heading Scale Down */
    .ar-about-us-4-title {
        font-size: 36px !important;
        line-height: 1.2 !important;
        letter-spacing: -1px !important;
        text-align: left !important;
    }

    .neural-main-title {
        font-size: 34px !important;
        line-height: 1.1 !important;
        letter-spacing: -1px !important;
        margin-bottom: 25px !important;
    }

    .ar-about-us-4-text-title {
        font-size: 40px !important;
    }

    .neural-desc-box p {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    .tp-section-subtitle {
        font-size: 12px !important;
    }

    /* Padding Adjustments */
    .pt-120 {
        padding-top: 60px !important;
    }

    .pb-120 {
        padding-bottom: 60px !important;
    }

    .pt-100 {
        padding-top: 50px !important;
    }

    .pb-100 {
        padding-bottom: 50px !important;
    }

    /* Neural Section Grid */
    .neural-foundry-grid {
        gap: 20px;
        margin-top: 40px !important;
    }

    .foundry-item,
    .neural-feature-item {
        padding: 20px !important;
    }

    /* Header & Nav */
    .tp-header-logo img {
        max-width: 140px;
    }

    .tp-header-inner-style {
        padding: 15px 0 !important;
    }

    /* Container Spacing */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Prevent Horizontal Scroll */
    body,
    html {
        overflow-x: hidden !important;
    }

    .row {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }

    [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* --- Sticky Header Glassmorphism --- */
#header-sticky.header-sticky {
    background-color: rgba(10, 10, 10, 0.8) !important;
    /* Slightly darker to hide scrolling content */
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Ensure megamenu maintains blur inside sticky header */
#header-sticky.header-sticky .tp-megamenu-wrapper {
    background: rgba(10, 10, 15, 0.9) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
}


/* Disable theme's default heavy blur background */
.header-sticky.tp-header-blur::after {
    display: none !important;
}

/* Mobile Menu Readability & Link Fixes --- */
.tp-offcanvas-menu nav ul li a {
    color: rgba(255, 255, 255, 0.8) !important;
    background: transparent !important;
    padding: 12px 0 !important;
    border: none !important;
    display: block !important;
    width: auto !important;
    font-size: 18px !important;
    text-transform: uppercase !important;
}

.tp-offcanvas-menu nav ul li.active>a,
.tp-offcanvas-menu nav ul li a:hover {
    color: #0091FF !important;
    background: transparent !important;
    /* Force remove the blue box */
}

/* Submenu Link Styling */
.tp-offcanvas-menu nav ul li .submenu li a {
    padding-left: 20px !important;
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-transform: none !important;
}

.tp-offcanvas-menu nav ul li .submenu li a:hover {
    color: #0091FF !important;
}

/* Ensure Toggle Button is clear */
.tp-menu-close {
    background: rgba(255, 255, 255, 0.05) !important;
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    position: absolute !important;
    right: 0 !important;
    top: 5px !important;
    z-index: 10 !important;
}

.tp-menu-close i {
    color: #fff !important;
    font-size: 16px !important;
    transition: transform 0.3s ease !important;
}

.tp-offcanvas-menu ul li.active>.tp-menu-close i {
    transform: rotate(45deg) !important;
    color: #0091FF !important;
}

@media (max-width: 1199px) {
    .tp-megamenu-wrapper {
        padding-left: 0 !important;
        background: transparent !important;
    }

    .tp-megamenu-list {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* --- Globe Map Fix --- */
#globe-viz {
    height: 600px;
    width: 100%;
    margin: 0 auto;
    cursor: move;
}

@media (max-width: 767px) {
    #globe-viz {
        height: 400px;
    }
}

/* Form Placeholder Readability Fix */
.tp-contact-form-input input::placeholder,
.tp-contact-form-input textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
}

.tp-contact-form-input input::-webkit-input-placeholder,
.tp-contact-form-input textarea::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.tp-contact-form-input input::-moz-placeholder,
.tp-contact-form-input textarea::-moz-placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* --- Content Protection (Security) --- */
/* Disables text selection and image dragging to deter content theft */
body {
    -webkit-user-select: none;
    user-select: none;
}

img {
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    /* Prevents right-click and save-as on images */
}

/* Allow selection in form fields for accessibility */
input,
textarea,
select {
    -webkit-user-select: text !important;
    user-select: text !important;
}

/* Magic Spotlight Cursor */
#cursor-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    /* Behind content but above background */
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    will-change: transform;
}

/* Noise Overlay - Animated Texture */
.noise-overlay {
    position: fixed;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    background-repeat: repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
    animation: noise 8s steps(10) infinite;
}

@keyframes noise {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -10%);
    }

    20% {
        transform: translate(-15%, 5%);
    }

    30% {
        transform: translate(7%, -25%);
    }

    40% {
        transform: translate(-5%, 25%);
    }

    50% {
        transform: translate(-15%, 10%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 15%);
    }

    80% {
        transform: translate(3%, 35%);
    }

    90% {
        transform: translate(-10%, 10%);
    }
}



/* Magnetic Items */
.magnetic-item {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}




/* Animated Gradient Text */
.io-animated-gradient {
    background: linear-gradient(to right,
            #0066ff,
            #00ccff,
            #ffffff,
            #00ccff,
            #0066ff);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientFlow 4s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.fs-180-mobile {
    font-size: clamp(60px, 12vw, 180px);
    line-height: 0.9;
}

.io-reveal-up {
    will-change: transform, opacity;
}

/* --- Services Hero Title Responsive Fix --- */
.studio-hero-title {
    font-size: clamp(60px, 10vw, 150px) !important;
    line-height: 0.9 !important;
    letter-spacing: -0.03em !important;
    margin: 0 auto !important;
    display: inline-block !important;
}

@media (max-width: 767px) {
    .studio-hero-title {
        font-size: clamp(40px, 15vw, 80px) !important;
    }
}

/* --- Global Responsive Font Utilities --- */
.fs-140 {
    font-size: clamp(45px, 8vw, 100px) !important;
    line-height: 0.9 !important;
    /* Reduced to tighten the vertical gap */
    padding-bottom: 5px;
}

/* Fix for Home Workflow Title Clipping */
.tp-work-title-box {
    padding-bottom: 40px !important;
    overflow: visible !important;
}


.fs-100 {
    font-size: clamp(35px, 7vw, 85px) !important;
    line-height: 0.95 !important;
}

@media (max-width: 991px) {
    .fs-140 {
        font-size: clamp(38px, 10vw, 75px) !important;
    }

    .fs-100 {
        font-size: clamp(32px, 9vw, 65px) !important;
    }
}

@media (max-width: 767px) {
    .fs-140 {
        font-size: clamp(30px, 12vw, 55px) !important;
    }

    .fs-100 {
        font-size: clamp(26px, 10vw, 45px) !important;
    }
}





/* ================================================================
   MODERN BACK TO TOP — Iconic Orbit
   ================================================================ */
.io-back-to-top {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.io-back-to-top.back-to-top-btn-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.back-to-top-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, #0091FF, #00D2FF);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(10px);
}

.back-to-top-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
    border-color: #0091FF;
}

.back-to-top-btn:hover::before {
    opacity: 0.5;
}

.io-progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.io-progress-path {
    fill: none;
    stroke: #0091FF;
    stroke-width: 2.5;
    stroke-linecap: round;
    box-shadow: 0 0 10px #0091FF;
}

.io-back-to-top-arrow {
    display: block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top-btn:hover .io-back-to-top-arrow {
    transform: translateY(-5px);
}

@media (max-width: 767px) {
    .io-back-to-top {
        right: 20px;
        bottom: 20px;
    }

    .back-to-top-btn {
        width: 50px;
        height: 50px;
    }
}

/* ================================================================
   SERVICES HERO COMPATIBLE SLIDE IMAGES (Clean External CSS)
   ================================================================ */
.hero-img-inner-1 { background-image: url("../img/generated/service_hero_coding_1_1776878054656.png"); }
.hero-img-inner-2 { background-image: url("../img/generated/service_hero_ai_2_1776878071261.png"); }
.hero-img-inner-3 { background-image: url("../img/generated/service_hero_office_3_1776878085765.png"); }
.hero-img-inner-4 { background-image: url("../img/generated/service_hero_ui_4_1776878104127.png"); }
.hero-img-inner-5 { background-image: url("../img/generated/service_hero_collab_5_1776878120474.png"); }
.hero-img-inner-6 { background-image: url("../img/generated/service_hero_data_6_1776878134928.png"); }

/* ================================================================
   SERVICES MOBILE NAVIGATION TEXT & ICONS VISIBILITY FIXES
   ================================================================ */
@media (max-width: 1199px) {
    /* 1. Category Link Layout: Horizontal, Tight Spacing, Perfect Centering (High Specificity) */
    .tp-offcanvas-menu .tp-megamenu-list li.menu-item-has-children > a.mega-menu-title-link {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 8px 15px !important; /* Reduced padding to make it tight */
        margin: 0 !important; /* Reset margins */
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        width: 100% !important;
    }

    /* 2. Category Title Text styling (High Specificity) */
    .tp-offcanvas-menu .tp-megamenu-list li.menu-item-has-children > a.mega-menu-title-link .mega-menu-title-text {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-weight: 700 !important;
        font-size: 13px !important; /* Slightly smaller for premium look */
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        background: none !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }

    /* 3. Category Icon Box styling (High Specificity) */
    .tp-offcanvas-menu .tp-megamenu-list li.menu-item-has-children > a.mega-menu-title-link .mega-menu-icon-box {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 30px !important; /* Slightly smaller for premium scale */
        height: 30px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        opacity: 1 !important;
        visibility: visible !important;
        flex-shrink: 0 !important; /* Prevent squeezing */
        margin: 0 !important;
    }

    /* Force mobile icons inside category link to load and display perfectly centered (High Specificity) */
    .tp-offcanvas-menu .tp-megamenu-list li.menu-item-has-children > a.mega-menu-title-link .mega-menu-icon-box i {
        font-family: "Font Awesome 6 Pro" !important;
        font-weight: 300 !important;
        font-style: normal !important;
        text-rendering: auto !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-size: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
    }

    /* 4. Tight Spacing for list items on mobile to eliminate the huge vertical gap */
    .tp-offcanvas-menu .tp-megamenu-list ul,
    .tp-offcanvas-menu .tp-megamenu-list ul.submenu {
        margin: 0 !important;
        padding: 0 !important;
    }

    .tp-offcanvas-menu .tp-megamenu-list li {
        margin-bottom: 6px !important; /* Tight spacing between categories */
        padding: 0 !important;
    }

    .tp-offcanvas-menu .tp-megamenu-list li:not(:last-child) {
        margin-bottom: 6px !important;
    }

    /* Override the generic theme 45px margin rule on list items */
    .tp-offcanvas-2-area .tp-offcanvas-menu ul li:not(:last-child),
    .tp-offcanvas-2-area .tp-offcanvas-menu ul > li:not(:last-child) {
        margin-bottom: 6px !important;
    }

    /* Active state (when category is expanded on mobile) */
    .tp-offcanvas-menu .tp-megamenu-list.active li.menu-item-has-children > a {
        background-color: rgba(255, 255, 255, 0.05) !important;
        color: #0091FF !important;
        -webkit-text-fill-color: #0091FF !important;
    }

    /* Submenu background and borders on mobile */
    .tp-offcanvas-menu .tp-megamenu-list ul.submenu {
        background: rgba(255, 255, 255, 0.02) !important;
        border-left: 2px solid #0091FF !important;
        padding: 6px 15px 6px 35px !important; /* Tighter padding */
        margin-top: 4px !important;
    }

    /* Sub-menu anchors in mobile offcanvas view (beautiful soft white) */
    .tp-offcanvas-menu .tp-megamenu-list ul.submenu li {
        margin-bottom: 4px !important;
    }

    .tp-offcanvas-menu .tp-megamenu-list ul.submenu li a,
    .tp-offcanvas-menu .tp-megamenu-list ul.submenu li a span {
        color: rgba(255, 255, 255, 0.75) !important;
        -webkit-text-fill-color: rgba(255, 255, 255, 0.75) !important;
        font-weight: 500 !important;
        font-size: 13px !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 4px 0 !important;
    }

    /* Add space between sub-services icons and text */
    .tp-offcanvas-menu .tp-megamenu-list ul.submenu li a i {
        margin-right: 10px !important;
        font-size: 13px !important;
        color: rgba(255, 255, 255, 0.75) !important;
        -webkit-text-fill-color: rgba(255, 255, 255, 0.75) !important;
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .tp-offcanvas-menu .tp-megamenu-list ul.submenu li a:hover,
    .tp-offcanvas-menu .tp-megamenu-list ul.submenu li a:hover * {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
}