/* =========================================================
   ZIMGUIDE — PROFESSIONAL GLOBAL STYLES
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: #f7f5f1;
    color: #17202a;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    background: #15191d;
    color: #d9dee3;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar span:last-child {
    color: #aeb7c0;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #e4e1db;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* =========================================================
   PROFESSIONAL ZIMGUIDE LOGO
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 205px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px 5px 14px 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    background:
        linear-gradient(
            145deg,
            #d62828 0%,
            #d62828 42%,
            #1769aa 43%,
            #1769aa 100%
        );

    color: white;

    font-size: 28px;
    font-weight: 950;
    font-style: italic;

    letter-spacing: -3px;

    box-shadow:
        0 7px 18px rgba(23,105,170,.20);

    transform: skew(-4deg);
}

.brand-mark::before {
    content: "";
    position: absolute;

    width: 20px;
    height: 4px;

    background: white;

    right: 5px;
    bottom: 8px;

    border-radius: 10px;

    opacity: .9;

    transform: rotate(-18deg);
}

.brand-mark::after {
    content: "";
    position: absolute;

    width: 9px;
    height: 9px;

    background: #f5c542;

    border-radius: 50%;

    top: 7px;
    right: 8px;

    box-shadow:
        0 0 0 3px rgba(255,255,255,.12);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 25px;
    line-height: 1;
    letter-spacing: -1.2px;
    color: #17202a;
}

.brand-text strong span {
    color: #1769aa;
}

.brand-text small {
    margin-top: 5px;
    font-size: 9px;
    color: #7b858e;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 800;
}


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

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.desktop-nav a {
    text-decoration: none;
    color: #4d5660;

    font-size: 13px;
    font-weight: 750;

    padding: 10px 11px;

    border-radius: 7px;

    transition:
        color .2s ease,
        background .2s ease;
}

.desktop-nav a:hover {
    color: #1769aa;
    background: #f1f5f8;
}

.desktop-nav a.active {
    color: #1769aa;
    background: #edf4f9;
}


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

.mobile-menu {
    display: none;

    width: 43px;
    height: 43px;

    border: 1px solid #ddd9d2;
    background: white;

    border-radius: 9px;

    cursor: pointer;

    font-size: 22px;
    color: #17202a;
}

.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid #ece9e4;
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;

    border-bottom: 1px solid #eeeae4;

    text-decoration: none;

    color: #333b44;

    font-weight: 700;
    font-size: 14px;
}

.mobile-nav a:hover {
    background: #f5f7f8;
    color: #1769aa;
}

.mobile-nav.show {
    display: block;
}


/* =========================================================
   GENERAL EYEBROW
   ========================================================= */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #d62828;

    font-size: 10px;
    font-weight: 950;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;

    background: #d62828;
}


/* =========================================================
   GENERAL BUTTONS
   ========================================================= */

.btn,
.button,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 20px;

    border-radius: 7px;

    border: none;

    background: #1769aa;
    color: white;

    text-decoration: none;

    font-weight: 800;
    font-size: 13px;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.btn:hover,
.button:hover,
.cta-button:hover {
    background: #125689;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(23,105,170,.20);
}


/* =========================================================
   CARDS
   ========================================================= */

.card {
    background: white;

    border: 1px solid #e3dfd8;

    border-radius: 12px;

    box-shadow:
        0 2px 8px rgba(24,32,40,.03);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 35px rgba(24,32,40,.08);
}


/* =========================================================
   GUIDE PAGE SUPPORT
   ========================================================= */

.guides-page {
    background: #f7f5f1;
}

.guides-toolbar {
    box-shadow:
        0 2px 8px rgba(0,0,0,.025);
}

.guide-card {
    box-shadow:
        0 2px 8px rgba(24,32,40,.025);
}

.guide-card:hover {
    box-shadow:
        0 14px 32px rgba(24,32,40,.10);
}

.guide-category {
    color: #d62828 !important;
}

.read-guide {
    color: #1769aa !important;
}

.guide-search button {
    background: #1769aa !important;
    cursor: pointer;
}

.guide-search button:hover {
    background: #125689 !important;
}


/* =========================================================
   GUIDE VISUALS
   ========================================================= */

.jobs-image {
    background:
        linear-gradient(
            135deg,
            #5d1010,
            #d62828
        ) !important;
}

.education-image {
    background:
        linear-gradient(
            135deg,
            #12395a,
            #1769aa
        ) !important;
}

.technology-image {
    background:
        linear-gradient(
            135deg,
            #33302b,
            #8c6b2f
        ) !important;
}

.business-image {
    background:
        linear-gradient(
            135deg,
            #321d40,
            #70458a
        ) !important;
}

.guide-visual-content {
    background:
        linear-gradient(
            135deg,
            rgba(0,0,0,.16),
            rgba(0,0,0,.03)
        ) !important;
}


/* =========================================================
   ARTICLE PAGE
   ========================================================= */

.article-page {
    background: #f7f5f1;
}

.article-wrapper {
    box-shadow:
        0 5px 25px rgba(25,30,35,.04);
}

.article-category {
    color: #d62828 !important;
}

.back-link {
    color: #1769aa !important;
}


/* =========================================================
   FORMS
   ========================================================= */

input,
textarea,
select {
    border: 1px solid #d8d4cd;

    background: white;

    color: #17202a;

    border-radius: 7px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #1769aa;

    box-shadow:
        0 0 0 3px rgba(23,105,170,.10);
}


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

footer {
    background: #15191d;

    color: #cbd1d6;

    padding: 60px 0 0;

    margin-top: 0;
}

.footer-grid {
    display: grid;

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

    gap: 45px;

    padding-bottom: 45px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.footer-logo .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 24px;
}

.footer-logo strong {
    font-size: 23px;
    color: white;
}

.footer-logo strong span {
    color: #5ca6dc;
}

.footer-brand p {
    margin-top: 15px;

    color: #8e989f;

    font-size: 13px;
    line-height: 1.7;
}

footer h4 {
    color: white;

    font-size: 12px;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 17px;
}

footer a {
    display: block;

    width: fit-content;

    text-decoration: none;

    color: #939da5;

    font-size: 13px;

    margin-bottom: 11px;

    transition:
        color .2s ease,
        transform .2s ease;
}

footer a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-bottom {
    min-height: 65px;

    border-top: 1px solid rgba(255,255,255,.08);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: #737e86;

    font-size: 11px;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

section h1,
section h2,
section h3 {
    color: #17202a;
}

.section-title {
    font-size: clamp(30px, 5vw, 44px);

    line-height: 1.05;

    letter-spacing: -1.5px;

    margin-bottom: 12px;
}

.section-description {
    color: #68737d;

    max-width: 650px;

    font-size: 15px;
}


/* =========================================================
   BADGES
   ========================================================= */

.badge {
    display: inline-flex;

    align-items: center;

    min-height: 25px;

    padding: 0 9px;

    border-radius: 5px;

    background: #f0f3f5;

    color: #53606a;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .8px;

    text-transform: uppercase;
}


/* =========================================================
   DIVIDERS
   ========================================================= */

.divider {
    height: 1px;

    background: #e5e1db;

    margin: 30px 0;
}


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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(23,105,170,.25);

    outline-offset: 2px;
}


/* =========================================================
   TABLETS
   ========================================================= */

@media (max-width: 1000px) {

    .desktop-nav {
        gap: 0;
    }

    .desktop-nav a {
        padding: 9px 7px;
        font-size: 12px;
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr 1fr;
    }

}


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

@media (max-width: 760px) {

    .container {
        width: min(100% - 28px, 600px);
    }

    .topbar-inner {
        min-height: 34px;

        justify-content: center;

        text-align: center;
    }

    .topbar-inner span:last-child {
        display: none;
    }

    .header-inner {
        min-height: 70px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu {
        display: flex;

        align-items: center;
        justify-content: center;
    }

    .brand {
        min-width: auto;
    }

    .brand-mark {
        width: 43px;
        height: 43px;
        font-size: 25px;
    }

    .brand-text strong {
        font-size: 22px;
    }

    .brand-text small {
        font-size: 8px;
        letter-spacing: .8px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 35px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        padding: 17px 0;

        align-items: flex-start;

        flex-direction: column;

        gap: 5px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 430px) {

    .container {
        width: calc(100% - 24px);
    }

    .brand-text small {
        display: none;
    }

    .brand-mark {
        width: 41px;
        height: 41px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

}
/* ================================
   PROFESSIONAL ZIMGUIDE LOGO
================================ */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.zim-logo {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zim-logo-ring {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #d62828 0%,
            #d62828 48%,
            #1d4ed8 49%,
            #1d4ed8 100%
        );

    box-shadow:
        0 5px 15px rgba(0,0,0,.18);

    transform: rotate(-8deg);
}

.zim-logo-ring::before {
    content: "";
    position: absolute;

    inset: 4px;

    border: 2px solid rgba(255,255,255,.9);
    border-radius: 50%;
}

.zim-logo-z {
    position: relative;
    z-index: 2;

    color: white;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 29px;
    font-weight: 900;

    font-style: italic;

    transform: rotate(8deg);

    text-shadow:
        0 2px 4px rgba(0,0,0,.25);
}

.zim-logo-star {
    position: absolute;

    right: 5px;
    top: 4px;

    color: white;

    font-size: 10px;

    z-index: 3;

    transform: rotate(8deg);
}

.brand-text strong {
    display: block;

    font-size: 24px;
    line-height: 1;

    letter-spacing: -1px;

    color: #111827;
}

.brand-text strong span {
    color: #d62828;
}

.brand-text small {
    display: block;

    margin-top: 5px;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;

    color: #6b7280;
}


/* MOBILE */

@media (max-width: 600px) {

    .zim-logo {
        width: 46px;
        height: 46px;
    }

    .zim-logo-ring {
        width: 41px;
        height: 41px;
    }

    .zim-logo-z {
        font-size: 26px;
    }

    .brand-text strong {
        font-size: 21px;
    }

    .brand-text small {
        font-size: 8px;
    }

}