/*
Theme Name: Elite Workforce Replicate
Theme URI: https://www.eliteworkforceinc.com/
Author: Antigravity Agent
Author URI: https://example.com/
Description: A custom WordPress theme replicating the eliteworkforceinc.com structure.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eliteworkforce-theme
*/

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Dark Theme - Black & Orange */
    --bg-dark: #0A0A0A;
    --bg-dark-2: #111111;
    --bg-card: #1A1A1A;
    --text-primary: #FFFFFF;
    --text-secondary: #E5E7EB;
    --text-muted: #9CA3AF;
    --border-color: rgba(255, 77, 0, 0.2);
    --brand-black: #000000;
    --brand-orange: #FF4D00;

    /* Legacy variables mapped to light theme */
    --primary-color: var(--brand-orange);
    --secondary-color: var(--text-primary);
    --text-color: var(--text-secondary);
    --bg-color: var(--bg-dark);
    --white: var(--text-primary);
    --accent-orange: var(--brand-orange);
    --link-hover: var(--brand-orange);

    --font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --max-width: 1200px;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.8;
    background-color: #0A0A0A;
    background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 50%, #0A0A0A 100%);
    background-size: 200% 200%;
    min-height: 100vh;
    overflow-x: hidden;
    /* Removed animation: bgShift here as it causes heavy repaints during scrolling */
}

html {
    scroll-behavior: auto !important;
}

/* Lenis Recommended Support */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
}

@keyframes bgShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body.menu-open {
    overflow: hidden;
}

body.mega-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

/* --- Scroll Reveal Foundation --- */
section,
.reveal-element {
    transition: opacity 1.2s cubic-bezier(0.23, 1, 0.32, 1), transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: opacity, transform;
}

section.reveal-init,
.reveal-element.reveal-init,
[data-aos].reveal-init {
    opacity: 0;
    transform: translateY(10px);
    /* Smaller distance = less CPU work */
    pointer-events: none;
}

section.is-revealed,
.reveal-element.is-revealed,
[data-aos].is-revealed {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    /* Faster, simpler easing */
}

/* --- Global Preloader --- */
#site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #070707;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: all;
    background: radial-gradient(circle at center, #0d0d0d 0%, #070707 100%);
}

#site-preloader.loaded {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Hide main page content until fully loaded to prevent flickering */
#page {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
}

body.site-ready #page {
    opacity: 1;
    visibility: visible;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 77, 0, 0.1);
    border-top: 3px solid var(--brand-orange);
    border-radius: 50%;
    animation: loader-spin 1.2s infinite cubic-bezier(0.12, 0, 0.39, 0);
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.2);
}

.loader-spinner::after {
    content: "";
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(255, 77, 0, 0.05);
    border-radius: 50%;
    animation: loader-pulse 2s infinite linear;
}

.loader-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loader-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

/* Initial states for child elements to be revealed */
.service-block,
.info-card,
.why-choose-block {
    opacity: 0;
    transform: translateY(10px);
    will-change: transform, opacity;
}

.is-revealed .service-block,
.is-revealed .info-card,
.is-revealed .why-choose-block {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    /* Force GPU on entrance */
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* Reduced delays for a snappier feel */
.is-revealed .service-block:nth-child(n),
.is-revealed .info-card:nth-child(n),
.is-revealed .why-choose-block:nth-child(n) {
    transition-delay: 0.1s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: var(--brand-orange);
    text-shadow: 0 0 18px rgba(255, 77, 0, 0.22);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Dark Theme */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.home .site-header,
.front-page .site-header {
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    border-bottom: none;
}

/* Remove absolute overrides for about/contact to use light header */
.page-template-page-about .site-header,
.page-template-page-contact .site-header {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* .site-branding removed */

.site-header a[rel="home"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    position: relative;
    z-index: 10;
}

/* PC Version Adjustments */
@media (min-width: 992px) {
    .site-header a[rel="home"] {
        padding: 0;
    }

    .site-header a[rel="home"] img {
        max-height: 52px;
    }
}

.site-header a[rel="home"]:hover {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 77, 0, 0.3));
    /* Organic glow on hover */
}

/* Mobile Version Adjustments */
@media (max-width: 991px) {
    .site-header a[rel="home"] {
        padding: 0;
    }

    .site-header a[rel="home"] img {
        max-height: 42px;
    }
}

.site-header a[rel="home"] img {
    height: auto;
    width: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.home .site-header a[rel="home"] img,
.front-page .site-header a[rel="home"] img {
    filter: brightness(1.05) contrast(1.1) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

/* --- Navigation & Menu Toggle --- */
/* (Keeping sliding menu structure but updating styles) */

.menu-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 2000;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-black), var(--brand-orange));
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(255, 77, 0, 0.22);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

.menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
    background: linear-gradient(90deg, var(--brand-black), var(--brand-orange));
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
    background: linear-gradient(90deg, var(--brand-black), var(--brand-orange));
}

.main-navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, var(--bg-dark-2) 0%, var(--bg-dark) 100%);
    z-index: 1500;
    transition: left 0.4s ease;
    padding-top: 80px;
    box-shadow: 2px 0 30px rgba(0, 0, 0, 0.5);
    border-right: 1px solid var(--border-color);
}

.main-navigation.open {
    left: 0;
}

.main-navigation ul li {
    border-bottom: 1px solid var(--border-color);
}

.main-navigation ul li a {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    padding: 15px 25px;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.main-navigation ul li a:hover {
    background: rgba(255, 77, 0, 0.08);
    /* Faster feel on mobile */
    color: var(--brand-orange);
    padding-left: 30px;
    text-shadow: 0 0 14px rgba(255, 77, 0, 0.22);
}

/* Mobile Sub-menus */
.main-navigation ul ul {
    background: rgba(0, 0, 0, 0.15);
    border-left: 2px solid var(--brand-orange);
    margin-left: 0;
    padding-left: 10px;
    display: none;
    /* Hidden by default */
}

.main-navigation li.open>ul {
    display: block;
    /* Show when parent is open */
}

.main-navigation ul ul li {
    border-bottom: 1px solid rgba(255, 77, 0, 0.05);
}

.main-navigation ul ul li a {
    padding: 12px 20px;
    font-size: 0.88rem;
    text-transform: none;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

.main-navigation ul ul li a:hover {
    background: rgba(255, 77, 0, 0.08);
    padding-left: 25px;
    color: #fff;
}

.main-navigation .menu-item-has-children>a {
    position: relative;
    padding-right: 60px;
    /* Space for the arrow */
}

.main-navigation .menu-item-has-children>a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 77, 0, 0.1);
    background: rgba(255, 77, 0, 0.03);
    transition: all 0.3s ease;
}

.main-navigation .menu-item-has-children.open>a::after {
    transform: rotate(180deg);
    background: rgba(255, 77, 0, 0.1);
}

.mega-toggle {
    background: transparent;
    border: 0;
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    padding: 15px 25px;
    font-size: 0.95rem;
    text-transform: uppercase;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mega-toggle:hover {
    color: var(--brand-orange);
    text-shadow: 0 0 14px rgba(255, 77, 0, 0.22);
}

.mega-panel {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: min(980px, calc(100vw - 40px));
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-dark-2) 100%);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 77, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 220ms ease, visibility 0s linear 220ms;
    z-index: 1600;
    border-radius: 16px;
}

.mega-panel.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 180ms ease, transform 220ms ease, visibility 0s;
}

.mega-panel-inner {
    padding: 18px 18px 20px;
}

.mega-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(90deg, rgba(255, 77, 0, 0.15), rgba(11, 15, 20, 0.1), rgba(168, 85, 247, 0.15));
    border-radius: 12px;
    border: 1px solid rgba(255, 77, 0, 0.2);
}

.mega-panel-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 12px rgba(255, 77, 0, 0.14);
}

.mega-close {
    border: 0;
    background: rgba(255, 77, 0, 0.2);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mega-close:hover {
    background: rgba(255, 77, 0, 0.4);
    color: var(--brand-orange);
    box-shadow: 0 0 15px rgba(255, 77, 0, 0.22);
}

.mega-panel-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 22px;
    padding-top: 18px;
}

.mega-panel-section-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin-bottom: 14px;
    text-shadow: 0 0 10px rgba(255, 77, 0, 0.18);
}

.mega-item {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 12px 12px;
    border-radius: 10px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mega-item:hover {
    background: linear-gradient(145deg, rgba(255, 77, 0, 0.1), rgba(255, 77, 0, 0.05));
    border-color: rgba(255, 77, 0, 0.3);
    box-shadow: 0 4px 20px rgba(255, 77, 0, 0.15);
}

.mega-item-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.28), rgba(11, 15, 20, 0.18));
    color: var(--brand-orange);
    font-weight: 800;
    box-shadow: 0 0 12px rgba(255, 77, 0, 0.18);
}

.mega-item-title {
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.mega-item-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

.mega-item-badge {
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 77, 0, 0.5);
    color: var(--brand-orange);
    border-radius: 999px;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.15), rgba(11, 15, 20, 0.1));
    box-shadow: 0 0 8px rgba(255, 77, 0, 0.18);
}

.mega-links a {
    display: block;
    padding: 10px 0;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.mega-links a:hover {
    color: var(--brand-orange);
    text-shadow: 0 0 10px rgba(255, 77, 0, 0.22);
    padding-left: 8px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 25px;
}

.nav-action {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-action:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 77, 0, 0.28);
}

.nav-cta {
    height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 77, 0, 0.35);
    color: #fff;
}

@media (max-width: 991px) {
    .mega-toggle {
        position: relative;
        padding-right: 60px;
        border-bottom: 1px solid var(--border-color);
    }

    .mega-toggle::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-left: 1px solid rgba(255, 77, 0, 0.1);
        background: rgba(255, 77, 0, 0.03);
        transition: all 0.3s ease;
    }

    .mega-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
        background: rgba(255, 77, 0, 0.1);
    }

    .mega-panel {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: none;
        display: none;
        background: rgba(0, 0, 0, 0.15);
        border-left: 2px solid var(--brand-orange);
        padding-left: 10px;
        border-radius: 0;
    }

    .mega-panel.open {
        display: block;
    }

    .mega-panel-inner {
        padding: 0;
    }

    .mega-panel-header {
        display: none;
    }

    .mega-panel-grid {
        display: block;
        grid-template-columns: 1fr;
        padding: 0;
    }

    .mega-panel-col {
        display: block;
        margin-bottom: 0;
    }

    .mega-panel-section-title {
        font-size: 0.75rem;
        padding: 15px 20px 5px;
        margin: 0;
        opacity: 0.6;
    }

    .mega-item {
        display: block;
        padding: 12px 20px;
        font-size: 0.88rem;
        text-transform: none;
        color: var(--text-secondary);
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0;
    }

    .mega-item:hover {
        background: rgba(255, 77, 0, 0.08) !important;
        color: #fff;
        padding-left: 25px;
    }

    .mega-item-icon,
    .mega-item-badge,
    .mega-item-desc {
        display: none;
    }

    .mega-item-title {
        display: inline;
        font-weight: 500;
        font-size: 0.88rem;
    }

    .mega-links {
        padding: 5px 0 15px;
    }

    .mega-links a {
        padding: 10px 20px;
        font-size: 0.88rem;
        font-weight: 500;
        color: var(--text-secondary);
    }

    .mega-links a:hover {
        padding-left: 25px;
    }
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .main-navigation {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 18px;
        position: static;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        padding-top: 0;
        box-shadow: none;
        transition: none;
        background: transparent;
        border: 0;
    }

    .main-navigation>div {
        display: inline-flex;
        align-items: center;
    }

    .main-navigation ul,
    .main-navigation li {
        white-space: nowrap;
    }

    .main-navigation ul {
        display: flex;
        align-items: center;
        gap: 18px;
        margin: 0;
        padding: 0;
        list-style: none;
        flex-wrap: nowrap;
    }

    .main-navigation ul li {
        position: relative;
        list-style: none;
        border-bottom: none;
    }

    .main-navigation ul ul {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        min-width: 240px;
        margin: 0;
        padding: 10px;
        list-style: none;
        background: rgba(26, 26, 26, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 14px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        z-index: 9999;
    }

    .main-navigation ul li:hover>ul,
    .main-navigation ul li:focus-within>ul {
        display: block;
    }

    .main-navigation ul ul li {
        border-bottom: 0;
    }

    .main-navigation ul ul li a {
        display: block;
        padding: 10px 12px;
        border-radius: 10px;
        white-space: nowrap;
    }

    .main-navigation li.it-staffing-mega>ul {
        width: min(980px, calc(100vw - 40px));
        left: 50%;
        transform: translateX(-50%);
        padding: 20px;
        display: none;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        background: rgba(18, 18, 18, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    }

    .main-navigation li.it-staffing-mega:hover>ul,
    .main-navigation li.it-staffing-mega:focus-within>ul {
        display: grid;
    }

    .main-navigation li.it-staffing-mega>ul>li.it-staffing-card {
        margin: 0;
    }

    .main-navigation li.it-staffing-mega>ul>li.it-staffing-card>a {
        height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        background-color: transparent;
        border: none;
        border-radius: 12px;
        color: #fff;
        font-weight: 600;
        font-size: 0.9rem;
        position: relative;
        overflow: hidden;
        text-decoration: none;
        transition: transform 200ms ease;
    }

    .main-navigation li.it-staffing-mega>ul>li.it-staffing-card>a::before {
        content: '';
        display: block;
        width: 100%;
        height: 140px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 12px;
        margin-bottom: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: transform 200ms ease, border-color 200ms ease;
    }

    .main-navigation li.it-staffing-mega>ul>li.it-staffing-card>a:hover::before {
        transform: scale(1.03);
        border-color: rgba(255, 77, 0, 0.5);
    }

    .main-navigation li.it-staffing-mega>ul>li.it-staffing-card>a:hover {
        transform: translateY(-4px);
        color: var(--brand-orange);
    }

    .main-navigation li.it-staffing-mega>ul>li.it-staffing-card-contract-staffing>a::before {
        background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=400&h=250&fit=crop&auto=format');
    }

    .main-navigation li.it-staffing-mega>ul>li.it-staffing-card-contract-to-hire>a::before {
        background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=400&h=250&fit=crop&auto=format');
    }

    .main-navigation li.it-staffing-mega>ul>li.it-staffing-card-permanent-direct-hire>a::before {
        background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=400&h=250&fit=crop&auto=format');
    }

    .main-navigation li.it-staffing-mega>ul>li.it-staffing-card-managed-resourcing>a::before {
        background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=400&h=250&fit=crop&auto=format');
    }

    .main-navigation ul li a {
        padding: 8px 12px;
    }

    .main-navigation ul li a,
    .mega-toggle {
        position: relative;
        color: #1A1A1A;
        transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 999px;
        padding: 8px 12px;
    }

    .home .main-navigation ul li a,
    .home .mega-toggle,
    .front-page .main-navigation ul li a,
    .front-page .mega-toggle {
        color: var(--text-primary);
    }

    .mega-toggle {
        appearance: none;
        -webkit-appearance: none;
        font: inherit;
        line-height: 1;
    }

    .main-navigation ul li a::after,
    .mega-toggle::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -6px;
        height: 2px;
        background: linear-gradient(90deg, var(--brand-black), var(--brand-orange));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 200ms ease;
        border-radius: 999px;
    }

    .main-navigation ul li a:hover {
        color: #fff;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(88, 28, 135, 0.85) 50%, rgba(0, 0, 0, 0.9) 100%);
        background-size: 200% 200%;
        border-color: rgba(139, 92, 246, 0.5);
        box-shadow: 0 10px 26px rgba(88, 28, 135, 0.3);
        transform: translateY(-1px);
        animation: purpleGlow 2s ease-in-out infinite;
    }

    @keyframes purpleGlow {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    .mega-toggle:hover {
        color: #fff;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(88, 28, 135, 0.85) 50%, rgba(0, 0, 0, 0.9) 100%);
        background-size: 200% 200%;
        border-color: rgba(139, 92, 246, 0.5);
        box-shadow: 0 10px 26px rgba(88, 28, 135, 0.3);
        transform: translateY(-1px);
        animation: purpleGlow 2s ease-in-out infinite;
    }

    .main-navigation ul li a:hover::after,
    .mega-toggle:hover::after {
        transform: scaleX(1);
    }

    .mega-toggle {
        width: auto;
        padding: 8px 12px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .mega-panel {
        top: 95px;
    }

    /* Show mega-panel on hover for desktop */
    .mega-toggle:hover+.mega-panel,
    .mega-panel:hover,
    .mega-toggle:hover~.mega-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    /* Create invisible bridge to maintain hover between button and panel */
    .mega-toggle::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        right: 0;
        height: 20px;
        background: transparent;
        z-index: 9998;
    }

    .mega-toggle:hover::after {
        pointer-events: auto;
    }
}

/* --- Page Layout (Sidebar + Content) --- */

.page-container {
    padding: 34px 28px;
    display: flex;
    flex-wrap: wrap;
    /* Responsive wrap */
    gap: 40px;
    background: rgba(26, 26, 26, 0.88);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.content-area {
    flex: 1;
    min-width: 300px;
}

.sidebar-area {
    width: 300px;
    flex-shrink: 0;
}

/* Sidebar Specifics */
.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.sidebar-list li {
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    display: flex;
    align-items: center;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
    display: block;
    width: 100%;
}

.sidebar-list li a:hover {
    color: var(--brand-orange);
}

.sidebar-list i {
    color: var(--brand-orange);
    margin-right: 10px;
    font-size: 0.9rem;
}


/* --- Main Content Styles --- */

.content-area h1 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

.content-area p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.content-area h2 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Feature Grid Small */
.features-list {
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.features-list li i {
    color: var(--accent-orange);
    margin-right: 12px;
}

/* Image styling */
.page-featured-image {
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
}

.tech-stack-section {
    padding: 18px 0 10px;
}

.tech-stack-section .container {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.tech-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 6px 0;
}

.tech-marquee-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    flex-wrap: nowrap;
    animation: techMarquee 22s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.tech-marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.tech-marquee-item img {
    height: 26px;
    width: auto;
    opacity: 0.4;
    filter: none;
    /* Removed expensive filter for better scroll */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tech-marquee-item:hover img {
    opacity: 1;
    filter: grayscale(0) brightness(1);
    transform: translateY(-1px);
}

@keyframes techMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .tech-marquee-track {
        gap: 46px;
    }

    .tech-marquee-item img {
        height: 22px;
    }
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 110px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
}

.page-template-page-about .hero-section {
    min-height: 70vh;
    padding-top: 120px;
    padding-bottom: 60px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center 22% !important;
}

.page-template-page-contact .hero-section {
    min-height: 70vh;
    padding-top: 120px;
    padding-bottom: 60px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center 22% !important;
}

.page-template-page-about .hero-section::after {
    height: 100px;
}

@media (max-width: 768px) {
    .page-template-page-about .hero-section {
        min-height: 460px;
        padding-top: 110px;
        padding-bottom: 48px;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center 18% !important;
    }

    .page-template-page-contact .hero-section {
        min-height: 460px;
        padding-top: 110px;
        padding-bottom: 48px;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center 18% !important;
    }
}

.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0), rgba(10, 10, 10, 1));
    pointer-events: none;
    z-index: 2;
}

.hero-section .container.hero-layout {
    max-width: 1440px;
    padding-left: 40px;
    padding-right: 40px;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(320px, 1fr) minmax(280px, 360px);
    align-items: center;
    gap: 26px;
    min-height: calc(100vh - 190px);
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 26px 0;
}

.hero-side.hero-left {
    gap: 18px;
    padding: 18px 0;
}

.hero-left {
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 240px;
}

.section-title {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.services-section .container::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(900px 520px at 12% 18%, rgba(255, 77, 0, 0.15), rgba(255, 77, 0, 0) 62%),
        radial-gradient(900px 520px at 88% 72%, rgba(255, 77, 0, 0.10), rgba(255, 77, 0, 0) 60%),
        linear-gradient(135deg, rgba(26, 26, 26, 0.3), rgba(26, 26, 26, 0.1));
    background-size: 200% 200%;
    opacity: 0.6;
    animation: servicesSectionBg 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.services-section .container>* {
    position: relative;
    z-index: 1;
}

@keyframes servicesSectionBg {
    0% {
        background-position: 0% 25%;
    }

    50% {
        background-position: 100% 75%;
    }

    100% {
        background-position: 0% 25%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-section .container::before {
        animation: none;
    }
}

.section-title {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.home .services-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .home .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-block {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 14px 12px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px);
    will-change: transform;
    transform: translateZ(0);
}

.service-block h3 {
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 8px;
    min-height: 40px;
}

.service-block p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    flex-grow: 1;
}

.services-section a.service-block {
    display: block;
    color: inherit;
    text-decoration: none;
}

.services-section .service-thumb {
    position: absolute;
    inset: 0;
    background-image: var(--service-image);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 260ms ease, transform 420ms ease;
    z-index: 0;
}

.services-section .service-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.50) 45%, rgba(10, 10, 10, 0.25) 100%);
    opacity: 0;
    transition: opacity 260ms ease;
}

.services-section .service-block i,
.services-section .service-block p {
    position: relative;
    z-index: 1;
}

.services-section .service-block:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 77, 0, 0.22);
    background: rgba(255, 77, 0, 0.06);
    box-shadow: 0 26px 70px rgba(255, 77, 0, 0.12);
}

.services-section .service-block:hover::before {
    opacity: 0.75;
}

.services-section .service-block:hover .service-thumb {
    opacity: 1;
    transform: scale(1);
}

.services-section .service-block:hover .service-thumb::after {
    opacity: 1;
}

.services-section .service-block:hover h3,
.services-section .service-block:hover p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 12px 30px rgba(10, 10, 10, 0.8);
}

.services-section .service-block:active {
    transform: translateY(-2px) scale(0.99);
}

.services-section .service-block:focus-visible {
    outline: 3px solid rgba(255, 77, 0, 0.28);
    outline-offset: 3px;
}

.services-section .service-block i {
    transition: transform 220ms ease, filter 220ms ease;
}

.services-section .service-block:hover i {
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 18px 30px rgba(255, 77, 0, 0.22));
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.service-features li {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
    padding-left: 16px;
    position: relative;
    line-height: 1.3;
}

.service-features li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.engagement-models {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 77, 0, 0.08);
    border: 1px solid rgba(255, 77, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.engagement-models p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.engagement-models p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    background: var(--brand-orange);
    color: #fff;
    padding: 12px 22px;
    font-weight: 700;
    border-radius: 12px;
    border: 1px solid var(--brand-orange);
    box-shadow: 0 14px 34px rgba(255, 77, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #FF6A00;
    color: #fff !important;
    box-shadow: 0 18px 40px rgba(255, 77, 0, 0.4);
    border-color: #FF6A00;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 110px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
}

.hero-section .container.hero-layout {
    max-width: 1440px;
    padding-left: 40px;
    padding-right: 40px;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(320px, 1fr) minmax(280px, 360px);
    align-items: center;
    gap: 26px;
    min-height: calc(100vh - 190px);
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 26px 0;
}

.hero-side.hero-left {
    gap: 18px;
    padding: 18px 0;
}

.hero-left {
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 240px;
}

.hero-left .hero-stat {
    margin: 0;
}

.hero-left .hero-stat+.hero-stat {
    margin-top: 16px;
}

.hero-left .hero-profile {
    margin-top: 26px;
}

.hero-right {
    align-items: flex-end;
    justify-content: flex-start;
    max-width: 320px;
    gap: 30px;
    /* Increased to match left side visual weight */
}

.hero-center {
    text-align: center;
}

.hero-headline {
    font-size: clamp(2.8rem, 4.8vw, 4.4rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
    margin-bottom: 18px;
}

.hero-accent {
    color: var(--brand-orange);
    text-shadow: 0 0 20px rgba(255, 77, 0, 0.4);
}

.hero-subheadline {
    display: block;
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.4;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 12px;
    text-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat-value {
    font-size: 4.15rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
}

.hero-stat-label {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    font-size: 1.15rem;
}

.hero-profile {
    display: flex;
    align-items: center;
}

.hero-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    background-image: url('assets/images/Home-1-Banner-Img-Box1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.hero-avatar-2 {
    margin-left: -12px;
    background-image: url('assets/images/Home-1-Banner-Img-Box2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-tagline {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    text-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
    margin-top: 10px;
}

.hero-metric {
    display: grid;
    grid-template-columns: 66px 1fr;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.hero-metric-title {
    font-size: 2.15rem;
    /* Increased for better visibility and balance with left side */
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}

.hero-metric-sub {
    margin-top: 4px;
    color: #000;
    font-weight: 700;
    font-size: 1.26rem;
    line-height: 1.2;
}

.hero-ring {
    width: 66px;
    height: 66px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--brand-orange) calc(var(--p) * 1%), rgba(255, 255, 255, 0.15) 0);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

.hero-ring span {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(10, 10, 10, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 900;
    color: #fff;
    font-size: 1.10rem;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: 120px;
    /* Offset to clear the AI chatbot */
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
    color: #fff;
    z-index: 10;
    text-decoration: none;
}

.hero-scroll-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.8);
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.1);
    animation: heroScrollGlow 2.2s ease-in-out infinite;
    background: #000;
}

.hero-scroll-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #fff;
    transform: translate(-50%, -30%);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-scroll-text {
    font-weight: 700;
    line-height: 1.1;
    font-size: 0.9rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-scroll-text .hero-accent {
    color: var(--brand-orange);
    text-shadow: 0 0 15px rgba(255, 77, 0, 0.8);
}

@keyframes heroScrollGlow {

    0%,
    100% {
        box-shadow:
            0 0 0 0 rgba(0, 0, 0, 0.0),
            0 0 30px rgba(0, 0, 0, 0.4),
            inset 0 0 20px rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 0, 0, 0.6);
        transform: translateY(0);
    }

    50% {
        box-shadow:
            0 0 0 12px rgba(255, 77, 0, 0.2),
            /* Subtle orange outer glow */
            0 0 50px rgba(0, 0, 0, 0.6),
            inset 0 0 30px rgba(0, 0, 0, 0.2);
        border-color: rgba(0, 0, 0, 1);
        transform: translateY(-4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-icon {
        animation: none;
    }
}

@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left,
    .hero-right {
        align-items: center;
    }

    .hero-metric {
        grid-template-columns: 56px 1fr;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #070707;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    background: #000;
    transition: opacity 1.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    will-change: opacity, transform;
}

.hero-bg-video.is-ready {
    opacity: 1;
    animation: heroVideoEntrance 2.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes heroVideoEntrance {
    0% {
        opacity: 0;
        transform: scale(1.1) translateZ(0);
        filter: blur(10px) brightness(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateZ(0);
        filter: blur(0) brightness(1);
    }
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(820px 520px at 50% 36%, rgba(100, 200, 255, 0.15), rgba(100, 200, 255, 0) 62%),
        radial-gradient(1200px 900px at 50% 50%, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.25) 72%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    animation: aiGlow 8s ease-in-out infinite;
    z-index: 1;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1000px 700px at 50% 40%, rgba(150, 220, 255, 0.08), rgba(150, 220, 255, 0) 58%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.15));
    pointer-events: none;
    animation: aiPulse 6s ease-in-out infinite;
    z-index: 1;
}

.home .hero-bg-slide,
.front-page .hero-bg-slide {
    display: none;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    animation: heroFade 18s infinite, aiZoom 20s ease-in-out infinite;
    will-change: opacity, transform, filter;
    filter: contrast(1.1) saturate(1.2) brightness(1.3) blur(0px);
}

.hero-bg-slide-1 {
    background-image: url('assets/images/Main.png');
    animation-delay: 0s;
}

.hero-bg-slide-2 {
    background-image: url('assets/images/Main.png');
    animation-delay: 6s;
}

.hero-bg-slide-3 {
    background-image: url('assets/images/Main.png');
    animation-delay: 12s;
}

.page-template-page-contact .hero-bg-slide-1,
.page-template-page-contact .hero-bg-slide-2,
.page-template-page-contact .hero-bg-slide-3 {
    background-image: url('assets/images/Contact.jpg');
}

.page-template-page-it-consulting .hero-bg-slide-1,
.page-template-page-it-consulting .hero-bg-slide-2,
.page-template-page-it-consulting .hero-bg-slide-3 {
    background-image: url('assets/images/Consulting.jpg');
}

.page-template-page-it-consulting .hero-section {
    min-height: 50vh;
    padding-top: 120px;
    padding-bottom: 50px;
}

.page-template-page-it-consulting .hero-bg-slide {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.page-template-page-it-consulting .hero-bg-slide-2,
.page-template-page-it-consulting .hero-bg-slide-3 {
    display: none;
}

@keyframes heroFade {
    0% {
        opacity: 0;
        transform: scale(1.08);
        filter: contrast(1.1) saturate(1.2) brightness(1.3) blur(2px);
    }

    8% {
        opacity: 1;
        transform: scale(1.03);
        filter: contrast(1.1) saturate(1.2) brightness(1.3) blur(0px);
    }

    25% {
        opacity: 1;
        transform: scale(1.00);
        filter: contrast(1.15) saturate(1.25) brightness(1.35) blur(0px);
    }

    33% {
        opacity: 1;
        transform: scale(1.00);
        filter: contrast(1.1) saturate(1.2) brightness(1.3) blur(0px);
    }

    41% {
        opacity: 0;
        transform: scale(0.95);
        filter: contrast(1.1) saturate(1.2) brightness(1.3) blur(2px);
    }

    100% {
        opacity: 0;
    }
}

@keyframes aiGlow {

    0%,
    100% {
        background:
            radial-gradient(820px 520px at 50% 36%, rgba(100, 200, 255, 0.15), rgba(100, 200, 255, 0) 62%),
            radial-gradient(1200px 900px at 50% 50%, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.25) 72%, rgba(0, 0, 0, 0.4) 100%);
    }

    50% {
        background:
            radial-gradient(820px 520px at 50% 36%, rgba(150, 220, 255, 0.25), rgba(150, 220, 255, 0) 62%),
            radial-gradient(1200px 900px at 50% 50%, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.2) 72%, rgba(0, 0, 0, 0.35) 100%);
    }
}

@keyframes aiPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes aiZoom {

    0%,
    100% {
        transform: scale(1.00);
    }

    50% {
        transform: scale(1.02);
    }
}

.hero-section .hero-content {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100% - 24px));
    margin: 0 auto;
    padding: 22px 22px;
    border-radius: 18px;
    background: rgba(26, 26, 26, 0.85);
    border: 1px solid rgba(255, 77, 0, 0.2);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(14px);
}

.page-template-page-about .hero-section .hero-content {
    background: rgba(10, 10, 10, 0.45);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.page-template-page-contact .hero-section .hero-content {
    background: rgba(10, 10, 10, 0.35);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(10px);
}

/* Contact form success/error messages */
.form-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    animation: fadeInUp 0.4s ease;
}

.form-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* New sections styling */
.why-choose-section {
    padding: 80px 0;
    background: var(--bg-dark-2);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(900px 520px at 12% 18%, rgba(255, 77, 0, 0.12), rgba(255, 77, 0, 0) 62%),
        radial-gradient(900px 520px at 88% 72%, rgba(100, 200, 255, 0.08), rgba(100, 200, 255, 0) 60%),
        linear-gradient(135deg, rgba(26, 26, 26, 0.3), rgba(26, 26, 26, 0.1));
    background-size: 200% 200%;
    opacity: 0.6;
    animation: whyChooseSectionBg 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.why-choose-section .container>* {
    position: relative;
    z-index: 1;
}

@keyframes whyChooseSectionBg {
    0% {
        background-position: 0% 25%;
    }

    50% {
        background-position: 100% 75%;
    }

    100% {
        background-position: 0% 25%;
    }
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.why-choose-block {
    background: rgba(18, 18, 18, 0.9);
    /* More solid background to avoid backdrop-filter lag */
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    /* Removed backdrop-filter to prevent scroll lag on mid-range devices */
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    /* Force GPU */
    backface-visibility: hidden;
}

.why-choose-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.why-choose-block:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 77, 0, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 77, 0, 0.1);
}

.why-choose-block:hover::before {
    opacity: 1;
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.15), rgba(255, 77, 0, 0.05));
    border: 1px solid rgba(255, 77, 0, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.why-choose-icon::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 180deg at 50% 50%, rgba(255, 77, 0, 0.0), rgba(255, 77, 0, 0.3), rgba(0, 153, 255, 0.2), rgba(255, 77, 0, 0.0));
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: whyChooseIconGlow 4s linear infinite;
    pointer-events: none;
}

.why-choose-block:hover .why-choose-icon {
    transform: scale(1.1);
    border-color: rgba(255, 77, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 77, 0, 0.2);
}

.why-choose-block:hover .why-choose-icon::after {
    opacity: 0.6;
}

@keyframes whyChooseIconGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.why-choose-icon i {
    font-size: 2rem;
    color: var(--brand-orange);
    transition: all 0.3s ease;
}

.why-choose-block:hover .why-choose-icon i {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 77, 0, 0.5);
}

.why-choose-block h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.why-choose-block:hover h3 {
    color: var(--brand-orange);
    text-shadow: 0 0 15px rgba(255, 77, 0, 0.3);
}

.why-choose-block p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.why-choose-block:hover p {
    color: var(--text-primary);
}

@media (prefers-reduced-motion: reduce) {
    .why-choose-section::before {
        animation: none;
    }

    .why-choose-icon::after {
        animation: none;
    }

    .why-choose-block {
        transition: none;
    }

    .why-choose-icon {
        transition: none;
    }
}

.security-responsible-section {
    padding: 80px 0;
    background: var(--bg-dark-2);
}

.security-responsible-section .section-title {
    text-align: center;
    margin-bottom: 22px;
}

.security-responsible-section p {
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
    text-align: center;
}

.security-responsible-section .about-pill-list {
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

/* On-scroll animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.23, 1, 0.32, 1),
        transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
    transform: translateY(30px) translateZ(0);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.animate-on-scroll:not(.animate-in) {
    transform: translateY(30px) translateZ(0);
}

.animate-stagger:not(.animate-in) {
    transform: translateY(40px);
}

.animate-stagger.animate-in {
    transition-delay: 0.1s;
}

/* Contact page CTA button hover text color */
.page-template-page-contact .cta-section .cta-button:hover {
    color: #fff !important;
}

.hero-section .hero-content h1,
.hero-section .hero-content p {
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero-section .hero-content h1 {
    font-size: clamp(1.7rem, 2.4vw, 2.25rem);
    line-height: 1.15;
    margin-bottom: 10px;
}

.hero-section .hero-content p {
    margin-bottom: 16px;
    opacity: 0.95;
}

.hero-section .hero-content .cta-button {
    margin-top: 4px;
}

.hero-section .cta-button {
    background: transparent;
    border: 1px solid rgba(255, 77, 0, 0.5);
    color: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.hero-section .cta-button:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #fff;
}

/* --- Clean Up AI wrapper if used --- */
/* We will remove usage of .ai-page-wrapper but keep potential empty reset if needed */


/* Footer Styles (Consistent) */
.site-footer {
    background: radial-gradient(1200px 500px at 20% -10%, rgba(255, 69, 0, 0.10), rgba(255, 69, 0, 0) 60%),
        radial-gradient(900px 500px at 80% 0%, rgba(0, 153, 255, 0.08), rgba(0, 153, 255, 0) 55%),
        linear-gradient(180deg, #0f141a, #0b0f14);
    color: rgba(255, 255, 255, 0.78);
    padding: 44px 0 20px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 180deg at 50% 50%, rgba(255, 69, 0, 0.0), rgba(255, 69, 0, 0.20), rgba(0, 153, 255, 0.20), rgba(255, 69, 0, 0.0));
    filter: blur(40px);
    opacity: 0.45;
    animation: footerGlowSpin 10s linear infinite;
    pointer-events: none;
}

@keyframes footerGlowSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.site-footer .footer-inner {
    position: relative;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
    color: #fff;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.14);
}

.footer-top {
    display: flex;
    justify-content: center;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 26px;
}

.footer-subscribe {
    width: min(760px, 100%);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.footer-subscribe-input {
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    padding: 0 18px;
    color: #fff;
    outline: none;
}

.footer-subscribe-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.footer-subscribe-btn {
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0 18px;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer-subscribe-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.18);
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 24px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 992px) {
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-subscribe {
        grid-template-columns: 1fr;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

.footer-widget h4 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.6;
}

.footer-readmore {
    display: inline-flex;
    margin-top: 10px;
    font-weight: 700;
    position: relative;
}

.footer-readmore::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.28);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.footer-readmore:hover::after {
    transform: scaleX(1);
}

.footer-widget ul {
    margin: 0;
    padding: 0;
}

.footer-widget li {
    margin: 10px 0;
}

.footer-widget a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    transition: transform 180ms ease, color 180ms ease;
}

.footer-widget a:hover {
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}

.footer-contact i {
    width: 18px;
    color: rgba(255, 255, 255, 0.70);
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-contact li:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.58);
}

.footer-bottom-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.62);
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* IT Consulting & AI Automation Sections - Dark Theme */
.it-consulting-section,
.ai-automation-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
    position: relative;
    overflow: hidden;
}

.ai-automation-banner {
    position: relative;
    width: min(1180px, 100%);
    margin: 0 auto 46px;
    padding: 6px 10px;
}

.ai-automation-banner-orbit {
    position: absolute;
    left: 10px;
    top: 50%;
    width: 120px;
    height: 120px;
    transform: translateY(-50%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.85;
    filter: none;
    animation: aiBannerOrbit 18s linear infinite, aiBannerBlink 2.2s ease-in-out infinite;
    pointer-events: none;
}

.ai-automation-banner-title {
    margin: 0;
    text-align: center;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: #fff;
    font-size: clamp(1.7rem, 2.6vw, 2.55rem);
}

.ai-automation-banner-chip,
.ai-automation-banner-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin: 0 10px;
}

.ai-automation-banner-chip img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    animation: aiBannerFloat 5.6s ease-in-out infinite;
}

.ai-automation-banner-group img {
    height: 44px;
    width: auto;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    animation: aiBannerFloat 6.2s ease-in-out infinite;
    animation-delay: -0.8s;
}

@keyframes aiBannerOrbit {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes aiBannerBlink {

    0%,
    100% {
        opacity: 0.35;
        filter: drop-shadow(0 0 0 rgba(255, 77, 0, 0));
    }

    50% {
        opacity: 0.95;
        filter: drop-shadow(0 0 22px rgba(255, 77, 0, 0.22));
    }
}

@keyframes aiBannerFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@media (max-width: 992px) {
    .ai-automation-banner {
        margin-bottom: 34px;
    }

    .ai-automation-banner-orbit {
        display: none;
    }

    .ai-automation-banner-chip img,
    .ai-automation-banner-group img {
        height: 40px;
    }

    .ai-automation-banner-chip img {
        width: 40px;
    }
}

.it-consulting-section::before,
.ai-automation-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-orange), transparent);
    animation: scanLine 3s ease-in-out infinite;
}

@keyframes scanLine {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.info-copy h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
}

.info-copy h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--brand-orange);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.5);
}

.info-copy p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.info-points {
    list-style: none;
    margin-bottom: 30px;
}

.info-points li {
    color: var(--text-secondary);
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.info-points li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-size: 0.8rem;
    top: 6px;
}

.info-points strong {
    color: var(--text-primary);
    font-weight: 600;
}

.info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.info-badge {
    background: rgba(255, 77, 0, 0.1);
    color: var(--brand-orange);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 77, 0, 0.2);
    transition: all 0.3s ease;
}

.info-badge:hover {
    background: rgba(255, 77, 0, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.2);
}

.info-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.info-btn {
    background: var(--brand-orange);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.info-btn:hover::before {
    left: 100%;
}

.info-btn:hover {
    background: #FF6A00;
    color: black !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.3);
}

.info-link {
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.info-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-orange);
    transition: width 0.3s ease;
}

.info-link:hover::after {
    width: 100%;
}

.info-link:hover {
    color: #fff !important;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.info-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-orange);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 77, 0, 0.3);
    box-shadow: 0 12px 30px rgba(255, 77, 0, 0.15);
}

.info-card:hover::before {
    transform: scaleY(1);
}

.info-card-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-card-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Section - Dark Theme */
.about-section {
    background: linear-gradient(135deg, var(--bg-dark-2) 0%, var(--bg-dark) 100%);
    padding: 60px 0;
}

.about-inner {
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 56px;
}

@media (max-width: 992px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

.about-copy {
    text-align: left;
}

@media (max-width: 992px) {
    .about-copy {
        text-align: center;
    }
}

.about-visual {
    position: relative;
    width: min(520px, 100%);
    margin-left: auto;
    display: grid;
    place-items: center;
}

@media (max-width: 992px) {
    .about-visual {
        margin: 0 auto;
    }
}

.about-visual-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(26, 26, 26, 0.55);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.about-visual-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-visual-card-1 {
    width: min(460px, 100%);
    transform: rotate(-2deg);
    animation: aboutFloat1 6.2s ease-in-out infinite;
}

.about-visual-card-2 {
    position: absolute;
    width: min(320px, 72%);
    right: -12px;
    bottom: -18px;
    transform: rotate(3deg);
    animation: aboutFloat2 7.4s ease-in-out infinite;
}

@media (max-width: 576px) {
    .about-visual-card-2 {
        right: -6px;
        bottom: -10px;
        width: min(260px, 78%);
    }
}

@keyframes aboutFloat1 {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

@keyframes aboutFloat2 {

    0%,
    100% {
        transform: translateY(0) rotate(3deg);
    }

    50% {
        transform: translateY(-8px) rotate(3deg);
    }
}

.about-deck {
    position: relative;
    width: min(480px, 100%);
    height: 320px;
}

@media (max-width: 576px) {
    .about-deck {
        height: 270px;
    }
}

.about-deck-card {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(26, 26, 26, 0.55);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
    transform: translate(0, 0) rotate(0deg) scale(0.98);
    transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 520ms ease, box-shadow 520ms ease;
    will-change: transform, opacity;
}

.about-deck-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-deck-card:nth-child(1) {
    z-index: 4;
    transform: translate(0, 0) rotate(-2deg) scale(0.99);
    opacity: 0;
}

.about-deck-card:nth-child(2) {
    z-index: 3;
    transform: translate(0, 0) rotate(1deg) scale(0.99);
    opacity: 0;
}

.about-deck-card:nth-child(3) {
    z-index: 2;
    transform: translate(0, 0) rotate(-1deg) scale(0.99);
    opacity: 0;
}

.about-deck-card:nth-child(4) {
    z-index: 1;
    transform: translate(0, 0) rotate(2deg) scale(0.99);
    opacity: 0;
}

.about-visual:hover .about-deck-card:nth-child(1) {
    animation: aboutDeckOpen1 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.about-visual:hover .about-deck-card:nth-child(2) {
    animation: aboutDeckOpen2 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 120ms;
}

.about-visual:hover .about-deck-card:nth-child(3) {
    animation: aboutDeckOpen3 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 240ms;
}

.about-visual:hover .about-deck-card:nth-child(4) {
    animation: aboutDeckOpen4 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 360ms;
}

@keyframes aboutDeckOpen1 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes aboutDeckOpen2 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes aboutDeckOpen3 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes aboutDeckOpen4 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.about-cta {
    animation: aboutCtaPulse 2.6s ease-in-out infinite;
    color: #fff !important;
    background: var(--brand-orange) !important;
    border-color: var(--brand-orange) !important;
    padding: 12px 24px !important;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.40);
    font-weight: 700;
    border-radius: 12px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-cta:hover {
    animation: aboutCtaPulseHover 1.1s ease-in-out infinite;
}

@keyframes aboutCtaPulse {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(255, 77, 0, 0);
    }

    50% {
        box-shadow: 0 0 18px rgba(255, 77, 0, 0.22);
    }
}

@keyframes aboutCtaPulseHover {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(255, 77, 0, 0);
    }

    50% {
        box-shadow: 0 0 26px rgba(255, 77, 0, 0.34);
    }
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
}

.about-content h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--brand-orange);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.5);
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* CTA Section - Dark Theme */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.1) 0%, var(--bg-dark) 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 77, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    color: var(--text-primary);
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.cta-btn-white {
    background: transparent;
    color: #fff;
    border: 2px solid var(--brand-orange);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-btn-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.cta-btn-white:hover::before {
    left: 100%;
}

.cta-btn-white:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 77, 0, 0.3);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* IT Consulting Page Styles */
.overview-section {
    padding: 100px 0;
    background: var(--bg-dark-2);
}

.process-section {
    padding: 60px 0;
    background: var(--bg-dark);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(1) {
    animation-delay: 0.1s;
}

.process-step:nth-child(2) {
    animation-delay: 0.2s;
}

.process-step:nth-child(3) {
    animation-delay: 0.3s;
}

.process-step:nth-child(4) {
    animation-delay: 0.4s;
}

.process-step-center {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 10px auto 0;
    padding: 20px;
    background: rgba(255, 77, 0, 0.08);
    border: 2px solid rgba(255, 77, 0, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    animation-delay: 0.5s;
    transition: all 0.3s ease;
}

.process-step-center:hover {
    transform: translateY(-5px);
    background: rgba(255, 77, 0, 0.12);
    border-color: rgba(255, 77, 0, 0.4);
    box-shadow: 0 20px 40px rgba(255, 77, 0, 0.15);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.framework-highlight {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-top: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    line-height: 1.4;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--brand-orange);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 30px;
}

.process-step h3 {
    color: var(--text-primary);
    font-size: 20px;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

.benefits-section {
    padding: 100px 0;
    background: var(--bg-dark-2);
}

/* Responsive adjustments for IT Consulting page */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .process-step h3 {
        font-size: 20px;
    }
}

/* Navigation Direct Link Styling */
.nav-direct-link {
    position: relative;
    color: var(--text-primary);
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.nav-direct-link:hover {
    color: var(--brand-orange);
    background: rgba(255, 77, 0, 0.10);
    border-color: rgba(255, 77, 0, 0.28);
    box-shadow: 0 10px 26px rgba(255, 77, 0, 0.14);
    transform: translateY(-1px);
}

.nav-direct-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-black), var(--brand-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease;
    border-radius: 999px;
}

.nav-direct-link:hover::after {
    transform: scaleX(1);
}

/* About Page Styles */
.stats-section {
    padding: 100px 0;
    background: var(--bg-dark-2);
}

.page-template-page-about .about-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.page-template-page-about .about-cta-secondary {
    background: rgba(10, 10, 10, 0.35);
    border-color: rgba(255, 255, 255, 0.18);
}

.page-template-page-about .about-cta-tertiary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
}

.page-template-page-about .about-split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 28px;
    align-items: start;
}

.page-template-page-about .about-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 18px;
}

.page-template-page-about .about-pill-list li {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(26, 26, 26, 0.78);
    border: 1px solid rgba(255, 77, 0, 0.22);
    color: var(--text-primary);
    font-weight: 600;
}

.page-template-page-about .about-card,
.page-template-page-about .about-list-card {
    background: rgba(26, 26, 26, 0.82);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px 22px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

.page-template-page-about .about-card-title {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.page-template-page-about .about-card-text {
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.page-template-page-about .about-check-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.page-template-page-about .about-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.18);
}

.page-template-page-about .about-diff-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.page-template-page-about .about-why-section .about-diff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-template-page-about .about-diff-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 18px;
    align-items: start;
    margin-top: 14px;
}

.page-template-page-about .about-diff-card {
    background: rgba(26, 26, 26, 0.75);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 18px 16px;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.page-template-page-about .about-diff-card h3 {
    font-size: 1.05rem;
    line-height: 1.25;
    margin-bottom: 10px;
}

.page-template-page-about .about-diff-card p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-secondary);
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.page-template-page-about .about-diff-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 77, 0, 0.3);
    box-shadow: 0 18px 45px rgba(255, 77, 0, 0.14);
}

.page-template-page-about .about-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.page-template-page-about .about-capabilities-layout {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-top: 16px;
}

.page-template-page-about .about-list-card ul li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.page-template-page-about .about-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.page-template-page-about .about-delivery-section .about-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .page-template-page-about .about-delivery-section .about-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .page-template-page-about .about-delivery-section .about-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.page-template-page-about .about-delivery-section {
    position: relative;
    overflow: hidden;
}

.page-template-page-about .about-delivery-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.page-template-page-about .about-delivery-section>.container {
    position: relative;
    z-index: 1;
}

.page-template-page-about .about-delivery-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 18px;
    align-items: start;
    margin-top: 16px;
}

.page-template-page-about .about-compliance-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.page-template-page-about .about-section-media {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
    background: rgba(26, 26, 26, 0.65);
}

.page-template-page-about .about-section-media img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    object-position: center;
}

.page-template-page-about .about-icon-list li {
    position: relative;
    padding-left: 26px;
}

.page-template-page-about .about-icon-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.15em;
    color: var(--brand-orange);
    opacity: 0.95;
}

.page-template-page-about .overview-section,
.page-template-page-about .services-section,
.page-template-page-about .stats-section,
.page-template-page-about .leadership-section,
.page-template-page-about .cta-section {
    position: relative;
}

.page-template-page-about .overview-section::before,
.page-template-page-about .services-section::before,
.page-template-page-about .stats-section::before,
.page-template-page-about .leadership-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 420px at 18% 22%, rgba(255, 77, 0, 0.10), rgba(255, 77, 0, 0) 60%),
        radial-gradient(760px 520px at 86% 66%, rgba(0, 153, 255, 0.08), rgba(0, 153, 255, 0) 62%);
    pointer-events: none;
    opacity: 0.9;
    z-index: 0;
}

.page-template-page-about .overview-section>.container,
.page-template-page-about .services-section>.container,
.page-template-page-about .stats-section>.container,
.page-template-page-about .leadership-section>.container,
.page-template-page-about .cta-section>.container {
    position: relative;
    z-index: 1;
}

.page-template-page-about .about-step {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(40, 40, 40, 0.85) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.page-template-page-about .about-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff4d00, #ff8c42);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.page-template-page-about .about-step:hover::before {
    transform: scaleX(1);
}

.page-template-page-about .about-step:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 77, 0, 0.4);
    box-shadow: 0 20px 60px rgba(255, 77, 0, 0.2);
}

.page-template-page-about .about-step-title {
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text-primary);
    font-size: 1.15rem;
    position: relative;
    display: inline-block;
}

.page-template-page-about .about-step-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff4d00;
    transition: width 0.3s ease;
}

.page-template-page-about .about-step:hover .about-step-title::after {
    width: 100%;
}

.page-template-page-about .about-step-text {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
    position: relative;
    z-index: 1;
}

.page-template-page-about .about-tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.page-template-page-about .about-tag {
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(26, 26, 26, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
    font-weight: 600;
}

.page-template-page-about .about-note {
    margin-top: 16px;
    color: var(--text-secondary);
}

.page-template-page-about .about-inline-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.page-template-page-about .about-final-cta {
    text-align: center;
}

@media (max-width: 1200px) {
    .page-template-page-about .about-diff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-template-page-about .about-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .page-template-page-about .about-split {
        grid-template-columns: 1fr;
    }

    .page-template-page-about .about-two-col {
        grid-template-columns: 1fr;
    }

    .page-template-page-about .about-diff-layout {
        grid-template-columns: 1fr;
    }

    .page-template-page-about .about-capabilities-layout {
        grid-template-columns: 1fr;
    }

    .page-template-page-about .about-delivery-layout {
        grid-template-columns: 1fr;
    }

    .page-template-page-about .about-compliance-grid {
        grid-template-columns: 1fr;
    }

    .page-template-page-about .about-section-media img {
        max-height: 280px;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 77, 0, 0.3);
    box-shadow: 0 12px 30px rgba(255, 77, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--brand-orange);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.leadership-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.leader-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 77, 0, 0.3);
    box-shadow: 0 12px 30px rgba(255, 77, 0, 0.15);
}

.leader-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--brand-orange);
}

.leader-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.leader-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive adjustments for About page */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .leader-image {
        width: 100px;
        height: 100px;
    }
}

/* Contact Page Styles */
.contact-info-section {
    padding: 100px 0;
    background: var(--bg-dark-2);
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 77, 0, 0.3);
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.1);
}

.contact-item i {
    color: var(--brand-orange);
    margin-right: 20px;
    min-width: 40px;
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Contact Form 7 specific styling */
.wpcf7-form {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.wpcf7-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.wpcf7-form .form-group {
    margin-bottom: 30px;
}

.wpcf7-form label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
}

.wpcf7-form input[type="submit"] {
    background: var(--brand-orange);
    color: var(--text-primary);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-family);
}

.wpcf7-form input[type="submit"]:hover {
    background: #E64400;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.3);
}

.wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Contact Form 7 validation styling */
.wpcf7-form .wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.wpcf7-form .wpcf7-response-output {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid;
}

.wpcf7-form .wpcf7-mail-sent-ok {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.wpcf7-form .wpcf7-validation-errors {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* Remove default Contact Form 7 styling that might conflict */
.wpcf7-form p {
    margin: 0;
}

.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
}

.contact-form-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 60px;
}

.contact-form {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--brand-orange);
    color: var(--text-primary);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: #E64400;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.locations-section {
    padding: 100px 0;
    background: var(--bg-dark-2);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.location-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 77, 0, 0.3);
    box-shadow: 0 12px 30px rgba(255, 77, 0, 0.15);
}

.location-icon {
    color: var(--brand-orange);
    margin-bottom: 20px;
}

.location-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.location-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive adjustments for Contact page */
@media (max-width: 768px) {
    .wpcf7-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .wpcf7-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .location-card {
        padding: 30px 20px;
    }
}

/* About Carousel */
.about-carousel {
    position: relative;
    width: min(480px, 100%);
    height: 320px;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(26, 26, 26, 0.55);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

@media (max-width: 576px) {
    .about-carousel {
        height: 270px;
    }
}

.about-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.about-carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.about-carousel-slide.active {
    opacity: 1;
}

.about-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    transition: transform 6s ease-out;
    filter: brightness(0.95);
}

.about-carousel-slide.active img {
    transform: scale(1);
    filter: brightness(1);
}

.about-carousel-prev,
.about-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    opacity: 0.8;
}

.about-carousel-prev:hover,
.about-carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.about-carousel-prev:active,
.about-carousel-next:active {
    transform: translateY(-50%) scale(0.95);
}

.about-carousel-prev {
    left: 12px;
}

.about-carousel-next {
    right: 12px;
}

.about-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.about-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.about-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.about-carousel-dot.active {
    background: var(--brand-orange);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.5);
}

.about-carousel-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
}

/* ===== NEW PROFESSIONAL FOOTER WITH AI/ROBOTIC THEME ===== */

/* AI Visual Header */
.footer-ai-visual {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.ai-circuit-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(88, 28, 135, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.ai-robot-icon {
    text-align: center;
    position: relative;
    z-index: 1;
}

.ai-robot-icon img {
    height: 60px;
    opacity: 0.9;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.4));
    animation: robotFloat 4s ease-in-out infinite;
}

@keyframes robotFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Main Footer Grid */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr 0.8fr;
    gap: 40px;
    padding: 50px 0 40px;
}

@media (max-width: 992px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Brand Section */
.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    filter: brightness(1.2);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

.footer-brand-section .footer-subscribe {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.footer-brand-section .footer-subscribe-input {
    flex: 1;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: rgba(0, 0, 0, 0.3);
    padding: 0 15px;
    color: #fff;
    font-size: 0.9rem;
}

.footer-brand-section .footer-subscribe-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-brand-section .footer-subscribe-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.8), rgba(139, 92, 246, 0.6));
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-brand-section .footer-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Professional Footer Contact Form 7 Styling */
.footer-brand-section .wpcf7 {
    margin: 15px 0;
}

.footer-brand-section .wpcf7-form {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.footer-brand-section .wpcf7-form-control-wrap {
    flex: 1;
    margin: 0;
}

.footer-brand-section .wpcf7-form-control.wpcf7-email {
    width: 100%;
    height: 44px;
    border: 2px solid rgba(255, 77, 0, 0.3);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    padding: 0 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.footer-brand-section .wpcf7-form-control.wpcf7-email:focus {
    outline: none;
    border-color: rgba(255, 77, 0, 0.7);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.footer-brand-section .wpcf7-form-control.wpcf7-email::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.footer-brand-section .wpcf7-submit {
    min-width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.9), rgba(255, 77, 0, 0.7));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* Fallback Form Styling */
.footer-fallback-form {
    margin: 15px 0;
}

.footer-fallback-form .footer-form-wrapper {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.footer-fallback-form input[type="email"] {
    flex: 1;
    height: 44px;
    border: 2px solid rgba(255, 77, 0, 0.3);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    padding: 0 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.footer-fallback-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(255, 77, 0, 0.7);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.footer-fallback-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.footer-fallback-form .footer-submit-btn {
    min-width: 120px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.9), rgba(255, 77, 0, 0.7));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    white-space: nowrap;
    gap: 8px;
}

.footer-fallback-form .footer-submit-btn:hover {
    background: linear-gradient(135deg, rgba(255, 77, 0, 1), rgba(255, 77, 0, 0.8));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.4);
}

/* Force Footer Submit Button Display */
.footer-brand-section .wpcf7-submit,
.footer-brand-section input[type="submit"],
.footer-brand-section button[type="submit"],
.footer-brand-section .footer-submit-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 120px !important;
    height: 44px !important;
    border: none !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.9), rgba(255, 77, 0, 0.7)) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 20px !important;
    white-space: nowrap !important;
    position: relative !important;
    overflow: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-brand-section .wpcf7-submit::before,
.footer-brand-section input[type="submit"]::before,
.footer-brand-section button[type="submit"]::before,
.footer-brand-section .footer-submit-btn::before {
    font-family: 'Font Awesome 5 Free' !important;
    content: '\f1d8' !important;
    font-weight: 900 !important;
    margin-right: 8px !important;
    font-size: 16px !important;
}

.footer-brand-section .wpcf7-submit:hover,
.footer-brand-section input[type="submit"]:hover,
.footer-brand-section button[type="submit"]:hover,
.footer-brand-section .footer-submit-btn:hover {
    background: linear-gradient(135deg, rgba(255, 77, 0, 1), rgba(255, 77, 0, 0.8)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.4) !important;
}

.footer-brand-section .wpcf7-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.footer-brand-section .wpcf7-submit:hover::before {
    left: 100%;
}

.footer-brand-section .wpcf7-submit:hover {
    background: linear-gradient(135deg, rgba(255, 77, 0, 1), rgba(255, 77, 0, 0.8));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.4);
}

.footer-brand-section .wpcf7-submit:active {
    transform: translateY(0);
}

/* Footer Form Success/Error Messages */
.footer-brand-section .wpcf7-response-output {
    margin: 10px 0 0 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: none !important;
}

.footer-brand-section .wpcf7-mail-sent-ok {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
    display: block !important;
}

.footer-brand-section .wpcf7-validation-errors {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    display: block !important;
}

/* Hide validation tips in footer */
.footer-brand-section .wpcf7-not-valid-tip {
    display: none !important;
}

/* Footer Form Loading State */
.footer-brand-section .wpcf7-spinner {
    display: none !important;
}

/* Custom Thank You Message Styling */
#thank-you-message {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    margin: 10px 0 0 0;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for footer form */
@media (max-width: 768px) {
    .footer-brand-section .wpcf7-form {
        flex-direction: column;
        gap: 12px;
    }

    .footer-brand-section .wpcf7-submit {
        width: 100%;
        justify-content: center;
    }
}

/* Social Links */
.footer-brand-section .footer-social {
    display: flex;
    gap: 12px;
}

/* Contact Form 7 Footer Styling */
.footer-brand-section .wpcf7 {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    align-items: center;
}

.footer-brand-section .wpcf7-form-control-wrap {
    flex: 1;
    display: flex;
    align-items: center;
}

.footer-brand-section .wpcf7-form-control.wpcf7-email {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: rgba(0, 0, 0, 0.3);
    padding: 0 15px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    box-sizing: border-box;
}

.footer-brand-section .wpcf7-form-control.wpcf7-email::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-brand-section .wpcf7-submit {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.8), rgba(139, 92, 246, 0.6));
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    padding: 0;
}

.footer-brand-section .wpcf7-submit i {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand-section .footer-subscribe-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.8), rgba(139, 92, 246, 0.6));
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    padding: 0;
}

.footer-brand-section .footer-subscribe-btn i {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand-section .footer-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Loader Styles */
#loader {
    display: none;
    width: 42px;
    height: 42px;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Thank You Message */
#thank-you-message {
    display: none;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: #4ade80;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    margin-top: 8px;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-brand-section .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Hide Contact Form 7 validation messages in footer */
.footer-brand-section .wpcf7-response-output {
    display: none !important;
}

.footer-brand-section .wpcf7-not-valid-tip {
    display: none !important;
}

.footer-brand-section .wpcf7-spinner {
    display: none !important;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.8), rgba(139, 92, 246, 0.6));
    border-color: rgba(139, 92, 246, 0.6);
    color: #fff;
    transform: translateY(-2px);
}

/* Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.footer-link-group h5 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.footer-link-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link-group li {
    margin: 8px 0;
}

.footer-link-group a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link-group a:hover {
    color: #fff;
    transform: translateX(4px);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Contact Card */
.footer-contact-card {
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.2), rgba(0, 0, 0, 0.4));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.footer-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.8), transparent);
}

.contact-visual {
    text-align: center;
    margin-bottom: 15px;
}

.ai-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.8), rgba(139, 92, 246, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
    animation: aiIconPulse 3s ease-in-out infinite;
}

@keyframes aiIconPulse {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
    }

    50% {
        box-shadow: 0 5px 30px rgba(139, 92, 246, 0.6);
    }
}

.contact-details h5 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 12px;
    text-align: center;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-details i {
    color: rgba(139, 92, 246, 0.8);
    width: 16px;
}

/* Bottom Bar */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.footer-copy {
    color: rgba(255, 255, 255, 0.5);
}

.footer-tech-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(139, 92, 246, 0.9);
    font-weight: 600;
}

.footer-tech-badge i {
    animation: chipPulse 2s ease-in-out infinite;
}

@keyframes chipPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Hide old footer elements that are no longer used */
.footer-top,
.footer-widgets,
.footer-bottom {
    display: none;
}

/* Override old footer padding */
.site-footer {
    padding: 0;
}

.site-footer .footer-inner {
    padding: 0 20px;
}

/* ===== MARQUEE SECTION ===== */
.marquee-section {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 25px 0;
    overflow: hidden;
    position: relative;
}

.marquee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

.marquee-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

.marquee-container {
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 50px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
    will-change: transform;
    /* Critical for smooth marquee */
    transform: translate3d(0, 0, 0);
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.marquee-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    background: var(--brand-orange);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
    /* Removed dotPulse animation as it causes excessive CPU load in long marquees */
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
    }

    50% {
        transform: scale(1.4);
        opacity: 0.9;
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.9);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .marquee-section {
        padding: 20px 0;
    }

    .marquee-item {
        font-size: 0.95rem;
    }

    .marquee-track {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .marquee-item {
        font-size: 0.85rem;
    }

    .marquee-track {
        gap: 25px;
        animation-duration: 20s;
    }
}

/* ===== CONTRACT STAFFING PAGE ===== */

/* Hero Section */
.contract-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.contract-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.animated-circles {
    position: absolute;
    inset: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(88, 28, 135, 0.05));
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.contract-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #a78bfa;
    margin-bottom: 30px;
    animation: badgePulse 2s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #8b5cf6;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(139, 92, 246, 0);
    }

    50% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
}

.contract-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 25px;
}

.contract-hero-title .highlight {
    background: linear-gradient(135deg, #ff6b35, #ff8c5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contract-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(10px);
    }
}

/* Advantages Section */
.advantages-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
}

.gradient-text {
    background: linear-gradient(135deg, #ff6b35, #ff8c5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

.advantage-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.card-icon {
    margin-bottom: 25px;
}

.icon-bg {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(88, 28, 135, 0.2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #a78bfa;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.card-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.card-hover-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.advantage-card:hover .card-hover-effect {
    opacity: 1;
}

/* Use Cases Section */
.use-cases-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.use-cases-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #8b5cf6, #6d28d9);
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
}

.use-case-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.use-case-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.use-case-item:nth-child(odd) .use-case-content {
    text-align: left;
}

@media (max-width: 768px) {

    .use-case-item,
    .use-case-item:nth-child(odd) {
        flex-direction: column;
        gap: 20px;
        text-align: left;
        padding-left: 60px;
    }
}

.use-case-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.use-case-content {
    flex: 1;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    padding: 30px;
}

.use-case-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(88, 28, 135, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #a78bfa;
    margin-bottom: 20px;
}

.use-case-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.use-case-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(88, 28, 135, 0.1) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.4);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* CTA Section */
.contract-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(139, 92, 246, 0.5);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.8);
}

/* AOS rules removed to prevent hidden content issues with custom scroll reveal system */

.eliteworkforce-ai-chatbot {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Inter', sans-serif;
}

/* Launcher Button */
.eliteworkforce-ai-launcher {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF4D00 0%, #FF8C42 100%);
    border: none;
    border-radius: 50%;
    box-shadow: 0 10px 35px rgba(255, 77, 0, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    order: 2;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.eliteworkforce-ai-launcher::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.eliteworkforce-ai-launcher:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 45px rgba(255, 77, 0, 0.5);
}

.eliteworkforce-ai-launcher:hover::after {
    opacity: 1;
}

.eliteworkforce-ai-launcher i {
    font-size: 28px;
    color: #fff;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.eliteworkforce-ai-launcher.is-open {
    transform: rotate(90deg) scale(0.9);
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Chat Panel */
.eliteworkforce-ai-chatbot-panel {
    display: none;
    width: 420px;
    height: 680px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 120px);
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 77, 0, 0.05);
    margin-bottom: 24px;
    overflow: hidden;
    flex-direction: column;
    animation: eliteworkforceAiSlideOpen 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    order: 1;
    min-height: 0;
}

@keyframes eliteworkforceAiSlideOpen {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.eliteworkforce-ai-chatbot-panel.is-open {
    display: flex;
}

/* Header */
.eliteworkforce-ai-header {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.eliteworkforce-ai-header-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.eliteworkforce-ai-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF4D00 0%, #FF8C42 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(255, 77, 0, 0.3);
}

.eliteworkforce-ai-avatar i {
    font-size: 22px;
    color: #fff;
}

.eliteworkforce-ai-online-indicator {
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid #0f0f0f;
    border-radius: 50%;
    position: absolute;
    bottom: 2px;
    right: 2px;
    animation: eliteAiPulseGreen 2s infinite;
}

@keyframes eliteAiPulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.eliteworkforce-ai-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.eliteworkforce-ai-status {
    font-size: 0.8rem;
    color: #10b981;
    font-weight: 500;
}

.eliteworkforce-ai-header-close {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eliteworkforce-ai-header-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: rotate(90deg);
}

/* Body & Chat Container Context */
.eliteworkforce-ai-body {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    position: relative;
    background: transparent;
}

/*
 * NUCLEAR override — the AI Engine plugin wraps the chatbot
 * in several nested <div>s whose class names may vary across
 * versions.  We force EVERY div between .eliteworkforce-ai-body
 * and the .mwai-conversation / .mwai-input to stretch to the
 * full height of .eliteworkforce-ai-body using absolute + flex.
 */
.eliteworkforce-ai-body>div,
.eliteworkforce-ai-body>div>div,
.eliteworkforce-ai-body>div>div>div {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: inherit !important;
}

.eliteworkforce-ai-body .mwai-conversation {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 77, 0, 0.4) rgba(255, 255, 255, 0.05);
}

.eliteworkforce-ai-body .mwai-conversation::-webkit-scrollbar {
    width: 6px;
}

.eliteworkforce-ai-body .mwai-conversation::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.eliteworkforce-ai-body .mwai-conversation::-webkit-scrollbar-thumb {
    background: rgba(255, 77, 0, 0.4);
    border-radius: 3px;
}

.eliteworkforce-ai-body .mwai-conversation::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 77, 0, 0.6);
}

/* Chat Bubbles */
.eliteworkforce-ai-body .mwai-reply {
    margin: 0 !important;
    max-width: 75% !important;
    animation: eliteAiMessageSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes eliteAiMessageSlideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eliteworkforce-ai-body .mwai-reply.mwai-ai {
    align-self: flex-start !important;
}

.eliteworkforce-ai-body .mwai-reply.mwai-user {
    align-self: flex-end !important;
}

.eliteworkforce-ai-body .mwai-reply .mwai-text {
    padding: 14px 18px !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    position: relative !important;
}

.eliteworkforce-ai-body .mwai-reply.mwai-ai .mwai-text {
    background: #1c1c1c !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 4px 18px 18px 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.eliteworkforce-ai-body .mwai-reply.mwai-user .mwai-text {
    background: linear-gradient(135deg, #FF4D00 0%, #FF8C42 100%) !important;
    color: #fff !important;
    border-radius: 18px 18px 4px 18px !important;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.2) !important;
}

/* Remove avatars inside chat because we have it in header */
.eliteworkforce-ai-body .mwai-avatar {
    display: none !important;
}

/* Input Section */
.eliteworkforce-ai-body .mwai-input {
    flex-shrink: 0 !important;
    background: rgba(20, 20, 20, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    padding: 24px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.eliteworkforce-ai-body .mwai-input-text {
    flex: 1 !important;
    position: relative !important;
}

.eliteworkforce-ai-body .mwai-input textarea {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 14px 20px !important;
    border-radius: 30px !important;
    font-size: 0.95rem !important;
    resize: none !important;
    transition: all 0.3s ease !important;
    max-height: 120px !important;
    outline: none !important;
}

.eliteworkforce-ai-body .mwai-input textarea:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 77, 0, 0.4) !important;
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.15) !important;
}

.eliteworkforce-ai-body .mwai-input button {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 50% !important;
    background: #FF4D00 !important;
    color: #fff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.eliteworkforce-ai-body .mwai-input button:hover {
    transform: scale(1.1) rotate(-10deg) !important;
    background: #FF6A00 !important;
    box-shadow: 0 5px 15px rgba(255, 77, 0, 0.4) !important;
}

.eliteworkforce-ai-body .mwai-input button::before {
    content: '\f1d8' !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    font-size: 18px !important;
}

/* Hide original button text/image if any */
.eliteworkforce-ai-body .mwai-input button span,
.eliteworkforce-ai-body .mwai-input button img {
    display: none !important;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .eliteworkforce-ai-chatbot {
        right: 16px;
        bottom: 16px;
    }

    .eliteworkforce-ai-chatbot-panel {
        width: calc(100vw - 32px);
        height: min(600px, calc(100vh - 100px));
        bottom: 0px;
        border-radius: 24px;
    }

    .eliteworkforce-ai-launcher {
        width: 60px;
        height: 60px;
    }
}

/* Empty Space fix */
.eliteworkforce-ai-body .mwai-chatgpt-theme .mwai-conversation::after {
    display: none !important;
}

/* Footer CF7 Email-Only Form with Icon Submit */
.footer-cf7-form {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    margin: 10px 0;
}

.footer-cf7-form>div,
.footer-cf7-form .wpcf7-form-control-wrap {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.footer-cf7-email-wrap {
    flex: 1;
}

.footer-cf7-email-wrap .wpcf7-form-control.wpcf7-email {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 0.9rem;
    padding: 0 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s, background 0.3s;
}

.footer-cf7-email-wrap .wpcf7-form-control.wpcf7-email::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-cf7-email-wrap .wpcf7-form-control.wpcf7-email:focus {
    border-color: var(--brand-orange);
    background: rgba(0, 0, 0, 0.5);
}

.footer-cf7-submit-wrap {
    flex-shrink: 0;
    display: inline-flex;
}

.footer-cf7-icon-submit {
    width: auto;
    min-width: 100px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.9), rgba(139, 92, 246, 0.8));
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0 16px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-cf7-icon-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.95), rgba(139, 92, 246, 0.8));
}

.footer-cf7-icon-submit:active {
    transform: translateY(0);
}

/* Hide validation messages in footer for cleaner look */
.footer-brand-section .wpcf7-response-output,
.footer-brand-section .wpcf7-not-valid-tip,
.footer-brand-section .wpcf7-spinner {
    display: none !important;
}

/* ===== MOBILE RESPONSIVE FIXES FOR HERO SECTION ===== */
@media (max-width: 768px) {

    /* Hero section - reduce height and padding on mobile */
    .hero-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 40px;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Hero layout - single column stack on mobile */
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }

    .hero-section .container.hero-layout {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Hide left and right side panels on mobile - they clutter the view */
    .hero-side.hero-left,
    .hero-side.hero-right {
        display: none;
    }

    /* Center hero content */
    .hero-center {
        text-align: center;
        order: -1;
    }

    /* Adjust headline for mobile */
    .hero-headline {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
        line-height: 1.1;
        margin-bottom: 18px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: -0.02em;
        text-shadow:
            0 4px 20px rgba(0, 0, 0, 0.8),
            0 2px 8px rgba(255, 77, 0, 0.3),
            0 0 40px rgba(255, 77, 0, 0.15);
    }

    /* Hero accent text - make it pop more */
    .hero-headline .hero-accent {
        color: #fff;
        background: linear-gradient(135deg, #FF4D00 0%, #FF8C00 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: none;
        filter: drop-shadow(0 2px 8px rgba(255, 77, 0, 0.5));
    }

    /* Adjust subheadline - bolder and clearer */
    .hero-subheadline {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-top: 14px;
        max-width: 100%;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.95);
        text-shadow:
            0 2px 10px rgba(0, 0, 0, 0.8),
            0 1px 4px rgba(0, 0, 0, 0.9);
    }

    /* Mobile stats summary - make it bolder and more prominent */
    .hero-headline::after {
        content: "240+ Clients | 92% Retention";
        display: block;
        font-size: 0.9rem;
        font-weight: 800;
        color: #FF4D00;
        margin-top: 20px;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-shadow:
            0 2px 8px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(255, 77, 0, 0.4);
        padding: 8px 16px;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 77, 0, 0.3);
        border-radius: 999px;
        display: inline-block;
        backdrop-filter: blur(4px);
    }

    /* AI Solutions Mega Panel - MOBILE FIXES */
    .mega-panel {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh !important;
        min-height: 100vh !important;
        transform: none !important;
        border-radius: 0 !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        background: linear-gradient(180deg, #0A0A0A 0%, #111111 100%) !important;
        display: none;
    }

    .mega-panel.open {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .mega-panel-inner {
        padding: 20px 16px 40px;
        min-height: 100vh;
    }

    .mega-panel-header {
        padding: 16px;
        margin-bottom: 24px;
        border-radius: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mega-panel-title {
        font-size: 1.3rem;
        font-weight: 800;
    }

    .mega-close {
        width: 44px;
        height: 44px;
        font-size: 28px;
        background: rgba(255, 77, 0, 0.3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mega-panel-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0;
    }

    .mega-panel-section-title {
        font-size: 0.85rem;
        margin-bottom: 16px;
        color: #FF4D00;
        font-weight: 700;
    }

    .mega-item {
        padding: 18px;
        margin-bottom: 14px;
        border-radius: 12px;
        background: rgba(26, 26, 26, 0.9);
        border: 1px solid rgba(255, 77, 0, 0.25);
        display: grid;
        grid-template-columns: 32px 1fr auto;
        gap: 12px;
        align-items: start;
    }

    .mega-item-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mega-item-title {
        font-size: 1.05rem;
        margin-bottom: 4px;
        font-weight: 700;
        color: #fff;
    }

    .mega-item-desc {
        font-size: 0.85rem;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.7);
    }

    .mega-item-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
        border-radius: 999px;
    }

    .mega-links a {
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 600;
    }

    .mega-links a:last-child {
        border-bottom: none;
    }

    /* Prevent body scroll when panel is open */
    body.mega-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    /* Hide the scroll down indicator on mobile */
    .hero-scroll {
        display: none;
    }

    /* Main Navigation - MOBILE IMPROVEMENTS */
    .main-navigation {
        width: 85%;
        max-width: 320px;
        left: -100%;
        padding-top: 70px;
        background: linear-gradient(180deg, #0A0A0A 0%, #111111 100%);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-navigation.open {
        left: 0;
    }

    .main-navigation ul {
        padding: 10px 0;
    }

    .main-navigation ul li {
        border-bottom: 1px solid rgba(255, 77, 0, 0.15);
    }

    .main-navigation ul li:last-child {
        border-bottom: none;
    }

    .main-navigation ul li a {
        padding: 18px 20px;
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block;
        color: rgba(255, 255, 255, 0.95);
        transition: all 0.3s ease;
    }

    .main-navigation ul li a:hover {
        background: linear-gradient(90deg, rgba(255, 77, 0, 0.2), transparent);
        color: #FF4D00;
        padding-left: 25px;
    }

    /* Mega toggle button in nav */
    .mega-toggle {
        padding: 18px 20px;
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(255, 77, 0, 0.15);
        width: 100%;
        text-align: left;
    }

    .mega-toggle:hover {
        background: linear-gradient(90deg, rgba(255, 77, 0, 0.2), transparent);
        color: #FF4D00;
    }

    /* Hide AI SOLUTIONS mega panel button on mobile - it opens separately */
    .mega-panel {
        display: none;
    }

    /* Menu overlay */
    .menu-overlay {
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(8px);
    }

    /* Ensure nav is scrollable but smooth */
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .site {
        position: fixed;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .services-section .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.4rem;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-block {
        min-height: auto;
        padding: 20px;
    }

    /* AI Automation section adjustments - MOBILE ONLY */
    .ai-automation-section {
        padding: 30px 0;
        overflow: hidden;
    }

    .ai-automation-section .container {
        padding: 0 16px;
    }

    /* Banner improvements for mobile */
    .ai-automation-banner {
        padding: 20px 0;
        margin-bottom: 30px;
    }

    .ai-automation-banner-title {
        font-size: 1.1rem;
        line-height: 1.5;
        font-weight: 800;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    }

    .ai-automation-banner-title span {
        margin: 0 6px;
    }

    .ai-automation-banner-chip img,
    .ai-automation-banner-group img {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }

    /* Smaller orbit animation on mobile */
    .ai-automation-banner-orbit {
        width: 50px;
        height: 50px;
        left: 5px;
        opacity: 0.6;
    }

    /* Section title - BOLDER and more impactful */
    .ai-automation-section .section-title {
        font-size: 1.5rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: -0.01em;
        line-height: 1.2;
        margin-bottom: 20px;
        text-shadow:
            0 2px 10px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(255, 77, 0, 0.2);
    }

    /* Add an accent underline to the title */
    .ai-automation-section .section-title::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #FF4D00, transparent);
        margin-top: 12px;
        border-radius: 2px;
    }

    /* Description text - clearer and bolder */
    .ai-automation-section .info-copy p {
        font-size: 1rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 20px;
    }

    /* Badges - better wrapping and styling */
    .ai-automation-section .info-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 24px;
    }

    .ai-automation-section .info-badge {
        font-size: 0.8rem;
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(255, 77, 0, 0.15);
        border: 1px solid rgba(255, 77, 0, 0.3);
        color: #FF8C42;
        font-weight: 600;
        white-space: nowrap;
    }

    /* Action buttons */
    .ai-automation-section .info-actions {
        flex-direction: column;
        gap: 12px;
    }

    .ai-automation-section .info-btn,
    .ai-automation-section .info-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Info grid adjustments */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    /* IT Consulting section */
    .it-consulting-section {
        padding: 40px 0;
    }

    .it-consulting-section .container {
        padding: 0 16px;
    }

    /* Why choose section */
    .why-choose-section {
        padding: 40px 0;
    }

    .why-choose-section .container {
        padding: 0 16px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-choose-block {
        padding: 24px 20px;
    }

    /* About section - MOBILE ONLY professional styling */
    .about-section {
        padding: 40px 0;
        background: linear-gradient(180deg, #0A0A0A 0%, #111111 100%);
    }

    .about-section .container {
        padding: 0 16px;
    }

    /* About inner layout */
    .about-inner {
        grid-template-columns: 1fr;
        gap: 35px;
        display: flex;
        flex-direction: column;
    }

    /* Section title - BOLDER */
    .about-section .section-title {
        font-size: 1.6rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: -0.01em;
        line-height: 1.2;
        margin-bottom: 20px;
        text-align: center;
        text-shadow:
            0 2px 10px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(255, 77, 0, 0.2);
    }

    /* Add accent underline */
    .about-section .section-title::after {
        content: "";
        display: block;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #FF4D00, transparent);
        margin: 12px auto 0;
        border-radius: 2px;
    }

    /* About text - cleaner and bolder */
    .about-copy p {
        font-size: 1rem;
        line-height: 1.8;
        color: rgba(255, 255, 255, 0.88);
        margin-bottom: 16px;
        text-align: center;
    }

    /* Learn More button - full width and bold */
    .about-cta {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 20px;
        background: linear-gradient(135deg, #FF4D00 0%, #FF6A00 100%);
        border: none;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(255, 77, 0, 0.3);
    }

    /* Carousel improvements - HIDE ON MOBILE */
    .about-visual {
        display: none;
    }

    .about-carousel {
        display: none;
    }

    /* Remove bottom padding since carousel is gone */
    .about-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 20px;
    }

    /* Tech marquee adjustments */
    .tech-stack-section {
        padding: 12px 0;
    }

    .tech-marquee-track {
        gap: 30px;
    }

    .tech-marquee-item img {
        height: 20px;
    }

    /* ===== JOBS PAGE - MOBILE STYLING ===== */
    .jobs-page {
        padding-top: 0;
    }

    .jobs-hero {
        padding: 40px 16px 30px;
        background: linear-gradient(135deg, rgba(255, 77, 0, 0.15) 0%, rgba(10, 10, 10, 0.98) 50%, rgba(255, 77, 0, 0.08) 100%);
    }

    .jobs-hero h1 {
        font-size: 1.8rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: -0.02em;
        margin-bottom: 8px;
    }

    .jobs-hero p {
        font-size: 1rem;
        margin-bottom: 24px;
        color: rgba(255, 255, 255, 0.8);
    }

    /* Search bar mobile */
    .jobs-search {
        flex-direction: column;
        padding: 12px;
        gap: 10px;
        border-radius: 16px;
        background: rgba(20, 20, 20, 0.9);
    }

    .search-input-wrap {
        padding: 8px 12px;
        border-bottom: 1px solid rgba(255, 77, 0, 0.2);
    }

    .search-input-wrap input {
        font-size: 1rem;
        padding: 8px 0;
    }

    .search-btn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Jobs layout mobile */
    .jobs-layout {
        grid-template-columns: 1fr;
        padding: 20px 16px;
        gap: 20px;
    }

    /* Sidebar mobile */
    .jobs-sidebar {
        order: -1;
        gap: 15px;
    }

    .filter-card {
        padding: 16px;
        border-radius: 12px;
    }

    .filter-card h4 {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .filter-dropdown-btn {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    /* Filter popup full screen on mobile */
    .filter-popup {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        max-height: 100vh;
        z-index: 2000;
    }

    .filter-popup-header {
        padding: 20px;
        font-size: 1.1rem;
    }

    .filter-popup-list {
        max-height: calc(100vh - 80px);
        padding: 0 20px 20px;
    }

    /* Jobs header mobile */
    .jobs-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .jobs-header h2 {
        font-size: 1.3rem;
        font-weight: 800;
    }

    .jobs-count {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    /* Jobs grid mobile */
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Job card mobile */
    .job-card-v2 {
        padding: 20px;
        border-radius: 14px;
    }

    .job-card__top {
        margin-bottom: 12px;
    }

    .company-logo {
        width: 44px;
        height: 44px;
    }

    .job-type-badge {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .job-title {
        font-size: 1.15rem;
        margin-bottom: 4px;
    }

    .company-name {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .job-details {
        gap: 10px;
        margin-bottom: 12px;
    }

    .detail-item {
        font-size: 0.8rem;
    }

    .job-card__excerpt {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .job-apply-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    /* CTA card mobile */
    .cta-card {
        padding: 20px;
    }

    .cta-card h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .cta-card p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .btn-submit {
        padding: 14px;
        font-size: 0.95rem;
    }

    /* Empty state mobile */
    .jobs-empty-v2 {
        padding: 50px 24px;
    }

    /* ===== JOB DETAIL PAGE - MOBILE STYLING ===== */
    .job-detail {
        padding: 16px;
        max-width: 100%;
    }

    .job-detail__header {
        padding: 20px 16px;
        margin-bottom: 16px;
        border-radius: 12px;
    }

    .job-detail__badge {
        font-size: 0.75rem;
        padding: 4px 12px;
        margin-bottom: 8px;
    }

    .job-detail__title {
        font-size: 1.4rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .job-detail__meta {
        flex-direction: column;
        gap: 8px;
        font-size: 0.9rem;
    }

    .job-detail__meta span {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* Job detail grid mobile */
    .job-detail__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Main content mobile */
    .job-detail__main {
        padding: 16px;
        order: 1;
    }

    .job-detail__section {
        margin-bottom: 20px;
    }

    .job-detail__section h3 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 12px;
        padding-left: 12px;
        border-left: 3px solid var(--brand-orange);
    }

    .job-detail__section p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Toggle button mobile */
    .job-detail__toggle {
        padding: 14px 16px;
        font-size: 0.95rem;
        font-weight: 600;
    }

    .job-detail__full-desc {
        padding: 16px;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Sidebar mobile - becomes bottom section */
    .job-detail__sidebar-wrapper {
        order: 2;
    }

    .job-detail__sidebar {
        position: static;
        gap: 12px;
    }

    /* Apply card mobile */
    .job-detail__apply-card {
        padding: 20px;
        border-radius: 12px;
    }

    .job-detail__apply-card h4 {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .job-detail__apply-card p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .job-detail__apply-btn {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Job summary card mobile */
    .job-detail__card {
        padding: 16px;
    }

    .job-detail__card h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .job-detail__card li {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    /* Back link mobile */
    .job-detail__link {
        padding: 14px;
        font-size: 0.95rem;
    }
}

/* Extra small devices and mobile */
@media (max-width: 768px) {
    .hero-bg-video {
        filter: brightness(0.65) !important;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.6rem;
    }

    .hero-subheadline {
        font-size: 0.95rem;
    }

    .hero-headline::after {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .service-block h3 {
        font-size: 1.1rem;
    }

    .why-choose-block h3 {
        font-size: 1.1rem;
    }
}

/* Tablet adjustments (between 769px and 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-side.hero-left,
    .hero-side.hero-right {
        display: none;
    }

    .hero-center {
        order: -1;
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-headline::after {
        content: "240+ Clients | 92% Retention";
        display: block;
        font-size: 1rem;
        font-weight: 600;
        color: var(--brand-orange);
        margin-top: 20px;
    }
}

/* --- 404 Error Page --- */
.error-404-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    background: radial-gradient(circle at center, #111111 0%, #050505 100%);
    position: relative;
    overflow: hidden;
}

.error-404-container {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.error-404-visual {
    position: relative;
    margin-bottom: 40px;
}

.error-404-number {
    font-size: clamp(8rem, 15vw, 15rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--brand-orange) 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
    letter-spacing: -5px;
    animation: pulse404 4s ease-in-out infinite;
}

.error-404-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.error-404-page .page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
}

.error-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.secondary-cta {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
}

.secondary-cta:hover {
    border-color: var(--brand-orange) !important;
    background: rgba(255, 77, 0, 0.05) !important;
}

@keyframes pulse404 {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* GLOBAL FIX: Ensure all primary CTA buttons have white text on hover */
.ai-svc-btn:hover,
.ai-auto-btn:hover,
.contract-btn:hover,
.cta-button:hover,
.info-btn:hover,
.about-cta:hover,
.search-btn:hover,
.job-apply-btn:hover,
.btn-submit:hover,
.job-detail__apply-btn:hover,
.nav-cta:hover,
.btn-orange:hover,
.btn-jobs:hover,
.btn-home:hover,
.cta-btn-white:hover,
.submit-btn:hover {
    color: #fff !important;
}