@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
    --bg: #f2f6f8;
    --ink: #0f1f2f;
    --ink-soft: #4a6075;
    --brand: #006d77;
    --brand-2: #0a9396;
    --accent: #ee9b00;
    --surface: #ffffff;
    --surface-soft: #f7fbfc;
    --line: #d6e5ea;
    --radius: 18px;
    --shadow: 0 16px 36px rgba(14, 41, 60, 0.14);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body,
th,
td,
input,
textarea,
select {
    font-family: "Manrope", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink) !important;
}

body {
    margin: 0;
    background: radial-gradient(circle at 10% -10%, #d4eff0 0%, rgba(212, 239, 240, 0) 44%),
        radial-gradient(circle at 94% -15%, #ffd89c 0%, rgba(255, 216, 156, 0) 34%),
        linear-gradient(180deg, #f8fbfc 0%, var(--bg) 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    border-radius: 999px;
    filter: blur(55px);
    opacity: 0.5;
}

body::before {
    width: 300px;
    height: 300px;
    right: -90px;
    top: 160px;
    background: #75c7cb;
}

body::after {
    width: 260px;
    height: 260px;
    left: -90px;
    bottom: 150px;
    background: #ffd193;
}

img {
    max-width: 100%;
    height: auto;
}

p,
blockquote,
ul,
ol,
dl {
    text-align: left;
}

a {
    color: var(--brand);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--brand-2);
}

#header,
#splashmenu,
#content,
.hr1,
#footer {
    width: min(1140px, calc(100% - 2.25rem));
    margin-left: auto;
    margin-right: auto;
}

#header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: auto;
    margin-top: 0.85rem;
    margin-bottom: 1rem;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    background: rgba(252, 255, 255, 0.78);
    backdrop-filter: blur(9px);
    box-shadow: 0 8px 24px rgba(23, 50, 72, 0.1);
}

#logo {
    float: left;
    width: 320px;
    height: auto;
    margin: 0;
    padding: 0;
}

#logo img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
}

#headermenu {
    float: right;
    margin: 0.2rem 0 0;
}

#headermenu ul,
#mainmenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#headermenu li {
    display: inline-block;
}

#headermenu a,
a.link1 {
    display: inline-block;
    width: auto;
    margin-left: 0.5rem;
    padding: 0.55rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    text-decoration: none;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

#headermenu a:hover,
a.link1:hover {
    border-color: var(--brand-2);
    box-shadow: 0 8px 16px rgba(9, 63, 83, 0.16);
    transform: translateY(-1px);
    text-decoration: none;
}

#headermenu1,
#headermenu2,
#headermenu3 {
    background: var(--surface) !important;
}

#splashmenu {
    height: auto;
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 1rem;
    margin-bottom: 1.1rem;
    padding: 1rem;
    border-radius: calc(var(--radius) + 4px);
    background: linear-gradient(155deg, #0f3743 0%, #114d58 55%, #166a6a 100%);
    box-shadow: var(--shadow);
}

#mainmenu {
    float: none;
    width: 100%;
    height: auto;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}

#mainmenu ul {
    padding-top: 0;
    background: none;
}

#mainmenu li {
    display: block;
}

#mainmenu .vline {
    display: none;
}

#mainmenu a,
a.link2 {
    display: block;
    margin: 0 0 0.55rem;
    padding: 0.74rem 0.95rem;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08) !important;
    text-decoration: none;
    text-align: left;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ecf8fb !important;
    transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

#mainmenu a:hover,
a.link2:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateX(4px);
}

#splash {
    float: none;
    width: 100%;
    min-height: 215px;
    height: auto;
    margin: 0;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 1.8rem 1.6rem;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
    column-gap: 1.2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#splash::after {
    content: "";
    grid-column: 2;
    justify-self: end;
    width: min(380px, 100%);
    aspect-ratio: 9 / 6.2;
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.28);
    background-image: url("/assets/img/hero-azure-ai.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 10px 26px rgba(8, 43, 58, 0.34);
}

#splash h1 {
    position: static;
    left: auto;
    margin: 0 0 0.5rem;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(224, 245, 248, 0.9);
    grid-column: 1;
}

#splash h1 b {
    position: static;
    font-weight: 600;
}

#splash h2,
.text1 {
    margin: 0 0 0.75rem;
    padding: 0;
    background: none;
    text-align: left;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: clamp(1.6rem, 3.2vw, 2.45rem);
    line-height: 1.15;
    color: #ffffff;
    grid-column: 1;
}

#splash p,
.text2 {
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 1.05rem;
    color: rgba(238, 249, 250, 0.9);
    grid-column: 1;
}

.text2-azure {
    margin-top: 0.5rem;
    max-width: 44ch;
    font-size: 0.98rem;
    color: rgba(226, 244, 247, 0.94);
}

#welcome {
    float: none;
    width: 100%;
    margin-top: 0.9rem;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
}

#welcome .title,
#welcome #title1 {
    display: none;
}

#welcome p {
    margin: 0;
    color: rgba(236, 249, 251, 0.95);
}

.hr1,
.hr2 {
    height: 1px;
    margin: 1.6rem auto;
    background: linear-gradient(90deg, rgba(16, 86, 97, 0), rgba(16, 86, 97, 0.4), rgba(16, 86, 97, 0));
}

#content {
    padding: 0;
}

.three-col,
.two-col,
.one-col {
    display: grid;
    gap: 1rem;
    background: none !important;
}

.three-col {
    grid-template-columns: 1.35fr 1.05fr 0.9fr;
}

.two-col {
    grid-template-columns: 0.95fr 1.55fr;
}

.three-col .colA,
.three-col .colB,
.three-col .colC,
.two-col .colA,
.two-col .colB {
    float: none;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.three-col .colA > div,
.three-col .colB > div:not(.hr2),
.three-col .colC > div,
.two-col .colA > div:not(.hr2),
.two-col .colB > div:not(.hr2),
#box1,
#box2,
#box3,
#box4,
#box5,
#box6 {
    padding: 1.15rem !important;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 10px 25px rgba(14, 41, 60, 0.08);
}

#splash,
#welcome,
.three-col .colA > div,
.three-col .colB > div:not(.hr2),
.three-col .colC > div,
.two-col .colA > div:not(.hr2),
.two-col .colB > div:not(.hr2),
#box1,
#box2,
#box3,
#box4,
#box5,
#box6 {
    opacity: 0;
    animation: rise-in 560ms ease forwards;
}

#splash {
    animation-delay: 60ms;
}

#welcome {
    animation-delay: 150ms;
}

.three-col .colA > div,
.two-col .colA > div,
#box1,
#box2 {
    animation-delay: 210ms;
}

.three-col .colB > div,
.two-col .colB > div,
#box3,
#box4 {
    animation-delay: 290ms;
}

.three-col .colC > div,
#box5,
#box6 {
    animation-delay: 360ms;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #splash,
    #welcome,
    .three-col .colA > div,
    .three-col .colB > div,
    .three-col .colC > div,
    .two-col .colA > div,
    .two-col .colB > div,
    #box1,
    #box2,
    #box3,
    #box4,
    #box5,
    #box6 {
        opacity: 1;
        animation: none;
    }
}

.title {
    margin: 0 0 0.75rem;
    padding: 0;
    background: none;
}

.title h1,
.title h2,
.title h3 {
    height: auto;
    margin: 0;
    padding: 0;
}

.title b {
    position: static;
}

#title1,
#title2,
#title3,
#title4,
#title5,
#title6,
#title7,
#title8 {
    background: none !important;
}

.title h1,
.title h2,
.title h3,
.title h2 b,
.title h1 b,
.title h3 b {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 1.18rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--ink);
}

h3,
.text3 {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-2);
}

a.link3 {
    display: inline-flex;
    align-items: center;
    margin-top: 0.2rem;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ecfbfd 0%, #d4eff3 100%);
    text-decoration: none;
}

a.link3 strong {
    padding: 0;
    background-color: transparent;
}

.img1,
.img2 {
    float: none;
    display: block;
    margin: 0 0 0.75rem;
    border-radius: 8px;
}

#footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    height: auto;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
    padding: 0.95rem 1.15rem;
    border-radius: 14px;
    border: 1px solid #d0e3ea;
    background: linear-gradient(160deg, #f8fdff 0%, #edf7fa 100%);
}

#copyright,
#footermenu,
.style1 {
    float: none;
    margin: 0;
    padding: 0;
    background: none;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--ink-soft) !important;
}

.style1 a,
#footermenu a {
    color: var(--ink-soft);
}

#contact-status {
    margin: 0.4rem 0 0.8rem;
    font-weight: 600;
}

#contact-status.error {
    color: #bd1111;
}

#contact-status.success {
    color: #0e8149;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1050px) {
    #splashmenu {
        grid-template-columns: 1fr;
    }

    .three-col {
        grid-template-columns: 1fr 1fr;
    }

    .three-col .colC {
        grid-column: 1 / -1;
    }

    #splash {
        grid-template-columns: 1fr;
    }

    #splash::after {
        grid-column: 1;
        width: 100%;
        max-width: 460px;
        margin-top: 0.55rem;
        justify-self: start;
    }
}

@media (max-width: 800px) {
    #header,
    #splashmenu,
    #content,
    .hr1,
    #footer {
        width: min(1140px, calc(100% - 1.2rem));
    }

    #header {
        padding: 0.8rem;
    }

    #logo,
    #headermenu {
        float: none;
    }

    #headermenu {
        margin-top: 0.65rem;
    }

    #headermenu a,
    a.link1 {
        margin: 0 0.35rem 0.4rem 0;
    }

    .three-col,
    .two-col {
        grid-template-columns: 1fr;
    }

    #footer {
        flex-direction: column;
    }
}
