/* ==================================================
   ALOTE — GLOBAL DESIGN SYSTEM
================================================== */

:root {

    /* BRAND */

    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #eef2ff;

    --primary-soft: #f5f3ff;


    /* TEXT */

    --text-primary: #111827;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;


    /* BACKGROUNDS */

    --background: #ffffff;
    --background-soft: #f8fafc;
    --background-dark: #111827;


    /* BORDERS */

    --border: #e2e8f0;
    --border-light: #eef2f7;


    /* STATUS */

    --success: #16a34a;
    --success-bg: #dcfce7;

    --warning: #d97706;
    --warning-bg: #fef3c7;

    --danger: #dc2626;
    --danger-bg: #fee2e2;


    /* RADIUS */

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;


    /* SHADOWS */

    --shadow-xs:
        0 1px 2px rgba(15, 23, 42, 0.03);

    --shadow-sm:
        0 2px 8px rgba(15, 23, 42, 0.04);

    --shadow-md:
        0 10px 30px rgba(15, 23, 42, 0.07);

    --shadow-lg:
        0 20px 50px rgba(15, 23, 42, 0.10);

    --shadow-xl:
        0 28px 70px rgba(15, 23, 42, 0.14);


    /* TRANSITIONS */

    --transition-fast:
        0.18s ease;

    --transition:
        0.25s ease;

    --transition-slow:
        0.35s ease;
}


/* ==================================================
   RESET
================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text-primary);

    background: var(--background);

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


body.menu-open {
    overflow: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


img {
    display: block;
    max-width: 100%;
}


input,
textarea,
select {
    outline: none;
}


/* ==================================================
   GLOBAL CONTAINER
================================================== */

.container {

    width: min(
        1180px,
        calc(100% - 48px)
    );

    margin-inline: auto;
}


/* ==================================================
   LOGO
================================================== */

.logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;

    text-decoration: none;

    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast);
}


.logo:hover {

    opacity: 0.92;

    transform: translateY(-1px);
}


.logo-image {

    display: block;

    width: auto;

    height: 38px;

    object-fit: contain;
}


/* ==================================================
   NAVIGATION
================================================== */

.navbar {

    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    background:
        rgba(255, 255, 255, 0.88);

    border-bottom:
        1px solid rgba(226, 232, 240, 0.75);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);
}


.navbar-container {

    width: min(
        1180px,
        calc(100% - 48px)
    );

    height: 72px;

    margin-inline: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


/* ==================================================
   DESKTOP NAV
================================================== */

.nav-links {

    display: flex;

    align-items: center;

    gap: 5px;

    margin-left: auto;
}


.nav-links a {

    position: relative;

    display: inline-flex;

    align-items: center;

    height: 40px;

    padding: 0 14px;

    border-radius: 10px;

    color: var(--text-secondary);

    font-size: 14px;

    font-weight: 500;

    transition:
        color var(--transition-fast),
        background var(--transition-fast);
}


.nav-links a:hover {

    color: var(--text-primary);

    background:
        var(--background-soft);
}


/* ==================================================
   ACTIVE PAGE
================================================== */

.nav-links a.active {

    color: var(--primary);

    background:
        var(--primary-light);

    font-weight: 600;
}


.nav-links a.active::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: 4px;

    width: 18px;

    height: 2px;

    transform:
        translateX(-50%);

    border-radius: 999px;

    background:
        var(--primary);
}


/* ==================================================
   LANGUAGE SWITCHER
================================================== */

.language-switcher {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-left: 10px;

    flex-shrink: 0;
}


.language-switcher > span {

    color:
        #cbd5e1;

    font-size: 12px;
}


.language-button {

    border: none;

    background: transparent;

    padding: 6px 5px;

    color:
        var(--text-muted);

    font-size: 12px;

    font-weight: 600;

    border-radius: 7px;

    cursor: pointer;

    transition:
        color var(--transition-fast),
        background var(--transition-fast);
}


.language-button:hover {

    color:
        var(--text-secondary);

    background:
        var(--background-soft);
}


.language-button.active {

    color:
        var(--primary);
}


/* ==================================================
   POST A JOB
================================================== */

.employer-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 40px;

    padding: 0 17px;

    flex-shrink: 0;

    border:
        1px solid #dce2eb;

    border-radius:
        10px;

    background:
        #ffffff;

    color:
        #1e293b;

    font-size: 13px;

    font-weight: 650;

    transition:
        transform var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}


.employer-link:hover {

    transform:
        translateY(-1px);

    border-color:
        #cbd5e1;

    background:
        #f8fafc;

    box-shadow:
        var(--shadow-xs);
}


/* ==================================================
   SECTION LABEL
================================================== */

.section-label {

    display: inline-block;

    margin-bottom: 9px;

    color:
        var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing:
        0.08em;

    text-transform:
        uppercase;
}


/* ==================================================
   GENERIC SECTION LINK
================================================== */

.section-link {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color:
        var(--primary);

    font-size: 13px;

    font-weight: 650;

    transition:
        color var(--transition-fast),
        transform var(--transition-fast);
}


.section-link:hover {

    color:
        var(--primary-dark);

    transform:
        translateX(2px);
}


/* ==================================================
   PRIMARY BUTTON
================================================== */

.primary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 44px;

    padding:
        0 20px;

    border:
        1px solid transparent;

    border-radius:
        var(--radius-md);

    background:
        var(--primary);

    color:
        #ffffff;

    font-size: 14px;

    font-weight: 650;

    text-decoration: none;

    transition:
        transform var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}


.primary-button:hover {

    transform:
        translateY(-2px);

    background:
        var(--primary-dark);

    box-shadow:
        0 10px 25px
        rgba(79, 70, 229, 0.20);
}


/* ==================================================
   MOBILE MENU BUTTON
================================================== */

.mobile-menu-button {

    display: none;

    width: 42px;

    height: 42px;

    padding: 0;

    border:
        1px solid var(--border);

    border-radius:
        11px;

    background:
        #ffffff;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 5px;

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}


.mobile-menu-button:hover {

    background:
        var(--background-soft);

    border-color:
        #cbd5e1;
}


.mobile-menu-button:focus-visible {

    outline:
        3px solid
        rgba(79, 70, 229, 0.14);

    outline-offset:
        2px;
}


.mobile-menu-button span {

    display: block;

    width: 17px;

    height: 2px;

    border-radius: 999px;

    background:
        #334155;

    transition:
        transform var(--transition),
        opacity var(--transition-fast);
}


/* ==================================================
   HAMBURGER → X
================================================== */

.mobile-menu-button.active
span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);
}


.mobile-menu-button.active
span:nth-child(2) {

    opacity: 0;
}


.mobile-menu-button.active
span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* ==================================================
   MOBILE MENU
================================================== */

.mobile-menu {

    display: none;

    width: 100%;

    padding:
        10px 20px 20px;

    background:
        #ffffff;

    border-top:
        1px solid var(--border-light);

    box-shadow:
        0 15px 30px
        rgba(15, 23, 42, 0.06);
}


.mobile-menu.open {

    display: block;
}


/* ==================================================
   MOBILE NAV LINKS
================================================== */

.mobile-nav-links {

    display: flex;

    flex-direction: column;

    gap: 3px;
}


.mobile-nav-links a {

    display: flex;

    align-items: center;

    min-height: 46px;

    padding:
        0 13px;

    border-radius:
        10px;

    color:
        #475569;

    font-size: 13px;

    font-weight: 600;

    transition:
        background var(--transition-fast),
        color var(--transition-fast);
}


.mobile-nav-links a:hover {

    color:
        var(--primary);

    background:
        var(--background-soft);
}


/* ACTIVE MOBILE PAGE */

.mobile-nav-links a.active {

    color:
        var(--primary);

    background:
        var(--primary-light);

    font-weight: 700;
}


.mobile-nav-links a.active::after {

    content:
        "•";

    margin-left:
        auto;

    color:
        var(--primary);

    font-size:
        17px;

    line-height:
        1;
}


/* ==================================================
   MOBILE DIVIDER
================================================== */

.mobile-menu-divider {

    height: 1px;

    margin:
        11px 12px;

    background:
        var(--border-light);
}


/* ==================================================
   MOBILE LANGUAGE
================================================== */

.mobile-language {

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        7px 12px 12px;

    color:
        var(--text-muted);

    font-size: 12px;
}


.mobile-language .language-button {

    padding:
        5px 4px;
}


/* ==================================================
   MOBILE POST JOB
================================================== */

.mobile-employer-link {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 44px;

    margin-top: 2px;

    border-radius:
        10px;

    background:
        var(--primary);

    color:
        #ffffff;

    font-size: 12px;

    font-weight: 700;

    transition:
        transform var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}


.mobile-employer-link:hover {

    transform:
        translateY(-1px);

    background:
        var(--primary-dark);

    box-shadow:
        0 8px 20px
        rgba(79, 70, 229, 0.18);
}


/* ==================================================
   FOOTER
================================================== */

.footer {

    background:
        #ffffff;

    border-top:
        1px solid var(--border);

    padding-top:
        52px;
}


.footer-container {

    width: min(
        1180px,
        calc(100% - 48px)
    );

    margin-inline:
        auto;

    display:
        grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr;

    gap:
        55px;

    padding-bottom:
        42px;
}


/* ==================================================
   FOOTER BRAND
================================================== */

.footer-brand {

    max-width:
        300px;
}


.footer-logo {

    display:
        inline-block;

    margin-bottom:
        10px;

    color:
        var(--primary);

    font-size:
        28px;

    font-weight:
        800;

    letter-spacing:
        -1px;
}


.footer-tagline {

    margin:
        0 0 12px;

    color:
        var(--text-secondary);

    font-size:
        13px;
}


.footer-description {

    max-width:
        280px;

    color:
        var(--text-muted);

    font-size:
        12px;

    line-height:
        1.75;
}


/* ==================================================
   SOCIAL
================================================== */

.footer-socials {

    display:
        flex;

    gap:
        8px;

    margin-top:
        18px;
}


.footer-socials a {

    width:
        36px;

    height:
        36px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid var(--border);

    border-radius:
        50%;

    background:
        #ffffff;

    color:
        var(--text-primary);

    font-size:
        12px;

    font-weight:
        650;

    transition:
        transform var(--transition-fast),
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast);
}


.footer-socials a:hover {

    transform:
        translateY(-2px);

    border-color:
        var(--primary);

    background:
        var(--primary);

    color:
        #ffffff;
}


/* ==================================================
   FOOTER COLUMNS
================================================== */

.footer-column {

    display:
        flex;

    flex-direction:
        column;

    gap:
        11px;
}


.footer-column h3 {

    margin-bottom:
        5px;

    color:
        var(--text-primary);

    font-size:
        14px;

    font-weight:
        700;
}


.footer-column a {

    width:
        fit-content;

    color:
        var(--text-secondary);

    font-size:
        12px;

    line-height:
        1.5;

    transition:
        color var(--transition-fast),
        transform var(--transition-fast);
}


.footer-column a:hover {

    color:
        var(--primary);

    transform:
        translateX(2px);
}


/* ==================================================
   CONTACT
================================================== */

.footer-contact a {

    display:
        flex;

    align-items:
        center;

    gap:
        9px;
}


.contact-icon {

    width:
        17px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    color:
        var(--text-primary);

    font-size:
        13px;
}


/* ==================================================
   FOOTER BOTTOM
================================================== */

.footer-bottom {

    width: min(
        1180px,
        calc(100% - 48px)
    );

    margin-inline:
        auto;

    padding:
        17px 0 19px;

    border-top:
        1px solid var(--border);

    text-align:
        center;
}


.footer-bottom .copyright {

    color:
        var(--text-muted);

    font-size:
        11px;
}


/* ==================================================
   BURMESE TYPOGRAPHY
================================================== */

html[lang="my"] {

    font-family:
        "Noto Sans Myanmar",
        "Myanmar Text",
        sans-serif;
}


html[lang="my"] .footer,
html[lang="my"] .mobile-menu,
html[lang="my"] .language-button {

    font-family:
        "Noto Sans Myanmar",
        "Myanmar Text",
        sans-serif;
}


/* Keep ALote branding Latin */

html[lang="my"] .logo,
html[lang="my"] .footer-logo {

    font-family:
        Inter,
        Arial,
        sans-serif;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 1000px) {

    .navbar-container {

        width:
            min(
                100% - 40px,
                1180px
            );
    }


    .container {

        width:
            min(
                100% - 40px,
                1180px
            );
    }


    .footer-container {

        grid-template-columns:
            1.4fr
            1fr
            1fr;

        gap:
            40px;
    }

}


/* ==================================================
   MOBILE NAVIGATION
================================================== */

@media (max-width: 760px) {

    .navbar-container {

        width:
            calc(100% - 32px);

        height:
            64px;
    }


    .container {

        width:
            calc(100% - 32px);
    }


    .nav-links,
    .navbar-container > .language-switcher,
    .navbar-container > .employer-link {

        display:
            none;
    }


    .mobile-menu-button {

        display:
            flex;

        margin-left:
            auto;
    }


    .mobile-menu {

        display:
            none;
    }


    .mobile-menu.open {

        display:
            block;
    }


    /* Footer */

    .footer {

        padding:
            38px 0 20px;
    }


    .footer-container {

        width:
            calc(100% - 32px);

        display:
            grid;

        grid-template-columns:
            1fr 1fr 1fr;

        gap:
            26px 20px;

        padding-bottom:
            25px;
    }


    .footer-brand {

        grid-column:
            1 / -1;

        max-width:
            none;
    }


    .footer-logo {

        font-size:
            21px;
    }


    .footer-tagline {

        margin:
            4px 0 6px;

        font-size:
            11px;
    }


    .footer-description {

        max-width:
            310px;

        font-size:
            10px;

        line-height:
            1.6;
    }


    .footer-socials {

        margin-top:
            11px;

        gap:
            6px;
    }


    .footer-socials a {

        width:
            29px;

        height:
            29px;

        font-size:
            9px;
    }


    .footer-column {

        gap:
            7px;
    }


    .footer-column h3 {

        margin-bottom:
            6px;

        font-size:
            10px;
    }


    .footer-column a {

        margin-bottom:
            2px;

        font-size:
            9px;

        line-height:
            1.45;
    }


    .footer-contact a {

        gap:
            6px;

        margin-bottom:
            3px;

        font-size:
            9px;
    }


    .contact-icon {

        font-size:
            9px;
    }


    .footer-bottom {

        width:
            calc(100% - 32px);

        margin-top:
            0;

        padding:
            14px 0 16px;
    }


    .footer-bottom .copyright {

        font-size:
            8px;

        line-height:
            1.5;
    }

}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 420px) {

    .navbar-container {

        width:
            calc(100% - 28px);
    }


    .container {

        width:
            calc(100% - 28px);
    }


    .mobile-menu {

        padding:
            10px 14px 17px;
    }


    .mobile-menu-button {

        width:
            40px;

        height:
            40px;
    }


    .footer-container {

        width:
            calc(100% - 28px);

        gap:
            23px 15px;
    }


    .footer-bottom {

        width:
            calc(100% - 28px);
    }

}


/* ==================================================
   ACCESSIBILITY
================================================== */

:focus-visible {

    outline:
        3px solid
        rgba(79, 70, 229, 0.25);

    outline-offset:
        3px;
}


@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior:
            auto;
    }


    *,
    *::before,
    *::after {

        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;
    }

}