
/* =========================================================
   ROOT
========================================================= */

:root {
    --ms-white: #ffffff;
    --ms-light-gray: #f3f3f3;
    --ms-light-gray-2: #eeeeee;
    --ms-light-gray-3: #e7e7e7;
    --ms-black: #000000;
    --ms-black-soft: #111111;
    --ms-text: #171717;
    --ms-text-soft: #444444;
    --ms-text-light: #777777;
    --ms-border: #dcdcdc;
    --ms-border-light: #e8e8e8;
    --ms-red: #d71920;
    --ms-red-dark: #b51218;
    --ms-red-soft: #fff0f1;
    --ms-container: 1240px;
    --ms-header-height: 100px;
    --ms-transition: .25s ease;
}
/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--ms-header-height);
}
body {
    font-family: "Inter", sans-serif;
    background: var(--ms-white);
    color: var(--ms-text);
    line-height: 1.7;
    overflow-x: hidden;
}
img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}
button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}
::selection {
    background: var(--ms-red);
    color: var(--ms-white);
}

/* =========================================================
   CONTAINER
========================================================= */

.ms-container {
    width: min(calc(100% - 64px), var(--ms-container));
    margin-left: auto;
    margin-right: auto;
}
.ms-section {
    padding-top: 50px;
    padding-bottom: 50px;
}
.ms-section-heading {
    max-width: 900px;
    margin-bottom: 60px;
}
.ms-section-label {
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: var(--ms-red);
    font-size: 25px;
    font-weight: 800;
    margin-left: 500px;
    text-transform: uppercase;
}
.ms-section-label::before {
    content: "";
    width: 24px;
    height: 2px;
    flex-shrink: 0;
    background: var(--ms-red);
}
.ms-section-heading h2 {
    margin: 14px 0 22px;
    font-family: sans-serif;
    font-size: clamp(36px, 4.5vw, 48px);
    line-height: 1.08;
    letter-spacing: -2px;
    font-weight: 800;
    color: var(--ms-black);
}
.ms-section-heading h2 span {
    color: var(--ms-red);
}
.ms-section-heading p {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.85;
    font-family:sans-serif;
    color: var(--ms-text-soft);
}
/* =========================================================
   BUTTONS
========================================================= */

.ms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    transition: var(--ms-transition);
}
.ms-btn-red {
    background: var(--ms-red);
    color: var(--ms-white);
    border-color: var(--ms-red);
}
.ms-btn-red:hover {
    background: var(--ms-red-dark);
    border-color: var(--ms-red-dark);
    color: var(--ms-white);
    transform: translateY(-2px);
}
.ms-btn-outline {
    background: var(--ms-white);
    color: var(--ms-black);
    border-color: var(--ms-black);
}
.ms-btn-outline:hover {
    background: var(--ms-black);
    color: var(--ms-white);
}

/* =========================================================
   TEXT LINK
========================================================= */

.ms-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ms-black);
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--ms-black);
    padding-bottom: 5px;
    transition: var(--ms-transition);
}
.ms-text-link:hover {
    color: var(--ms-red);
    border-color: var(--ms-red);
}

/* =========================================================
   HEADER
========================================================= */

.ms-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--ms-header-height);
    z-index: 1000;
    background: var(--ms-black);
    border-bottom: 1px solid #222222;
    transition: background .25s ease, box-shadow .25s ease;
}
.ms-header.scrolled {
    background: var(--ms-black);
    box-shadow: 0 6px 25px rgba(0, 0, 0, .20);
}
/* =========================================================
   HEADER INNER
========================================================= */

.ms-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
}

/* =========================================================
   LOGO
========================================================= */

.ms-logo {
    width: 155px;
    display: block;
    flex-shrink: 0;
}
.ms-logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.ms-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
}
.ms-nav-link {
    position: relative;
    color: #dddddd;
    font-size: 14px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    padding: 31px 0;
    transition: var(--ms-transition);
}

.ms-nav-link:hover,
.ms-nav-link.active {
    color: var(--ms-white);
}

.ms-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 22px;
    width: 0;
    height: 2px;
    background: var(--ms-red);
    transition: var(--ms-transition);
}

.ms-nav-link:hover::after,
.ms-nav-link.active::after {
    width: 100%;
}
/* =========================================================
   HEADER CONTACT
========================================================= */

.ms-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-left: 34px;
    padding: 11px 18px;
    background: var(--ms-red);
    color: var(--ms-white);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--ms-transition);
}
.ms-header-cta:hover {
    background: var(--ms-red-dark);
    color: var(--ms-white);
}

/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.ms-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid #555555;
    background: var(--ms-black);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.ms-menu-button span {
    width: 21px;
    height: 2px;
    background: var(--ms-white);
    display: block;
    transition: .25s ease;
}


/* =========================================================
   MOBILE BUTTON ANIMATION
========================================================= */

.ms-menu-button.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.ms-menu-button.open span:nth-child(2) {
    opacity: 0;
}
.ms-menu-button.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   MOBILE MENU
========================================================= */

.ms-mobile-menu {
    position: fixed;
    top: var(--ms-header-height);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--ms-header-height));
    overflow-y: auto;
    z-index: 999;
    background: var(--ms-black);
    border-top: 1px solid #333333;
    box-shadow: 0 12px 25px rgba(0, 0, 0, .25);
    transform: translateY(-120%);
    visibility: hidden;
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
    padding: 10px 24px 20px;
}

.ms-mobile-menu.open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}

.ms-mobile-menu a {
    display: block;
    padding: 14px 4px;
    color: #dddddd;
    border-bottom: 1px solid #333333;
    font-size: 14px;
    font-weight: 600;
}

.ms-mobile-menu a:last-child {
    border-bottom: none;
}

.ms-mobile-menu a:hover {
    color: var(--ms-red);
}

/* =========================================================
   HOME HERO - LEFT CONTENT / RIGHT IMAGE
========================================================= */

.ms-home {
    position: relative;
    min-height: 780px;
    display: flex;
    align-items: center;
    background: #ffffff;
    overflow: hidden;
    padding-top: var(--ms-header-height);
}

/* =========================================================
   BACKGROUND
========================================================= */

.ms-home-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 45%,
            #f5f5f5 70%,
            #eeeeee 100%
        );
    z-index: 0;
}

/* =========================================================
   HOME CONTAINER
========================================================= */

.ms-home-container {
    position: relative;
    z-index: 3;
    width: min(calc(100% - 64px), var(--ms-container));
    margin-left: auto;
    margin-right: auto;
}
/* =========================================================
   TWO COLUMN LAYOUT
========================================================= */

.ms-home-content {
    width: 54%;
    max-width: 680px;
    text-align: left;
    position: relative;
    z-index: 4;
}

/* =========================================================
   RIGHT SIDE IMAGE
========================================================= */

.ms-home-image {
    position: absolute;
    top: var(--ms-header-height);
    right: 0;
    width: 46%;
    height: calc(100% - var(--ms-header-height));
    min-height: 680px;
    background-image: url("../images/IoT-Automation.png");
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 1;
}

/* Soft white blend between text and image */
.ms-home-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            rgba(255,255,255,.55) 8%,
            rgba(255,255,255,.10) 25%,
            rgba(255,255,255,0) 45%
        );
}

/* Light technology overlay */
.ms-home-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.20),
            rgba(215,25,32,.06),
            rgba(0,0,0,.08)
        );
}

/* =========================================================
   TAG
========================================================= */

.ms-light-tag {
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: var(--ms-text-soft);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.ms-light-tag span {
    width: 25px;
    height: 2px;
    flex-shrink: 0;
    background: var(--ms-red);
}

/* =========================================================
   HEADING
========================================================= */

.ms-home h1 {
    font-family:  sans-serif;
    font-size: clamp(48px, 5.2vw, 58px);
    line-height: 1.02;
    letter-spacing: -3px;
    font-weight: 800;
    color: var(--ms-black);
}

.ms-home h1 strong {
    display: block;
    color: var(--ms-red);
    font-weight: 800;
}

/* =========================================================
   LEAD TEXT
========================================================= */

.ms-home-lead {
    max-width: 650px;
    margin: 30px 0 0;
    color: var(--ms-text-soft);
    font-size: 18px;
    line-height: 1.85;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.ms-home-text {
    max-width: 620px;
    margin: 14px 0 0;
    color: var(--ms-text-light);
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   TAGS
========================================================= */

.ms-home-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 28px;
}

.ms-home-tags span {
    padding: 8px 13px;
    border: 1px solid var(--ms-border);
    background: rgba(255,255,255,.90);
    color: var(--ms-text-soft);
    font-size: 11px;
    font-weight: 600;
}

/* =========================================================
   BUTTONS
========================================================= */

.ms-home-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 35px;
}
/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .ms-home {
        min-height: 760px;
    }
    .ms-home-container {
        width: min(calc(100% - 48px), 900px);
    }
    .ms-home-content {
        width: 58%;
        max-width: 580px;
    }
    .ms-home-image {
        width: 48%;
        opacity: .9;
    }
    .ms-home h1 {
        font-size: clamp(42px, 5.5vw, 58px);
    }
    .ms-home-lead {
        font-size: 16px;
    }
    .ms-home-text {
        font-size: 14px;
    }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 768px) {

    .ms-home {
        min-height: auto;
        padding-top: var(--ms-header-height);
        padding-bottom: 70px;
        display: block;
    }
    .ms-home-container {
        width: calc(100% - 32px);
        padding-top: 70px;
    }
    .ms-home-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .ms-home-image {
        position: absolute;
        top: var(--ms-header-height);
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        min-height: 700px;
        opacity: .12;
        background-position: center;
    }
    .ms-home-image::before {
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.95) 0%,
                rgba(255,255,255,.88) 35%,
                rgba(255,255,255,.82) 100%
            );
    }
    .ms-home-image::after {
        background: rgba(255,255,255,.25);
    }
    .ms-light-tag {
        justify-content: center;
        font-size: 10px;
    }
    .ms-home h1 {
        font-size: clamp(40px, 8vw, 56px);
        letter-spacing: -2px;
    }
    .ms-home-lead {
        margin-left: auto;
        margin-right: auto;
        font-size: 15px;
    }
    .ms-home-text {
        margin-left: auto;
        margin-right: auto;
        font-size: 13px;
    }
    .ms-home-tags {
        justify-content: center;
    }
    .ms-home-buttons {
        justify-content: center;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {
    .ms-home {
        padding-bottom: 60px;
    }
    .ms-home-container {
        width: calc(100% - 28px);
        padding-top: 55px;
    }
    .ms-home-image {
        min-height: 700px;
        opacity: .10;
    }
    .ms-light-tag {
        font-size: 9px;
        letter-spacing: 1.2px;
        gap: 7px;
    }
    .ms-light-tag span {
        width: 18px;
    }
    .ms-home h1 {
        font-size: 41px;
        letter-spacing: -1.8px;
    }
    .ms-home-lead {
        font-size: 14px;
        line-height: 1.75;
    }
    .ms-home-text {
        font-size: 13px;
        line-height: 1.7;
    }
    .ms-home-tags {
        gap: 6px;
    }
    .ms-home-tags span {
        font-size: 10px;
        padding: 7px 10px;
    }
    .ms-home-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .ms-home-buttons .ms-btn {
        width: 100%;
    }
}
/* =========================================================
   INTRO
========================================================= */

.ms-intro-section {
    background: var(--ms-white);
    padding-bottom: 30px;
}

.ms-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 90px;
    align-items: start;
}

.ms-intro-content p {
    color: var(--ms-text-soft);
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.ms-intro-highlight {
    border-left: 3px solid var(--ms-red);
    padding: 25px 30px;
    background: var(--ms-light-gray);
}

.ms-intro-highlight > span {
    color: var(--ms-text-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.ms-intro-highlight h3 {
    font-family: sans-serif;
    font-size: 31px;
    line-height: 1.2;
    margin: 12px 0 15px;
}

.ms-intro-highlight p {
    color: var(--ms-text-soft);
    font-size: 15px;
    margin-bottom: 24px;
}


/* =========================================================
   CAPABILITIES
========================================================= */

.ms-capabilities-section {
    background: var(--ms-light-gray);
    padding-top: 30px;
    padding-bottom: 90px;
}

.ms-capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ms-capability-item {
    min-height: 225px;
    padding: 32px 28px;
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    transition: var(--ms-transition);
}

.ms-capability-item:hover {
    transform: translateY(-4px);
    border-color: var(--ms-red);
    box-shadow: 0 12px 28px rgba(0,0,0,.07);
}

.ms-capability-item i {
    color: var(--ms-red);
    font-size: 22px;
    margin-bottom: 24px;
}

.ms-capability-item h3 {
    font-family:  sans-serif;
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--ms-black);
}

.ms-capability-item p {
    color: var(--ms-text-soft);
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   ABOUT HERO
========================================================= */

.ms-about-hero {
    background: var(--ms-white);
    padding: 40px 0 00px;
}

.ms-about-hero .ms-section-heading h2 {
    color: #282828;
}

.ms-about-hero .ms-section-heading p {
    color: #444444;
}


/* =========================================================
   ABOUT STORY
========================================================= */

.ms-about-story {
    background: var(--ms-white);
}

.ms-about-story .ms-container {
    padding-bottom: 50px;
}

.ms-about-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: center;
}

.ms-about-feature + .ms-about-feature {
    margin-top: 50px;
    padding-top: 20px;
}

.ms-about-feature-image {
    height: 500px;
    overflow: hidden;
    background: var(--ms-light-gray);
}

.ms-about-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.ms-about-feature-image:hover img {
    transform: scale(1.035);
}

.ms-about-feature-content {
    max-width: 580px;
}

.ms-content-label {
    display: inline-block;
    color: var(--ms-red);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 17px;
}

.ms-about-feature-content h3 {
    font-family: sans-serif;
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.13;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

.ms-about-feature-content p {
    color: var(--ms-text-soft);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 18px;
}


/* =========================================================
   STRENGTHS
========================================================= */

.ms-strength-section {
    background: var(--ms-light-gray);
    padding-top: 60px;
}

.ms-strength-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ms-strength-card {
    padding: 35px;
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    min-height: 250px;
    transition: var(--ms-transition);
}

.ms-strength-card:hover {
    transform: translateY(-4px);
    border-color: var(--ms-red);
    box-shadow: 0 12px 28px rgba(0,0,0,.07);
}

.ms-card-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ms-red-soft);
    color: var(--ms-red);
    margin-bottom: 23px;
}

.ms-strength-card h3 {
    font-family:  sans-serif;
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--ms-black);
}

.ms-strength-card p {
    color: var(--ms-text-soft);
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   VISION / MISSION
========================================================= */

.ms-vision-mission {
    position: relative;
    padding: 15px 0;
    background: #f5f5f5;
}

.ms-vm-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.ms-vm-heading .ms-section-label {
    margin-bottom: 14px;
    margin-left: 0;
    color: var(--ms-red);
    font-size: 24px;
    font-weight: 800;
	margin-left: 500px;
    letter-spacing: 1.8px;
}

.ms-vm-heading h2 {
    margin: 0;
    color: var(--ms-black);
    font-family: sans-serif;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.8px;
}

.ms-vm-heading h2 span {
    color: var(--ms-red);
}

.ms-vm-heading p {
    max-width: 620px;
    margin-top: 18px;
    color: #444444;
    font-size: 16px;
    line-height: 1.7;
}

.ms-vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ms-vm-card {
    position: relative;
    min-height: 390px;
    padding: 42px 42px 35px;
    background: var(--ms-white);
    border: 1px solid #dddddd;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.ms-vm-card:hover {
    transform: translateY(-7px);
    border-color: var(--ms-red);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.ms-vm-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 45px;
}

.ms-vm-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ms-red-soft);
    color: #282828;
    font-size: 21px;
    border: 1px solid #f3c7ca;
}

.ms-vm-card .ms-section-label {
    display: block;
    margin-bottom: 14px;
    margin-left: 0;
    color: var(--ms-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.ms-vm-card h3 {
    max-width: 500px;
    margin: 0;
    color: #111111;
    font-family:  sans-serif;
    font-size: clamp(25px, 2.5vw, 34px);
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -.4px;
}

.ms-vm-card p {
    max-width: 500px;
    margin-top: 20px;
    color: #555555;
    font-size: 16px;
    line-height: 1.75;
}

.ms-vm-line {
    position: absolute;
    left: 42px;
    bottom: 0;
    width: 70px;
    height: 4px;
    background: var(--ms-red);
    transition: width .3s ease;
}

.ms-vm-card:hover .ms-vm-line {
    width: 140px;
}
.ms-vm-vision {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 72%, #fff7f7 100%);
}
.ms-vm-mission {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 72%, #f7f7f7 100%);
}

/* =========================================================
   SERVICES HERO
========================================================= */

.ms-services-hero {
    background: var(--ms-light-gray);
    padding-bottom: 30px;
}
.ms-service-list-section {
    padding: 60px 0;
    background: var(--ms-white);
}

.ms-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.ms-service-card {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 360px;
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    overflow: hidden;
    transition: var(--ms-transition);
}

.ms-service-card:hover {
    transform: translateY(-4px);
    border-color: var(--ms-red);
    box-shadow: 0 14px 35px rgba(0,0,0,.09);
}

.ms-service-card-image {
    min-height: 360px;
    overflow: hidden;
    background: var(--ms-light-gray);
}

.ms-service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.ms-service-card:hover .ms-service-card-image img {
    transform: scale(1.05);
}

.ms-service-card-content {
    padding: 35px 30px;
}

.ms-service-card-content > span {
    color: var(--ms-red);
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 800;
}

.ms-service-card-content h2 {
    font-family:  sans-serif;
    font-size: 25px;
    line-height: 1.18;
    margin: 12px 0 15px;
    color: var(--ms-black);
}

.ms-service-card-content p {
    color: var(--ms-text-soft);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.ms-service-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ms-service-card-content li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    color: var(--ms-text-soft);
    font-size: 14px;
}

.ms-service-card-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    background: var(--ms-red);
}


/* =========================================================
   ECOSYSTEM
========================================================= */

.ms-ecosystem {
    background: var(--ms-light-gray);
    padding-top: 50px;
    padding-bottom: 100px;
}

.ms-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.ms-ecosystem-card {
    min-height: 285px;
    padding: 32px 25px;
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    transition: var(--ms-transition);
}

.ms-ecosystem-card:hover {
    transform: translateY(-4px);
    border-color: var(--ms-red);
    box-shadow: 0 12px 28px rgba(0,0,0,.07);
}

.ms-ecosystem-card i {
    color: var(--ms-red);
    font-size: 22px;
    margin-bottom: 23px;
}
.ms-ecosystem-card h3 {
    font-family:  sans-serif;
    font-size: 19px;
    margin-bottom: 18px;
    color: var(--ms-black);
}
.ms-ecosystem-card p {
    color: var(--ms-text-soft);
    font-size: 14px;
    line-height: 2;
}
/* =========================================================
   PROJECTS
========================================================= */

.ms-projects {
    background: var(--ms-white);
}
.ms-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ms-project-card {
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    overflow: hidden;
    transition: var(--ms-transition);
}
.ms-project-card:hover {
    transform: translateY(-4px);
    border-color: var(--ms-red);
    box-shadow: 0 14px 35px rgba(0,0,0,.08);
}
.ms-project-image {
    height: 270px;
    overflow: hidden;
    background: var(--ms-light-gray);
}
.ms-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.ms-project-card:hover .ms-project-image img {
    transform: scale(1.04);
}
.ms-project-content {
    padding: 28px;
}
.ms-project-content > span {
    color: var(--ms-red);
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 800;
}
.ms-project-content h3 {
    font-family:  sans-serif;
    font-size: 21px;
    margin: 9px 0 12px;
    color: var(--ms-black);
}
.ms-project-content p {
    color: var(--ms-text-soft);
    font-size: 16px;
    margin-bottom: 17px;
}
.ms-project-content small {
    color: var(--ms-text-light);
    font-size: 11px;
}
/* =========================================================
   INDUSTRIES
========================================================= */

.ms-industries {
    background: var(--ms-light-gray);
    padding-top: 60px;
    padding-bottom: 80px;
}
.ms-industry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.ms-industry-card {
    min-height: 240px;
    padding: 30px 25px;
    background: var(--ms-white);
    border: 1px solid var(--ms-border);
    transition: var(--ms-transition);
}
.ms-industry-card:hover {
    transform: translateY(-4px);
    border-color: var(--ms-red);
    box-shadow: 0 12px 28px rgba(0,0,0,.07);
}
.ms-industry-card i {
    color: #282828;
    font-size: 22px;
    margin-bottom: 25px;
}
.ms-industry-card h3 {
    font-family:  sans-serif;
    font-size: 18px;
    margin-bottom: 14px;
    color: var(--ms-black);
}
.ms-industry-card p {
    color: var(--ms-text-soft);
    font-size: 14px;
    line-height: 1.85;
}
/* =========================================================
   CONTACT
========================================================= */

.ms-contact {
    background: var(--ms-white);
}
.ms-contact-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 80px;
}
.ms-contact-company {
    padding-bottom: 25px;
    border-bottom: 1px solid var(--ms-border);
    margin-bottom: 25px;
}
.ms-contact-company h3 {
    font-family: sans-serif;
    font-size: 29px;
    margin-bottom: 4px;
}
.ms-contact-company p {
    color: var(--ms-text-light);
    font-size: 13px;
}
.ms-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 19px 0;
    border-bottom: 1px solid var(--ms-border);
}
.ms-contact-item > i {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ms-red-soft);
    color: #60b8fe;
}
.ms-contact-item span {
    display: block;
    color: var(--ms-text-light);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}
.ms-contact-item strong {
    display: block;
    margin-top: 3px;
    color: var(--ms-black);
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.location-icon {
    width: 38px;
    height: 38px;
    padding: 8px;
    object-fit: contain;
    flex-shrink: 0;
    background: var(--ms-red-soft);
}
/* =========================================================
   CONTACT FORM
========================================================= */

.ms-contact-form-wrapper {
    padding: 45px;
    background: var(--ms-light-gray);
    border: 1px solid var(--ms-border);
}
.ms-form-heading {
    margin-bottom: 35px;
}
.ms-form-heading h3 {
    font-family: sans-serif;
    font-size: 28px;
    margin-top: 10px;
    color: var(--ms-black);
}
.ms-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.ms-form-group {
    margin-bottom: 20px;
}
.ms-form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--ms-black);
    font-size: 12px;
    font-weight: 700;
}
.ms-form-group input,
.ms-form-group textarea {
    width: 100%;
    border: 1px solid #cccccc;
    background: var(--ms-white);
    color: var(--ms-black);
    padding: 14px 15px;
    outline: none;
    border-radius: 0;
    font-size: 13px;
    transition: var(--ms-transition);
}
.ms-form-group input::placeholder,
.ms-form-group textarea::placeholder {
    color: #999999;
}
.ms-form-group input {
    height: 50px;
}
.ms-form-group textarea {
    resize: vertical;
    min-height: 140px;
}
.ms-form-group input:focus,
.ms-form-group textarea:focus {
    border-color: var(--ms-red);
    box-shadow: 0 0 0 1px var(--ms-red);
}

.ms-form-note {
    color: var(--ms-text-light);
    font-size: 11px;
    margin-bottom: 20px;
}

.ms-submit-button {
    border: none;
}


/* =========================================================
   FOOTER
========================================================= */

.ms-footer {
    position: relative;
    background: var(--ms-black);
    color: var(--ms-white);
    padding: 75px 0 25px;
    overflow: hidden;
}
.ms-footer-background {
    position: absolute;
    inset: 0;
    background-image: url("../images/footerimage.jpg");
    background-size: cover;
    background-position: center;
    opacity: .20;
}
.ms-footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.80);
}
.ms-footer-content {
    position: relative;
    z-index: 2;
}
.ms-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr .9fr 1fr;
    gap: 60px;
    padding-bottom: 35px;
    border-bottom: 1px solid #333333;
}
.ms-footer-brand img {
    width: 145px;
    margin-bottom: 22px;
}
.ms-footer-brand p {
    max-width: 390px;
    color: #aaaaaa;
    font-size: 16px;
    line-height: 1.8;
}
.ms-footer-tagline {
    color: var(--ms-white) !important;
    font-family: sans-serif;
    font-size: 16px !important;
    font-weight: 700;
    margin-bottom: 12px;
}
.ms-footer-column h3 {
    font-family: sans-serif;
    font-size: 15px;
    margin-bottom: 20px;
    color: var(--ms-white);
}
.ms-footer-column a {
    display: block;
    color: #aaaaaa;
    font-size: 16px;
    margin-bottom: 10px;
    transition: var(--ms-transition);
}
.ms-footer-column a:hover {
    color: var(--ms-red);
}

.ms-footer-column p {
    color: #aaaaaa;
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.ms-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
}
.ms-footer-bottom p {
    color: #888888;
    font-size: 11px;
}


/* =========================================================
   RESPONSIVE 1200px
========================================================= */

@media (max-width: 1200px) {
    .ms-container {
        width: min(calc(100% - 48px), 1120px);
    }
    .ms-navigation {
        gap: 25px;
    }
    .ms-header-cta {
        margin-left: 24px;
    }
    .ms-capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-strength-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-ecosystem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ms-industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ms-footer-grid {
        gap: 35px;
    }
}


/* =========================================================
   RESPONSIVE 992px
========================================================= */

@media (max-width: 992px) {
    :root {
        --ms-header-height: 82px;
    }
    .ms-navigation,
    .ms-header-cta {
        display: none !important;
    }
    .ms-menu-button {
        display: flex !important;
        margin-left: auto;
    }
    .ms-mobile-menu {
        display: block;
    }
    .ms-intro-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .ms-about-feature {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .ms-about-feature-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
    .ms-about-feature + .ms-about-feature {
        margin-top: 70px;
        padding-top: 70px;
    }
    .ms-about-feature-content {
        max-width: none;
    }
    .ms-service-grid {
        grid-template-columns: 1fr;
    }
    .ms-service-card {
        grid-template-columns: 40% 60%;
    }
    .ms-project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }
    .ms-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-vm-grid {
        gap: 18px;
    }
    .ms-vm-card {
        min-height: 360px;
        padding: 34px;
    }
    .ms-vm-top {
        margin-bottom: 35px;
    }
    .ms-vm-line {
        left: 34px;
    }
    .ms-section-label {
        margin-left: 0;
    }
}


/* =========================================================
   RESPONSIVE 768px
========================================================= */

@media (max-width: 768px) {
    :root {
        --ms-header-height: 72px;
    }
    .ms-container {
        width: calc(100% - 32px);
    }
    .ms-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    .ms-header {
        height: var(--ms-header-height);
    }
    .ms-header-inner {
        min-height: var(--ms-header-height);
    }
    .ms-logo {
        width: 135px;
    }
    .ms-menu-button {
        width: 42px;
        height: 42px;
    }
    .ms-mobile-menu {
        top: var(--ms-header-height);
        max-height: calc(100vh - var(--ms-header-height));
    }
    .ms-section-heading {
        margin-bottom: 45px;
    }
    .ms-section-label {
        margin-left: 0;
        font-size: 18px;
        letter-spacing: 1.5px;
    }
    .ms-section-heading h2 {
        font-size: clamp(32px, 7vw, 44px);
        letter-spacing: -1.5px;
    }
    .ms-section-heading p {
        font-size: 16px;
    }
    .ms-home {
        min-height: 720px;
        padding-top: var(--ms-header-height);
    }
    .ms-home-container {
        padding-top: 60px;
        padding-bottom: 50px;
    }
    .ms-home-content {
        max-width: 100%;
    }
    .ms-home h1 {
        font-size: clamp(40px, 8vw, 56px);
        letter-spacing: -2px;
    }
    .ms-home-lead {
        font-size: 15px;
    }
    .ms-home-text {
        font-size: 13px;
    }
    .ms-home-buttons {
        width: 100%;
    }
    .ms-home-tags {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .ms-intro-grid {
        gap: 35px;
    }
    .ms-about-hero {
        padding: 75px 0 35px;
    }
    .ms-about-story .ms-container {
        padding-bottom: 65px;
    }
    .ms-about-feature-image {
        height: 390px;
    }
    .ms-vm-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .ms-vm-card {
        min-height: auto;
        padding: 32px;
    }
    .ms-vm-line {
        left: 32px;
    }
    .ms-vm-card h3 {
        font-size: 28px;
    }
    .ms-ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-contact-form-wrapper {
        padding: 35px;
    }
    .ms-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   RESPONSIVE 576px
========================================================= */

@media (max-width: 576px) {
    :root {
        --ms-header-height: 68px;
    }
    .ms-container {
        width: calc(100% - 28px);
    }
    .ms-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .ms-section-heading {
        margin-bottom: 40px;
    }
    .ms-section-label {
        margin-left: 0;
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    .ms-section-heading h2 {
        font-size: 32px;
        line-height: 1.12;
        letter-spacing: -1px;
    }
    .ms-section-heading p {
        font-size: 15px;
        line-height: 1.75;
    }
    .ms-logo {
        width: 120px;
    }
    .ms-menu-button {
        width: 40px;
        height: 40px;
    }
    .ms-mobile-menu {
        padding: 8px 20px 18px;
    }
    .ms-mobile-menu a {
        padding: 13px 4px;
        font-size: 14px;
    }
    .ms-home {
        min-height: 700px;
    }
    .ms-home-container {
        padding-top: 55px;
        padding-bottom: 40px;
    }
    .ms-light-tag {
        font-size: 9px;
        letter-spacing: 1.2px;
        gap: 7px;
    }
    .ms-light-tag span {
        width: 18px;
    }
    .ms-home h1 {
        font-size: 41px;
        letter-spacing: -1.8px;
    }
    .ms-home-lead {
        font-size: 14px;
        line-height: 1.75;
    }
    .ms-home-text {
        font-size: 13px;
        line-height: 1.7;
    }
    .ms-home-tags {
        gap: 6px;
    }
    .ms-home-tags span {
        font-size: 10px;
        padding: 7px 10px;
    }
    .ms-home-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .ms-btn {
        width: 100%;
        min-height: 48px;
    }
    .ms-intro-highlight {
        padding: 22px 24px;
    }
    .ms-intro-highlight h3 {
        font-size: 27px;
    }
    .ms-capability-grid {
        grid-template-columns: 1fr;
    }
    .ms-capability-item {
        min-height: auto;
        padding: 28px 24px;
    }
    .ms-strength-grid {
        grid-template-columns: 1fr;
    }
    .ms-strength-card {
        min-height: auto;
        padding: 30px 25px;
    }
    .ms-about-hero {
        padding: 65px 0 35px;
    }
    .ms-about-story .ms-container {
        padding-top: 0;
        padding-bottom: 65px;
    }
    .ms-about-feature {
        gap: 30px;
    }
    .ms-about-feature-image {
        height: 310px;
    }
    .ms-about-feature-content h3 {
        font-size: 30px;
    }
    .ms-about-feature-content p {
        font-size: 14px;
        line-height: 1.8;
    }
    .ms-about-feature + .ms-about-feature {
        margin-top: 60px;
        padding-top: 60px;
    }
    .ms-vm-heading {
        margin-bottom: 38px;
    }
    .ms-vm-heading .ms-section-label {
        margin-left: 0;
    }
    .ms-vm-heading h2 {
        font-size: 34px;
    }
    .ms-vm-heading p {
        font-size: 14px;
    }
    .ms-vm-card {
        padding: 27px;
    }
    .ms-vm-top {
        margin-bottom: 30px;
    }
    .ms-vm-icon {
        width: 52px;
        height: 52px;
        font-size: 19px;
    }
    .ms-vm-card h3 {
        font-size: 25px;
    }
    .ms-vm-card p {
        font-size: 13px;
    }
    .ms-vm-line {
        left: 27px;
    }
    .ms-service-list-section {
        padding: 60px 0;
    }
    .ms-service-grid {
        grid-template-columns: 1fr;
    }
    .ms-service-card {
        display: block;
        min-height: auto;
    }
    .ms-service-card-image {
        height: 250px;
        min-height: 250px;
    }
    .ms-service-card-content {
        padding: 28px 24px;
    }
    .ms-service-card-content h2 {
        font-size: 23px;
    }
    .ms-service-card-content p {
        font-size: 13px;
    }
    .ms-service-card-content li {
        font-size: 13px;
    }
    .ms-ecosystem {
        padding-top: 65px;
        padding-bottom: 65px;
    }
    .ms-ecosystem-grid {
        grid-template-columns: 1fr;
    }
    .ms-ecosystem-card {
        min-height: auto;
        padding: 28px 24px;
    }
    .ms-project-grid {
        grid-template-columns: 1fr;
    }
    .ms-project-image {
        height: 240px;
    }
    .ms-project-content {
        padding: 25px;
    }
    .ms-project-content p {
        font-size: 14px;
    }
    .ms-industry-grid {
        grid-template-columns: 1fr;
    }
    .ms-industry-card {
        min-height: auto;
        padding: 28px 24px;
    }
    .ms-contact-grid {
        gap: 40px;
    }
    .ms-contact-form-wrapper {
        padding: 28px 20px;
    }
    .ms-form-heading {
        margin-bottom: 28px;
    }
    .ms-form-heading h3 {
        font-size: 24px;
    }
    .ms-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .ms-footer {
        padding: 60px 0 20px;
    }
    .ms-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .ms-footer-brand img {
        width: 130px;
    }
    .ms-footer-brand p,
    .ms-footer-column p,
    .ms-footer-column a {
        font-size: 14px;
    }
    .ms-footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}
/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 380px) {
    .ms-container {
        width: calc(100% - 22px);
    }
    .ms-logo {
        width: 108px;
    }
    .ms-menu-button {
        width: 38px;
        height: 38px;
    }
    .ms-home h1 {
        font-size: 35px;
    }
    .ms-home-lead {
        font-size: 13px;
    }
    .ms-home-text {
        font-size: 12px;
    }
    .ms-section-heading h2 {
        font-size: 29px;
    }
    .ms-about-feature-image {
        height: 270px;
    }
    .ms-vm-card {
        padding: 23px;
    }
    .ms-vm-card h3 {
        font-size: 23px;
    }
}
/* =========================================================
   SLOW SCROLL REVEAL ANIMATION
========================================================= */

.ms-reveal {
    opacity: 0;
    transform: translateY(45px);
    filter: blur(2px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 1.2s ease;
    will-change: opacity, transform, filter;
}
.ms-reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}
/* =========================================================
   MOBILE REVEAL SAFETY
========================================================= */

@media (max-width: 768px) {
    .ms-reveal {
        transform: translateY(30px);
        transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 1.2s ease;
    }
}
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.ms-container,
.ms-home-container {
    max-width: 100%;
}
img,
video,
iframe {
    max-width: 100%;
}

/* Better tablet behavior */
@media (max-width: 1100px) {
    .ms-container {
        width: calc(100% - 48px);
    }
    .ms-navigation {
        gap: 20px;
    }
    .ms-header-cta {
        margin-left: 18px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .ms-home-content {
        width: 55%;
        max-width: 600px;
    }
    .ms-home-image {
        width: 45%;
    }
    .ms-section-label {
        margin-left: 0;
    }
}
/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */
@media (max-width: 991px) {
    :root {
        --ms-header-height: 78px;
    }
    .ms-navigation,
    .ms-header-cta {
        display: none !important;
    }
    .ms-menu-button {
        display: flex !important;
        margin-left: auto;
    }
    .ms-mobile-menu {
        display: block;
    }
    /* Hero becomes a single readable column */
    .ms-home {
        min-height: auto;
        display: block;
        padding-top: var(--ms-header-height);
        padding-bottom: 70px;
    }
    .ms-home-container {
        width: calc(100% - 48px);
        padding-top: 75px;
        padding-bottom: 30px;
    }
    .ms-home-content {
        width: 100%;
        max-width: 760px;
        text-align: left;
    }
    .ms-home-image {
        top: var(--ms-header-height);
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100% - var(--ms-header-height));
        min-height: 620px;
        opacity: .14;
        background-position: center;
    }
    .ms-home-image::before {
        background:
            linear-gradient(
                90deg,
                rgba(255,255,255,.97) 0%,
                rgba(255,255,255,.88) 45%,
                rgba(255,255,255,.70) 100%
            );
    }
    .ms-home-image::after {
        background: rgba(255,255,255,.18);
    }
    .ms-light-tag {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .ms-home h1 {
        max-width: 720px;
    }
    .ms-intro-grid,
    .ms-about-feature,
    .ms-contact-grid {
        gap: 45px;
    }
    .ms-capability-grid,
    .ms-strength-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-service-grid {
        grid-template-columns: 1fr;
    }
    .ms-service-card {
        grid-template-columns: 40% 60%;
    }
    .ms-ecosystem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ms-project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ms-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767px) {
    :root {
        --ms-header-height: 70px;
    }
    .ms-container,
    .ms-home-container {
        width: calc(100% - 30px);
    }
    .ms-section {
        padding-top: 62px;
        padding-bottom: 62px;
    }
    .ms-header {
        height: var(--ms-header-height);
    }
    .ms-header-inner {
        min-height: var(--ms-header-height);
    }
    .ms-logo {
        width: 128px;
    }
    .ms-menu-button {
        width: 42px;
        height: 42px;
    }
    .ms-mobile-menu {
        top: var(--ms-header-height);
        max-height: calc(100vh - var(--ms-header-height));
        padding: 8px 18px 18px;
    }
    .ms-mobile-menu a {
        padding: 14px 4px;
    }
    .ms-section-heading {
        width: 100%;
        margin-bottom: 38px;
    }
    .ms-section-label {
        margin-left: 0;
        max-width: 100%;
        font-size: 16px;
        letter-spacing: 1.5px;
        line-height: 1.4;
        flex-wrap: wrap;
    }
    .ms-section-label::before {
        display: block;
    }
    .ms-section-heading h2 {
        font-size: clamp(30px, 7.5vw, 42px);
        line-height: 1.12;
        letter-spacing: -1.3px;
        overflow-wrap: anywhere;
    }
    .ms-section-heading p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.75;
    }
    /* HOME */
    .ms-home {
        min-height: auto;
        padding-top: var(--ms-header-height);
        padding-bottom: 62px;
    }
    .ms-home-container {
        padding-top: 58px;
        padding-bottom: 30px;
    }
    .ms-home-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .ms-home-image {
        top: var(--ms-header-height);
        height: 100%;
        min-height: 700px;
        opacity: .10;
        background-position: center;
    }
    .ms-home-image::before {
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.97) 0%,
                rgba(255,255,255,.90) 38%,
                rgba(255,255,255,.84) 100%
            );
    }
    .ms-home-image::after {
        background: rgba(255,255,255,.20);
    }
    .ms-light-tag {
        display: flex;
        justify-content: center;
        gap: 7px;
        font-size: 9px;
        letter-spacing: 1.2px;
    }
    .ms-light-tag span {
        width: 18px;
    }
    .ms-home h1 {
        width: 100%;
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(36px, 9vw, 52px);
        line-height: 1.05;
        letter-spacing: -2px;
        overflow-wrap: normal;
    }
    .ms-home-lead {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
        font-size: 15px;
        line-height: 1.75;
    }
    .ms-home-text {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
        font-size: 13px;
        line-height: 1.7;
    }
    .ms-home-tags {
        justify-content: center;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .ms-home-buttons {
        width: 100%;
        justify-content: center;
    }
    .ms-home-buttons .ms-btn {
        min-width: 170px;
    }
    .ms-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .ms-intro-content p {
        font-size: 15px;
        line-height: 1.8;
    }
    .ms-intro-highlight {
        padding: 24px;
    }
    .ms-intro-highlight h3 {
        font-size: 27px;
    }
    /* CAPABILITIES */
    .ms-capability-grid,
    .ms-strength-grid {
        grid-template-columns: 1fr;
    }
    .ms-capability-item,
    .ms-strength-card {
        min-height: auto;
    }
    /* ABOUT */
    .ms-about-hero {
        padding: 65px 0 30px;
    }
    .ms-about-feature {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .ms-about-feature-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
    .ms-about-feature-image {
        width: 100%;
        height: clamp(260px, 58vw, 380px);
    }
    .ms-about-feature-content {
        width: 100%;
        max-width: none;
    }
    .ms-about-feature-content h3 {
        font-size: clamp(28px, 7vw, 38px);
        line-height: 1.15;
    }
    .ms-about-feature-content p {
        font-size: 14px;
        line-height: 1.8;
    }
    .ms-about-feature + .ms-about-feature {
        margin-top: -20px;
        padding-top: 55px;
    }
    .ms-vm-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ms-vm-card {
        min-height: auto;
        padding: 28px 24px 32px;
    }
    .ms-vm-top {
        margin-bottom: 28px;
    }
    .ms-vm-card h3 {
        font-size: clamp(24px, 6vw, 30px);
    }
    .ms-vm-card p {
        font-size: 14px;
    }
    .ms-vm-line {
        left: 24px;
    }
    .ms-service-list-section {
        padding: 62px 0;
    }
    .ms-service-card {
        display: block;
        min-height: auto;
    }
    .ms-service-card-image {
        width: 100%;
        height: clamp(220px, 55vw, 300px);
        min-height: 0;
    }
    .ms-service-card-content {
        padding: 28px 24px;
    }
    .ms-service-card-content h2 {
        font-size: 23px;
    }
    .ms-service-card-content p,
    .ms-service-card-content li {
        font-size: 13px;
        line-height: 1.75;
    }
    .ms-ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-ecosystem-card {
        min-height: auto;
    }
    .ms-project-grid {
        grid-template-columns: 1fr;
    }
    .ms-project-image {
        height: clamp(220px, 58vw, 300px);
    }
    .ms-project-content {
        padding: 24px;
    }
    .ms-project-content p {
        font-size: 14px;
        line-height: 1.75;
    }
    .ms-industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ms-industry-card {
        min-height: auto;
        padding: 25px 20px;
    }
    .ms-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ms-contact-item {
        gap: 12px;
    }
    .ms-contact-item strong {
        font-size: 13px;
    }
    .ms-contact-form-wrapper {
        padding: 28px 20px;
    }
    .ms-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .ms-form-heading h3 {
        font-size: 24px;
        line-height: 1.3;
    }
    .ms-submit-button {
        width: 100%;
    }
    .ms-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ms-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */
@media (max-width: 575px) {

    .ms-container,
    .ms-home-container {
        width: calc(100% - 26px);
    }

    .ms-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .ms-logo {
        width: 116px;
    }

    .ms-menu-button {
        width: 40px;
        height: 40px;
    }

    .ms-section-heading {
        margin-bottom: 32px;
    }

    .ms-section-heading h2 {
        font-size: 30px;
        letter-spacing: -1px;
    }

    .ms-section-heading p {
        font-size: 14px;
    }

    .ms-home-container {
        padding-top: 50px;
    }

    .ms-home h1 {
        font-size: 38px;
        letter-spacing: -1.6px;
    }

    .ms-home-lead {
        font-size: 14px;
    }

    .ms-home-text {
        font-size: 12.5px;
    }

    .ms-home-tags {
        gap: 6px;
    }

    .ms-home-tags span {
        font-size: 10px;
        padding: 7px 9px;
    }

    .ms-home-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .ms-home-buttons .ms-btn {
        width: 100%;
        min-width: 0;
    }

    .ms-intro-highlight {
        padding: 21px;
    }

    .ms-intro-highlight h3 {
        font-size: 25px;
    }

    .ms-capability-item,
    .ms-strength-card {
        padding: 27px 22px;
    }

    .ms-about-feature-image {
        height: 285px;
    }

    .ms-about-feature-content h3 {
        font-size: 29px;
    }

    .ms-vm-card {
        padding: 25px 21px 30px;
    }

    .ms-vm-card h3 {
        font-size: 24px;
    }

    .ms-vm-line {
        left: 21px;
    }

    .ms-service-card-content {
        padding: 25px 21px;
    }

    .ms-service-card-content h2 {
        font-size: 22px;
    }

    .ms-ecosystem-grid,
    .ms-industry-grid {
        grid-template-columns: 1fr;
    }

    .ms-project-content {
        padding: 22px;
    }

    .ms-contact-form-wrapper {
        padding: 25px 18px;
    }

    .ms-footer {
        padding-top: 55px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */
@media (max-width: 380px) {

    .ms-container,
    .ms-home-container {
        width: calc(100% - 20px);
    }

    .ms-logo {
        width: 105px;
    }

    .ms-menu-button {
        width: 38px;
        height: 38px;
    }

    .ms-home h1 {
        font-size: 34px;
        letter-spacing: -1.3px;
    }

    .ms-home-lead {
        font-size: 13px;
    }

    .ms-home-text {
        font-size: 12px;
    }

    .ms-section-heading h2 {
        font-size: 28px;
    }

    .ms-about-feature-image {
        height: 250px;
    }

    .ms-contact-form-wrapper {
        padding: 22px 16px;
    }

    .ms-mobile-menu {
        padding-left: 14px;
        padding-right: 14px;
    }
}


/* =========================================================
   ACCESSIBILITY / MOBILE SAFETY
========================================================= */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .ms-reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }
}
@media (max-width: 991px) {

    .ms-home-image {
        width: 100%;
        right: 0;
        left: 0;
        top: var(--ms-header-height);
        height: calc(100% - var(--ms-header-height));
        min-height: 620px;
        opacity: 1 !important;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        z-index: 1;
    }

    .ms-home-image::before {
        background:
            linear-gradient(
                90deg,
                rgba(255,255,255,.94) 0%,
                rgba(255,255,255,.76) 42%,
                rgba(255,255,255,.28) 72%,
                rgba(255,255,255,.05) 100%
            ) !important;
    }

    .ms-home-image::after {
        background: rgba(255,255,255,.04) !important;
    }

    .ms-home-overlay {
        background: rgba(255,255,255,.18) !important;
    }
}

@media (max-width: 767px) {

    .ms-home-image {
        top: var(--ms-header-height);
        width: 100%;
        height: calc(100% - var(--ms-header-height));
        min-height: 680px;
        opacity: 1 !important;
        background-size: cover;
        background-position: center center;
    }

    .ms-home-image::before {
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.88) 0%,
                rgba(255,255,255,.72) 35%,
                rgba(255,255,255,.42) 68%,
                rgba(255,255,255,.16) 100%
            ) !important;
    }

    .ms-home-image::after {
        background: rgba(255,255,255,.03) !important;
    }

    .ms-home-overlay {
        background: rgba(255,255,255,.10) !important;
    }
}

@media (max-width: 575px) {

    .ms-home-image {
        min-height: 650px;
        background-position: center center;
    }

    .ms-home-image::before {
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.90) 0%,
                rgba(255,255,255,.72) 38%,
                rgba(255,255,255,.35) 72%,
                rgba(255,255,255,.10) 100%
            ) !important;
    }
}
.ms-home {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
}

.ms-home-story {
    width: 100%;
    background: #ffffff;
}
/* =========================================================
   HOME FEATURE ROW
========================================================= */

.ms-home-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 29px 0;
}
/* Second row keeps same two-column structure */

.ms-home-feature-reverse {
    grid-template-columns: 1fr 1fr;
}
/* =========================================================
   HOME IMAGE
========================================================= */

.ms-home-feature-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: visible;
}
.ms-home-feature-image::after {
    content: "";
    position: absolute;
    width: 75%;
    height: 75%;
    left: -20px;
    bottom: -20px;
    z-index: 0;
}
.ms-home-feature-reverse
.ms-home-feature-image::after {
    left: auto;
    right: -20px;
}
.ms-home-feature-image img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    z-index: 1;
    box-shadow:0 25px 60px rgba(0, 0, 0, 0.16);
}


/* =========================================================
   HOME CONTENT
========================================================= */

.ms-home-feature-content {
    width: 100%;
    max-width: 600px;
}
/* =========================================================
   HOME TOP LABEL
   NO RED LINES
========================================================= */

.ms-home-feature-content .ms-light-tag {
    display: block;
    margin-bottom: 22px;
    color: #d2232a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
padding-bottom: 100px;
    line-height: 1.5;
margin-left:-224px;
    text-transform: uppercase;
}
/*
   Important:
   Hide the old span elements so there are
   NO red lines beside the label.
*/

.ms-home-feature-content .ms-light-tag span {
    display: none !important;
}


/* =========================================================
   HOME MAIN HEADING
========================================================= */

.ms-home-feature-content h1 {
    margin: 0 0 25px;
    font-family:sans-serif;
    font-size: clamp(38px, 4vw, 53px);
    line-height: 1.08;
    font-weight: 700;
    color: #101817;
}
.ms-home-feature-content h1 strong {
    display: block;
    color: #d2232a;
    font-weight: 700;
}
/* =========================================================
   HOME LEAD TEXT
========================================================= */

.ms-home-feature-content .ms-home-lead {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
}
/* =========================================================
   HOME SECONDARY TEXT
========================================================= */

.ms-home-feature-content .ms-home-text {
    margin: 0 0 25px;
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
}
/* =========================================================
   HOME TAGS
========================================================= */

.ms-home-feature-content .ms-home-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 25px 0 30px;
}
.ms-home-feature-content .ms-home-tags span {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border: 1px solid rgba(210, 35, 42, 0.22);
    background: rgba(210, 35, 42, 0.05);
    color: #a91d23;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.3px;
}
/* =========================================================
   HOME BUTTONS
========================================================= */

.ms-home-feature-content .ms-home-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}
/* =========================================================
   SECOND HOME SECTION HEADING
========================================================= */

.ms-home-feature-content .ms-section-heading {
    margin-bottom: 30px;
}
/* Label */

.ms-home-feature-content .ms-section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: #d2232a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
}
/* Heading */
.ms-home-feature-content .ms-section-heading h2 {
    margin: 0 0 18px;
    font-family:sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 700;
    color: #101817;
}
/* Red second line */

.ms-home-feature-content .ms-section-heading h2 span {
    display: block;
    color: #d2232a;
}
/* Heading paragraph */

.ms-home-feature-content .ms-section-heading p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
}
/* =========================================================
   SECOND SECTION CONTENT
========================================================= */
.ms-home-intro-content {
    margin-bottom: 30px;
}
.ms-home-intro-content p {
    margin: 0 0 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
}
/* =========================================================
   BUILD SMARTER HIGHLIGHT
========================================================= */

.ms-home-feature-content .ms-intro-highlight {
    padding: 25px 28px;
    border-left: 3px solid #d2232a;
    background: #f7f7f7;
}
.ms-home-feature-content .ms-intro-highlight > span {
    display: block;
    margin-bottom: 8px;
    color: #d2232a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 1.5;
}
.ms-home-feature-content .ms-intro-highlight h3 {
    margin: 0 0 8px;
    color: #101817;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}
.ms-home-feature-content .ms-intro-highlight p {
    margin: 0 0 15px;
    color: #68736f;
    font-size: 14px;
    line-height: 1.7;
}
/* =========================================================
   DISCOVER LINK
========================================================= */

.ms-home-feature-content .ms-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #d2232a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}
.ms-home-feature-content .ms-text-link:hover {
    color: #a91d23;
    transform: translateX(3px);
}
.ms-home-feature-content .ms-text-link i {
    font-size: 12px;
}
/* =========================================================
   BUTTON COLOR OVERRIDE
========================================================= */
.ms-home-feature-content .ms-btn-red {
    background: #d2232a;
    border: 1px solid #d2232a;
    color: #ffffff;
}
.ms-home-feature-content .ms-btn-red:hover {
    background: #a91d23;
    border-color: #a91d23;
    color: #ffffff;
}
/* Outline button */

.ms-home-feature-content .ms-btn-outline {
    border: 1px solid rgba(16, 24, 23, 0.30);
    color: #101817;
    background: transparent;
}
.ms-home-feature-content .ms-btn-outline:hover {
    background: #101817;
    border-color: #101817;
    color: #ffffff;
}
/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {
    .ms-home-feature {
        gap: 60px;
    }
    .ms-home-feature-image {
        height: 460px;
    }
}
/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 991px) {
    .ms-home-feature {
        gap: 45px;
        padding: 80px 0;
    }
    .ms-home-feature-image {
        height: 420px;
    }
    .ms-home-feature-content h1 {
        font-size: 40px;
    }
    .ms-home-feature-content .ms-section-heading h2 {
        font-size: 38px;
    }
    .ms-home-feature-content .ms-home-lead {
        font-size: 16px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    .ms-home-feature,
    .ms-home-feature-reverse {
        display: flex;
        flex-direction: column;
        gap: 35px;
        padding: 60px 0;
    }
    .ms-home-feature-image,
    .ms-home-feature-reverse
    .ms-home-feature-image {
        order: 1;
        width: 100%;
        height: 330px;
        margin: 0;
    }
    .ms-home-feature-content,
    .ms-home-feature-reverse
    .ms-home-feature-content {
        order: 2;
        width: 100%;
        max-width: none;
        margin: 0;
    }
    /* =====================================================
       MOBILE IMAGE FRAME
    ===================================================== */

    .ms-home-feature-image::after,
    .ms-home-feature-reverse
    .ms-home-feature-image::after {
        left: -10px;
        right: auto;
        bottom: -10px;
        width: 70%;
        height: 70%;
        border-color: rgba(210, 35, 42, 0.28);
    }
    /* =====================================================
       MOBILE IMAGE
    ===================================================== */

    .ms-home-feature-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    /* =====================================================
       MOBILE FIRST HEADING
    ===================================================== */

    .ms-home-feature-content h1 {
        font-size: 34px;
        line-height: 1.12;
        margin-bottom: 20px;
    }
    /* =====================================================
       MOBILE SECOND HEADING
    ===================================================== */

    .ms-home-feature-content .ms-section-heading h2 {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 18px;
    }
    /* =====================================================
       MOBILE TEXT
    ===================================================== */

    .ms-home-feature-content .ms-home-lead {
        font-size: 15px;
        line-height: 1.75;
    }
    .ms-home-feature-content .ms-home-text {
        font-size: 14px;
        line-height: 1.75;
    }
    .ms-home-feature-content .ms-section-heading p {
        font-size: 15px;
        line-height: 1.75;
    }
    /* =====================================================
       MOBILE TAG
       NO RED LINES
    ===================================================== */
    .ms-home-feature-content .ms-light-tag {
        display: block;
        margin-bottom: 18px;
        font-size: 10px;
        letter-spacing: 1.3px;
        color: #d2232a;
    }
    .ms-home-feature-content .ms-light-tag span {
        display: none !important;
    }
    /* =====================================================
       MOBILE TAGS
    ===================================================== */

    .ms-home-feature-content .ms-home-tags {
        gap: 7px;
        margin: 22px 0 25px;
    }
    .ms-home-feature-content .ms-home-tags span {
        padding: 7px 10px;
        font-size: 10px;
    }
    /* =====================================================
       MOBILE BUTTONS
    ===================================================== */

    .ms-home-feature-content .ms-home-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
        margin-top: 25px;
    }
    .ms-home-feature-content
    .ms-home-buttons .ms-btn {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    /* =====================================================
       MOBILE HIGHLIGHT
    ===================================================== */

    .ms-home-feature-content .ms-intro-highlight {
        padding: 20px;
        border-left-width: 3px;
    }
    .ms-home-feature-content
    .ms-intro-highlight h3 {
        font-size: 20px;
    }
    .ms-home-feature-content
    .ms-intro-highlight p {
        font-size: 13px;
        line-height: 1.7;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {
    .ms-home-feature,
    .ms-home-feature-reverse {
        padding: 50px 0;
        gap: 30px;
    }
    .ms-home-feature-image,
    .ms-home-feature-reverse
    .ms-home-feature-image {

        height: 280px;
    }
    .ms-home-feature-content h1 {
        font-size: 29px;
        line-height: 1.15;
    }
    .ms-home-feature-content
    .ms-section-heading h2 {
        font-size: 28px;
        line-height: 1.18;
    }
    .ms-home-feature-content .ms-light-tag {
        font-size: 9px;
        letter-spacing: 1px;
        margin-bottom: -100px;
    }
    .ms-home-feature-content .ms-section-label {
        font-size: 10px;
        letter-spacing: 1.5px;
    }
    .ms-home-feature-content .ms-home-lead {
        font-size: 14px;
        line-height: 1.75;
    }
    .ms-home-feature-content .ms-home-text {
        font-size: 13px;
        line-height: 1.75;
    }
    .ms-home-feature-content .ms-home-tags {
        gap: 6px;
        margin-top: 20px;
    }
    .ms-home-feature-content .ms-home-tags span {
        padding: 6px 9px;
        font-size: 9px;
    }
    .ms-home-feature-content .ms-intro-highlight {
        padding: 18px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {
    .ms-home-feature,
    .ms-home-feature-reverse {
        padding: 45px 0;
        gap: 28px;
    }
    .ms-home-feature-image,
    .ms-home-feature-reverse
    .ms-home-feature-image {
        height: 240px;
    }
    .ms-home-feature-content h1 {
        font-size: 26px;
    }
    .ms-home-feature-content
    .ms-section-heading h2 {
        font-size: 25px;
    }
    .ms-home-feature-content .ms-home-lead {
        font-size: 13px;
    }
    .ms-home-feature-content .ms-home-text {
        font-size: 12px;
    }
    .ms-home-feature-content .ms-home-tags span {
        font-size: 9px;
        padding: 6px 8px;
    }
    .ms-home-feature-content
    .ms-intro-highlight h3 {
        font-size: 18px;
    }
}
.ms-section-heading h2 {
    white-space: nowrap;
}
.ms-section-heading h2 span {
    display: inline;
}
.ms-section-heading h2 {
    white-space: nowrap;
}

.ms-section-heading h2 span {
    display: inline;
}

@media (max-width: 767px) {
    .ms-section-heading h2 {
        white-space: normal;
    }
}

















/* =========================================================
   MIND SURGE HEADER
   FULLY RESPONSIVE
   Desktop / Laptop / Tablet / iPad / Mobile
========================================================= */


/* =========================================================
   HEADER VARIABLES
========================================================= */

:root {
    --ms-header-height: 100px;
    --ms-header-height-tablet: 78px;
    --ms-header-height-mobile: 70px;

    --ms-header-black: #000000;
    --ms-header-border: #222222;
    --ms-header-menu-border: #333333;

    --ms-header-text: #dddddd;
    --ms-header-white: #ffffff;

    --ms-header-transition: .25s ease;
}


/* =========================================================
   HEADER
========================================================= */

.ms-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: var(--ms-header-height);

    z-index: 1000;

    background: var(--ms-header-black);
    border-bottom: 1px solid var(--ms-header-border);

    transition:
        background .25s ease,
        box-shadow .25s ease,
        height .25s ease;
}

.ms-header.scrolled {
    background: var(--ms-header-black);
    box-shadow: 0 6px 25px rgba(0, 0, 0, .20);
}


/* =========================================================
   HEADER INNER
========================================================= */

.ms-header-inner {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;

    gap: clamp(15px, 2vw, 35px);
}


/* =========================================================
   LOGO
========================================================= */

.ms-logo {
    width: 155px;
    max-width: 18vw;

    display: block;

    flex: 0 0 auto;
}

.ms-logo img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.ms-navigation {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: clamp(18px, 2.2vw, 34px);

    min-width: 0;
}

.ms-nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    color: var(--ms-header-text);

    font-family: "Inter", sans-serif;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 700;

    white-space: nowrap;

    padding: 31px 0;

    transition:
        color var(--ms-header-transition);
}

.ms-nav-link:hover,
.ms-nav-link.active {
    color: var(--ms-header-white);
}


/* =========================================================
   ACTIVE / HOVER RED LINE
========================================================= */

.ms-nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 22px;

    width: 0;
    height: 2px;

    background: var(--ms-red);

    transition:
        width var(--ms-header-transition);
}

.ms-nav-link:hover::after,
.ms-nav-link.active::after {
    width: 100%;
}


/* =========================================================
   HEADER CONTACT BUTTON
========================================================= */

.ms-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    gap: 9px;

    margin-left: clamp(15px, 2vw, 34px);

    padding: 11px clamp(14px, 1.5vw, 18px);

    background: var(--ms-red);
    color: var(--ms-header-white);

    font-size: clamp(11px, .85vw, 12px);
    font-weight: 700;

    white-space: nowrap;

    transition:
        background var(--ms-header-transition),
        color var(--ms-header-transition),
        transform var(--ms-header-transition);
}

.ms-header-cta:hover {
    background: var(--ms-red-dark);
    color: var(--ms-header-white);

    transform: translateY(-1px);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.ms-menu-button {
    display: none;

    width: 44px;
    height: 44px;

    margin-left: auto;

    padding: 0;

    border: 1px solid #555555;

    background: var(--ms-header-black);

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    flex: 0 0 auto;

    cursor: pointer;
}

.ms-menu-button span {
    display: block;

    width: 21px;
    height: 2px;

    background: var(--ms-header-white);

    transition:
        transform .25s ease,
        opacity .25s ease;
}


/* =========================================================
   MOBILE BUTTON - OPEN
========================================================= */

.ms-menu-button.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.ms-menu-button.open span:nth-child(2) {
    opacity: 0;
}

.ms-menu-button.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.ms-mobile-menu {
    position: fixed;

    top: var(--ms-header-height);
    left: 0;

    width: 100%;

    max-height:
        calc(100vh - var(--ms-header-height));

    overflow-x: hidden;
    overflow-y: auto;

    z-index: 999;

    background: var(--ms-header-black);

    border-top: 1px solid var(--ms-header-menu-border);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, .25);

    padding:
        10px
        clamp(18px, 4vw, 30px)
        20px;

    transform: translateY(-120%);

    visibility: hidden;
    opacity: 0;

    transition:
        transform .3s ease,
        opacity .3s ease,
        visibility .3s ease;
}

.ms-mobile-menu.open {
    transform: translateY(0);

    visibility: visible;
    opacity: 1;
}

.ms-mobile-menu a {
    display: block;

    width: 100%;

    padding: 14px 4px;

    color: var(--ms-header-text);

    border-bottom: 1px solid var(--ms-header-menu-border);

    font-size: 14px;
    font-weight: 600;

    transition:
        color .25s ease,
        padding-left .25s ease;
}

.ms-mobile-menu a:last-child {
    border-bottom: none;
}

.ms-mobile-menu a:hover {
    color: var(--ms-red);
    padding-left: 8px;
}


/* =========================================================
   LARGE DESKTOP
   1440px+
   
   Original desktop appearance is maintained.
========================================================= */

@media (min-width: 1440px) {

    .ms-header-inner {
        gap: 00px;
    }

    .ms-navigation {
        gap: 34px;
    }

    .ms-header-cta {
        margin-left: 34px;
    }
}


/* =========================================================
   STANDARD DESKTOP
   1200px - 1439px
========================================================= */

@media (max-width: 1439px) and (min-width: 1200px) {

    .ms-header-inner {
        gap: 20px;
    }

    .ms-navigation {
        gap: 25px;
    }

    .ms-header-cta {
        margin-left: 20px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .ms-nav-link {
        font-size: 13px;
    }
}


/* =========================================================
   LAPTOP
   1024px - 1199px
========================================================= */

@media (max-width: 1199px) and (min-width: 1024px) {

    :root {
        --ms-header-height: 88px;
    }

    .ms-logo {
        width: 140px;
        max-width: 17vw;
    }

    .ms-navigation {
        gap: 20px;
    }

    .ms-nav-link {
        font-size: 12px;
        padding: 27px 0;
    }

    .ms-nav-link::after {
        bottom: 18px;
    }

    .ms-header-cta {
        margin-left: 15px;
        padding: 10px 14px;

        font-size: 11px;
    }
}


/* =========================================================
   SMALL LAPTOP / LARGE TABLET
   992px - 1023px

   Keep desktop navigation only while there is enough room.
========================================================= */

@media (max-width: 1023px) and (min-width: 992px) {

    :root {
        --ms-header-height: 82px;
    }

    .ms-logo {
        width: 135px;
    }

    .ms-navigation {
        gap: 17px;
    }

    .ms-nav-link {
        font-size: 12px;
        padding: 25px 0;
    }

    .ms-nav-link::after {
        bottom: 17px;
    }

    .ms-header-cta {
        margin-left: 12px;
        padding: 9px 13px;

        font-size: 10px;
    }
}


/* =========================================================
   TABLET / iPAD
   991px and below

   Desktop navigation becomes hamburger.
========================================================= */

@media (max-width: 991px) {

    :root {
        --ms-header-height: var(--ms-header-height-tablet);
    }

    .ms-header {
        height: var(--ms-header-height);
    }

    .ms-header-inner {
        min-height: var(--ms-header-height);
    }

    .ms-logo {
        width: clamp(120px, 18vw, 145px);
        max-width: none;
    }

    /* Hide desktop navigation */

    .ms-navigation,
    .ms-header-cta {
        display: none;
    }

    /* Show hamburger */

    .ms-menu-button {
        display: flex;
    }

    /* Mobile menu position */

    .ms-mobile-menu {
        top: var(--ms-header-height);

        max-height:
            calc(100vh - var(--ms-header-height));
    }
}


/* =========================================================
   iPAD / TABLET PORTRAIT
   768px - 991px
========================================================= */

@media (max-width: 991px) and (min-width: 768px) {

    .ms-header-inner {
        gap: 20px;
    }

    .ms-logo {
        width: 140px;
    }

    .ms-menu-button {
        width: 44px;
        height: 44px;
    }

    .ms-mobile-menu {
        padding-left: 30px;
        padding-right: 30px;
    }

    .ms-mobile-menu a {
        padding-top: 16px;
        padding-bottom: 16px;

        font-size: 15px;
    }
}


/* =========================================================
   MOBILE
   767px and below
========================================================= */

@media (max-width: 767px) {

    :root {
        --ms-header-height: var(--ms-header-height-mobile);
    }

    .ms-header {
        height: var(--ms-header-height);
    }

    .ms-header-inner {
        min-height: var(--ms-header-height);

        gap: 12px;
    }

    .ms-logo {
        width: clamp(108px, 30vw, 130px);
    }

    .ms-menu-button {
        width: 42px;
        height: 42px;
    }

    .ms-mobile-menu {
        top: var(--ms-header-height);

        max-height:
            calc(100vh - var(--ms-header-height));

        padding:
            8px
            clamp(15px, 5vw, 24px)
            18px;
    }

    .ms-mobile-menu a {
        padding: 14px 4px;

        font-size: 14px;
    }
}


/* =========================================================
   SMALL MOBILE
   575px and below
========================================================= */

@media (max-width: 575px) {

    .ms-header-inner {
        gap: 10px;
    }

    .ms-logo {
        width: 116px;
    }

    .ms-menu-button {
        width: 40px;
        height: 40px;
    }

    .ms-menu-button span {
        width: 20px;
    }

    .ms-mobile-menu {
        padding-left: 18px;
        padding-right: 18px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   380px and below
========================================================= */

@media (max-width: 380px) {

    :root {
        --ms-header-height: 68px;
    }

    .ms-header {
        height: var(--ms-header-height);
    }

    .ms-header-inner {
        min-height: var(--ms-header-height);
    }

    .ms-logo {
        width: 105px;
    }

    .ms-menu-button {
        width: 38px;
        height: 38px;
    }

    .ms-mobile-menu {
        top: var(--ms-header-height);

        max-height:
            calc(100vh - var(--ms-header-height));

        padding-left: 15px;
        padding-right: 15px;
    }

    .ms-mobile-menu a {
        padding: 13px 4px;

        font-size: 13px;
    }
}


/* =========================================================
   MOBILE LANDSCAPE
   Short screen height

   Prevents the menu from becoming larger than the screen.
========================================================= */

@media (max-width: 991px)
       and (orientation: landscape)
       and (max-height: 600px) {

    .ms-mobile-menu {
        max-height:
            calc(100vh - var(--ms-header-height));

        overflow-y: auto;
    }

    .ms-mobile-menu a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}


/* =========================================================
   VERY SHORT MOBILE LANDSCAPE
========================================================= */

@media (max-width: 767px)
       and (orientation: landscape)
       and (max-height: 450px) {

    :root {
        --ms-header-height: 62px;
    }

    .ms-header {
        height: var(--ms-header-height);
    }

    .ms-header-inner {
        min-height: var(--ms-header-height);
    }

    .ms-mobile-menu {
        top: var(--ms-header-height);

        max-height:
            calc(100vh - var(--ms-header-height));
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.ms-menu-button:focus-visible,
.ms-nav-link:focus-visible,
.ms-header-cta:focus-visible,
.ms-mobile-menu a:focus-visible {
    outline: 2px solid var(--ms-red);
    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ms-header,
    .ms-nav-link,
    .ms-nav-link::after,
    .ms-header-cta,
    .ms-menu-button span,
    .ms-mobile-menu,
    .ms-mobile-menu a {
        transition: none !important;
    }
}
/* =========================================================
   MIND SURGE HEADER
   RESPONSIVE HEADER
   Desktop / Laptop / Tablet / Mobile
========================================================= */

:root {
    --ms-header-height: 100px;
    --ms-header-height-tablet: 78px;
    --ms-header-height-mobile: 70px;

    --ms-header-black: #000000;
    --ms-header-border: #222222;
    --ms-header-menu-border: #333333;

    --ms-header-text: #dddddd;
    --ms-header-white: #ffffff;

    --ms-header-transition: .25s ease;
}


/* =========================================================
   HEADER
========================================================= */

.ms-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: var(--ms-header-height);

    z-index: 1000;

    background: var(--ms-header-black);
    border-bottom: 1px solid var(--ms-header-border);

    transition:
        background .25s ease,
        box-shadow .25s ease,
        height .25s ease;
}

.ms-header.scrolled {
    background: #000000;
    box-shadow: 0 6px 25px rgba(0, 0, 0, .20);
}


/* =========================================================
   HEADER INNER
   Screen width based spacing
========================================================= */

.ms-header-inner {
    width: min(calc(100% - 50px), 1400px);
    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 20px;
}


/* =========================================================
   LOGO
   Slightly shifted toward the right
========================================================= */

.ms-logo {
    display: block;

    width: 155px;
    max-width: 18vw;

    flex: 0 0 auto;

    margin-left: 8px;
}

.ms-logo img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.ms-navigation {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: clamp(18px, 2vw, 32px);

    min-width: 0;
}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.ms-nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    color: var(--ms-header-text);

    font-family: "Inter", sans-serif;
    font-size: clamp(12px, .9vw, 14px);
    font-weight: 700;

    white-space: nowrap;

    padding: 31px 0;

    transition:
        color var(--ms-header-transition);
}

.ms-nav-link:hover,
.ms-nav-link.active {
    color: var(--ms-header-white);
}


/* =========================================================
   ACTIVE / HOVER RED LINE
========================================================= */

.ms-nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 22px;

    width: 0;
    height: 2px;

    background: var(--ms-red);

    transition:
        width var(--ms-header-transition);
}

.ms-nav-link:hover::after,
.ms-nav-link.active::after {
    width: 100%;
}


/* =========================================================
   CONTACT BUTTON
   Slightly closer to navigation
========================================================= */

.ms-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    gap: 8px;

    margin-left: 18px;
    margin-right: 4px;

    padding: 11px 17px;

    background: var(--ms-red);
    color: var(--ms-header-white);

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        background var(--ms-header-transition),
        color var(--ms-header-transition),
        transform var(--ms-header-transition);
}

.ms-header-cta:hover {
    background: var(--ms-red-dark);
    color: var(--ms-header-white);

    transform: translateY(-1px);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.ms-menu-button {
    display: none;

    width: 44px;
    height: 44px;

    margin-left: auto;

    padding: 0;

    border: 1px solid #555555;

    background: #000000;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    flex: 0 0 auto;

    cursor: pointer;
}

.ms-menu-button span {
    display: block;

    width: 21px;
    height: 2px;

    background: #ffffff;

    transition:
        transform .25s ease,
        opacity .25s ease;
}


/* =========================================================
   MOBILE BUTTON OPEN STATE
========================================================= */

.ms-menu-button.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.ms-menu-button.open span:nth-child(2) {
    opacity: 0;
}

.ms-menu-button.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.ms-mobile-menu {
    position: fixed;

    top: var(--ms-header-height);
    left: 0;

    width: 100%;

    max-height:
        calc(100vh - var(--ms-header-height));

    overflow-x: hidden;
    overflow-y: auto;

    z-index: 999;

    background: #000000;

    border-top: 1px solid var(--ms-header-menu-border);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, .25);

    padding:
        10px
        clamp(18px, 4vw, 30px)
        20px;

    transform: translateY(-120%);

    visibility: hidden;
    opacity: 0;

    transition:
        transform .3s ease,
        opacity .3s ease,
        visibility .3s ease;
}

.ms-mobile-menu.open {
    transform: translateY(0);

    visibility: visible;
    opacity: 1;
}


/* =========================================================
   MOBILE MENU LINKS
========================================================= */

.ms-mobile-menu a {
    display: block;

    width: 100%;

    padding: 14px 4px;

    color: var(--ms-header-text);

    border-bottom: 1px solid var(--ms-header-menu-border);

    font-size: 14px;
    font-weight: 600;

    transition:
        color .25s ease,
        padding-left .25s ease;
}

.ms-mobile-menu a:last-child {
    border-bottom: none;
}

.ms-mobile-menu a:hover {
    color: var(--ms-red);

    padding-left: 8px;
}


/* =========================================================
   LARGE DESKTOP
   1440px+
========================================================= */

@media (min-width: 1440px) {

    .ms-header-inner {
        width: min(calc(100% - 70px), 1450px);
    }

    .ms-logo {
        width: 160px;
        margin-left: 12px;
    }

    .ms-navigation {
        gap: 34px;
    }

    .ms-header-cta {
        margin-left: 20px;
        margin-right: 6px;
    }
}


/* =========================================================
   STANDARD DESKTOP
   1200px - 1439px
========================================================= */

@media (max-width: 1439px) and (min-width: 1200px) {

    .ms-header-inner {
        width: calc(100% - 60px);

        gap: 18px;
    }

    .ms-logo {
        width: 150px;
        margin-left: 10px;
    }

    .ms-navigation {
        gap: 25px;
    }

    .ms-nav-link {
        font-size: 13px;
    }

    .ms-header-cta {
        margin-left: 16px;
        margin-right: 4px;

        padding-left: 16px;
        padding-right: 16px;
    }
}


/* =========================================================
   LAPTOP
   1024px - 1199px
========================================================= */

@media (max-width: 1199px) and (min-width: 1024px) {

    :root {
        --ms-header-height: 88px;
    }

    .ms-header-inner {
        width: calc(100% - 44px);

        gap: 14px;
    }

    .ms-logo {
        width: 138px;
        max-width: none;

        margin-left: 8px;
    }

    .ms-navigation {
        gap: 18px;
    }

    .ms-nav-link {
        font-size: 12px;

        padding: 27px 0;
    }

    .ms-nav-link::after {
        bottom: 18px;
    }

    .ms-header-cta {
        margin-left: 12px;
        margin-right: 2px;

        padding: 10px 13px;

        font-size: 11px;
    }
}


/* =========================================================
   TABLET / SMALL LAPTOP
   992px - 1023px
========================================================= */

@media (max-width: 1023px) and (min-width: 992px) {

    :root {
        --ms-header-height: 82px;
    }

    .ms-header-inner {
        width: calc(100% - 36px);

        gap: 12px;
    }

    .ms-logo {
        width: 132px;
        max-width: none;

        margin-left: 6px;
    }

    .ms-navigation {
        gap: 15px;
    }

    .ms-nav-link {
        font-size: 11px;

        padding: 25px 0;
    }

    .ms-nav-link::after {
        bottom: 17px;
    }

    .ms-header-cta {
        margin-left: 10px;
        margin-right: 2px;

        padding: 9px 12px;

        font-size: 10px;
    }
}


/* =========================================================
   TABLET / iPAD
   991px AND BELOW
========================================================= */

@media (max-width: 991px) {

    :root {
        --ms-header-height: var(--ms-header-height-tablet);
    }

    .ms-header {
        height: var(--ms-header-height);
    }

    .ms-header-inner {
        width: calc(100% - 40px);

        min-height: var(--ms-header-height);

        gap: 15px;
    }

    .ms-logo {
        width: 140px;
        max-width: none;

        margin-left: 5px;
    }

    .ms-navigation,
    .ms-header-cta {
        display: none;
    }

    .ms-menu-button {
        display: flex;

        margin-left: auto;
    }

    .ms-mobile-menu {
        top: var(--ms-header-height);

        max-height:
            calc(100vh - var(--ms-header-height));
    }
}


/* =========================================================
   TABLET PORTRAIT
   768px - 991px
========================================================= */

@media (max-width: 991px) and (min-width: 768px) {

    .ms-header-inner {
        width: calc(100% - 50px);

        gap: 20px;
    }

    .ms-logo {
        width: 140px;
    }

    .ms-menu-button {
        width: 44px;
        height: 44px;
    }

    .ms-mobile-menu {
        padding-left: 30px;
        padding-right: 30px;
    }

    .ms-mobile-menu a {
        padding-top: 16px;
        padding-bottom: 16px;

        font-size: 15px;
    }
}


/* =========================================================
   MOBILE
   767px AND BELOW
========================================================= */

@media (max-width: 767px) {

    :root {
        --ms-header-height: var(--ms-header-height-mobile);
    }

    .ms-header {
        height: var(--ms-header-height);
    }

    .ms-header-inner {
        width: calc(100% - 30px);

        min-height: var(--ms-header-height);

        gap: 12px;
    }

    .ms-logo {
        width: 125px;
        max-width: none;

        margin-left: 4px;
    }

    .ms-menu-button {
        width: 42px;
        height: 42px;

        margin-left: auto;
    }

    .ms-mobile-menu {
        top: var(--ms-header-height);

        max-height:
            calc(100vh - var(--ms-header-height));

        padding:
            8px
            20px
            18px;
    }

    .ms-mobile-menu a {
        padding: 14px 4px;

        font-size: 14px;
    }
}


/* =========================================================
   SMALL MOBILE
   575px AND BELOW
========================================================= */

@media (max-width: 575px) {

    .ms-header-inner {
        width: calc(100% - 26px);

        gap: 10px;
    }

    .ms-logo {
        width: 116px;

        margin-left: 3px;
    }

    .ms-menu-button {
        width: 40px;
        height: 40px;
    }

    .ms-menu-button span {
        width: 20px;
    }

    .ms-mobile-menu {
        padding-left: 18px;
        padding-right: 18px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   380px AND BELOW
========================================================= */

@media (max-width: 380px) {

    :root {
        --ms-header-height: 68px;
    }

    .ms-header {
        height: var(--ms-header-height);
    }

    .ms-header-inner {
        width: calc(100% - 20px);

        min-height: var(--ms-header-height);
    }

    .ms-logo {
        width: 105px;

        margin-left: 2px;
    }

    .ms-menu-button {
        width: 38px;
        height: 38px;
    }

    .ms-mobile-menu {
        top: var(--ms-header-height);

        max-height:
            calc(100vh - var(--ms-header-height));

        padding-left: 15px;
        padding-right: 15px;
    }

    .ms-mobile-menu a {
        padding: 13px 4px;

        font-size: 13px;
    }
}


/* =========================================================
   MOBILE LANDSCAPE
========================================================= */

@media (max-width: 991px)
       and (orientation: landscape)
       and (max-height: 600px) {

    .ms-mobile-menu {
        max-height:
            calc(100vh - var(--ms-header-height));

        overflow-y: auto;
    }

    .ms-mobile-menu a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}


/* =========================================================
   VERY SHORT MOBILE LANDSCAPE
========================================================= */

@media (max-width: 767px)
       and (orientation: landscape)
       and (max-height: 450px) {

    :root {
        --ms-header-height: 62px;
    }

    .ms-header {
        height: var(--ms-header-height);
    }

    .ms-header-inner {
        min-height: var(--ms-header-height);
    }

    .ms-mobile-menu {
        top: var(--ms-header-height);

        max-height:
            calc(100vh - var(--ms-header-height));
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.ms-menu-button:focus-visible,
.ms-nav-link:focus-visible,
.ms-header-cta:focus-visible,
.ms-mobile-menu a:focus-visible {

    outline: 2px solid var(--ms-red);
    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ms-header,
    .ms-nav-link,
    .ms-nav-link::after,
    .ms-header-cta,
    .ms-menu-button span,
    .ms-mobile-menu,
    .ms-mobile-menu a {

        transition: none !important;
    }
}