:root {
    --color-black: #08111f;
    --color-white: #ffffff;
    --color-gray: #a1a1a1;
    --color-gray-light: #f0f0f0;
    --color-red: rgba(181, 71, 70, 1);
    --color-red-deep: rgba(143, 16, 16, 1);
    --color-red-light: #ed9b90;
    --color-blue: #1f4e8c;
    --color-blue-dark: #0f172a;
    --color-green: #189b18;
    --color-orange: #f58421;
    --color-light-orange: #fffaf0;
    --color-yellow: #e4d533;
    --color-yellow-light: #e9de67;

    --color-text-black: #000;
    --color-text-dark: #08111f;
    --color-text-gray: #9f9cb4;
    --color-text-light: #f8fafc;
    --color-text-white: #fff;

    --size-navbar-height: 65px;
    --size-navbar-height-desktop: 80px;
    --size-max-width: 1200px;

    --font-main: "Manrope", sans-serif;
    --font-normal: "Plus Jakarta Sans", sans-serif;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../font/Manrope.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../font/PlusJakartaSans.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: italic;
    font-weight: 200 800;
    font-display: swap;
    src: url("../font/PlusJakartaSans_Italic.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    padding: 0;
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-text-dark);
    box-sizing: border-box;
    transition: all 0.375s ease;
}

html {
    padding: 0;
    margin: 0;
    font-size: 10px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--size-navbar-height);
}

body {
    height: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    margin-top: var(--size-navbar-height);
}

input[type="file"] {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

a {
    all: unset;
    cursor: pointer;
}

/* ============================= */
/* GENERAL — MOBILE FIRST (default)*/
/* ============================= */

.hidden {
    display: none !important;
}

.mobile-only {
    display: block !important;
}

.desktop-only {
    display: none;
}

.input-secret {
    display: none !important;
}

.startm-star {
    position: relative; /* anchors the ::after to this element's box */
}

.startm-star::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: -18px;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.startm-star-blue::after {
    background-image: url("../image/icon_star_blue.png");
}

.startm-star-yellow::after {
    background-image: url("../image/icon_star_yellow.png");
}

/* ============================= */
/* SCROLL REVEAL — MOBILE FIRST  */
/* ============================= */

/* Base state: hidden + offset. Direction is picked via the attribute's value. */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 700ms ease,
        transform 700ms ease;
    /* --i is set by JS for staggered groups (e.g. product cards); 0 for everything else */
    transition-delay: calc(var(--i, 0) * 70ms);
}

[data-reveal="left"] {
    transform: translateX(-40px);
}

[data-reveal="right"] {
    transform: translateX(40px);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Respect the OS-level motion preference: skip the animation, just show content */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ============================= */
/* NAVBAR — MOBILE FIRST (default)*/
/* ============================= */

.startm-navbar-wrapper {
    z-index: 20;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: var(--size-navbar-height);
    background-color: var(--color-black);
    box-shadow: rgba(0, 0, 0, 0.5) 2px 2px 5px;
    transition: box-shadow 300ms ease;
}

.startm-navbar-wrapper.is-scrolled {
    box-shadow: rgba(0, 0, 0, 0.45) 0px 6px 16px;
}

.startm-navbar-container-group {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.startm-navbar-logo {
    height: 70%;
    aspect-ratio: 1 / 1;
}

.startm-navbar-logo a,
.startm-navbar-logo a img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.startm-navbar-trigger {
    cursor: pointer;
}

.startm-navbar-trigger img {
    max-width: 100%;
    max-height: 24px;
}

.startm-navbar-button-group {
    position: fixed;
    top: var(--size-navbar-height);
    left: 0;
    width: 75%;
    height: calc(100vh - var(--size-navbar-height));
    background-color: var(--color-black);
    padding: 20px;
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.375s ease;
}

.startm-navbar-button-group.expanded {
    transform: translate3d(0, 0, 0);
}

.startm-navbar-button {
    display: block;
    padding: 12px 10px;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-text-white);
    border-radius: 6px;
}

.startm-navbar-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.375s ease;
    pointer-events: none;
}

.startm-navbar-cta a {
    pointer-events: auto;
}

.startm-navbar-button-group.expanded ~ .startm-navbar-cta {
    transform: translate3d(0, 0, 0);
}

.startm-navbar-button-pill {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background-color: var(--color-blue);
    color: var(--color-text-white);
    font-size: 1.4rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ============================= */
/* FOOTER — MOBILE FIRST (default)*/
/* ============================= */

.startm-section.footer {
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.startm-footer-bg-atlas {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    object-fit: cover;
    object-position: top; /* keep the top of the image visible if it gets cropped */
    z-index: 0;
    pointer-events: none; /* so it never blocks clicks on content above it */
}

.startm-footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: var(--size-max-width);
    width: 100%;
    margin: 0 auto;
    padding: 30px;
}

.startm-footer-contact-us {
    font-family: var(--font-normal);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.startm-footer-main {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: right;
    color: var(--color-text-dark);
}

.startm-footer-left {
    display: flex;
    align-items: end;
    flex-direction: column;
    gap: 4px;
}

.startm-footer-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.startm-footer-informations {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

.startm-footer-locations-wrapper {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.startm-footer-locations-wrapper .startm-footer-icon {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.startm-footer-information-text {
    font-family: var(--font-normal);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-text-dark);
}

.startm-footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.startm-footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.startm-footer-socials .startm-footer-icon {
    width: 20px;
    height: 20px;
}

/* Copyright bar */
.startm-copyright-container {
    background-color: var(--color-black);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.startm-copyright-links {
    display: none;
}

.startm-footer-link {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-white);
}

.startm-footer-link:hover {
    color: var(--color-blue);
}

.startm-copyright-text {
    text-align: center;
    font-weight: 700;
}

.startm-copyright-text p {
    font-size: 1.3rem;
    color: var(--color-text-white);
}

/* ============================= */
/* HOME — MOBILE FIRST (default) */
/* ============================= */

/* BANNER */
.startm-banner-container {
    position: relative;
    width: 100%;
}

.startm-banner {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--size-navbar-height));
    overflow: hidden;
    border-radius: 0;
    background: var(--color-white);
}

.startm-banner-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.startm-banner-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--color-white); /* fallback while image loads */
    opacity: 0;
    visibility: hidden;
    transition: opacity 900ms ease;
    z-index: 1;
}

.startm-banner-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Left-heavy gradient so text stays legible over any image */
.startm-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 17, 31, 0.569);
}

.startm-banner-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 0 40px;
}

.startm-banner-caption {
    font-size: 2.5rem;
    line-height: 1.6;
    color: var(--color-text-white);
    margin: 0;
    opacity: 0;
    max-width: 440px;
    transform: translateY(14px);
    transition:
        opacity 650ms ease 160ms,
        transform 650ms ease 160ms;
}

.startm-banner-description {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-text-white);
    margin: 0;
    opacity: 0;
    max-width: 440px;
    transform: translateY(14px);
    transition:
        opacity 650ms ease 160ms,
        transform 650ms ease 160ms;
}

.startm-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-top: 8px;
    padding: 10px 20px;
    font-size: 1.25em;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-black);
    background: var(--color-red);
    border-radius: 999px;
    text-decoration: none;
    transition:
        background 220ms ease,
        transform 220ms ease,
        opacity 650ms ease 240ms,
        translate 650ms ease 240ms;
    opacity: 0;
    transform: translateY(14px);
}

.startm-banner-cta,
.startm-banner-cta * {
    color: inherit;
}

.startm-banner-cta svg {
    transition: transform 220ms ease;
}

.startm-banner-cta:hover {
    background: var(--color-blue-dark);
}

.startm-banner-cta:hover svg {
    transform: translateX(3px);
}

.startm-banner-slide.is-active .startm-banner-caption,
.startm-banner-slide.is-active .startm-banner-cta,
.startm-banner-slide.is-active .startm-banner-description {
    opacity: 1;
    transform: translateY(0);
}

.startm-banner-pagination {
    position: absolute;
    z-index: 4;
    left: 50%;
    transform: translateX(-50%);
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.startm-banner-line {
    position: relative;
    width: 48px;
    height: 4px;
    padding: 0;
    border: none;
    background-color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
}

.startm-banner-line:hover {
    background-color: rgba(255, 255, 255, 0.55);
}

.startm-banner-line.is-active {
    background-color: var(--color-text-white);
}

.startm-section.about {
    height: calc(100vh - var(--size-navbar-height));
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.startm-about-bg-left {
    position: absolute;
    top: 25%;
    left: 0;
    width: 400px;
    object-fit: cover;
    object-position: top; /* keep the top of the image visible if it gets cropped */
    z-index: 0;
    pointer-events: none; /* so it never blocks clicks on content above it */
}

.startm-about-bg-right {
    position: absolute;
    top: -20%;
    /* transform: translateY(-50%); */
    right: 0;
    width: 200px;
    object-fit: cover;
    object-position: top; /* keep the top of the image visible if it gets cropped */
    z-index: 0;
    pointer-events: none; /* so it never blocks clicks on content above it */
}

.startm-about-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: var(--size-max-width);
    width: 100%;
    margin: 0 auto;
    padding: 60px 30px;
}

.startm-about-us-text {
    font-family: var(--font-normal);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: end;
    z-index: 1;
}

.startm-about-text-label {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-text-dark);
    text-align: end;
    z-index: 1;
}

.startm-about-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
}

.startm-about-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.startm-about-text-description {
    font-size: 1.5rem;
    font-family: var(--font-normal);
    font-weight: 500;
    line-height: 1.3;
    z-index: 1;
}

.startm-about-img {
    flex: auto;
    height: 100%;
    background-size: cover;
    background-position: 50% 85%;
    z-index: 1;
}

.startm-section.service-product {
    position: relative;
    overflow: hidden;
    background: linear-gradient(193.47deg, #1f4e8c 5.6%, #0f172a 124.02%);
}

.startm-service-product-bg {
    position: absolute;
    transform: translateY(15%);
    bottom: 0;
    height: 50%;
    object-fit: contain;
    object-position: top; /* keep the top of the image visible if it gets cropped */
    z-index: 0;
    pointer-events: none; /* so it never blocks clicks on content above it */
}

.startm-service-container {
    height: calc(100vh - var(--size-navbar-height));
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: var(--size-max-width);
    width: 100%;
    margin: 0 auto;
    padding: 60px 30px;
}

.startm-service-left {
    flex: auto;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: start;
}

.startm-service-text {
    font-family: var(--font-normal);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-white);
    text-align: end;
    z-index: 1;
}

.startm-service-text-label {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 40px;
    color: var(--color-text-white);
    text-align: end;
    z-index: 1;
}

.startm-service-text-description {
    font-size: 2rem;
    font-family: var(--font-normal);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-text-white);
    z-index: 1;
}

.startm-service-right {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: start;
    justify-content: center;
}

.startm-service-ill-image {
    z-index: 1;
    max-width: 75%;
    max-height: 100%;
}

.startm-product-container {
    min-height: calc(100vh - var(--size-navbar-height));
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: var(--size-max-width);
    width: 100%;
    margin: 0 auto;
    padding: 30px;
}

.startm-product-top {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.startm-product-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
}

.startm-product-text {
    font-family: var(--font-normal);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-white);
    text-align: end;
    z-index: 1;
}

.startm-product-text-label {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-text-white);
    text-align: end;
    z-index: 1;
}

.startm-product-text-description {
    font-size: 2rem;
    font-family: var(--font-normal);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-text-white);
    z-index: 1;
}

.startm-product-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.startm-product-bottom {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 25px;
}

.startm-product-card {
    content-visibility: auto;
    position: relative;
    aspect-ratio: 1/1;
    width: 100%;
    border-radius: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.startm-product-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.startm-product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(8, 17, 31, 0.55);
    opacity: 0;
    z-index: 1;
}

.startm-product-card:hover::before {
    opacity: 1;
}

.startm-product-name {
    position: relative;
    z-index: 2;
    color: var(--color-text-white);
    font-size: 1.8rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.375s ease;
    text-align: center;
}

.startm-product-card:hover .startm-product-name {
    opacity: 1;
}

.startm-product-name::after {
    content: "";
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 10px;
    background-color: #4a89e8;
    border-radius: 25%;
    z-index: -1;
}
/* ============================= */
/* MEDIA — SMALL DESKTOP (>=768px) */
/* ============================= */
@media only screen and (min-width: 768px) {
    .startm-navbar-button-group,
    .startm-navbar-cta {
        width: 50%;
    }

    .startm-service-ill-image {
        max-width: 50%;
    }
}

/* ============================= */
/* MEDIA — DESKTOP (>=1024px)     */
/* ============================= */
@media only screen and (min-width: 1024px) {
    main {
        margin-top: var(--size-navbar-height-desktop);
    }

    html {
        scroll-padding-top: var(--size-navbar-height-desktop);
    }

    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: unset;
    }

    .startm-navbar-wrapper {
        height: var(--size-navbar-height-desktop);
    }

    .startm-navbar-container-group {
        padding: 0 40px;
        gap: 40px;
    }

    .startm-navbar-logo {
        height: 80%;
        flex-shrink: 0;
    }

    .startm-navbar-trigger {
        display: none;
    }

    /* Nav links become an inline row, no longer a slide-in panel */
    .startm-navbar-button-group {
        position: static;
        width: auto;
        height: auto;
        flex: 1;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 0;
        background-color: transparent;
        transform: none;
        box-shadow: none;
    }

    .startm-navbar-button {
        padding: 10px 16px;
        font-size: 1.6rem;
    }

    .startm-navbar-cta {
        position: static;
        width: auto;
        height: auto;
        flex-shrink: 0;
        padding: 0;
        transform: none;
        pointer-events: auto;
    }

    /* FOOTER — DESKTOP */
    .startm-footer-bg-atlas {
        width: 40%;
    }

    .startm-footer-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 160px;
        padding: 60px 30px;
    }

    .startm-footer-left {
        flex: 2;
        align-items: start;
    }

    .startm-footer-right {
        flex: 3;
        margin-top: auto;
    }

    .startm-footer-main {
        text-align: start;
        font-size: 5rem;
    }

    .startm-footer-informations {
        grid-template-columns: repeat(2, 1fr);
    }

    .startm-footer-socials {
        justify-content: start;
        margin-left: 20px;
    }

    .startm-copyright-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 18px 40px;
    }

    .startm-copyright-links {
        display: flex;
        gap: 28px;
    }

    .startm-copyright-text {
        text-align: right;
    }

    /* ============================= */
    /* HOME — MOBILE FIRST (default) */
    /* ============================= */
    .startm-banner {
        height: calc(100vh - var(--size-navbar-height-desktop));
    }

    .startm-banner-caption {
        font-size: 4rem;
        max-width: 600px;
    }

    .startm-banner-description {
        font-size: 1.5rem;
        max-width: 600px;
    }

    .startm-section.about {
        height: calc(100vh - var(--size-navbar-height-desktop));
    }

    .startm-about-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 80px;
        padding: 60px 30px;
    }

    .startm-about-bg-left {
        top: 0%;
    }

    .startm-about-left {
        align-items: start;
    }

    .startm-abous-text,
    .startm-about-text-label {
        text-align: start;
    }

    .startm-about-text-label {
        font-size: 4rem;
    }

    .startm-service-product-bg {
        height: unset;
        width: 100%;
    }

    .startm-service-container {
        gap: 120px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 80px;
        padding: 60px 30px;
    }

    .startm-service-left {
        flex: 1;
        align-items: start;
    }

    .startm-service-ill-image {
        max-width: 100%;
    }

    .startm-service-text,
    .startm-service-text-label {
        text-align: start;
    }

    .startm-service-container {
        height: calc(100vh - var(--size-navbar-height-desktop));
    }

    .startm-service-text-label {
        font-size: 4rem;
    }

    .startm-product-container {
        min-height: calc(100vh - var(--size-navbar-height-desktop));
        justify-content: space-between;
        gap: 40px;
        padding: 60px 30px;
    }

    .startm-product-top {
        flex-direction: row;
        gap: 120px;
    }

    .startm-product-left {
        align-items: start;
    }

    .startm-product-text,
    .startm-product-text-label {
        text-align: start;
    }

    .startm-product-text-label {
        font-size: 4rem;
    }

    .startm-product-bottom {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 1fr;
        gap: 40px;
    }
}
