/* Shared visual layer. Existing Razor components and content keep their structure. */
:root {
    --surface: #f5f7fc;
    --ink: #19243a;
    --muted: #55627a;
    --edge: rgba(59, 87, 143, 0.13);
    --glass-edge: rgba(255, 255, 255, 0.18);
    --soft-shadow: 0 12px 35px rgba(31, 52, 103, 0.07);
    --accent: 20, 110, 245;
}
[data-department="infrastructure"] {
    --accent: 11, 134, 150;
}
[data-department="hardware"] {
    --accent: 182, 100, 30;
}
[data-department="ai"] {
    --accent: 125, 76, 209;
}
html {
    scroll-padding-top: 7rem;
}
:focus-visible {
    outline: 3px solid #6ab7ff;
    outline-offset: 5px;
}
section[id] {
    scroll-margin-top: 7rem;
}
.lucide {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
    color: inherit;
    fill: none;
    stroke: currentColor;
}
.lucide use {
    color: inherit;
    fill: none;
    stroke: currentColor;
}
.list-empty {
    box-sizing: border-box;
}
.rc-more .lucide {
    width: 1rem;
    height: 1rem;
    margin-right: 0.3rem;
}
.loading .loading-spinner {
    width: 3rem;
    height: 3rem;
    color: #62acff;
    animation: icon-spin 1s linear infinite;
}
@keyframes icon-spin {
    to {
        transform: rotate(360deg);
    }
}
:is(
    a,
    button,
    input,
    .department,
    .capability,
    .module,
    .product,
    .article,
    .faq,
    .partner-expertise-card
) {
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        background-color 0.22s ease;
}

/* Floating glass navigation, with an opaque fallback for older browsers. */
header {
    position: fixed;
    inset: 0.8rem 0 auto;
    width: auto;
    z-index: 50;
    opacity: 1;
    background: none;
    pointer-events: none;
}
header > .container {
    box-sizing: border-box;
    width: calc(100% - 3rem);
    max-width: 77rem;
    height: 4.9rem;
    padding: 0 1.4rem;
    justify-content: space-between;
    flex-wrap: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 1.15rem;
    background: rgba(14, 25, 41, 0.95);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.16),
        inset 0 1px rgba(255, 255, 255, 0.05);
    pointer-events: auto;
    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease !important;
}
header .logo {
    flex-shrink: 0;
}
header .logo a img {
    width: 10em;
    height: 4.4em;
}
header .logo a img,
header .logo a:hover img {
    filter: none;
}
header .nav-items {
    margin: 0;
    gap: 0.25rem;
    font-size: 0.84rem;
}
header .nav-dropdown > button.nav-dropdown-toggle {
    font: inherit;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    position: relative;
}
header .nav-items > a,
header .nav-items > .nav-dropdown > .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    min-height: 2.7rem;
    box-sizing: border-box;
    margin: 0;
    padding: 0.4rem 0.7rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    color: #f6f8fc;
    white-space: nowrap;
}
header .nav-items a:hover,
header .nav-items button.nav-dropdown-toggle:hover,
header .nav-items a[aria-current="page"],
header .nav-items .nav-active > .nav-dropdown-toggle {
    background: rgba(106, 161, 255, 0.14);
    border-color: rgba(155, 192, 255, 0.23);
    color: #fff;
}
header .nav-items > a.nav-portal {
    background: transparent;
    border-color: transparent;
    color: #e0e7f2;
    gap: 0.35rem;
}
header .nav-items > a.nav-portal:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
header .nav-portal .lucide {
    width: 1rem;
    height: 1rem;
    opacity: 0.7;
}
header .nav-dropdown .nav-dropdown-toggle::after {
    display: none;
}
header .nav-dropdown-toggle .lucide {
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.35rem;
    opacity: 0.7;
}
header .nav-dropdown .nav-dropdown-menu {
    right: 0;
    top: calc(100% + 0.65rem);
    padding: 0.55rem;
    border-radius: 0.9rem;
    border: 1px solid var(--glass-edge);
    background: rgba(20, 30, 49, 0.98);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
}
/* Bridge the visual gap so pointer users can reach the submenu. */
header .nav-dropdown .nav-dropdown-menu::before {
    content: "";
    position: absolute;
    inset: -0.8rem 0 auto;
    height: 0.8rem;
}
header .nav-dropdown .nav-dropdown-menu a {
    box-sizing: border-box;
    margin: 0;
    padding: 0.7rem 1rem;
    border-radius: 0.55rem;
}
header .nav-bars a {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.09);
    color: #f5f8ff;
}
header .nav-bars a svg {
    width: 1.4rem;
    height: 1.4rem;
}
@supports (backdrop-filter: blur(16px)) {
    header > .container {
        background: linear-gradient(
            115deg,
            rgba(13, 34, 54, 0.38),
            rgba(15, 23, 38, 0.28) 55%,
            rgba(22, 46, 64, 0.38)
        );
        backdrop-filter: blur(14px) saturate(155%) brightness(0.75);
        box-shadow:
            0 10px 30px rgba(6, 18, 34, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(131, 190, 235, 0.1);
    }
    header .nav-dropdown .nav-dropdown-menu {
        background: rgba(14, 25, 41, 0.82);
        backdrop-filter: blur(20px) saturate(145%);
    }
    section#departments .department,
    section#capabilities .capability,
    section#contactus .contactus-form {
        backdrop-filter: blur(12px);
    }
}

/* Preserve the dark, quiet centre of every approved banner. */
section#banner::after {
    background:
        radial-gradient(ellipse at 50% 45%, rgba(10, 16, 27, 0.32), transparent 62%),
        linear-gradient(
            120deg,
            rgba(65, 132, 247, 0.12),
            transparent 28%,
            transparent 73%,
            rgba(133, 86, 208, 0.12)
        ),
        linear-gradient(
            180deg,
            rgba(12, 18, 30, 0.12),
            rgba(20, 20, 21, 0.15) 65%,
            rgba(20, 20, 21, 0.38)
        );
}
section#banner > .container::before,
section#banner > .container::after {
    content: "";
    position: absolute;
    width: 7rem;
    height: 7rem;
    border: 1px solid rgba(176, 206, 255, 0.1);
    border-radius: 1.2rem;
    transform: rotate(28deg);
    pointer-events: none;
    z-index: -1;
}
section#banner > .container::before {
    left: 2rem;
    top: -1rem;
    background: linear-gradient(145deg, rgba(110, 152, 255, 0.07), transparent);
}
section#banner > .container::after {
    right: 2rem;
    bottom: -2rem;
    width: 4rem;
    height: 4rem;
    border-color: rgba(158, 132, 231, 0.12);
}
section#banner .section-title h1 {
    line-height: 1.6;
    text-wrap: balance;
}
section#banner .section-title p {
    line-height: 2;
    font-weight: 300;
}
.banner-actions .btn-primary,
.banner-actions .btn-ghost {
    border-radius: 0.8rem;
    padding: 0.8em 1.65em;
}
.banner-actions .btn-primary {
    background: linear-gradient(120deg, #146ef5, #4d65e5);
    box-shadow: 0 8px 25px rgba(20, 110, 245, 0.23);
}
.banner-actions .btn-ghost {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
}
.banner-actions a:hover {
    transform: translateY(-3px);
}
.banner-actions .btn-primary,
.banner-actions .btn-primary:hover,
.banner-actions .btn-primary:focus-visible {
    color: #fff;
    border: 1px solid rgba(157, 191, 255, 0.25);
}
.banner-actions .btn-primary:hover {
    box-shadow:
        0 12px 28px rgba(20, 110, 245, 0.38),
        inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.banner-actions .btn-ghost:hover,
.banner-actions .btn-ghost:focus-visible {
    color: #fff;
    border-color: rgba(200, 220, 255, 0.65);
    background-color: rgba(255, 255, 255, 0.13);
}
.banner-actions .btn-primary .lucide {
    width: 1rem;
    height: 1rem;
    margin-right: 0.4rem;
}
.list-more :is(a, button),
.btn-section-more {
    color: #fff;
}
.list-more :is(a, button):hover,
.btn-section-more:hover {
    color: #fff;
}
.df-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.df-all .lucide {
    width: 1rem;
    height: 1rem;
}

/* Homepage: layered department cards and a diagonal transition inside the CTA. */
.home-page section#departments {
    background: var(--surface);
    padding-top: 4rem;
}
section#departments .section-body {
    align-items: stretch;
}
section#departments .department {
    box-sizing: border-box;
    padding: 2rem 2rem 1.3rem;
    border: 1px solid rgba(var(--accent), 0.15);
    border-radius: 1.3rem;
    background: radial-gradient(ellipse at 0 0, rgba(var(--accent), 0.12), transparent 65%), #fff;
    box-shadow: var(--soft-shadow);
    isolation: isolate;
}
section#departments .department::before {
    inset: 0 auto auto 0;
    width: 9rem;
    height: 9rem;
    border-radius: 0 0 100% 0;
    background: radial-gradient(circle at 0 0, rgba(var(--accent), 0.14), transparent 72%);
    transform: none;
    pointer-events: none;
}
section#departments .department:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--accent), 0.25);
    box-shadow: 0 18px 40px rgba(var(--accent), 0.12);
}
section#departments .department-art {
    position: absolute;
    left: 0;
    top: 0;
    width: 55%;
    height: 12rem;
    z-index: -1;
    opacity: 0.35;
    mask-image: linear-gradient(90deg, #000, transparent 95%);
    pointer-events: none;
}
section#departments .department-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(#000, transparent);
    filter: saturate(0.65);
}
section#departments .department-number {
    left: 1.5rem;
    top: 0.9rem;
    font-size: 2.1rem;
    color: rgba(var(--accent), 0.17);
}
section#departments .department-content h3,
section#departments .department:hover h3 {
    color: var(--ink);
}
section#departments .department-content p {
    color: var(--muted);
    line-height: 1.95;
}
section#departments .department .department-more {
    border-color: rgba(var(--accent), 0.12);
    color: rgb(var(--accent));
    margin-top: 1.3rem;
}
section#departments .department-more svg path {
    fill: rgb(var(--accent));
}
section#departments .department .icon,
section#capabilities .capability .icon,
section#modules .module .icon {
    box-sizing: border-box;
    width: 4rem;
    height: 4rem;
    padding: 0.9rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(var(--accent), 0.1));
    box-shadow:
        0 6px 18px rgba(var(--accent), 0.09),
        inset 0 1px #fff;
}
section#departments .department .icon svg.stroke {
    stroke: rgb(var(--accent));
}
section#departments .department .icon svg.stroke path {
    stroke: rgb(var(--accent));
}
section#departments .department .icon,
section#departments .department:hover .icon {
    width: 4.25rem;
    height: 4.25rem;
    padding: 1rem;
    border: 1px solid rgba(var(--accent), 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(var(--accent), 0.14));
    color: rgb(var(--accent));
    box-shadow:
        0 8px 22px rgba(var(--accent), 0.14),
        inset 0 1px 1px #fff;
}
section#departments .department .department-number,
section#departments .department:hover .department-number {
    color: rgba(var(--accent), 0.22);
}
.home-page section#cta1 {
    padding-block: 4.5rem 5.5rem;
    background-image:
        radial-gradient(ellipse at 15% 30%, rgba(89, 80, 197, 0.2), transparent 50%),
        url("../images/banner2.jpg");
}
.home-page section#cta1::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px;
    height: 2.8rem;
    background: #f3f6fc;
    clip-path: polygon(0 0, 100% 80%, 100% 100%, 0 100%);
}
section#capabilities,
section#modules {
    background:
        radial-gradient(ellipse at 5% 10%, rgba(168, 188, 255, 0.17), transparent 45%),
        radial-gradient(ellipse at 95% 90%, rgba(196, 169, 246, 0.13), transparent 45%), #f3f6fc;
}
section#capabilities .section-body,
section#modules .section-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
    align-items: stretch;
}
section#capabilities .capability,
section#modules .module {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 1.2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
    box-shadow: var(--soft-shadow);
    cursor: default;
}
section#capabilities .capability .icon {
    position: static;
}
section#capabilities .capability .icon,
section#modules .module .icon {
    color: rgb(var(--accent));
}
section#features1 .icon,
section#features2 .icon {
    color: var(--primary);
}
.toast svg {
    color: #75bbff;
}
.toast.fail svg {
    color: #ff9f9f;
}
.toast {
    box-sizing: border-box;
    pointer-events: none;
    transition:
        bottom 0.22s ease,
        opacity 0.22s ease;
}
.toast > div {
    box-sizing: border-box;
    min-width: 0;
    max-width: 30rem;
}
.toast p {
    overflow-wrap: anywhere;
}
section#capabilities .capability p,
section#modules .module p {
    color: var(--muted);
    line-height: 1.95;
}
section#capabilities .capability h3,
section#modules .module h3 {
    color: var(--ink);
    margin-top: 1.2rem;
}
section#capabilities .capability:hover,
section#modules .module:hover {
    transform: translateY(-3px);
    border-color: rgba(20, 110, 245, 0.22);
    box-shadow: 0 15px 35px rgba(31, 52, 103, 0.11);
}
section#capabilities .capability:hover .icon svg.stroke path,
section#modules .module:hover svg.stroke path {
    stroke: var(--primary);
}
section#capabilities .capability:hover .icon svg.fill path,
section#modules .module:hover svg.fill path {
    fill: var(--primary);
}
section#modules .module:hover h3 {
    color: var(--ink);
}
section#modules .module:hover p {
    color: var(--muted);
}

/* Shared service cards; partials keep the same layout after pagination/filtering. */
section#products {
    background: linear-gradient(150deg, #f8faff, #f3f5fc);
}
section#products .service-list > .section-body {
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem;
    align-items: stretch;
    justify-content: flex-start;
}
section#products .service-list > .section-body.is-short {
    justify-content: center;
}
section#products .product,
section#products .product:hover,
section#products .product.active {
    box-sizing: border-box;
    width: calc((100% - 2.6rem) / 3);
    height: auto;
    min-height: 15rem;
    margin: 0;
    padding: 1.6rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    border: 1px solid rgba(var(--accent), 0.18);
    border-radius: 1.3rem;
    background: radial-gradient(ellipse at 0 0, rgba(var(--accent), 0.13), transparent 65%), #fff;
    box-shadow: 0 8px 26px rgba(31, 52, 103, 0.06);
    isolation: isolate;
}
section#products .product::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent), 0.65));
    pointer-events: none;
}
section#products .product:hover,
section#products .product:focus-within {
    transform: translateY(-4px);
    border-color: rgba(var(--accent), 0.4);
    box-shadow: 0 18px 40px rgba(var(--accent), 0.13);
}
section#products .service-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    width: 100%;
}
section#products .service-department {
    color: color-mix(in srgb, rgb(var(--accent)) 80%, #15253d);
    font-size: 0.76rem;
    font-weight: 500;
    text-align: left;
}
section#products .product .p-ico,
section#products .product:hover .p-ico {
    position: static;
    opacity: 1;
    transform: none;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 3.6rem;
    height: 3.6rem;
    padding: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 1.05rem;
    background: linear-gradient(135deg, rgba(var(--accent), 0.72), rgb(var(--accent)));
    color: #fff;
    box-shadow:
        0 7px 18px rgba(var(--accent), 0.22),
        inset 0 1px rgba(255, 255, 255, 0.35);
}
section#products .product .p-ico svg {
    filter: none;
}
section#products .product h4,
section#products .product:hover h4,
section#products .product.active h4 {
    padding: 0;
    margin: 1.25rem 0 1.7rem;
    max-width: 100%;
    color: var(--ink);
    font-weight: 600;
    font-size: 1.04rem;
    line-height: 1.85;
    transform: none;
}
section#products .service-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid rgba(var(--accent), 0.13);
    color: color-mix(in srgb, rgb(var(--accent)) 80%, #15253d);
    font-size: 0.8rem;
    font-weight: 500;
}
section#products .service-arrow {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(var(--accent), 0.08);
    color: inherit;
    transition: transform 0.22s ease;
}
section#products .service-arrow svg {
    width: 1.05rem;
    height: 1.05rem;
}
section#products .product:hover .service-arrow {
    transform: translateX(-3px);
}
section#products .product a {
    z-index: 1;
    border-radius: inherit;
}
section#products .skel-product {
    width: calc((100% - 2.6rem) / 3);
    height: 15rem;
    margin: 0;
    border-radius: 1.3rem;
}
.cat-filter a,
.cat-pills a {
    backdrop-filter: blur(10px);
}

/* Geometric image cut and a glass category label. */
section#articles {
    background: linear-gradient(160deg, #f9fbff, #f3f5fb);
}
section#articles .article {
    border-radius: 1.3rem;
    border-color: rgba(54, 84, 137, 0.1);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--soft-shadow);
    padding: 0.6rem 0.6rem 0;
}
section#articles .article-img {
    height: 12rem;
    border-radius: 0.9rem;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 1.4rem 100%, 0 calc(100% - 1.4rem));
}
section#articles .article-img img {
    transition: transform 0.45s ease;
}
section#articles .article:hover .article-img img {
    transform: scale(1.045);
}
section#articles .article-cat {
    background: rgba(18, 30, 51, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    padding: 0.35rem 0.8rem;
}
section#articles .article-body {
    padding: 1.2rem 0.9rem;
}
section#articles .article-body h3 {
    color: var(--ink);
    line-height: 1.8;
    transition: color 0.22s ease;
}
section#articles .article-body p {
    color: var(--muted);
    line-height: 1.9;
}

/* Product screenshots: window frame and an offset translucent layer. */
section#features1 .feature,
section#features2 .feature {
    border: 1px solid rgba(155, 180, 228, 0.16);
    border-radius: 1.3rem;
    box-shadow: var(--soft-shadow);
}
section#features1 .feature {
    background: linear-gradient(135deg, rgba(110, 143, 211, 0.13), rgba(255, 255, 255, 0.04));
}
section#features2 .feature {
    background: linear-gradient(135deg, #f0f4ff, #fafaff);
}
section#features1 .feature-img,
section#features2 .feature-img {
    position: relative;
    box-sizing: border-box;
    padding: 1.8rem 0.65rem 0.65rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(146, 176, 235, 0.25);
    background: linear-gradient(135deg, rgba(171, 196, 255, 0.17), rgba(255, 255, 255, 0.06));
    isolation: isolate;
}
section#features1 .feature-img::before,
section#features2 .feature-img::before {
    content: "";
    position: absolute;
    left: 0.9rem;
    top: 0.65rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: #76a9ff;
    box-shadow:
        0.65rem 0 #ac97e2,
        1.3rem 0 #79c9d0;
}
section#features1 .feature-img::after,
section#features2 .feature-img::after {
    content: "";
    position: absolute;
    inset: 0.7rem -0.45rem -0.55rem 0.7rem;
    z-index: -1;
    border: 1px solid rgba(144, 170, 222, 0.2);
    background: linear-gradient(140deg, rgba(87, 134, 232, 0.08), rgba(169, 112, 223, 0.06));
    border-radius: inherit;
    pointer-events: none;
}
section#features1 .feature-img img,
section#features2 .feature-img img {
    display: block;
    border-radius: 0.5rem;
}
section#screen img,
section#desc1 .container > img {
    box-sizing: border-box;
    padding: 0.8rem;
    border: 1px solid rgba(148, 178, 232, 0.25);
    border-radius: 1.2rem;
    background: linear-gradient(135deg, rgba(136, 174, 255, 0.12), rgba(200, 164, 244, 0.08));
    box-shadow: 0 20px 55px rgba(60, 92, 174, 0.15);
}
section#faqs .faq {
    box-sizing: border-box;
    border: 1px solid var(--edge);
    background: #f6f8fd;
    border-radius: 0.9rem;
}

/* Readable article surface; rich service layouts remain full width. */
section#article-body {
    background: linear-gradient(135deg, #f3f6fc, #f9f8fd);
    padding: 3rem 0;
}
section#article-body .rich {
    width: calc(100% - 3rem);
    max-width: 65rem;
    margin-inline: auto;
    padding: 2.5rem;
    border: 1px solid #fff;
    border-radius: 1.3rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--soft-shadow);
    color: #40506a;
}
section#article-body .rich :is(p, li, td) {
    line-height: 2.1;
}
section#article-body .rich h2:not(.seo-content-h1) {
    position: relative;
    padding-top: 1rem;
    margin-top: 2rem;
}
section#article-body .rich h2:not(.seo-content-h1)::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3rem;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #bb9de9, #146ef5);
}
section#article-body .rich img {
    border-radius: 1rem;
}
section#article-body .rich table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.9rem;
    border: 1px solid var(--edge);
    overflow: hidden;
}
section#article-body .rich th {
    background: #eaf0fc;
}
section#article-body .rich blockquote {
    border-radius: 0.8rem;
    background: linear-gradient(110deg, #f5f1fc, #edf4ff);
}

/* Contact details and map frame. The map canvas keeps its own controls. */
.contact-page section#capabilities .contact-methods .capability {
    width: 100%;
    padding: 1.4rem 6.2rem 1.4rem 1.3rem;
    overflow: visible;
}
.contact-page section#capabilities .contact-methods .capability .icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}
.contact-page section#capabilities .contact-methods .capability h3 {
    margin-top: 0;
}
.contact-page section#capabilities .contact-methods .capability::before {
    display: none;
}
.contact-page section#capabilities .contact-methods .capability:hover,
.contact-page section#capabilities .contact-methods .capability:focus-within {
    transform: translateY(-3px);
    border-color: rgba(20, 110, 245, 0.25);
    box-shadow: 0 12px 28px rgba(31, 52, 103, 0.1);
}
.contact-page section#capabilities .contact-methods .capability:hover .icon {
    transform: translateY(-50%);
}
.contact-page section#capabilities .map-pin {
    color: var(--primary);
}
.contact-page section#capabilities .map {
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #fff;
    border-radius: 1.3rem;
    box-shadow: 0 14px 40px rgba(31, 52, 103, 0.1);
    isolation: isolate;
}
.contact-page section#capabilities .map::before {
    content: "";
    position: absolute;
    inset: 0.8rem -0.55rem -0.65rem 0.8rem;
    background: linear-gradient(145deg, rgba(137, 172, 243, 0.13), rgba(168, 137, 224, 0.1));
    border: 1px solid rgba(132, 158, 210, 0.18);
    border-radius: inherit;
    z-index: -1;
    pointer-events: none;
}
.partner-identity {
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.98rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(135, 162, 210, 0.08));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    padding: 0.84rem;
}
.partner-identity > img {
    box-sizing: border-box;
    padding: 0.91rem 0.63rem;
    border-radius: 0.56rem;
    background: rgba(255, 255, 255, 0.96);
}
.partner-identity::before {
    content: "";
    position: absolute;
    inset: 1rem -0.55rem -0.55rem 1rem;
    z-index: -1;
    background: linear-gradient(135deg, rgba(233, 169, 92, 0.17), rgba(69, 136, 236, 0.13));
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: inherit;
    pointer-events: none;
}
.partner-intro-card {
    border-radius: 1.3rem;
    background: linear-gradient(135deg, #fff, #f9faff);
    box-shadow: var(--soft-shadow);
}
.partner-expertise-card {
    border-color: var(--edge);
    border-radius: 1rem;
    background: linear-gradient(135deg, #fff, #f7f9ff);
    box-shadow: var(--soft-shadow);
}

/* Global contact panel and footer: the decorative layers never intercept input. */
section#contactus {
    padding: 3rem 0;
    background:
        radial-gradient(ellipse at 15% 45%, rgba(66, 98, 177, 0.13), transparent 50%), #141415;
}
section#contactus .contactus-form {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 65rem;
    margin: 0 auto;
    padding: 3.5rem 3rem;
    border: 1px solid rgba(163, 191, 255, 0.25);
    border-radius: 1.6rem;
    background: linear-gradient(
        120deg,
        rgba(25, 86, 174, 0.8),
        rgba(37, 54, 107, 0.85) 55%,
        rgba(75, 54, 123, 0.7)
    );
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 1px rgba(255, 255, 255, 0.12);
}
section#contactus .contactus-form::before {
    content: "";
    position: absolute;
    width: 17rem;
    height: 17rem;
    border: 1px solid rgba(179, 209, 255, 0.18);
    border-radius: 50%;
    right: -9rem;
    top: -9rem;
    box-shadow:
        0 0 0 2.5rem rgba(173, 205, 255, 0.035),
        0 0 0 5rem rgba(173, 205, 255, 0.025);
    z-index: -1;
    pointer-events: none;
}
section#contactus .contactus-form::after {
    content: "";
    position: absolute;
    width: 13rem;
    height: 24rem;
    left: -5rem;
    bottom: -13rem;
    transform: rotate(-35deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(45deg, rgba(154, 139, 236, 0.18), transparent);
    z-index: -1;
    pointer-events: none;
}
section#contactus .contactus-form .section-body {
    gap: 0.75rem;
}
section#contactus .contactus-form .section-body input {
    box-sizing: border-box;
    width: 18rem;
    max-width: 100%;
    min-height: 3rem;
    margin: 0;
    padding: 0.7rem 1rem;
    color: #fff;
    font-weight: 400;
    background: rgba(7, 22, 52, 0.23);
    border: 1px solid rgba(205, 220, 255, 0.35);
    border-radius: 0.8rem;
}
section#contactus input::placeholder {
    color: #d1dcef;
    opacity: 1;
}
section#contactus .contactus-form .section-body input:focus-visible {
    outline: 2px solid #a5ceff;
    outline-offset: 3px;
}
section#contactus .contactus-form .section-body button {
    min-height: 3rem;
    padding: 0.6rem 1.8rem;
    color: #16457c;
    background: #f2f7ff;
    border: 1px solid #fff;
    border-radius: 0.8rem;
    font-size: 0.9rem;
}
section#contactus .contactus-form .section-body button:hover {
    background: #fff;
    transform: translateY(-2px);
    color: #123c70;
}
footer {
    background:
        radial-gradient(ellipse at 12% 0, rgba(56, 106, 201, 0.13), transparent 45%),
        radial-gradient(ellipse at 90% 100%, rgba(108, 71, 166, 0.12), transparent 40%), #0e131e;
}
footer::before {
    height: 2px;
    right: 8%;
    left: 8%;
    background: linear-gradient(90deg, transparent, #416ab6, #8e70c2, #4f9eae, transparent);
}
footer .details {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 1rem;
    padding-block: 2.5rem;
}
footer .details .details-info,
footer .details .details-items {
    width: auto;
    max-width: none;
    min-width: 0;
    text-align: center;
}
footer .details .details-info img {
    margin-inline: auto;
}
footer .details .details-info p {
    max-width: 28rem;
    margin-inline: auto;
}
footer .details .details-items ul li {
    text-align: center;
}
footer .details .details-items > div {
    border-right: 1px solid rgba(160, 184, 229, 0.09);
}
footer .copyright {
    border-color: rgba(160, 184, 229, 0.13);
}

@media (min-width: 993px) {
    header .nav-items {
        display: flex;
    }
}
@media (max-width: 1100px) and (min-width: 993px) {
    header > .container {
        padding-inline: 0.8rem;
    }
    header .logo a img {
        width: 8em;
    }
    header .nav-items {
        font-size: 0.79rem;
        gap: 0;
    }
    header .nav-items > a,
    header .nav-items > .nav-dropdown > .nav-dropdown-toggle {
        padding-inline: 0.5rem;
    }
}
@media (max-width: 992px) {
    header > .container {
        height: 4.5rem;
        width: calc(100% - 2rem);
        padding-inline: 1rem;
    }
    header .nav-bars {
        position: static;
    }
    header .nav-items {
        display: block;
        box-sizing: border-box;
        right: 0;
        left: 0;
        top: calc(100% + 0.55rem);
        width: 100%;
        margin: 0;
        padding: 1rem;
        border: 1px solid var(--glass-edge);
        border-radius: 1rem;
        background: rgba(17, 26, 43, 0.98);
        transform: translateY(-0.5rem);
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        font-size: 0.9rem;
    }
    body.mobile_menu_open header .nav-items {
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: calc(100dvh - 7rem);
        overflow-y: auto;
    }
    header .nav-items > a {
        justify-content: center;
        margin: 0.2rem 0;
    }
    header .nav-items > .nav-dropdown > .nav-dropdown-toggle {
        display: none;
    }
    header .nav-items > .nav-partners > .nav-dropdown-toggle {
        display: flex;
    }
    header .nav-dropdown .nav-dropdown-menu {
        border: 0;
        padding: 0.3rem;
        margin: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }
    header .nav-dropdown .nav-dropdown-menu::before {
        display: none;
    }
    header .nav-dropdown .nav-dropdown-menu a {
        padding: 0.65rem;
    }
    header .nav-partners > .nav-dropdown-toggle {
        justify-content: center;
        width: 100%;
    }
    header .nav-partners .nav-dropdown-toggle .lucide {
        display: none;
    }
    footer .details {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    footer .details .details-info {
        grid-column: 1 / -1;
    }
    section#capabilities .section-body,
    section#modules .section-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    section#products .product,
    section#products .product:hover,
    section#products .skel-product {
        width: calc((100% - 1.3rem) / 2);
    }
    section#banner > .container::before {
        width: 4rem;
        height: 4rem;
        opacity: 0.5;
    }
}
@media (max-width: 576px) {
    .container {
        padding-inline: 1.25rem;
    }
    header {
        top: 0.6rem;
    }
    header > .container {
        width: calc(100% - 1.2rem);
        border-radius: 1rem;
    }
    header .logo a img {
        width: 9em;
    }
    section#banner .section-title h1 {
        font-size: 1.7rem;
    }
    section#departments .department {
        padding: 1.6rem;
    }
    section#capabilities .section-body,
    section#modules .section-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }
    section#products .product,
    section#products .product:hover,
    section#products .skel-product {
        width: 100%;
    }
    section#capabilities .capability,
    section#modules .module {
        padding: 1.5rem;
    }
    section#products .product {
        min-height: 13rem;
    }
    section#article-body .rich {
        width: calc(100% - 1.5rem);
        padding: 1.5rem 1rem;
    }
    section#contactus .contactus-form {
        padding: 2.5rem 1.3rem;
        border-radius: 1.2rem;
    }
    section#contactus .contactus-form .section-body {
        flex-wrap: wrap;
    }
    section#contactus .contactus-form .section-body input {
        flex: 1 1 10rem;
        width: 10rem;
        min-width: 0;
    }
    section#contactus .contactus-form .section-body button {
        padding-inline: 1.2rem;
    }
    .contact-page section#capabilities .contact-methods .capability {
        padding-right: 5.7rem;
    }
    .contact-page section#capabilities .contact-methods .capability p {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }
    footer .details .details-items > div {
        border: 0;
    }
    footer .details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    footer .details .details-items:last-child {
        grid-column: 1 / -1;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
    header > .container {
        transition: none !important;
    }
    section#articles .article:hover .article-img img {
        transform: none;
    }
    :is(.department, .capability, .module, .product, .article):hover,
    .banner-actions a:hover {
        transform: none !important;
    }
}
