/* =========================================
   DMI HEADER
   ========================================= */

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

/* =========================================
   HEADER
   ========================================= */

.site-header {
    width: 100%;
    height: 96px;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 14px rgba(16, 19, 34, 0.08);
}

.header-container {
    width: 100%;
    max-width: 1536px;
    height: 96px;
    margin: 0 auto;

    padding: 0 22px 0 46px;

    display: flex;
    align-items: center;
}

/* =========================================
   LOGO
   ========================================= */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #101322;
    text-decoration: none;
    flex-shrink: 0;
    padding: 0;
}

.logo-text {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #101322;
}

.logo-text strong {
    color: #e91d2b;
    font-weight: 900;
    letter-spacing: 0.08em;
}

/* =========================================
   DESKTOP NAVIGATION
   ========================================= */

.desktop-nav {
    display: flex;
    align-items: center;

    margin-left: auto;
    margin-right: 28px;

    height: 100%;
    gap: 38px;
}

.nav-item {
    position: relative;
    height: 100%;

    display: flex;
    align-items: center;
}

.nav-link {
    border: 0;
    outline: none;
    background: transparent;

    color: #101322;
    text-decoration: none;

    font-size: 16px;
    font-weight: 600;

    white-space: nowrap;

    height: 100%;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    cursor: pointer;

    padding: 0;
}

.nav-link { position: relative; }

.nav-link::after {
    position: absolute;
    bottom: 18px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e91d2b;
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .9s cubic-bezier(.2, .75, .25, 1);
}

.nav-link:hover { color: #216cf4; }

.nav-link:hover::after,
.nav-link:active::after,
.nav-link:focus-visible::after,
.nav-item.open > .nav-link::after,
.nav-item.is-active > .nav-link::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.nav-link:focus-visible {
    outline: 2px solid #216cf4;
    outline-offset: 5px;
    border-radius: 3px;
}

/* =========================================
   CHEVRON
   ========================================= */

/* =========================================
   DESKTOP DROPDOWN
   ========================================= */

.dropdown-menu {
    position: absolute;

    top: calc(100% - 1px);
    left: 50%;

    transform: translateX(-50%) translateY(8px) scale(0.98);

    min-width: 215px;

    padding: 9px;

    background: #ffffff;

    border: 1px solid #e8e8e8;
    border-radius: 3px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.28s;
}

.nav-item.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(-50%) translateY(0) scale(1);
    transition:
        opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s;
}

@media (hover: hover) and (pointer: fine) {
    .nav-item.has-dropdown:hover > .dropdown-menu,
    .nav-item.has-dropdown:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0) scale(1);
        transition:
            opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s;
    }
}

.dropdown-menu a {
    display: block;

    padding: 11px 13px;

    color: #161923;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    border-radius: 0;
    transform: translateX(0);
    transition: color 0.2s ease, transform 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    color: #ed2c31;
    transform: translateX(4px);
}

/* =========================================
   RIGHT ACTIONS
   ========================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;

    flex-shrink: 0;
}

/* =========================================
   APP BUTTON
   ========================================= */

.app-button {
    min-width: 150px;
    height: 44px;

    padding: 0 18px;

    border: 3px solid #111111;
    border-radius: 4px;

    background: transparent;

    color: #111111;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.25);

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.app-button:hover,
.app-button:focus-visible {
    background: #e53935;
    border-color: #e53935;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: none;
}

.app-button:focus-visible {
    outline: none;
}


/* =========================================
   MOBILE BUTTON
   ========================================= */

.mobile-menu-button {
    width: 46px;
    height: 46px;

    padding: 0;

    display: none;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    border: 1px solid #dedede;
    border-radius: 7px;

    background: #ffffff;

    cursor: pointer;
}

.mobile-menu-button span {
    width: 21px;
    height: 2px;

    background: #101322;

    border-radius: 10px;

    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}

.mobile-menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   MOBILE NAV
   ========================================= */

.mobile-nav {
    display: none;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1100px) {

    .header-container {
        padding-left: 28px;
        padding-right: 22px;
    }

    .desktop-nav {
        gap: 24px;
        margin-right: 20px;
    }

    .nav-link {
        font-size: 14px;
    }

    .app-button {
        min-width: 100px;
        height: 38px;
        padding: 0 12px;
    }
}

/* =========================================
   MOBILE / SMALL TABLET
   ========================================= */

@media (max-width: 960px) {   /* phone-style header (menu button) up to 960px: the full menu does not fit below that */

    .site-header {
        height: 80px;
    }

    .header-container {
        height: 80px;

        padding-left: 20px;
        padding-right: 20px;
    }

    .logo {
        width: 54px;
        height: 54px;
    }

    .logo span {
        font-size: 17px;
    }

    .desktop-nav {
        display: none;
    }

    .app-button {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .mobile-menu-button {
        display: flex;
    }

    /* Mobile Navigation */

    .mobile-nav {
        display: block;
        position: absolute;

        left: 0;
        right: 0;
        top: 100%;

        background: #ffffff;

        border-top: 1px solid #eeeeee;
        border-bottom: 1px solid #dddddd;

        padding: 8px 20px 18px;

        max-height: calc(100vh - 74px);

        overflow-y: auto;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        pointer-events: none;

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }

    .mobile-nav.active {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);

        pointer-events: auto;
    }

    .mobile-nav-item {
        border-bottom: 1px solid #eeeeee;
    }

    .mobile-dropdown-toggle {
        width: 100%;

        min-height: 52px;

        border: 0;
        background: transparent;

        padding: 0;

        display: flex;
        align-items: center;
        justify-content: space-between;

        color: #101322;

        font-size: 15px;
        font-weight: 600;

        cursor: pointer;

        text-align: left;
    }

    .mobile-dropdown-toggle:focus-visible {
        outline: 2px solid #216cf4;
        outline-offset: -2px;
    }

    .mobile-dropdown {
        display: block;
        overflow: visible;
    }

    .mobile-dropdown > * {
        min-height: 0;
    }

    .mobile-nav-item.open .mobile-dropdown {
        grid-template-rows: 1fr;
    }

    .mobile-dropdown a {
        display: block;

        color: #4a4e5a;
        text-decoration: none;

        font-size: 14px;

        padding: 8px 8px 8px 12px;
        min-height: 36px;
    }

    .mobile-nav-item.open .mobile-dropdown a {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .mobile-dropdown a:hover {
        color: #216cf4;
    }

    .mobile-simple-link {
        display: flex;
        align-items: center;

        min-height: 52px;

        color: #101322;
        text-decoration: none;

        font-size: 15px;
        font-weight: 600;

        border-bottom: 1px solid #eeeeee;
    }

    .mobile-simple-link:hover {
        color: #216cf4;
    }

        .mobile-app-button {
        height: 44px;
        width: 100%;
        max-width: 180px;

        margin-top: 16px;

        border: 3px solid #111111;
        border-radius: 4px;

        background: transparent;

        color: #111111;
        text-decoration: none;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 9px;

        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.25);
    }

    .mobile-app-button:hover,
    .mobile-app-button:focus-visible {
        background: #e53935;
        border-color: #e53935;
        color: #ffffff;
        box-shadow: none;
    }
}

/* =========================================
   VERY SMALL PHONES
   ========================================= */

@media (max-width: 380px) {

    .header-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .mobile-menu-button {
        width: 43px;
        height: 43px;
    }

    .mobile-nav {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* =========================================
   REDUCE MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   2.HERO
========================================================= */

.hero-section {

    position: relative;

    width: 100%;

    min-height: calc(100vh - 96px);
    min-height: calc(100svh - 96px);

    overflow: hidden;

    isolation: isolate;

    background: #02070d;

    color: #ffffff;
}

/* =========================================================
   HERO CONTENT CONTAINER
========================================================= */

.hero-container {

    position: relative;

    z-index: 10;

    width:
        min(
            1370px,
            calc(
                100% - 12vw
            )
        );

    min-height: inherit;

    margin: 0 auto;

    display: flex;

    align-items: center;
}

.hero-content {

    width: 50%;

    padding:
        15px
        0;

    position: relative;

    z-index: 20;
}

/* =========================================================
   HERO HEADING
========================================================= */

.hero-content h1 {

    margin: 0;

    font-size:
        clamp(
            38px,
            3.4vw,
            56px
        );

    line-height: 1.13;

    letter-spacing:
        -1.3px;

    font-weight: 700;
}

.hero-content h1 span {

    display: block;
}

.hero-content h1 span + span {

    margin-top: 2px;
}

.hero-content h1 strong {

    color: #f32932;

    font-weight: 700;
}

.hero-content h1 .hero-rotator {
    display: inline-grid;
    vertical-align: baseline;
    perspective: 700px;
    transform-style: preserve-3d;
}

.hero-content h1 .hero-rotator > span {
    grid-area: 1 / 1;
    white-space: nowrap;
    animation: heroWordCycle 15s linear infinite;   /* 5 words x 3s; each flip takes 0.5s */
    backface-visibility: hidden;
    transform-origin: center center;
}

.hero-content h1 .hero-rotator > span:nth-child(2) { animation-delay: -12s; }
.hero-content h1 .hero-rotator > span:nth-child(3) { animation-delay: -9s; }
.hero-content h1 .hero-rotator > span:nth-child(4) { animation-delay: -6s; }
.hero-content h1 .hero-rotator > span:nth-child(5) { animation-delay: -3s; }

.hero-rotator__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-section.dm-visible .hero-content h1 {
    animation: heroHeadlineReveal 2s cubic-bezier(.2, .7, .25, 1) .15s both;
}

@keyframes heroHeadlineReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroWordCycle {
    0% { opacity: 1; transform: translate3d(0, 0, 0) rotateX(0deg); }
    16.67% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateX(0deg);
        animation-timing-function: cubic-bezier(.65, 0, .35, 1);
    }
    20% { opacity: 0; transform: translate3d(0, -32px, 0) rotateX(90deg); }
    96.67% {
        opacity: 0;
        transform: translate3d(0, 32px, 0) rotateX(-90deg);
        animation-timing-function: cubic-bezier(.65, 0, .35, 1);
    }
    100% { opacity: 1; transform: translate3d(0, 0, 0) rotateX(0deg); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content h1 .hero-rotator > span { animation: none; }
    .hero-content h1 .hero-rotator > span:not(:first-child) { display: none; }
    .hero-section.dm-visible .hero-content h1 { animation: none; }
}

/* =========================================================
   HERO SUBTITLE
========================================================= */

.hero-subtitle {

    margin:
        18px
        0
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.9
        );

    font-size:
        clamp(
            16px,
            1.3vw,
            21px
        );

    line-height: 1.4;

    font-weight: 400;
}

/* =========================================================
   HERO BUTTONS
========================================================= */

.btn {

    min-height: 56px;

    padding:
        0
        22px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 5px;

    font-size: 15px;

    font-weight: 600;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


/* =========================================================
   TRUSTED CLIENTS
========================================================= */

/* =========================================================
   NETWORK
========================================================= */

.hero-network {

    position: absolute;

    z-index: 1;

    top: 0;

    right: 0;

    width: 62%;

    height: 100%;

    display: block;
    pointer-events: none;
    opacity: 1;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero-section .hero-network {
    display: block;
}

/* Subtle motion in the hero's existing technology network. */
.hero-section .network-line {
    animation: heroNetworkFlow 5s ease-in-out infinite;
}

.hero-section .network-line:nth-of-type(3n) { animation-delay: -1.6s; }
.hero-section .network-line:nth-of-type(3n + 1) { animation-delay: -3.2s; }

@keyframes heroNetworkFlow {
    0%, 100% { opacity: .35; filter: brightness(.85); }
    50% { opacity: .9; filter: brightness(1.5); }
}


@media (prefers-reduced-motion: reduce) {
    .hero-section .network-line,
    .hero-section .network-dot{
        animation: none;
    }
}

@media (max-width: 760px) {
    .hero-section .hero-network {
        display: none;
    }

    .hero-section {
        min-height: calc(100vh - 80px);
        min-height: calc(100svh - 80px);
        background-position: left center;
    }

    .hero-container {
        width: calc(100% - 40px);
        min-height: inherit;
        padding: 44px 0 32px;
        align-items: center;
    }

    .hero-content {
        width: 100%;
        max-width: 540px;
        padding: 0;
    }

    .hero-content h1 {
        font-size: clamp(30px, 6vw, 40px);
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        margin-top: 14px;
        font-size: 16px;
    }

}

@media (max-width: 440px) {
    .hero-container {
        width: calc(100% - 32px);
        padding-top: 38px;
        padding-bottom: 28px;
    }

    .hero-content h1 {
        font-size: clamp(30px, 8.2vw, 36px);
    }

    .hero-subtitle {
        max-width: 310px;
        font-size: 15px;
    }

}

/* =========================================================
   NETWORK LINES
========================================================= */

.network-line {

    position: absolute;

    height: 1px;

    transform-origin: left center;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(
                45,
                157,
                255,
                0.65
            ),
            transparent
        );

    box-shadow:
        0 0 8px
        rgba(
            0,
            133,
            255,
            0.25
        );

    opacity: 0.75;
}

.line-1 {
    width: 260px;
    left: 21%;
    top: 23%;
    transform: rotate(7deg);
}

.line-2 {
    width: 250px;
    left: 34%;
    top: 26%;
    transform: rotate(24deg);
}

.line-3 {
    width: 235px;
    left: 48%;
    top: 34%;
    transform: rotate(-20deg);
}

.line-4 {
    width: 270px;
    left: 43%;
    top: 48%;
    transform: rotate(-4deg);
}

.line-5 {
    width: 230px;
    left: 34%;
    top: 61%;
    transform: rotate(-30deg);
}

.line-6 {
    width: 210px;
    left: 50%;
    top: 67%;
    transform: rotate(-32deg);
}

.line-7 {
    width: 250px;
    left: 57%;
    top: 50%;
    transform: rotate(30deg);
}

.line-8 {
    width: 230px;
    left: 65%;
    top: 27%;
    transform: rotate(30deg);
}

.line-9 {
    width: 220px;
    left: 70%;
    top: 51%;
    transform: rotate(-17deg);
}

.line-10 {
    width: 300px;
    left: 25%;
    top: 41%;
    transform: rotate(14deg);
}

.line-11 {
    width: 260px;
    left: 36%;
    top: 77%;
    transform: rotate(-7deg);
}

.line-12 {
    width: 270px;
    left: 57%;
    top: 66%;
    transform: rotate(-8deg);
}

.line-13 {
    width: 220px;
    left: 66%;
    top: 28%;
    transform: rotate(3deg);
}

.line-14 {
    width: 190px;
    left: 72%;
    top: 48%;
    transform: rotate(17deg);
}

/* =========================================================
   NETWORK DOTS
========================================================= */

.network-dot {

    position: absolute;

    width: 4px;

    height: 4px;

    border-radius: 50%;

    background: #42a8ff;

    box-shadow:
        0 0 7px #1590ff,
        0 0 17px
        rgba(
            0,
            130,
            255,
            0.75
        );

    animation:
        networkGlow
        3.5s
        ease-in-out
        infinite;
}

.dot-1 {
    left: 24%;
    top: 22%;
}

.dot-2 {
    left: 31%;
    top: 46%;
    animation-delay: .5s;
}

.dot-3 {
    left: 39%;
    top: 31%;
    animation-delay: 1s;
}

.dot-4 {
    left: 45%;
    top: 67%;
    animation-delay: 1.5s;
}

.dot-5 {
    left: 54%;
    top: 25%;
    animation-delay: 2s;
}

.dot-6 {
    left: 62%;
    top: 43%;
    animation-delay: .7s;
}

.dot-7 {
    left: 71%;
    top: 20%;
    animation-delay: 1.3s;
}

.dot-8 {
    left: 77%;
    top: 63%;
    animation-delay: 1.8s;
}

.dot-9 {
    left: 82%;
    top: 35%;
    animation-delay: 2.4s;
}

.dot-10 {
    left: 89%;
    top: 56%;
    animation-delay: .3s;
}

.dot-11 {
    left: 56%;
    top: 76%;
    animation-delay: 1.1s;
}

.dot-12 {
    left: 74%;
    top: 77%;
    animation-delay: 2.2s;
}

@keyframes networkGlow {

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

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

/* =========================================================
   TECHNOLOGY NODES
========================================================= */


/* =========================================================
   NODE POSITIONS
========================================================= */

/* =========================================================
   3.ACHIEVEMENTS
========================================================= */

.achievements-section {

    width: 100%;

    background: #ffffff;

    padding:
        24px
        30px
        32px;

    color: #081737;
}

.achievements-container {

    width:
        min(
            1275px,
            100%
        );

    margin: 0 auto;

    text-align: center;
}

/* =========================================================
   SECTION LABEL
========================================================= */

.section-label {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 34px;

    margin-bottom: 11px;
}

.section-label span {

    width: 130px;

    height: 2px;

    background:
        #1675ed;
}

.section-label strong {

    color: #1165d7;

    font-size: 19px;

    letter-spacing: .6px;

    font-weight: 700;
}

/* =========================================================
   ACHIEVEMENT HEADING
========================================================= */

.achievements-container h2 {

    margin: 0;

    font-size:
        clamp(
            32px,
            3vw,
            44px
        );

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -.5px;
}

.achievements-container h2 strong {

    color: #ee2e35;
}

/* =========================================================
   DESCRIPTION
========================================================= */

/* =========================================================
   STAT GRID
========================================================= */

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(
                0,
                1fr
            )
        );

    gap: 27px;
}

/* =========================================================
   STAT CARD
========================================================= */

.stat-card {

    min-height: 265px;

    padding:
        12px
        20px
        20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    border:
        1px solid
        #dce4ee;

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0
        7px
        18px
        rgba(
            17,
            45,
            90,
            0.08
        );

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.stat-card:hover {

    transform:
        translateY(-5px);

    border-color:
        #bcd3f4;

    box-shadow:
        0
        14px
        30px
        rgba(
            17,
            70,
            130,
            .13
        );
}

/* =========================================================
   STAT ICON
========================================================= */

.stat-icon {

    width: 87px;

    height: 87px;

    margin-bottom: 8px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.stat-icon svg {

    width: 100%;

    height: 100%;

    overflow: visible;
}

.stat-icon svg circle {

    fill:
        #f1f6fc;

    stroke:
        #d7e4f4;

    stroke-width: 1;
}

.stat-icon svg path {

    fill: none;

    stroke:
        #075dce;

    stroke-width: 2.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}

/* =========================================================
   NUMBERS
========================================================= */

.stat-number {

    color: #07183b;

    font-size:
        clamp(
            34px,
            3vw,
            43px
        );

    line-height: 1;

    font-weight: 700;
}

.stat-card h3 {

    margin:
        8px
        0
    }

@media (max-width: 768px) {

    .achievements-section {
        padding: 24px 18px 28px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 14px;
    }

    .stat-card {
        min-height: 220px;
        padding: 16px 12px 18px;
    }

    .stat-number {
        font-size: clamp(30px, 7vw, 38px);
    }
}

/* =========================================================
   3.OUR SERVICES
   Production-ready responsive CSS
========================================================= */

/* ---------- RESET ---------- */

.dm-services,
.dm-services *,
.dm-services *::before,
.dm-services *::after {
    box-sizing: border-box;
}

/* ---------- SECTION ---------- */

.dm-services {

    width: 100%;

    padding:
        42px
        20px
        52px;

    background: #ffffff;

    overflow: hidden;
}

/* ---------- CONTAINER ---------- */

.dm-services-container {

    width: 100%;

    max-width: 1280px;

    margin: 0 auto;
}

/* =========================================================
   HEADING
========================================================= */

.dm-services-heading {

    text-align: center;

    margin-bottom: 48px;
}

.dm-services-label {

    display: block;

    margin-bottom: 12px;

    color: #f0443c;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.3;

    letter-spacing: 0.5px;
}

.dm-services-heading h2 {

    margin: 0;

    color: #101a42;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: clamp(
        30px,
        4vw,
        48px
    );

    font-weight: 700;

    line-height: 1.15;
}

/* ---------- RED HEADING LINE ---------- */

.dm-heading-line {

    position: relative;

    width: 90px;

    height: 5px;

    margin: 2px auto 22px;   /* sits just under the OUR SERVICES label, above the title */

    background: #ff3b35;

    border-radius: 10px;
}

.dm-heading-line::after {

    content: "";

    position: absolute;

    top: 50%;

    right: -14px;

    width: 7px;

    height: 7px;

    transform:
        translateY(-50%);

    background: #ff3b35;

    border-radius: 50%;
}

/* =========================================================
   GRID
========================================================= */

.dm-services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;

    align-items: stretch;
}

/* =========================================================
   CARD
========================================================= */

.dm-service-card {

    position: relative;

    min-width: 0;

    min-height: 410px;

    overflow: hidden;

    display: block;

    color: inherit;

    text-decoration: none;

    background: #ffffff;

    border:
        1px solid #e5e7eb;

    border-radius: 14px;

    box-shadow:
        0 8px 25px
        rgba(15, 27, 65, 0.08);

    isolation: isolate;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* ---------- HOVER LIFT ---------- */

.dm-service-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 18px 40px
        rgba(15, 27, 65, 0.18);
}

/* =========================================================
   CARD IMAGE
========================================================= */

.dm-card-image {

    position: absolute;

    inset: 0;

    z-index: -2;

    background-repeat: no-repeat;

    background-position: center;

    background-size: cover;

    opacity: 0;

    transform:
        scale(1.08);

    transition:
        opacity 0.55s ease,
        transform 0.7s ease;
}

/* ---------- CARD 1 IMAGE ---------- */

.dm-service-mobility .dm-card-image {

    background-image:
        url("images/mobility.jpg");
}

/* ---------- CARD 2 IMAGE ---------- */

.dm-service-security .dm-card-image {

    background-image:
        url("images/security.jpg");
}

/* ---------- CARD 3 IMAGE ---------- */

.dm-service-digital .dm-card-image {

    background-image:
        url("images/business.jpg");
}

/* =========================================================
   IMAGE OVERLAY
========================================================= */

.dm-card-overlay {

    position: absolute;

    inset: 0;

    z-index: -1;

    opacity: 0;

    background:
        linear-gradient(
            135deg,
            rgba(8, 36, 75, 0.93),
            rgba(18, 67, 130, 0.78)
        );

    transition:
        opacity 0.45s ease;
}

/* Digital card gets a slightly different overlay */

.dm-service-digital .dm-card-overlay {

    background:
        linear-gradient(
            135deg,
            rgba(55, 26, 101, 0.94),
            rgba(90, 49, 145, 0.78)
        );
}

/* Our Services cards: red hover shade on every card (both themes) */

.dm-service-card .dm-card-overlay,
.dm-service-card.dm-service-digital .dm-card-overlay {

    background:
        linear-gradient(
            135deg,
            rgba(240, 70, 80, 0.80),
            rgba(255, 125, 130, 0.68)
        );
}

/* =========================================================
   CONTENT
========================================================= */

.dm-card-content {

    position: relative;

    z-index: 2;

    min-height: 410px;

    padding:
        32px 30px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

/* =========================================================
   ICON
========================================================= */

.dm-service-icon {

    width: 66px;

    height: 66px;

    margin-bottom: 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    background: #fff3f2;

    border-radius: 50%;

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

    transition:
        background 0.35s ease,
        transform 0.35s ease,
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.dm-service-icon img {

    width: 38px;

    height: 38px;

    display: block;

    object-fit: contain;

    transition:
        filter 0.35s ease,
        transform 0.35s ease;
}

/* =========================================================
   TITLE
========================================================= */

.dm-card-content h3 {

    margin:
        0
        0
        15px;

    color: #101a42;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 25px;

    font-weight: 700;

    line-height: 1.25;

    transition:
        color 0.35s ease;
}

/* =========================================================
   RED LINE
========================================================= */

.dm-card-line {

    width: 55px;

    height: 4px;

    margin-bottom: 20px;

    background: #ff3b35;

    border-radius: 5px;

    transition:
        width 0.35s ease,
        background 0.35s ease;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.dm-card-content p {

    max-width: 410px;

    margin:
        0
        0
        20px;

    color: #687083;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;

    line-height: 1.7;

    transition:
        color 0.35s ease;
}

/* =========================================================
   LIST
========================================================= */

.dm-service-list {

    width: 100%;

    margin:
        auto
        0
        20px;

    padding: 0;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

    list-style: none;
}

.dm-service-list li {

    position: relative;

    padding-left: 22px;

    color: #17203e;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;

    line-height: 1.45;

    transition:
        color 0.35s ease;
}

.dm-service-list li::before {

    content: "✓";

    position: absolute;

    left: 0;

    top: 0;

    width: 16px;

    height: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ff3b35;

    border:
        1.5px solid #ff3b35;

    border-radius: 50%;

    font-size: 10px;

    font-weight: 700;

    transition:
        color 0.35s ease,
        border-color 0.35s ease;
}

/* =========================================================
   VIEW MORE
========================================================= */

.dm-view-more {

    margin-top: auto;

    color: #f0443c;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15px;

    font-weight: 700;

    transition:
        color 0.35s ease;
}

.dm-view-more span {

    display: inline-block;

    margin-left: 7px;

    transition:
        transform 0.3s ease;
}

.dm-service-card:hover
.dm-view-more span {

    transform:
        translateX(5px);
}

/* =========================================================
   HOVER STATE
========================================================= */

/* Reveal image */

.dm-service-card:hover .dm-card-image {

    opacity: 1;

    transform:
        scale(1);
}

/* Reveal overlay */

.dm-service-card:hover .dm-card-overlay {

    opacity: 1;
}

/* White text */

.dm-service-card:hover .dm-card-content h3,
.dm-service-card:hover .dm-card-content p,
.dm-service-card:hover .dm-service-list li {

    color: #ffffff;
}

/* White View More */

.dm-service-card:hover .dm-view-more {

    color: #ffffff;
}

/* White check icons */

.dm-service-card:hover
.dm-service-list li::before {

    color: #ffffff;

    border-color: #ffffff;
}

/* Icon background */

.dm-service-card:hover .dm-service-icon {

    background: #ffffff;

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}

/*
   Keep the logo in its own colours on the white circle
   so it stays visible during hover.
*/

.dm-service-card:hover
.dm-service-icon img {

    filter: none;

    transform:
        scale(1.05);
}

/* Red line becomes white */

.dm-service-card:hover .dm-card-line {

    background: #ffffff;

    width: 70px;
}

/* =========================================================
   KEYBOARD ACCESSIBILITY
========================================================= */

.dm-service-card:focus-visible {

    outline:
        3px solid #ff3b35;

    outline-offset: 4px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .dm-services {

        padding:
            60px
            20px
            70px;
    }

    .dm-services-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .dm-service-card:last-child {

        grid-column:
            1 / -1;

        max-width:
            calc(
                50% - 11px
            );

        width: 100%;

        justify-self: center;
    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .dm-services {

        padding:
            50px
            16px
            60px;
    }

    .dm-services-heading {

        margin-bottom: 35px;
    }

    .dm-services-label {

        font-size: 14px;
    }

    .dm-services-heading h2 {

        font-size: 29px;

        line-height: 1.2;
    }

    .dm-heading-line {

        margin-top: 6px;
    }

    .dm-services-grid {

        grid-template-columns: 1fr;

        gap: 18px;
    }

    .dm-service-card {

        min-height: 390px;
    }

    .dm-service-card:last-child {

        grid-column: auto;

        max-width: none;

        justify-self: auto;
    }

    .dm-card-content {

        min-height: 390px;

        padding:
            28px 25px;
    }

    .dm-card-content h3 {

        font-size: 23px;
    }

    .dm-card-content p {

        font-size: 14px;
    }

    .dm-service-list {

        gap: 8px;
    }

}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .dm-services {

        padding:
            45px
            14px
            55px;
    }

    .dm-services-heading h2 {

        font-size: 26px;
    }

    .dm-service-card {

        min-height: 380px;

        border-radius: 12px;
    }

    .dm-card-content {

        min-height: 380px;

        padding:
            25px 22px;
    }

    .dm-service-icon {

        width: 60px;

        height: 60px;

        margin-bottom: 20px;
    }

    .dm-service-icon img {

        width: 34px;

        height: 34px;
    }

    .dm-card-content h3 {

        font-size: 21px;
    }

    .dm-service-list {

        grid-template-columns: 1fr;

        gap: 8px;
    }

}

/* =========================================================
   REDUCE MOTION
   Accessibility / performance
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .dm-service-card,
    .dm-card-image,
    .dm-card-overlay,
    .dm-card-content,
    .dm-service-icon,
    .dm-service-icon img,
    .dm-card-line,
    .dm-view-more,
    .dm-view-more span {

        transition: none !important;
    }
}
/* ================================
   PRODUCTS SECTION
================================ */

.products-section {
    width: 100%;
    padding: 36px 25px 48px;
    background: #f8fafc;
    overflow: hidden;
    box-sizing: border-box;
}

/* ---------- HEADING ---------- */

.products-heading {
    text-align: center;
    margin-bottom: 38px;
}

.section-label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-bottom: 12px;
}

.section-label span {
    width: 72px;
    height: 2px;
    background: #172b4d;
}

.section-label strong {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #f05223;
}

.products-heading h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
    color: #102744;
}

.products-heading h2 .products-accent {
    color: #f32932;
}

.products-heading p {
    margin: 12px auto 0;
    max-width: 900px;
    font-size: 17px;
    line-height: 1.6;
    color: #52627a;
}

/* ---------- CAROUSEL ---------- */


/* ---------- PRODUCT CARD ---------- */

.product-card {
    position: relative;
    flex: 0 0 calc(100% / 6);
    height: 293px;
    overflow: hidden;
    border-right: 1px solid rgba(255,255,255,0.25);
    box-sizing: border-box;
    background: #071d36;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition:
        transform 0.7s ease,
        filter 0.7s ease;
}

/* ---------- DARK GRADIENT ---------- */


/* ---------- HOVER IMAGE EFFECT ---------- */

.product-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.92);
}

/* ---------- CARD CONTENT ---------- */

.product-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 0 20px 18px 42px;
    z-index: 2;
}

.product-content::before {
    content: "";

    position: absolute;
    left: 20px;
    bottom: 17px;

    width: 4px;
    height: 36px;

    background: #0878ff;
    border-radius: 2px;
}

.product-content h3 {
    margin: 0 0 9px;

    color: #ffffff;
    font-size: 17px;
    font-weight: 700;

    white-space: nowrap;
}

.product-content a {
    color: #ff5729;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
}

.product-content a span {
    font-size: 19px;
    margin-left: 4px;
}

/* =================================
   TABLET
================================= */

@media (max-width: 1100px) {

    .product-card {
        flex: 0 0 25%;
    }

    .products-heading h2 {
        font-size: 32px;
    }

}

/* =================================
   MOBILE
================================= */

@media (max-width: 768px) {

    .products-section {
        padding: 42px 15px 50px;
    }

    .products-heading {
        margin-bottom: 25px;
    }

    .section-label {
        gap: 12px;
    }

    .section-label span {
        width: 38px;
    }

    .section-label strong {
        font-size: 16px;
    }

    .products-heading h2 {
        font-size: 27px;
        line-height: 1.3;
    }

    .products-heading p {
        font-size: 14px;
        padding: 0 8px;
    }

    .product-card {
        flex: 0 0 calc(100vw - 30px);
        width: calc(100vw - 30px);
        max-width: calc(100vw - 30px);
        height: 220px;
    }

    .product-content {
        padding-left: 39px;
    }
}

/* =================================
   SMALL PHONES
================================= */

@media (max-width: 480px) {

    .products-heading h2 {
        font-size: 24px;
    }

    .product-card {
        flex: 0 0 calc(100vw - 30px);
        width: calc(100vw - 30px);
        max-width: calc(100vw - 30px);
        height: 200px;
    }

    .product-content h3 {
        font-size: 16px;
    }

    .product-content a {
        font-size: 13px;
    }
}

/* =========================================================
   5.DYNASTY MAX
   PROJECTS SECTION
========================================================= */
/* =========================================================
   RESET - SECTION ONLY
========================================================= */

.dm-projects,
.dm-projects *,
.dm-projects *::before,
.dm-projects *::after {
    box-sizing: border-box;
}

/* =========================================================
   SECTION
========================================================= */

.dm-projects {
    width: 100%;
    background: #ffffff;
    padding: 40px 22px 70px;
    overflow: hidden;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    color: #102238;
}

/* =========================================================
   CONTAINER
========================================================= */

/* =========================================================
   HEADER
========================================================= */

/* =========================================================
   THREE COLUMN LAYOUT
========================================================= */

/* =========================================================
   LEFT FEATURE MOSAIC
========================================================= */

/* =========================================================
   FEATURE TILE
========================================================= */

/* =========================================================
   IMAGE TILE
========================================================= */

/* Four mosaic panels cycle between project images and reveal a caption. */


/* =========================================================
   INFO TILE
========================================================= */

/* =========================================================
   WIDE TILE
========================================================= */

/* =========================================================
   LEFT MOSAIC PLACEMENT
========================================================= */

/* =========================================================
   MIDDLE NAVIGATION
========================================================= */

/* =========================================================
   PROJECT LIST
========================================================= */


/* =========================================================
   PROGRESS
========================================================= */


/* =========================================================
   RIGHT DETAILS
========================================================= */

/* =========================================================
   IMAGE
========================================================= */


/* =========================================================
   PROJECT CONTENT
========================================================= */


/* =========================================================
   STATS
========================================================= */


/* =========================================================
   BUTTON
========================================================= */

/* =========================================================
   CONTENT TRANSITION
========================================================= */


/* =========================================================
   LARGE LAPTOP
========================================================= */

@media (max-width: 1400px) and (min-width: 1051px) {

    .dm-projects {
        padding-left: 14px;
        padding-right: 14px;
    }

    

    
}

/* =========================================================
   TABLET LANDSCAPE
========================================================= */

@media (max-width: 1050px) {

    .dm-projects {
        padding-left: 16px;
        padding-right: 16px;
    }

}

/* =========================================================
   TABLET PORTRAIT
========================================================= */

@media (max-width: 760px) {

    .dm-projects {
        padding-top: 35px;
        padding-bottom: 55px;
    }

    

    

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .dm-projects {
        padding:
            30px
            10px
            45px;
    }

    /* -----------------------------------------
       MOBILE MOSAIC
    ----------------------------------------- */

    /* -----------------------------------------
       PROJECT NAVIGATION
    ----------------------------------------- */

    

    /* -----------------------------------------
       RIGHT CONTENT
    ----------------------------------------- */

    

    

    

    

    

    

    

    

    

}

/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .dm-projects {
        padding-left: 7px;
        padding-right: 7px;
    }

    

    

}

/* =========================================================
   REDUCED MOTION ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .dm-projects *,
    .dm-projects *::before,
    .dm-projects *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }

}
/* =========================================================
   6.DYNASTY MAX FOOTER
   REFERENCE-MATCHED RESPONSIVE VERSION
========================================================= */

/* =========================================================
   RESET
========================================================= */

.dm-footer,
.dm-footer *,
.dm-footer *::before,
.dm-footer *::after {

    box-sizing: border-box;

}

/* =========================================================
   MAIN FOOTER
========================================================= */

.dm-footer {

    position: relative;

    width: 100%;

    overflow: hidden;

    background: #08090a;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

}

/* =========================================================
   WORLD MAP BACKGROUND
========================================================= */

.dm-world-map {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 0;

    pointer-events: none;

    background-image:
        url("images/footer-world-map.png");

    background-repeat: no-repeat;

    background-position:
        center 0;

    background-size:
        cover;

    opacity: 0.25;

}

/* =========================================================
   MAIN CONTENT
========================================================= */

.dm-footer-main {

    position: relative;

    z-index: 2;

    width: calc(100% - 110px);

    max-width: 1450px;

    margin: 0 auto;

    min-height: 690px;

    padding-top: 65px;

    padding-bottom: 65px;

    display: grid;

    grid-template-columns:
        1.05fr
        0.72fr
        1.40fr;

}

/* =========================================================
   COMPANY
========================================================= */

.dm-company {

    padding-right: 55px;

}

/* LOGO */

.dm-logo {

    margin: 0 0 36px;

    padding: 0;

    color: #ffffff;

    font-size: 50px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: -1.5px;

    white-space: nowrap;

}

.dm-logo span {

    color: #ef2c31;

}

/* DESCRIPTION */

.dm-description {

    margin: 0;

    color: #eeeeee;

    font-size: 20px;

    line-height: 1.78;

    font-weight: 400;

}

.dm-description-second {

    margin-top: 0;

}

/* =========================================================
   SOCIAL BUTTONS
========================================================= */

/* FACEBOOK */

/* TWITTER */

/* YOUTUBE */

/* INSTAGRAM */

/* LINKEDIN */

/* =========================================================
   CENTER LINKS
========================================================= */

.dm-links {

    padding-left: 48px;

    padding-right: 42px;

    border-left:
        1px solid
        rgba(255,255,255,0.30);

    border-right:
        1px solid
        rgba(255,255,255,0.30);

}

/* HEADING */

.dm-links h3 {

    margin: 0 0 35px;

    color: #ffffff;

    font-size: 25px;

    line-height: 1.2;

    font-weight: 700;

}

/* NAV */

.dm-links nav {

    display: flex;

    flex-direction: column;

}

/* LINK */

.dm-links nav a {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 25px;

    color: #eeeeee;

    text-decoration: none;

    font-size: 21px;

    line-height: 1.35;

    transition:
        color .2s ease,
        transform .2s ease;

}

.dm-links nav a:hover {

    color: #ed2c31;

    transform: translateX(4px);

}

/* ARROW */

/* =========================================================
   LOCATION
========================================================= */

/* LOCATION HEADING */

/* =========================================================
   ODISHA MAP
========================================================= */

/* =========================================================
   LOCATION PINS
========================================================= */

/* PIN SHAPE */

/* WHITE CENTER */

/* =========================================================
   PIN POSITIONS
========================================================= */

/* PIN HOVER */

/* =========================================================
   MAP INSTRUCTION
========================================================= */

/* =========================================================
   BOTTOM BAR
========================================================= */

.dm-footer-bottom {

    position: relative;

    z-index: 3;

    width: calc(100% - 110px);

    max-width: 1450px;

    margin: 0 auto;

    border-top:
        1px solid
        rgba(255,255,255,0.23);

}

/* BOTTOM INNER */

.dm-footer-bottom-inner {

    min-height: 125px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;

}

/* =========================================================
   COPYRIGHT
========================================================= */

.dm-copyright {

    min-width: 0;

}

.dm-copyright p {

    margin: 0;

    color: #eeeeee;

    font-size: 17px;

    line-height: 1.9;

}

.dm-copyright a {

    color: #ed2c31;

    text-decoration: none;

}

/* =========================================================
   BOTTOM NAV
========================================================= */

.dm-bottom-nav {

    display: flex;

    align-items: center;

    gap: 33px;

    white-space: nowrap;

}

.dm-bottom-nav a {

    color: #eeeeee;

    text-decoration: none;

    font-size: 18px;

    transition: color .2s ease;

}

.dm-bottom-nav a:hover {

    color: #ed2c31;

}

.dm-bottom-nav span {

    display: block;

    width: 1px;

    height: 34px;

    background:
        rgba(255,255,255,0.30);

}

/* =========================================================
   BACK TO TOP
========================================================= */

/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1150px) {

    .dm-footer-main {

        width: calc(100% - 70px);

        grid-template-columns:
            1fr 0.75fr;

        row-gap: 55px;

    }

    .dm-footer-bottom {

        width: calc(100% - 70px);

    }

}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .dm-footer-main {

        width: calc(100% - 50px);

        grid-template-columns: 1fr;

        row-gap: 45px;

    }

    .dm-company {

        padding-right: 0;

    }

    .dm-links {

        border-left: 0;

        border-right: 0;

        border-top:
            1px solid
            rgba(255,255,255,0.30);

        border-bottom:
            1px solid
            rgba(255,255,255,0.30);

        padding:
            40px 0;

    }

    .dm-footer-bottom {

        width: calc(100% - 50px);

    }

    .dm-footer-bottom-inner {

        flex-wrap: wrap;

        padding:
            30px 0;

    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .dm-footer {

        background: #08090a;

    }

    /* WORLD MAP */

    .dm-world-map {

        background-size: auto 520px;

        background-position:
            center top;

        opacity: 0.18;

    }

    /* MAIN */

    .dm-footer-main {

        width: calc(100% - 32px);

        min-height: auto;

        padding-top: 45px;

        padding-bottom: 45px;

        display: flex;

        flex-direction: column;

        gap: 40px;

    }

    /* COMPANY */

    .dm-company {

        padding: 0;

        text-align: center;

    }

    .dm-logo {

        font-size: 34px;

        letter-spacing: -1px;

        margin-bottom: 25px;

    }

    .dm-description {

        font-size: 16px;

        line-height: 1.75;

    }

    .desktop-break {

        display: none;

    }

    /* SOCIAL */

    /* LINKS */

    .dm-links {

        padding:
            35px 0;

        text-align: center;

    }

    .dm-links h3 {

        font-size: 21px;

        margin-bottom: 27px;

    }

    .dm-links nav {

        align-items: center;

    }

    .dm-links nav a {

        margin-bottom: 18px;

        font-size: 17px;

    }

    /* LOCATION */

    /* PINS */

    /* NOTE */

    /* BOTTOM */

    .dm-footer-bottom {

        width: calc(100% - 32px);

    }

    .dm-footer-bottom-inner {

        min-height: auto;

        padding:
            27px 0;

        display: flex;

        flex-direction: column;

        gap: 23px;

        text-align: center;

    }

    .dm-copyright {

        width: 100%;

    }

    .dm-copyright p {

        font-size: 13px;

        line-height: 1.8;

    }

    /* BOTTOM LINKS */

    .dm-bottom-nav {

        gap: 13px;

        justify-content: center;

        flex-wrap: wrap;

        white-space: normal;

    }

    .dm-bottom-nav a {

        font-size: 14px;

    }

    .dm-bottom-nav span {

        height: 21px;

    }

    /* TOP */

}

/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .dm-footer-main {

        width: calc(100% - 24px);

    }

    .dm-footer-bottom {

        width: calc(100% - 24px);

    }

    .dm-logo {

        font-size: 29px;

    }

    .dm-description {

        font-size: 15px;

    }

}
/* =========================================
   GLOBAL SECTION REVEAL
========================================= */

.dm-reveal {
    opacity: 0;
    transform: translateY(55px);
    transition:
        opacity 1.3s ease,
        transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.dm-reveal.dm-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .dm-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Compact four-column footer inspired by the supplied reference. */
.dm-footer {
    background: #050505;
}

/* dotted world map, same image and placement as the reference footer (centred, fitted
   inside the footer); the image is already faint white dots, so it is used at full opacity */
.dm-world-map {
    background-image: url("images/footer-world-map.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 1;
}

.dm-footer-main {
    width: calc(100% - 80px);
    max-width: 1260px;
    min-height: 0;
    padding: 58px 0 42px;
    grid-template-columns: 1.1fr 1.35fr 1.2fr;
    gap: 34px;
}

/* same top-left alignment and heading style as POPULAR LINKS / OUR SERVICES */
.dm-office-map-slot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-width: 0;
}

.dm-office-map-slot h3 {
    margin: 2px 0 20px;
    color: #fff;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}
.dm-office-map-slot .dm-office-gmap { margin: 0; }

.dm-footer-nav-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.dm-company { padding-right: 14px; }
.dm-logo { margin-bottom: 22px; font-size: 34px; letter-spacing: -.8px; }
.dm-description { color: #b8bfd8; font-size: 16px; line-height: 1.65; }
.dm-description-second { margin-top: 8px; }

.dm-links,
.dm-services { min-width: 0; }

#footer-services {
    width: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
}

.dm-links h3,
#footer-services h3 {
    margin: 2px 0 20px;
    color: #fff;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

.dm-links nav a:hover,
.dm-services nav a:hover { color: #fff; }

.dm-links {
    padding: 0;
    border: 0;
}

.dm-links h3 { margin-bottom: 20px; }
.dm-links nav,
.dm-services nav { display: flex; flex-direction: column; gap: 9px; }
.dm-links nav a,
.dm-services nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #b8bfd8;
    font-size: 15px;
    line-height: 1.45;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.dm-links nav a:hover,
.dm-services nav a:hover {
    color: #fff;
    transform: translateX(4px);
}

.dm-footer-bottom { width: calc(100% - 80px); max-width: 1260px; }
.dm-footer-bottom-inner { min-height: 72px; gap: 18px; }
.dm-copyright p { color: #aab0c8; font-size: 14px; line-height: 1.6; }
.dm-copyright a { color: #c4c9dc; }
.dm-bottom-nav { gap: 12px; }
.dm-bottom-nav a { color: #aab0c8; font-size: 14px; }

@media (max-width: 900px) {
    .dm-footer-main {
        width: calc(100% - 56px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 28px;
    }
    .dm-footer-nav-columns { grid-column: 1 / -1; }
    .dm-office-map-slot { grid-column: 1 / -1; }
    .dm-footer-bottom { width: calc(100% - 56px); }
}

@media (max-width: 600px) {
    .dm-world-map {
        background-size: contain;
        background-position: center center;
        opacity: 1;
    }

    .dm-footer-main {
        width: calc(100% - 40px);
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 42px 0 32px;
    }

    .dm-footer-nav-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .dm-company { padding: 0; text-align: left; }
    .dm-logo { font-size: 32px; }

    .dm-links { padding: 0; text-align: left; }
    .dm-links nav { align-items: flex-start; }
    .dm-links nav a { margin: 0; font-size: 15px; }
    
    .dm-links h3,
    #footer-services h3,
    .dm-office-map-slot h3 { margin-bottom: 15px; font-size: 16px; }
    .dm-footer-bottom { width: calc(100% - 40px); }
    .dm-footer-bottom-inner { align-items: flex-start; text-align: left; }
    .dm-copyright { text-align: left; }
    .dm-bottom-nav { justify-content: flex-start; }
}

/* Contact page section */
.contact-page {
    color: #eef3ff;
    background: #050505;
    border-top: 1px solid rgba(255,255,255,.07);
}

.contact-wrap {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.contact-hero {
    padding: 64px 0 58px;
    background:
        radial-gradient(ellipse at 12% 100%, rgba(17,194,218,.17), transparent 42%),
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
        #050505;
    background-size: auto, 42px 42px, 42px 42px, auto;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(49,205,230,.24);
    border-radius: 20px;
    color: #38c9e5;
    background: rgba(17,194,218,.07);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.contact-hero h1 {
    margin: 14px 0 12px;
    color: #f3f6fc;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.contact-hero p {
    max-width: 600px;
    margin: 0;
    color: #a7b2c8;
    font-size: 15px;
    line-height: 1.75;
}

.contact-main {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(38px, 8vw, 110px);
    padding-top: 64px;
    padding-bottom: 72px;
}

.contact-details {
    display: grid;
    gap: 26px;
    padding-top: 5px;
}

.contact-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
}

.contact-detail h2 { margin: 0 0 5px; color: #edf2fc; font-size: 14px; }
.contact-detail p,
.contact-detail-note p { margin: 0; color: #a7b2c8; font-size: 13px; line-height: 1.7; }

.contact-detail-note {
    margin-top: 3px;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(18,25,41,.58);
}

.contact-detail-note strong { display: block; margin-bottom: 6px; color: #edf2fc; font-size: 14px; }

.contact-form {
    min-width: 0;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: #121827;
    box-shadow: 0 18px 55px rgba(0,0,0,.2);
}

.contact-form-heading h2 { margin: 0 0 6px; color: #f1f5ff; font-size: 20px; }
.contact-form-heading p { margin: 0 0 24px; color: #a7b2c8; font-size: 13px; }

.contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
}

.contact-fields label {
    display: grid;
    gap: 8px;
    color: #aeb9ce;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.contact-field-wide { grid-column: 1 / -1; }

.contact-fields input,
.contact-fields textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #293349;
    border-radius: 2px;
    outline: 0;
    padding: 12px 13px;
    color: #f1f5ff;
    background: #192338;
    font: inherit;
    font-size: 13px;
    letter-spacing: normal;
    text-transform: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-fields input { height: 43px; }
.contact-fields textarea { min-height: 112px; resize: vertical; }
.contact-fields input::placeholder,
.contact-fields textarea::placeholder { color: #71809c; }
.contact-fields input:focus,
.contact-fields textarea:focus { border-color: #32c6e6; box-shadow: 0 0 0 3px rgba(50,198,230,.12); }

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    margin-top: 18px;
    border: 0;
    border-radius: 28px;
    color: #071322;
    background: linear-gradient(100deg, #4c7bff, #1ec8e1);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(37,158,233,.18);
}

.contact-submit:hover { filter: brightness(1.08); }

@media (max-width: 760px) {
    .contact-wrap { width: calc(100% - 40px); }
    .contact-hero { padding: 50px 0 42px; }
    .contact-hero h1 { font-size: clamp(32px, 7vw, 42px); }
    .contact-main { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; padding-bottom: 46px; }
    .contact-details { gap: 20px; }
    .contact-detail-note { margin-top: 0; }
    .contact-form { padding: 22px; }
    .contact-fields input,
    .contact-fields textarea { font-size: 16px; }
    .contact-fields input { min-height: 46px; }
}

@media (max-width: 600px) {
    .contact-main { gap: 28px; }
    .contact-fields { grid-template-columns: 1fr; gap: 15px; }
    .contact-field-wide { grid-column: auto; }
}

@media (max-width: 440px) {
    .contact-wrap { width: calc(100% - 32px); }
    .contact-hero { padding: 40px 0 34px; }
    .contact-hero h1 { font-size: clamp(30px, 8.5vw, 36px); }
    .contact-hero p { font-size: 14px; }
    .contact-main { padding-top: 30px; }
    .contact-form { padding: 18px; border-radius: 14px; }
}

/* Achievements strip connected directly to the home hero. */
.achievements-section {
    margin: 0;
    padding: 18px clamp(16px, 4vw, 48px);
    overflow-x: auto;
    background: #07152c;
    color: #fff;
    scrollbar-width: thin;
    scrollbar-color: #31517c #07152c;
}

.achievements-container {
    display: flex;
    width: 100%;
    max-width: 1320px;
    min-width: 760px;
    align-items: center;
    margin: 0 auto;
    text-align: left;
}

.stats-grid {
    display: flex;
    flex: 1 0 auto;
    grid-template-columns: none;
    gap: 0;
}

.stat-card {
    display: flex;
    flex: 1 1 0;
    min-width: 138px;
    min-height: 82px;
    justify-content: center;
    padding: 8px 14px;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.16);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
    transition: none;
}

.stat-card:hover {
    transform: none;
    border-color: rgba(255,255,255,.16);
    box-shadow: none;
}

.stat-icon,
.stat-card p { display: none; }

.stat-number {
    color: #fff;
    font-size: 34px;
    font-size: clamp(25px, 2.5vw, 34px);
}

.stat-card h3 {
    margin: 7px 0 0;
    color: #c1cee0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
}

@media (max-width: 760px) {
    .achievements-section { padding: 14px 16px; overflow-x: hidden; }
    .achievements-container { display: block; width: 100%; max-width: none; min-width: 0; margin: 0; }
    .stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stat-card { min-width: 0; min-height: 76px; padding: 8px 6px; }
    .stat-card:nth-child(3n + 1) { border-left: 0; }
}

@media (max-width: 420px) {
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-card:nth-child(3n + 1) { border-left: 1px solid rgba(255,255,255,.16); }
    .stat-card:nth-child(2n + 1) { border-left: 0; }
}

.achievements-container { justify-content: center; }
.stats-grid { width: 100%; }

.mobile-dropdown-toggle,
.mobile-simple-link {
    position: relative;
}

.mobile-dropdown-toggle::after,
.mobile-simple-link::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #e91d2b;
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .9s cubic-bezier(.2, .75, .25, 1);
}

.mobile-dropdown-toggle:hover::after,
.mobile-dropdown-toggle:active::after,
.mobile-dropdown-toggle:focus-visible::after,
.mobile-nav-item.open > .mobile-dropdown-toggle::after,
.mobile-nav-item.is-active > .mobile-dropdown-toggle::after,
.mobile-dropdown-toggle.is-active::after,
.mobile-simple-link:hover::after,
.mobile-simple-link:active::after,
.mobile-simple-link:focus-visible::after,
.mobile-simple-link.is-active::after {
    transform: scaleX(1);
}

/* i3MS-inspired project dashboard: flat module tiles and clear blue panels. */
.dm-projects {
    padding: 42px clamp(14px, 3vw, 34px) 52px;
    border-top: 1px solid #d3dce5;
    border-bottom: 1px solid #d3dce5;
    background: #edf2f6;
    color: #19344c;
}


@media (max-width: 760px) {
    .dm-projects { padding: 28px 14px 36px; }

}

/* Portal-style service directory; replaces the former featured-project carousel. */
.dm-projects {
    padding: 34px clamp(14px, 3vw, 34px) 42px;
    background: #eef2f5;
}

@media (max-width: 560px) {
    .dm-projects { padding: 26px 12px 32px; }

}

/* I3MS portal mosaic layout based on the supplied reference screenshots. */
.dm-projects {
    padding: 0;
    border: 0;
    background: #fff;
}

.dm-i3ms-layout {
    display: grid;
    grid-template-columns: minmax(0, 4.2fr) minmax(260px, 1.1fr);
    gap: 3px;
    width: min(100%, 1380px);
    max-width: 1380px;
    margin: 0 auto 0 0;
    background: #fff;
}

.dm-i3ms-mosaic {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(118px, 1fr));
    gap: 3px;
    min-width: 0;
    min-height: 540px;
    background: #fff;
}

.dm-i3ms-tile {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    overflow: hidden;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    transition: filter .18s ease;
}

.dm-i3ms-tile:hover,
.dm-i3ms-tile:focus-visible { filter: brightness(1.08); }
.dm-i3ms-stakeholder { grid-area: 1 / 1 / 2 / 3; background: #c75b00; }
.dm-i3ms-mining-photo { grid-area: 1 / 3 / 2 / 4; padding: 0; }
.dm-i3ms-mdcc { grid-area: 1 / 4 / 2 / 6; background: #00a873; }
.dm-i3ms-weigh { grid-area: 2 / 1 / 3 / 2; background: #78b500; }
.dm-i3ms-permit { grid-area: 2 / 2 / 3 / 3; background: #176f95; }
.dm-i3ms-grant { grid-area: 2 / 3 / 4 / 4; background: #efa500; }
.dm-i3ms-know { grid-area: 2 / 4 / 4 / 6; justify-content: flex-start; background: #176f95; }
.dm-i3ms-transit { grid-area: 1 / 6 / 3 / 7; background: #a60000; }
.dm-i3ms-reports { grid-area: 3 / 1 / 4 / 3; }
.dm-i3ms-transporter { grid-area: 3 / 6 / 4 / 7; background: #78b500; }
.dm-i3ms-rfid { grid-area: 4 / 1 / 5 / 2; background: #971b53; }
.dm-i3ms-truck { grid-area: 4 / 2 / 5 / 3; background: #c75b00; }
.dm-i3ms-mine-photo { grid-area: 4 / 3 / 5 / 5; padding: 0; }
.dm-i3ms-integration { grid-area: 4 / 5 / 5 / 6; background: #00a873; }

.dm-i3ms-reports { background: #00a873; }

.dm-i3ms-tile img { width: 100%; height: 100%; object-fit: cover; }
.dm-i3ms-label { font-size: clamp(13px, 1.25vw, 17px); line-height: 1.35; }
.dm-i3ms-icon {
    display: flex;
    width: 100%;
    flex: 1;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 700;
    line-height: 1;
}

.dm-i3ms-icon small { font-size: .55em; }
.dm-i3ms-stakeholder .dm-i3ms-icon { font-size: clamp(40px, 5vw, 64px); }
.dm-i3ms-mdcc .dm-i3ms-icon { flex-direction: column; font-size: clamp(36px, 4vw, 54px); }
.dm-i3ms-mdcc .dm-i3ms-icon small { font-size: .7em; line-height: .65; }
.dm-i3ms-weigh .dm-i3ms-icon { font-size: clamp(42px, 4vw, 56px); }
.dm-i3ms-grant .dm-i3ms-icon { font-size: clamp(42px, 4.5vw, 62px); }
.dm-i3ms-transporter .dm-i3ms-icon { font-size: clamp(40px, 4.5vw, 60px); }
.dm-i3ms-know-title { display: flex; align-items: flex-start; justify-content: space-between; width: 100%; font-size: clamp(18px, 1.8vw, 25px); }
.dm-i3ms-know-title span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #fff; color: #176f95; font-size: 44px; font-weight: 700; }
.dm-i3ms-know p { align-self: flex-start; margin: auto 0 0; font-size: clamp(12px, 1.2vw, 15px); line-height: 1.5; }
.dm-i3ms-reports strong { margin: auto 0 6px; font-size: clamp(16px, 1.8vw, 23px); font-weight: 500; }
.dm-i3ms-tile ul { margin: auto 0 0; padding-left: 18px; font-size: clamp(11px, 1.15vw, 15px); line-height: 1.5; }
.dm-i3ms-rfid .dm-i3ms-label { max-width: 120px; }
.dm-i3ms-integration { align-items: center; }
.dm-i3ms-integration .dm-i3ms-icon { flex: 1; font-size: 54px; }
.dm-i3ms-integration .dm-i3ms-label { align-self: flex-start; }

.dm-i3ms-reports { display: block; padding: 0; }
.dm-i3ms-report-slide {
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    transition: transform .85s cubic-bezier(.22, .7, .2, 1);
}
.dm-i3ms-report-slide.is-active { transform: translateX(0); }
.dm-i3ms-reports-panel {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: #00a873;
}
.dm-i3ms-reports-panel strong { margin: auto 0 6px; font-size: clamp(16px, 1.8vw, 23px); font-weight: 500; }
.dm-i3ms-reports-panel ul { margin: 0; padding-left: 18px; font-size: clamp(11px, 1.15vw, 15px); line-height: 1.5; }
.dm-i3ms-reports-image img { display: block; width: 100%; height: 100%; object-fit: cover; }

.dm-i3ms-know {
    display: block;
    padding: 0;
    isolation: isolate;
}

.dm-i3ms-know-panel,
.dm-i3ms-know-image {
    position: absolute;
    inset: 0;
    transition: transform .85s cubic-bezier(.22, .7, .2, 1);
    transform: translateX(100%);
}

.dm-i3ms-know-panel {
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: #176f95;
}

.dm-i3ms-know-panel { transform: translateX(0); }
.dm-i3ms-know-image img { width: 100%; height: 100%; object-fit: cover; }
.dm-i3ms-know .dm-i3ms-know-title { flex: 0 0 auto; }
.dm-i3ms-know .dm-i3ms-know-panel p { align-self: flex-start; margin: auto 0 0; font-size: clamp(12px, 1.2vw, 15px); line-height: 1.5; }

.dm-i3ms-mine-photo { position: relative; }
.dm-i3ms-mine-photo img {
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    transition: transform .85s cubic-bezier(.22, .7, .2, 1);
}
.dm-i3ms-mine-photo img.is-active { transform: translateX(0); }
.dm-i3ms-mining-photo { position: relative; }
.dm-i3ms-mining-photo img {
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    transition: transform .85s cubic-bezier(.22, .7, .2, 1);
}
.dm-i3ms-mining-photo img.is-active { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
    .dm-i3ms-know-panel,
    .dm-i3ms-know-image { transition-duration: .01ms; }
}

.dm-i3ms-login { min-width: 0; background: #303030; color: #fff; }
.dm-i3ms-login h2 { display: flex; min-height: 52px; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; background: #c75b00; color: #fff; font-size: clamp(17px, 1.7vw, 23px); font-weight: 400; }
.dm-i3ms-login h2 span { font-size: 1.05em; }
.dm-i3ms-login nav { display: grid; }
.dm-i3ms-login nav a { display: flex; min-height: 41px; align-items: center; gap: 9px; padding: 6px 11px; border-bottom: 1px solid #494949; color: #f0f0f0; font-size: clamp(13px, 1.35vw, 17px); line-height: 1.25; text-decoration: none; }
.dm-i3ms-login nav a > span { width: 19px; color: #929292; text-align: center; }
.dm-i3ms-login nav a:hover,
.dm-i3ms-login nav a:focus-visible { background: #414141; color: #fff; }
.dm-i3ms-login nav a.is-muted { color: #999; }
.dm-i3ms-login nav a b { margin-left: auto; color: #ff382e; font-size: 9px; }

@media (max-width: 900px) {
    .dm-i3ms-layout { grid-template-columns: minmax(0, 2.5fr) minmax(230px, 1fr); }
    .dm-i3ms-mosaic { grid-template-rows: repeat(4, minmax(112px, 1fr)); }
    .dm-i3ms-login nav a { min-height: 38px; }
}

/* Phones / small tablets: compact 3-column mosaic, short tiles, project list in two columns. */
@media (max-width: 680px) {
    .dm-i3ms-layout { grid-template-columns: minmax(0, 1fr); }

    .dm-i3ms-mosaic {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: clamp(78px, 22vw, 104px);
        grid-auto-flow: row dense;
        min-height: 0;
    }
    .dm-i3ms-tile { grid-area: auto; padding: 8px; }
    .dm-i3ms-stakeholder,
    .dm-i3ms-mdcc,
    .dm-i3ms-reports{ grid-column: span 2; }
    .dm-i3ms-know { grid-column: span 3; grid-row: span 2; }

    .dm-i3ms-label { font-size: 12px; line-height: 1.25; }
    .dm-i3ms-icon,
    .dm-i3ms-stakeholder .dm-i3ms-icon,
    .dm-i3ms-mdcc .dm-i3ms-icon,
    .dm-i3ms-weigh .dm-i3ms-icon,
    .dm-i3ms-grant .dm-i3ms-icon,
    .dm-i3ms-transporter .dm-i3ms-icon,
    .dm-i3ms-integration .dm-i3ms-icon { font-size: 28px; }
    .dm-i3ms-rfid .dm-i3ms-label { max-width: none; }

    .dm-i3ms-know-title { font-size: 17px; }
    .dm-i3ms-know-title span { width: 34px; height: 34px; font-size: 26px; }
    .dm-i3ms-know p,
    .dm-i3ms-know .dm-i3ms-know-panel p { font-size: 13px; }
    .dm-i3ms-reports-panel strong { font-size: 15px; }
    .dm-i3ms-tile ul,
    .dm-i3ms-reports-panel ul { font-size: 11px; line-height: 1.3; }

    .dm-i3ms-login h2 { min-height: 42px; font-size: 17px; }
    .dm-i3ms-login nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dm-i3ms-login nav a { min-height: 36px; padding: 4px 9px; border-right: 1px solid #494949; font-size: 12.5px; }
}

@media (min-width: 681px) {
    .dm-i3ms-layout {
        height: max(430px, min(520px, calc(100svh - 170px)));
    }

    .dm-i3ms-mosaic {
        min-height: 0;
        grid-template-rows: repeat(4, minmax(0, 1fr));
    }

    .dm-i3ms-login {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .dm-i3ms-login h2 {
        min-height: 44px;
        flex: 0 0 44px;
        font-size: clamp(15px, 1.5vw, 20px);
    }

    .dm-i3ms-login nav {
        min-height: 0;
        flex: 1;
        grid-template-rows: repeat(13, minmax(0, 1fr));
    }

    .dm-i3ms-login nav a {
        min-height: 0;
        padding-top: 3px;
        padding-bottom: 3px;
        font-size: clamp(11px, 1.1vw, 14px);
    }
}

/* achievement counters: fixed-width digits so the cards don't jiggle while counting */
.stat-number { font-variant-numeric: tabular-nums; }

/* =========================================================
   ACHIEVEMENTS under the hero (as setblue's "Journey" block):
   a hero-style dark starry band with a centred heading, and a white rounded card that overlaps the
   band's bottom edge, holding the counters (big red numbers, grey labels, thin dividers).
   "html body" outranks the dark theme's strip styles in site-futuristic.css.
========================================================= */
html body .achievements-section {
    position: relative;
    isolation: isolate;
    padding: 46px clamp(16px, 4vw, 48px) 14px;
    overflow: visible;
    border: 0;
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    color: #101827;
}
[data-theme="dark"] body .achievements-section { background: transparent; }
/* the band: the hero's look continued - black, fine dotted grain, scattered orange / blue /
   white stars and soft glows; a gentle curve at its bottom. ::after = a second set of stars
   that twinkles. */
html body .achievements-section::before,
html body .achievements-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: calc(100% - 96px);
    border-radius: 0 0 50% 50% / 0 0 34px 34px;
    pointer-events: none;
}
html body .achievements-section::before {
    background:
        radial-gradient(1.9px 1.9px at 28.9% 21.1%, rgba(233,29,43,0.88), transparent),
        radial-gradient(1.3px 1.3px at 75.2% 75.5%, rgba(255,255,255,0.79), transparent),
        radial-gradient(1.6px 1.6px at 81.7% 24.2%, rgba(255,255,255,0.72), transparent),
        radial-gradient(1.7px 1.7px at 5.4% 68.4%, rgba(255,255,255,0.76), transparent),
        radial-gradient(1.8px 1.8px at 12.3% 51.3%, rgba(255,255,255,0.97), transparent),
        radial-gradient(1.6px 1.6px at 57.7% 91.2%, rgba(255,255,255,0.96), transparent),
        radial-gradient(1.3px 1.3px at 83.7% 33.2%, rgba(64,137,221,0.62), transparent),
        radial-gradient(1.4px 1.4px at 29.5% 93.7%, rgba(64,137,221,0.80), transparent),
        radial-gradient(1.9px 1.9px at 5.9% 27.3%, rgba(255,255,255,0.80), transparent),
        radial-gradient(1.4px 1.4px at 19.3% 90.9%, rgba(255,255,255,0.57), transparent),
        radial-gradient(1.3px 1.3px at 66.4% 92.4%, rgba(64,137,221,0.78), transparent),
        radial-gradient(1.4px 1.4px at 28.4% 36.4%, rgba(233,29,43,0.74), transparent),
        radial-gradient(1.5px 1.5px at 61.4% 23.3%, rgba(64,137,221,0.96), transparent),
        radial-gradient(1.9px 1.9px at 63.5% 63.4%, rgba(64,137,221,0.78), transparent),
        radial-gradient(1.7px 1.7px at 94.0% 39.7%, rgba(255,255,255,0.87), transparent),
        radial-gradient(1.6px 1.6px at 35.1% 33.1%, rgba(64,137,221,0.73), transparent),
        radial-gradient(1.9px 1.9px at 11.1% 81.9%, rgba(255,255,255,0.58), transparent),
        radial-gradient(1.2px 1.2px at 7.8% 99.6%, rgba(64,137,221,0.65), transparent),
        radial-gradient(1.1px 1.1px at 45.7% 59.3%, rgba(255,255,255,0.61), transparent),
        radial-gradient(1.9px 1.9px at 89.1% 88.5%, rgba(255,255,255,0.96), transparent),
        radial-gradient(1.3px 1.3px at 1.0% 24.8%, rgba(255,255,255,0.58), transparent),
        radial-gradient(1.6px 1.6px at 23.1% 74.1%, rgba(233,29,43,0.77), transparent),
        radial-gradient(1.2px 1.2px at 88.2% 23.5%, rgba(255,255,255,0.72), transparent),
        radial-gradient(1.1px 1.1px at 48.9% 0.3%, rgba(255,255,255,0.96), transparent),
        radial-gradient(1.9px 1.9px at 2.1% 90.0%, rgba(255,255,255,0.63), transparent),
        radial-gradient(1.6px 1.6px at 67.9% 26.6%, rgba(255,255,255,0.65), transparent),
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .09) 1px, transparent 1.6px) 0 0 / 7px 7px,
        radial-gradient(55% 120% at 82% 0%, rgba(64, 137, 221, .16), transparent 62%),
        radial-gradient(45% 120% at 12% 100%, rgba(233, 29, 43, .1), transparent 62%),
        #000;
}
html body .achievements-section::after {
    background:
        radial-gradient(2.4px 2.4px at 5.2% 76.9%, rgba(233,29,43,0.87), transparent),
        radial-gradient(2.3px 2.3px at 3.3% 11.0%, rgba(255,255,255,0.96), transparent),
        radial-gradient(2.6px 2.6px at 89.3% 3.7%, rgba(233,29,43,0.95), transparent),
        radial-gradient(3.0px 3.0px at 95.4% 76.5%, rgba(255,255,255,0.74), transparent),
        radial-gradient(2.6px 2.6px at 88.2% 39.8%, rgba(233,29,43,0.66), transparent),
        radial-gradient(2.8px 2.8px at 55.9% 35.1%, rgba(64,137,221,0.83), transparent),
        radial-gradient(2.1px 2.1px at 72.5% 42.3%, rgba(255,255,255,0.64), transparent),
        radial-gradient(3.0px 3.0px at 99.4% 63.2%, rgba(64,137,221,0.94), transparent),
        radial-gradient(1.9px 1.9px at 64.5% 13.5%, rgba(255,255,255,0.77), transparent),
        radial-gradient(2.7px 2.7px at 94.6% 48.2%, rgba(255,255,255,0.63), transparent),
        radial-gradient(1.8px 1.8px at 66.3% 52.2%, rgba(64,137,221,0.80), transparent),
        radial-gradient(2.7px 2.7px at 36.2% 75.1%, rgba(255,255,255,0.56), transparent),
        radial-gradient(2.4px 2.4px at 20.3% 72.3%, rgba(64,137,221,0.68), transparent),
        radial-gradient(2.5px 2.5px at 42.9% 7.5%, rgba(233,29,43,0.90), transparent);
    animation: achTwinkle 3.2s ease-in-out infinite alternate;
}
@keyframes achTwinkle { from { opacity: .25; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    html body .achievements-section::after { animation: none; }
}
.achievements-head {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
    color: #fff;
}
.achievements-head h2 {
    margin: 0 0 10px;
    color: #fff;
    font: 700 clamp(26px, 3vw, 40px)/1.2 Arial, Helvetica, sans-serif;
    letter-spacing: -.01em;
}
.achievements-head p {
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(15px, 1.3vw, 19px);
    line-height: 1.55;
}

/* the white card */
html body .achievements-section .achievements-container {
    max-width: 1180px;
    min-width: 0;
    margin: 0 auto;
    padding: 30px 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 50px rgba(16, 24, 40, .14), 0 2px 6px rgba(16, 24, 40, .05);
}
html body .achievements-section .stat-card {
    min-height: 0;
    padding: 10px 14px;
    border-left: 1px solid #eceff4;
    background: transparent;
    color: #101827;
}
html body .achievements-section .stat-card:first-child { border-left: 0; }
html body .achievements-section .stat-card:hover { background: transparent; }
html body .achievements-section .stat-number {
    background: none;
    -webkit-text-fill-color: #e91d2b;
    color: #e91d2b;
    filter: none;
    font: 700 clamp(34px, 4vw, 58px)/1.05 Arial, Helvetica, sans-serif;
    letter-spacing: -.01em;
}
html body .achievements-section .stat-card h3 {
    margin-top: 10px;
    color: #7c8493;
    font-size: clamp(13px, 1.1vw, 17px);
    font-weight: 500;
}

@media (max-width: 760px) {
    html body .achievements-section { padding: 36px 16px 10px; }
    html body .achievements-section::before,
    html body .achievements-section::after { height: calc(100% - 120px); }
    .achievements-head { margin-bottom: 22px; }
    html body .achievements-section .achievements-container { padding: 14px 6px; }
    html body .achievements-section .stat-card { padding: 14px 6px; border-left: 0; }
    html body .achievements-section .stat-card h3 { font-size: 12.5px; }
}
@media (max-width: 420px) {
    /* 2 per row on small phones: the odd last one (24/7) sits centred on its own row */
    html body .achievements-section .stat-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* dark theme: the stats section shows the site's animated space background (site-space.js)
   behind it - no fixed starfield band - and the card turns to dark glass (red numbers stay) */
html[data-theme="dark"] body .achievements-section::before,
html[data-theme="dark"] body .achievements-section::after { display: none; }
html[data-theme="dark"] body .achievements-section { background: transparent; }
html[data-theme="dark"] body .achievements-section .achievements-container {
    background: rgba(8, 14, 28, .6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 22px 50px rgba(0, 0, 0, .45);
}
html[data-theme="dark"] body .achievements-section .stat-card { border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] body .achievements-section .stat-card h3 { color: #b8c2d6; }
/* dark theme: the numbers are an animated blue <-> gold gradient that keeps sweeping across */
html[data-theme="dark"] body .achievements-section .stat-number {
    background: linear-gradient(90deg, #0bcefc 0%, #8ee9ff 22%, #e9a5ff 45%, #eda0ee 55%, #8ee9ff 78%, #0bcefc 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(233, 165, 255, .22));
    animation: statBlueGold 4s linear infinite;
}
@keyframes statBlueGold { from { background-position: 0% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
    html[data-theme="dark"] body .achievements-section .stat-number { animation: none; }
}

/* Contact page form: invalid fields + the status line under the button (contact-form.js) */
.contact-form .is-invalid { border-color: #e91d2b !important; box-shadow: 0 0 0 3px rgba(233, 29, 43, .15) !important; }
.contact-status { min-height: 18px; margin: 12px 0 0; color: #2b8a3e; font-size: 13px; font-weight: 600; }
.contact-status.is-error { color: #e91d2b; }
[data-theme="dark"] .contact-status { color: #6fd68a; }
[data-theme="dark"] .contact-status.is-error { color: #ff6b74; }

/* Light theme: "Our Journey So Far" laid out exactly like the dark theme - one rounded band holding
   the heading and the stats (no starry backdrop, no separate white card, no dividers) - in the light
   colours of the "Let's Build Your Success Story" card (white, hairline border, soft shadow) */
html:not([data-theme="dark"]) body .achievements-section {
    position: relative;
    isolation: isolate;
    padding: 70px 48px 62px;
    background: #fff;
}
html:not([data-theme="dark"]) body .achievements-section::before {
    content: "";
    display: block;
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: max(16px, calc((100% - 1600px) / 2));
    right: max(16px, calc((100% - 1600px) / 2));
    z-index: -1;
    width: auto;
    height: auto;
    border: 1px solid #ececec;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(16, 24, 39, .05);
    -webkit-mask: none;
            mask: none;
    clip-path: none;
    animation: none;
    opacity: 1;
    transform: none;
}
html:not([data-theme="dark"]) body .achievements-section::after { display: none; }
html:not([data-theme="dark"]) body .achievements-section .achievements-head h2 {
    color: #0b1020;
    font-size: clamp(21px, 2.4vw, 28px);
    line-height: 1.38;
    letter-spacing: -.02em;
}
html:not([data-theme="dark"]) body .achievements-section .achievements-head h2 .ds-accent { color: #e91d2b; }
html:not([data-theme="dark"]) body .achievements-section .achievements-head p {
    margin-top: 14px;
    color: #5b6170;
    font-size: 15px;
    line-height: 24px;
}
html:not([data-theme="dark"]) body .achievements-section .achievements-container {
    padding: 6px 0 0;
    background: transparent;
    box-shadow: none;
}
html:not([data-theme="dark"]) body .achievements-section .stat-card { border-left: 0; background: transparent; }
@media (max-width: 600px) {
    html:not([data-theme="dark"]) body .achievements-section { padding: 52px 30px 46px; }
    html:not([data-theme="dark"]) body .achievements-section::before { top: 16px; bottom: 16px; }
}
