/* ==========================================================================
   4X STUDIOS — CORE DESIGN SYSTEM & STYLE SHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --color-primary: #0EA5E9;
    --color-primary-light: #38BDF8;
    --color-primary-dark: #0284C7;
    --color-cyan: #22D3EE;
    --color-navy: #0F172A;
    --color-white: #FFFFFF;
    --color-offwhite: #F8FAFC;
    --color-slate-100: #F1F5F9;
    --color-slate-200: #E2E8F0;
    --color-slate-400: #94A3B8;
    --color-slate-500: #64748B;
    --color-slate-800: #1E293B;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
    --gradient-glow: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, rgba(14, 165, 233, 0) 70%);
    --gradient-dark-card: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);

    /* Fonts */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Layout & Spacing */
    --header-height: 125px;
    --max-width: 1440px;
}

/* ==========================================================================
   RESET & SYSTEM BASE
   ========================================================================== */

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

html {
    scroll-behavior: auto; /* Handled by Lenis scroll engine */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    background-color: var(--color-white);
    color: var(--color-navy);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Custom Selection Color */
::selection {
    background-color: var(--color-primary-light);
    color: var(--color-navy);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-navy);
}

p {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--color-slate-500);
}

/* Editorial font adjustments */
.editorial-italic {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
}

/* Giant Headline */
.h-giant {
    font-size: clamp(3rem, 8vw, 7.5rem);
    letter-spacing: -0.03em;
    line-height: 0.95;
}

/* Large H2 */
.h-large {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
}

/* Sub-heading label */
.label-caps {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    display: inline-block;
    margin-bottom: 1rem;
}

.body-large {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.6;
    font-weight: 300;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

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

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.25rem;
    }
}

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

@media (max-width: 768px) {
    .section-padding {
        padding: 6rem 0;
    }
}

/* Asymmetric Grid Classes */
.asym-grid-3-7 {
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: 4rem;
}

.asym-grid-7-3 {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 4rem;
}

.asym-grid-4-6 {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 4rem;
}

@media (max-width: 991px) {
    .asym-grid-3-7, .asym-grid-7-3, .asym-grid-4-6 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   PREMIUM GLASSMORPHIC COMPONENTS
   ========================================================================== */

.glass-nav {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

/* Dark themed premium card */
.dark-card {
    background: var(--color-navy);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.dark-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: var(--transition-smooth);
}

.dark-card:hover::after {
    opacity: 1;
}

.dark-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
    transform: translateY(-8px);
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 10px 25px -10px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 15px 30px -5px rgba(14, 165, 233, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-slate-200);
}

.btn-secondary:hover {
    border-color: var(--color-navy);
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-ghost {
    background-color: transparent;
    color: var(--color-navy);
    padding: 0.8rem 1.5rem;
    border-bottom: 2px solid transparent;
    border-radius: 0;
}

.btn-ghost:hover {
    border-bottom-color: var(--color-primary);
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* ==========================================================================
   GLOBAL HEADER (NAVIGATION)
   ========================================================================== */

header.main-header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.main-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    height: 70px;
}

.nav-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-navy);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

/* Services Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--color-navy);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    width: 240px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    color: var(--color-slate-400);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    color: var(--color-primary-light);
    background-color: rgba(255, 255, 255, 0.03);
    padding-left: 1.75rem;
}

/* Hamburger mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-navy);
    transition: var(--transition-fast);
}

/* Open menu drawer styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-primary-light);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    padding-left: 4rem;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--color-navy);
    transition: var(--transition-fast);
}

.mobile-nav-link:hover {
    padding-left: 1rem;
    color: var(--color-white);
}

@media (max-width: 991px) {
    .nav-menu, .nav-action {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */

footer.main-footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding-top: 8rem;
    padding-bottom: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

@media (max-width: 991px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer-brand .logo-img {
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.brand-trust-section {
    padding: 3rem 0 3rem;
    background-color: #ffffff;
}

.brand-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.brand-trust-grid img {
    width: 100%;
    max-width: 160px;
    max-height: 80px;
    object-fit: contain;
    opacity: 0.85;
    filter: grayscale(1);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.brand-trust-grid img:hover {
    opacity: 1;
    filter: grayscale(0);
}

.footer-text {
    color: var(--color-slate-400);
    margin-bottom: 2rem;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-slate-400);
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: var(--color-white);
}

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

.footer-link {
    font-size: 0.875rem;
    color: var(--color-slate-400);
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-primary-light);
    padding-left: 4px;
}

/* Newsletter styling */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input-group {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.newsletter-input {
    background: transparent;
    border: none;
    color: var(--color-white);
    padding: 0.5rem 0;
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.875rem;
}

.newsletter-input::placeholder {
    color: var(--color-slate-500);
}

.newsletter-input:focus {
    outline: none;
}

.newsletter-btn {
    background: transparent;
    border: none;
    color: var(--color-primary-light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    color: var(--color-cyan);
}

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

@media (max-width: 768px) {
    footer.main-footer {
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-brand {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: left;
    }

    .footer-brand .logo-img {
        height: 48px;
        margin-bottom: 0;
    }

    .footer-text {
        display: none; /* Hide descriptions to save maximum vertical space */
    }

    .footer-socials {
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .footer-socials .social-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .footer-links-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer-title {
        display: none; /* Hide massive text headers */
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
        padding: 0;
        margin: 0;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-link {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.6);
    }

    .newsletter-form {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .newsletter-input-group {
        padding-bottom: 0.25rem;
    }

    .newsletter-input {
        font-size: 0.75rem;
        text-align: center;
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 1rem;
        gap: 0.75rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   CUSTOM CURSOR FOLLOWER
   ========================================================================== */

.custom-cursor {
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    opacity: 0.15;
    transition: width 0.3s, height 0.3s, background-color 0.3s, opacity 0.3s;
}

.custom-cursor.hovered {
    width: 80px;
    height: 80px;
    background-color: var(--color-cyan);
    opacity: 0.25;
}

@media (max-width: 1024px) {
    .custom-cursor {
        display: none !important;
    }
}

/* ==========================================================================
   INFINITE MARQUEE / TICKER
   ========================================================================== */

.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    color: #000000;
    padding: 1.5rem 0;
    white-space: nowrap;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0 3rem;
    color: #000000;
}

.marquee-item::after {
    content: '•';
    margin-left: 6rem;
    color: #000000;
}

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

/* ==========================================================================
   FAQ ACCORDION COMPONENT
   ========================================================================== */

.faq-container {
    max-width: 800px;
    margin: 4rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-slate-200);
    padding: 1.5rem 0;
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    padding: 0.5rem 0;
}

.faq-question {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

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

.faq-answer {
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--color-slate-500);
    line-height: 1.7;
}

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

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

/* ==========================================================================
   4X STUDIOS PREMIUM HEADER
   ========================================================================== */

/* HEADER WRAPPER */
.fourx-header-wrap{
    padding:20px;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* MAIN HEADER */
.fourx-header{
    background:#ffffff;
    border-radius:28px;
    padding:12px 45px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:relative;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* LOGO */
.fourx-logo{
    font-size:34px;
    font-weight:700;
    color:#0A3D91;
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration: none;
}

.fourx-logo span{
    color:#111;
    font-size:20px;
    font-weight:600;
}

/* ENLARGED LOGO IMAGE */
.fourx-logo img{
    height: 85px;
    width: auto;
    display: block;
    transition: var(--transition-fast);
}

.fourx-logo:hover img{
    transform: scale(1.03);
}

/* NAVIGATION */
.fourx-nav{
    display:flex;
    align-items:center;
    gap:55px;
}

.fourx-nav-item{
    position:relative;
}

.fourx-nav-link{
    text-decoration:none;
    color:#111;
    font-size:18px;
    font-weight:500;
    transition:0.3s;
}

.fourx-nav-link:hover{
    color:#0047ff;
}

/* ACTIVE MENU */
.fourx-active{
    color:#0047ff;
    position:relative;
}

.fourx-active::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-14px;
    width:100%;
    height:4px;
    border-radius:10px;
    background:#0047ff;
}

/* CONTACT BUTTON */
.fourx-btn{
    background:#0d4dff;
    color:#fff;
    text-decoration:none;
    padding:14px 34px;
    border-radius:50px;
    font-size:17px;
    font-weight:600;
    transition:0.3s;
}

.fourx-btn:hover{
    transform:translateY(-2px);
}

/* DROPDOWN */
.fourx-dropdown{
    position:absolute;
    top:50px;
    left:-100px;
    width:540px;
    background:#ffffff;
    border-radius:24px;
    padding:18px;
    display:none;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    box-shadow:0 10px 40px rgba(0,0,0,0.12);
    z-index: 1010;
}

/* SHOW DROPDOWN (ONLY TRIGGERED VIA JS CLICK TOGGLE) */
.fourx-dropdown.show-dropdown{
    display:grid;
}

/* CARDS */
.fourx-card{
    background:linear-gradient(135deg,#0A3D91,#2b6dff);
    border-radius:16px;
    padding:16px;
    min-height:80px;
    position:relative;
    transition:0.3s;
    overflow:hidden;
    display: block;
    text-decoration: none;
    text-align: left;
}

.fourx-card:hover{
    transform:translateY(-3px);
}

.fourx-card h3{
    color:#fff;
    font-size:16px;
    line-height:1.3;
    font-weight:600;
    max-width:180px;
    margin: 0;
    padding-top: 8px;
}

/* DROPDOWN CARD ICON STYLE */
.fourx-card-icon{
    font-size: 22px;
    color: #38BDF8;
    line-height: 1;
    margin-bottom: 4px;
    display: inline-block;
    transition: var(--transition-fast);
}

.fourx-card:hover .fourx-card-icon{
    transform: scale(1.1) rotate(5deg);
    color: #ffffff;
}

/* DARK STYLE CARDS */
.fourx-dark{
    background:linear-gradient(135deg,#111,#3b4d80);
}

/* ARROW */
.fourx-arrow{
    position:absolute;
    right:12px;
    top:12px;
    width:28px;
    height:28px;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
}

@media(max-width:992px){
    .fourx-header-wrap {
        position: relative;
        padding: 0 !important;
        background: #ffffff;
    }
    
    .fourx-header {
        display: grid;
        grid-template-columns: repeat(5, auto);
        justify-content: space-evenly;
        align-items: center;
        gap: 12px 0;
        border-radius: 0 !important;
        padding: 10px 0 10px 8px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .fourx-logo {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
        align-self: center;
    }

    .fourx-logo img {
        height: 52px !important;
    }

    .fourx-btn {
        grid-column: 5;
        grid-row: 2;
        align-self: center;
        padding: 4px 8px !important;
        font-size: 10px !important;
        border-radius: 20px;
        white-space: nowrap !important;
        background: #0d4dff;
        color: #fff;
    }

    .fourx-nav {
        display: contents;
    }
    
    .fourx-nav-item {
        display: none !important;
    }
    
    .fourx-nav-item:nth-child(-n+4) {
        display: block !important;
        grid-row: 2;
        align-self: center;
    }

    .fourx-nav-link {
        font-size: 10px !important;
        font-weight: 600;
        white-space: nowrap !important;
    }
    
    .fourx-active::after {
        bottom: -4px;
        height: 2px;
    }

    .fourx-dropdown {
        width: 100%;
        left: 0;
        grid-template-columns: 1fr;
        position: static;
        box-shadow: none;
        padding: 10px 0 0 0;
    }
    
    .fourx-hero-video-section .container {
        display: none !important;
    }
    
    main {
        padding-top: 0 !important;
    }
}

/* ==========================================================================
   CINEMATIC VIDEO BACKGROUND HERO
   ========================================================================== */
.fourx-hero-video-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    color: var(--color-white);
    padding: 0 0 3rem 0;
    background-color: var(--color-navy);
}

.fourx-hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    transform: scale(1.15);
}

.fourx-hero-scrim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
    pointer-events: none;
}

.fourx-hero-video-section .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

@media (max-width: 768px) {
    .fourx-hero-video-section {
        min-height: unset;
        height: auto;
        aspect-ratio: 16 / 9;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        text-align: center;
    }

    .fourx-hero-bg-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.15) !important;
    }

    .fourx-hero-video-section .container {
        display: none !important;
    }
}

/* =========================================
   4X STUDIOS MOBILE STYLE SECTION (SCOPED)
   ========================================= */

.fourx-advantage-section {
    width: 100%;
    padding: 30px 5% 80px 5%;
    background: #0b3dff;
    color: #ffffff;
}

.fourx-advantage-small-title {
    font-family: var(--font-sans);
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.fourx-advantage-heading {
    font-family: var(--font-sans);
    text-align: center;
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.fourx-advantage-heading span {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

.fourx-advantage-cards {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
}

.fourx-advantage-cards::-webkit-scrollbar {
    display: none;
}

.fourx-advantage-card {
    min-width: 320px;
    max-width: 320px;
    height: 560px;
    border-radius: 34px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to bottom for high-impact typography */
    transition: 0.4s ease;
    z-index: 1;
}

.fourx-advantage-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.fourx-advantage-card:hover .fourx-advantage-card-bg {
    transform: scale(1.08);
}

.fourx-advantage-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.fourx-advantage-blue .fourx-advantage-card-overlay {
    background: linear-gradient(180deg, rgba(0, 82, 255, 0.15) 0%, rgba(11, 25, 60, 0.92) 100%);
}

.fourx-advantage-dark .fourx-advantage-card-overlay {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.15) 0%, rgba(17, 24, 39, 0.95) 100%);
}

.fourx-advantage-blue {
    background: #0052ff;
}

.fourx-advantage-dark {
    background: #111827;
}

.fourx-advantage-icon {
    width: 95px;
    height: 95px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: #fff;
    margin-top: 20px;
    position: relative;
    z-index: 3;
}

.fourx-advantage-content {
    position: relative;
    z-index: 3;
    margin-bottom: 24px;
}

.fourx-advantage-content h3 {
    color: #fff;
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 12px;
    font-weight: 700;
}

.fourx-advantage-content p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.6;
}

.fourx-advantage-btn {
    width: max-content;
    padding: 14px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
    z-index: 3;
}

.fourx-advantage-btn:hover {
    background: #fff;
    color: #0052ff;
}

.fourx-advantage-number {
    position: absolute;
    top: 28px;
    right: 28px;
    font-family: var(--font-sans);
    font-size: 72px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    z-index: 3;
    pointer-events: none;
}

@media(min-width: 992px) {
    .fourx-advantage-cards {
        justify-content: center;
        overflow: visible;
        flex-wrap: nowrap !important;
    }

    .fourx-advantage-card {
        min-width: 250px !important;
        max-width: 320px !important;
        width: 25% !important;
        flex-shrink: 1 !important;
    }

    .fourx-advantage-card:hover {
        transform: translateY(-10px);
    }
}

@media(max-width: 768px) {
    .fourx-advantage-section {
        padding: 40px 16px !important;
    }

    .fourx-advantage-small-title {
        font-size: 11px !important;
        margin-bottom: 10px !important;
        letter-spacing: 0.15em !important;
    }

    .fourx-advantage-heading {
        font-size: 28px !important;
        margin-bottom: 24px !important;
    }

    .fourx-advantage-card {
        min-width: 280px !important;
        max-width: 280px !important;
        height: 490px !important;
        border-radius: 20px !important;
    }

    .fourx-advantage-number {
        font-size: 36px !important;
        top: 16px !important;
        right: 16px !important;
    }

    .fourx-advantage-content h3 {
        font-size: 20px !important;
    }

    .fourx-advantage-content p {
        font-size: 14px !important;
    }

    /* GLOBAL TICKER MARQUEE SMALL SIZE */
    .marquee-container {
        padding: 0.8rem 0 !important;
    }
    
    .marquee-item {
        font-size: 0.75rem !important;
        padding: 0 1.5rem !important;
    }
    
    .marquee-item::after {
        margin-left: 3rem !important;
    }

    /* HORIZONTAL SERVICES SECTION SMALL SIZE */
    .services {
        padding: 40px 0 !important;
    }

    .s-header {
        padding: 0 16px 24px !important;
        gap: 12px !important;
    }

    .s-header-left .s-eyebrow {
        font-size: 10px !important;
    }

    .s-header-left .s-heading {
        font-size: 26px !important;
    }

    .s-card {
        min-width: 240px !important;
        width: 240px !important;
        border-radius: 16px !important;
    }

    .s-card-image {
        border-radius: 16px !important;
    }

    .s-card-name {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }

    .s-card-desc {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
    }
}

/* ==========================================================================

/* ==========================================================================
   11. HORIZONTAL SLIDER SERVICES SECTION
   ========================================================================== */
/* ── SECTION ── */
.services {
  background: url('Gemini_Generated_Image_q0edeyq0edeyq0ed.png') center/cover no-repeat;
  background-attachment: fixed;
  padding: 80px 0 90px;
  overflow: hidden;
  position: relative;
}

.services::before {
  content: '';
  position: absolute; inset: 0;
  background: transparent;
  pointer-events: none;
}

/* ── HEADER ── */
.s-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 60px 48px;
  gap: 20px;
  position: relative;
}

.s-header-left .s-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,0,0,.65);
  margin-bottom: 10px;
}

.s-header-left .s-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: #0b0f2c;
  letter-spacing: -.02em;
  line-height: 1.05;
}

/* ── SLIDER TRACK ── */
.s-viewport {
  overflow: hidden;
  padding: 12px 0 20px;
  position: relative;
}

.s-track {
  display: flex;
  gap: 24px;
  padding: 0;
  width: max-content;
  animation: servicesMarquee 25s linear infinite;
}

@keyframes servicesMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}

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

/* ── CARD ── */
.s-card {
  background: #f0f4ff;
  border-radius: 24px;
  padding: 0;
  min-width: 280px;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 20px 60px rgba(0,0,50,.2);
  transition: transform .3s ease, box-shadow .3s ease;
  flex-shrink: 0;
  position: relative;
}
.s-card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 0;
}
.s-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.s-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(0,0,50,.28);
}

/* top row: icon + number */
.s-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}

.s-card-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #7ed321;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.s-card-icon svg { width: 28px; height: 28px; }

.s-card-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #2440e8;
  letter-spacing: -.01em;
  line-height: 1;
  padding-top: 4px;
}

/* title */
.s-card-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #0d1b3e;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

/* desc */
.s-card-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #4a5568;
  flex: 1;
  margin-bottom: 28px;
}

/* learn more */
.s-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #0d1b3e;
  text-decoration: none;
  border-bottom: 2px solid #0d1b3e;
  padding-bottom: 2px;
  width: fit-content;
  transition: color .2s, border-color .2s;
}
.s-card-link:hover { color: #2440e8; border-color: #2440e8; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .s-header { padding: 0 24px 36px; }
  .s-track {
  display: flex;
  gap: 24px;
  padding: 0;
  width: max-content;
  animation: servicesMarquee 25s linear infinite;
}

@keyframes servicesMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}

.s-track:hover {
  animation-play-state: paused;
}
  .s-card   { min-width: 280px; width: 280px; padding: 0; }
}

/* ==========================================================================
   4X STUDIOS — ABOUT US REDESIGN CUSTOM STYLES (HOME PAGE MATCHED)
   ========================================================================== */

/* About Hero Looping Video Wrapper */
.about-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-white);
    padding: 8rem 0;
}

@media (max-width: 768px) {
    .about-hero-section {
        min-height: unset;
        height: auto;
        display: flex;
        flex-direction: column;
        padding: 0;
        background-color: #0052ff;
    }
    .about-hero-video-bg {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        display: block !important;
        transform: none !important;
        z-index: 1 !important;
    }
    .about-hero-scrim-overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 56.25vw !important;
        z-index: 2 !important;
    }
    .about-hero-section .container {
        position: relative;
        z-index: 3;
        padding: 40px 20px;
    }
}

.about-hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    transform: scale(1.15);
}

.about-hero-scrim-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 2;
    pointer-events: none;
}

/* About Hero Split Screen Grid */
.about-hero-split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 100%;
}

@media (max-width: 991px) {
    .about-hero-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.about-hero-left {
    text-align: left;
}

@media (max-width: 991px) {
    .about-hero-left {
        text-align: center;
    }
}

.about-hero-tag {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--color-cyan);
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
}

.about-hero-title {
    font-family: var(--font-sans);
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    line-height: 1.05;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.about-hero-title span {
    background: linear-gradient(90deg, #0052ff, #4e7dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-top: 20px;
}

@media (max-width: 991px) {
    .about-hero-text {
        margin: 20px auto 0 auto;
    }
}

.about-hero-quote-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.about-hero-quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(34, 211, 238, 0.15) 0%, rgba(15, 23, 42, 0) 50%);
    pointer-events: none;
    border-radius: 30px;
}

.quote-icon {
    font-size: 32px;
    color: var(--color-cyan);
    margin-bottom: 20px;
    display: block;
}

.about-hero-quote {
    font-family: serif;
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.quote-author {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

/* Home-page bright blue metrics dashboard */
.about-metrics-section {
    width: 100%;
    padding: 60px 5%;
    background: linear-gradient(135deg, #0052ff 0%, #002288 100%);
    color: #ffffff;
    position: relative;
    z-index: 3;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

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

@media (max-width: 576px) {
    .about-metrics-grid {
        grid-template-columns: 1fr;
    }
}

.about-metric-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: 0.3s ease;
}

.about-metric-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.about-metric-num {
    font-family: var(--font-sans);
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-metric-label {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

/* Home-page Multiplier Method-style timeline */
.about-timeline-section {
    padding: 120px 7%;
    background: url('Gemini_Generated_Image_q0edeyq0edeyq0ed.png') center/cover no-repeat;
    overflow: hidden;
    position: relative;
}

.about-timeline-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-timeline-tag {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.about-timeline-tag::after, .about-timeline-tag::before {
    content: '';
    width: 60px;
    height: 2px;
    background: #111;
}

.about-timeline-heading {
    font-family: var(--font-sans);
    font-size: 58px;
    line-height: 1.1;
    font-weight: 800;
    color: #000000;
}

.about-timeline-heading span {
    font-family: serif;
    font-style: italic;
    font-weight: 400;
}

@media (max-width: 768px) {
    .about-timeline-heading {
        font-size: 42px;
    }
}

.about-timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.about-timeline-card {
    position: relative;
    display: flex;
    gap: 35px;
    padding: 45px;
    border-radius: 35px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(15px);
    border-bottom: 5px solid #7dff00;
    transition: 0.4s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 50, 0.05);
}

.about-timeline-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 30px 60px rgba(0, 0, 50, 0.12);
}

.about-timeline-card-number {
    min-width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #eef4ff;
    color: #2563ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .about-timeline-card {
        flex-direction: column;
        padding: 30px;
    }
    .about-timeline-card-number {
        width: 75px;
        height: 75px;
        font-size: 22px;
    }
}

.about-timeline-card-content h3 {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    line-height: 1.2;
}

.about-timeline-card-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #4d5a70;
}

.about-timeline-date-badge {
    background: #0052ff;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* ==========================================================================
   ABOUT PAGE — EXECUTIVE TEAM SECTION
   ========================================================================== */
.team-section {
    width: 100%;
    background: #070d19;
}

.team-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 80px 100px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #bdbdbd;
    margin-bottom: 25px;
    font-family: 'Outfit', sans-serif;
}

.title {
    font-size: 72px;
    line-height: 1;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
}

.title span {
    display: block;
    font-family: serif;
    font-style: italic;
    font-weight: 300;
}

.description {
    max-width: 500px;
    margin-left: auto;
    color: #b7b7b7;
    line-height: 1.8;
    font-size: 18px;
    font-family: 'Outfit', sans-serif;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.member {
    min-height: 650px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.member:last-child {
    border-right: none;
}

.member::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    left: 50%;
    top: 120px;
    transform: translateX(-50%) scale(1);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background 0.4s ease;
}

.member:hover::before,
.member:active::before,
.member.active::before {
    transform: translateX(-50%) scale(1.08);
    background: rgba(31, 94, 255, 0.15); /* Premium glowing neon blue halo */
}

.image-placeholder {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.image-placeholder svg {
    width: 70px;
    opacity: 0.15;
    color: #ffffff;
}

.image-placeholder img {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: grayscale(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

.member:hover .image-placeholder img,
.member:active .image-placeholder img,
.member.active .image-placeholder img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.info {
    padding: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info h3 {
    font-size: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
}

.info p {
    color: #9f9f9f;
    font-size: 20px;
    font-family: 'Outfit', sans-serif;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .title {
        font-size: 55px;
    }
}

/* About Page Mobile Optimizations (Consolidated & Compacted) */
@media (max-width: 768px) {
    /* Hero */
    .about-hero-section {
        padding: 0 !important;
    }

    .about-hero-section .container {
        display: none !important;
    }

    .about-hero-scrim-overlay {
        display: none !important;
    }

    .about-hero-video-bg {
        display: none !important;
    }

    .about-hero-img-mobile {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        object-fit: cover !important;
        display: block !important;
        z-index: 1 !important;
        border-radius: 0 !important;
    }

    .about-hero-tag {
        display: none !important;
    }
    
    .about-hero-title {
        font-size: 2.2rem !important;
        margin-bottom: 15px !important;
    }
    
    .about-hero-text {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    .about-hero-quote-card {
        padding: 20px !important;
        border-radius: 20px !important;
        margin-top: 15px !important;
    }
    
    .about-hero-quote {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
    }

    /* Metrics Dashboard */
    .about-metrics-section {
        padding: 20px 2% !important;
    }

    .about-metrics-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px !important;
    }

    .about-metric-card {
        padding: 0.8rem 0.3rem !important;
        border-radius: 12px !important;
    }

    .about-metric-num {
        font-size: 1.3rem !important;
        margin-bottom: 0.25rem !important;
    }

    .about-metric-label {
        font-size: 0.52rem !important;
        letter-spacing: 0.02em !important;
        line-height: 1.2 !important;
    }

    /* Timeline */
    .about-timeline-section {
        padding: 50px 4% !important;
    }

    .about-timeline-header {
        margin-bottom: 30px !important;
    }

    .about-timeline-tag {
        font-size: 12px !important;
        margin-bottom: 15px !important;
        gap: 10px !important;
    }

    .about-timeline-tag::after, .about-timeline-tag::before {
        width: 30px !important;
    }

    .about-timeline-heading {
        font-size: 2rem !important;
    }

    .about-timeline-container {
        gap: 15px !important;
    }

    .about-timeline-card {
        flex-direction: row !important;
        align-items: center !important;
        padding: 16px 20px !important;
        gap: 15px !important;
        border-radius: 16px !important;
        border-bottom-width: 3px !important;
    }

    .about-timeline-card-number {
        min-width: 52px !important;
        height: 52px !important;
        font-size: 18px !important;
    }

    .about-timeline-card-content h3 {
        font-size: 1.15rem !important;
        margin-bottom: 4px !important;
    }

    .about-timeline-card-content p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }

    .about-timeline-date-badge {
        font-size: 0.7rem !important;
        padding: 0.2rem 0.6rem !important;
        margin-bottom: 0.4rem !important;
    }

    /* Team */
    .team-top {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 50px 25px !important;
    }

    .title {
        font-size: 42px !important;
    }

    /* Mobile Team Marquee Layout */
    .team-marquee-wrapper {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        display: flex;
        padding: 20px 24px !important;
        scrollbar-width: none;
    }

    .team-marquee-wrapper::-webkit-scrollbar {
        display: none !important;
    }

    .team-marquee-content {
        display: flex;
        gap: 15px;
        min-width: max-content;
        animation: scroll-left 30s linear infinite;
    }

    .team-marquee-content:hover,
    .team-marquee-content.paused,
    .team-marquee-content.touched,
    .team-marquee-content:has(.member.active) {
        animation-play-state: paused !important;
    }

    .team-marquee-content .member {
        width: 280px !important;
        flex-shrink: 0 !important;
        min-height: auto !important;
        padding: 0 !important;
        border-radius: 20px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        scroll-snap-align: center !important; /* Premium snap alignment */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    .team-marquee-content .member::before {
        width: 180px !important;
        height: 180px !important;
        top: 60px !important;
    }

    .team-marquee-content .image-placeholder {
        height: 300px !important;
    }

    .team-marquee-content .image-placeholder svg {
        width: 50px !important;
    }

    .team-marquee-content .info {
        padding: 20px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .team-marquee-content .info h3 {
        font-size: 24px !important;
        margin-bottom: 6px !important;
    }

    .team-marquee-content .info p {
        font-size: 14px !important;
    }

    /* Contact CTA Mobile Styling */
    .contact-cta-section {
        padding: 3.5rem 0 !important;
    }

    .contact-cta-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        text-align: center !important;
        padding: 0 1.5rem !important;
    }

    .contact-cta-container h2 {
        font-size: 2rem !important;
        margin: 0.5rem 0 !important;
    }

    .contact-cta-desc {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin: 0 auto !important;
    }

    .contact-cta-buttons {
        width: 100% !important;
        gap: 0.75rem !important;
    }

    .contact-cta-buttons a {
        padding: 0.9rem 1.5rem !important;
        font-size: 0.95rem !important;
        width: 100% !important;
    }
}

/* Services Marquee zero padding override */
.about-services-marquee {
    padding: 0 !important;
}

/* ==========================================================================
   ABOUT PAGE — PREMIUM CTA SECTION
   ========================================================================== */

/* About services marquee overrides */
.about-services-marquee {
    padding: 0 !important;
}

.about-cta-section {
    padding: 100px 5%;
    background-color: #070d19; /* premium navy blue */
    position: relative;
    overflow: hidden;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-cta-glow-backdrop {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(11, 61, 255, 0.22) 0%, rgba(0, 82, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    filter: blur(80px);
    animation: cta-pulse 10s infinite alternate;
}

@keyframes cta-pulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.about-cta-card {
    width: 100%;
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.about-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 61, 255, 0.1) 0%, rgba(34, 211, 238, 0.05) 100%);
    pointer-events: none;
}

.about-cta-tag {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-cyan);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.about-cta-title {
    font-family: var(--font-sans);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.about-cta-title span.cta-highlight {
    background: linear-gradient(90deg, #0052ff, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    background: linear-gradient(90deg, #0b3dff, #0052ff);
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    box-shadow: 0 15px 40px rgba(11, 61, 255, 0.4);
    transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.about-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(11, 61, 255, 0.6);
    background: linear-gradient(90deg, #0052ff, #00d9ff);
    color: #ffffff;
}

/* ==========================================================================
   4X STUDIOS — SERVICES PAGE REDESIGN CUSTOM STYLES
   ========================================================================== */

/* Services Hero Background Image Wrapper */
.services-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #0f172a;
    padding: 10rem 0 8rem 0;
    background: url('services_hero.png') center/cover no-repeat;
}

.services-hero-scrim-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* No fade, use original image */
    z-index: 2;
    pointer-events: none;
}

/* Services Hero Split Screen Grid */
.services-hero-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 100%;
}

@media (max-width: 991px) {
    .services-hero-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.services-hero-left {
    text-align: left;
}

@media (max-width: 991px) {
    .services-hero-left {
        text-align: center;
    }
}

.services-hero-left-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(11, 61, 255, 0.08);
    text-align: left;
}

@media (max-width: 768px) {
    .services-hero-section {
        padding: 4.5rem 0 3rem 0;
        min-height: auto;
    }
    .services-hero-left-card {
        padding: 20px;
        border-radius: 20px;
        text-align: center;
    }
    .services-hero-title {
        font-size: 2rem !important;
    }
    .services-hero-text {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
    }
    .services-hero-guarantee-card {
        padding: 20px !important;
        border-radius: 20px !important;
    }
    .services-hero-guarantee-title {
        font-size: 1.25rem !important;
    }
    .services-hero-guarantee-text {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }
}

.services-hero-tag {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
}

.services-hero-title {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.services-hero-title span {
    background: linear-gradient(90deg, #0052ff, #4e7dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-hero-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #334155;
    max-width: 600px;
    margin-top: 10px;
}

@media (max-width: 991px) {
    .services-hero-text {
        margin: 20px auto 0 auto;
    }
}

.services-hero-guarantee-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(11, 61, 255, 0.15);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(11, 61, 255, 0.08);
    text-align: left;
}

.services-hero-guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(11, 61, 255, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
    border-radius: 30px;
}

.guarantee-icon {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: block;
}

.services-hero-guarantee-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.services-hero-guarantee-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 20px;
}

/* Immersive Services Grid Section */
.services-grid-section {
    padding: 120px 7%;
    background-color: #ffffff; /* Fresh white theme */
    position: relative;
    z-index: 3;
    border-top: 1px solid #e2e8f0;
}
/* Viewport Visibility Helper Classes */
.services-mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .services-desktop-only {
        display: none !important;
    }
    .services-mobile-only {
        display: block !important;
    }
}

.services-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

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

.services-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .services-grid-container {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 20px !important;
        padding: 20px 24px !important;
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        scrollbar-width: none !important;
    }
    
    .services-grid-container::-webkit-scrollbar {
        display: none !important;
    }
    
    .services-grid-container .services-modern-card {
        width: 300px !important;
        flex-shrink: 0 !important;
        scroll-snap-align: center !important;
        box-shadow: 0 10px 30px rgba(11, 61, 255, 0.04) !important;
        background: #ffffff !important;
        height: auto !important;
    }
    
    .services-grid-container .services-card-num {
        top: 15px !important;
        right: 20px !important;
        font-size: 38px !important;
    }
    
    .services-grid-container .services-card-img-wrap {
        height: 140px !important;
        border-radius: 14px !important;
        margin-bottom: 15px !important;
    }
    
    .services-grid-container .services-card-icon {
        font-size: 28px !important;
        margin-bottom: 12px !important;
    }
    
    .services-grid-container .services-card-title {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
    }
    
    .services-grid-container .services-card-description {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
    }
    
    .services-grid-container .services-card-features {
        gap: 8px !important;
        margin-bottom: 20px !important;
    }
    
    .services-grid-container .services-card-features li {
        font-size: 0.8rem !important;
    }
    
    .services-grid-container .services-card-btn {
        padding: 0.8rem 1.2rem !important;
        font-size: 0.75rem !important;
    }
}

.services-modern-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(11, 61, 255, 0.08);
    border-radius: 30px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 61, 255, 0.03);
}

.services-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 61, 255, 0.04) 0%, rgba(0, 217, 255, 0.02) 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.services-modern-card:hover {
    transform: translateY(-8px);
    border-color: rgba(11, 61, 255, 0.35);
    box-shadow: 0 30px 60px rgba(11, 61, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.services-card-num {
    position: absolute;
    top: 25px;
    right: 30px;
    font-family: var(--font-sans);
    font-size: 54px;
    font-weight: 800;
    color: rgba(11, 61, 255, 0.06);
    line-height: 1;
    transition: color 0.4s ease;
}

.services-modern-card:hover .services-card-num {
    color: rgba(11, 61, 255, 0.12);
}

.services-card-icon {
    font-size: 38px;
    color: var(--color-primary);
    margin-bottom: 25px;
    background: linear-gradient(90deg, #0b3dff, #0052ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-card-title {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
    line-height: 1.25;
}

.services-card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 25px;
    flex-grow: 1;
}

.services-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.services-card-features li {
    font-size: 0.92rem;
    font-weight: 500;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-card-features li i {
    color: var(--color-primary);
    font-size: 0.85rem;
}

.services-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.8rem;
    border-radius: 50px;
    background: rgba(11, 61, 255, 0.04);
    border: 1px solid rgba(11, 61, 255, 0.12);
    color: var(--color-primary);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.services-modern-card:hover .services-card-btn {
    background: linear-gradient(90deg, #0b3dff, #0052ff);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(11, 61, 255, 0.4);
    color: #ffffff;
}

.services-card-img-wrap {
    width: 100%;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid rgba(11, 61, 255, 0.08);
}

.services-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.services-modern-card:hover .services-card-img {
    transform: scale(1.1);
}

/* Homepage Aligned Brand Section (White Background) */
.brand-section {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  background: #f4f7ff;
  position: relative;
  z-index: 3;
}

.brand-section .brand-trust-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0.75rem 0 0;
  color: #000000;
  font-family: var(--font-sans);
  font-weight: 800;
}

.brand-section .marquee {
  display: flex;
  overflow: hidden;
  margin: 15px 0;
}

.brand-section .marquee-content {
  display: flex;
  gap: 20px;
  min-width: max-content;
  animation: scroll-left 45s linear infinite;
}

.brand-section .marquee.reverse .marquee-content {
  animation: scroll-right 45s linear infinite;
}

.brand-section .box {
  width: 150px;
  height: 85px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: transparent;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: all 0.3s ease;
}

.brand-section .box:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.brand-section .box img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

/* Brand Section Mobile Responsive Rules */
@media (max-width: 768px) {
  .brand-section {
    padding: 30px 0;
  }
  .brand-section .brand-trust-header {
    margin-bottom: 1.25rem !important;
  }
  .brand-section .brand-trust-header h2 {
    font-size: 1.75rem !important;
  }
  .brand-section .marquee {
    margin: 10px 0;
  }
  .brand-section .marquee-content {
    gap: 12px;
  }
  .brand-section .box {
    width: 105px;
    height: 60px;
    border-radius: 8px;
    padding: 6px;
    border-width: 1px;
  }
}

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

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

.services-cta-section {
    padding: 100px 5%;
    background-color: #f4f7ff; /* Fresh light background */
    position: relative;
    overflow: hidden;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #e2e8f0;
}

/* Services custom light background blue-gradient card */
.services-cta-section .about-cta-card {
    background: linear-gradient(135deg, #0b3dff 0%, #0052ff 100%);
    border: none;
    box-shadow: 0 30px 70px rgba(11, 61, 255, 0.25);
}

.services-cta-section .about-cta-tag {
    color: #00d9ff;
}

.services-cta-section .about-cta-btn {
    background: #ffffff;
    color: #0b3dff;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.services-cta-section .about-cta-btn:hover {
    background: #00d9ff;
    color: #070d19;
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.4);
}

/* Blue background capabilities marquee strip */
.marquee-container.marquee-blue {
    background-color: var(--color-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.marquee-container.marquee-blue .marquee-item {
    color: #ffffff;
}

.marquee-container.marquee-blue .marquee-item::after {
    color: rgba(255, 255, 255, 0.5);
}

/* Specific Services Pages Custom Hero Section */
.services-sub-hero-section {
    position: relative;
    padding: 10rem 0 6rem 0;
    background: #ffffff; /* Fresh white theme */
    border-bottom: 1px solid #e2e8f0;
    z-index: 3;
}

.services-sub-hero-left {
    text-align: left;
}

.services-sub-hero-tag {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.services-sub-hero-title {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.services-sub-hero-title span {
    background: linear-gradient(90deg, #0052ff, #4e7dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-sub-hero-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #334155;
    max-width: 650px;
    margin-bottom: 30px;
}

.services-sub-hero-card-wrap {
    background: #ffffff;
    border: 1px solid rgba(11, 61, 255, 0.1);
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 30px 60px rgba(11, 61, 255, 0.06);
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
}

@media (min-width: 992px) {
    .services-sub-hero-card-wrap {
        margin-top: 0;
    }
}

.services-sub-hero-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px 16px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Specific Service Pages: Deliverable cards */
.services-deliverables-section {
    padding: 100px 7%;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.services-deliverable-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(11, 61, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 20px 50px rgba(11, 61, 255, 0.03);
    height: 100%;
}

.services-deliverable-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 61, 255, 0.3);
    box-shadow: 0 30px 60px rgba(11, 61, 255, 0.08);
}

.services-deliverable-card i {
    font-size: 2.8rem;
    background: linear-gradient(90deg, #0b3dff, #0052ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
}

.services-deliverable-card h3 {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.services-deliverable-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* Specific Service Pages: Execution & Comparison Section */
.services-execution-section {
    padding: 100px 7%;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.services-table-wrap {
    overflow-x: auto;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(11, 61, 255, 0.08);
    padding: 30px;
    box-shadow: 0 20px 50px rgba(11, 61, 255, 0.03);
}

.services-table-wrap table th {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    padding: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.services-table-wrap table td {
    padding: 15px;
    font-size: 0.95rem;
    color: #475569;
}

/* Specific Service Pages: Tech Stack Section */
.services-tech-section {
    padding: 100px 7%;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.services-tech-badge {
    background: rgba(11, 61, 255, 0.04);
    border: 1px solid rgba(11, 61, 255, 0.12);
    color: var(--color-primary);
    padding: 12px 28px;
    font-weight: 700;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(11, 61, 255, 0.02);
    display: inline-block;
}

.services-tech-badge:hover {
    background: linear-gradient(90deg, #0b3dff, #0052ff);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(11, 61, 255, 0.2);
}

/* Specific Service Pages: FAQ Section */
.services-faq-section {
    padding: 100px 7%;
    background-color: #f8fafc;
}



