:root {
    --bg-light: #f0f5fa;
    --bg-dark: #121212;
    --text-light: #333;
    --text-dark: #f1f1f1;
    --accent-color: #38afff;
    --glass-light: rgba(255, 255, 255, 0.8);
    --glass-dark: rgba(30, 30, 30, 0.6);
    --gap: 20px;
    --inset: 20px;
    --radius: 32px;
}

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-light);
    transition: background-color 0.5s, color 0.5s;
    overflow-x: hidden;
}

/* ── HERO ─────────────────────────────────────────── */

.hero {
    text-align: center;
    padding: 10rem 5%;
    background: linear-gradient(135deg, #ffffff 10%, #38afff 100%);
    margin: 0 var(--inset);
    border-radius: var(--radius);
    margin-top: 100px;
}

.hero-index {
    padding: 17rem 5%;
}

.hero-servershare {
    background: linear-gradient(135deg, #ffffff 10%, #0bac4b 100%);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.1;
}

.hero p {
    font-size: 1.8rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    color: #0d0d0d;
}

.hero .logo {
    width: 150px;
    margin-bottom: 1.5rem;
}


/* ── END OF HERO ─────────────────────────────────────── */

/* ---------------- HEADER & NAVBAR ---------------- */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: blur(10px);
    padding: 1em 32em;
    z-index: 1000;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    box-sizing: border-box;
}

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

.logo img {
    width: 120px;
    display: block;
}

/* Centre the links absolutely so they don't shift when login button is added */
.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 85px;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: #272626;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 8px;
    transition: color 0.2s ease, font-weight 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 4px;
    height: 1px;
    border-radius: 999px;
    background: rgba(39, 38, 38, 0.4);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: #121315;
    font-weight: 900;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    background: rgba(39, 38, 38, 0.55);
}

/* ---------------- LOGIN BUTTON ---------------- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    background: #29b6f6;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 22px;
    border-radius: 999px;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.btn-login:hover {
    background: #0399d4;
}

/* ---------------- HAMBURGER ---------------- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: #121315;
    border-radius: 2px;
    transition: 0.3s;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 768px) {

    header {
        padding: 0.8em 1.2em;
    }

    .logo img {
        width: 72px;
    }

    .hamburger {
        display: flex;
        z-index: 1100;
    }

    /* On mobile, nav-links go back to normal flow */
    .nav-links {
        position: fixed;
        top: 72px;
        left: 75%;
        transform: translateX(-50%) translateY(-12px);
        width: calc(100vw - 24px);

        background: rgba(255, 255, 255, 0.574);
        backdrop-filter: blur(10px);
        border-radius: 32px;

        flex-direction: column;
        gap: 6px;
        padding: 14px;

        opacity: 0;
        pointer-events: none;

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

        max-width: 200px;
        font-weight: 700;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .nav-links a {
        color: #1a1a1a;
        font-size: 16px;
        padding: 14px 8px;
    }

    .nav-links a::after {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

    .nav-links a:hover {
        color: #121315;
    }

    .btn-login {
        display: none;
    }
}

/* ---------------- HAMBURGER ANIMATION ---------------- */
.hamburger.open div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open div:nth-child(2) {
    opacity: 0;
}

.hamburger.open div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------------- MOBILE SAFETY ---------------- */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    -webkit-tap-highlight-color: transparent;
}

/* ---------------- NAV ITEM WRAPPERS ---------------- */
.nav-links {
    display: flex;
    gap: 85px;
}

.nav-item {
    position: static;
}

.nav-item>a {
    position: relative;
    text-decoration: none;
    color: #272626;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 8px;
    display: block;
    white-space: nowrap;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.nav-item>a::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 4px;
    height: 1px;
    border-radius: 999px;
    background: rgba(39, 38, 38, 0.4);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-item:hover>a,
.nav-item.open>a {
    color: #121315;
    font-weight: 900;
}

.nav-item:hover>a::after,
.nav-item.open>a::after {
    transform: scaleX(1);
}

/* ---------------- OVERLAY ---------------- */
.s-overlay {
    position: fixed;
    inset: 0;
    top: 60px;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    pointer-events: none;
    transition: background 0.25s, backdrop-filter 0.25s;
    z-index: 998;
}

.s-overlay.active {
    background: rgba(180, 180, 180, 0.25);
    backdrop-filter: blur(4px);
}

/* ---------------- PANEL ---------------- */
.s-panel {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 0.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 36px 32em;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    transform: translateY(-4px);
}

.s-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.s-panel-inner {
    max-width: 100%;
}

.s-panel-title {
    font-size: 32px;
    font-weight: 400;
    color: #111;
    margin-bottom: 18px;
}

.s-panel-cols {
    display: flex;
    gap: 64px;
}

.s-col-label {
    font-size: 11px;
    color: #bbb;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-transform: none;
    text-decoration: underline;
}

.s-col-items {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ---------------- ITEMS ---------------- */
.s-dd-item {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 400;
    padding: 5px 0;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    transition: color 0.15s;
}

.s-dd-item .arr {
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.15s, transform 0.15s;
    font-size: 12px;
}

.s-dd-item.active {
    font-weight: 500;
}

.s-dd-item.active .arr {
    opacity: 1;
    transform: translateX(0);
}

/* ---------------- HIGHLIGHT — subtle, not blocky ---------------- 
.s-hl {
    position: absolute;
    left: -6px;
    right: -6px;
    height: 24px;
    border-radius: 5px;
    pointer-events: none;
    transition: top 0.16s cubic-bezier(.4, 0, .2, 1), opacity 0.2s;
    opacity: 0;
}*/

/* ---------------- ACCENT COLOURS ---------------- */
.cyber-col .s-dd-item.active {
    color: #29b6f6;
}

.cyber-col .s-hl {
    background: rgba(41, 182, 246, 0.07);
}

.server-col .s-dd-item.active {
    color: #4caf50;
}

.server-col .s-hl {
    background: rgba(76, 175, 80, 0.07);
}

.andmorer-col .s-dd-item.active {
    color: #ffa726;
}

.andmorer-col .s-hl {
    background: rgba(255, 167, 38, 0.07);
}

/* ---------------- HIDE ON MOBILE ---------------- */
@media (max-width: 768px) {
    .s-panel {
        display: none;
    }

    .s-overlay {
        display: none;
    }
}

/* ── BUTTONS ─────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 32px;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #2a8cd8;
}

.btn-alt {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: transparent;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 32px;
    font-weight: 500;
    border: 2px solid var(--text-dark);
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.btn-alt:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.btn.hiring {
    background-color: #348C8C;
    color: #fff;
    border: none;
}

.btn.omniD {
    background: #1e4d8c;
    color: #fff;
    border: none;
}

.btn.servershare {
    background: #0bac4b;
    color: #fff;
    border: none;
}

/* ── END OF BUTTONS ─────────────────────────────────────── */

.Boxes .long {
    display: grid;
    grid-template-columns: 4fr 2fr;
    gap: 18px;
    margin-top: 13px;
    margin-left: 18px;
    margin-right: 18px;
}

.section-hiring,
.section-omniD,
.section-servershare,
.section-andmorer {
    border-radius: 16px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
}

.section-hiring {
    background: linear-gradient(135deg, #51C1B5 -20%, #1a3a4a 100%);
}

.section-omniD {
    background: linear-gradient(135deg, #b8d4e8 0%, #2a5fa8 100%);
}

.section-servershare {
    background: linear-gradient(135deg, #ffffff 0%, #11A640 100%);
}

.section-andmorer {
    background: linear-gradient(135deg, #38afff 0%, #a8e4ff 40%, #38afff 100%);
}

.section-hiring h2 {
    color: #fff;
    font-weight: 700;
    font-size: 64px;
    margin: 0 0 24px;
}

.section-omniD h2 {
    color: #1a1a2e;
    font-weight: 400;
    font-size: 55px;
    margin: 0 0 24px;
}

.section-servershare h2 {
    color: #000000;
    font-weight: 400;
    font-size: 55px;
    margin: 0 0 24px;
}

.section-hiring p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.section-servershare p {
    color: rgba(0, 0, 0, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.section-omniD p {
    color: #1a2a3a;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 24px;
}

.andmorer-img {
    width: 100%;
    max-width: 700px;
    padding: 0px;
}

/* ── NEXT PASS ─────────────────────────────────────── */

.sw-grid {
    display: grid;
    grid-template-columns: 2fr 4fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    margin-top: 13px;
    margin-left: 18px;
    margin-right: 18px;
}

.sw-box {
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sw-story {
    grid-row: 1 / 3;
    background: linear-gradient(160deg, #0098D4 0%, #B4E4F7 100%);
}

.sw-elite {
    background: linear-gradient(160deg, #6b0a0a 0%, #2a0000 100%);
    min-height: 450px;
}

.sw-awards {
    background: linear-gradient(90deg, #FF8000 0%, #7C109D 53%, #0090CE 100%);
}

.sw-story h2 {
    color: #fff;
    font-size: 64px;
    font-weight: 700;
    margin: 0 0 8px;
}

.sw-story .logo-small {
    width: 157px;
    margin-bottom: 75px;
}

.sw-elite .logo-small {
    width: 400px;
    margin-bottom: 50px;
}

.sw-elite .amp {
    color: #fff;
    font-size: 36px;
}

.sw-elite .script {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    margin: 4px 0 24px;
}

.sw-awards .logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.sw-awards img {
    width: 360px;
}

.sw-awards p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 40px;
    margin: 8px 0 24px;
}

.sw-btn-story {
    background: rgba(255, 255, 255, 0.2);
}

.sw-btn-elite {
    background: rgba(180, 20, 20, 0.6);
}

.sw-btn-awards {
    background: rgba(60, 80, 180, 0.7);
}

/* ---------------- FOOTER ---------------- */
footer {
    padding: 48px 6em 24px;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin-top: 13px;
}

.footer-top {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.footer-logo {
    width: 80px;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0 0 36px;
}

/* ---------------- COLUMNS ---------------- */
.footer-cols {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin: 0 0 12px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #1a1a1a;
    text-decoration: none;
    padding: 3px 0;
    transition: color 0.15s;
}

.footer-col a:hover {
    color: #555;
}

/* ---------------- MIDDLE (SAJOWI) ---------------- */
.footer-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 32px;
}

.footer-sajowi-logo {
    width: 72px;
}

.footer-middle p {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

/* ---------------- BOTTOM BAR ---------------- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #555;
    padding-top: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 85px;
}

.footer-bottom-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-bottom-links a:hover {
    color: #111;
}

.footer-bottom-right {
    display: flex;
    gap: 32px;
    color: #555;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 768px) {
    footer {
        padding: 40px 1.5em 24px;
    }

    .footer-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-bottom-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom-right {
        gap: 20px;
    }
}