@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

/*
    Cleaned stylesheet for the demo site
    - organized, consistent formatting
    - retains original visual intent: hero, decorations, slider, curtain
*/
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--site-header-height, 72px);
}

html,
body {

    overflow-x: hidden;
}

* {
    scroll-margin-top: var(--site-header-height, 72px);
}

/* Improve scroll performance */
.face-track,
.visual-track {
    -webkit-overflow-scrolling: touch;
    contain: layout style;
}

/* Pause animations during scroll for better performance */
.reduce-animations-during-scroll * {
    animation-play-state: paused !important;
}

/* Aggressive rendering optimizations while user is actively scrolling.
   This reduces blurs, shadows, and transitions which cause heavy repaints. */
body.reduce-animations-during-scroll {
    scroll-behavior: auto !important;
}
body.reduce-animations-during-scroll * {
    transition: none !important;
    box-shadow: none !important;
    filter: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    will-change: auto !important;
}
body.reduce-animations-during-scroll::before,
body.reduce-animations-during-scroll::after {
    animation: none !important;
    filter: none !important;
}

/* Floating WhatsApp button */
.floating-wa {
    position: fixed !important;
    /* Fixed to bottom right corner */
    bottom: 24px !important;
    right: 24px !important;
    /* keep button sized responsively */
    width: clamp(48px, 6.5vw, 64px);
    height: clamp(48px, 6.5vw, 64px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--teal), var(--magenta));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.56);
    z-index: 9999 !important;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    /* Lightweight GPU acceleration */
    will-change: auto;
}

.floating-wa svg {
    width: 28px;
    height: 28px;
    display: block;
}

/* Secondary UAE WhatsApp button: place above the primary and theme with UAE flag colors */
.floating-wa.uae {
    bottom: 96px !important;
    right: 24px !important;
    overflow: visible !important;
    /* horizontal stripes: green, white, black */
    background: linear-gradient(180deg, #00732f 0% 34%, #ffffff 34% 67%, #000000 67% 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.56);
}

/* use an internal element for the red stripe so ::before/::after remain available
   for the shared hover labels in contact-enhancements.css */
.floating-wa.uae .uae-flag-deco {
    position: absolute;
    left: -6px;
    top: -6px;
    bottom: -6px;
    width: 36%;
    background: #d80000;
    transform: skewX(-12deg);
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    pointer-events: none;
}

.floating-wa.uae svg { width: 26px; height: 26px; }
.floating-wa.uae svg path { fill: #fff !important; }

@media (max-width:640px) {
    .floating-wa.uae {
        bottom: 80px;
        right: 16px;
    }
    .floating-wa.uae::before {
        left: -4px;
        width: 34%;
    }
}

.pulse {
    animation: la-pulse 2200ms infinite ease-in-out;
}

@keyframes la-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 159, 164, 0.30);
    }

    60% {
        box-shadow: 0 0 0 10px rgba(74, 159, 164, 0.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 159, 164, 0);
    }
}

@media (max-width:640px) {
    .floating-wa {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }
}

:root {
    --teal: #4a9fa4;
    --magenta: #9c2c6b;
    --black: #000000;
    --bg: #0b0b0b;
    --site-header-height: 72px;
    --muted: #9ea4a6;
    --max-width: 1100px;
}

/* Page-wide hero-style animated background (reuses hero assets) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(74, 159, 164, 0.06), rgba(156, 44, 107, 0.04) 50%, rgba(74, 159, 164, 0.03));
    mix-blend-mode: screen;
    opacity: 0.62;
    filter: blur(8px);
    animation: bgShift 18s linear infinite;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    /* layered radial orbs like hero/diagonal sections */
    background-image:
        radial-gradient(circle at 6% 18%, rgba(74, 159, 164, 0.22) 0%, transparent 20%),
        radial-gradient(circle at 18% 40%, rgba(156, 44, 107, 0.18) 0%, transparent 20%),
        radial-gradient(circle at 34% 70%, rgba(74, 159, 164, 0.16) 0%, transparent 16%),
        radial-gradient(circle at 50% 20%, rgba(156, 44, 107, 0.14) 0%, transparent 14%),
        radial-gradient(circle at 70% 42%, rgba(74, 159, 164, 0.12) 0%, transparent 12%),
        radial-gradient(circle at 84% 68%, rgba(156, 44, 107, 0.10) 0%, transparent 10%);
    background-repeat: no-repeat;
    background-size: 18% 18%, 14% 14%, 12% 12%, 10% 10%, 8% 8%, 6% 6%;
    filter: blur(16px);
    will-change: background-position, transform;
    animation: heroParticles 28s linear infinite;
    mix-blend-mode: screen;
    opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {

    body::before,
    body::after {
        animation: none !important;
        filter: blur(8px);
    }
}

/* Animated moving gradient overlay (subtle) to tie body + hero together */

.face-track {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.face-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
    flex: 1 1 220px;
    max-width: 320px;
    border-radius: 10px;
}

.face-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Make images responsive by default (components can override) */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.face-item figcaption {
    position: static;
    margin-top: 10px;
    text-align: center;
    color: #fff;
    background: transparent;
    padding: 4px 8px;
    font-weight: 600;
}


.face-item:hover img {
    transform: scale(1.02);
    transition: transform 450ms ease;
}

@keyframes bodyParticles {
    0% {
        background-position: 0% 0%, 100% 20%, 50% 100%;
    }

    50% {
        background-position: 100% 20%, 0% 40%, 70% 0%;
    }

    100% {
        background-position: 0% 0%, 100% 20%, 50% 100%;
    }
}

/* Base */
* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    position: relative;
    margin: 0;
    font-family: 'Space Grotesk', 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial;
    color: #fff;
    /* apply requested hero-style base gradient across the page */
    background: linear-gradient(160deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 60%);
    -webkit-font-smoothing: antialiased;
    /* prevent horizontal scrolling caused by fixed/full-viewport elements */
    overflow-x: hidden;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 0;
    text-decoration: none;
    overflow: visible;
    transition: transform 180ms ease;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
}

.social-link img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
    border-radius: 0;
    background: none !important;
}

.social-link:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: none !important;
}

.logo-pill {
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    box-shadow: none !important;
    width: 100px !important;
    height: 100px !important;
    flex-shrink: 0 !important;
}

.logo-pill img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* When .logo-pill is an anchor (we removed wrapper divs), ensure it behaves like the pill */
.logo-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

@media (max-width: 900px) {
    .logo-pill {
        position: relative;
        z-index: 9999 !important;
        min-width: 56px;
        min-height: 40px;
    }

    .logo-pill img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        display: block;
    }
}

#logo-youtube img {
    width: 104% !important;
    height: 100% !important;
}

#logo-entertainment img {
    width: 102% !important;
    height: 100% !important;
}

#logo-events img {
    width: 108% !important;
    height: 104% !important;
}

#logo-tiktok img {
    width: 100% !important;
    height: 91% !important;
}

.hero-right-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    width: 100%;
}

.hero-right {
    display: flex;
    justify-content: center;
    width: 100%;
}

#vision-motivation,
.diagonal-section {
    background: linear-gradient(160deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 60%);
    position: relative;
    overflow: visible;
}

#vision-motivation::before,
.diagonal-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 8% 25%, rgba(74, 159, 164, 0.18) 0%, transparent 22%),
        radial-gradient(circle at 85% 30%, rgba(156, 44, 107, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 20% 70%, rgba(74, 159, 164, 0.12) 0%, transparent 18%),
        radial-gradient(circle at 75% 75%, rgba(156, 44, 107, 0.10) 0%, transparent 16%);
    background-repeat: no-repeat;
    background-size: 20% 20%, 18% 18%, 14% 14%, 12% 12%;
    filter: blur(16px);
    opacity: 0.7;
}

.side-box,
.award-card {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Pull the logo/nav closer to the viewport edge without
   affecting other containers on the page */
.site-header .container {
    padding-left: 8px;
    padding-right: 20px;
}

/* Header / Nav */
.site-header {
    background: #000;
    /* keep nav sticky and black */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    /* ensure header content is vertically centered */
}

/* Allow header content to reach closer to screen edges */
.site-header .container {
    max-width: 100%;
    padding-left: 8px;
    padding-right: 24px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    /* reduced slightly to tighten vertical spacing while remaining roomy */
    position: relative
}

.site-header {
    min-height: 64px
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    position: relative;
    margin-right: 250px;
}

.logo svg {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    flex-shrink: 0;
}

.logo .brand {
    font-weight: 800;
    font-size: 1.18rem;
    letter-spacing: 0.2px
}

/* `.nav` uses inline nav link styles elsewhere; no explicit layout override here to preserve original behavior */

.face-track {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.face-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    width: 240px;
}

.face-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 360ms ease, box-shadow 360ms ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.face-item::after {
    /* subtle gradient overlay for name legibility */
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.52) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 360ms ease;
}

.face-item figcaption {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 6px 12px;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 360ms ease;
}

.face-item:hover img {
    transform: scale(1.03);
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.6);
}

.face-item:hover figcaption {
    opacity: 1;
}

.face-item:hover::after {
    opacity: 1;
}

@media (max-width:901px) {
    .face-item img {
        aspect-ratio: 3/4;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Horizontal scroll effect for Face Of The Company section */
    .face-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 16px;
        overflow-x: auto !important;
        overflow-y: hidden;
        padding: 10px 16px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .face-item {
        flex: 0 0 90% !important;
        max-width: 90% !important;
        min-width: 90% !important;
        width: 90% !important;
        scroll-snap-align: start;
    }

    /* Ensure testimonial orbit aligns correctly on narrower viewports */
}

@media (max-width:640px) {
    .face-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 16px;
        overflow-x: auto !important;
        padding: 6px 16px;
    }

    .face-item {
        flex: 0 0 90% !important;
        max-width: 90% !important;
        min-width: 90% !important;
        width: 90% !important;
    }
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 0;
    font-weight: 700;
    font-size: 1.18rem;
    padding: 14px 20px;
    border-radius: 8px;
    transition: color 200ms ease, background-color 200ms ease, box-shadow 220ms ease, transform 200ms ease, padding 180ms ease
}

/* Larger, bold, glowing active/hover state */
.nav a:hover,
.nav a:focus {
    color: #fff !important;
    transform: translateY(-3px) scale(1.03);
    text-shadow: 0 12px 36px rgba(74, 159, 164, 0.22), 0 8px 22px rgba(156, 44, 107, 0.14);
    font-weight: 900;
    background: linear-gradient(90deg, rgba(74, 159, 164, 0.08), rgba(156, 44, 107, 0.08));
    box-shadow: 0 16px 48px rgba(74, 159, 164, 0.08), 0 8px 36px rgba(156, 44, 107, 0.06);
    padding: 16px 22px;
    /* slight padded grow on hover */
}

.nav a.cta {
    color: #fff;
    background: linear-gradient(90deg, var(--teal), var(--magenta));
    padding: 8px 14px;
    font-weight: 700
}

@media (max-width:700px) {
    .header-inner {
        padding: 20px 0
    }

    .nav a {
        font-size: 1rem;
        padding: 8px 10px
    }

    .logo .brand {
        font-size: 1rem
    }

    .nav-list {
        gap: 14px
    }
}

/* Active nav indicator for Home and Services */
.nav a.active {
    color: #fff;
    font-weight: 900;
    text-shadow: 0 10px 30px rgba(74, 159, 164, 0.16), 0 4px 12px rgba(156, 44, 107, 0.08);
}

/* remove underline indicator for active nav items */
.nav a.active::after {
    display: none
}

/* Global accents */
a,
a:visited {
    color: var(--teal);
    transition: color 180ms ease;
}

a:hover,
a:focus {
    color: var(--magenta);
}


.nav a.cta {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    border-radius: 6px
}

.nav-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0
}

.nav-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.12;
}

.nav-orb--teal {
    width: 120px;
    height: 120px;
    left: 6px;
    top: 8px;
    background: radial-gradient(circle at 30% 30%, var(--teal), transparent 60%);
}

.nav-orb--magenta {
    width: 90px;
    height: 90px;
    right: 12px;
    top: 6px;
    background: radial-gradient(circle at 40% 40%, var(--magenta), transparent 60%);
}

.site-header .header-inner>* {
    z-index: 2;
}

/* Hero */

.hero {
    padding: 100px 0;
    position: relative;
    overflow: visible;
    background: linear-gradient(160deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 60%);
}

.hero::before {
    content: '';
    /* decorative particles: kept within hero via transform (avoids layout overflow) */
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transform: scale(1.08);
    transform-origin: center;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 6% 18%, rgba(74, 159, 164, 0.22) 0%, transparent 20%),
        radial-gradient(circle at 18% 40%, rgba(156, 44, 107, 0.18) 0%, transparent 20%),
        radial-gradient(circle at 34% 70%, rgba(74, 159, 164, 0.16) 0%, transparent 16%),
        radial-gradient(circle at 50% 20%, rgba(156, 44, 107, 0.14) 0%, transparent 14%),
        radial-gradient(circle at 70% 42%, rgba(74, 159, 164, 0.12) 0%, transparent 12%),
        radial-gradient(circle at 84% 68%, rgba(156, 44, 107, 0.10) 0%, transparent 10%);
    background-repeat: no-repeat;
    background-size: 18% 18%, 14% 14%, 12% 12%, 10% 10%, 8% 8%, 6% 6%;
    filter: blur(14px);
    will-change: background-position, transform;
    animation: heroParticles 28s linear infinite;
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 10%, rgba(74, 159, 164, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 80% 60%, rgba(156, 44, 107, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 40% 80%, rgba(74, 159, 164, 0.04) 0%, transparent 25%);
    background-repeat: no-repeat;
    background-size: 420px 420px, 360px 360px, 500px 500px;
    will-change: background-position;
    mix-blend-mode: screen;
    opacity: 0.95;
    animation: bodyParticles 120s linear infinite;
}

/* Fixed overlay element (created by JS) to run particles over entire scrollable page */
.particle-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    pointer-events: none;
    z-index: -3;
    display: none !important;
    /* hidden by default per request */
    background-image:
        radial-gradient(circle at 20% 10%, rgba(74, 159, 164, 0.06) 0%, transparent 30%),
        radial-gradient(circle at 80% 60%, rgba(156, 44, 107, 0.06) 0%, transparent 30%),
        radial-gradient(circle at 40% 80%, rgba(74, 159, 164, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 60% 30%, rgba(156, 44, 107, 0.04) 0%, transparent 25%);
    background-repeat: no-repeat;
    background-size: 520px 520px, 420px 420px, 640px 640px, 360px 360px;
    will-change: background-position;
    mix-blend-mode: screen;
    opacity: 1;
    animation: bodyParticles 120s linear infinite;
}

/* Removed duplicate face block (replaced by the consolidated .face rules earlier) */

@media (max-width:901px) {
    .face-item img {
        height: 48vh
    }
}

@media (max-width:640px) {
    .face-track {
        flex-wrap: nowrap;
        overflow-x: auto
    }

    .face-item {
        flex: 0 0 72vw
    }

    .face-item img {
        height: 56vh
    }
}

.hero-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    /* keep hero content and visual side-by-side on wide screens */
}

.hero-content {
    flex: 1 1 420px;
    min-width: 260px;
    max-width: 820px;
    text-align: left;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.6rem;
    line-height: 1.06;
    margin: 0 0 18px;
    color: #fff
}

/* Homepage hero retains default lead spacing; service hero has the left indent */

.lead {
    color: var(--muted);
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 8px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--teal), var(--magenta));
    color: #fff !important;
    border: 0;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
    -webkit-text-fill-color: #fff;
    mix-blend-mode: normal;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    margin-left: 10px
}

/* Footer */
.site-footer {
    background: linear-gradient(160deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 60%) !important;
    color: #ddd !important;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 3;
    overflow: visible;
}

.site-footer .footer-inner {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
}

.footer-brand {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #fff;
    text-decoration: none
}

.footer-brand .brand {
    font-weight: 800;
    letter-spacing: 0.3px
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 700
}

.footer-actions {
    display: flex;
    align-items: center
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding: 12px 0;
    margin-top: 12px
}

.footer-bottom small {
    color: var(--muted);
}

.social-list {
    list-style: none;
    display: flex;
    gap: 14px;
    margin: 6px 0 0 0;
    padding: 0;
    color: var(--muted);
    align-items: center;
    justify-content: center
}

.social-list li {
    margin: 0;
    padding: 0
}

/* Dark circular badges for social icons (match provided design) */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 0;
    text-decoration: none;
    overflow: visible;
    transition: transform 180ms ease;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.social-link img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
    border-radius: 0;
    background: transparent !important;
}

.social-link:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: none !important;
    background: none !important;
}

@media (max-width:900px) {
    .social-link {
        width: 72px;
        height: 72px
    }
}

@media (max-width:700px) {
    .social-link {
        width: 64px;
        height: 64px
    }

    .social-list {
        gap: 12px
    }
}

/* Center the copyright and social icons together in the footer */
.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px
}

/* Decorative orbs match header/hero but subtle and anchored to footer */

/* Mobile nav: hamburger + cloned dropdown (non-scrolling nav, page remains scrollable) */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
    margin-left: auto;
    padding: 8px;
}

.nav-toggle__box {
    display: inline-block;
    width: 24px;
    height: 18px;
    position: relative;
    top: -10px;
}

.nav-toggle__inner,
.nav-toggle__inner::before,
.nav-toggle__inner::after {
    display: block;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform 220ms ease, opacity 180ms ease;
    transform-origin: center;
}

.nav-toggle__inner {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 3px;
    transform: translateY(-50%);
}

.nav-toggle__inner::before,
.nav-toggle__inner::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
}

.nav-toggle__inner::before {
    top: -7px;
}

.nav-toggle__inner::after {
    top: 7px;
}

/* Animate hamburger to X when menu is open */
.nav-open .nav-toggle__inner {
    background: transparent;
}

.nav-open .nav-toggle__inner::before {
    transform: translateY(7px) rotate(45deg);
    background: #fff;
}

.nav-open .nav-toggle__inner::after {
    transform: translateY(-7px) rotate(-45deg);
    background: #fff;
}

/* mobile dropdown container (inserted after header by JS) */
#mobile-nav-dropdown {
    display: none;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(5, 5, 5, 0.99));
    border-top: 1px solid rgba(74, 159, 164, 0.15);
    border-bottom: 1px solid rgba(156, 44, 107, 0.15);
    color: #fff;
    backdrop-filter: blur(10px);
}

#mobile-nav-dropdown .nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 24px 18px;
    text-align: center;
}

#mobile-nav-dropdown .nav-list li {
    margin: 0;
    width: 100%;
    text-align: center;
}

#mobile-nav-dropdown .nav-list a {
    display: block;
    padding: 16px 20px;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 300ms ease;
    background: transparent;
}

#mobile-nav-dropdown .nav-list a:hover,
#mobile-nav-dropdown .nav-list a:focus {
    color: #fff;
    background: linear-gradient(90deg, rgba(74, 159, 164, 0.15), rgba(156, 44, 107, 0.15));
    text-shadow: 0 0 20px rgba(74, 159, 164, 0.5);
    transform: scale(1.02);
}

#mobile-nav-dropdown .nav-list a.active {
    background: linear-gradient(90deg, rgba(74, 159, 164, 0.2), rgba(156, 44, 107, 0.2));
    color: #fff;
    text-shadow: 0 0 15px rgba(74, 159, 164, 0.4);
}

/* When JS opens the menu it adds .open to the dropdown and .nav-open to root */
#mobile-nav-dropdown.open {
    display: block;
}

@media (max-width: 900px) {

    /* show hamburger, hide desktop nav */
    .nav-toggle {
        display: inline-flex;
        z-index: 2200;
        padding: 0;
        position: absolute;
        left: 90%;
        top: 28%;
    }

    nav#primary-nav {
        display: none;
    }

    /* ensure header doesn't change size when dropdown appears */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    /* keep header-inner height stable and properly aligned */
    .header-inner {
        padding-top: 16px;
        padding-bottom: 16px;
        min-height: 56px;
    }

    /* prevent header container from creating internal scroll when menu opens */
    .nav-open .site-header .container {
        overflow: hidden;
    }
}

.footer-decor {
    position: absolute;
    left: 0;
    right: 0;
    top: -36px;
    pointer-events: none;
    z-index: 0
}

.footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.07
}

.footer-orb--teal {
    width: 220px;
    height: 220px;
    left: 6%;
    top: 6%;
    background: radial-gradient(circle at 30% 30%, var(--teal), transparent 60%)
}

.footer-orb--magenta {
    width: 160px;
    height: 160px;
    right: 6%;
    top: 18%;
    background: radial-gradient(circle at 40% 40%, var(--magenta), transparent 60%)
}

@media (max-width:700px) {
    .site-footer .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .footer-nav ul {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive: for narrower viewports keep the visual track in-flow and stack hero content */
@media (max-width:1099px) {
    .visual-track {
        min-width: 0;
        /* keep the track in normal flow so it can scroll horizontally
           inside the visual column on small screens */
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        z-index: 0;
    }

    /* allow hero content and visual to stack vertically on medium/smaller screens */
    .hero-inner {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 24px;
    }

    .hero-visual {
        position: relative;
        width: 100%;
        max-width: none;
        order: 2;
        justify-content: flex-start;
        padding: 12px 0 4px;
    }

    .hero-content {
        order: 1;
        width: 100%;
    }

    /* ensure the track keeps its intrinsic width so it can scroll horizontally */
    .visual-track {
        min-width: max-content;
        /* enable snap scrolling so a swipe lands exactly on one card */
        scroll-snap-type: x mandatory;
        /* remove side padding so neighbors (clones) aren't visible */
        padding: 0;
        gap: 0;
    }

    /* make each card occupy most of the viewport so neighbours are hidden */
    .visual-card {
        /* show three cards side-by-side on narrow viewports (no swipe) */
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    /* when JS opts out of carousel behavior, ensure track shows all cards inline */
    .visual-track.no-carousel {
        overflow: visible;
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        justify-content: center;
        align-items: stretch;
    }

    /* When the hero itself is marked no-carousel, prevent the visual column
       from showing a horizontal scrollbar (track layout handled by CSS). */
    .hero-visual.no-carousel {
        /* allow overflow so neighbor cards can be partially visible */
        overflow-x: visible;
    }

    .visual-card {
        scroll-snap-align: center;
    }

    /* Prevent horizontal overflow produced by decorative offsets or wide visuals */
    .hero {
        overflow-x: hidden;
        overflow: hidden;
    }

    /* Reset header logo offset which can push layout outside viewport */
    .logo {
        right: auto;
        position: relative;
    }

    .site-header {
        overflow-x: hidden;
    }
}

/* Desktop layout tweak: pin the hero visual absolutely at larger widths */
@media (min-width:1100px) {
    .hero {
        position: relative;
    }

    .hero-visual {
        position: absolute;
        top: 51%;
        right: 40px;
        transform: translateY(-50%);
        width: 420px;
        z-index: 1;
    }

    /* make sure hero content doesn't overlap visual unintentionally */
    .hero-content {
        max-width: calc(100% - 520px);
    }
}

.btn {
    color: inherit;
}

.hero-content>p {
    text-align: left;
    margin-top: 18px
}

/* Hero decorations */
.hero-decor {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    overflow: visible;
    z-index: 1
}

/* final state after fly-in */
.animations-start {
    opacity: 1;
    transform: none;
    transition: opacity 360ms ease, transform 420ms cubic-bezier(.22, .9, .12, 1)
}

.hero-decor::before,
.hero-decor::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.14;
    filter: blur(24px);
}

.hero-decor::before {
    width: 300px;
    height: 300px;
    left: 8%;
    top: 10%;
    background: radial-gradient(circle at 30% 30%, var(--teal), transparent 50%);
    animation: floatSlow 14s linear infinite;
}

.hero-decor::after {
    width: 220px;
    height: 220px;
    right: 6%;
    bottom: 6%;
    background: radial-gradient(circle at 40% 40%, var(--magenta), transparent 50%);
    animation: floatSlowReverse 18s linear infinite;
}

.hero-decor .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.18;
    will-change: transform
}

.hero-decor .orb--teal {
    width: 320px;
    height: 320px;
    left: 6%;
    top: 6%;
    background: radial-gradient(circle at 30% 30%, var(--teal), transparent 60%);
}

.hero-decor .orb--magenta {
    width: 260px;
    height: 260px;
    right: 6%;
    bottom: 6%;
    background: radial-gradient(circle at 40% 40%, var(--magenta), transparent 60%);
}

.hero-decor .ribbon {
    position: absolute;
    height: 28px;
    width: 640px;
    opacity: 0.08;
    filter: blur(12px);
    transform-origin: center
}

.hero-decor .ribbon--left {
    left: 0;
    top: 40%;
    background: linear-gradient(90deg, rgba(74, 159, 164, 0.2), transparent);
    transform: translateX(-120px) rotate(-14deg);
    animation: ribbonFloat 9s ease-in-out infinite;
}

.hero-decor .ribbon--right {
    right: 0;
    top: 56%;
    width: 720px;
    background: linear-gradient(90deg, transparent, rgba(156, 44, 107, 0.18));
    transform: translateX(180px) rotate(8deg);
    animation: ribbonFloatReverse 11s ease-in-out infinite;
}

.hero-decor .particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.32;
    mix-blend-mode: overlay;
    filter: blur(1px);
    pointer-events: none
}

@keyframes ribbonFloat {
    0% {
        transform: translateX(-120px) rotate(-14deg) translateY(0);
    }

    50% {
        transform: translateX(-120px) rotate(-14deg) translateY(-18px);
    }

    100% {
        transform: translateX(-120px) rotate(-14deg) translateY(0);
    }
}

@keyframes ribbonFloatReverse {
    0% {
        transform: translateX(180px) rotate(8deg) translateY(0);
    }

    50% {
        transform: translateX(180px) rotate(8deg) translateY(18px);
    }

    100% {
        transform: translateX(180px) rotate(8deg) translateY(0);
    }
}

@keyframes floatSlow {
    0% {
        transform: translateY(0) translateX(0) scale(1)
    }

    50% {
        transform: translateY(-18px) translateX(8px) scale(1.02)
    }

    100% {
        transform: translateY(0) translateX(0) scale(1)
    }
}

@keyframes floatSlowReverse {
    0% {
        transform: translateY(0) translateX(0) scale(1)
    }

    50% {
        transform: translateY(20px) translateX(-10px) scale(1.03)
    }

    100% {
        transform: translateY(0) translateX(0) scale(1)
    }
}

/* Animated BG */
.hero .animated-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(74, 159, 164, 0.06), rgba(156, 44, 107, 0.04) 50%, rgba(74, 159, 164, 0.03));
    mix-blend-mode: screen;
    opacity: 0.65;
    animation: bgShift 18s linear infinite;
    filter: blur(8px);
}

@keyframes bgShift {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

/* Visual slider (boxes) */
.hero-visual {
    flex: 0 0 420px;
    /* fixed visual column on the right */
    max-width: 420px;
    overflow-x: auto;
    /* allow programmatic scroll to center the active card */
    /* homepage uses default lead spacing; left-margin applies only to services hero */
    /* extra side padding so neighbors peek */
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    justify-content: center;
}

/* Hide the visual horizontal scrollbar but keep scroll behavior for programmatic navigation */
.hero-visual,
.visual-track {
    -ms-overflow-style: none;
    /* IE 10+ */
    scrollbar-width: none;
    /* Firefox */
}

.hero-visual::-webkit-scrollbar,
.visual-track::-webkit-scrollbar {
    display: none;
    /* Safari/WebKit */
    width: 0;
    height: 0;
}

.visual-track {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    /* carousel row */
    will-change: scroll-position;
    min-width: 0;
}

.visual-card {
    flex: 0 0 200px;
    height: 160px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    /* Base card surface: dark slate with a faint glass sheen */
    background: linear-gradient(180deg, #252a2a 0%, rgba(37, 42, 42, 0.85) 40%, rgba(37, 42, 42, 0.6) 100%);
    transition: transform 420ms cubic-bezier(.22, .9, .12, 1), box-shadow 420ms, opacity 420ms;
    transform-origin: center;
    position: relative;
    padding: 0;
    margin: 0 6px;
    /* small gutter so neighbors peek */
}

.visual-card.v1 {
    /* teal-accented variant */
    background: linear-gradient(135deg, rgba(74, 159, 164, 0.12), transparent), linear-gradient(180deg, #252a2a 0%, rgba(37, 42, 42, 0.85) 40%);
}

.visual-card.v2 {
    /* magenta-accented variant */
    background: linear-gradient(135deg, rgba(156, 44, 107, 0.12), transparent), linear-gradient(180deg, #252a2a 0%, rgba(37, 42, 42, 0.85) 40%);
}

.visual-card.v3 {
    /* mixed-accent variant */
    background: linear-gradient(135deg, rgba(74, 159, 164, 0.08), rgba(156, 44, 107, 0.08)), linear-gradient(180deg, #252a2a 0%, rgba(37, 42, 42, 0.85) 40%);
}

.visual-card.is-active {
    transform: translateY(-8px) scale(1.12);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.65);
    z-index: 4;
    opacity: 1;
}

.visual-card:not(.is-active) {
    transform: translateY(0) scale(0.92);
    opacity: 0.92;
    z-index: 1;
}

/* immediate neighbor peeking effect using adjacent selectors when possible */
.visual-card.is-active+.visual-card,
.visual-card+.visual-card.is-active {
    transform: translateY(-4px) scale(1.02);
    z-index: 3;
    opacity: 0.98;
}

/* card background thumb */
.card-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: contrast(0.95);
    transform: translateZ(0);
}

.card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.visual-card .card-logo {
    width: 66px;
    height: 59px;
    border-radius: 12px;
    object-fit: cover;
    position: relative;
    margin: 12px auto 6px;
    z-index: 3;
    display: block;
}

.visual-card .card-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 10px 14px;
    min-height: 72px;
}

.visual-card h3 {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 700;
}

.visual-card .muted {
    display: none;
    font-size: 0.82rem;
}

.visual-card .btn {
    padding: 8px 14px;
    font-size: 0.9rem;
    z-index: 3;
    border-radius: 8px;
    transition: transform 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
}

/* Button entrance animation when the card becomes active */
@keyframes btn-pop {
    0% {
        transform: translateY(8px) scale(0.96);
        opacity: 0;
    }

    60% {
        transform: translateY(-4px) scale(1.03);
        opacity: 1;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.visual-card.is-active .btn {
    animation: btn-pop 420ms cubic-bezier(.22, .9, .12, 1) both;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

/* Hover state for buttons */
.visual-card .btn:hover {
    transform: translateY(-3px) scale(1.03);
}

/* Layout utility sections */
.section {
    padding: 64px 0;
    margin: 0;
    background: transparent;
}

.section-title {
    font-size: 1.25rem;
    margin: 0 0 18px;
    color: #fff
}

.section-sub {
    color: var(--muted);
    margin: -4px auto 22px;
    line-height: 1.5;
    text-align: center;
    max-width: 760px;
}

/* Services-specific heading and card theming */
.services {
    /* restore hero-like background while keeping particles visible */
    padding-top: 64px;
    padding-bottom: 64px;
    background: linear-gradient(160deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 60%);
    position: relative;
    z-index: 2;
    overflow: visible;
}

/* extra particles specifically for services to feel denser */
.services::before {
    content: '';
    position: absolute;
    left: 4%;
    right: 4%;
    top: -6%;
    bottom: -6%;
    pointer-events: none;
    z-index: 0;
    /* larger, softer orbs plus smaller particles for depth */
    background-image:
        radial-gradient(circle at 8% 30%, rgba(74, 159, 164, 0.14) 0%, transparent 30%),
        radial-gradient(circle at 86% 36%, rgba(156, 44, 107, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 12% 18%, rgba(74, 159, 164, 0.18) 0%, transparent 18%),
        radial-gradient(circle at 36% 44%, rgba(156, 44, 107, 0.14) 0%, transparent 16%),
        radial-gradient(circle at 60% 72%, rgba(74, 159, 164, 0.12) 0%, transparent 14%),
        radial-gradient(circle at 84% 38%, rgba(156, 44, 107, 0.10) 0%, transparent 12%);
    background-repeat: no-repeat;
    /* make a mix of big and small particle sizes for depth */
    background-size: 28% 28%, 24% 24%, 10% 10%, 8% 8%, 6% 6%, 5% 5%;
    filter: blur(16px);
    will-change: background-position;
    animation: heroParticles 24s linear infinite;
    opacity: 0.5;
}

/* static particles + top divider so services visually matches hero */
.services::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 12%;
    pointer-events: none;
    z-index: 1;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(156, 44, 107, 0.04), rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 14% 22%, rgba(74, 159, 164, 0.12) 0%, transparent 22%),
        radial-gradient(circle at 46% 48%, rgba(156, 44, 107, 0.10) 0%, transparent 20%),
        radial-gradient(circle at 78% 68%, rgba(74, 159, 164, 0.08) 0%, transparent 18%);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: 100% 2px, 10% 10%, 8% 8%, 12% 12%;
    background-position: top center, 12% 28%, 46% 48%, 78% 68%;
    filter: blur(6px);
    opacity: 0.45;
}

@keyframes servicesGlow {
    0% {
        filter: blur(48px) brightness(1.1);
        opacity: 0.7;
    }

    50% {
        filter: blur(64px) brightness(1.25);
        opacity: 0.9;
    }

    100% {
        filter: blur(48px) brightness(1.1);
        opacity: 0.7;
    }
}

.services .section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1.2px;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(90deg, var(--teal) 10%, var(--magenta) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    text-transform: uppercase;
    line-height: 1.1;
    filter: drop-shadow(0 2px 18px rgba(156, 44, 107, 0.12));
}

.services .section-title::after {
    content: '';
    display: block;
    width: 160px;
    height: 6px;
    margin: 16px auto 0;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--teal), var(--magenta), var(--teal));
    opacity: 0.7;
    box-shadow: 0 2px 24px 0 rgba(156, 44, 107, 0.18);
    transition: box-shadow 300ms ease, opacity 300ms ease;
}

/* only run the underline glow when the section is hovered or focused */
.services:hover .section-title::after,
.services:focus-within .section-title::after {
    animation: headingBarGlow 4s linear infinite alternate;
    opacity: 1;
}

@keyframes headingBarGlow {
    0% {
        opacity: 0.7;
        box-shadow: 0 2px 24px 0 rgba(156, 44, 107, 0.18);
    }

    50% {
        opacity: 1;
        box-shadow: 0 4px 36px 0 rgba(74, 159, 164, 0.22);
    }

    100% {
        opacity: 0.7;
        box-shadow: 0 2px 24px 0 rgba(156, 44, 107, 0.18);
    }

}

.services .card h3 {
    margin-bottom: 8px;
    margin-top: 16px;
    /* reduced so overlay doesn't overlap */
    font-size: 1.12rem;
    font-weight: 800;
    color: #ffffff;
    /* use solid white instead of theme gradient */
    text-align: center;
    position: relative;
}

.services .card h3::after {
    content: '';
    display: block;
    width: 64px;
    height: 6px;
    margin: 10px auto 0;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    opacity: 0.9;
}

.services .card .muted {
    color: var(--muted);
    margin-bottom: 14px;
}

/* service badges and lists */
.services .card {
    position: relative;
}

/* Responsive: global tweaks for tablet and mobile */
/* Desktop / large tablets */
@media (max-width:1200px) {
    .container {
        padding: 0 28px;
    }

    .section-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 1001px) {
    .hero-left .hero-text {
        text-align: center;
    }

    .hero-left {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-logos {
        margin-top: 63px !important;
    }

    .hero-right {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        position: relative;
        left: 36%;
    }

    .hero-right-inner {
        margin-top: 66px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 30px !important;
        width: auto !important;
        position: static !important;
        left: auto !important;
        transform: none !important;
    }

    .side-box,
    .award-wrap {
        flex-shrink: 0;
    }
}



/* Tablet */
@media (max-width:900px) {

    /* header: compact layout */
    .header-inner {
        justify-content: space-between;
        padding: 18px 16px;
    }

    .nav-list {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        font-size: 1rem;
        padding: 8px 10px;
    }

    /* hero/hero-grid stack ensured elsewhere but tighten spacing */
    .hero-grid {
        gap: 14px;
    }

    .hero-left,
    .hero-right {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .hero-right-inner {
        margin-top: 28px;
        transform: none;
    }

    /* diagonal and offer sections: reduce padding */
    .diagonal-section,
    .offer-section {
        padding: 36px 0;
    }

    .diagonal-inner .split-left,
    .diagonal-inner .split-right {
        padding: 28px;
    }

    /* footer stack */
    .site-footer .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-bottom .container {
        gap: 6px;
    }

    /* reduce heavy decorations */
    body::before {
        opacity: 0.38;
        filter: blur(6px);
    }

    body::after {
        opacity: 0.6;
        filter: blur(10px);
    }

    .hero-decor .orb,
    .footer-orb,
    .diagonal-section .footer-orb {
        display: none;
    }
}

/* Mobile / small phones */
@media (max-width:640px) {
    .container {
        padding: 0 16px;
    }

    .logo .brand {
        font-size: 1rem;
    }

    .nav-list {
        gap: 10px;
    }

    .nav a {
        padding: 6px 8px;
        font-size: 0.95rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    /* On very small screens nudge the services grid if requested */
    .services-grid {
        position: relative;
        left: 120px;
    }

    .diagonal-section,
    .offer-section {
        padding: 24px 0;
    }

    /* hide animated overlays on small to improve performance */
    body::before,
    body::after {
        display: none;
    }

    /* footer: compact */
    .site-footer {
        padding-bottom: 24px;
    }

    .social-link {
        width: 48px;
        height: 48px;
    }
}

/* Ensure images and media scale down nicely */
img,
svg {
    max-width: 100%;
    height: auto;
}


.services .service-badge {
    /* small badge area kept for optional logos (if present) */
    position: absolute;
    left: 50%;
    top: 12px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
    z-index: 6;
    transform: translateX(-50%);
    background: radial-gradient(circle at 30% 30%, rgba(74, 159, 164, 0.98), rgba(156, 44, 107, 0.98));
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.services .service-badge::before {
    content: none;
}

.services .service-badge svg {
    width: 40px;
    height: 40px;
    display: block;
}

.services .service-badge:hover {
    transform: translateX(-50%) translateY(-2px) scale(1.02);
    transition: transform 220ms ease;
}

.services .service-list {
    list-style: none;
    padding-left: 0;
    margin: 12px 0 18px;
    color: var(--muted);
    text-align: left;
}

.services .service-list li {
    margin: 8px 0;
    font-weight: 700
}

/* heading rules consolidated above */

/* inline svg icons (deprecated) kept for fallback */
.svc-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 10px;
    fill: currentColor
}

/* Replace inline SVG icons with CSS bullets */
.service-list li {
    color: #f1f5f6;
    display: block;
    margin: 10px 0;
    position: relative;
    padding-left: 28px;
    line-height: 1.55;
    font-weight: 600;
    font-size: 1rem
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(230, 230, 230, 0.9));
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* center the list block inside the card while keeping items left-aligned */
.services .service-list,
.service-suite .service-list {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    margin-bottom: 22px;
}

.services .card .btn,
.service-suite .service-card .btn {
    margin-top: auto;
    align-self: center;
    min-width: 120px;
    display: inline-flex;
    justify-content: center
}

/* Ensure mobile/tablet breakpoint card sizing overrides earlier defaults */
@media (max-width:1099px) {
    .visual-card {
        flex: 0 0 33.3333% !important;
        max-width: 33.3333% !important;
    }

    .visual-track.no-carousel {
        justify-content: center !important;
    }

    .hero-visual.no-carousel {
        overflow-x: visible !important;
    }
}

/* stronger layout override to ensure three cards fit inside the hero visual */
@media (max-width:1099px) {
    .hero-visual {
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px 0 !important;
    }

    .visual-track.no-carousel {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 18px !important;
        min-width: 0 !important;
        /* allow children to shrink to container width */
    }

    .visual-card {
        /* three equal columns that account for gap between them */
        flex: 0 0 calc((100% - 36px) / 3) !important;
        max-width: calc((100% - 36px) / 3) !important;
        margin: 0 !important;
        /* remove default gutter margins so gap is controlled by track */
        box-sizing: border-box !important;
    }
}

/* Layout for absolute-positioned three-card view: center card fully visible, neighbors half-visible */
.hero-visual {
    overflow: visible !important;
    position: relative;
}

.visual-track.no-carousel {
    position: relative;
    height: auto;
}

/* User-requested offset for no-carousel track (also tolerate a typo selector) */
/* offsets moved to the mobile media query so they only apply below 1099px */


/* Ensure all visual cards use identical dimensions so animations remain consistent */
.visual-track .visual-card,
.visual-track.no-carousel .visual-card {
    /* pick a consistent size for the cards; height reduced so cards are less tall */
    width: 260px;
    height: 180px;
    /* half height */
    flex: 0 0 260px;
}

.visual-track.no-carousel .visual-card {
    position: absolute;
    /* move cards slightly lower for better visual alignment */
    top: 50%;
    transform: translateY(-50%) scale(0.92);
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity, left;
    transition: transform 360ms cubic-bezier(.22, .9, .12, 1), opacity 360ms cubic-bezier(.22, .9, .12, 1), left 360ms cubic-bezier(.22, .9, .12, 1);
}

.visual-track.no-carousel .visual-card .card-logo {
    width: 66px;
    height: 59px;
}

/* ensure img elements with the class are explicitly sized */
img.card-logo {
    width: 66px;
    height: 59px;
    object-fit: cover;
}

.visual-track.no-carousel .visual-card.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -56%) scale(1.12);
}

.services .card,
.service-suite .service-card {
    /* Premium glassy card style with subtle depth */
    --overlay-top: 140px;
    /* default distance from card top where overlay begins */
    background: rgba(24, 24, 28, 0.92);
    border-radius: 28px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
    padding: 28px 28px 22px 28px;
    /* tighter top padding so card is compact by default */
    margin: 0;
    min-width: 220px;
    max-width: 360px;
    min-height: 220px;
    /* smaller default height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* center the heading by default */
    position: relative;
    transition: padding 260ms cubic-bezier(.2, .9, .2, 1), min-height 260ms cubic-bezier(.2, .9, .2, 1), box-shadow 260ms ease, transform 220ms ease;
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px) saturate(1.02);
    overflow: visible;
    /* soft color washes for depth */
    background-image: radial-gradient(1200px 600px at 30% 20%, rgba(74, 159, 164, 0.06), transparent 8%), radial-gradient(900px 500px at 78% 72%, rgba(156, 44, 107, 0.05), transparent 10%);
}

.services .card .service-overlay,
.service-suite .service-card .service-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    /* collapsed overlay height (only enough for heading) — the variable expands on hover */
    height: var(--overlay-height, 56px) !important;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* center heading when collapsed */
    align-items: center;
    padding: 8px 18px;
    gap: 8px;
    background: transparent;
    /* keep collapsed bar visually neutral */
    color: #fff;
    text-align: left;
    border-radius: 0 0 28px 28px;
    /* match card lower radius only */
    z-index: 8;
    opacity: 1;
    transform: translateY(0);
    transition: height 260ms cubic-bezier(.2, .9, .2, 1), padding 260ms cubic-bezier(.2, .9, .2, 1), background 260ms ease;
    pointer-events: none;
    /* interactions enabled when expanded */
    overflow: hidden;
}

.service-suite .service-card {
    min-height: 220px;
}

/* On hover/focus, expand the overlay fully and reveal inner content */
.service-suite .service-card:hover .service-overlay,
.service-suite .service-card:focus-within .service-overlay {
    /* expand overlay visually above the card without changing layout */
    /* when hovered, make the overlay occupy the card interior so the
       card itself can grow via grid-row spanning; avoid absolute positioning */
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    height: 100% !important;
    box-sizing: border-box;
    justify-content: flex-start;
    padding: 22px 20px 26px;
    pointer-events: auto;
    background: linear-gradient(135deg, rgba(74, 159, 164, 0.94), rgba(156, 44, 107, 0.94));
    border-radius: 16px;
    z-index: 10;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.6);
    overflow: visible;
    /* show full content without internal scrollbar */
}

.service-suite .service-card:hover .service-overlay .overlay-inner,
.service-suite .service-card:focus-within .service-overlay .overlay-inner {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.service-suite .service-card:hover .service-overlay .service-list,
.service-suite .service-card:focus-within .service-overlay .service-list,
.service-suite .service-card:hover .service-overlay .btn,
.service-suite .service-card:focus-within .service-overlay .btn {
    opacity: 1;
    max-height: 999px;
    transform: translateY(0);
    pointer-events: auto;
}

/* hide duplicate heading when overlay is expanded */
.service-suite .service-card:hover .card-title,
.service-suite .service-card:focus-within .card-title {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none
}

.services .card .service-list,
.service-suite .service-card .service-list {
    margin: 0;
    max-width: 100%;
}

.services .card .service-list li,
.service-suite .service-card .service-list li {
    text-align: left;
    padding-left: 28px;
    margin-left: 0;
    font-size: 1rem
}

/* overlay title hidden when collapsed */
.services .card .service-overlay .overlay-title {
    display: block;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 200ms ease, transform 200ms ease;
    text-align: center;
    width: 100%;
    margin: 0;
}

/* inner container controls padding and alignment so text lines up consistently */
.services .card .service-overlay .overlay-inner,
.service-suite .service-card .service-overlay .overlay-inner {
    padding: 12px 22px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px
}

.services .card .service-overlay .overlay-inner .overlay-title,
.service-suite .service-card .service-overlay .overlay-inner .overlay-title {
    font-size: 1.12rem;
    text-align: center;
}

.services .card .service-overlay .overlay-inner .service-list,
.service-suite .service-card .service-overlay .overlay-inner .service-list {
    margin: 0;
    padding-left: 18px;
}

.services .card .service-overlay .overlay-inner .service-list li,
.service-suite .service-card .service-overlay .overlay-inner .service-list li {
    padding-left: 18px
}


.services .card:hover .service-overlay,
.service-suite .service-card:hover .service-overlay,
.services .card:focus-within .service-overlay,
.service-suite .service-card:focus-within .service-overlay {
    --overlay-height: 100%;
    /* expand to fully cover card interior and sit flush with borders */
    top: 0;
    height: 100% !important;
    justify-content: flex-start;
    /* align content to the top when expanded */
    padding: 18px 18px 24px;
    pointer-events: auto;
    /* apply themed gradient only when expanded */
    background: linear-gradient(135deg, rgba(74, 159, 164, 0.92), rgba(156, 44, 107, 0.92));
    /* match the card's rounded corners so the overlay appears rounded at the top */
    border-radius: inherit;
}

/* ensure overlay inner content is hidden until fully expanded to avoid flicker */
.services .card .service-overlay .overlay-inner,
.service-suite .service-card .service-overlay .overlay-inner {
    visibility: hidden;
    opacity: 0;
    transition: opacity 200ms ease, visibility 0s linear 200ms;
}

.services .card:hover .service-overlay .overlay-inner,
.service-suite .service-card:hover .service-overlay .overlay-inner,
.services .card:focus-within .service-overlay .overlay-inner,
.service-suite .service-card:focus-within .service-overlay .overlay-inner {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

/* hide list and CTA when overlay is collapsed */
.services .card .service-overlay .service-list,
.service-suite .service-card .service-overlay .service-list,
.services .card .service-overlay .btn,
.service-suite .service-card .service-overlay .btn {
    opacity: 0;
    max-height: 0;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, max-height 220ms ease;
    pointer-events: none;
}

/* reveal list and CTA only when overlay expanded */
.services .card:hover .service-overlay .service-list,
.service-suite .service-card:hover .service-overlay .service-list,
.services .card:focus-within .service-overlay .service-list,
.service-suite .service-card:focus-within .service-overlay .service-list,
.services .card:hover .service-overlay .btn,
.service-suite .service-card:hover .service-overlay .btn,
.services .card:focus-within .service-overlay .btn,
.service-suite .service-card:focus-within .service-overlay .btn {
    opacity: 1;
    max-height: 999px;
    transform: translateY(0);
    pointer-events: auto;
}

/* overlay-inner handles scrolling; keep outer overlay clipped to avoid showing scrollbars during transition */
.services .card .service-overlay .overlay-inner {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch
}

.services .card .service-overlay .overlay-inner::-webkit-scrollbar {
    display: none
}

.services .card .service-overlay .overlay-inner {
    scrollbar-width: none;
    -ms-overflow-style: none
}

/* fade out outer visible title when overlay expands to avoid duplicate headings */
.services .card .card-title,
.service-suite .service-card .card-title {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease;
}

.services .card:hover .card-title,
.service-suite .service-card:hover .card-title,
.services .card:focus-within .card-title,
.service-suite .service-card:focus-within .card-title {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none
}

/* show overlay title when expanded */
.services .card:hover .service-overlay .overlay-title,
.service-suite .service-card:hover .service-overlay .overlay-title,
.services .card:focus-within .service-overlay .overlay-title,
.service-suite .service-card:focus-within .service-overlay .overlay-title {
    opacity: 1;
    transform: translateY(0);
}

/* Expand card on hover: visual lift without layout changes */
.services .card:hover,
.service-suite .service-card:hover {
    --overlay-top: 110px;
    /* overlay will start below the heading */
    /* avoid layout shifts: do not change min-height or padding here */
    justify-content: flex-start;
    /* push heading to the top visually */
    /* allow hovered card to grow to fit full overlay + CTA */
    min-height: 420px;
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 8px 28px rgba(156, 44, 107, 0.06);
}

.services .card:focus-within {
    --overlay-top: 110px;
    justify-content: flex-start;
}

/* (removed JS-expanded mirror rules) */

/* Keep heading visible above the overlay */
.services .card h3 {
    position: relative;
    z-index: 12
}

/* Slight adjustment for small screens so overlay fits */
@media (max-width:640px) {
    .services .card .service-overlay {
        top: 86px;
        padding: 16px 16px 20px
    }
}

.services .card:hover {
    --overlay-top: 110px;
    /* overlay will start below the heading (unused now) */
    /* avoid changing layout size on hover to prevent page scrollbars */
    justify-content: flex-start;
    /* push heading to the top visually */
    /* allow hovered card to grow to fit full overlay + CTA */
    min-height: 420px;
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 8px 28px rgba(156, 44, 107, 0.06);
}

.services .card:focus-within {
    --overlay-top: 110px;
    justify-content: flex-start;
}

.services .card::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -30px;
    width: 80%;
    height: 18px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--teal) 0%, var(--magenta) 100%);
    opacity: 0;
    /* hidden by default, revealed on hover */
    filter: blur(10px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    transition: opacity 300ms ease, transform 300ms ease, filter 300ms ease;
}

.services .card:hover::before,
.services .card:focus-within::before {
    opacity: 0.28;
    transform: translateX(-50%) translateY(-6px);
    filter: blur(12px);
    animation: cardAccentBar 3.5s ease-in-out infinite alternate;
}

@keyframes cardAccentBar {

    /* no-op kept for compatibility */
    0% {
        opacity: 0;
        filter: none;
    }

    50% {
        opacity: 0;
        filter: none;
    }

    100% {
        opacity: 0;
        filter: none;
    }
}

.services .card:hover {
    transform: translateY(-10px) scale(1.045);
    /* reintroduce a colored glow on hover */
    box-shadow: 0 12px 40px 0 rgba(156, 44, 107, 0.18), 0 6px 28px 0 rgba(74, 159, 164, 0.12), 0 6px 18px rgba(0, 0, 0, 0.36);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    align-items: start;
    grid-auto-rows: auto;
    /* allow individual cards to size independently */
}

/* Move Services section slightly up to tighten spacing with the hero */
#services {
    margin-top: -40px;
    padding-top: 28px;
    /* preserve internal spacing after overlap */
}

@media (max-width:800px) {
    #services {
        margin-top: -18px;
        padding-top: 22px
    }
}

/* Testimonials: follow page theme and match Services/Face styling */
.testimonials {
    padding-top: 64px;
    padding-bottom: 64px;
    background: linear-gradient(160deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 60%);
    position: relative;
    z-index: 3;
    overflow: visible;
    height: 620px;
}

/* extra particles specifically for testimonials to match services density */
.testimonials::before {
    content: '';
    position: absolute;
    left: -5%;
    right: -5%;
    top: -15%;
    bottom: -15%;
    pointer-events: none;
    z-index: 1;
    /* larger, softer orbs plus smaller particles for depth - max visibility */
    background-image:
        radial-gradient(circle at 8% 30%, rgba(74, 159, 164, 0.65) 0%, rgba(74, 159, 164, 0.3) 20%, transparent 45%),
        radial-gradient(circle at 86% 36%, rgba(156, 44, 107, 0.6) 0%, rgba(156, 44, 107, 0.25) 20%, transparent 45%),
        radial-gradient(circle at 12% 18%, rgba(74, 159, 164, 0.7) 0%, rgba(74, 159, 164, 0.35) 15%, transparent 35%),
        radial-gradient(circle at 36% 44%, rgba(156, 44, 107, 0.65) 0%, rgba(156, 44, 107, 0.3) 15%, transparent 35%),
        radial-gradient(circle at 60% 72%, rgba(74, 159, 164, 0.6) 0%, rgba(74, 159, 164, 0.25) 12%, transparent 30%),
        radial-gradient(circle at 84% 38%, rgba(156, 44, 107, 0.55) 0%, rgba(156, 44, 107, 0.2) 12%, transparent 28%),
        radial-gradient(circle at 20% 65%, rgba(74, 159, 164, 0.5) 0%, rgba(74, 159, 164, 0.2) 10%, transparent 25%),
        radial-gradient(circle at 50% 15%, rgba(156, 44, 107, 0.48) 0%, rgba(156, 44, 107, 0.18) 10%, transparent 22%),
        radial-gradient(circle at 75% 85%, rgba(74, 159, 164, 0.45) 0%, rgba(74, 159, 164, 0.15) 8%, transparent 18%),
        radial-gradient(circle at 92% 65%, rgba(156, 44, 107, 0.4) 0%, rgba(156, 44, 107, 0.12) 8%, transparent 15%),
        radial-gradient(circle at 25% 50%, rgba(74, 159, 164, 0.38) 0%, transparent 12%),
        radial-gradient(circle at 68% 58%, rgba(156, 44, 107, 0.35) 0%, transparent 10%);
    background-repeat: no-repeat;
    /* make a mix of big and small particle sizes for depth */
    background-size: 40% 40%, 38% 38%, 18% 18%, 16% 16%, 14% 14%, 12% 12%, 10% 10%, 8% 8%, 6% 6%, 5% 5%, 4% 4%, 3% 3%;
    filter: blur(30px);
    will-change: background-position;
    animation: heroParticles 24s linear infinite;
    opacity: 1;
}

/* static particles + top divider so testimonials visually matches services */
.testimonials::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(156, 44, 107, 0.15), rgba(74, 159, 164, 0.12), rgba(255, 255, 255, 0.08)),
        radial-gradient(circle at 14% 22%, rgba(74, 159, 164, 0.5) 0%, rgba(74, 159, 164, 0.2) 15%, transparent 35%),
        radial-gradient(circle at 46% 48%, rgba(156, 44, 107, 0.45) 0%, rgba(156, 44, 107, 0.18) 15%, transparent 32%),
        radial-gradient(circle at 78% 68%, rgba(74, 159, 164, 0.4) 0%, rgba(74, 159, 164, 0.15) 12%, transparent 30%),
        radial-gradient(circle at 32% 75%, rgba(156, 44, 107, 0.38) 0%, rgba(156, 44, 107, 0.12) 12%, transparent 25%),
        radial-gradient(circle at 65% 25%, rgba(74, 159, 164, 0.35) 0%, rgba(74, 159, 164, 0.1) 10%, transparent 22%),
        radial-gradient(circle at 88% 88%, rgba(156, 44, 107, 0.32) 0%, transparent 18%),
        radial-gradient(circle at 10% 90%, rgba(74, 159, 164, 0.3) 0%, transparent 15%);
    background-repeat: no-repeat;
    background-size: 100% 3px, 20% 20%, 18% 18%, 22% 22%, 16% 16%, 14% 14%, 12% 12%, 10% 10%;
    background-position: top center, 14% 22%, 46% 48%, 78% 68%, 32% 75%, 65% 25%, 88% 88%, 10% 90%;
    filter: blur(15px);
    opacity: 1;
}

#testimonial-avatar-2 {
    left: 250px;
    top: 284px;
}

#testimonial-avatar-1 {
    left: 240px;
    top: 370px;
}

#testimonial-avatar-3 {
    left: -205px;
    top: 370px;
}

#testimonial-avatar-4 {
    left: -205px;
    top: 284px;
}

.testimonials .section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 18px;
    letter-spacing: 1px;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(90deg, var(--teal) 10%, var(--magenta) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    z-index: 10;
}

.testimonials .section-title::after {
    display: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-top: 18px;
    position: relative;
    z-index: 10;
}

.testimonial-card {
    background: rgba(24, 24, 28, 0.88);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    /* soft ornamental orb in the corner */
    content: '';
    position: absolute;
    top: -36px;
    right: -36px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 30% 30%, rgba(156, 44, 107, 0.14), rgba(74, 159, 164, 0.06));
    filter: blur(28px);
    opacity: 0.95;
    pointer-events: none;
    transform: rotate(18deg);
    z-index: 0;
}

.testimonial-card::after {
    /* subtle left accent stripe */
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(180deg, var(--teal), var(--magenta));
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.testimonial-card .quote {
    color: #e6ecec;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 16px 0;
    font-style: normal;
}

.testimonial-card .quote {
    position: relative;
    z-index: 2
}

.testimonial-card .meta {
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.testimonial-card .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    margin-top: -26px;
    /* overlap the card top */
}

.testimonial-card .who {
    color: #fff
}

.testimonial-card .role {
    color: var(--muted);
    font-size: 0.85rem
}

@media (max-width:900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 22px 68px rgba(0, 0, 0, 0.72), 0 6px 36px rgba(156, 44, 107, 0.08), 0 4px 24px rgba(74, 159, 164, 0.06);
}

/* Slight tilt variation to make cards less uniform */
.testimonial-card:nth-child(odd) {
    transform-origin: center;
    transform: rotate(-0.6deg);
}

.testimonial-card:nth-child(even) {
    transform-origin: center;
    transform: rotate(0.6deg);
}

.testimonial-card:nth-child(odd):hover,
.testimonial-card:nth-child(even):hover {
    transform: rotate(0) translateY(-8px) scale(1.01);
}

/* Side-column testimonials layout: center card with 2 icons each side */
.testimonials-shell {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 133px 0 38px
}

.testimonials-center {
    width: 100%;
    max-width: 800px;
    background: rgba(18, 18, 20, 0.92);
    border-radius: 28px;
    padding: 40px 52px;
    text-align: center;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 5;
    /* sit above connector SVG */
    /* ensure the box doesn't shrink below a usable size but can grow to show content */
    min-height: 260px;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-avatar {
    position: absolute;
    left: 50%;
    top: -61px;
    transform: translateX(-50%);
    width: 122px;
    height: 122px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 28px 88px rgba(0, 0, 0, 0.75);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    z-index: 7
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.testimonials-center {
    padding-top: 100px;
}

.center-rating {
    margin-top: 18px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center
}

.center-rating .stars {
    color: #ffd36b;
    font-size: 1.05rem;
    letter-spacing: 2px
}

.center-rating .learn-more {
    padding: 8px 14px;
    border-radius: 18px;
    font-weight: 700
}

.center-quote {
    color: #eaf0f0;
    font-size: 1.09rem;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 76%;
}

.center-who {
    color: #fff;
    font-weight: 800
}

.center-role {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600
}

.testimonials-orbit,
#testimonial-orbit {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    pointer-events: none;
}

.testimonials-orbit .side-column,
#testimonial-orbit .side-column {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 0;
    width: 80px;
    height: 100%;
    align-items: center;
}

.testimonials-orbit .side-left,
#testimonial-orbit .side-left {
    left: 0;
    top: 0;
    width: 100px;
}

.testimonials-orbit .side-right,
#testimonial-orbit .side-right {
    right: 0;
    top: 0;
    width: 100px;
}

.testimonials-orbit .orbit-avatar,
#testimonial-orbit .orbit-avatar {
    display: inline-flex;
    position: absolute;
    z-index: 4;
    width: 61px;
    height: 61px;
    border-radius: 50%;
    padding: 4px;
    border: 3px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 8, 10, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 460ms cubic-bezier(.2, .9, .25, 1), box-shadow 240ms ease
}

.testimonials-orbit .orbit-avatar img,
#testimonial-orbit .orbit-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover
}

.testimonials-orbit .orbit-avatar.active,
#testimonial-orbit .orbit-avatar.active {
    transform: translate(-50%, -50%) scale(1.4);
    z-index: 6;
    box-shadow: 0 28px 88px rgba(0, 0, 0, 0.75), 0 6px 36px rgba(156, 44, 107, 0.08);
}

/* SVG connector lines styling */
.testimonials-orbit .orbit-lines,
#testimonial-orbit .orbit-lines {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1
}

.testimonials-orbit .orbit-lines path,
#testimonial-orbit .orbit-lines path {
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 1.5;
    stroke-dasharray: 4 6;
    fill: none
}

.testimonials-orbit .orbit-lines polygon,
#testimonial-orbit .orbit-lines polygon {
    stroke: rgba(156, 44, 107, 0.06);
    stroke-width: 1.4;
    stroke-dasharray: 6 6;
    fill: none;
    vector-effect: non-scaling-stroke;
    opacity: 0.38
}

.testimonials-orbit .orbit-lines polygon.active,
#testimonial-orbit .orbit-lines polygon.active {
    stroke: rgba(156, 44, 107, 0.14);
    stroke-width: 2.2;
    stroke-dasharray: 6 4;
    opacity: 0.65
}

.testimonials-orbit .orbit-lines circle.node,
#testimonial-orbit .orbit-lines circle.node {
    fill: rgba(156, 44, 107, 0.12);
    transition: r 240ms ease, fill 240ms ease, opacity 240ms ease;
    r: 3;
    opacity: 0.7
}

.testimonials-orbit .orbit-lines circle.node.active,
#testimonial-orbit .orbit-lines circle.node.active {
    fill: rgba(156, 44, 107, 0.95);
    r: 5;
    opacity: 1
}

.testimonials-orbit .orbit-avatar,
#testimonial-orbit .orbit-avatar {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.06)
}

@media (max-width:900px) {

    /* .testimonials-orbit,
    #testimonial-orbit,
    .testimonial-orbit {
        width: 360px;
        height: 360px;
        margin: 0 auto;
        left: 0 !important;
    } */

    .testimonials-orbit .orbit-avatar,
    #testimonial-orbit .orbit-avatar {
        width: 60px;
        height: 60px;
        transform: translate(-8, -50%) !important;
    }

    /* Fix avatar positions to prevent animation drift */
    /* #testimonial-orbit .side-left .orbit-avatar:first-child {
        left: 15% !important;
        top: 30% !important;
    } */

    /* #testimonial-orbit .side-left .orbit-avatar:last-child {
        left: 15% !important;
        top: 70% !important;
    } */

    /* #testimonial-orbit .side-right .orbit-avatar:first-child {
        left: 85% !important;
        top: 30% !important;
    } */

    /* #testimonial-orbit .side-right .orbit-avatar:last-child {
        left: 85% !important;
        top: 70% !important;
    } */

    /* Keep active avatar centered and scaled */
    #testimonial-orbit .orbit-avatar.active {
        transform: translate(-50%, -50%) scale(1.4) !important;
    }

    .testimonials-center {
        padding: 28px 24px
    }

    /* allow the card to size naturally on smaller screens */
    .testimonials-center {
        height: auto;
        overflow: visible
    }

    .testimonials-shell {
        padding: 36px 0 20px
    }

    .center-quote {
        margin-top: 50px;
    }

    .testimonials-orbit .side-left,
    #testimonial-orbit .side-left {
        top: -29px;
    }

    .testimonials-orbit .side-right,
    #testimonial-orbit .side-right {
        top: -29px;
    }

    .face .max-width-wrapper>.face-track .face-item img,
    .face .container>.face-track .face-item img,
    .face-track .face-item img {
        width: 57% !important;
        height: 75vh !important;
    }
}

/* Make Testimonials visually match Services: same dark background + heading style */
@media (max-width:1496px) {

    /* Exact pixel placement for testimonial-avatar-3 when viewport is <= 1496px */
    #testimonial-avatar-3 {
        position: absolute;
        left: -200px;
        top: 282px;
    }

    /* Exact pixel placement for testimonial-avatar-4 when viewport is <= 1496px */
    #testimonial-avatar-4 {
        position: absolute;
        left: -200px;
        top: 370px;
    }

    /* Exact pixel placement for testimonial-avatar-2 when viewport is <= 1496px */
    #testimonial-avatar-2 {
        position: absolute;
        left: 240px;
        top: 282px;
    }

    /* Exact pixel placement for testimonial-avatar-1 when viewport is <= 1486px */
    #testimonial-avatar-1 {
        position: absolute;
        left: 240px;
        top: 370px;
    }
}

@media (max-width:1412px) {
    #testimonial-avatar-3 {
        left: -160px;
    }

    #testimonial-avatar-4 {
        left: -160px;
    }

    #testimonial-avatar-2 {
        left: 200px;
    }

    #testimonial-avatar-1 {
        left: 200px;
    }
}

@media (max-width:1323px) {
    #testimonial-avatar-3 {
        left: -120px;
    }

    #testimonial-avatar-4 {
        left: -120px;
    }

    #testimonial-avatar-2 {
        left: 160px;
    }

    #testimonial-avatar-1 {
        left: 160px;
    }
}

@media (max-width:1243px) {
    #testimonial-avatar-3 {
        left: -80px;
    }

    #testimonial-avatar-4 {
        left: -80px;
    }

    #testimonial-avatar-2 {
        left: 120px;
    }

    #testimonial-avatar-1 {
        left: 120px;
    }
}

@media (max-width:1171px) {
    #testimonial-avatar-3 {
        left: -40px;
    }

    #testimonial-avatar-4 {
        left: -40px;
    }

    #testimonial-avatar-2 {
        left: 80px;
    }

    #testimonial-avatar-1 {
        left: 80px;
    }
}

/* Specific smaller breakpoint for avatar-4 placement */
@media (max-width:1101px) {
    #testimonial-avatar-4 {
        position: absolute;
        left: -40px;
    }

    /* Exact pixel placement for testimonial-avatar-2 when viewport is <= 1101px */
    #testimonial-avatar-2 {
        position: absolute;
        left: 80px;
    }
}

.testimonials {
    padding-top: 64px;
    padding-bottom: 64px;
    background: linear-gradient(160deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 60%);
    position: relative;
    z-index: 2;
    overflow: visible;
}

.testimonials::before {
    content: '';
    position: absolute;
    left: 4%;
    right: 4%;
    top: -6%;
    bottom: -6%;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 8% 30%, rgba(74, 159, 164, 0.14) 0%, transparent 30%),
        radial-gradient(circle at 86% 36%, rgba(156, 44, 107, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 12% 18%, rgba(74, 159, 164, 0.18) 0%, transparent 18%),
        radial-gradient(circle at 36% 44%, rgba(156, 44, 107, 0.14) 0%, transparent 16%),
        radial-gradient(circle at 60% 72%, rgba(74, 159, 164, 0.12) 0%, transparent 14%),
        radial-gradient(circle at 84% 38%, rgba(156, 44, 107, 0.10) 0%, transparent 12%);
    background-repeat: no-repeat;
    background-size: 28% 28%, 24% 24%, 10% 10%, 8% 8%, 6% 6%, 5% 5%;
    filter: blur(16px);
    will-change: background-position;
    animation: heroParticles 24s linear infinite;
    opacity: 0.5;
}

.testimonials::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 12%;
    pointer-events: none;
    z-index: 1;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(156, 44, 107, 0.04), rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 14% 22%, rgba(74, 159, 164, 0.12) 0%, transparent 22%),
        radial-gradient(circle at 46% 48%, rgba(156, 44, 107, 0.10) 0%, transparent 20%),
        radial-gradient(circle at 78% 68%, rgba(74, 159, 164, 0.08) 0%, transparent 18%);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: 100% 2px, 10% 10%, 8% 8%, 12% 12%;
    background-position: top center, 12% 28%, 46% 48%, 78% 68%;
    filter: blur(6px);
    opacity: 0.45;
}

.testimonials .section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1.2px;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(90deg, var(--teal) 10%, var(--magenta) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    text-transform: uppercase;
    line-height: 1.1;
    filter: drop-shadow(0 2px 18px rgba(156, 44, 107, 0.12));
}

.testimonials .section-title::after {
    content: '';
    display: block;
    width: 160px;
    height: 6px;
    margin: 16px auto 0;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--teal), var(--magenta), var(--teal));
    opacity: 0.7;
    box-shadow: 0 2px 24px 0 rgba(156, 44, 107, 0.18);
    transition: box-shadow 300ms ease, opacity 300ms ease;
}

.testimonials:hover .section-title::after,
.testimonials:focus-within .section-title::after {
    animation: headingBarGlow 4s linear infinite alternate;
    opacity: 1;
}

@keyframes headingBarGlow {
    0% {
        opacity: 0.7;
        box-shadow: 0 2px 24px 0 rgba(156, 44, 107, 0.18);
    }

    50% {
        opacity: 1;
        box-shadow: 0 4px 36px 0 rgba(74, 159, 164, 0.22);
    }

    100% {
        opacity: 0.7;
        box-shadow: 0 2px 24px 0 rgba(156, 44, 107, 0.18);
    }

}

.card {
    background: rgba(255, 255, 255, 0.02);
    padding: 18px;
    border-radius: 10px
}

.card h3 {
    margin: 0 0 8px
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px
}

.thumb {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 28px;
    border-radius: 8px;
    text-align: center;
    color: var(--muted)
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start
}

.contact-copy h2 {
    margin-top: 0
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.contact-form label {
    display: flex;
    flex-direction: column;
    color: var(--muted);
    font-size: 0.9rem
}

.contact-form input,
.contact-form textarea {
    margin-top: 6px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: #fff
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 28px 0;
    margin-top: 0;
    position: relative;
    z-index: 5;
    background: linear-gradient(160deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 60%) !important;
    color: #ddd !important;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 12px
}

.site-footer,
.footer-inner {
    color: var(--muted);
}

.small {
    color: var(--muted);
    font-size: 0.9rem
}

@media (max-width:800px) {
    .hero-inner {
        flex-direction: column
    }

    .contact-inner {
        grid-template-columns: 1fr
    }

    .header-inner {
        padding: 12px 0
    }

    .hero h1 {
        font-size: 1.6rem
    }

    .hero-visual {
        flex: 1;
        max-width: none;
        width: 100%;
        padding: 8px 0
    }

    .hero-content {
        text-align: center
    }

    .hero-content>p {
        text-align: center
    }
}

/* (curtain removed) */

/* page textures */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    /* subtle theme wash + texture dots */
    background-image:
        linear-gradient(120deg, rgba(74, 159, 164, 0.03), rgba(156, 44, 107, 0.02)),
        radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: auto, 36px 36px;
    background-repeat: no-repeat, repeat;
    opacity: 0.55;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    /* remove heavy repeating texture that created a dark band behind sections */
    background-image: none;
    opacity: 0;
    filter: none;
    pointer-events: none
}

/* hero heading entrance */
.hero h1 {
    opacity: 0;
    transform: translateY(6px);
    animation: fadeUp 900ms cubic-bezier(.2, .9, .2, 1) 300ms forwards
}

.hero .lead {
    opacity: 0;
    transform: translateY(6px);
    animation: fadeUp 900ms cubic-bezier(.2, .9, .2, 1) 450ms forwards
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none
    }
}

/* small utilities */
.sr-only {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.contact-copy h2 {
    margin-top: 0
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.contact-form label {
    display: flex;
    flex-direction: column;
    color: var(--muted);
    font-size: 0.9rem
}

.contact-form input,
.contact-form textarea {
    margin-top: 6px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: #fff
}



.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 12px
}

.small {
    color: var(--muted);
    font-size: 0.9rem
}

@media (max-width:800px) {
    .hero-inner {
        flex-direction: column
    }

    .contact-inner {
        grid-template-columns: 1fr
    }

    .header-inner {
        padding: 12px 0
    }

    .hero h1 {
        font-size: 1.6rem
    }

    .hero-visual {
        flex: 1;
        max-width: none;
        width: 100%;
        padding: 8px 0
    }

    .hero-content {
        text-align: center
    }

    .hero-content>p {
        text-align: center
    }
}

/* (curtain removed) */

/* page textures */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.5;
    pointer-events: none;
    mix-blend-mode: overlay
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0 2px, transparent 2px 80px);
    opacity: 0.6;
    filter: blur(6px);
    pointer-events: none
}

/* hero heading entrance */
.hero h1 {
    opacity: 0;
    transform: translateY(6px);
    animation: fadeUp 900ms cubic-bezier(.2, .9, .2, 1) 300ms forwards
}

.hero .lead {
    opacity: 0;
    transform: translateY(6px);
    animation: fadeUp 900ms cubic-bezier(.2, .9, .2, 1) 450ms forwards
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none
    }
}

/* subtle accent line under hero */
.hero .container::after {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(100% + 6px);
    width: 140px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--magenta));
    opacity: 0.06;
    transform: translateX(-50%)
}

/* small utilities */
.sr-only {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

/* accessibility: ensures heavy motion can be reduced */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important
    }
}

/* service-specific particle elements (created by JS) */
.service-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: screen;
    transform: translate3d(0, 0, 0);
    will-change: transform, opacity;
}

/* NOTE: service/face particles are enabled. Removed a previous rule that hid them. */

.face {
    /* make Face match Services exactly: same dark gradient, padding and visible particles */
    padding-top: 64px;
    padding-bottom: 64px;
    background: linear-gradient(160deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 60%);
    position: relative;
    z-index: 2;
    overflow: visible;
}

.face .section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1.2px;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(90deg, var(--teal) 10%, var(--magenta) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    z-index: 10;
    text-transform: uppercase;
    line-height: 1.1;
    filter: drop-shadow(0 2px 18px rgba(156, 44, 107, 0.12));
}

.face .section-sub {
    color: var(--muted);
    text-align: center;
    margin-bottom: 26px;
    position: relative;
    z-index: 10;
}

/* Match services particle treatment so Face sits in the same visual plane */
.face::before {
    content: '';
    position: absolute;
    left: -5%;
    right: -5%;
    top: -15%;
    bottom: -15%;
    pointer-events: none;
    z-index: 1;
    /* larger, softer orbs plus smaller particles for depth - max visibility */
    background-image:
        radial-gradient(circle at 8% 30%, rgba(74, 159, 164, 0.65) 0%, rgba(74, 159, 164, 0.3) 20%, transparent 45%),
        radial-gradient(circle at 86% 36%, rgba(156, 44, 107, 0.6) 0%, rgba(156, 44, 107, 0.25) 20%, transparent 45%),
        radial-gradient(circle at 12% 18%, rgba(74, 159, 164, 0.7) 0%, rgba(74, 159, 164, 0.35) 15%, transparent 35%),
        radial-gradient(circle at 36% 44%, rgba(156, 44, 107, 0.65) 0%, rgba(156, 44, 107, 0.3) 15%, transparent 35%),
        radial-gradient(circle at 60% 72%, rgba(74, 159, 164, 0.6) 0%, rgba(74, 159, 164, 0.25) 12%, transparent 30%),
        radial-gradient(circle at 84% 38%, rgba(156, 44, 107, 0.55) 0%, rgba(156, 44, 107, 0.2) 12%, transparent 28%),
        radial-gradient(circle at 20% 65%, rgba(74, 159, 164, 0.5) 0%, rgba(74, 159, 164, 0.2) 10%, transparent 25%),
        radial-gradient(circle at 50% 15%, rgba(156, 44, 107, 0.48) 0%, rgba(156, 44, 107, 0.18) 10%, transparent 22%),
        radial-gradient(circle at 75% 85%, rgba(74, 159, 164, 0.45) 0%, rgba(74, 159, 164, 0.15) 8%, transparent 18%),
        radial-gradient(circle at 92% 65%, rgba(156, 44, 107, 0.4) 0%, rgba(156, 44, 107, 0.12) 8%, transparent 15%),
        radial-gradient(circle at 25% 50%, rgba(74, 159, 164, 0.38) 0%, transparent 12%),
        radial-gradient(circle at 68% 58%, rgba(156, 44, 107, 0.35) 0%, transparent 10%);
    background-repeat: no-repeat;
    /* make a mix of big and small particle sizes for depth */
    background-size: 40% 40%, 38% 38%, 18% 18%, 16% 16%, 14% 14%, 12% 12%, 10% 10%, 8% 8%, 6% 6%, 5% 5%, 4% 4%, 3% 3%;
    filter: blur(30px);
    will-change: background-position;
    animation: heroParticles 24s linear infinite;
    opacity: 1;
}

/* subtle top divider + static particles like services */
.face::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(156, 44, 107, 0.15), rgba(74, 159, 164, 0.12), rgba(255, 255, 255, 0.08)),
        radial-gradient(circle at 14% 22%, rgba(74, 159, 164, 0.5) 0%, rgba(74, 159, 164, 0.2) 15%, transparent 35%),
        radial-gradient(circle at 46% 48%, rgba(156, 44, 107, 0.45) 0%, rgba(156, 44, 107, 0.18) 15%, transparent 32%),
        radial-gradient(circle at 78% 68%, rgba(74, 159, 164, 0.4) 0%, rgba(74, 159, 164, 0.15) 12%, transparent 30%),
        radial-gradient(circle at 32% 75%, rgba(156, 44, 107, 0.38) 0%, rgba(156, 44, 107, 0.12) 12%, transparent 25%),
        radial-gradient(circle at 65% 25%, rgba(74, 159, 164, 0.35) 0%, rgba(74, 159, 164, 0.1) 10%, transparent 22%),
        radial-gradient(circle at 88% 88%, rgba(156, 44, 107, 0.32) 0%, transparent 18%),
        radial-gradient(circle at 10% 90%, rgba(74, 159, 164, 0.3) 0%, transparent 15%);
    background-repeat: no-repeat;
    background-size: 100% 3px, 20% 20%, 18% 18%, 22% 22%, 16% 16%, 14% 14%, 12% 12%, 10% 10%;
    background-position: top center, 14% 22%, 46% 48%, 78% 68%, 32% 75%, 65% 25%, 88% 88%, 10% 90%;
    filter: blur(15px);
    opacity: 1;
}

.face .section-title::after {
    content: '';
    display: block;
    width: 160px;
    height: 6px;
    margin: 16px auto 0;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--teal), var(--magenta), var(--teal));
    opacity: 0.7;
    box-shadow: 0 2px 24px 0 rgba(156, 44, 107, 0.18);
    transition: box-shadow 300ms ease, opacity 300ms ease;
}

/* run underline glow only on hover/focus */
.face:hover .section-title::after,
.face:focus-within .section-title::after {
    animation: headingBarGlow 4s linear infinite alternate;
    opacity: 1;
}

/* Particles for `.face` are enabled via the earlier `.face::before` and `.face::after` rules (matching `.services`). */

.service-particle.static {
    filter: blur(14px);
    opacity: 0.95;
}

.service-particle.moving {
    filter: blur(14px);
    opacity: 0.95;
}

/* hide horizontal scrollbar visually while keeping scroll functionality */
.hero-visual {
    -ms-overflow-style: none;
    /* IE/Edge */
    scrollbar-width: none;
    /* Firefox */
}

.hero-visual::-webkit-scrollbar {
    display: none;
}

/* ---------------------------------
   Dedicated services page styling
   --------------------------------- */
.service-page {
    /* mirror index background so no light gaps appear between sections */
    background-image:
        radial-gradient(circle at 20% 10%, rgba(74, 159, 164, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 80% 60%, rgba(156, 44, 107, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 40% 80%, rgba(74, 159, 164, 0.04) 0%, transparent 25%),
        linear-gradient(120deg, rgba(74, 159, 164, 0.03), rgba(156, 44, 107, 0.02)),
        linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
    background-color: #050505;
}

.service-page::after {
    /* subtle particle wash across the whole page like the index */
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        radial-gradient(circle at 16% 18%, rgba(74, 159, 164, 0.08) 0%, transparent 32%),
        radial-gradient(circle at 82% 22%, rgba(156, 44, 107, 0.07) 0%, transparent 32%),
        radial-gradient(circle at 64% 78%, rgba(74, 159, 164, 0.05) 0%, transparent 36%);
    filter: blur(10px);
    opacity: 0.85;
}

.service-page .site-header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.service-hero {
    position: relative;
    padding: 110px 0 70px;
    overflow: hidden;
}

.service-hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.service-hero-decor .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(26px);
    opacity: 0.28;
}

.service-hero-decor .orb--teal {
    width: 320px;
    height: 320px;
    top: 6%;
    left: -4%;
    background: radial-gradient(circle at 35% 35%, rgba(74, 159, 164, 0.6), transparent 60%);
    animation: floatOrb 22s ease-in-out infinite alternate;
}

.service-hero-decor .orb--magenta {
    width: 280px;
    height: 280px;
    bottom: 2%;
    right: -8%;
    background: radial-gradient(circle at 40% 40%, rgba(156, 44, 107, 0.55), transparent 60%);
    animation: floatOrb 18s ease-in-out infinite alternate-reverse;
}

.service-hero-decor .ribbon {
    position: absolute;
    width: 260px;
    height: 28px;
    background: linear-gradient(90deg, rgba(74, 159, 164, 0.22), rgba(156, 44, 107, 0.22));
    filter: blur(18px);
    opacity: 0.55;
}

.service-hero-decor .ribbon--left {
    top: 24%;
    left: -10%;
    transform: rotate(-18deg);
}

.service-hero-decor .ribbon--right {
    bottom: 16%;
    right: -14%;
    transform: rotate(14deg);
}

.service-hero:hover .service-hero-decor .orb {
    opacity: 0.36;
}

@keyframes floatOrb {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(12px, -10px, 0) scale(1.03);
    }

    100% {
        transform: translate3d(-8px, 14px, 0) scale(1.02);
    }
}

.service-hero::before,
.service-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(480px 480px at 18% 22%, rgba(74, 159, 164, 0.16), transparent 55%), radial-gradient(520px 520px at 82% 36%, rgba(156, 44, 107, 0.14), transparent 52%);
    filter: blur(12px);
    opacity: 0.8;
}

.service-hero::after {
    background: radial-gradient(380px 380px at 50% 92%, rgba(255, 255, 255, 0.06), transparent 70%);
    opacity: 0.5;
}

.service-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    /* single centered column for hero content */
    gap: 32px;
    align-items: center;
    justify-content: center;
    /* center grid track horizontally */
}

/* center hero content when single column or decorative panel is removed */
.service-hero__grid {
    justify-items: center;
}

.service-hero__text {
    text-align: center;
    margin: 0 auto;
    max-width: var(--max-width);
    /* keep heading constrained and centered */
}

.service-hero__text .lead,
.hero-actions,
.service-meta {
    justify-content: center;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.service-hero__text h1 {
    font-size: 2.8rem;
    line-height: 1.05;
    margin: 0 0 16px;
}

.service-hero__text .lead {
    max-width: 720px;
    margin: 0 auto 22px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 10px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 700;
    color: #f5f7f8;
    letter-spacing: 0.2px;
}

.pill::before {
    content: '●';
    font-size: 0.8em;
    color: var(--teal);
}

.pill-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.04);
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.service-hero__panel {
    display: flex;
    justify-content: flex-end;
}

.panel-card {
    background: linear-gradient(150deg, rgba(24, 24, 28, 0.9), rgba(12, 12, 14, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 26px;
    max-width: 520px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 200ms ease;
    animation: floatCard 10s ease-in-out infinite;
}

.panel-kicker {
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--muted);
    margin: 0 0 10px;
    font-weight: 800;
}

.panel-list {
    margin: 0 0 16px;
    padding-left: 18px;
    color: #e4e7e9;
    line-height: 1.6;
}

.panel-list li {
    margin: 8px 0;
}

.panel-foot {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.panel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 96px rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.12);
}

.service-suite {
    position: relative;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.95) 0%, rgba(8, 8, 10, 0.96) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 60px 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
    overflow: hidden;
}

.service-suite::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(520px 520px at 18% 12%, rgba(74, 159, 164, 0.12), transparent 60%), radial-gradient(520px 520px at 78% 84%, rgba(156, 44, 107, 0.1), transparent 62%);
    filter: blur(16px);
    opacity: 0.7;
    pointer-events: none;
}

.service-suite {
    padding: 40px 0 48px;
}

.service-suite .section-heading {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto 18px;
}

.service-suite .section-title {
    font-size: 3.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
    line-height: 1;
    /* vibrant gradient-filled headline */
    background: linear-gradient(90deg, #9b8fe0 0%, #d18bb3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
    animation: headlinePop 520ms cubic-bezier(.2, .9, .12, 1) both;
}

.service-suite .section-sub {
    color: #aeb4b6;
    margin: 8px auto 0;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 760px
}

/* decorative underline that grows in on load/hover */
.service-suite .section-title::after {
    content: '';
    display: block;
    width: 160px;
    height: 8px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--magenta) 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

@keyframes headlinePop {
    0% {
        opacity: 0;
        transform: translateY(6px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-deck {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px 16px;
    /* create predictable row tracks so a single card can span rows on hover */
    grid-auto-rows: minmax(220px, auto);
    align-items: start;
}

/* Service-suite specific overrides: allow overlays to escape card bounds
    and prevent hover from changing card min-height (avoids reflow of neighbors) */
.service-suite .service-card {
    overflow: visible;
}

.service-deck .service-card {
    align-self: start;
}

/* expand only the hovered card by spanning an extra implicit row */
.service-deck .service-card:hover {
    grid-row: span 2;
    transform: translateY(-6px);
}

.service-deck .service-card:focus-within {
    grid-row: span 2;
}

.service-card {
    position: relative;
    background: rgba(18, 18, 22, 0.94);
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px) saturate(1.04);
    overflow: hidden;
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 200ms ease;
    scroll-margin-top: 110px;
    min-height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 240ms ease;
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(74, 159, 164, 0.08), rgba(156, 44, 107, 0.08));
    opacity: 0;
    transition: opacity 240ms ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover::before {
    opacity: 0.18;
    animation: sheen 1.6s ease;
}

.service-card:focus-within {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
}

.service-card__header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(140deg, var(--teal), var(--magenta));
    color: #000;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.service-card h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
}

.service-sub {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.service-card:hover .service-chip {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    filter: saturate(1.2);
}

.service-card__body {
    position: relative;
    z-index: 1;
}

.service-lede {
    margin: 0 0 10px;
    font-weight: 800;
    color: #e5e8ea;
    letter-spacing: 0.2px;
}

.service-points {
    list-style: none;
    margin: 0 0 10px;
    padding-left: 0;
}

.service-points li {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #f1f5f6;
    line-height: 1.55;
    font-weight: 600;
}

.service-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(230, 230, 230, 0.85));
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.service-points li:hover {
    color: #ffffff;
}

.service-points li:hover::before {
    background: linear-gradient(90deg, var(--teal), var(--magenta));
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.service-bottom {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

/* entrance animation (staggered) */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.995);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-card {
    opacity: 0;
    transform-origin: center;
}

.service-card.animate {
    animation: fadeUp 640ms cubic-bezier(.22, .9, .12, 1) forwards;
}

.service-card.animate:nth-child(1) {
    animation-delay: 80ms
}

.service-card.animate:nth-child(2) {
    animation-delay: 140ms
}

.service-card.animate:nth-child(3) {
    animation-delay: 200ms
}

.service-card.animate:nth-child(4) {
    animation-delay: 260ms
}

.service-card.animate:nth-child(5) {
    animation-delay: 320ms
}

.service-card.animate:nth-child(6) {
    animation-delay: 380ms
}

.service-card.animate:nth-child(7) {
    animation-delay: 440ms
}

.service-card.animate:nth-child(8) {
    animation-delay: 500ms
}

.service-card.animate:nth-child(9) {
    animation-delay: 560ms
}

/* subtle vertical separator between columns on wide screens */
@media(min-width:1100px) {
    .service-deck::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 6%;
        bottom: 6%;
        width: 1px;
        transform: translateX(-50%);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
        pointer-events: none;
        opacity: 0.22;
        border-radius: 2px;
    }
}

/* CTA inside card */
.card-cta {
    margin-top: 18px;
    display: flex;
    justify-content: flex-start;
    gap: 10px
}

.card-cta .btn {
    padding: 8px 12px;
    font-size: 0.95rem
}

.service-cta {
    padding: 56px 0 64px;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.96) 0%, rgba(8, 8, 10, 0.94) 100%);
    margin: 0;
}

.service-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(120deg, rgba(74, 159, 164, 0.06), rgba(156, 44, 107, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.5);
}

.service-cta h3 {
    margin: 8px 0;
    font-size: 1.6rem;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@keyframes sheen {
    0% {
        opacity: 0;
        transform: translateX(-60%);
    }

    50% {
        opacity: 0.25;
    }

    100% {
        opacity: 0;
        transform: translateX(120%);
    }
}

@keyframes floatCard {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    .service-hero {
        padding-top: 88px;
    }

    .service-hero__text h1 {
        font-size: 2.2rem;
    }

    .service-hero__grid {
        grid-template-columns: 1fr;
    }

    .panel-card {
        max-width: 100%;
    }

    .service-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .service-hero {
        padding: 72px 0 48px;
    }

    .service-hero__text h1 {
        font-size: 1.9rem;
    }

    .service-suite {
        padding: 54px 14px;
        border-radius: 18px;
    }

    .service-deck {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px;
    }
}

/* -----------------------------
   Responsive layout helpers
   ----------------------------- */

/* container padding adjustments */
.container {
    padding: 0 20px;
}

/* Hero: stack content on narrow viewports */
@media (max-width:1099px) {
    .hero-inner {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .hero-content {
        text-align: center;
        max-width: 820px;
    }

    .hero-visual {
        width: 100%;
    }

    .visual-track {
        display: flex;
        gap: 18px;
        overflow-x: auto;
        padding: 12px 8px;
        -webkit-overflow-scrolling: touch;
    }

    .visual-card {
        min-width: 260px;
        flex: 0 0 auto;
    }

    /* On narrower screens keep CTAs in the flow and centered for accessibility */
    .hero-content {
        position: relative;
        padding-bottom: 16px;
        z-index: 3;
        text-align: center;
    }

    /* Make primary CTA centered but allow a small relative offset when requested */
    .hero-content>p>a.btn-primary {
        position: relative;
        display: inline-block;
        margin: 14px auto 0;
        transform: none;
        left: 32%;
        /* user requested offset */
        bottom: auto;
        z-index: 4;
    }

    .hero-content>p {
        margin: 18px 39px 0;
    }

    /* apply the visual-track offset only on narrow viewports as requested */
    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -36%;
        top: -76%;
    }

    /* Nudge the services section subtext a bit on narrow screens so it doesn't collide
       with decorative or overlapping elements shown on smaller viewports. */
    .services .section-sub {
        margin-top: 8px;
        /* moved upward on small screens per request */
    }

    /* Move the main services block upward on small screens as requested */
    #services {
        margin-top: -460px;
    }

    /* also nudge outline CTA similarly when present */
    .hero-content>p>a.btn-outline {
        position: relative;
        left: 33%;
    }
}

@media (max-width:901px) {

    /* Fixes for very small screens where the "face" (hero visual) can break */
    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -270px;
        /* adjusted per request */
        top: -314px;
        transform: none;
        justify-content: center;
        padding: 0 12px;
    }

    .visual-card {
        flex: 0 0 85%;
        max-width: 85%;
        min-width: 220px;
    }

    .visual-track {
        overflow: visible;
    }

    .hero-visual.no-carousel {
        overflow-x: visible;
    }
}

@media (max-width:800px) {
    .hero {
        padding: 48px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .lead {
        font-size: 0.98rem;
    }
}

/* Services grid becomes a single column on small screens */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

@media (max-width:850px) {
    .hero-content>p {
        text-align: center !important;
    }
}

/* Small-screen CTA offsets under 850px */
@media (max-width:850px) {
    .hero-content>p>a.btn-primary {
        position: relative !important;
        left: -2% !important;
    }

    .hero-content>p>a.btn-outline {
        position: relative !important;
        left: 1% !important;
    }
}

@media (max-width:640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services .card {
        padding: 22px;
    }
}

/* Hero visual: ensure the track can't force page width on wide screens */
@media (min-width:1101px) {
    .visual-track {
        min-width: 0;
    }
}

/* Face strip: keep connected look on wide screens, swipeable on mobile */
@media (max-width:900px) {
    .face .container>.face-track {
        gap: 18px !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .face .face-item {
        border-radius: 12px !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
        min-width: 72vw !important;
        flex: 0 0 72vw !important;
    }
}

/* Header / nav responsiveness */
@media (max-width:640px) {
    .header-inner {
        padding: 12px 0;
    }

    .logo .brand {
        font-weight: 700;
    }

    .nav {
        display: none;
    }
}

/* small tweaks for very small phones */
@media (max-width:420px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.2rem;
    }
}

/* accessibility: increase tap targets on small screens */
@media (max-width:640px) {
    .btn {
        padding: 12px 16px;
        font-size: 1rem;
    }
}

/* Hide native horizontal scrollbar for Face track while keeping scrollability */
.face .container>.face-track,
.face-track {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    /* Firefox */
    -ms-overflow-style: none !important;
    /* IE 10+ */
}

.face .container>.face-track::-webkit-scrollbar,
.face-track::-webkit-scrollbar {
    height: 0 !important;
    display: none !important;
}

/* Make nav bar fixed on all pages */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* use a CSS variable for header height so spacing stays consistent */
    --site-header-height: 72px;
    min-height: var(--site-header-height);
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* apply top padding equal to header height so content doesn't hide underneath */
body {
    padding-top: var(--site-header-height, 72px);
}

/* Ensure header remains fixed and does not shift while scrolling */
.site-header {
    position: fixed !important;
    will-change: transform;
}

/* Contact page background will inherit page theme; overrides removed */

/* --- Face-track: Default behavior for larger screens (wrap, centered) --- */
.face .max-width-wrapper>.face-track,
.face .container>.face-track {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 12px;
}

.face .max-width-wrapper>.face-track .face-item,
.face .container>.face-track .face-item {
    flex: 0 0 auto;
    width: min(340px, 30%);
    max-width: 340px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.face .max-width-wrapper>.face-track .face-item img,
.face .container>.face-track .face-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

/* Small-screen fix: horizontal scroll for Face Of The Company section */
@media (max-width:901px) {

    .face .max-width-wrapper>.face-track,
    .face .container>.face-track,
    .face-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        scroll-padding-inline-start: 5% !important;
        padding: 8px 5% !important;
        gap: 16px !important;
    }

    .face .max-width-wrapper>.face-track .face-item,
    .face .container>.face-track .face-item,
    .face-track .face-item {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 80vw !important;
        min-width: auto !important;
        box-sizing: border-box !important;
        scroll-snap-align: start !important;
    }

    .face .max-width-wrapper>.face-track .face-item img,
    .face .container>.face-track .face-item img,
    .face-track .face-item img {
        width: auto !important;
        height: 50vh !important;
        max-width: 80vw !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        display: block !important;
    }
}

/* Adjust visual-track and services vertical position on very small screens */

/* Slightly reduce the visual-track vertical offset on very narrow screens */
@media (max-width:839px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        top: -265px !important;
    }
}

@media (max-width:801px) {

    /* ensure both spellings used in the stylesheet are covered */
    .visual-track.no-carousel,
    .visual-track.no-carouse {
        top: -132px !important;
    }

    /* bring services block closer on very small screens */
    #services {
        margin-top: -52px !important;
    }
}

/* Fine-tune visual-track position on slightly narrower screens */
@media (max-width:761px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -245px !important;
        top: -125px !important;
    }
}

@media (max-width:701px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -214px !important;
        top: -127px !important;
    }
}

@media (max-width:651px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -190px !important;
        top: -127px !important;
    }
#logo-media{
    position: relative;
    left: 112px;
}
#logo-entertainment{
    position: relative;
    left: -138px;
    top: 82px;
}
#logo-youtube
    {
    position: relative;
    left: 113px;
    top: 16px;
}
#logo-events
    {
    position: relative;
    left: 0px;
    top: -19px;
}
#logo-tiktok
    {
    position: relative;
    top: 76px;
    left: -127px;
}
.hero-logos{
        position: relative;
    left: 12px;
}

    .hero-right-inner {
        margin-top: 90px !important;
    }
}

@media (max-width: 621px) {
    .hero-left {
        position: relative;
        left: 49%;
    }

    .hero-right-inner {
        margin-top: 100px !important;
    }
}

@media (max-width:601px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -163px !important;
    }

    .hero-left {
        position: relative;
        left: 47%;
    }
}

@media (max-width:600px) {
    .services-grid {
        position: relative;
        left: 110px;
    }
}

@media (max-width:580px) {
    .services-grid {
        position: relative;
        left: 80px;
    }
}

@media (max-width:593px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -155px !important;
        top: -100px !important;
    }

    #services {
        margin-top: 0px !important;
    }
}

@media (max-width:551px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -138px !important;
        top: -87px !important;
    }
}

@media (max-width:530px) {
    .services-grid {
        position: relative;
        left: 60px;
    }
}

@media (max-width:502px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -117px !important;
        top: -85px !important;
    }
}

@media (max-width:500px) {
    .services-grid {
        position: relative;
        left: 50px;
    }
}

@media (max-width:471px) {
    .services-grid {
        position: relative;
        left: 30px;
    }
}

@media (max-width:430px) {
    .services-grid {
        position: relative !important;
        left: 20px !important;
    }
}
@media (max-width:420px) {
    .services .card {
        max-width: 310px;
    }

    .services-grid {
        position: relative !important;
        left: 37px !important;
    }
}

@media (max-width:400px) {
    .services-grid {
        position: relative !important;
        left: 30px !important;
    }
}

@media (max-width:380px) {
    .services-grid {
        position: relative !important;
        left: 17px !important;
    }
}

@media (max-width:360px) {
    .services .card {
        max-width: 270px;
    }

    .services-grid {
        position: relative !important;
        left: 28px !important;
    }
}

@media (max-width:340px) {
    .services-grid {
        position: relative !important;
        left: 19px !important;
    }
}

@media (max-width:325px) {
    .services .card {
        max-width: 250px;
    }

    .services-grid {
        position: relative !important;
        left: 20px !important;
    }
}

@media (max-width:315px) {
    .services-grid {
        position: relative !important;
        left: 13px !important;
    }
}

@media (max-width:300px) {
    .services .card {
        max-width: 227px;
        min-height: 166px;
    }

    .services-grid {
        position: relative !important;
        left: 19px !important;
    }

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -4px !important;
    }
}

/* Final override: ensure visual-track offset for very small viewports wins */

@media (max-width:481px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -109px !important;
        top: -81px !important;
    }
}

@media (max-width:441px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -76px !important;
        top: -66px !important;
    }
}

@media (max-width:414px) {
    .hero-content>p>a.btn-outline {
        left: -4% !important;
        margin-top: 15px !important;
        position: relative !important;
    }
}

@media (max-width:414px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -65px !important;
        top: -52px !important;
    }
}

@media (max-width:381px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -47px !important;
        top: -45px !important;
    }
}

@media (max-width:370px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -38px !important;
        top: -37px !important;
    }
}

@media (max-width:341px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -31px !important;
        top: -37px !important;
    }
}

@media (max-width:322px) {
    .visual-track.no-carouse {
        left: -16px !important;
        top: -37px !important;
    }
}

@media (max-width:321px) {

    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -16px !important;
        top: -37px !important;
    }
}

@media (max-width:304px) {
    .hero-content>p>a.btn-primary {
        margin: -8px auto 0 !important;
    }
}

@media (max-width:300px) {

    .hero-visual .visual-track.no-carousel,
    .hero-visual .visual-track.no-carouse,
    .visual-track.no-carousel,
    .visual-track.no-carouse {
        left: -4px !important;
    }
}

/* Responsive tweak: make testimonial orbit slightly wider on narrower viewports */
@media (max-width:1091px) {

    #testimonial-orbit,
    .testimonials-orbit,
    .testimonial-orbit {
        width: 102% !important;
    }
}

/* For viewports <= 1071px: force full width and position avatar 1 + 3 */
@media (max-width:1071px) {

    /* ensure all variants are covered and take precedence */
    #testimonial-orbit,
    .testimonials-orbit,
    .testimonial-orbit {
        width: 100% !important;
    }

    #testimonial-avatar-2 {
        left: 40px;
    }

    #testimonial-avatar-1 {
        left: 40px;
    }

    #testimonial-avatar-3 {
        left: 0px;
    }

    #testimonial-avatar-4 {
        left: 0px;
    }
}

@media (max-width:1002px) {
    #testimonial-orbit {
        left: 16%;
        width: 70% !important;
    }

    #testimonial-avatar-3 {
        left: 134px;
    }

    #testimonial-avatar-4 {
        left: 134px;
    }

    #testimonial-avatar-1 {
        left: -83px;
    }

    #testimonial-avatar-2 {
        left: -83px;
    }

}

/* @media (max-width: 891px) {
    #testimonial-orbit .side-right .orbit-avatar:first-child {
        left: 552px !important;
    }

    .testimonials-center {
        top: 97px;
    }

    .hero-avatar {
        top: -95px;
    }

    .testimonials {
        height: 691px;
    }
} */

/* @media (max-width: 871px) {
    #testimonial-orbit .side-right .orbit-avatar:first-child {
        left: 543px !important;
    }

    .testimonials-center {
        top: 97px;
    }

    .hero-avatar {
        top: -95px;
    }

    .testimonials {
        height: 691px;
    }
} */

/* @media (max-width: 851px) {
    #testimonial-orbit .side-right .orbit-avatar:first-child {
        left: 530px !important;
    }

    .testimonials-center {
        top: 97px;
    }

    .hero-avatar {
        top: -95px;
    }

    .testimonials {
        height: 691px;
    }
} */

@media (max-width:831px) {
    #testominial-avatar-3 {
        left: -124px !important;
    }

    #testominial-avatar-4 {
        left: -124px !important;
    }
}

/* @media (max-width: 811px) {
    #testimonial-orbit .side-right .orbit-avatar:first-child {
        left: 502px !important;
    }

    .testimonials-center {
        top: 97px;
    }

    .hero-avatar {
        top: -95px;
    }

    .testimonials {
        height: 691px;
    }
} */

/* @media (max-width: 791px) {
    #testimonial-orbit .side-right .orbit-avatar:first-child {
        left: 489px !important;
    }

    .testimonials-center {
        top: 97px;
    }

    .hero-avatar {
        top: -95px;
    }

    .testimonials {
        height: 691px;
    }
} */

/* @media (max-width: 771px) {
    #testimonial-orbit .side-right .orbit-avatar:first-child {
        left: 477px !important;
    }

    .testimonials-center {
        top: 97px;
    }

    .hero-avatar {
        top: -95px;
    }

    .testimonials {
        height: 691px;
    }
} */

@media (max-width: 755px) {

    .testimonials-orbit .side-right,
    #testimonial-orbit .side-right {
        right: 9px;
    }
}

@media (max-width: 731px) {
    #testimonial-orbit {
        left: 24%;
    }

    #testimonial-orbit {

        width: 52% !important;
    }
}

@media (max-width:705px) {
    .hero {
        padding-bottom: 191px;
    }
}

/* @media (max-width: 711px) {
    #testimonial-orbit .side-right .orbit-avatar:first-child {
        left: 437px !important;
    }

    #testimonial-orbit .side-left .orbit-avatar:first-child {
        top: 39% !important;
    }

    #testimonial-orbit .side-left .orbit-avatar:last-child {
        top: 66% !important;
    }

    #testimonial-orbit .side-right .orbit-avatar:first-child {
        top: 39% !important;
    }

    #testimonial-orbit .side-right .orbit-avatar:last-child {
        top: 66% !important;
    }

    .testimonials-center {
        top: 97px;
    }

    .hero-avatar {
        top: -95px;
    }

    .testimonials {
        height: 691px;
    }

} */

/* @media (max-width: 691px) {
    #testimonial-orbit .side-right .orbit-avatar:first-child {
        left: 426px !important;
    }

    .testimonials-center {
        top: 97px;
    }

    .hero-avatar {
        top: -95px;
    }

    .testimonials {
        height: 691px;
    }
} */

@media (max-width: 671px) {

    .testimonials-orbit,
    #testimonial-orbit {
        top: 75px;
    }
}

@media (max-width: 651px) {
    .hero-right {
        top: 79px;
    }
}

/* @media (max-width: 651px) {

    #testimonial-orbit,
    .testimonials-orbit,
    .testimonial-orbit {
        left: -3% !important;
    }

    #testimonial-orbit .side-right .orbit-avatar:last-child {
        left: 91% !important;
    }

    .testimonials-center {
        top: 97px;
    }

    .hero-avatar {
        top: -95px;
    }

    .testimonials {
        height: 691px;
    }
} */

/* @media (max-width: 631px) {
    #testimonial-orbit .side-right .orbit-avatar:last-child {
        left: 94% !important;
    }

    .testimonials-center {
        top: 97px;
    }

    .hero-avatar {
        top: -95px;
    }

    .testimonials {
        height: 691px;
    }
} */

/* @media (max-width: 611px) {

    #testimonial-orbit,
    .testimonials-orbit,
    .testimonial-orbit {
        left: -5% !important;
    }

    #testimonial-orbit .side-right .orbit-avatar:last-child {
        left: 98% !important;
    }

    .testimonials-center {
        top: 97px;
    }

    .hero-avatar {
        top: -95px;
    }

    .testimonials {
        height: 691px;
    }
} */

/* @media (max-width: 591px) {
    #testimonial-orbit .side-right .orbit-avatar:last-child {
        left: 101% !important;
    }

    #testimonial-orbit,
    .testimonials-orbit,
    .testimonial-orbit {
        left: -6% !important;
    }

    .testimonials-center {
        top: 97px;
    }

    .hero-avatar {
        top: -95px;
    }

    .testimonials {
        height: 691px;
    }
} */
@media (max-width:631px) {
    .hero {
        padding-bottom: 437px;
    }

    .side-box.left-box {
        position: relative;
        top: 160px;
        left: 190px;
    }

    .side-box.right-box {
        position: relative;
        top: 317px;
        left: -188px;
    }

    .hero-right {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        top: 10%;
    }
    .hero-left {
        position: relative;
        left: 49%;
        transform: translateX(-50%);
    }
}
@media (max-width:621px) {
        .hero-left {
        position: relative;
        left: 48% ;
    }
}@media (max-width:611px) {
        .hero-left {
        position: relative;
        left: 47% ;
    }
}
@media (max-width:601px) {
        .hero-left {
        position: relative;
        left: 46% ;
    }
}
@media (max-width:591px) {
    .hero-left {
        position: relative;
        left: 45%;
    }
}
@media (max-width: 581px) {

    .testimonials-orbit,
    #testimonial-orbit {
        top: 110px;
    }

    .hero-left {
        position: relative;
        left: 44%;
    }
}
@media (max-width:571px) {
    .hero-left {
        position: relative;
        left: 43%;
    }
}

/* @media (max-width: 531px) {
    #testimonial-orbit .side-right .orbit-avatar:last-child {
        left: 113% !important;
    }

    #testimonial-orbit,
    .testimonials-orbit,
    .testimonial-orbit {
        left: -13% !important;
    }

    .testimonials-center {
        top: 97px;
    }

    .hero-avatar {
        top: -95px;
    }

    .testimonials {
        height: 691px;
    }
} */
 @media (max-width:561px) {
    .hero-left {
        position: relative;
        left: 42%;
    }
 }
@media (max-width:551px) {
    .hero-left {
        position: relative;
        left: 41.5%;
    }
    .hero-right {
        position: relative;
        left: 47%;
        transform: translateX(-50%);
        top: 10%;
    }
}
@media (max-width:541px) {
    .hero-left {
        position: relative;
        left: 41%;
    }
}
@media (max-width:531px) {
    .hero-left {
        position: relative;
        left: 40.5%;
    }
    .hero-right {
        position: relative;
        left: 43%;
        
    }
}

@media (max-width: 511px) {
    .face {
        padding-top: 112px;
    }

    .testimonials {
        height: 722px;
    }

    .hero-left {
        position: relative;
        left: 40%;
    }
}

@media (max-width: 501px) {
    .hero-left {
        position: relative;
        left: 38%;
    }
}
@media (max-width:491px) {
    .hero-right {
        position: relative;
        left: 40%;
        
    }
    .hero-left {
        position: relative;
        left: 37%;
    }
}
@media (max-width:481px) {
    .hero-left {
        position: relative;
        left: 36%;
    }
}
@media (max-width: 471px) {
    .testimonials {
        height: 900px;
    }

    #testimonial-avatar-4 {
        left: 73px;
        top: 723px;
    }

    #testimonial-avatar-3 {
        left: -24px;
        top: 723px;
    }

    #testimonial-avatar-2 {
        top: 723px;
        left: -15px;
    }

    #testimonial-avatar-1 {
        top: 723px;
        left: 92px;
    }

    .testimonials-orbit,
    #testimonial-orbit {
        top: 0px;
    }

    #testimonial-orbit {
        width:
            70% !important;
    }

    #testimonial-orbit {
        left: 15%;
    }
    .hero-right {
        position: relative;
        left: 38%;
    }

}

@media (max-width: 461px) {
    .hero-left {
        position: relative;
        left: 35%;
    }
}

@media (max-width: 451px) {

    #testimonial-avatar-2 {
        left: 0px;
    }
        .hero-left {
        position: relative;
        left: 34%;
    }
}

@media (max-width: 441px) {
    #testimonial-avatar-1 {
        left: 82px;
    }
}

@media (max-width: 431px) {
    #testimonial-avatar-4 {
        left: 60px;
    }
        .hero-left {
        position: relative;
        left: 33%;
    }
}

@media (max-width: 426px) {
    .nav-toggle__box {
        left: -36px;
    }

    .hero-left {
        position: relative;
        left: 32%;
    }

    
    .hero-right {
        position: relative;
        left: 35%;
    }
}

@media (max-width: 420px) {}

@media (max-width: 411px) {
    .hero-left {
        position: relative;
        left: 31%;
    }
}

@media (max-width: 401px) {
    #testimonial-avatar-1 {
        left: 75px;
    }

    #testimonial-avatar-3 {
        left: -19px;
    }

   .hero-left {
        position: relative;
        left: 30%;
    }
    .hero-right {
        position: relative;
        left: 33%;
    }
}
@media (max-width:391px) {
    .hero-left {
        position: relative;
        left: 29%;
    }
}
@media (max-width: 381px) {
    #testimonial-avatar-1 {
        top: 858px;
    }

    #testimonial-avatar-2 {
        top: 858px;
    }

    #testimonial-avatar-3 {
        top: 858px;
    }

    #testimonial-avatar-4 {
        top: 858px;
    }

    .muted {
        width: 340px;
    }

    .hero-left .hero-text {
        width: 358px;
    }

       .hero-left {
        position: relative;
        left: 30%;
    }

    .muted {
        width: 264px;
    }

    .hero-left .hero-text {
        width: 260px;
        margin-left: 40px;
    }

    .hero-logos {
        margin-left: -12px;
    }
        #logo-media {
        position: relative;
        left: 129px;
    }
    #logo-entertainment {
        position: relative;
        left: -120px;
        top: 82px;
    }
    #logo-events {
        position: relative;
        left: -20px;
        top: -19px;
    }
        #logo-tiktok {
        position: relative;
        top: 76px;
        left: -148px;
    }
}

@media (max-width:371px) {
    #testimonial-avatar-1 {
        left: 65px;
    }

    #testimonial-avatar-3 {
        left: -13px;
    }

    .testimonials-orbit,
    #testimonial-orbit {
        height: 108%;
    }
    .hero-right {
        position: relative;
        left: 31%;
    }
        #logo-tiktok {
        position: relative;
        top: 76px;
        left: -155px;
    }
        #logo-media {
        position: relative;
        left: 132px;
    }
        #logo-entertainment {
        position: relative;
        left: -118px;
        top: 82px;
    }
        #logo-events {
        position: relative;
        left: -30px;
        top: -19px;
    }
}
@media (max-width:375px) {
    .hero-left {
        position: relative;
        left: 29%;
    }
}
@media (max-width:365px) {
    .hero-left {
        position: relative;
        left: 28%;
    }
}
@media (max-width:361px) {
    .hero-left {
        position: relative;
        left: 28%;
    }
}
@media (max-width:355px) {
    .hero-left {
        position: relative;
        left: 27.5%;
    }
}
@media (max-width:35px) {
    .hero-left {
        position: relative;
        left: 27.5%;
    }
}

@media (max-width:351px) {
    #testimonial-avatar-3 {
        left: -6px;
    }

    .hero-left {
        left: 28%;
    }
    .hero-right {
        position: relative;
        left: 29%;
    }
}
@media (max-width:345px) {
    .hero-left {
        position: relative;
        left: 27%;
    }
}
@media (max-width:342px) {
    #testimonial-avatar-1 {
        left: 61px;
    }

    .diagonal-inner .right-content {
        margin-right: -13px;
        text-align: center !important;
    }

    .diagonal-inner .left-content {
        max-width: 640px;
        margin-right: -13px;
        text-align: center !important;
    }

    .muted {
        width: 247px;
    }
        .hero-left {
        left: 27%;
    }
}

@media (max-width:331px) {
    .hero-left {
        left: 26%;
    }

    .offer-cards {
        position: relative;
        left: -7px;
    }

    .diagonal-inner .left-content {
        position: relative;
        left: -6px;
    }
    .hero-right {
        position: relative;
        left: 27%;
    }

}

@media (max-width:325px) {
    #testimonial-avatar-1 {
        top: 800px;
        left: 47px;
    }

    #testimonial-avatar-2 {
        top: 800px;
        left: -12px;
    }

    #testimonial-avatar-3 {
        top: 800px;
    }

    #testimonial-avatar-4 {
        top: 800px;
    }

    .diagonal-inner .split-left,
    .diagonal-inner .split-right {
        padding: 14px;
    }

    .offer-cards {
        position: relative;
        left: -8px;
        text-align: center !important;
    }
    
}

@media (max-width:321px) {
    .offer-cards {
        position: relative;
        left: -12px;
    }

    .diagonal-inner .left-content {
        position: relative;
        left: -10px;
    }

    .offer-region {
        position: relative;
        left: -19px;
    }
        .hero-left {
        left: 25%;
    }
}

@media (max-width:311px) {
    .hero-left {
        left: 24%;
    }
    .hero-right {
        position: relative;
        left: 25%;
    }
}

/* Final overrides: ensure boxed text wraps and consistent padding */
.side-box,
.award-card {
    padding: 28px !important;
}

/* Small-screen reset: remove positional offsets applied to logo images
   in media queries narrower than 651px so clickable areas match visuals. */

.side-box h1,
.side-box h2,
.side-box h3,
.side-box p,
.award-card h1,
.award-card h2,
.award-card h3,
.award-card p,
.services .card h1,
.services .card h2,
.services .card h3,
.services .card p,
.hero-left .hero-text h1,
.hero-left .hero-text h2,
.hero-left .hero-text p,
.hero-content h1,
.hero-content h2,
.hero-content p,
.visual-card .card-content h3,
.visual-card .card-content p {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}