:root {
    --bg-dark: #000000;
    --accent-blue: #0070f3;
    --accent-red: #ea001b;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.03);
    --gradient-angle: 0deg;
    --gradient-speed: 1.5;
}

@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ── GLOBAL ANIMATIONS & PARTICLES ── */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: var(--accent-red);
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.15;
    animation: floatParticle var(--duration, 20s) linear infinite;
}

.particle.blue {
    background: var(--accent-blue);
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.2;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        transform: translateY(-100vh) translateX(calc(var(--drift, 50px))) scale(1.5);
        opacity: 0;
    }
}

@keyframes floatHero {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(15px, -20px) rotate(2deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

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

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: #0c0c0c;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

main {
    position: relative;
    z-index: 100;
    /* Ensure content is above background elements but below header */
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC42NSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIgb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==');
    z-index: 2;
    pointer-events: none;
    opacity: 0.3;
}

.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.grid-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(234, 0, 27, 0.08),
            transparent 80%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

body:hover .grid-pattern::after {
    opacity: 1;
}

.curved-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 900px;
    /* Restrict height to hero area */
    z-index: 1;
    opacity: 0.08;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='1000' height='1000' viewBox='0 0 1000 1000' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='white' stroke-width='1'%3E%3Cpath d='M0,500 Q500,500 1000,500' /%3E%3Cpath d='M0,450 Q500,480 1000,450' /%3E%3Cpath d='M0,400 Q500,460 1000,400' /%3E%3Cpath d='M0,350 Q500,440 1000,350' /%3E%3Cpath d='M0,300 Q500,420 1000,300' /%3E%3Cpath d='M0,550 Q500,520 1000,550' /%3E%3Cpath d='M0,600 Q500,540 1000,600' /%3E%3Cpath d='M0,650 Q500,560 1000,650' /%3E%3Cpath d='M0,700 Q500,580 1000,700' /%3E%3Cpath d='M500,0 Q500,500 500,1000' /%3E%3Cpath d='M450,0 Q480,500 450,1000' /%3E%3Cpath d='M400,0 Q460,500 400,1000' /%3E%3Cpath d='M350,0 Q440,500 350,1000' /%3E%3Cpath d='M300,0 Q420,500 300,1000' /%3E%3Cpath d='M550,0 Q520,500 550,1000' /%3E%3Cpath d='M600,0 Q540,500 600,1000' /%3E%3Cpath d='M650,0 Q560,500 650,1000' /%3E%3Cpath d='M700,0 Q580,500 700,1000' /%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: top center;
    mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 70%);
}

.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(234, 0, 27, 0.12) 0%, transparent 70%);
    filter: blur(100px);
    animation: floatingOrb 30s infinite linear;
}

.glow-orb.blue {
    background: radial-gradient(circle, rgba(0, 112, 243, 0.1) 0%, transparent 70%);
    animation-duration: 40s;
    animation-delay: -15s;
    top: -200px;
    right: -200px;
}

/* Local Section Glows */
.local-glow {
    position: absolute;
    width: 100vw;
    height: 100vw;
    max-width: 600px;
    max-height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

.local-glow.red {
    background: radial-gradient(circle, rgba(234, 0, 27, 0.08) 0%, transparent 70%);
}

.local-glow.blue {
    background: radial-gradient(circle, rgba(0, 112, 243, 0.06) 0%, transparent 70%);
}

.light-point {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 15px 4px rgba(255, 255, 255, 0.6);
    opacity: 0.5;
    animation: particleDrift 15s infinite linear;
}

.star-particle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    opacity: 0;
    z-index: 10;
    animation: twinkleStar 4s infinite ease-in-out;
}

.star-particle.diamond {
    width: 8px;
    height: 8px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

@keyframes twinkleStar {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2) rotate(180deg);
    }
}

.ai-ornament {
    position: absolute;
    width: 24px;
    height: 24px;
    color: white;
    opacity: 0.12;
    z-index: 10;
    animation: floatAI 10s infinite linear;
    pointer-events: none;
}

.ai-ornament i {
    width: 24px;
    height: 24px;
}

@keyframes floatAI {
    0% {
        transform: translateY(0) rotate(0);
    }

    33% {
        transform: translateY(-20px) rotate(10deg);
    }

    66% {
        transform: translateY(10px) rotate(-10deg);
    }

    100% {
        transform: translateY(0) rotate(0);
    }
}

.ai-pill-small {
    position: absolute;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    opacity: 0.6;
    animation: floatPill 6s infinite alternate ease-in-out;
    pointer-events: none;
}

@keyframes floatPill {
    from {
        transform: translateY(0);
        opacity: 0.4;
    }

    to {
        transform: translateY(-15px);
        opacity: 0.7;
    }
}

@keyframes floatingOrb {
    0% {
        transform: translate(-20%, -20%) rotate(0deg);
    }

    33% {
        transform: translate(20%, -10%) rotate(120deg);
    }

    66% {
        transform: translate(10%, 20%) rotate(240deg);
    }

    100% {
        transform: translate(-20%, -20%) rotate(360deg);
    }
}

@keyframes particleDrift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        transform: translate(100px, -100px) scale(0.5);
        opacity: 0;
    }
}

/* Header */
header {
    position: relative;
    z-index: 100;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.brand-logo {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

nav {
    display: flex;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 2.5rem;
    border-radius: 100px;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 200;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--text-primary);
}

/* ── Mega Menu (Horizontal Dropdown) ─────────────────────────── */
.nav-dropdown {
    position: relative;
}

/* Header container needs relative position to anchor the mega menu */
header {
    position: relative;
    z-index: 1000;
}

/* Keep sibling nav links above the mega menu hit area */
nav > a,
nav > .nav-dropdown > .nav-dropdown-trigger {
    position: relative;
    z-index: 2;
}

.nav-dropdown-trigger {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
}

.nav-dropdown-trigger svg {
    width: 13px;
    height: 13px;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:hover .nav-dropdown-trigger svg {
    color: var(--text-primary);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 680px;
    background: rgba(12, 12, 12, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.2rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                visibility 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 1;
}

@media (min-width: 769px) {
    .nav-dropdown:hover .nav-dropdown-menu {
        display: grid;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

/* Narrow hover bridge — only under the trigger, not full menu width */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 2.5rem;
    background: transparent;
    pointer-events: auto;
}

/* Minimal Menu Content */
.mega-column {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mega-column h4 {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-red);
    font-weight: 800;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.mega-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.4rem 0;
    transition: all 0.2s ease;
    display: block !important;
}

.mega-column a:hover {
    color: #fff;
    transform: translateX(4px);
}

.mega-column a.view-all {
    margin-top: 0.5rem;
    color: var(--accent-red);
    font-weight: 700;
}

.nav-dropdown-menu .view-all {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    color: var(--accent-red) !important;
    font-weight: 700;
    text-decoration: none;
    display: block;
}

.nav-dropdown-menu .view-all:hover {
    color: #fff !important;
}

.mega-footer-item {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mega-footer-item:hover {
    color: #fff;
}

.mega-all-btn {
    padding: 0.8rem 1.8rem;
    background: var(--accent-red);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(234, 0, 27, 0.3);
    transition: all 0.3s ease;
}

.mega-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(234, 0, 27, 0.5);
}

.nav-dropdown-menu .dd-footer:hover {
    background: rgba(234, 0, 27, 0.1) !important;
}

/* ──────────────────────────────────────────────────── */

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Mobile-only header controls: HTML includes overlay in every page; hide on desktop */
.mobile-menu-btn {
    display: none !important;
}

.mobile-nav-overlay {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
}

.search-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-btn {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.25rem 0.25rem 1.5rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.arrow-circle {
    width: 36px;
    height: 36px;
    background: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 100;
    padding: 10rem 4rem 4rem;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 5.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.hero h1 span {
    color: var(--text-primary);
}

.hero h1 .highlight {
    color: white;
    position: relative;
}

.ai-glow {
    position: relative;
    padding: 0.2rem 1.5rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    vertical-align: middle;
    margin: 0 0.5rem;
}

.ai-glow::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(from var(--gradient-angle),
            transparent 0%,
            rgba(255, 255, 255, 0.15) 20%,
            rgba(255, 255, 255, 0.4) 30%,
            transparent 40%);
    filter: blur(6px);
    opacity: 0.7;
    animation: rotateGlow calc(8s / var(--gradient-speed)) linear infinite;
}

.ai-glow span {
    position: relative;
    z-index: 1;
    color: var(--accent-red) !important;
}

@keyframes rotateGlow {
    to {
        --gradient-angle: 360deg;
    }
}

.hero h1 .red-text {
    color: var(--accent-red);
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto 3rem auto;
}

.connect-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.2rem 0.8rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    gap: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 4rem;
    cursor: pointer;
    position: relative;
    z-index: 101;
    pointer-events: auto;
}

.connect-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.connect-arrow {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}

.sub-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 3rem;
}

/* Footer / Brands */
.brands {
    position: relative;
    padding: 6rem 4rem 4rem;
    width: 100%;
    z-index: 50;
    text-align: center;
}

.brands p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.brand-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    opacity: 0.5;
    padding: 0 4rem;
}

.brand-item {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

/* Industries Section */
.industries {
    padding: 4rem 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 50;
}

.industries-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    gap: 4rem;
}

.header-left h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    max-width: 500px;
}

.header-right {
    max-width: 500px;
    text-align: right;
}

.header-right p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: right;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-all:hover {
    background: rgba(255, 255, 255, 0.1);
}

.view-arrow {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}

.industry-tabs {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0px;
    flex-wrap: wrap;
}

.tab {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 1.5rem;
    font-family: inherit;
}

.tab:hover {
    color: white;
}

.tab.active,
#last-industry-tab,
.active-process {
    color: white;
}

.tab.active::after,
#last-industry-tab::after,
.active-process::after {
    content: '';
    position: absolute;
    bottom: -1.1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-red);
}

/* Transformation 2026 Section */
.transformation-2026 {
    position: relative;
    padding: 4rem 4rem;
    background: transparent;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.year-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(15rem, 40vw, 40rem);
    font-weight: 900;
    line-height: 1;
    z-index: 1;
    user-select: none;

    /* Animated Gradient Effect */
    --gradient-speed: 8s;
    background: linear-gradient(var(--gradient-angle, 280deg),
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.15) 25%,
            rgba(234, 0, 27, 0.08) 50%,
            rgba(255, 255, 255, 0.15) 75%,
            rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
    pointer-events: none;

    animation: textGradientShift var(--gradient-speed) linear infinite;
}

@keyframes textGradientShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.transformation-header {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 6rem;
}

.transformation-header h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--accent-red);
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.transformation-header h2 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.subject-area {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.subject-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
}

.ai-core-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(0, 112, 243, 0.3));
    animation: pulseCore 4s infinite ease-in-out;
}

@keyframes pulseCore {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Callouts Style */
.callout {
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 20;
    width: 250px;
}

.callout-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
    position: relative;
}

.callout-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    animation: ripple 2s infinite ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.callout-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    flex-grow: 1;
}

.callout-content {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.callout-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 0.4rem;
}

.callout-desc {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

/* Adjusting callouts direction */
.callout.sonar,
.callout.testing {
    flex-direction: row-reverse;
}

.callout.sonar .callout-line,
.callout.testing .callout-line {
    margin-left: 0;
}

.transformation-footer {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    margin-top: 6rem;
}

.transformation-footer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Re-fixing general card styling that might have been shifted */
.main-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    margin-top: 2rem;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#ind-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-layout {
    display: flex;
    height: 100%;
}

.card-left-side {
    flex: 1;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--glass-border);
}

.card-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.card-left-side h3 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 2rem;
    max-width: 500px;
}

.card-left-side p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 450px;
    margin-bottom: 3.5rem;
}

.explore-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
    transition: all 0.3s ease;
}

.explore-btn-large:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.explore-arrow {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}

.card-right-side {
    flex: 1.2;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.01);
}

.partner-logos-compact {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    opacity: 0.5;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Carousel */
.carousel-container {
    position: relative;
    flex-grow: 1;
    min-height: 400px; /* Ensure there is height for absolute children */
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    border: 1px solid var(--glass-border);
}

.carousel-track {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
    opacity: 1 !important;
    z-index: 10 !important;
    position: relative !important; /* Force it to take up space when active */
}

.carousel-slide picture,
.carousel-slide img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 400px;
    object-fit: cover;
}


.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.slide-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-red);
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 1rem;
}

.slide-info h4 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    pointer-events: none;
    z-index: 10;
}

.carousel-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.carousel-nav button:hover {
    background: white;
    color: black;
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 1200px) {
    .card-layout {
        flex-direction: column;
    }

    .card-left-side {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 3rem;
    }

    .card-right-side {
        padding: 3rem;
    }

    .carousel-container {
        height: 450px;
    }

    .subject-wrapper {
        width: 350px;
        height: 350px;
    }

    .callout {
        width: 200px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 2rem;
    }

    nav {
        display: none;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .industries {
        padding: 4rem 1.5rem;
    }

    .card-left-side {
        padding: 2.5rem;
    }

    .card-left-side h3 {
        font-size: 2.5rem;
    }

    .year-backdrop {
        font-size: 15rem;
    }

    .transformation-header h2 {
        font-size: 2.5rem;
    }

    .callout {
        position: static;
        width: 100%;
        margin-bottom: 1rem;
        flex-direction: row !important;
    }

    .callout-line,
    .callout-dot {
        display: none;
    }

    .subject-area {
        flex-direction: column;
        height: auto;
    }

    .subject-wrapper {
        margin-bottom: 2rem;
    }
}

/* Services Hub Section */
.services-hub {
    padding: 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hub-header {
    text-align: center;
    margin-bottom: 6rem;
}

.hub-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hub-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.hub-container {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr !important;
    gap: 2rem !important;
    align-items: stretch !important;
}

.hub-main-card {
    background: linear-gradient(135deg, rgba(234, 0, 27, 0.05) 0%, rgba(20, 20, 20, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 5rem 4rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Push content to bottom */
    min-height: 620px;
    transition: all 0.4s ease;
}

.hub-main-card:hover {
    border-color: rgba(234, 0, 27, 0.3);
    transform: translateY(-5px);
}

.hub-card-bg {
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 26rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.01);
    opacity: 0.8;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hub-main-card:hover .hub-card-bg {
    opacity: 1;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
    transform: scale(1.02) translate(5px, 5px);
}

.hub-card-asset {
    display: none;
}

/* High-Tech Asset Display Window */
.hub-card-asset::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(234, 0, 27, 0.1) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
    animation: hubPulse 5s infinite alternate ease-in-out;
}

@keyframes hubPulse {
    0% {
        opacity: 0.3;
        transform: scale(0.9);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.hub-card-asset img {
    width: 100%;
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.9));
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hub-main-card:hover .hub-card-asset img {
    transform: scale(1.05) rotate(1deg);
}

.hub-card-info {
    position: relative;
    z-index: 10;
    max-width: 80%;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.hub-card-info h3,
.hub-card-info p,
.hub-card-info .tag {
    text-align: left !important;
    margin-left: 0 !important;
}

.hub-card-info .tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(234, 0, 27, 0.1);
    color: var(--accent-red);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hub-card-info h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-weight: 800;
}

.hub-card-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.hub-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 2.5rem;
    background: white;
    color: black;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.hub-btn:hover {
    transform: translateX(10px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Side Stack */
.hub-side-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hub-side-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 30px;
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.hub-side-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(12px);
}

.side-card-bg {
    position: absolute;
    right: 5%;
    bottom: -15%;
    font-size: 7rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    pointer-events: none;
    user-select: none;
}

.side-card-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
}

.side-card-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.side-card-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.side-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    transition: all 0.3s ease;
}

.hub-side-card:hover .side-card-icon {
    background: var(--accent-red);
    color: white;
}

/* CTA Banner */
/* Card grid: invalid var(--grid-cols, 3, 1fr) broke desktop (single column). Use auto-fit cards on web. */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
    width: 100%;
}

/* Desktop: explicit grid (overrides any stray flex from elsewhere) */
@media (min-width: 769px) {
    .services-hub .responsive-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        flex-direction: unset !important;
        align-items: stretch !important;
        justify-content: unset !important;
        text-align: unset !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        width: 100% !important;
    }

    .services-hub .responsive-grid .hub-side-card {
        max-width: none !important;
        width: auto !important;
    }
}

.hub-card-vertical {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left;
}

@media (max-width: 768px) {
    /* Horizontal inset comes from parent section (see global mobile block) */
    .responsive-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hub-card-vertical {
        align-items: center !important;
        text-align: center !important;
    }

    .hub-card-vertical>div {
        text-align: center !important;
    }
}

.cta-banner-card {
    background: linear-gradient(135deg, var(--accent-red) 0%, #b30014 100%);
    border-radius: 30px;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-top: 0.5rem;
}

.cta-banner-card p {
    font-weight: 700;
    font-size: 1.2rem;
    max-width: 60%;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.8rem;
    background: white;
    color: black;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-link:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 4rem;
    position: relative;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 5rem;
}

.testimonials-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.quote-icon {
    color: var(--accent-red);
    opacity: 0.8;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-red);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials {
        padding: 5rem 2rem;
    }

    .testimonials-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .hub-container {
        grid-template-columns: 1fr;
    }

    .hub-main-card {
        min-height: 500px;
    }

    .hub-card-asset {
        width: 50%;
        right: 0;
    }
}

@media (max-width: 768px) {
    .solutions-hub {
        padding: 6rem 2rem;
    }

    .hub-header h2 {
        font-size: 2.5rem;
    }

    .hub-main-card {
        padding: 2rem;
        min-height: 450px;
    }

    .hub-card-info h3 {
        font-size: 2rem;
    }

    .hub-card-info {
        max-width: 100%;
    }

    .hub-card-asset {
        display: none;
    }

    .cta-banner-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(to bottom, #0c0c0c, #000000);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 0;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(234, 0, 27, 0.05) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
}

.footer-bg-text {
    position: absolute;
    bottom: -50px;
    left: 4rem;
    font-size: 20rem;
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.02);
    z-index: -1;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.05em;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem 8rem;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 5rem;
    position: relative;
    z-index: 2;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    max-width: 400px;
}

/* Workflow New Styles */
.workflow-steps-container {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 4rem;
    position: relative;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 10;
}

.workflow-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.workflow-card:hover {
    transform: translateY(-10px);
    border-color: rgba(234, 0, 27, 0.3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 6rem;
    font-weight: 900;
    color: white;
    opacity: 0.03;
    pointer-events: none;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(234, 0, 27, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.workflow-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
}

.workflow-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.ai-benefit {
    margin-top: auto;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid var(--accent-red);
}

.ai-benefit i {
    width: 16px;
    height: 16px;
    color: var(--accent-red);
}

/* Highlight Section */
.workflow-highlight-section {
    text-align: center;
    padding: 4rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.workflow-highlight-section h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.workflow-highlight-section p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Workflow CTA */
.workflow-cta {
    padding: 4rem 4rem;
    text-align: center;
}

.cta-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 5rem 4rem;
    border-radius: 40px;
    max-width: 1000px;
    margin: 0 auto;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.cta-box h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

/* Contact Page Styles */
.contact-form-notice {
    max-width: 900px;
    margin: 6rem auto 0;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form-notice--success {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.contact-form-notice--error {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.contact-hero {
    padding: 8rem 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    max-width: 1400px;
    margin: 4rem auto 8rem;
    padding: 0 4rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-method-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
}

.contact-method-card .icon {
    width: 50px;
    height: 50px;
    background: rgba(234, 0, 27, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
}

.contact-method-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.contact-form-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 32px;
    backdrop-filter: blur(15px);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--accent-red);
    border: none;
    border-radius: 100px;
    color: white;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(234, 0, 27, 0.3);
}

/* Blog Styles */
.blog-hero {
    padding: 8rem 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 4rem auto 8rem;
    padding: 0 4rem;
}

.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(234, 0, 27, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.blog-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.blog-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex-grow: 1;
}

.blog-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-red);
}

.blog-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.blog-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Blog Inner Page */
.post-header {
    padding: 6rem 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

/* Modern Editorial Blog Style (Asymmetric) */
.post-header-modern {
    padding: 8rem 4rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
}

.header-content-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: left;
}

.header-image-right {
    position: relative;
    z-index: 10;
}

.featured-img-frame {
    width: 100%;
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    background: var(--glass-bg);
}

.featured-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-img-frame:hover img {
    transform: scale(1.05);
}

.post-header-modern h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
}

.post-meta-modern {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.meta-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-red);
    letter-spacing: 0.1em;
}

.meta-value {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.editorial-container {
    max-width: 1400px;
    margin: 0 auto 10rem;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 6rem;
}

.editorial-sidebar {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 2.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-red);
}

.author-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.author-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-body-modern {
    font-size: 1.25rem;
    line-height: 1.85;
    color: var(--text-primary);
}

.article-body-modern p {
    margin-bottom: 2.5rem;
}

.article-body-modern h2 {
    font-size: 2.5rem;
    margin: 5rem 0 2rem;
    font-weight: 800;
}

@media (max-width: 1200px) {
    .post-header-modern {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 6rem 4rem 4rem;
    }

    .header-content-left {
        text-align: center;
        align-items: center;
    }

    .featured-img-frame {
        height: 400px;
    }

    .post-header-modern h1 {
        font-size: 3.5rem;
    }

    .editorial-container {
        grid-template-columns: 1fr;
    }

    .editorial-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 4rem;
    }
}

.article-body blockquote {
    border-left: 4px solid var(--accent-red);
    padding: 2rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    font-style: italic;
    font-size: 1.5rem;
    margin: 4rem 0;
    border-radius: 0 20px 20px 0;
}

/* Industries Page Styles */
.industries-hero {
    padding: 8rem 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

/* Modern Strategic Industry Pillars */
.industries-listing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    max-width: 1400px;
    margin: 4rem auto 10rem;
    padding: 0 4rem;
}

.industry-pillar-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Ultra-thin border */
    border-radius: 36px;
    padding: 4.5rem;
    position: relative;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    overflow: hidden;
    /* To clip internal patterns */
    backdrop-filter: blur(20px);
}

/* Neural Grid Overlay */
.industry-pillar-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.industry-pillar-card:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(234, 0, 27, 0.4);
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.industry-pillar-card:hover::before {
    opacity: 1;
}

.pillar-number {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 6rem;
    position: absolute;
    top: 2rem;
    right: 3rem;
    line-height: 1;
    /* Gradient Stroke Style */
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    color: transparent;
    transition: -webkit-text-stroke 0.4s ease;
}

.industry-pillar-card:hover .pillar-number {
    -webkit-text-stroke: 1px rgba(234, 0, 27, 0.3);
}

.industry-pillar-card .icon-head {
    width: 72px;
    height: 72px;
    background: rgba(234, 0, 27, 0.1);
    border: 1px solid rgba(234, 0, 27, 0.2);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    position: relative;
    z-index: 2;
}

.industry-pillar-card h2 {
    font-size: 2.4rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.industry-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.capabilities-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: white;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.industry-pillar-card:hover .capability-item {
    transform: translateX(5px);
}

.capability-item i {
    color: var(--accent-red);
    width: 18px;
}

/* Product Page Styles - Ordered PropTrack */
/* azoresWM Premium Product Styles */
.product-hero-modern {
    padding: 12rem 4rem 4rem;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.layered-headline {
    font-size: 8.5rem;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.layered-headline span:nth-child(2) {
    color: rgba(255, 255, 255, 0.15);
}

.country-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 6rem;
    flex-wrap: wrap;
}

.country-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 2.5rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: white;
    backdrop-filter: blur(10px);
}

/* Alternating Feature Sections */
.product-feature-section {
    padding: 10rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10rem;
    align-items: center;
}

.product-feature-section.alt {
    direction: rtl;
}

.product-feature-section.alt .feature-text-content {
    direction: ltr;
}

/* Rich Feature Visuals (Dashboard Reconstructions) */
.rich-card-stack {
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.wm-stat-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3.5rem;
    border-radius: 44px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    width: 100%;
    max-width: 480px;
    text-align: left;
}

.wm-stat-card.red {
    border-left: 6px solid var(--accent-red);
}

.wm-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.15em;
}

.wm-value {
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.wm-value.percent {
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.wm-subtext {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.5;
}

.yield-graph {
    margin-top: 2rem;
    height: 6px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.yield-fill {
    height: 100%;
    background: #6366f1;
    width: 80%;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.feature-text-content .status-pill {
    padding: 0.5rem 1.2rem;
    background: rgba(234, 0, 27, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(234, 0, 27, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

@media (max-width: 1300px) {
    .layered-headline {
        font-size: 6rem;
    }
}

@media (max-width: 1100px) {
    .layered-headline {
        font-size: 4.5rem;
    }

    .product-feature-section {
        grid-template-columns: 1fr;
        gap: 6rem;
        padding: 6rem 2rem;
        text-align: center;
    }

    .feature-text-content {
        align-items: center;
    }

    .wm-value {
        font-size: 3.5rem;
    }
}

.feature-text-content h2 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
}

.feature-text-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.feature-visual {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-dashboard-reveal,
.feature-visual {
    height: 400px;
}


@media (max-width: 1000px) {
    .industries-listing {
        grid-template-columns: 1fr;
        padding: 0 2rem;
    }
}

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

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-header h1 {
        font-size: 3rem;
    }

    .post-header,
    .post-content-container {
        padding: 0 2rem;
    }

    .post-featured-image {
        height: 300px;
        border-radius: 20px;
    }
}

@media (max-width: 1000px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 3rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}

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

@media (max-width: 768px) {
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .workflow-steps-container {
        padding: 0 2rem;
    }

    .workflow-highlight-section h2 {
        font-size: 2.5rem;
    }
}

/* Stats Trust Bar */
.stats-bar {
    position: relative;
    z-index: 10;
    padding: 0 4rem 5rem;
}

.stats-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 3.5rem;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--glass-border);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .stats-bar-inner {
        flex-wrap: wrap;
        padding: 2rem;
        gap: 2rem;
        justify-content: center;
    }

    .stat-divider {
        display: none;
    }

    .stats-bar {
        padding: 0 2rem 4rem;
    }
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    max-width: 400px;
}

.certifications {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
}

.cert-item img {
    height: 32px;
    filter: grayscale(1) invert(1) opacity(0.4);
    transition: all 0.3s ease;
}

.cert-item img:hover {
    filter: grayscale(1) invert(1) opacity(0.8);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-links a i,
.social-links a svg,
.social-links a .social-icon {
    width: 18px;
    height: 18px;
}

/* --- PRODUCT PAGES COMMON STYLES --- */
:root {
    --product-accent: #ea001b;
    /* Default Azores Red */
}

.theme-green {
    --product-accent: #10b981;
}

.theme-gold {
    --product-accent: #fbbf24;
}

.theme-blue {
    --product-accent: #0070f3;
}

.feature-chapter {
    position: relative;
    padding: 10rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8rem;
}

.feature-chapter.alt {
    flex-direction: row-reverse;
}

.chapter-number {
    position: absolute;
    top: 0;
    left: 4rem;
    font-size: 15rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.03;
    z-index: -1;
    font-family: 'Inter', sans-serif;
}

.feature-chapter.alt .chapter-number {
    left: auto;
    right: 4rem;
}

.chapter-content {
    flex: 1;
}

.chapter-visual {
    flex: 1.2;
    position: relative;
}

.chapter-tag {
    color: var(--product-accent);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    display: block;
}

.chapter-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.chapter-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.chapter-points {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.point-icon {
    width: 18px;
    height: 18px;
    color: var(--product-accent);
}

/* Premium Visual Cards */
.premium-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.theme-green .premium-card::before {
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.2), transparent);
}

.data-stream {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--product-accent);
    opacity: 0.5;
    margin-bottom: 1rem;
    display: block;
}

.command-center-visual {
    width: 100%;
    max-width: 1200px;
    margin: 6rem auto;
    border-radius: 32px;
    background: #000;
    border: 1px solid #222;
    padding: 1px;
    position: relative;
}

.command-center-visual {
    box-shadow: 0 0 100px rgba(234, 0, 27, 0.1);
}

.theme-green .command-center-visual {
    box-shadow: 0 0 100px rgba(16, 185, 129, 0.1);
}

.command-header {
    height: 50px;
    background: #111;
    border-bottom: 1px solid #222;
    border-radius: 32px 32px 0 0;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    justify-content: space-between;
}

.command-dots {
    display: flex;
    gap: 8px;
}

.command-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
}

.command-content {
    padding: 3rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

.command-sidebar {
    border-right: 1px solid #222;
    padding-right: 2rem;
}

.sidebar-item {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: #666;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.sidebar-item.active {
    background: rgba(234, 0, 27, 0.05);
    color: var(--accent-red);
}

.theme-green .sidebar-item.active {
    background: rgba(16, 185, 129, 0.05);
    color: #10b981;
}

.command-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-widget {
    background: #080808;
    border: 1px solid #222;
    border-radius: 16px;
    padding: 1.5rem;
}

.stat-val {
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 1rem;
    display: block;
}

.stat-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 1024px) {
    .feature-chapter {
        flex-direction: column;
        padding: 6rem 2rem;
        gap: 4rem;
        text-align: center;
    }

    .feature-chapter.alt {
        flex-direction: column;
    }

    .chapter-number {
        font-size: 10rem;
        left: 50%;
        translate: -50% 0;
    }

    .chapter-title {
        font-size: 2.5rem;
    }

    .command-content {
        grid-template-columns: 1fr;
    }

    .command-sidebar {
        border-right: none;
        border-bottom: 1px solid #222;
        padding-right: 0;
        padding-bottom: 2rem;
        display: flex;
        overflow-x: auto;
        gap: 1rem;
    }

    .sidebar-item {
        white-space: nowrap;
    }

    .command-main {
        grid-template-columns: 1fr;
    }
}

/* Page-Specific Product Components */
.room-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
}

.room-cell {
    aspect-ratio: 1;
    border-radius: 6px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.room-cell.vacant {
    background: rgba(255, 255, 255, 0.03);
    border-color: #222;
}

.room-cell.maintenance {
    background: rgba(234, 0, 27, 0.1);
    border-color: rgba(234, 0, 27, 0.3);
}

.social-links a:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(234, 0, 27, 0.3);
}

.footer-column h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-group {
    margin-bottom: 3rem;
}

.footer-group:last-child {
    margin-bottom: 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

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

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a.view-all-footer {
    color: var(--accent-red) !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-column ul li a.view-all-footer i {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.footer-column ul li a.view-all-footer:hover i {
    transform: translateX(4px);
}

.footer-column ul li a:hover {
    color: white;
    transform: translateX(5px);
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 2.5rem 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

.legal-links .divider {
    color: rgba(255, 255, 255, 0.05);
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem 1.2rem;
    background: var(--glass-bg);
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    color: white;
}

.country-selector:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
        padding: 0 4rem 6rem;
    }
}

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

    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 2rem 5rem;
        gap: 4rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        padding: 0 2rem;
    }

    .legal-links {
        flex-direction: column;
        gap: 1.2rem;
    }

    .legal-links .divider {
        display: none;
    }

    .footer-bg-text {
        font-size: 10rem;
        left: 2rem;
        bottom: 20%;
    }
}

/* Floating CTA */
.float-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--accent-red);
    color: #fff;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    padding: .85rem 1.4rem;
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(234, 0, 27, .45);
    transition: all .3s cubic-bezier(.23, 1, .32, 1);
    letter-spacing: .02em;
}

.float-cta:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 40px rgba(234, 0, 27, .6);
}

@media(max-width:600px) {
    .float-cta span {
        display: none;
    }

    .float-cta {
        padding: 1rem;
        border-radius: 50%;
    }
}

/* ── Call to Action Buttons ────────────────────────────────────────── */
.connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 1.2rem 3rem;
    background: var(--accent-red);
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0 auto;
    width: fit-content;
}

.connect-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(234, 0, 27, 0.5);
    background: #ff001e;
    color: white;
}

.connect-arrow {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black !important;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.connect-btn:hover .connect-arrow {
    transform: scale(1.15) rotate(45deg);
}

.connect-btn i,
.connect-btn svg {
    color: black !important;
    width: 18px;
    height: 18px;
}

/* Product pages: final CTA — long "Deploy …" labels must not overflow the card */
.workflow-cta .cta-box .connect-btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ──────────────────────────────────────────────────────────
   ABOUT PAGE
   ────────────────────────────────────────────────────────── */
.about-hero {
    padding: 10rem 4rem 6rem;
    text-align: center;
}

.about-hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.0;
    margin-bottom: 2.5rem;
}

.about-grid {
    padding: 4rem 4rem 10rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.stats-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-secondary);
}

.vision-img-placeholder {
    aspect-ratio: 4/5;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.vision-img-placeholder::after {
    content: 'AZORES';
    font-size: 12rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    opacity: 0.03;
    rotate: -90deg;
}

@media (max-width: 1000px) {
    .about-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .about-hero h1 {
        font-size: 3.5rem;
    }
}

/* ──────────────────────────────────────────────────────────
   INDUSTRIES PAGE
   ────────────────────────────────────────────────────────── */
.industries-hero {
    padding: 10rem 4rem 6rem;
    text-align: center;
    position: relative;
}

.industries-hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin-bottom: 2.5rem;
}

.industries-hero p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.6;
}

.industry-matrix {
    padding: 4rem 4rem 10rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.industry-pillar {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 40px;
    padding: 4.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.industry-pillar:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(234, 0, 27, 0.3);
    transform: translateY(-8px);
}

.industry-bg-num {
    position: absolute;
    top: -2rem;
    right: -1rem;
    font-size: 14rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.pillar-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(234, 0, 27, 0.05);
    border: 1px solid rgba(234, 0, 27, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.industry-pillar h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.industry-pillar p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.capability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.cap-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.cap-item i {
    color: var(--accent-red);
    opacity: 0.8;
}

.industry-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    width: fit-content;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.industry-pillar:hover .industry-cta {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.industry-cta i {
    transition: transform 0.3s ease;
}

.industry-pillar:hover .industry-cta i {
    transform: translateX(4px);
}

@media (max-width: 1000px) {
    .industry-matrix {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .industry-pillar {
        padding: 3rem;
    }

    .industries-hero h1 {
        font-size: 3.5rem;
    }
}

/* ──────────────────────────────────────────────────────────
   INDUSTRY LOGISTICS (& SHARED COMPONENTS)
   ────────────────────────────────────────────────────────── */
.float-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--accent-red);
    color: #fff;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    padding: .85rem 1.4rem;
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(234, 0, 27, .45);
    transition: all .3s cubic-bezier(.23, 1, .32, 1);
}

.float-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(234, 0, 27, .6);
}

@media(max-width:600px) {
    .float-cta span {
        display: none;
    }

    .float-cta {
        padding: 1rem;
        border-radius: 50%;
    }
}

.industry-hero {
    padding: 10rem 4rem 5rem;
    text-align: center;
    position: relative;
}

.industry-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.industry-hero p {
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    line-height: 1.7;
}

.use-cases {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 4rem 8rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.use-case-card:hover {
    border-color: rgba(234, 0, 27, 0.3);
    transform: translateY(-6px);
}

.uc-icon {
    width: 52px;
    height: 52px;
    background: rgba(234, 0, 27, 0.08);
    border: 1px solid rgba(234, 0, 27, 0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
}

.use-case-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.use-case-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

@media(max-width:900px) {
    .use-cases {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .industry-hero {
        padding: 8rem 2rem 4rem;
    }
}

/* ──────────────────────────────────────────────────────────
   PRODUCTS HUB
   ────────────────────────────────────────────────────────── */
.products-hero {
    padding: 8rem 4rem 4rem;
    text-align: center;
    position: relative;
}

.products-hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}

.products-hero p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.7;
}

.products-grid-container {
    padding: 2rem 4rem 10rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 2.5rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(234, 0, 27, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(234, 0, 27, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.product-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(234, 0, 27, 0.05);
    border: 1px solid rgba(234, 0, 27, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    transition: all 0.3s ease;
}

.product-card:hover .product-card-icon {
    background: rgba(234, 0, 27, 0.1);
    transform: scale(1.05);
}

.product-card-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-secondary);
}

.product-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

.product-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.explore-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-red);
    margin-top: auto;
}

.explore-link i {
    transition: transform 0.3s ease;
}

.product-card:hover .explore-link i {
    transform: translateX(4px);
}

@media (max-width: 1100px) {
    .products-grid-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem;
    }
}

@media (max-width: 700px) {
    .products-grid-container {
        grid-template-columns: 1fr;
    }

    .products-hero h1 {
        font-size: 3rem;
    }
}

/* ──────────────────────────────────────────────────────────
   SERVICES HUB
   ────────────────────────────────────────────────────────── */
.services-hero {
    padding: 10rem 4rem 6rem;
    text-align: center;
}

.services-hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin-bottom: 2.5rem;
}

.services-hub-grid {
    padding: 4rem 4rem 10rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-hub-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 32px;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-hub-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(234, 0, 27, 0.3);
    transform: translateY(-8px);
}

.sh-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(234, 0, 27, 0.05);
    border: 1px solid rgba(234, 0, 27, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.service-hub-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.service-hub-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.sh-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sh-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.sh-list li svg {
    color: var(--accent-red);
    width: 14px;
    height: 14px;
}

@media (max-width: 1100px) {
    .services-hub-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 2.5rem;
    }

    .services-hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 700px) {
    .services-hub-grid {
        grid-template-columns: 1fr;
    }
}

/* ──────────────────────────────────────────────────────────
   SOLUTIONS HUB
   ────────────────────────────────────────────────────────── */
.solutions-hero {
    padding: 10rem 4rem 4rem;
    text-align: center;
    position: relative;
}

.solutions-hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin-bottom: 2.5rem;
}

.solutions-hero p {
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

.solutions-grid {
    padding: 4rem 4rem 10rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.solution-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 40px;
    padding: 4.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.solution-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(234, 0, 27, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.sol-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(234, 0, 27, 0.05);
    border: 1px solid rgba(234, 0, 27, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.solution-card h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.solution-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
}

.sol-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.sol-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.sol-feature-item svg {
    color: var(--accent-red);
    flex-shrink: 0;
}

.solution-cta {
    margin-top: auto;
    width: fit-content;
    padding: 1rem 2.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-cta {
    background: var(--accent-red);
    border-color: var(--accent-red);
    box-shadow: 0 10px 30px rgba(234, 0, 27, 0.3);
}

@media (max-width: 1000px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .solution-card {
        padding: 3rem;
    }
}

/* ──────────────────────────────────────────────────────────
   ESTIMATION PAGE
   ────────────────────────────────────────────────────────── */
.disclaimer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 200, 0, 0.06);
    border: 1px solid rgba(255, 200, 0, 0.15);
    color: rgba(255, 200, 0, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-top: 0.5rem;
}

.estimator-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 2rem 8rem;
    position: relative;
    z-index: 1;
}

.progress-track {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 3rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.4rem;
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 0.6rem 0.5rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.progress-step.active {
    background: var(--red);
    color: #fff;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 3rem;
    display: none;
    animation: fadeUp 0.4s ease;
}

.step-card.active {
    display: block;
}

.step-q {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.options-grid {
    display: grid;
    gap: 0.75rem;
}

.opt {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.opt.selected {
    border-color: var(--red);
    background: var(--red-dim);
}

.estimate-range {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2.5rem;
    background: var(--red-dim);
    border: 1px solid rgba(234, 0, 27, 0.25);
    border-radius: 24px;
}

.range-num {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
}

.lead-form {
    background: linear-gradient(135deg, rgba(234, 0, 27, 0.08), rgba(234, 0, 27, 0.03));
    border: 1px solid rgba(234, 0, 27, 0.25);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
}

/* ──────────────────────────────────────────────────────────
   GLOBAL MOBILE RESPONSIVENESS (MAX-WIDTH: 768px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    :root {
        --mobile-gutter-x: 1.25rem;
        --mobile-section-y: 2rem;
    }

    /* Hard reset to prevent horizontal scroll */
    html,
    body {
        width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Lucide / UI icons: do not shrink or clip inside flex stacks */
    [data-lucide],
    .side-card-icon,
    .point-icon,
    .quote-icon,
    .arrow-circle,
    .connect-arrow {
        flex-shrink: 0 !important;
    }

    main {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Force all layout divs to column and centered regardless of inline styles */
    .container,
    .card-layout,
    .industries-header,
    .stats-bar-inner,
    .services-grid,
    .solutions-grid,
    .products-grid-container,
    .use-cases,
    .sol-features,
    .step-card,
    .footer-bottom-container,
    .feature-chapter,
    .testimonials-grid,
    .responsive-grid,
    .contact-container,
    .testimonial-card,
    .contact-method-card,
    .contact-form-panel,
    .contact-info-panel {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: var(--mobile-gutter-x) !important;
        padding-right: var(--mobile-gutter-x) !important;
        padding-top: var(--mobile-section-y) !important;
        padding-bottom: var(--mobile-section-y) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        background-size: cover !important;
    }

    /* Parent section already applies horizontal gutter — avoid double padding */
    section .hub-container,
    section .responsive-grid,
    section .testimonials-grid,
    section .services-grid,
    section .solutions-grid,
    section .products-grid-container,
    section .stats-bar-inner,
    section .use-cases,
    section .sol-features,
    section .contact-info-panel,
    section .contact-form-panel,
    section .workflow-steps-container,
    section .workflow-grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Force Grid Containers to 1 Column */
    div[style*="display: grid"],
    div[style*="display:grid"] {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
        padding: 2rem var(--mobile-gutter-x) !important;
    }

    /* Hero Sections - CENTERED */
    .hero,
    .about-hero,
    .industries-hero,
    .products-hero,
    .services-hero,
    .solutions-hero,
    .industry-hero,
    .product-hero,
    .workflow-hero,
    .transformation-2026,
    .estimator-wrap,
    .hub-main-card {
        padding: 6rem var(--mobile-gutter-x) 3rem !important;
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    h1 {
        font-size: 2.2rem !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }

    h2 {
        font-size: 1.8rem !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 1.25rem !important;
        line-height: 1.3 !important;
    }

    h3,
    h4 {
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 1rem !important;
    }

    p {
        font-size: 1rem !important;
        width: 100% !important;
        max-width: 40rem !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        line-height: 1.6 !important;
        padding: 0 !important;
    }

    /* Hide Desktop Nav Elements */
    nav,
    .header-actions,
    .nav-dropdown-menu,
    .stat-divider {
        display: none !important;
    }

    header {
        padding: 1rem var(--mobile-gutter-x) !important;
        width: 100% !important;
        justify-content: space-between !important;
        flex-direction: row !important;
        /* Keep logo and menu side-by-side */
    }

    .brand-logo {
        height: 42px !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--glass-border);
        border-radius: 10px;
        color: white;
        cursor: pointer;
        z-index: 1100;
    }

    /* Mobile Nav Overlay */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #000000;
        z-index: 1050;
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center; /* Back to center */
        padding: 8rem 2rem 4rem;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .mobile-nav-overlay.active {
        display: flex !important;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-nav-overlay a, 
    .mobile-nav-overlay .nav-dropdown-trigger {
        font-size: 1.6rem;
        font-weight: 700;
        color: white;
        text-decoration: none;
        padding: 1.2rem 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        text-align: center;
        transition: opacity 0.3s ease;
    }

    /* Mobile Dropdown Overrides */
    .mobile-nav-overlay .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .mobile-nav-overlay .nav-dropdown .nav-dropdown-menu {
        display: none !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0.5rem 0 1.5rem 0 !important;
        gap: 0.8rem !important;
        width: 100% !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        position: static !important;
    }

    .mobile-nav-overlay .nav-dropdown.expanded .nav-dropdown-menu {
        display: flex !important;
        flex-direction: column !important;
    }

    .mobile-nav-overlay .nav-dropdown-menu .mega-column {
        align-items: center !important; /* Center columns */
        gap: 0.8rem !important;
        margin-bottom: 0 !important;
    }

    .mobile-nav-overlay .nav-dropdown-menu h4 {
        display: none !important;
    }

    .mobile-nav-overlay .nav-dropdown-menu a {
        font-size: 1.1rem !important;
        font-weight: 500 !important;
        color: var(--text-secondary) !important;
        padding: 0.6rem 0 !important;
        border-bottom: none !important;
        text-transform: none !important;
        justify-content: center !important;
    }

    .mobile-nav-overlay .nav-dropdown-menu a.view-all {
        color: var(--accent-red) !important;
        font-weight: 700 !important;
        margin-top: 0.5rem !important;
    }

    .mobile-nav-overlay .nav-dropdown-trigger {
        cursor: pointer;
    }

    .mobile-nav-overlay .nav-dropdown-trigger svg {
        width: 20px;
        height: 20px;
        transition: transform 0.3s ease;
    }

    .mobile-nav-overlay .nav-dropdown.expanded .nav-dropdown-trigger svg {
        transform: rotate(180deg);
    }

    /* Cards stack and center child content */
    .main-card,
    .product-card,
    .service-hub-card,
    .solution-card,
    .use-case-card,
    .cta-box {
        width: 100% !important;
        padding: 2rem 1rem !important;
        margin: 1rem 0 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .card-left-side,
    .card-right-side,
    .chapter-content {
        width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
        align-items: center !important;
        border: none !important;
    }

    /* Industry Tabs */
    .industry-tabs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 0.8rem !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 2rem 0 !important;
        border: none !important;
        width: 100% !important;
    }

    .tab {
        white-space: normal !important;
        padding: 0.6rem 1.2rem !important;
        font-size: 0.85rem !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid var(--glass-border) !important;
        border-radius: 100px !important;
        color: var(--text-secondary) !important;
    }

    .tab.active {
        background: var(--accent-red) !important;
        border-color: var(--accent-red) !important;
        color: white !important;
    }

    .tab::after {
        display: none !important;
    }

    /* Main Card Center Alignment */
    .card-left-side,
    .card-right-side {
        width: 100% !important;
        padding: 2.5rem 1rem !important;
        text-align: center !important;
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
        border: none !important;
    }

    .card-left-side h3 {
        font-size: 2rem !important;
        width: 100% !important;
        text-align: center !important;
    }

    .card-right-side {
        padding: 1.5rem !important;
    }

    /* Services hub + testimonials — use mobile gutter (desktop 4rem side padding was too wide) */
    .services-hub,
    .testimonials {
        padding: 3rem var(--mobile-gutter-x) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .services-hub .hub-header,
    .testimonials-header {
        margin-bottom: 3rem !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .hub-header p {
        max-width: 100% !important;
    }

    .services-hub .responsive-grid {
        align-items: stretch !important;
    }

    /* Services & Solutions Grid — horizontal padding 0: parent section already has --mobile-gutter-x */
    .hub-container,
    .services-grid,
    .solutions-grid {
        padding: 2rem 0 !important;
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* products.html: .products-grid-container IS the section — needs side inset (do not use 0 here) */
    .products-grid-container {
        padding: 2rem var(--mobile-gutter-x) 4rem !important;
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .products-grid-container .product-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .hub-main-card {
        padding: 2.5rem 1rem !important;
        text-align: center !important;
        align-items: center !important;
    }

    .hub-card-info h3 {
        font-size: 1.8rem !important;
        text-align: center !important;
    }

    /* Feature Chapters */
    .feature-chapter {
        flex-direction: column !important;
        padding: 3rem 1rem !important;
        gap: 2rem !important;
        align-items: center !important;
        text-align: center !important;
    }

    .chapter-visual {
        min-height: 200px !important;
        order: -1 !important;
        /* Image first on mobile */
    }

    .chapter-content {
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .chapter-content h2 {
        font-size: 2rem !important;
        text-align: center !important;
    }

    /* CTAs */
    .cta-box {
        padding: 3rem 1rem !important;
        border-radius: 20px !important;
        text-align: center !important;
        align-items: center !important;
    }

    .cta-box h3 {
        font-size: 2rem !important;
    }

    /* Footer */
    .footer {
        padding: 4rem var(--mobile-gutter-x) 2rem;
        text-align: center !important;
    }

    .footer-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
        padding-bottom: 3rem !important;
        width: 100% !important;
    }

    .footer-brand {
        grid-column: span 2 !important;
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }

    .footer-brand .logo-container {
        justify-content: center !important;
    }

    .footer-column {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 !important;
    }

    /* Target the Products column - it's the 3rd .footer-column, 4th child of container */
    .footer-column:nth-child(4) {
        grid-column: span 2 !important;
        margin-top: 1.5rem !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-column ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        width: 100% !important;
    }

    .footer-column ul li {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 0.5rem !important;
    }

    .footer-column h4 {
        margin-bottom: 1.25rem !important;
        width: 100% !important;
        text-align: center !important;
        color: white !important;
    }

    .footer-column ul li a {
        display: inline-block !important;
        text-align: center !important;
        width: 100% !important;
    }

    .footer-bottom-container {
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: center !important;
        text-align: center !important;
    }

    .legal-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: center !important;
    }

    .legal-links .divider {
        display: none !important;
    }

    /* Estimator Page */
    .estimator-wrap {
        padding: 2rem var(--mobile-gutter-x) 4rem;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .progress-track {
        overflow-x: auto !important;
        padding: 0.5rem !important;
        width: 100% !important;
    }

    .progress-step {
        padding: 0.6rem 0.8rem !important;
    }

    .step-card {
        padding: 1.5rem !important;
    }

    .step-q {
        font-size: 1.2rem !important;
    }

    /* Product pages: "Management Layer" command-center mock (not a real <img>) */
    main > section:has(.command-center-visual) {
        padding-left: var(--mobile-gutter-x) !important;
        padding-right: var(--mobile-gutter-x) !important;
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
        box-sizing: border-box !important;
    }

    /* section { align-items: center } shrinks this flex child — stretch so inner grid has full width */
    .command-center-visual {
        align-self: stretch !important;
        margin: 1.5rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .command-content {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 1rem !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .command-header {
        height: auto !important;
        min-height: 44px;
        padding: 0.75rem 1rem !important;
        flex-wrap: wrap !important;
        row-gap: 0.5rem !important;
    }

    /* Single column; override desktop 3-col + inline grid-column: span 3 on transactions mock */
    .command-main {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .command-main > * {
        grid-column: 1 / -1 !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .stat-widget {
        min-width: 0 !important;
        width: 100% !important;
    }

    .workflow-cta {
        padding-left: var(--mobile-gutter-x) !important;
        padding-right: var(--mobile-gutter-x) !important;
        padding-top: 2rem !important;
        padding-bottom: 3rem !important;
        box-sizing: border-box !important;
    }

    .workflow-cta .cta-box h3 {
        font-size: clamp(1.65rem, 5.5vw, 2.25rem) !important;
        line-height: 1.15 !important;
    }

    .workflow-cta .cta-box .connect-btn {
        max-width: 100% !important;
        width: auto !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        padding: 1rem 1.25rem !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* workflow.html — global mobile section flex was shrinking steps + killing the grid */
    .transformation-2026 {
        align-items: stretch !important;
        overflow-x: hidden !important;
    }

    .transformation-2026 .transformation-header {
        align-self: center !important;
        width: 100% !important;
        max-width: 42rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .transformation-2026 .workflow-steps-container {
        align-self: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .transformation-2026 .workflow-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        align-items: stretch !important;
        text-align: left !important;
    }

    .transformation-2026 .workflow-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 1.5rem !important;
        box-sizing: border-box !important;
    }

    .transformation-2026 .workflow-card h3,
    .transformation-2026 .workflow-card p {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .transformation-2026 .year-backdrop {
        font-size: clamp(5.5rem, 38vw, 12rem) !important;
    }

    .transformation-2026 .workflow-highlight-section {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Mobile-only fix for Hub Card Vertical layout (e.g. Who We Work With section) */
@media (max-width: 768px) {

    #who-we-work-with .hub-side-card,
    #how-it-works .hub-side-card,
    .hub-card-vertical {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 2rem 1.5rem !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Target the text container inside the vertical card */
    .hub-card-vertical>div {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    #who-we-work-with .side-card-icon,
    #how-it-works .side-card-icon {
        margin: 0 auto 0.5rem auto !important;
        position: relative !important;
        display: flex !important;
        /* Ensure Lucide SVG is flex-centered inside this div */
    }

    /* Extra specific to override any stray widths on h4/p */
    .hub-card-vertical h4,
    .hub-card-vertical p {
        width: 100% !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Hide Industry Right Side Image on Mobile */
    .industries .card-right-side {
        display: none !important;
    }

    /* What We Build Section Mobile Fixes */
    .services-hub .hub-side-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 2rem 1.5rem !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .services-hub .side-card-content {
        max-width: 100% !important;
        order: 2;
    }

    .services-hub .side-card-icon {
        order: 1;
        margin: 0 auto !important;
    }

    .services-hub .side-card-bg {
        display: none !important;
        /* Hide large background letters on mobile to declutter */
    }

    /* Center All Buttons on Mobile */
    .view-all,
    .connect-btn,
    .contact-btn,
    .hub-btn,
    .explore-btn-large,
    .cta-link,
    .submit-btn,
    .explore-btn {
        margin-left: auto !important;
        margin-right: auto !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Ensure industries header content is centered */
    .industries-header {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 1.5rem !important;
    }

    .header-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
}

/* Standard Dropdown styles */
.nav-dropdown-menu.standard-menu {
    width: 120px;
    grid-template-columns: 1fr;
    padding: 1.25rem;
    text-align: center;
}
.nav-dropdown:hover .nav-dropdown-menu.standard-menu {
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu.standard-menu .mega-column {
    align-items: center;
    width: 100%;
}
/* ── BLOG PAGINATION ── */
.pagination-container .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-container .page-numbers:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.pagination-container .page-numbers.current {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
    box-shadow: 0 10px 20px rgba(234, 0, 27, 0.2);
}

.pagination-container .prev, 
.pagination-container .next {
    background: transparent;
}

/* ── FORCE DESKTOP GRID FOR HUB ── */
@media (min-width: 992px) {
    .hub-container {
        display: grid !important;
        grid-template-columns: 1.4fr 1fr !important;
        gap: 2rem !important;
        width: 100% !important;
        max-width: 1400px !important;
        margin: 0 auto !important;
    }
    
    .hub-main-card {
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        min-height: 680px !important;
        padding: 8rem 4rem 5rem 4rem !important;
    }

    .hub-card-bg {
        top: 10% !important;
        left: 5% !important;
        font-size: 26rem !important;
    }

    .hub-card-info {
        text-align: left !important;
        align-items: flex-start !important;
        max-width: 65% !important;
    }

    .hub-card-info h3 {
        text-align: left !important;
        font-size: 2.8rem !important;
        line-height: 1.1 !important;
        font-weight: 800 !important;
        margin-bottom: 1.5rem !important;
    }
}
