/* =====================================================================
   Gaptech Solutions – shared design system
   Loaded after each page's own <style>, so these rules take precedence.
   ===================================================================== */

:root {
    /* Brand */
    --gt-blue: #0077c8;
    --gt-blue-dark: #005b9a;
    --gt-blue-soft: #e6f2fb;
    --gt-navy: #0a2640;
    --gt-navy-2: #12385c;
    --gt-green: #7ac943;          /* logo green: accents, icons, on dark backgrounds */
    --gt-green-dark: #3f7d1f;     /* green text on light backgrounds (readable) */
    --gt-green-soft: #eef8e6;
    --gt-gradient: linear-gradient(135deg, #0077c8 0%, #2a9a8f 55%, #7ac943 100%);

    /* Neutrals */
    --gt-text: #1f2937;
    --gt-muted: #5b6675;
    --gt-border: #e3e9f0;
    --gt-bg: #f5f8fb;
    --gt-white: #ffffff;

    /* Type */
    --gt-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --gt-font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

    /* Shape */
    --gt-radius: 14px;
    --gt-radius-sm: 10px;
    --gt-shadow-sm: 0 1px 2px rgba(10, 38, 64, 0.06), 0 2px 8px rgba(10, 38, 64, 0.05);
    --gt-shadow: 0 10px 30px rgba(10, 38, 64, 0.10);
    --gt-shadow-lg: 0 24px 60px rgba(10, 38, 64, 0.18);

    --gt-header-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--gt-header-h) + 16px);
}

body {
    font-family: var(--gt-font-body);
    color: var(--gt-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    margin: 0;
    padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--gt-font-head);
    letter-spacing: -0.01em;
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid rgba(0, 119, 200, 0.45);
    outline-offset: 2px;
}

.gt-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.gt-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.gt-skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--gt-navy);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--gt-radius-sm);
    text-decoration: none;
    font-weight: 600;
}

.gt-skip-link:focus {
    top: 12px;
}

/* ---------- Buttons ---------- */
.gt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-family: var(--gt-font-head);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.gt-btn:hover {
    transform: translateY(-2px);
}

.gt-btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.gt-btn-primary {
    background: var(--gt-blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 119, 200, 0.28);
}

.gt-btn-primary:hover {
    background: var(--gt-blue-dark);
    box-shadow: 0 12px 28px rgba(0, 119, 200, 0.38);
    color: #fff;
}

.gt-btn-blue {
    background: var(--gt-blue);
    color: #fff;
}

.gt-btn-blue:hover {
    background: var(--gt-blue-dark);
    color: #fff;
}

.gt-btn-light {
    background: #fff;
    color: var(--gt-navy);
}

.gt-btn-light:hover {
    color: var(--gt-blue);
    box-shadow: var(--gt-shadow);
}

.gt-btn-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    background: transparent;
}

.gt-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

.gt-btn-outline-dark {
    border-color: var(--gt-border);
    color: var(--gt-navy);
    background: #fff;
}

.gt-btn-outline-dark:hover {
    border-color: var(--gt-blue);
    color: var(--gt-blue);
}

/* ---------- Header ---------- */
.gt-header {
    position: sticky;
    top: 0;
    left: auto;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: none;
    padding: 0;
    transition: box-shadow 0.25s ease;
}

.gt-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(10, 38, 64, 0.10);
}

.gt-topbar {
    background: var(--gt-blue);   /* same blue as the "Request a demo" button */
    color: #fff;
    font-size: 13px;
}

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

.gt-topbar-contacts {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.gt-topbar a,
.gt-topbar span {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gt-topbar a:hover {
    color: #fff;
    text-decoration: underline;
}

/* White icons: the logo green is too faint on this blue */
.gt-topbar i {
    color: #fff;
}

.gt-topbar-social {
    display: flex;
    gap: 6px;
}

.gt-topbar-social a {
    width: 26px;
    height: 26px;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.gt-topbar-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.gt-mainbar {
    border-bottom: 1px solid var(--gt-border);
    background: #fff;
}

.gt-mainbar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--gt-header-h);
}

.gt-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.gt-brand img {
    height: 54px;
    width: auto;
    display: block;
}

/* The nav element is reset because each page's old CSS styled bare "nav" */
.gt-header nav.gt-nav {
    position: static;
    display: flex;
    align-items: center;
    flex: 1;
    height: 100%;
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    width: auto;
    top: auto;
    z-index: auto;
}

.gt-header .gt-nav ul,
.gt-header .gt-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gt-header .gt-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 100%;
}

.gt-header .gt-menu > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.gt-header .gt-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 11px;
    white-space: nowrap;
    border: 0;
    border-radius: 999px;
    background: none;
    font-family: var(--gt-font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--gt-navy);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.gt-header .gt-nav-link i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.gt-header .gt-nav-link:hover,
.gt-header .gt-has-sub:hover > .gt-nav-link,
.gt-header .gt-has-sub:focus-within > .gt-nav-link {
    color: var(--gt-blue);
    background: var(--gt-blue-soft);
}

.gt-header .gt-nav-link.is-active {
    color: var(--gt-blue);
}

.gt-header .gt-nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 24px;
    height: 3px;
    margin-left: -12px;
    border-radius: 3px 3px 0 0;
    background: var(--gt-gradient);
}

.gt-header .gt-has-sub:hover > .gt-nav-link i,
.gt-header .gt-has-sub:focus-within > .gt-nav-link i {
    transform: rotate(180deg);
}

/* Dropdown + mega menu (desktop) */
.gt-header .gt-dropdown,
.gt-header .gt-mega {
    position: absolute;
    top: calc(100% - 6px);
    background: #fff;
    border: 1px solid var(--gt-border);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1100;
}

.gt-header .gt-has-sub:hover > .gt-dropdown,
.gt-header .gt-has-sub:focus-within > .gt-dropdown,
.gt-header .gt-has-sub:hover > .gt-mega,
.gt-header .gt-has-sub:focus-within > .gt-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gt-header .gt-dropdown {
    left: 0;
    min-width: 250px;
    padding: 8px;
    display: block;
}

.gt-header .gt-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--gt-radius-sm);
    color: var(--gt-text);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
}

.gt-header .gt-dropdown a i {
    width: 18px;
    color: var(--gt-blue);
}

.gt-header .gt-dropdown a:hover {
    background: var(--gt-bg);
    color: var(--gt-blue);
}

.gt-header .gt-mega {
    left: 50%;
    margin-left: -440px;
    width: 880px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 20px;
}

.gt-header .gt-mega-title {
    font-family: var(--gt-font-head);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gt-green-dark);
    margin: 0 0 10px 10px;
}

.gt-header .gt-mega ul {
    display: block;
}

.gt-header .gt-mega-link {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px;
    border-radius: var(--gt-radius-sm);
    text-decoration: none;
    transition: background 0.2s ease;
}

.gt-header .gt-mega-link:hover,
.gt-header .gt-mega-link.is-active {
    background: var(--gt-bg);
}

.gt-header .gt-mega-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--gt-blue-soft);
    color: var(--gt-blue);
    font-size: 15px;
}

.gt-header .gt-mega-link:hover .gt-mega-icon {
    background: var(--gt-blue);
    color: #fff;
}

.gt-header .gt-mega-link strong {
    display: block;
    color: var(--gt-navy);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.3;
}

.gt-header .gt-mega-link small {
    display: block;
    color: var(--gt-muted);
    font-size: 12.5px;
    line-height: 1.4;
    margin-top: 2px;
}

.gt-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.gt-login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gt-navy);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
}

.gt-login-link:hover,
.gt-login-link.is-active {
    color: var(--gt-blue);
}

/* Login menu: "Login as client" / "Login as staff" */
.gt-header .gt-login-menu {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--gt-header-h);
}

.gt-header .gt-login-dropdown,
.gt-header .gt-login-dropdown li {
    list-style: none;
    margin: 0;
}

.gt-header button.gt-login-link {
    border: 0;
    border-radius: 8px;
    background: none;
    padding: 10px 4px;
    font-family: var(--gt-font-body);
    cursor: pointer;
}

.gt-login-caret {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.gt-header .gt-login-menu:hover .gt-login-link,
.gt-header .gt-login-menu:focus-within .gt-login-link {
    color: var(--gt-blue);
}

.gt-header .gt-login-menu:hover .gt-login-caret,
.gt-header .gt-login-menu:focus-within .gt-login-caret {
    transform: rotate(180deg);
}

.gt-header .gt-login-dropdown {
    left: auto;
    right: -12px;
    min-width: 270px;
}

.gt-header .gt-login-dropdown a {
    align-items: flex-start;
    padding: 12px;
}

.gt-header .gt-login-dropdown a i {
    margin-top: 3px;
}

.gt-header .gt-login-dropdown strong {
    display: block;
    color: var(--gt-navy);
    font-weight: 600;
}

.gt-header .gt-login-dropdown small {
    display: block;
    color: var(--gt-muted);
    font-size: 12.5px;
    margin-top: 2px;
}

.gt-header .gt-login-dropdown a:hover strong {
    color: var(--gt-blue);
}

.gt-nav-mobile-actions {
    display: none;
}

.gt-burger {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    border: 1px solid var(--gt-border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    padding: 0 12px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.gt-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--gt-navy);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.gt-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.gt-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.gt-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1365px) {
    .gt-mainbar-inner {
        gap: 16px;
    }

    .gt-brand img {
        height: 46px;
    }

    .gt-header .gt-menu {
        gap: 0;
    }

    .gt-header .gt-nav-link {
        padding: 10px 8px;
        font-size: 14.5px;
    }

    .gt-header-actions {
        gap: 12px;
    }

    .gt-login-link {
        font-size: 14.5px;
    }

    .gt-header-actions .gt-btn-sm {
        padding: 10px 16px;
    }

    .gt-header .gt-mega {
        width: 760px;
        margin-left: -380px;
    }
}

/* Phone / tablet menu */
@media (max-width: 1150px) {
    :root {
        --gt-header-h: 68px;
    }

    .gt-topbar {
        display: none;
    }

    .gt-brand img {
        height: 40px;
    }

    .gt-burger {
        display: inline-flex;
    }

    .gt-header-actions {
        display: none;
    }

    .gt-header nav.gt-nav {
        position: fixed;
        top: var(--gt-header-h);
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        display: block;
        background: #fff;
        padding: 12px 20px 32px;
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s;
        border-top: 1px solid var(--gt-border);
    }

    .gt-header nav.gt-nav.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .gt-header .gt-menu {
        display: block;
        height: auto;
    }

    .gt-header .gt-menu > li {
        display: block;
        height: auto;
        border-bottom: 1px solid var(--gt-border);
    }

    .gt-header .gt-nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 16px 4px;
        font-size: 17px;
        border-radius: 0;
    }

    .gt-header .gt-nav-link:hover,
    .gt-header .gt-has-sub:hover > .gt-nav-link,
    .gt-header .gt-has-sub:focus-within > .gt-nav-link {
        background: none;
    }

    .gt-header .gt-nav-link.is-active::after {
        display: none;
    }

    /* Submenus become accordions, opened by tapping */
    .gt-header .gt-dropdown,
    .gt-header .gt-mega {
        position: static;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0 0 12px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .gt-header .gt-has-sub:hover > .gt-nav-link i,
    .gt-header .gt-has-sub:focus-within > .gt-nav-link i {
        transform: none;
    }

    .gt-header .gt-has-sub.is-open > .gt-dropdown {
        display: block;
    }

    .gt-header .gt-has-sub.is-open > .gt-mega {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gt-header .gt-has-sub.is-open > .gt-nav-link i {
        transform: rotate(180deg);
    }

    .gt-header .gt-mega-link small {
        display: none;
    }

    .gt-header .gt-mega-link {
        align-items: center;
        padding: 8px;
    }

    .gt-nav-mobile-actions {
        display: grid;
        gap: 12px;
        margin-top: 24px;
    }

    .gt-nav-mobile-actions .gt-btn {
        width: 100%;
    }

    .gt-nav-mobile-login {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gt-nav-mobile-login .gt-btn {
        padding: 13px 12px;
    }

    .gt-nav-call {
        text-align: center;
        color: var(--gt-blue);
        font-weight: 600;
        text-decoration: none;
        padding: 8px;
    }

    body.gt-menu-open {
        overflow: hidden;
    }
}

/* ---------- Footer ---------- */
footer.gt-footer {
    background: var(--gt-blue);   /* same blue as the "Request a demo" button */
    color: rgba(255, 255, 255, 0.92);
    padding: 64px 0 0;
    margin: 0;
    text-align: left;
    font-size: 15px;
}

.gt-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 48px;
}

.gt-footer-brand img {
    height: 46px;
    width: auto;
    background: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 18px;
}

.gt-footer p {
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    line-height: 1.7;
    opacity: 1;
}

.gt-footer .gt-footer-title {
    font-family: var(--gt-font-head);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 18px;
}

.gt-footer .gt-footer-title-sm {
    margin: 24px 0 12px;
    font-size: 14px;
}

.gt-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gt-footer-links li {
    margin-bottom: 10px;
}

.gt-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gt-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.gt-footer-links-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.gt-footer-links-inline li {
    margin: 0;
}

.gt-footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.gt-footer-contact i {
    color: #fff;
    margin-top: 4px;
    width: 16px;
}

.gt-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.gt-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.gt-footer-social a:hover {
    background: #fff;
    color: var(--gt-blue);
    text-decoration: none;
}

.gt-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding: 20px 0;
    font-size: 14px;
}

.gt-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* Small, quiet admin sign-in link next to the copyright */
.gt-footer-bottom .gt-footer-admin {
    color: #fff;
    opacity: 0.6;
    font-size: 13px;
    text-decoration: none;
}

.gt-footer-bottom .gt-footer-admin:hover,
.gt-footer-bottom .gt-footer-admin:focus-visible {
    opacity: 1;
    text-decoration: underline;
}

.gt-footer-admin i {
    font-size: 11px;
    margin-right: 3px;
}

@media (max-width: 960px) {
    .gt-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .gt-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ---------- Floating buttons ---------- */
.gt-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease;
}

.gt-whatsapp:hover {
    transform: scale(1.08);
    color: #fff;
}

.gt-to-top {
    position: fixed;
    right: 30px;
    bottom: 94px;
    z-index: 900;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: var(--gt-navy);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    box-shadow: var(--gt-shadow);
}

.gt-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gt-to-top:hover {
    background: var(--gt-blue);
}

/* ---------- Scroll reveal ---------- */
.gt-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gt-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .gt-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .gt-btn:hover,
    .gt-whatsapp:hover {
        transform: none;
    }
}

/* =====================================================================
   Shared section styles (used by the home page and other pages)
   ===================================================================== */
.gt-section {
    padding: 96px 0;
}

.gt-section-alt {
    background: var(--gt-bg);
}

.gt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--gt-font-head);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gt-green-dark);
    margin-bottom: 14px;
}

.gt-eyebrow::before {
    content: "";
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: var(--gt-gradient);
}

.gt-heading {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--gt-navy);
    margin: 0 0 16px;
}

.gt-lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gt-muted);
    margin: 0;
}

.gt-section-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.gt-section-head .gt-eyebrow {
    justify-content: center;
}

@media (max-width: 768px) {
    .gt-section {
        padding: 64px 0;
    }

    .gt-section-head {
        margin-bottom: 40px;
    }
}

/* =====================================================================
   Content pages (body.gt-page): About, Blog, FAQs, Careers, Contact,
   Clients, Request demo, Privacy, Terms. One consistent page hero.
   ===================================================================== */
body.gt-page:not(.gt-page-photo) .hero,
body.gt-page .page-header {
    position: relative;
    background:
        radial-gradient(circle at 85% 15%, rgba(122, 201, 67, 0.22), transparent 45%),
        radial-gradient(circle at 10% 95%, rgba(0, 119, 200, 0.35), transparent 50%),
        linear-gradient(135deg, var(--gt-navy) 0%, var(--gt-navy-2) 100%);
    color: #fff;
    padding: 80px 24px 88px;
    text-align: center;
}

/* Pages whose hero is a photo: keep the photo, add the navy overlay */
body.gt-page-photo .hero,
body.gt-page-photo .contact-hero {
    position: relative;
    min-height: 0;
    padding: 104px 24px 112px;
    text-align: center;
    color: #fff;
}

body.gt-page-photo .hero::before,
body.gt-page-photo .contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 38, 64, 0.90) 0%, rgba(18, 56, 92, 0.72) 100%);
    z-index: 0;
}

body.gt-page-photo .hero > *,
body.gt-page-photo .contact-hero > * {
    position: relative;
    z-index: 1;
}

body.gt-page .hero h1,
body.gt-page .page-header h1,
body.gt-page .contact-hero h1 {
    font-size: clamp(32px, 4.6vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0 auto 16px;
    max-width: 860px;
    text-shadow: none;
}

body.gt-page .hero p,
body.gt-page .page-header p,
body.gt-page .contact-hero p {
    font-size: clamp(16px, 1.6vw, 19px);
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: none;
    opacity: 1;
}

/* Shared accents on content pages */
body.gt-page .stats-section {
    background: var(--gt-gradient);
    border-radius: 24px;
}

body.gt-page .stat-number {
    color: #fff;
    font-family: var(--gt-font-head);
}

body.gt-page .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 600px) {
    body.gt-page .stats-section {
        padding: 32px 16px;
    }

    body.gt-page .stats-grid {
        gap: 20px 12px;
    }

    body.gt-page .stat-card {
        min-width: 0;
        padding: 0;
    }

    body.gt-page .stat-number {
        font-size: 34px;
    }
}

/* =====================================================================
   Login pages: client / staff switcher and the staff page
   ===================================================================== */
.gt-staff-login {
    min-height: calc(100vh - 200px);
    display: grid;
    place-items: center;
    padding: 72px 20px;
    background:
        radial-gradient(circle at 85% 15%, rgba(122, 201, 67, 0.18), transparent 45%),
        radial-gradient(circle at 10% 95%, rgba(0, 119, 200, 0.30), transparent 50%),
        linear-gradient(135deg, var(--gt-navy) 0%, var(--gt-navy-2) 100%);
}

/* Staff portal: official platform logos on the FMS cards */
.system-card .system-icon.system-logo {
    width: 100%;
    max-width: 240px;
    height: 104px;
    margin: 0 auto 22px;
    padding: 14px 20px;
    border-radius: 16px;
    border: 1px solid var(--gt-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: inherit;
    transform: none;
}

.system-card:hover .system-icon.system-logo {
    background: #fff;
    transform: none;
    border-color: var(--gt-blue);
    box-shadow: 0 8px 20px rgba(0, 119, 200, 0.12);
}

.system-card .system-logo img {
    display: block;
    max-width: 100%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Card without a logo: a plain icon in the same tile */
.system-card .system-logo-icon i {
    font-size: 44px;
    color: var(--gt-blue);
}

/* iTrackSafe's logo is white, so it sits on navy with its name beside it */
.system-card .system-icon.system-logo-dark,
.system-card:hover .system-icon.system-logo-dark {
    background: var(--gt-navy);
    border-color: var(--gt-navy);
}

.system-card .system-logo-dark img {
    max-height: 48px;
}

.system-card .system-logo-dark span {
    font-family: var(--gt-font-head);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

/* Login pages: the home hero video behind the card */
.gt-login-hero {
    position: relative;
    overflow: hidden;
    background: var(--gt-navy) url('../../images/hero-poster.jpg') center / cover no-repeat;
}

.gt-login-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gt-login-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 45%, rgba(10, 38, 64, 0.45), rgba(10, 38, 64, 0.85) 75%),
        rgba(10, 38, 64, 0.35);
}

.gt-login-hero .gt-staff-card {
    position: relative;
    z-index: 1;
}

.gt-login-video-toggle {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    background: rgba(10, 38, 64, 0.4);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gt-login-video-toggle:hover {
    background: var(--gt-blue);
    border-color: var(--gt-blue);
}

.gt-login-video-toggle[hidden] {
    display: none;
}

.gt-staff-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 24px;
    padding: 40px 36px;
    text-align: center;
    box-shadow: var(--gt-shadow-lg);
}

.gt-staff-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: var(--gt-blue-soft);
    color: var(--gt-blue);
    font-size: 30px;
}

.gt-staff-card h1 {
    font-size: clamp(26px, 3.4vw, 32px);
    font-weight: 800;
    color: var(--gt-navy);
    margin: 0 0 12px;
}

.gt-staff-card p {
    color: var(--gt-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 24px;
}

.gt-staff-contacts {
    list-style: none;
    margin: 0 0 28px;
    padding: 16px;
    display: grid;
    gap: 10px;
    background: var(--gt-bg);
    border-radius: var(--gt-radius);
}

.gt-staff-contacts li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.gt-staff-contacts i {
    color: var(--gt-blue);
}

.gt-staff-contacts a {
    color: var(--gt-navy);
    font-weight: 600;
    text-decoration: none;
}

.gt-staff-contacts a:hover {
    color: var(--gt-blue);
}

.gt-staff-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Staff sign-in, password and admin pages ---------- */
.gt-auth-card {
    max-width: 480px;
}

.gt-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
    padding: 12px 16px;
    border-radius: var(--gt-radius-sm);
    font-size: 14.5px;
    margin: 0 0 20px;
}

.gt-alert i {
    margin-top: 3px;
}

.gt-alert-success {
    background: var(--gt-green-soft);
    color: var(--gt-green-dark);
}

.gt-alert-error {
    background: #fdecea;
    color: #b42318;
}

.gt-auth-form {
    display: grid;
    gap: 8px;
    text-align: left;
}

.gt-auth-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gt-navy);
    margin-top: 8px;
}

.gt-auth-form input,
.gt-auth-form select {
    width: 100%;
    font: inherit;
    font-size: 15px;
    padding: 13px 15px;
    border: 1.5px solid var(--gt-border);
    border-radius: var(--gt-radius-sm);
    background: #fbfcfe;
    color: var(--gt-text);
}

.gt-auth-form input:focus,
.gt-auth-form select:focus {
    outline: none;
    border-color: var(--gt-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 119, 200, 0.12);
}

.gt-input-icon {
    position: relative;
}

.gt-input-icon > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gt-muted);
    font-size: 14px;
    pointer-events: none;
}

.gt-input-icon input {
    padding-left: 42px;
    padding-right: 46px;
}

.gt-show-password {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--gt-muted);
    cursor: pointer;
}

.gt-show-password:hover {
    color: var(--gt-blue);
    background: var(--gt-bg);
}

.gt-field-hint {
    font-size: 13px !important;
    margin: 0 !important;
    color: var(--gt-muted);
}

.gt-auth-submit {
    width: 100%;
    margin-top: 16px;
}

.gt-auth-help {
    font-size: 14px !important;
    margin: 20px 0 0 !important;
}

.gt-auth-help a {
    color: var(--gt-blue);
}

/* Signed-in bar */
.gt-staff-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    margin: 0 0 28px;
    background: var(--gt-bg);
    border: 1px solid var(--gt-border);
    border-radius: var(--gt-radius);
    text-align: left;
}

.gt-staff-who {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.gt-staff-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gt-blue);
    color: #fff;
    font-family: var(--gt-font-head);
    font-weight: 800;
}

.gt-staff-who strong {
    display: block;
    color: var(--gt-navy);
    font-size: 15px;
}

.gt-staff-who div span {
    display: block;
    color: var(--gt-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.gt-staff-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
}

.gt-staff-links a,
.gt-staff-links button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    padding: 4px 0;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--gt-blue);
    text-decoration: none;
    cursor: pointer;
}

.gt-staff-links a:hover,
.gt-staff-links button:hover {
    text-decoration: underline;
}

.gt-staff-links form {
    margin: 0;
}

.gt-staff-links button {
    color: #b42318;
}

/* Admin page */
.gt-staff-admin-main {
    place-items: start center;
}

.gt-admin-card {
    max-width: 1000px;
    text-align: left;
}

.gt-admin-card > h1,
.gt-admin-card > p {
    text-align: left;
}

.gt-admin-h2 {
    font-size: 19px;
    color: var(--gt-navy);
    margin: 32px 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gt-admin-h2 span {
    font-size: 13px;
    background: var(--gt-bg);
    color: var(--gt-muted);
    padding: 2px 10px;
    border-radius: 999px;
}

.gt-table-wrap {
    border: 1px solid var(--gt-border);
    border-radius: var(--gt-radius);
    overflow-x: auto;
}

.gt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

.gt-table th {
    text-align: left;
    background: var(--gt-bg);
    color: var(--gt-muted);
    font-weight: 600;
    font-size: 13px;
    padding: 12px 16px;
}

.gt-table td {
    padding: 14px 16px;
    border-top: 1px solid var(--gt-border);
    vertical-align: middle;
    color: var(--gt-text);
}

.gt-table-actions {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.gt-table-actions form {
    margin: 0;
}

.gt-link-btn {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--gt-blue);
    cursor: pointer;
    white-space: nowrap;
}

.gt-link-btn:hover {
    text-decoration: underline;
}

.gt-link-danger {
    color: #b42318;
}

.gt-tag {
    display: inline-block;
    margin-left: 6px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--gt-blue-soft);
    color: var(--gt-blue);
    vertical-align: middle;
}

.gt-tag-warn {
    background: #fff4e5;
    color: #9a5b00;
}

.gt-issued {
    border: 1.5px dashed var(--gt-blue);
    background: var(--gt-blue-soft);
    border-radius: var(--gt-radius);
    padding: 16px 18px;
    margin-bottom: 8px;
}

.gt-issued p {
    font-size: 14.5px !important;
    margin: 0 0 12px !important;
    color: var(--gt-text) !important;
}

.gt-issued-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gt-issued code {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--gt-navy);
}

.gt-add-form {
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: end;
    gap: 12px;
}

.gt-add-form label {
    display: block;
    margin: 0 0 6px;
}

@media (max-width: 860px) {
    .gt-add-form {
        grid-template-columns: 1fr;
    }

    .gt-table thead {
        display: none;
    }

    .gt-table tr {
        display: block;
        padding: 12px 0;
        border-top: 1px solid var(--gt-border);
    }

    .gt-table tr:first-child {
        border-top: 0;
    }

    .gt-table td {
        display: block;
        border: 0;
        padding: 4px 16px;
    }

    .gt-table td[data-label]::before {
        content: attr(data-label) ": ";
        color: var(--gt-muted);
        font-size: 13px;
    }

    .gt-table-actions {
        justify-content: flex-start;
        padding-top: 8px !important;
    }
}

@media (max-width: 520px) {
    .gt-staff-card {
        padding: 32px 20px;
    }

    .gt-staff-actions .gt-btn {
        width: 100%;
    }
}

/* =====================================================================
   Service / product page template  (body.gt-product)
   Used by the 15 service pages, which share the same markup.
   ===================================================================== */
body.gt-product {
    background: #fff;
}

body.gt-product .hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(122, 201, 67, 0.22), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(0, 119, 200, 0.35), transparent 50%),
        linear-gradient(135deg, var(--gt-navy) 0%, var(--gt-navy-2) 100%);
    color: #fff;
    padding: 72px 24px 80px;
}

body.gt-product .hero .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
}

body.gt-product .hero-content-wrapper {
    gap: 56px;
}

body.gt-product .hero h1 {
    font-size: clamp(34px, 4.6vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #fff;
}

body.gt-product .breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
}

body.gt-product .breadcrumb a {
    color: #b8e59a;
}

body.gt-product .breadcrumb span {
    color: #fff;
}

body.gt-product .hero-image img {
    width: 460px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    border: 4px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    filter: none;
    background: #fff;
}

body.gt-product .main-content {
    max-width: 1240px;
    padding: 88px 24px;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
}

body.gt-product .description-section {
    padding-right: 0;
}

body.gt-product .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gt-green-soft);
    color: var(--gt-green-dark);
    font-family: var(--gt-font-head);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

body.gt-product .description-section h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    line-height: 1.35;
    color: var(--gt-navy);
    margin-bottom: 20px;
}

body.gt-product .description-section p {
    color: var(--gt-muted);
    font-size: 16.5px;
    line-height: 1.8;
}

body.gt-product .features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 32px 0;
}

body.gt-product .features-list li {
    background: var(--gt-bg);
    border: 1px solid var(--gt-border);
    border-radius: var(--gt-radius-sm);
    padding: 14px 14px 14px 48px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gt-text);
    line-height: 1.45;
}

body.gt-product .features-list li:empty {
    display: none;
}

body.gt-product .features-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 14px;
    top: 13px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    color: #fff;
    background: var(--gt-green);
}

body.gt-product .demo-form-section {
    background: #fff;
    border: 1px solid var(--gt-border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--gt-shadow);
    top: calc(var(--gt-header-h) + 24px);
}

body.gt-product .demo-form-section::before {
    content: "Free demo";
    display: inline-block;
    background: var(--gt-blue-soft);
    color: var(--gt-blue);
    font-family: var(--gt-font-head);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

body.gt-product .demo-form-section h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--gt-navy);
    margin-bottom: 24px;
}

body.gt-product .demo-form {
    gap: 14px;
}

body.gt-product .form-row {
    gap: 14px;
}

body.gt-product .demo-form input,
body.gt-product .demo-form textarea,
body.gt-product .demo-form select {
    font-family: var(--gt-font-body);
    padding: 14px 16px;
    border: 1.5px solid var(--gt-border);
    border-radius: var(--gt-radius-sm);
    font-size: 15px;
    background: #fbfcfe;
    color: var(--gt-text);
}

body.gt-product .demo-form input:focus,
body.gt-product .demo-form textarea:focus,
body.gt-product .demo-form select:focus {
    border-color: var(--gt-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 119, 200, 0.12);
}

body.gt-product .demo-form button {
    background: var(--gt-blue);
    color: #fff;
    border-radius: 999px;
    font-family: var(--gt-font-head);
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    box-shadow: 0 10px 24px rgba(0, 119, 200, 0.28);
}

body.gt-product .demo-form button:hover {
    background: var(--gt-blue-dark);
    box-shadow: 0 14px 30px rgba(0, 119, 200, 0.38);
}

body.gt-product .benefits-section {
    max-width: none;
    background: var(--gt-bg);
    padding: 88px 24px;
}

body.gt-product .benefits-section > * {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

body.gt-product .section-title {
    margin-bottom: 48px;
}

body.gt-product .section-title h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    color: var(--gt-navy);
}

body.gt-product .section-title p {
    color: var(--gt-muted);
}

body.gt-product .benefits-grid {
    gap: 20px;
}

body.gt-product .benefit-item {
    background: #fff;
    border: 1px solid var(--gt-border);
    border-radius: var(--gt-radius);
    padding: 32px 24px;
    box-shadow: var(--gt-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.gt-product .benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--gt-shadow);
}

body.gt-product .benefit-number {
    font-family: var(--gt-font-head);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    background: var(--gt-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.gt-product .benefit-item h3 {
    color: var(--gt-navy);
    font-size: 19px;
}

body.gt-product .benefit-item p {
    color: var(--gt-muted);
}

@media (max-width: 968px) {
    body.gt-product .hero {
        padding: 48px 20px 56px;
    }

    body.gt-product .hero-content-wrapper {
        text-align: left;
        align-items: flex-start;
        gap: 28px;
    }

    body.gt-product .hero-image,
    body.gt-product .hero-image img {
        width: 100%;
    }

    body.gt-product .hero-image img {
        height: 220px;
    }

    body.gt-product .main-content {
        grid-template-columns: 1fr;
        padding: 56px 20px;
        gap: 48px;
    }

    body.gt-product .features-list {
        grid-template-columns: 1fr;
    }

    body.gt-product .demo-form-section {
        padding: 26px 20px;
    }
}


/* Count badge (e.g. course payments waiting) in the staff bar */
.gt-badge-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 4px;
    border-radius: 999px;
    background: #e53e3e;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

/* ---------- Breadcrumbs and back links (includes/breadcrumb.php) ---------- */
.gt-crumbs {
    display: inline-block;
    margin: 0 0 18px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 14px;
    line-height: 1.4;
}

.gt-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gt-crumbs li {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-weight: 600;
}

.gt-crumbs li + li::before {
    content: "\f054";                 /* chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 9px;
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.55);
}

.gt-crumbs a,
.gt-crumbs span:not([aria-current]) {
    color: #b8e59a;
    font-weight: 500;
    text-decoration: none;
}

.gt-crumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

.gt-crumbs a i {
    font-size: 12px;
    margin-right: 2px;
}

/* On white / light backgrounds */
.gt-crumbs-light {
    background: var(--gt-bg);
    border-color: var(--gt-border);
}

.gt-crumbs-light li {
    color: var(--gt-navy);
}

.gt-crumbs-light li + li::before {
    color: #9aa7b4;
}

.gt-crumbs-light a,
.gt-crumbs-light span:not([aria-current]) {
    color: var(--gt-blue);
}

.gt-crumbs-light a:hover {
    color: var(--gt-blue-dark);
}

/* "← Back to …" link */
.gt-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 12px;
    border-radius: 999px;
    color: var(--gt-blue);
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.gt-back-link:hover {
    background: var(--gt-blue-soft);
    color: var(--gt-blue-dark);
}

.gt-back-link i {
    transition: transform 0.2s ease;
}

.gt-back-link:hover i {
    transform: translateX(-3px);
}

/* On dark / video backgrounds (login pages) */
.gt-back-link-light {
    color: #fff;
    background: rgba(10, 38, 64, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.gt-back-link-light:hover {
    background: rgba(255, 255, 255, 0.92);
    color: var(--gt-navy);
}

/* Back link sitting above a login card on a video background */
.gt-login-back {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    margin: 0 auto 14px;
}

.gt-auth-card + .gt-login-back,
.gt-login-back:has(+ .gt-auth-card) {
    max-width: 480px;
}

/* Back link / breadcrumb inside a white card (staff pages) */
.gt-card-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 18px;
    text-align: left;
}

.gt-card-nav .gt-crumbs {
    margin: 0;
}
.gt-staff-login { align-content: center; }

/* ---------- Website admin login (staff-login.php) ---------- */
.gt-admin-login {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 940px;
    min-width: 0;
}

.gt-admin-login .gt-login-back {
    max-width: none;
}

.gt-admin-login-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--gt-shadow-lg);
}

/* Navy side panel: what the admin manages */
.gt-admin-login-side {
    background: var(--gt-navy);
    color: #fff;
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
}

.gt-admin-login-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(122, 201, 67, 0.5);
    color: var(--gt-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gt-admin-login-side h2 {
    color: #fff;
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 800;
    margin: 22px 0 8px;
}

.gt-admin-login-side > p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15.5px;
    line-height: 1.65;
    margin: 0 0 28px;
}

.gt-admin-login-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.gt-admin-login-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.gt-admin-login-list li > span {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--gt-green);
    font-size: 16px;
}

.gt-admin-login-list strong {
    display: block;
    font-size: 15px;
    color: #fff;
}

.gt-admin-login-list small {
    display: block;
    margin-top: 2px;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.68);
}

/* Form side */
.gt-admin-login-form {
    padding: 44px 40px 36px;
    text-align: center;
}

.gt-admin-login-form h1 {
    font-size: clamp(26px, 3vw, 30px);
    font-weight: 800;
    color: var(--gt-navy);
    margin: 0 0 8px;
}

.gt-admin-login-form > p {
    color: var(--gt-muted);
    font-size: 15.5px;
    margin: 0 0 22px;
}

.gt-admin-login-form .gt-staff-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    font-size: 24px;
    margin-bottom: 16px;
}

.gt-admin-login-form .gt-auth-help {
    color: var(--gt-muted);
}

/* Redirect for staff who land here by mistake */
.gt-admin-login-staff {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 14px 16px;
    border: 1.5px solid var(--gt-border);
    border-radius: var(--gt-radius);
    text-align: left;
    font-size: 14px;
    color: var(--gt-text);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.gt-admin-login-staff > i:first-child {
    color: var(--gt-blue);
    font-size: 18px;
}

.gt-admin-login-staff > i:last-child {
    margin-left: auto;
    color: var(--gt-blue);
    font-size: 13px;
    transition: transform 0.2s ease;
}

.gt-admin-login-staff strong {
    color: var(--gt-navy);
}

.gt-admin-login-staff:hover,
.gt-admin-login-staff:focus-visible {
    border-color: var(--gt-blue);
    background: var(--gt-blue-soft);
}

.gt-admin-login-staff:hover > i:last-child {
    transform: translateX(3px);
}

@media (max-width: 820px) {
    .gt-admin-login {
        max-width: 480px;
    }

    .gt-admin-login-card {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Phones: a short navy strip instead of the full list */
    .gt-admin-login-side {
        padding: 22px 24px;
    }

    .gt-admin-login-side h2 {
        margin: 12px 0 4px;
        font-size: 22px;
    }

    .gt-admin-login-side > p {
        margin: 0;
        font-size: 14.5px;
    }

    .gt-admin-login-list {
        display: none;
    }

    .gt-admin-login-form {
        padding: 32px 24px 28px;
    }
}

/* =====================================================================
   Service pages: livelier hero and sections (body.gt-product)
   ===================================================================== */
@property --gt-svc-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Drifting dot grid + slowly moving glows behind the hero */
body.gt-product .hero::before {
    content: "";
    position: absolute;
    inset: -40px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.2px, transparent 1.3px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
    animation: gt-svc-grid 26s linear infinite;
    pointer-events: none;
}

body.gt-product .hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -120px;
    top: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(122, 201, 67, 0.28), transparent 65%);
    filter: blur(10px);
    animation: gt-svc-drift 14s ease-in-out infinite alternate;
    pointer-events: none;
}

body.gt-product .hero .container {
    position: relative;
    z-index: 1;
}

/* Text column: breadcrumb on top, then title, summary, buttons, trust points */
body.gt-product .hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body.gt-product .hero-text .breadcrumb {
    order: -1;
    margin: 0 0 18px;
}

body.gt-product .hero-text > * {
    opacity: 0;
    animation: gt-svc-up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

body.gt-product .hero-text > .breadcrumb { animation-delay: 0.05s; }
body.gt-product .hero-text > h1 { animation-delay: 0.15s; }
body.gt-product .hero-text > .gt-svc-lead { animation-delay: 0.3s; }
body.gt-product .hero-text > .gt-svc-actions { animation-delay: 0.42s; }
body.gt-product .hero-text > .gt-svc-trust { animation-delay: 0.54s; }

body.gt-product .hero h1 {
    margin-bottom: 14px;
}

.gt-svc-lead {
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 0 26px;
}

.gt-svc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.gt-svc-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px;
    font-weight: 600;
}

.gt-svc-trust i {
    color: var(--gt-green);
    margin-right: 6px;
}

/* Product image: floats, with a rotating green/blue glow behind it */
body.gt-product .hero-image {
    position: relative;
    opacity: 0;
    animation:
        gt-svc-in-right 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s forwards,
        gt-svc-float 6s ease-in-out 1.2s infinite;
}

body.gt-product .hero-image::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 30px;
    background: conic-gradient(from var(--gt-svc-angle), rgba(122, 201, 67, 0.85), rgba(0, 119, 200, 0.2), rgba(47, 168, 232, 0.85), rgba(122, 201, 67, 0.2), rgba(122, 201, 67, 0.85));
    filter: blur(18px);
    opacity: 0.75;
    animation: gt-svc-spin 8s linear infinite;
    z-index: 0;
}

body.gt-product .hero-image img {
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

body.gt-product .hero-image:hover img {
    transform: scale(1.02) rotate(-0.6deg);
}

@keyframes gt-svc-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes gt-svc-in-right {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: none; }
}

@keyframes gt-svc-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

@keyframes gt-svc-spin {
    to { --gt-svc-angle: 360deg; }
}

@keyframes gt-svc-grid {
    to { background-position: 26px 52px; }
}

@keyframes gt-svc-drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-140px, 120px) scale(1.15); }
}

/* Feature list: items respond to hover */
body.gt-product .features-list li {
    border-radius: 12px;
    transition: background 0.25s ease, transform 0.25s ease;
}

body.gt-product .features-list li:hover {
    background: var(--gt-blue-soft);
    transform: translateX(4px);
}

/* Benefit cards: gradient bar sweeps in on hover, number in gradient text */
body.gt-product .benefit-item {
    position: relative;
    overflow: hidden;
}

body.gt-product .benefit-item::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--gt-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}

body.gt-product .benefit-item:hover::before {
    transform: scaleX(1);
}

body.gt-product .benefit-number {
    background: var(--gt-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Smooth jump to the demo form, clear of the sticky header */
body.gt-product #demo {
    scroll-margin-top: calc(var(--gt-header-h) + 20px);
}

@media (max-width: 968px) {
    body.gt-product .hero::after {
        width: 320px;
        height: 320px;
    }

    body.gt-product .hero-image::before {
        inset: -8px;
    }

    .gt-svc-actions .gt-btn {
        flex: 1 1 200px;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.gt-product .hero::before,
    body.gt-product .hero::after,
    body.gt-product .hero-image::before,
    body.gt-product .hero-text > *,
    body.gt-product .hero-image {
        animation: none;
        opacity: 1;
    }
}

/* ---------- Service pages: background video in the hero ---------- */
body.gt-product .hero {
    background-color: var(--gt-navy);
}

.gt-svc-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Darker on the left behind the text, lighter on the right */
.gt-svc-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(10, 38, 64, 0.94) 0%, rgba(10, 38, 64, 0.82) 45%, rgba(10, 38, 64, 0.55) 100%),
        radial-gradient(circle at 10% 90%, rgba(0, 119, 200, 0.35), transparent 50%);
}

body.gt-product .hero::before,
body.gt-product .hero::after {
    z-index: 1;
}

body.gt-product .hero .container {
    z-index: 2;
}

.gt-svc-video-toggle {
    position: absolute;
    left: 24px;
    bottom: 20px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    background: rgba(10, 38, 64, 0.4);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gt-svc-video-toggle:hover {
    background: var(--gt-blue);
    border-color: var(--gt-blue);
}

.gt-svc-video-toggle[hidden] {
    display: none;
}

@media (max-width: 968px) {
    .gt-svc-video-overlay {
        background: rgba(10, 38, 64, 0.84);
    }

    .gt-svc-video-toggle {
        left: auto;
        right: 16px;
        bottom: 16px;
    }
}

/* ---------- Service pages: translucent (frosted glass) product picture card ---------- */
body.gt-product .hero-image {
    padding: 12px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 24px 50px rgba(4, 20, 36, 0.40);
}

/* Keep the rotating glow behind the glass, not on top of it */
body.gt-product .hero-image::before {
    z-index: -1;
}

body.gt-product .hero-image img {
    display: block;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 0.84;
    box-shadow: none;
    transition: transform 0.5s ease, opacity 0.4s ease;
}

body.gt-product .hero-image:hover img {
    opacity: 1;
}

/* Browsers without blur support: a darker tint so the card still reads */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    body.gt-product .hero-image {
        background: rgba(10, 38, 64, 0.55);
    }
}

@media (max-width: 968px) {
    body.gt-product .hero-image {
        padding: 8px;
        border-radius: 20px;
    }

    body.gt-product .hero-image img {
        border-radius: 13px;
    }
}

/* Keep the glass card the same overall size as before (picture + 12px frame) */
@media (min-width: 969px) {
    body.gt-product .hero-image img {
        width: 436px;
        height: 276px;
    }
}

/* Phones: pause button top-right, clear of the picture card */
@media (max-width: 968px) {
    .gt-svc-video-toggle {
        top: 16px;
        bottom: auto;
    }
}

/* Products with the white background removed (images/*-cut.png):
   the product floats on the glass card instead of sitting on a light box */
body.gt-product .hero-image img.is-cutout {
    background: transparent;
    opacity: 1;
    object-fit: contain;
    padding: 18px;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
}

body.gt-product .hero-image:hover img.is-cutout {
    transform: scale(1.04) rotate(-1deg);
}

/* Product picture card: no coloured glow around it, and a see-through edge */
body.gt-product .hero-image::before {
    content: none;
    animation: none;
}

body.gt-product .hero-image {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 20px 44px rgba(4, 20, 36, 0.30);
}

/* Benefit cards: solid brand blue instead of the green-blue gradient */
body.gt-product .benefit-number {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: var(--gt-blue);
}

body.gt-product .benefit-item::before {
    background: var(--gt-blue);
}

/* ---------- Fleet page: GPS tracker cards ---------- */
body.gt-product .tracker-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 26px;
    filter: none;
}

/* Every tracker picture in the same frame: a soft glass panel, product centred */
body.gt-product .tracker-header img {
    width: 100%;
    max-width: 320px;
    height: 220px;
    object-fit: contain;
    padding: 14px;
    margin: 18px auto 0;
    display: block;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

body.gt-product .tracker-header img.is-cutout {
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.35));
}

/* Photo that still has a white background: show it as a white card inside the frame */
body.gt-product .tracker-header img:not(.is-cutout) {
    background: #fff;
    padding: 6px;
}

/* ---------- Fleet page: tracker cards as floating glass (no blue blocks) ---------- */
body.gt-product .trackers-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 119, 200, 0.10), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(122, 201, 67, 0.12), transparent 40%),
        #f5f8fb;
}

body.gt-product .tracker-card {
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(10, 38, 64, 0.10);
    overflow: visible;
    animation: gt-trk-float 6s ease-in-out infinite;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

body.gt-product .tracker-card:nth-child(2) { animation-delay: -2s; }
body.gt-product .tracker-card:nth-child(3) { animation-delay: -4s; }

body.gt-product .tracker-card:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 28px 60px rgba(10, 38, 64, 0.16);
}

body.gt-product .tracker-header {
    background: transparent;
    color: var(--gt-navy);
    padding: 36px 28px 8px;
}

body.gt-product .tracker-header h3 {
    color: var(--gt-navy);
}

body.gt-product .tracker-header p {
    color: var(--gt-green-dark);
    font-weight: 700;
    opacity: 1;
}

body.gt-product .tracker-icon {
    background: var(--gt-blue-soft);
    border-color: transparent;
    color: var(--gt-blue);
}

/* Devices float on their own, without a box */
body.gt-product .tracker-header img,
body.gt-product .tracker-header img:not(.is-cutout) {
    background: transparent;
    border: 0;
    padding: 10px;
}

body.gt-product .tracker-header img.is-cutout {
    filter: drop-shadow(0 22px 22px rgba(10, 38, 64, 0.28));
    animation: gt-trk-bob 4.5s ease-in-out infinite;
}

/* The photo that still has a white background blends into the glass */
body.gt-product .tracker-header img:not(.is-cutout) {
    mix-blend-mode: multiply;
}

body.gt-product .tracker-body {
    padding: 24px 28px 34px;
}

@keyframes gt-trk-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}

@keyframes gt-trk-bob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-1.5deg); }
}

@media (prefers-reduced-motion: reduce) {
    body.gt-product .tracker-card,
    body.gt-product .tracker-header img.is-cutout {
        animation: none;
    }
}

/* Tracker feature boxes: stay inside the card */
body.gt-product .tracker-body .features-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.gt-product .tracker-body .features-list li {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Tracker features: one per line so words never break */
body.gt-product .tracker-body .features-list {
    grid-template-columns: 1fr;
    gap: 8px;
}

body.gt-product .tracker-body .features-list li {
    overflow-wrap: normal;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Page banner in plain brand blue (same as the "Request a demo" button) */
body.gt-page .hero.gt-hero-blue,
body.gt-page .page-header.gt-hero-blue {
    background: var(--gt-blue);
}

.gt-hero-blue .gt-crumbs a,
.gt-hero-blue .gt-crumbs span:not([aria-current]) {
    color: rgba(255, 255, 255, 0.85);
}

.gt-hero-blue .gt-crumbs a:hover {
    color: #fff;
}

.gt-hero-blue .gt-crumbs {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
}

/* =====================================================================
   About page (body.gt-about)
   ===================================================================== */
/* Stats band: solid brand blue, no gradient */
body.gt-about .stats-section {
    background: var(--gt-blue);
}

/* Icon tiles in place of emoji */
body.gt-about .stat-icon,
body.gt-about .value-icon,
body.gt-about .reason-icon,
.about-mv-icon {
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 22px;
    line-height: 1;
}

body.gt-about .stat-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

body.gt-about .value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    background: var(--gt-blue-soft);
    color: var(--gt-blue);
    font-size: 24px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

body.gt-about .value-card:hover .value-icon {
    background: var(--gt-blue);
    color: #fff;
    transform: rotate(-6deg) scale(1.06);
}

body.gt-about .reason-icon {
    width: 48px;
    height: 48px;
    flex: none;
    background: var(--gt-green-soft);
    color: var(--gt-green-dark);
    font-size: 20px;
}

.about-mv-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    background: var(--gt-blue-soft);
    color: var(--gt-blue);
}

/* Cards lift on hover */
body.gt-about .value-card,
body.gt-about .reason-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.gt-about .value-card:hover,
body.gt-about .reason-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--gt-shadow);
}

/* Closing call to action: navy, so it doesn't merge into the blue footer */
body.gt-about .cta-section {
    background: var(--gt-navy);
}

body.gt-about .cta-section .btn-cta {
    background: var(--gt-blue);
    color: #fff;
}

body.gt-about .cta-section .btn-cta:hover {
    background: var(--gt-blue-dark);
}

/* About page: stats band */
body.gt-about .stats-section {
    position: relative;
    overflow: hidden;
    padding: 56px 32px;
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(0, 119, 200, 0.28);
}

/* Faint dot pattern drifting across the band */
body.gt-about .stats-section::before {
    content: "";
    position: absolute;
    inset: -30px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.2px, transparent 1.3px);
    background-size: 24px 24px;
    animation: gt-svc-grid 30s linear infinite;
    pointer-events: none;
}

body.gt-about .stats-grid {
    position: relative;
    gap: 0;
}

body.gt-about .stat-card {
    position: relative;
    padding: 8px 20px;
    transition: transform 0.3s ease;
}

/* Thin dividers between the stats */
body.gt-about .stat-card + .stat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
}

body.gt-about .stat-card:hover {
    transform: translateY(-4px);
}

body.gt-about .stat-card:hover .stat-icon {
    background: #fff;
    color: var(--gt-blue);
}

body.gt-about .stat-icon {
    transition: background 0.3s ease, color 0.3s ease;
}

body.gt-about .stat-number {
    font-family: var(--gt-font-head);
    font-size: clamp(40px, 4.6vw, 56px);
    font-weight: 800;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

/* "+" and "/7" smaller and in brand green */
body.gt-about .stat-suffix {
    font-size: 0.6em;
    color: var(--gt-green);
    margin-left: 2px;
    vertical-align: 0.38em;
}

body.gt-about .stat-label {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
}

@media (max-width: 768px) {
    body.gt-about .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }

    /* Two per row: only the right-hand column gets a divider */
    body.gt-about .stat-card + .stat-card::before {
        display: none;
    }

    body.gt-about .stat-card:nth-child(even)::before {
        display: block;
        content: "";
        position: absolute;
        left: 0;
        top: 12%;
        bottom: 12%;
        width: 1px;
        background: rgba(255, 255, 255, 0.25);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.gt-about .stats-section::before {
        animation: none;
    }
}

/* Review star ratings (Clients page) */
.gt-stars {
    display: inline-flex;
    gap: 3px;
    color: #f5b301;
    font-size: 16px;
}

/* Footer logo: white version straight on the blue, no white box */
.gt-footer-brand img {
    background: none;
    padding: 0;
    border-radius: 0;
    height: 44px;
}

/* =====================================================================
   Blog list (body.gt-blog)
   ===================================================================== */
.blog-hero {
    background: var(--gt-blue);
    color: #fff;
    text-align: center;
    padding: 64px 0 120px;
}

.blog-hero .gt-crumbs {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
}

.blog-hero .gt-crumbs a,
.blog-hero .gt-crumbs span:not([aria-current]) {
    color: rgba(255, 255, 255, 0.85);
}

.blog-hero h1 {
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
}

.blog-hero p {
    max-width: 640px;
    margin: 0 auto;
    font-size: clamp(16px, 1.6vw, 18.5px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
}

.blog-body {
    background: var(--gt-bg);
    padding: 0 0 88px;
}

/* Featured article overlaps the blue banner */
.blog-featured {
    position: relative;
    top: -72px;
    margin-bottom: -40px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--gt-shadow-lg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(10, 38, 64, 0.22);
}

.blog-featured-media,
.blog-card-media {
    position: relative;
    overflow: hidden;
}

.blog-featured-media img,
.blog-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-featured-media img {
    min-height: 340px;
}

.blog-featured:hover img,
.blog-card:hover img {
    transform: scale(1.06);
}

.blog-flag {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--gt-green);
    color: var(--gt-navy);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-featured-text {
    padding: 40px clamp(24px, 3.4vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-text h2 {
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--gt-navy);
    margin: 14px 0 12px;
}

.blog-featured-text p {
    color: var(--gt-muted);
    font-size: 16.5px;
    line-height: 1.7;
    margin: 0 0 22px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    color: var(--gt-muted);
    font-size: 13.5px;
    font-weight: 500;
}

.blog-meta i {
    margin-right: 4px;
    color: var(--gt-blue);
}

.blog-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--gt-blue-soft);
    color: var(--gt-blue-dark);
    font-size: 12.5px;
    font-weight: 800;
}

.blog-meta .blog-cat i {
    margin: 0;
    color: inherit;
}

.blog-cat-float {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.blog-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--gt-blue);
}

.blog-read i {
    transition: transform 0.25s ease;
}

.blog-featured:hover .blog-read i,
.blog-card:hover .blog-read i {
    transform: translateX(4px);
}

/* Topic filter */
.blog-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 32px;
}

.blog-filter button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid var(--gt-border);
    border-radius: 999px;
    background: #fff;
    color: var(--gt-navy);
    font: 700 14.5px var(--gt-font-body);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.blog-filter button i {
    color: var(--gt-blue);
}

.blog-filter button:hover {
    border-color: var(--gt-blue);
}

.blog-filter button.is-active {
    background: var(--gt-blue);
    border-color: var(--gt-blue);
    color: #fff;
}

.blog-filter button.is-active i {
    color: #fff;
}

/* Article cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--gt-border);
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--gt-shadow);
}

.blog-card-media {
    aspect-ratio: 16 / 9;
}

.blog-card-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-body h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--gt-navy);
    margin: 12px 0 10px;
}

.blog-card-body p {
    color: var(--gt-muted);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 18px;
    flex: 1;
}

.blog-empty {
    text-align: center;
    color: var(--gt-muted);
}

.blog-featured[hidden],
.blog-card[hidden] {
    display: none;
}

@media (max-width: 860px) {
    .blog-featured {
        grid-template-columns: 1fr;
        top: -56px;
        margin-bottom: -28px;
    }

    .blog-featured-media img {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .blog-featured-text {
        padding: 26px 22px 30px;
    }

    .blog-hero {
        padding: 48px 0 96px;
    }

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

/* Blog cards share the full width; a lone card stays a sensible size */
.blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.blog-grid > .blog-card:only-child {
    max-width: 560px;
}

/* =====================================================================
   Careers page (body.gt-careers)
   ===================================================================== */
.careers-hero-actions {
    display: flex;
    justify-content: center;
    margin: 6px 0 30px;
}

/* Culture photo */
body.gt-careers .culture-image.has-photo {
    position: relative;
    height: auto;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    background: var(--gt-navy);
    border-radius: 24px;
    box-shadow: var(--gt-shadow-lg);
}

body.gt-careers .culture-image.has-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

body.gt-careers .culture-image.has-photo:hover img {
    transform: scale(1.04);
}

.culture-photo-tag {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--gt-navy);
    font-size: 14px;
    font-weight: 700;
}

.culture-photo-tag i {
    color: var(--gt-blue);
}

/* Value list icons */
body.gt-careers .value-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    background: var(--gt-blue-soft);
    color: var(--gt-blue);
    font-size: 18px;
}

/* Benefit cards: icons in blue tiles, lift on hover */
body.gt-careers .benefit-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: var(--gt-blue-soft);
    color: var(--gt-blue);
    font-size: 26px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

body.gt-careers .benefit-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.gt-careers .benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--gt-shadow);
}

body.gt-careers .benefit-card:hover .benefit-icon {
    background: var(--gt-blue);
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}

/* Life at Gaptech: brand-blue tiles with an icon (until real team photos are added) */
body.gt-careers .gallery-item {
    background: var(--gt-blue);
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.3px);
    background-size: 22px 22px;
}

body.gt-careers .gallery-item:nth-child(even) {
    background-color: var(--gt-navy);
}

.gallery-icon {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 34px;
    transition: transform 0.35s ease, background 0.35s ease;
}

body.gt-careers .gallery-item:hover .gallery-icon {
    transform: translate(-50%, -56%) scale(1.06);
    background: rgba(255, 255, 255, 0.24);
}

body.gt-careers .gallery-overlay {
    background: linear-gradient(transparent, rgba(4, 20, 36, 0.75));
}

/* Closing call to action: navy, so it doesn't merge into the blue footer */
body.gt-careers .cta-section {
    background: var(--gt-navy);
}

body.gt-careers .btn-cta {
    border: 0;
    cursor: pointer;
    font-family: inherit;
    background: var(--gt-blue);
    color: #fff;
}

body.gt-careers .btn-cta:hover {
    background: var(--gt-blue-dark);
}

/* Application form */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.apply-status {
    margin: 4px 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.apply-status.is-success {
    background: var(--gt-green-soft);
    color: var(--gt-green-dark);
    border: 1px solid rgba(122, 201, 67, 0.5);
}

.apply-status.is-error {
    background: #fdecec;
    color: #b42318;
    border: 1px solid #f5b5b0;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* Careers: team testimonial */
body.gt-careers .testimonials-section {
    background: var(--gt-bg);
}

body.gt-careers .testimonial-card {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 56px clamp(24px, 5vw, 64px) 40px;
    background: #fff;
    border: 1px solid var(--gt-border);
    border-left: 0;
    border-radius: 26px;
    box-shadow: var(--gt-shadow);
}

/* Blue quote badge sitting on the top edge */
.testimonial-quote {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--gt-blue);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 12px 24px rgba(0, 119, 200, 0.35);
}

body.gt-careers .testimonial-text {
    font-family: var(--gt-font-head);
    font-size: clamp(18px, 2vw, 22px);
    font-style: normal;
    font-weight: 600;
    line-height: 1.6;
    color: var(--gt-navy);
    margin-bottom: 30px;
}

body.gt-careers .testimonial-author {
    padding-top: 24px;
    border-top: 1px solid var(--gt-border);
}

body.gt-careers .author-avatar {
    width: 56px;
    height: 56px;
    font-size: 20px;
    background: var(--gt-blue);
    box-shadow: 0 0 0 4px var(--gt-blue-soft);
}

body.gt-careers .author-info {
    text-align: left;
}

body.gt-careers .author-info h4 {
    color: var(--gt-navy);
    margin: 0 0 2px;
}

body.gt-careers .author-info p {
    color: var(--gt-green-dark);
    font-weight: 700;
    font-size: 14px;
    margin: 0;
}

/* School Bus Tracking page: login + app note */
.sbt-logins {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 26px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--gt-blue-soft);
}

.sbt-apps {
    color: var(--gt-navy);
    font-size: 14.5px;
    font-weight: 600;
}

.sbt-apps i {
    color: var(--gt-green-dark);
    margin-right: 4px;
}

/* FMS dropdown in the header */
.gt-dropdown-fms {
    min-width: 250px;
}

.gt-dropdown-fms strong {
    color: var(--gt-blue);
    margin-right: 4px;
}

/* Narrow laptops (1151-1260px): a little tighter so the full menu fits on one row */
@media (min-width: 1151px) and (max-width: 1260px) {
    .gt-mainbar-inner {
        gap: 12px;
    }

    .gt-brand img {
        height: 40px;
        width: auto;
    }

    .gt-header .gt-nav-link {
        padding: 10px 7px;
        font-size: 14.5px;
    }

    .gt-header .gt-login-link {
        font-size: 14px;
    }

    .gt-header .gt-btn-sm {
        padding: 9px 14px;
        font-size: 14px;
    }
}

/* Staff Portal page: a single system card, centred */
.login-main .systems-grid {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
}
