#hero {
    padding: 80px 0 0;
}

.cor-arc-hero {
    padding: 80px 0;
    background-image:
        radial-gradient(
            64.46% 201.87% at 25.11% 44.14%,
            rgba(0, 50, 119, 0.85) 0%,
            rgba(11, 88, 159, 0.85) 100%
        ),
        url("../image/hero_it_dev.webp");
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position:
        center center,
        center center;
    position: relative;
}

.cor-arc-hero-title {
    font-family: var(--font-normal);
    font-size: var(--size-subtitle2);
    font-weight: 700;
    color: var(--color-blue-light3);
}

.cor-arc-hero-subtitle {
    width: 60%;
    font-family: var(--font-subtitle);
    font-size: var(--size-title);
    font-weight: 700;
    color: var(--color-white);
}

#archelon-engine {
    background-image:
        linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%)),
        url("../image/bg/bg_archelon.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.cor-arc-engine-images {
    display: flex;
    gap: 120px;
}

.cor-arc-engine-logo-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cor-arc-engine-showcase-container {
    flex: 1;
}

.cor-arc-engine-logo,
.cor-arc-engine-showcase {
    width: 100%;
}

.cor-arc-engine-powered-by {
    font-family: var(--font-subtitle);
    font-weight: 700;
}

.cor-arc-engine-why {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 20px;
}

.cor-arc-engine-why-card {
    display: flex;
    column-gap: 10px;
    padding: 20px 15px;
    border-radius: 10px;
    background-color: var(--color-white);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    will-change: transform;
}

.cor-arc-engine-why-card-icon {
    width: 50px;
}

.cor-arc-engine-why-card-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cor-arc-engine-why-card-title {
    font-family: var(--font-title);
    font-size: var(--size-subtitle2);
    font-weight: 800;
}

.cor-arc-engine-why-card-description {
    font-family: var(--font-normal);
    font-size: var(--size-normal);
}

#technologies {
    padding: 60px 0 30px;
    background-image:
        linear-gradient(rgb(225 240 255), rgb(225 240 255)),
        url("../image/bg/bg_archelon_tech.webp");
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position:
        center center,
        center center;
    background-blend-mode: multiply;
    position: relative;
}

.cor-arc-tech-wrapper {
    display: flex;
}

.cor-arc-tech-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cor-arc-tech-title {
    font-size: var(--size-subtitle2);
    font-weight: 700;
}

.cor-arc-tech-subtitle {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--size-title);
}

.cor-arc-tech-right {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.cor-arc-tech-logo {
    padding: 30px;
    width: 100%;
}

#projects {
    position: relative;
    overflow: hidden;
}

#projects {
    background-image:
        linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%)),
        url("../image/bg/bg_archelon.webp"),
        linear-gradient(rgb(255 255 255 / 50%), rgb(255 255 255 / 50%)),
        url("../image/bg/bg_archelon.webp");

    background-position:
        top center,
        top center,
        bottom center,
        bottom center;

    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;

    background-size:
        100% auto,
        100% auto,
        100% auto,
        100% auto;

    background-blend-mode: normal, lighten, normal, lighten;
}

.cor-arc-project-header {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cor-arc-project-header-wrapper {
    display: flex;
    gap: 250px;
}

.cor-arc-project-header-title {
    font-size: var(--size-subtitle2);
    font-weight: 700;
}

.cor-arc-project-header-subtitle {
    flex: 1;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: var(--size-title);
}

.cor-arc-project-header-desc-container {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cor-arc-project-view-all-btn {
    grid-area: viewall;
    flex: 1;
    all: unset;
    cursor: pointer;
    font-family: var(--font-normal);
    font-weight: 700;
    font-size: var(--size-normal);
    color: var(--color-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cor-arc-project-categories {
    grid-area: categories;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.cor-arc-project-category {
    all: unset;
    cursor: pointer;
    font-family: var(--font-title);
    color: var(--color-gray);
}

.cor-arc-project-category.is-active {
    cursor: unset;
    color: var(--color-black);
}

.cor-arc-project-empty {
    margin-top: 40px;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
}

.cor-home-product-empty p {
    font-family: var(--font-normal);
    font-size: var(--size-normal);
    color: var(--color-gray);
}

.cor-arc-project-card-container {
    grid-area: container;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.cor-arc-project-card {
    display: flex;
    flex-direction: column;
    height: 540px;
    border-radius: 10px;
    gap: 15px;
    padding: 20px;
    background-color: var(--color-white);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
}

.cor-arc-project-card:hover {
    background-color: var(--color-blue-dark3);
}

.cor-arc-project-card.cor-hide-collapsed {
    display: none;
}

.cor-arc-project-card:hover .cor-arc-project-card-category,
.cor-arc-project-card:hover .cor-arc-project-card-name,
.cor-arc-project-card:hover .cor-arc-project-card-description {
    color: var(--color-white);
}

.cor-arc-project-card-category {
    font-family: var(--font-normal);
    font-size: var(--size-normal);
    color: var(--color-gray);
}

.cor-arc-project-card-name {
    font-family: var(--font-title);
    font-size: var(--size-subtitle);
    color: var(--color-blue-dark);
}

.cor-arc-project-card-description {
    font-family: var(--font-normal);
    font-size: var(--size-normal);
}

.cor-arc-project-card-image {
    margin-top: auto;
    width: 100%;
    border-radius: 10px;
}

.cor-arc-project-card-link {
    all: unset;
    cursor: pointer;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    color: var(--color-white);
    background-color: var(--color-blue);
    font-family: var(--font-subtitle);
    font-size: var(--size-small);
    padding: 5px 25px;
    border-radius: 40px;
}

@media (max-width: 855px) {
    /* ---------- Hero ---------- */
    #hero {
        padding: var(--size-navbar-mobile-height) 0 0;
    }

    .cor-arc-engine-showcase-container {
        display: flex;
        justify-content: center;
    }

    .cor-arc-engine-logo,
    .cor-arc-engine-showcase {
        width: 50%;
    }

    .cor-arc-hero {
        padding: 40px 0;
    }

    .cor-arc-hero-subtitle {
        width: 100%; /* was 60% — too cramped on narrow screens */
    }

    /* ---------- Archelon Engine ---------- */
    .cor-arc-engine-images {
        flex-direction: column;
        gap: 30px;
    }

    .cor-arc-engine-why {
        grid-template-columns: 1fr; /* single column instead of 2 */
        row-gap: 16px;
    }

    /* ---------- Technologies ---------- */
    .cor-arc-tech-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .cor-arc-tech-right {
        grid-template-columns: repeat(3, 1fr);
    }

    /* ---------- Projects ---------- */
    .cor-arc-project-header-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .cor-arc-project-card-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cor-arc-project-card {
        height: auto;
    }

    .cor-arc-project-card-image {
        width: 75%;
        margin: 0 auto;
    }
}

@media (max-width: 540px) {
    .cor-arc-tech-right {
        grid-template-columns: repeat(2, 1fr);
    }
}
