/*
==================================================================
Pluton Technologies — Modern Gradient + Glassmorphism Theme
Version: 1.0 (2026-09-24)
------------------------------------------------------------------
Loaded LAST on every page, after style.css, page <style> blocks,
inside-service.css and blogs-style.css. It only overrides looks;
the original layout files are left untouched.
==================================================================
*/

:root {
    /* Brand + multicolour palette */
    --primary-blue: #0ea5e9;
    --pluton-accent-blue: #0ea5e9;
    --c-indigo: #4f46e5;
    --c-violet: #a855f7;
    --c-pink: #ec4899;
    --c-orange: #f97316;
    --c-amber: #f59e0b;
    --c-cyan: #06b6d4;
    --c-teal: #14b8a6;

    --grad-main: linear-gradient(120deg, #0ea5e9, #6366f1, #a855f7, #ec4899, #f97316);
    --grad-cool: linear-gradient(135deg, #06b6d4 0%, #6366f1 55%, #a855f7 100%);
    --grad-warm: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f97316 100%);
    --grad-flow: linear-gradient(90deg, #0ea5e9, #6366f1, #a855f7, #ec4899, #f97316, #a855f7, #6366f1, #0ea5e9);

    --ink: #0f172a;
    --ink-soft: #334155;
    --muted: #576579;
    --primary-dark-gray: #1e293b;
    --heading-color: #0f172a;
    --text-color: #475569;
    --background-light-gray: #f5f7ff;
    --border-color: rgba(99, 102, 241, 0.14);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-bg-strong: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.65);
    --glass-blur: saturate(170%) blur(18px);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    --glass-shadow-hover: 0 24px 60px rgba(99, 102, 241, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    --glass-dark-bg: rgba(255, 255, 255, 0.07);
    --glass-dark-border: rgba(255, 255, 255, 0.16);

    --radius: 22px;
    --radius-sm: 14px;
    --font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Poppins', system-ui, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Keyframes ---------- */
@keyframes gradientFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes blobDrift {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(6vw, -4vh) scale(1.12); }
    66%  { transform: translate(-4vw, 5vh) scale(0.94); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes kenBurns {
    from { transform: scale(1.02); }
    to   { transform: scale(1.14); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes shine {
    from { transform: translateX(-120%) skewX(-20deg); }
    to   { transform: translateX(220%) skewX(-20deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background: #f6f7fd;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Live aurora background behind everything (gives the glass something to blur) */
body::before,
body::after {
    content: '';
    position: fixed;
    z-index: -1;
    width: 60vmax;
    height: 60vmax;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    pointer-events: none;
    animation: blobDrift 26s ease-in-out infinite;
}
body::before {
    top: -20vmax;
    left: -15vmax;
    background: radial-gradient(circle, #818cf8 0%, #c084fc 45%, transparent 70%);
}
body::after {
    bottom: -25vmax;
    right: -18vmax;
    background: radial-gradient(circle, #f472b6 0%, #fb923c 40%, #22d3ee 65%, transparent 75%);
    animation-duration: 32s;
    animation-direction: reverse;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    letter-spacing: -0.02em;
    font-weight: 700;
}

a { color: var(--c-indigo); }
a:hover { color: var(--c-pink); }

button, input, select, textarea { font-family: inherit; }

::selection { background: rgba(168, 85, 247, 0.25); color: var(--ink); }

/* Gradient text helper */
.section-title h2,
.column-right h2,
.about-section-text h2,
.contact-form-container h2,
.automation-page .content-section h2,
.product-page h2,
.blog-post h1 {
    background: var(--grad-main);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientFlow 10s ease infinite;
}

.section-title h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; }
.section-title h2::after {
    content: '';
    display: block;
    width: 72px;
    height: 5px;
    margin: 14px auto 0;
    border-radius: 99px;
    background: var(--grad-flow);
    background-size: 300% 100%;
    animation: gradientFlow 6s linear infinite;
}
.section-title p { color: var(--muted); }

.section-padding { padding: clamp(56px, 8vw, 96px) 0; }
.bg-light { background: transparent; }

/* Scroll progress bar (element added by main.js) */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: var(--grad-flow);
    background-size: 200% 100%;
    animation: gradientFlow 4s linear infinite;
    z-index: 3000;
    pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
    border-radius: 999px;
    padding: 13px 30px;
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s;
}
.btn-primary,
.contact-form .btn-primary,
.contact-banner-content .btn-banner,
.sidebar-btn-full {
    background: var(--grad-flow);
    background-size: 300% 100%;
    animation: gradientFlow 8s ease infinite;
    color: #fff !important;
    border: 0;
    box-shadow: 0 10px 30px -8px rgba(168, 85, 247, 0.6);
}
.btn-primary::after,
.contact-banner-content .btn-banner::after,
.sidebar-btn-full::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: translateX(-120%) skewX(-20deg);
    z-index: -1;
}
.btn-primary:hover::after,
.contact-banner-content .btn-banner:hover::after,
.sidebar-btn-full:hover::after { animation: shine 0.9s ease; }
.btn-primary:hover,
.contact-form .btn-primary:hover,
.contact-banner-content .btn-banner:hover,
.sidebar-btn-full:hover {
    background: var(--grad-flow);
    background-size: 300% 100%;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -10px rgba(236, 72, 153, 0.65);
}

/* Secondary: glass pill with gradient border */
.btn-secondary {
    color: var(--ink) !important;
    background:
        linear-gradient(var(--glass-bg-strong), var(--glass-bg-strong)) padding-box,
        var(--grad-main) border-box;
    border: 2px solid transparent;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.btn-secondary:hover {
    background: var(--grad-main) padding-box, var(--grad-main) border-box;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 34px -10px rgba(99, 102, 241, 0.55);
}
.btn.disabled { opacity: 0.55; pointer-events: none; }

/* ---------- Header (glass) ---------- */
#main-header {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.05);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
#main-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--grad-flow);
    background-size: 300% 100%;
    animation: gradientFlow 8s linear infinite;
    opacity: 0.85;
}
#main-header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.10);
}
.header-container { height: 80px; gap: 16px; }
.logo img { height: 54px; display: block; }

.main-nav li { margin: 0 2px; }
.main-nav a {
    white-space: nowrap;
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.95rem;
}
.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
    background: var(--grad-cool);
    color: #fff;
    box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.55);
}

/* Glass dropdowns */
.dropdown-content,
.mega-menu-content {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: 0 24px 60px -12px rgba(31, 38, 135, 0.28);
    padding: 12px;
}
.dropdown:hover .dropdown-content,
.dropdown:hover .mega-menu-content { animation: dropIn 0.25s var(--ease); }
.dropdown-content a,
.mega-menu-column a {
    border-radius: 12px;
    color: var(--ink-soft);
    white-space: normal;
    display: block;
    box-shadow: none;
}
.dropdown-content a:hover,
.mega-menu-column a:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.10));
    color: var(--c-indigo);
    box-shadow: none;
    transform: translateX(4px);
}

.logo { flex-shrink: 0; }
@media (min-width: 1025px) {
    .header-social { display: flex; align-items: center; white-space: nowrap; }
}
.header-social a {
    margin-left: 6px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.12);
    transition: all 0.3s var(--ease);
}
.header-social a:hover {
    color: #fff;
    background: var(--grad-warm);
    transform: translateY(-2px) rotate(-6deg);
    border-color: transparent;
}
.header-social a.header-call { margin-right: 0; display: inline-flex; }
.header-social a.btn-support,
.btn-support {
    width: auto;
    height: auto;
    padding: 9px 20px;
    margin-left: 10px;
    border-radius: 999px;
    background: var(--grad-flow);
    background-size: 300% 100%;
    animation: gradientFlow 8s ease infinite;
    color: #fff;
    border: 0;
    font-weight: 600;
}
.header-social a.btn-support:hover,
.btn-support:hover {
    transform: translateY(-2px);
    background: var(--grad-flow);
    background-size: 300% 100%;
    box-shadow: 0 12px 26px -8px rgba(236, 72, 153, 0.6);
}
#mobile-menu-toggle {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--grad-cool);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.6);
}

/* Tighter nav on mid-size desktops so nothing wraps */
@media (max-width: 1360px) and (min-width: 1025px) {
    .header-container { padding: 0 3%; }
    .main-nav a { padding: 8px 10px; font-size: 0.9rem; }
    .header-social a:not(.btn-support):not(.header-call) { display: none; }
}

/* ---------- Home: hero carousel ---------- */
.hero-carousel-section {
    height: min(88vh, 820px);
    min-height: 520px;
    background: #0b1020;
}
.carousel-slide.active-slide img { animation: kenBurns 9s ease-out forwards; }
/* no colour tint or dark shade over the hero photos */
.carousel-slide::after { display: none; }
.carousel-caption {
    width: min(88%, 860px);
    max-width: 860px;
    padding: clamp(28px, 4vw, 48px) !important;
    border-radius: 28px !important;
    /* text only: no panel behind it */
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 0 !important;
    box-shadow: none !important;
}
.carousel-caption h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45) !important; }
.carousel-caption p { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55) !important; }
.carousel-slide.active-slide .carousel-caption h1 { animation: fadeUp 0.9s var(--ease) both; }
.carousel-slide.active-slide .carousel-caption p { animation: fadeUp 0.9s 0.15s var(--ease) both; }
.carousel-slide.active-slide .carousel-caption .btn { animation: fadeUp 0.9s 0.3s var(--ease) both; }
.carousel-caption h1 {
    font-size: clamp(1.6rem, 4.2vw, 3.4rem);
    font-weight: 800;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.carousel-caption p { font-size: clamp(0.95rem, 1.4vw, 1.2rem); opacity: 0.95; }

/* Slide dots (added by main.js) */
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.4s var(--ease), background 0.3s;
}
.hero-dots button.active { width: 32px; background: var(--grad-warm); }

/* ---------- Glass cards (shared) ---------- */
.service-item,
.why-card,
.sidebar-widget,
.sidebar-card,
.contact-form-container,
.automation-page .side-panel-sticky-content,
.automation-page .content-section.bg-light,
.blog-card,
.tabs-container,
.blog-post,
.product-gallery {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
}

/* ---------- Home: services ---------- */
.services-grid-section { background: transparent; position: relative; }
.services-grid { gap: 28px; }
.service-item {
    position: relative;
    padding: 30px 26px 32px;
    overflow: hidden;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
    --accent: var(--grad-cool);
}
.service-item:nth-child(6n+2) { --accent: var(--grad-warm); }
.service-item:nth-child(6n+3) { --accent: linear-gradient(135deg, #14b8a6, #06b6d4, #6366f1); }
.service-item:nth-child(6n+4) { --accent: linear-gradient(135deg, #f59e0b, #f97316, #ec4899); }
.service-item:nth-child(6n+5) { --accent: linear-gradient(135deg, #a855f7, #6366f1, #0ea5e9); }
.service-item:nth-child(6n)   { --accent: linear-gradient(135deg, #ec4899, #a855f7, #06b6d4); }

/* animated gradient border that appears on hover */
.service-item::before,
.why-card::before,
.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: var(--accent, var(--grad-main));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.service-item:hover::before,
.why-card:hover::before,
.blog-card:hover::before { opacity: 1; }
.service-item:hover,
.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow-hover);
}
.service-image {
    max-width: none;
    border-radius: 16px;
    transition: transform 0.6s var(--ease);
    box-shadow: 0 14px 30px -12px rgba(15, 23, 42, 0.45);
}
.service-item:hover .service-image { transform: scale(1.04); }
.service-item h3 { font-size: 1.25rem; margin-top: 4px; }
.service-item p { color: var(--muted); font-size: 0.95rem; }
.service-item .service-cta {
    background: var(--accent);
    background-size: 200% 200%;
    border-radius: 999px;
    padding: 9px 22px;
    box-shadow: 0 10px 22px -10px rgba(99, 102, 241, 0.7);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.service-item .service-cta::after { content: ' \2192'; }
.service-item .service-cta:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 28px -10px rgba(236, 72, 153, 0.7);
}

/* ---------- Home: about snapshot ---------- */
/* full-width LIVE green gradient band: colours keep flowing and shifting */
@keyframes greenFlow {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 60% 100%; }
    50%  { background-position: 100% 50%; }
    75%  { background-position: 40% 0%; }
    100% { background-position: 0% 50%; }
}
@keyframes greenGlowMove {
    0%   { transform: translate(-10%, -10%) scale(1); }
    50%  { transform: translate(15%, 10%) scale(1.25); }
    100% { transform: translate(-10%, -10%) scale(1); }
}
.about-snapshot-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(120deg,
        #022c22 0%, #065f46 14%, #059669 28%, #10b981 40%,
        #14b8a6 52%, #84cc16 64%, #34d399 76%, #047857 88%, #022c22 100%);
    background-size: 400% 400%;
    animation: greenFlow 12s ease-in-out infinite;
}
/* moving light glows on top of the gradient */
.about-snapshot-section::before,
.about-snapshot-section::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 60%;
    height: 140%;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
    animation: greenGlowMove 14s ease-in-out infinite;
}
.about-snapshot-section::before {
    top: -40%;
    left: -10%;
    background: radial-gradient(circle, rgba(190, 242, 100, 0.45), transparent 65%);
}
.about-snapshot-section::after {
    bottom: -40%;
    right: -10%;
    background: radial-gradient(circle, rgba(153, 246, 228, 0.40), transparent 65%);
    animation-duration: 18s;
    animation-direction: reverse;
}
.about-snapshot-section .column-left::before {
    background: linear-gradient(135deg, #bef264, #34d399, #99f6e4) !important;
}
.about-snapshot-section .column-right {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-color: #ffffff !important;
}
.about-snapshot-section .column-left { position: relative; }
.about-snapshot-section .column-left::before {
    content: '';
    position: absolute;
    inset: -14px 14px 14px -14px;
    border-radius: 26px;
    background: var(--grad-main);
    background-size: 200% 200%;
    animation: gradientFlow 10s ease infinite;
    z-index: 0;
    opacity: 0.9;
}
.about-snapshot-section img {
    position: relative;
    z-index: 1;
    border-radius: 22px;
    display: block;
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.45);
}
.about-snapshot-section .column-right {
    padding: clamp(24px, 3vw, 44px);
    border-radius: var(--radius);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.column-right h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; }

/* ---------- Home: why choose ---------- */
.why-grid { gap: 28px; }
.why-card {
    position: relative;
    padding: 22px 22px 28px;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.why-card:nth-child(1) { --accent: var(--grad-cool); }
.why-card:nth-child(2) { --accent: var(--grad-warm); }
.why-card:nth-child(3) { --accent: linear-gradient(135deg, #14b8a6, #06b6d4, #6366f1); }
.why-card img { border-radius: 16px; }
.why-card h3 {
    background: var(--accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.why-card p { color: var(--muted); }

/* ---------- Home: testimonials (dark glass) ---------- */
.testimonials,
.bg-contrast {
    position: relative;
    overflow: hidden;
    background: #0b1020;
    isolation: isolate;
}
.testimonials::before {
    content: '';
    position: absolute;
    inset: -30%;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.55), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.45), transparent 40%),
        radial-gradient(circle at 60% 85%, rgba(6, 182, 212, 0.45), transparent 42%),
        radial-gradient(circle at 10% 90%, rgba(249, 115, 22, 0.35), transparent 38%);
    animation: spin 60s linear infinite;
}
.testimonials .section-title h2 {
    background: linear-gradient(90deg, #fff, #c7d2fe, #fbcfe8, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
}
.testimonials .section-title p { color: rgba(255, 255, 255, 0.75); }
.testimonial-slider {
    border-radius: 28px;
    background: var(--glass-dark-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-dark-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    padding: 36px 20px 28px;
}
.testimonial { padding: 10px 30px; }
.testimonial .quote {
    color: #fff;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-style: normal;
    font-weight: 400;
}
.testimonial .quote::before {
    content: '\201C';
    display: block;
    font-family: Georgia, serif;
    font-size: 4.5rem;
    line-height: 0.6;
    margin-bottom: 14px;
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.testimonial .client {
    background: linear-gradient(90deg, #67e8f9, #a5b4fc, #f9a8d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.testimonial-dots button { width: 10px; height: 10px; transition: width 0.4s var(--ease), background 0.3s; border-radius: 99px; }
.testimonial-dots button.active { width: 30px; background: var(--grad-warm); }

/* ---------- Home: clients + brands ---------- */
.client-marquee {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    padding: 26px 0;
}
.marquee-group img { height: 84px; }
.brands-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    padding: 0;
    max-width: 1172px;
    margin: 0 auto;
}
.brands-row img {
    flex: 0 1 220px;
    width: 220px;
    height: 104px;
    max-width: none;
    padding: 16px 20px;
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(99, 102, 241, 0.10);
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.brands-row img:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--glass-shadow-hover);
}

/* ---------- CTA band ---------- */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--grad-flow);
    background-size: 300% 300%;
    animation: gradientFlow 14s ease infinite;
    isolation: isolate;
}
.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
    z-index: -1;
    animation: floatY 7s ease-in-out infinite;
}
.cta-section::before { width: 260px; height: 260px; top: -90px; left: 6%; }
.cta-section::after { width: 180px; height: 180px; bottom: -60px; right: 8%; animation-delay: -3s; }
.cta-section .container {
    max-width: 860px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 70px -20px rgba(15, 23, 42, 0.35);
}
.cta-section h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
.cta-section p { color: rgba(255, 255, 255, 0.92); }
.cta-section .btn-primary {
    background: #fff;
    animation: none;
    color: var(--c-indigo) !important;
    box-shadow: 0 14px 30px -10px rgba(15, 23, 42, 0.45);
}
.cta-section .btn-primary:hover { background: #fff; color: var(--c-pink) !important; }

/* ---------- Footer ---------- */
/* Prussian blue motion gradient */
@keyframes prussianFlow {
    0%   { background-position: 0% 30%; }
    33%  { background-position: 70% 100%; }
    66%  { background-position: 100% 20%; }
    100% { background-position: 0% 30%; }
}
@keyframes prussianGlow {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-45vw, 180px) scale(1.2); }
    100% { transform: translate(0, 0) scale(1); }
}
#main-footer {
    position: relative;
    background: linear-gradient(125deg,
        #001524 0%, #002b45 18%, #003153 34%, #0a4d7a 50%,
        #003153 66%, #00223a 82%, #001524 100%);
    background-size: 300% 300%;
    animation: prussianFlow 14s ease-in-out infinite;
    color: #cbd5e1;
    overflow: hidden;
    isolation: isolate;
}
#main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-flow);
    background-size: 300% 100%;
    animation: gradientFlow 8s linear infinite;
}
#main-footer::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 700px;
    height: 700px;
    right: -250px;
    top: -300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.28), rgba(14, 116, 144, 0.14) 40%, transparent 70%);
    filter: blur(30px);
    animation: prussianGlow 20s ease-in-out infinite;
}
.footer-col .footer-logo,
.footer-logo {
    max-width: 170px;
    filter: drop-shadow(0 6px 18px rgba(99, 102, 241, 0.45));
}
.footer-col h3 {
    font-family: var(--font-heading);
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 99px;
    background: var(--grad-warm);
}
.footer-col p { color: #94a3b8; }
.footer-col p strong { color: #e2e8f0; }
.footer-col a { color: #a5b4fc; }
.footer-col ul a { color: #cbd5e1; }
.footer-col ul a:hover,
.footer-col a:hover {
    color: #f9a8d4;
    padding-left: 6px;
}
.pluton-footer-bottom {
    background: rgba(0, 21, 36, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}
.pluton-footer-bottom a:hover { color: #f9a8d4; }

/* Back-to-top (added by main.js) */
#back-to-top {
    position: fixed;
    right: 22px;
    bottom: 96px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    background: var(--grad-cool);
    box-shadow: 0 12px 30px -8px rgba(99, 102, 241, 0.7);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: all 0.4s var(--ease);
    z-index: 1500;
    font-size: 1rem;
}
#back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
#back-to-top:hover { background: var(--grad-warm); transform: translateY(-3px); }

/* ---------- Scroll reveal (classes added by main.js) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
/* keep the hover lift working after reveal */
.service-item.reveal.in:hover,
.why-card.reveal.in:hover { transform: translateY(-10px); }
.blog-card.reveal.in:hover { transform: translateY(-8px); }

/* ---------- Inner-page banners (about / contact / blog / service) ---------- */
.about-banner,
.contact-banner {
    background: #0b1020;
    isolation: isolate;
}
.about-banner::after,
.contact-banner::after,
.automation-page .hero-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(79, 70, 229, 0.62) 0%, rgba(168, 85, 247, 0.28) 50%, rgba(236, 72, 153, 0.45) 100%),
        linear-gradient(to top, rgba(11, 16, 32, 0.55), transparent 60%);
}
.automation-page .hero-banner { background: #0b1020; }
.automation-page .hero-image-wrapper img,
.contact-banner-image-wrapper img { animation: kenBurns 14s ease-out forwards; }

.banner-caption,
.contact-banner-content,
.automation-page .hero-caption,
.banner-content {
    z-index: 3;
    /* same clear glass frame as the home hero: ~10% white tint, no blur */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-top-color: rgba(255, 255, 255, 0.6) !important;
    border-left-color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    padding: clamp(24px, 4vw, 44px);
    animation: fadeUp 0.9s var(--ease) both;
}
.banner-caption { margin: 0 20px; }
.banner-caption h1,
.contact-banner-content h1,
.automation-page .hero-caption h1,
.banner-content h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45) !important; }
.banner-caption p,
.contact-banner-content p,
.automation-page .hero-caption p,
.banner-content p { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55) !important; }
.banner-caption h1,
.contact-banner-content h1,
.automation-page .hero-caption h1,
.banner-content h1 {
    font-weight: 800;
    font-size: clamp(1.8rem, 4.2vw, 3.3rem);
    color: #fff;
}

/* Breadcrumbs (same markup as the About page, now shared by every inner page) */
.breadcrumb-list {
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    row-gap: 4px;
}
.breadcrumb-list li {
    display: flex;
    align-items: center;
    color: var(--muted);
    margin: 0;
}
.breadcrumb-list li + li::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.65rem;
    color: #a5b4fc;
    margin: 0 12px;
}
.breadcrumb-list a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-soft);
    transition: color 0.2s;
}
.breadcrumb-list a:hover { color: var(--c-indigo); }
.breadcrumb-list li.active { pointer-events: none; }
.breadcrumb-section.breadcrumb-inline { padding: 0 0 24px; margin-top: -26px; }
.blog-post-crumb { padding-top: 22px; }

/* Breadcrumbs as glass pills */
.breadcrumb-section,
.breadcrumb-wrapper {
    background: transparent;
    border: 0;
    padding: 22px 0 0;
}
.breadcrumb-list,
.breadcrumb {
    display: inline-flex !important;
    padding: 10px 20px !important;
    border-radius: 999px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.breadcrumb-list li.active,
.breadcrumb li[aria-current="page"] {
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* ---------- About page ---------- */
.about-page-wrapper { background: transparent; }
.about-section-image {
    border-radius: 24px;
    box-shadow: 0 30px 60px -24px rgba(79, 70, 229, 0.45);
}
.about-section-text h2 { font-weight: 800; }
.about-section-text h2::after {
    width: 72px;
    height: 5px;
    background: var(--grad-flow);
    background-size: 300% 100%;
    animation: gradientFlow 6s linear infinite;
}
.about-content-section {
    padding: clamp(20px, 3vw, 36px);
    border-radius: var(--radius);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
blockquote {
    border-left: 0;
    position: relative;
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.10), rgba(236, 72, 153, 0.08));
    color: var(--ink);
}
blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 5px;
    border-radius: 99px;
    background: var(--grad-warm);
}
.about-section-text ul li::before,
.automation-page .content-section ul li::before {
    background: var(--grad-cool);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}
.automation-page .content-section ul li { padding-left: 32px; }
.about-section-text ul li a { color: var(--ink-soft); }
.about-section-text ul li a:hover { color: var(--c-indigo); }
.sidebar-widget h3,
.sidebar-card h3 { font-family: var(--font-heading); }
.sidebar-card h3::after { background: var(--grad-warm) !important; }
.sidebar-links-list a:hover,
.sidebar-links a:hover { color: var(--c-indigo); }

/* ---------- Contact page ---------- */
.contact-banner-content .btn-banner { border-radius: 999px; }
.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(99, 102, 241, 0.18) !important;
    border-radius: 14px !important;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: #fff !important;
    border-color: var(--c-violet) !important;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.18) !important;
}
.contact-form .btn-primary { border-radius: 999px; }
.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 500;
    display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(20, 184, 166, 0.12); color: #0f766e; }
.form-status.err { background: rgba(236, 72, 153, 0.12); color: #be185d; }
.map-section h2 { color: var(--ink) !important; }
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-hover);
}
.sidebar-contact-info strong i { color: var(--c-violet) !important; }
.sidebar-contact-info a { color: var(--c-indigo) !important; }

/* ---------- Service pages ---------- */
.automation-page .hero-caption { max-width: 640px; }
@media (min-width: 1000px) {
    .automation-page .hero-caption { padding: 40px 44px; }
}
.automation-page .content-section h2 { font-weight: 800; }
/* Service pages: green gradient headings (dark enough to stay readable on light backgrounds) */
.automation-page .content-section h2,
.automation-page .side-panel-title {
    background: linear-gradient(100deg, #065f46 0%, #059669 30%, #0d9488 55%, #65a30d 80%, #059669 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientFlow 10s ease infinite;
}
.automation-page .side-panel-title { width: 100%; }
.automation-page .overview-image img {
    border-radius: 22px;
    box-shadow: 0 30px 60px -24px rgba(79, 70, 229, 0.5);
    animation: floatY 7s ease-in-out infinite;
}
.automation-page .benefit-item {
    padding: 26px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.automation-page .benefit-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow-hover);
}
.automation-page .benefit-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 16px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-cool);
    box-shadow: 0 14px 30px -12px rgba(99, 102, 241, 0.7);
}
.automation-page .benefit-item:nth-child(2) .benefit-icon { background: var(--grad-warm); }
.automation-page .benefit-item:nth-child(3) .benefit-icon { background: linear-gradient(135deg, #14b8a6, #06b6d4, #6366f1); }
.automation-page .benefit-item:nth-child(4) .benefit-icon { background: linear-gradient(135deg, #f59e0b, #f97316, #ec4899); }
.automation-page .benefit-icon svg { width: 46px; height: 46px; }
.automation-page .benefit-icon svg path { fill: #fff !important; }
/* line-style benefit icons (all service pages): white strokes, no fill */
.automation-page .benefit-icon svg.icon-line { width: 44px; height: 44px; color: #fff; }
.automation-page .benefit-icon svg.icon-line path,
.automation-page .benefit-icon svg.icon-line rect,
.automation-page .benefit-icon svg.icon-line circle,
.automation-page .benefit-icon svg.icon-line ellipse { fill: none !important; stroke: currentColor; }
.automation-page .benefit-item:hover .benefit-icon { transform: translateY(-4px) rotate(-4deg); }
.automation-page .benefit-icon { transition: transform 0.4s var(--ease); }
.automation-page .service-list a {
    margin: 2px -12px;
    padding: 11px 14px;
    border-radius: 12px;
    color: var(--ink-soft);
}
.automation-page .service-list a:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.10));
    color: var(--c-indigo);
}
.automation-page .service-list a.active {
    background: var(--grad-flow);
    background-size: 300% 100%;
    animation: gradientFlow 8s ease infinite;
    color: #fff;
    box-shadow: 0 10px 22px -10px rgba(168, 85, 247, 0.8);
}
.automation-page .side-panel-toggle {
    background: var(--grad-cool) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 14px !important;
}

/* ---------- Blog listing ---------- */
.blog-container { position: relative; }
.modern-banner {
    border-radius: 28px;
    box-shadow: 0 30px 80px -24px rgba(79, 70, 229, 0.5);
}
.banner-overlay {
    background: linear-gradient(120deg, rgba(79, 70, 229, 0.75), rgba(168, 85, 247, 0.45), rgba(236, 72, 153, 0.6)) !important;
}
.banner-content { max-width: 820px; margin: 0 20px; }
.banner-content p { color: rgba(255, 255, 255, 0.92); }
.banner-badge {
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    backdrop-filter: blur(8px);
}
.category-filters .filter-btn {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--ink-soft);
    box-shadow: var(--glass-shadow);
    font-family: var(--font-family);
}
.category-filters .filter-btn:hover { color: var(--c-indigo); transform: translateY(-2px); }
.category-filters .filter-btn.active {
    background: var(--grad-flow);
    background-size: 300% 100%;
    animation: gradientFlow 8s ease infinite;
    color: #fff;
    border-color: transparent;
}
.blog-card { position: relative; --accent: var(--grad-main); }
.blog-card:nth-child(3n+2) { --accent: var(--grad-warm); }
.blog-card:nth-child(3n) { --accent: linear-gradient(135deg, #14b8a6, #06b6d4, #6366f1); }
.blog-card .card-image { border-radius: var(--radius) var(--radius) 0 0; }
.blog-card.featured .card-image { border-radius: var(--radius) 0 0 var(--radius); }
.category-tag {
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(10px);
    color: var(--c-indigo) !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.card-content h2 a,
.card-content h3 a { color: var(--ink); }
.card-content h2 a:hover,
.card-content h3 a:hover,
.blog-card.featured h2 a:hover { color: var(--c-violet); }
.read-more {
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.read-more i { -webkit-text-fill-color: var(--c-pink); }
.page-link {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: var(--glass-blur);
    border-radius: 12px !important;
}
.page-link.active {
    background: var(--grad-cool) !important;
    color: #fff !important;
    border-color: transparent !important;
}
.blog-card.is-hidden { display: none; }

/* ---------- Blog post ---------- */
.blog-post {
    max-width: 860px;
    padding: clamp(24px, 5vw, 56px);
}
.blog-post h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.blog-post h3 {
    margin-top: 2rem;
    padding-left: 16px;
    border-left: 4px solid transparent;
    border-image: var(--grad-warm) 1;
}
.blog-post p { font-size: 1.05rem; line-height: 1.85; }
.blog-featured-image {
    width: 100%;
    border-radius: 20px;
    margin: 10px 0 28px;
    box-shadow: 0 30px 60px -24px rgba(79, 70, 229, 0.5);
}
.content-divider {
    border: 0;
    height: 3px;
    margin: 40px 0 24px;
    border-radius: 99px;
    background: var(--grad-flow);
    background-size: 300% 100%;
    animation: gradientFlow 8s linear infinite;
}
.author-bio {
    padding: 20px 24px;
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.10), rgba(236, 72, 153, 0.08));
}

/* ---------- Generic page header (products) ---------- */
.page-header {
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 9vw, 110px) 0;
    text-align: center;
    background: var(--grad-flow);
    background-size: 300% 300%;
    animation: gradientFlow 14s ease infinite;
    isolation: isolate;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.25), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.18), transparent 35%);
}
.page-header h1 {
    display: inline-block;
    margin: 0;
    color: #fff;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.4rem);
    padding: 18px 42px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-top-color: rgba(255, 255, 255, 0.6);
    border-left-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    animation: fadeUp 0.9s var(--ease) both;
}
.page-header p { color: rgba(255, 255, 255, 0.92); margin-top: 14px; }

/* ---------- Product page ---------- */
.product-gallery {
    padding: 24px;
    text-align: center;
}
.product-gallery img {
    border-radius: 16px;
    display: block;
    margin: 0 auto;
    animation: floatY 7s ease-in-out infinite;
}
.product-page h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; }
.product-short-desc { font-size: 1.15rem; color: var(--muted); }
.product-page ul,
.tab-content ul { margin: 0 0 1.6rem; }
.product-page ul li,
.tab-content ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
}
.product-page ul li::before,
.tab-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #fff;
    background: var(--grad-cool);
}

/* Tabs (were unstyled: all panels showed at once) */
.tabs-container { padding: clamp(20px, 3vw, 36px); }
.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    margin-bottom: 26px;
    border-radius: 999px;
    width: fit-content;
    max-width: 100%;
    background: rgba(99, 102, 241, 0.08);
}
.tab-button {
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    color: var(--ink-soft);
    background: transparent;
    transition: all 0.3s var(--ease);
}
.tab-button:hover { color: var(--c-indigo); background: rgba(255, 255, 255, 0.7); }
.tab-button.active {
    color: #fff;
    background: var(--grad-flow);
    background-size: 300% 100%;
    animation: gradientFlow 8s ease infinite;
    box-shadow: 0 10px 24px -10px rgba(168, 85, 247, 0.8);
}
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeUp 0.5s var(--ease) both; }
.tab-content h4 {
    margin: 18px 0 6px;
    background: var(--grad-cool);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

/* ---------- 404 page ---------- */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.error-page .error-card {
    padding: clamp(32px, 6vw, 64px);
    border-radius: 28px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-hover);
}
.error-page .code {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 16vw, 9rem);
    font-weight: 800;
    line-height: 1;
    background: var(--grad-flow);
    background-size: 300% 100%;
    animation: gradientFlow 6s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .header-container { height: 72px; }
    .main-nav {
        top: 72px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 30px 60px -20px rgba(31, 38, 135, 0.3);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    .main-nav.active { animation: dropIn 0.3s var(--ease); }
    #main-header .main-nav { background: rgba(255, 255, 255, 0.98); }
    /* touch devices: submenus follow the tap (.open), not :hover, and stack vertically */
    .main-nav .dropdown:not(.open) .dropdown-content,
    .main-nav .dropdown:not(.open) .mega-menu-content { display: none; }
    .main-nav .dropdown .mega-menu-content { flex-direction: column; }
    .main-nav .dropdown .mega-menu-column { padding: 0; }
    .main-nav a { display: block; margin: 2px 16px; }
    .dropdown-content,
    .mega-menu-content {
        background: #f3f4ff;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
        margin: 4px 16px;
        width: auto;
    }
    .dropdown:hover .dropdown-content,
    .dropdown:hover .mega-menu-content { animation: none; }
    .main-nav .mobile-socials a {
        width: 40px;
        height: 40px;
        margin: 4px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(99, 102, 241, 0.08);
        padding: 0;
    }
    .main-nav .mobile-socials a.btn-support { width: auto; padding: 0 18px; border-radius: 999px; }
    .blog-card.featured .card-image { border-radius: var(--radius) var(--radius) 0 0; }
}

@media (max-width: 768px) {
    .hero-carousel-section { height: 560px; min-height: 0; }
    .carousel-caption { width: 90%; padding: 22px 18px !important; border-radius: 22px !important; }
    .carousel-caption h1 { font-size: 1.45rem; }
    .hero-dots { bottom: 16px; }
    .about-snapshot-section .column-left::before { inset: -8px 8px 8px -8px; }
    .testimonial { padding: 6px 12px; }
    .brands-row { gap: 12px; }
    .brands-row img { flex: 0 1 calc(50% - 6px); width: calc(50% - 6px); height: 86px; padding: 12px 14px; }
    .banner-caption { margin: 0 16px; }
    .tab-buttons { border-radius: 18px; width: 100%; }
    .tab-button { flex: 1 1 auto; }
    #back-to-top { right: 16px; bottom: 90px; width: 44px; height: 44px; }
    body::before, body::after { filter: blur(60px); }
}

/* ---------- Mobile menu: modern floating card ---------- */
#nav-overlay { display: none; }
@media (max-width: 1024px) {
    #nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(15, 23, 42, 0.38);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    body.menu-open #nav-overlay { opacity: 1; pointer-events: auto; }
    body.menu-open { overflow: hidden; }

    #mobile-menu-toggle i { transition: transform 0.35s var(--ease); }
    body.menu-open #mobile-menu-toggle { background: var(--grad-warm); }
    body.menu-open #mobile-menu-toggle i { transform: rotate(90deg); }

    #main-header .main-nav {
        top: calc(100% + 10px);
        left: 12px;
        right: 12px;
        width: auto;
        padding: 10px;
        border-radius: 26px;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(255, 255, 255, 0.9);
        box-shadow: 0 30px 70px -18px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(99, 102, 241, 0.06);
        max-height: calc(100vh - 110px);
        max-height: calc(100dvh - 110px);
        overflow-y: auto;
        overscroll-behavior: contain;
        transform-origin: top right;
    }
    #main-header .main-nav.active { animation: menuPop 0.35s var(--ease); }

    .main-nav > ul { padding: 0; gap: 2px; }
    .main-nav > ul > li { text-align: left; margin: 0; }

    /* top-level rows */
    .main-nav > ul > li > a {
        display: flex;
        align-items: center;
        gap: 14px;
        margin: 0;
        padding: 10px 12px;
        border-radius: 18px;
        font-size: 1rem;
        font-weight: 600;
        color: var(--ink);
        background: transparent;
        box-shadow: none;
        transform: none;
    }
    .main-nav > ul > li > a::before {
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.95rem;
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        border-radius: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: var(--grad-cool);
        box-shadow: 0 8px 18px -8px rgba(99, 102, 241, 0.7);
    }
    .main-nav > ul > li:nth-child(1) > a::before { content: '\f015'; background: var(--grad-cool); }
    .main-nav > ul > li:nth-child(2) > a::before { content: '\f05a'; background: linear-gradient(135deg, #14b8a6, #06b6d4, #6366f1); }
    .main-nav > ul > li:nth-child(3) > a::before { content: '\f233'; background: var(--grad-warm); }
    .main-nav > ul > li:nth-child(4) > a::before { content: '\f5fd'; background: linear-gradient(135deg, #a855f7, #6366f1, #0ea5e9); }
    .main-nav > ul > li:nth-child(5) > a::before { content: '\f1ea'; background: linear-gradient(135deg, #f59e0b, #f97316, #ec4899); }
    .main-nav > ul > li:nth-child(6) > a::before { content: '\f0e0'; background: linear-gradient(135deg, #10b981, #059669, #0d9488); }

    .main-nav > ul > li > a:hover,
    .main-nav > ul > li > a:focus-visible,
    .main-nav > ul > li > a.active,
    .main-nav .dropdown.open > .drop-trigger {
        background: linear-gradient(90deg, rgba(99, 102, 241, 0.10), rgba(236, 72, 153, 0.07));
        color: var(--c-indigo);
        box-shadow: none;
        transform: none;
    }
    .main-nav .drop-trigger i {
        margin-left: auto;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        color: var(--muted);
        background: rgba(99, 102, 241, 0.08);
        transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
    }
    .main-nav .dropdown.open > .drop-trigger i {
        transform: rotate(180deg);
        color: #fff;
        background: var(--grad-cool);
    }

    /* submenu accordion card */
    .main-nav .dropdown.open .dropdown-content,
    .main-nav .dropdown.open .mega-menu-content {
        animation: dropIn 0.3s var(--ease);
    }
    #main-header .main-nav .dropdown-content,
    #main-header .main-nav .mega-menu-content {
        margin: 4px 0 8px 26px;
        padding: 6px;
        width: auto;
        border-radius: 18px;
        background: linear-gradient(180deg, #f7f7ff, #f3f5ff);
        border: 1px solid rgba(99, 102, 241, 0.10);
        border-left: 3px solid transparent;
        border-image: none;
        box-shadow: inset 3px 0 0 #a5b4fc;
    }
    .main-nav .mega-menu-column { gap: 2px; }
    .main-nav .mega-menu-column li { text-align: left; }
    .main-nav .dropdown-content a,
    .main-nav .mega-menu-column a {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
        padding: 9px 10px;
        border-radius: 14px;
        font-size: 0.92rem;
        font-weight: 500;
        line-height: 1.3;
        color: var(--ink-soft);
        background: transparent;
    }
    .main-nav .dropdown-content a::before,
    .main-nav .mega-menu-column a::before {
        content: '\f0da';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        color: var(--c-indigo);
        background: #fff;
        box-shadow: 0 4px 12px -6px rgba(99, 102, 241, 0.5);
    }
    .main-nav .dropdown-content a:hover,
    .main-nav .mega-menu-column a:hover,
    .main-nav .dropdown-content a.active,
    .main-nav .mega-menu-column a.active {
        background: #fff;
        color: var(--c-indigo);
        box-shadow: 0 6px 16px -10px rgba(31, 38, 135, 0.4);
        transform: none;
    }

    /* socials + support */
    .main-nav .mobile-socials {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin: 8px 0 0;
        padding: 14px 4px 4px;
        border-top: 1px solid rgba(99, 102, 241, 0.12);
    }
    .main-nav .mobile-socials a {
        width: 44px;
        height: 44px;
        margin: 0;
        border-radius: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        color: var(--ink-soft);
        background: rgba(99, 102, 241, 0.08);
        transition: all 0.3s var(--ease);
    }
    .main-nav .mobile-socials a:hover { color: #fff; background: var(--grad-warm); }
    .main-nav .mobile-socials a.btn-support {
        flex: 1 0 100%;
        width: 100%;
        height: 48px;
        margin-top: 4px;
        border-radius: 16px;
        font-size: 1rem;
        color: #fff;
        background: var(--grad-flow);
        background-size: 300% 100%;
        animation: gradientFlow 8s ease infinite;
    }
}
@keyframes menuPop {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to   { opacity: 1; transform: none; }
}

/* ---------- Desktop dropdown + mega menu with icon tiles ---------- */
@media (min-width: 1025px) {
    /* nested inside the blurred header: a solid panel avoids Chrome showing the page through it */
    .dropdown-content,
    .mega-menu-content {
        background: #ffffff;
        border: 1px solid rgba(99, 102, 241, 0.12);
        box-shadow: 0 30px 70px -18px rgba(31, 38, 135, 0.35);
    }
    .mega-menu-content {
        width: 820px;
        padding: 14px;
        flex-wrap: wrap;
        gap: 4px 0;
    }
    .dropdown:hover .mega-menu-content { flex-wrap: wrap; }
    /* header strip */
    .mega-menu-content::before {
        content: 'Our Services';
        box-sizing: border-box;
        flex: 0 0 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        margin: 0 0 8px;
        padding: 10px 16px;
        border-radius: 14px;
        font-family: var(--font-heading);
        font-size: 0.8rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #fff;
        background: var(--grad-flow);
        background-size: 300% 100%;
        animation: gradientFlow 10s ease infinite;
    }
    .mega-menu-column { padding: 0 6px; gap: 2px; }
    .dropdown-content { min-width: 270px; padding: 10px; }

    .dropdown-content a,
    .mega-menu-column a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 9px 10px;
        font-size: 0.9rem;
        font-weight: 500;
        line-height: 1.3;
        color: var(--ink-soft);
    }
    .dropdown-content a::before,
    .mega-menu-column a::before {
        content: '\f0da';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
        color: var(--c-indigo);
        background: #eef2ff;
        background: color-mix(in srgb, currentColor 13%, #ffffff);
        transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    }
    .dropdown-content a:hover,
    .mega-menu-column a:hover,
    .dropdown-content a.active,
    .mega-menu-column a.active {
        background: #fff;
        color: var(--c-indigo);
        box-shadow: 0 10px 24px -14px rgba(31, 38, 135, 0.45);
        transform: translateX(3px);
    }
    .dropdown-content a:hover::before,
    .mega-menu-column a:hover::before {
        transform: scale(1.08) rotate(-6deg);
        box-shadow: 0 8px 18px -8px currentColor;
    }
}

/* Related icon for every submenu link (desktop + mobile) */
.main-nav a[href*="dell-r760"]::before,
.related-card[href*="dell-r760"]::before { content: '\f233'; color: #f97316; }
.main-nav a[href*="automation"]::before,
.related-card[href*="automation"]::before { content: '\f544'; color: #6366f1; }
.main-nav a[href*="cybersecurity"]::before,
.related-card[href*="cybersecurity"]::before { content: '\f3ed'; color: #ec4899; }
.main-nav a[href*="managed-it"]::before,
.related-card[href*="managed-it"]::before { content: '\f7d9'; color: #0d9488; }
.main-nav a[href*="it-consulting"]::before,
.related-card[href*="it-consulting"]::before { content: '\f0eb'; color: #f59e0b; }
.main-nav a[href*="digital-transformation"]::before,
.related-card[href*="digital-transformation"]::before { content: '\f021'; color: #a855f7; }
.main-nav a[href*="cloud-computing"]::before,
.related-card[href*="cloud-computing"]::before { content: '\f0c2'; color: #0ea5e9; }
.main-nav a[href*="networking"]::before,
.related-card[href*="networking"]::before { content: '\f6ff'; color: #6366f1; }
.main-nav a[href*="smart-home"]::before,
.related-card[href*="smart-home"]::before { content: '\e012'; color: #10b981; }
.main-nav a[href*="data-analytics"]::before,
.related-card[href*="data-analytics"]::before { content: '\f201'; color: #06b6d4; }
.main-nav a[href*="ecommerce"]::before,
.related-card[href*="ecommerce"]::before { content: '\f07a'; color: #f97316; }
.main-nav a[href*="web-app"]::before,
.related-card[href*="web-app"]::before { content: '\f121'; color: #ec4899; }
.main-nav a[href*="software-development"]::before,
.related-card[href*="software-development"]::before { content: '\f5fc'; color: #a855f7; }
.main-nav a[href*="ip-pbx"]::before,
.related-card[href*="ip-pbx"]::before { content: '\f095'; color: #0d9488; }

/* ==========================================================
   SEO / AEO content components (answer boxes, FAQs, steps...)
   ========================================================== */
.logo img { width: auto; }

/* home hero: slides 2-6 use h2 (one h1 per page) but look the same */
.carousel-caption .hero-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.carousel-slide.active-slide .carousel-caption .hero-title { animation: fadeUp 0.9s var(--ease) both; }

/* "In short" answer box */
.automation-page .content-section.quick-answer {
    position: relative;
    padding: clamp(22px, 3vw, 32px);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.6)) padding-box,
        linear-gradient(135deg, #34d399, #0ea5e9, #a855f7) border-box;
    border: 2px solid transparent;
    box-shadow: var(--glass-shadow);
}
.qa-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #059669, #0d9488);
}
.qa-answer { font-size: 1.08rem; line-height: 1.75; color: var(--ink); }
.automation-page .content-section .qa-facts { margin: 18px 0 0; display: grid; gap: 10px; }
.automation-page .content-section .qa-facts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    margin: 0;
}
.automation-page .content-section .qa-facts li::before { display: none; }
.qa-facts li > i {
    flex: 0 0 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #fff;
    background: var(--grad-cool);
}
.qa-facts li:nth-child(2) > i { background: var(--grad-warm); }
.qa-facts li:nth-child(3) > i { background: linear-gradient(135deg, #10b981, #0d9488); }
.qa-facts li span { padding-top: 4px; }

/* process steps */
.process-steps {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    counter-reset: none;
}
.process-step {
    position: relative;
    padding: 22px 22px 18px;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--glass-shadow-hover); }
.step-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: var(--grad-warm);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.process-step:nth-child(2) .step-num { background-image: var(--grad-cool); }
.process-step:nth-child(3) .step-num { background-image: linear-gradient(135deg, #10b981, #0ea5e9); }
.process-step:nth-child(4) .step-num { background-image: linear-gradient(135deg, #f59e0b, #ec4899); }
.process-step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.process-step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* FAQ accordion (details/summary: readable by crawlers, collapsible for people) */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.faq-item {
    border-radius: 18px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: box-shadow 0.3s ease, background 0.3s ease;
    overflow: hidden;
}
.faq-item[open] { background: rgba(255, 255, 255, 0.85); box-shadow: var(--glass-shadow-hover); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
    flex: 0 0 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--c-indigo);
    background: rgba(99, 102, 241, 0.10);
    transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
}
.faq-item[open] summary i { transform: rotate(45deg); color: #fff; background: var(--grad-warm); }
.faq-item summary:hover span { color: var(--c-indigo); }
.faq-answer { padding: 0 22px 18px; }
.faq-answer p { margin: 0; color: var(--text-color); line-height: 1.75; }
.faq-item[open] .faq-answer { animation: dropIn 0.35s var(--ease); }

/* FAQ blocks outside service pages */
.faq-container { max-width: 920px; }
.faq-home > h2,
.contact-faq > h2,
.post-faq > h2,
.about-content-section.faq-section > h2 {
    font-weight: 800;
    background: var(--grad-main);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 10s ease infinite;
}
.faq-home > h2 { text-align: center; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.contact-faq { margin-top: 40px; }
.post-faq { margin-top: 36px; }

/* related services + inline CTA */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.related-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    font-weight: 600;
    color: var(--ink);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.3s;
}
.related-card::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    background: color-mix(in srgb, currentColor 13%, #ffffff);
}
.related-card span { flex: 1; line-height: 1.3; font-size: 0.95rem; color: var(--ink); }
.related-card > i { color: var(--muted); font-size: 0.85rem; transition: transform 0.3s var(--ease); }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--glass-shadow-hover); }
.related-card:hover > i { transform: translateX(4px); color: var(--c-indigo); }

.cta-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 26px;
    padding: clamp(22px, 3vw, 32px);
    border-radius: 24px;
    color: #fff;
    background: var(--grad-flow);
    background-size: 300% 300%;
    animation: gradientFlow 14s ease infinite;
    box-shadow: 0 24px 50px -20px rgba(168, 85, 247, 0.6);
}
.cta-inline h3 { color: #fff; margin-bottom: 4px; font-size: 1.3rem; -webkit-text-fill-color: #fff; }
.cta-inline p { margin: 0; color: rgba(255, 255, 255, 0.92); }
.cta-inline-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-inline .btn-primary { background: #fff; animation: none; color: var(--c-indigo) !important; }
.cta-inline .btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    color: #fff !important;
}
.cta-inline .btn-secondary:hover { background: rgba(255, 255, 255, 0.28); }

/* home: how we work */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-card {
    position: relative;
    padding: 28px 24px;
    border-radius: var(--radius);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--glass-shadow-hover); }
.step-card .step-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    background: var(--grad-cool);
    box-shadow: 0 14px 28px -12px rgba(99, 102, 241, 0.7);
    margin-bottom: 18px;
}
.step-card:nth-child(2) .step-icon { background: var(--grad-warm); }
.step-card:nth-child(3) .step-icon { background: linear-gradient(135deg, #10b981, #0d9488); }
.step-card:nth-child(4) .step-icon { background: linear-gradient(135deg, #f59e0b, #f97316); }
.step-card .step-num {
    position: absolute;
    top: 14px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.25;
}
.step-card h3 { font-size: 1.25rem; }
.step-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* home: industries + areas */
.industries-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.chip-panel {
    padding: clamp(22px, 3vw, 32px);
    border-radius: var(--radius);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.chip-panel h3 { font-size: 1.2rem; margin-bottom: 16px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid rgba(99, 102, 241, 0.12);
    box-shadow: 0 6px 16px -12px rgba(31, 38, 135, 0.4);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.chip-list li:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(99, 102, 241, 0.5); }
.chip-list li i { color: var(--c-violet); }
.chip-list li:nth-child(3n+2) i { color: var(--c-pink); }
.chip-list li:nth-child(3n) i { color: var(--c-cyan); }
.chip-list-areas li i { color: #10b981 !important; }

/* key facts / spec tables */
.table-wrap { overflow-x: auto; border-radius: 18px; margin-top: 16px; }
.facts-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(99, 102, 241, 0.14);
    background: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}
.facts-table th,
.facts-table td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(99, 102, 241, 0.08); }
.facts-table tr:last-child th,
.facts-table tr:last-child td { border-bottom: 0; }
.facts-table th { width: 32%; font-weight: 700; color: var(--ink); background: rgba(99, 102, 241, 0.06); }
.facts-table td { color: var(--ink-soft); }
.spec-note { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }

/* contact: office directions */
.map-heading { font-size: 1.8rem; margin-bottom: 20px; }
.visit-info {
    margin-top: 26px;
    padding: clamp(20px, 3vw, 28px);
    border-radius: var(--radius);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.visit-info h2 { font-size: 1.4rem; }
.visit-info p { margin: 0; }

/* blog listing */
.banner-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.banner-topics li {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.read-more.coming-soon {
    background: none;
    -webkit-text-fill-color: var(--muted);
    color: var(--muted);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.read-more.coming-soon i { -webkit-text-fill-color: var(--muted); }

/* blog post */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: -4px 0 18px;
    font-size: 0.9rem;
    color: var(--muted);
}
.post-meta i { color: var(--c-violet); margin-right: 4px; }
.blog-post h2 {
    font-size: clamp(1.3rem, 2.4vw, 1.6rem);
    margin-top: 2.2rem;
    padding-left: 16px;
    border-left: 4px solid transparent;
    border-image: var(--grad-warm) 1;
}
.blog-post .key-takeaways h2,
.blog-post .post-faq > h2 { border: 0; padding-left: 0; margin-top: 0; }
.key-takeaways {
    margin: 8px 0 28px;
    padding: clamp(20px, 3vw, 28px);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)) padding-box,
        var(--grad-main) border-box;
    border: 2px solid transparent;
}
.key-takeaways ul { display: grid; gap: 8px; }
.key-takeaways li { position: relative; padding-left: 28px; }
.key-takeaways li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #fff;
    background: var(--grad-cool);
}
.checklist { list-style: none; padding: 0; counter-reset: chk; display: grid; gap: 10px; margin: 16px 0 10px; }
.checklist li {
    counter-increment: chk;
    position: relative;
    padding: 12px 16px 12px 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.1);
}
.checklist li::before {
    content: counter(chk);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    background: var(--grad-warm);
}

@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .process-steps,
    .related-grid,
    .steps-grid { grid-template-columns: 1fr; }
    .carousel-caption .hero-title { font-size: 1.45rem; margin-bottom: 0.5rem; line-height: 1.3; }
    .facts-table th { width: 38%; }
    .facts-table th, .facts-table td { padding: 11px 12px; }
    .cta-inline-actions, .cta-inline-actions .btn { width: 100%; }
    .faq-item summary { padding: 16px 16px; font-size: 0.97rem; }
    .faq-answer { padding: 0 16px 16px; }
}

/* ---------- Floating WhatsApp chat button ---------- */
@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 12px 30px -8px rgba(18, 140, 126, 0.6); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 12px 30px -8px rgba(18, 140, 126, 0.6); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 12px 30px -8px rgba(18, 140, 126, 0.6); }
}
#whatsapp-chat {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 1600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
#whatsapp-chat .wa-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: 2px solid rgba(255, 255, 255, 0.85);
    animation: waPulse 2.4s ease-out infinite;
    transition: transform 0.3s var(--ease);
}
#whatsapp-chat .wa-label {
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
    color: #075e54;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 26px -10px rgba(15, 23, 42, 0.35);
    opacity: 0;
    transform: translateX(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.35s var(--ease);
}
#whatsapp-chat:hover .wa-icon,
#whatsapp-chat:focus-visible .wa-icon { transform: scale(1.08) rotate(-6deg); }
#whatsapp-chat:hover .wa-label,
#whatsapp-chat:focus-visible .wa-label { opacity: 1; transform: none; }
#back-to-top { bottom: 96px; }
body.menu-open #whatsapp-chat { opacity: 0; pointer-events: none; }
@media (max-width: 768px) {
    #whatsapp-chat { right: 16px; bottom: 18px; }
    #whatsapp-chat .wa-icon { width: 54px; height: 54px; font-size: 1.75rem; }
    #whatsapp-chat .wa-label { display: none; }
    #back-to-top { bottom: 84px; }
}

/* ---------- Header social icons: brand colours at rest, gradient on hover ---------- */
.header-social a[aria-label="Call us"],
.main-nav .mobile-socials a[aria-label="Call us"] { --brand: #16a34a; }
.header-social a[aria-label="WhatsApp"],
.main-nav .mobile-socials a[aria-label="WhatsApp"] { --brand: #25d366; }
.header-social a[aria-label="Facebook"],
.main-nav .mobile-socials a[aria-label="Facebook"] { --brand: #1877f2; }
.header-social a[aria-label="Instagram"],
.main-nav .mobile-socials a[aria-label="Instagram"] { --brand: #e4405f; }
.header-social a[aria-label="LinkedIn"],
.main-nav .mobile-socials a[aria-label="LinkedIn"] { --brand: #0a66c2; }

.header-social a[aria-label]:not(.btn-support),
.main-nav .mobile-socials a[aria-label]:not(.btn-support) {
    color: var(--brand, var(--ink-soft));
    background: #fff;
    background: color-mix(in srgb, var(--brand, #6366f1) 10%, #ffffff);
    border-color: color-mix(in srgb, var(--brand, #6366f1) 22%, transparent);
}
/* Instagram's gradient glyph */
.header-social a[aria-label="Instagram"] i,
.main-nav .mobile-socials a[aria-label="Instagram"] i {
    background: linear-gradient(45deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* hover / focus: keep the current white-on-gradient look */
.header-social a[aria-label]:not(.btn-support):hover,
.header-social a[aria-label]:not(.btn-support):focus-visible,
.main-nav .mobile-socials a[aria-label]:not(.btn-support):hover,
.main-nav .mobile-socials a[aria-label]:not(.btn-support):focus-visible {
    color: #fff;
    background: var(--grad-warm);
    border-color: transparent;
}
.header-social a[aria-label="Instagram"]:hover i,
.header-social a[aria-label="Instagram"]:focus-visible i,
.main-nav .mobile-socials a[aria-label="Instagram"]:hover i,
.main-nav .mobile-socials a[aria-label="Instagram"]:focus-visible i {
    background: none;
    -webkit-text-fill-color: #fff;
}

/* ---------- Accessibility: respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   2026-10-11: new service icons, /services/ hub, keyword links
   ========================================================== */
.main-nav a[href*="computer-services"]::before,
.related-card[href*="computer-services"]::before { content: '\f390'; color: #0ea5e9; }
.main-nav a[href*="cctv-installation"]::before,
.related-card[href*="cctv-installation"]::before { content: '\f03d'; color: #ef4444; }
.main-nav a[href*="server-support"]::before,
.related-card[href*="server-support"]::before { content: '\f233'; color: #f97316; }
.main-nav a[href*="erp-software"]::before,
.related-card[href*="erp-software"]::before { content: '\f5fd'; color: #6366f1; }
.main-nav a[href*="accounting-software"]::before,
.related-card[href*="accounting-software"]::before { content: '\f1ec'; color: #10b981; }
.main-nav .mega-menu-column a.mega-all { font-weight: 600; color: var(--c-indigo); }
.main-nav a.mega-all::before { content: '\f009'; color: #a855f7; }

.hub-container { max-width: 1180px; }
.hub-group h2 { margin-bottom: 18px; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.hub-card {
    display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: 18px;
    background: #fff; border: 1px solid rgba(99, 102, 241, 0.14); color: var(--ink-soft);
    box-shadow: 0 12px 30px -20px rgba(31, 38, 135, 0.35);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hub-card:hover { transform: translateY(-3px); border-color: rgba(99, 102, 241, 0.4); box-shadow: 0 20px 40px -20px rgba(31, 38, 135, 0.45); }
.hub-card-title { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.hub-card-text { font-size: 0.92rem; line-height: 1.6; }
.hub-card-more { margin-top: auto; font-weight: 600; font-size: 0.88rem; color: var(--c-indigo); }
.hub-card-more i { margin-left: 4px; font-size: 0.8rem; }

.keyword-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.automation-page .content-section .keyword-links { justify-content: flex-start; }
.automation-page .content-section .keyword-links li { padding: 0; margin: 0; }
.automation-page .content-section .keyword-links li::before { display: none; }
.keyword-links a {
    display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500;
    background: #fff; color: var(--ink-soft); border: 1px solid rgba(99, 102, 241, 0.22);
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.keyword-links a:hover { background: linear-gradient(90deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.10)); color: var(--c-indigo); border-color: rgba(99, 102, 241, 0.45); }
.popular-services { padding-top: 0; }
.popular-services .section-title a { color: var(--c-indigo); font-weight: 600; }

/* perf: no Ken Burns zoom on phones (it delays LCP and costs GPU) */
@media (max-width: 768px) { .carousel-slide.active-slide img { animation: none; } }

/* perf: client logo marquee runs on the compositor (was a JS requestAnimationFrame loop) */
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-marquee .marquee-track { animation: marqueeScroll 120s linear infinite; }
.client-marquee:hover .marquee-track { animation-play-state: paused; }

/* perf: on phones keep the decorative backgrounds static - endless blur/gradient animations repaint every frame */
@media (max-width: 768px) {
    body::before, body::after,
    .blog-post h1, .section-title h2::after, #scroll-progress, .sidebar-btn-full, #main-header::after, .btn-support,
    .about-snapshot-section, .about-snapshot-section::after, .about-snapshot-section .column-left::before,
    .testimonials::before, .cta-section, .cta-section::after, #main-footer, #main-footer::before, #main-footer::after,
    .about-section-text h2::after, .automation-page .side-panel-title, .automation-page .service-list a.active,
    .category-filters .filter-btn.active, .content-divider, .page-header, .tab-button.active, .error-page .code,
    .main-nav .mobile-socials a.btn-support, .mega-menu-content::before, .about-content-section.faq-section > h2, .cta-inline {
        animation: none !important;
    }
}

/* a11y: slider dots keep their look but get a 24x24px tap target (dot drawn by ::before) */
.hero-dots { gap: 2px; padding: 1px 8px; }
.hero-dots button,
.testimonial-dots button {
    width: 24px; height: 24px; padding: 0; margin: 0; border: 0; border-radius: 99px;
    background: transparent !important;
    display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
    transition: width 0.4s var(--ease);
}
.hero-dots button::before,
.testimonial-dots button::before {
    content: ''; width: 10px; height: 10px; border-radius: 99px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.4s var(--ease), background 0.3s;
}
.testimonial-dots button::before { background: rgba(255, 255, 255, 0.3); }
.testimonial-dots button:hover::before { background: rgba(255, 255, 255, 0.6); }
.hero-dots button.active, .testimonial-dots button.active { width: 36px; }
.hero-dots button.active::before { width: 32px; background: var(--grad-warm); }
.testimonial-dots button.active::before { width: 30px; background: var(--grad-warm); }

/* ---------- Home: transparent header over the full-screen hero ---------- */
.logo .logo-white { display: none; }
body.home #main-header { position: fixed; top: 0; left: 0; right: 0; }
body.home #main-header::after { transition: opacity 0.3s ease; }
body.home #main-header:not(.scrolled) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}
body.home #main-header:not(.scrolled)::after { opacity: 0; }
body.home #main-header:not(.scrolled) .logo-color { display: none; }
body.home #main-header:not(.scrolled) .logo-white { display: block; }
@media (min-width: 1025px) {
    body.home #main-header:not(.scrolled) .main-nav > ul > li > a:not(:hover):not(:focus-visible):not(.active) {
        color: #fff;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    }
    body.home #main-header:not(.scrolled) .header-social a:not(.btn-support):not(:hover):not(:focus-visible) {
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.35);
    }
}
body.home .hero-carousel-section {
    height: 100vh;
    height: 100svh;
    min-height: 560px;
}
/* dark band under the transparent header */
body.home .hero-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(180deg, rgba(11, 16, 32, 0.55), rgba(11, 16, 32, 0));
    z-index: 2;
    pointer-events: none;
}
body.home .carousel-caption { top: calc(50% + 40px); }
@media (max-width: 1024px) {
    body.home .carousel-caption { top: calc(50% + 36px); }
}
/* phones: headline sits in the calm sky/ceiling area above the subject of the mobile hero images */
@media (max-width: 768px) {
    body.home .carousel-caption { top: max(31%, 200px); }
}

/* ---------- Desktop Services mega menu + Products dropdown: 3D glass ---------- */
@media (min-width: 1025px) {
    /* the header's frosted background lives on a layer behind it, so the header is no longer
       a backdrop root and the mega menu inside it can blur the page itself */
    #main-header,
    #main-header.scrolled {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    #main-header::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: rgba(255, 255, 255, 0.62);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        transition: background 0.3s ease, opacity 0.3s ease;
    }
    #main-header.scrolled::before { background: rgba(255, 255, 255, 0.8); }
    body.home #main-header:not(.scrolled)::before { opacity: 0; }

    .dropdown-content,
    .mega-menu-content {
        --mx: 25%;
        --my: 0%;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.6) 55%, rgba(238, 242, 255, 0.7)) padding-box,
            linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.3) 35%, rgba(165, 180, 252, 0.5) 70%, rgba(255, 255, 255, 0.9)) border-box;
        border: 1.5px solid transparent;
        border-radius: 26px;
        backdrop-filter: blur(28px) saturate(190%) brightness(1.08);
        -webkit-backdrop-filter: blur(28px) saturate(190%) brightness(1.08);
        box-shadow:
            inset 0 1px 1px rgba(255, 255, 255, 0.95),
            inset 0 -14px 28px -14px rgba(99, 102, 241, 0.22),
            0 2px 6px rgba(15, 23, 42, 0.08),
            0 26px 50px -16px rgba(15, 23, 42, 0.4),
            0 60px 110px -40px rgba(79, 70, 229, 0.5);
        transform-origin: 50% 0;
    }
    .dropdown:hover .mega-menu-content { animation: glassIn 0.45s var(--ease) both; }
    .dropdown:hover .dropdown-content { animation: glassInLeft 0.45s var(--ease) both; }
    /* specular light that follows the pointer (main.js sets --mx / --my) */
    .dropdown-content::after,
    .mega-menu-content::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        border-radius: inherit;
        pointer-events: none;
        background:
            radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 45%),
            linear-gradient(118deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 26%);
    }
    .mega-menu-content::before {
        position: relative;
        z-index: 1;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 55%),
            var(--grad-flow);
        background-size: 100% 100%, 300% 100%;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.6),
            inset 0 -8px 16px -8px rgba(15, 23, 42, 0.25),
            0 10px 22px -12px rgba(236, 72, 153, 0.7);
        text-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);
    }
    .mega-menu-column { position: relative; z-index: 1; }
    .dropdown-content a { position: relative; z-index: 1; }
    .dropdown-content a,
    .mega-menu-column a {
        color: var(--ink);
        border: 1px solid transparent;
        transition: transform 0.3s var(--ease), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
    .dropdown-content a:hover,
    .dropdown-content a.active,
    .mega-menu-column a:hover,
    .mega-menu-column a.active {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.6));
        border-color: rgba(255, 255, 255, 0.95);
        box-shadow:
            inset 0 1px 0 #fff,
            0 1px 2px rgba(15, 23, 42, 0.06),
            0 14px 26px -14px rgba(31, 38, 135, 0.5);
        transform: translateY(-2px);
    }
    /* glossy icon chips */
    .dropdown-content a::before,
    .mega-menu-column a::before {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 60%),
            color-mix(in srgb, currentColor 16%, #ffffff);
        border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.95),
            inset 0 -3px 5px color-mix(in srgb, currentColor 20%, transparent),
            0 5px 12px -6px currentColor;
    }
}
/* 2D only: a 3D transform (perspective/rotateX) makes Chrome drop the backdrop blur */
@keyframes glassIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(0.96); }
    to   { opacity: 1; transform: translateX(-50%); }
}
/* movement only: fading opacity on this small panel leaves Chrome showing it washed out, without the blur */
@keyframes glassInLeft {
    from { transform: translateY(-10px) scale(0.96); }
    to   { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .dropdown:hover .mega-menu-content,
    .dropdown:hover .dropdown-content { animation: none; }
}

/* phones: service-page hero text sits straight on the banner, without the glass frame */
@media (max-width: 767px) {
    .automation-page .hero-banner .hero-caption {
        background: none !important;
        border: 0 !important;
        border-radius: 0;
        box-shadow: none !important;
        padding: 20px 4px;
    }
}
