/* ============================================================
   Brand palette - shares the site colours through CSS variables.
============================================================ */
:root {
    --color-dark: #00143b;
    /* --color-dark: #00143b; */
    --color-primary: #0138aa;
    --color-accent: #109ae8;
    --color-text: #252c36;
    --color-muted: #58616e;
    --color-border: #e3e4e6;
    --color-surface: #f5f7fa;
}


* {
    box-sizing: border-box;
}

/* ============================================================
   Site background - blends broad blue gradients from the corners and edges.
============================================================ */
body {
    margin: 0;
    color: var(--color-text);
    background-color: #fff;
    background-image:
        radial-gradient(ellipse 2160px 1680px at 0% 0%, rgb(16 154 232 / 24%), transparent 80%),
        radial-gradient(ellipse 2400px 1920px at 100% 40%, rgb(16 154 232 / 18%), transparent 80%),
        radial-gradient(ellipse 1920px 1560px at 0% 70%, rgb(16 154 232 / 16%), transparent 80%),
        radial-gradient(ellipse 1800px 1440px at 100% 100%, rgb(16 154 232 / 24%), transparent 80%);
    background-repeat: no-repeat;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}
.hero-container {
    width: 70%;
    margin-left: 15%;
}

.container {
    margin-top: 150px;
    width: 80%;
    margin-left: 10%;
}
.services-guide .container{
    margin-top: 0px;
    margin-bottom: 0px;
}

/* ============================================================
   Mobile containers - uses 90% of the screen with 5% side margins.
============================================================ */
@media (max-width: 771px) {

    /* ========================================================
       Mobile content width - accounts for existing section padding.
       Changes only horizontal container sizing, preserving heights.
    ======================================================== */
    .container,
    .hero-container {
        width: 90vw;
        margin-left: calc((100% - 90vw) / 2);
        margin-right: calc((100% - 90vw) / 2);
    }
}

a {
    color: var(--color-primary);
    text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 5px;
}

/* ============================================================
   Keyboard skip link - stays above the sidebar when focused.
============================================================ */
.skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 50;
    padding: 12px 20px;
    background: #fff;
}

/* ============================================================
   Skip link focus - reveals the shortcut for keyboard navigation.
============================================================ */
.skip-link:focus {
    top: 16px;
}

.sidebar {
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
}

/* ============================================================
   Brand link - controls the logo footprint inside the sidebar.
============================================================ */
.brand {
    display: block;
    width: 128px;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.navigation {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.navigation a {
    padding: 8px 16px;
    color: var(--color-dark);
    border-radius: 8px;
    text-decoration: none;
}

.navigation a:hover,
.navigation a[aria-current="page"] {
    color: var(--color-primary);
    background: #edf2fb;
}

.sidebar-note {
    margin-top: 32px;
    color: var(--color-muted);
    font-size: 13px;
}
/* ============================================================
   Hero section - fills the viewport and vertically centres its content.
============================================================ */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 56px 24px;
}

.eyebrow {
    margin: 0 0 24px;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

h1 {
    max-width: 900px;
    margin: 0 0 24px;
    color: var(--color-dark);
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}

/* ============================================================
   Section headings - scales titles to 1.5 times their previous size.
============================================================ */
h2 {
    margin: 0 0 32px;
    color: var(--color-dark);
    font-size: clamp(39px, 4.5vw, 60px);
    line-height: 1.2;
}

/* ============================================================
   Lead paragraph - gives introductions a readable size and width.
============================================================ */
.lead {
    max-width: 640px;
    margin: 0 0 32px;
    color: var(--color-muted);
    font-size: 18px;
}

/* ============================================================
   Hero eyebrows - highlights introductory labels in the light brand blue.
============================================================ */
.hero .eyebrow {
    color: var(--color-accent);
}

/* ============================================================
   Photo hero lead - softens supporting copy to light grey beneath the title.
============================================================ */
.hero--image .lead {
    color: #e3e4e6;
}

/* ============================================================
   Primary action - blends light blue at the top into royal blue below.
============================================================ */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 100%;
    padding: 16px 24px;
    color: #fff;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-primary));
    border-radius: 8px;
    overflow-wrap: anywhere;
    text-decoration: none;
    font-weight: 700;
}

/* ============================================================
   Primary action hover - deepens the gradient for pointer feedback.
============================================================ */
.button:hover {
    background: linear-gradient(to bottom, var(--color-primary), var(--color-dark));
}

/* ============================================================
   Development note - separates the temporary website status text.
============================================================ */
.development-note {
    margin: 32px 0 0;
    color: var(--color-muted);
    font-size: 13px;
}

/* ============================================================
   Content section - supplies consistent vertical and side spacing.
============================================================ */
.section {
    padding: 48px 24px;
}

/* ============================================================
   Service grid - stacks service cards with a consistent gap.
============================================================ */
.service-grid {
    display: grid;
    gap: 16px;
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-dark);
    text-decoration: none;
}

.service-card:hover {
    border-color: var(--color-primary);
    background: var(--color-surface);
}
/* ============================================================
   Shared footer - flows content across a row and wraps when needed.
============================================================ */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 32px 24px;
    border-top: 1px solid var(--color-border);
    font-size: 14px;
}

.footer p {
    margin: 0;
    color: var(--color-muted);
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

/* ============================================================
   Footer copyright - uses a muted colour for secondary information.
============================================================ */
.footer small {
    color: var(--color-muted);
}
/* ============================================================
   Tablet layout - switches service cards to two columns.
============================================================ */
@media (min-width: 640px) {

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* ============================================================
   Desktop layout - positions navigation and expands section spacing.
============================================================ */
@media (min-width: 960px) {

    .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: 256px;
        padding: 40px 24px;
        overflow-y: auto;
        border-right: 1px solid var(--color-border);
        border-bottom: 0;
    }

    .brand {
        width: 184px;
        margin: 0 auto;
    }

    .navigation {
        flex-direction: column;
        margin-top: 48px;
    }

    .sidebar-note {
        margin-top: 64px;
    }

    .site-content {
        margin-left: 256px;
    }

    .hero {
        padding: 96px 64px;
    }

    .section {
        padding: 64px;
    }

    .footer {
        padding: 40px 64px;
    }
}
/* ============================================================
   Footer contact group - aligns business details across a row.
============================================================ */
.footer-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.footer nav {
    gap: 16px;
}

.developer-credit {
    color: var(--color-muted);
    font-size: 12px;
}

/* ============================================================
   Sidebar controls - shares button reset and pointer behaviour.
============================================================ */
.sidebar-launcher,
.sidebar-close {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.sidebar-launcher {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgb(0 20 59 / 12%);
    transition: opacity 220ms ease, transform 420ms ease;
}

.sidebar-launcher img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.sidebar-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--color-dark);
    background: var(--color-surface);
    border-radius: 50%;
    font-size: 28px;
}

.sidebar-close:hover {
    background: var(--color-border);
}

.sidebar-launcher[hidden],
.sidebar-close[hidden] {
    display: none;
}

.navigation-enhanced .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
    width: 256px;
    max-width: calc(100vw - 24px);
    height: 100dvh;
    padding: 64px 24px 32px;
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid var(--color-border);
    border-bottom: 0;
    box-shadow: 8px 0 32px rgb(0 20 59 / 8%);
    transform-origin: 48px 48px;
    transition: transform 420ms cubic-bezier(.22, .8, .25, 1), opacity 300ms ease;
}

.navigation-enhanced .navigation {
    flex-direction: column;
}

.navigation-enhanced:not(.navigation-open) .sidebar {
    transform: scale(.04);
    opacity: 0;
    pointer-events: none;
}


.navigation-open .sidebar-launcher {
    opacity: 0;
    transform: scale(.65);
    pointer-events: none;
}
.navigation-enhanced .site-content {
    margin-left: 0;
    transition: margin-left 420ms cubic-bezier(.22, .8, .25, 1);
}

.navigation-enhanced .hero {
    padding-top: 112px;
}
/* ============================================================
   Initial desktop navigation - reserves space while default open.
============================================================ */
@media (min-width: 960px) {

    /* ========================================================
       Initially open content - offsets it beside the sidebar.
    ======================================================== */
    .navigation-pinned .site-content {
        margin-left: 256px;
    }
}
/* ============================================================
   Reduced motion - respects visitors who disable interface animation.
============================================================ */
@media (prefers-reduced-motion: reduce) {

    .navigation-enhanced .sidebar,
    .navigation-enhanced .site-content,
    .sidebar-launcher {
        transition: none;
    }
}

.sidebar-close {
    z-index: 2;
}

.sidebar {
    position: relative;
}

/* ============================================================
   Navigation discovery hint - floats left of the top-edge cursor.
============================================================ */
.navigation-hint {
    position: fixed;
    z-index: 40;
    width: 56px;
    height: 32px;
    color: #fff;
    pointer-events: none;
    filter: drop-shadow(0 0 2px #0138aa) drop-shadow(0 2px 4px #0138aa);
}

/* ============================================================
   Hidden discovery hint - removes the cue outside the top hover strip.
============================================================ */
.navigation-hint[hidden] {
    display: none;
}

/* ============================================================
   Hint direction - rotates the arrow to aim at the actual logo position.
============================================================ */
.navigation-hint-direction {
    display: block;
    width: 100%;
    height: 100%;
}

/* ============================================================
   Hint arrow - gently nudges left along its direction toward the logo.
============================================================ */
.navigation-hint-arrow {
    display: block;
    overflow: visible;
    animation: navigation-hint-nudge 1.2s ease-in-out infinite;
}

/* ============================================================
   Leftward nudge animation - moves eight pixels toward the navigation.
============================================================ */
@keyframes navigation-hint-nudge {

    /* ========================================================
       Resting arrow - returns to its original position between nudges.
    ======================================================== */
    0%, 100% {
        transform: translateX(0);
    }

    /* ========================================================
       Nudged arrow - advances gently toward the logo icon.
    ======================================================== */
    50% {
        transform: translateX(-8px);
    }
}

/* ============================================================
   Reduced-motion discovery - keeps the arrow visible without bouncing.
============================================================ */
@media (prefers-reduced-motion: reduce) {

    /* ========================================================
       Static hint arrow - respects the visitor's motion preference.
    ======================================================== */
    .navigation-hint-arrow {
        animation: none;
    }
}

/* ============================================================
   Hero title setup - prevents a flash of the full heading before splitting.
============================================================ */
.hero-intro-enabled .hero h1:not(.hero-title-prepared) {
    visibility: hidden;
}

/* ============================================================
   Hero words - preserves normal word wrapping during the letter entrance.
============================================================ */
.hero-word {
    display: inline-block;
    white-space: nowrap;
}

/* ============================================================
   Hero letters - starts each character invisible with its own entrance delay.
============================================================ */
.hero-letter {
    display: inline-block;
    animation: hero-letter-drop 420ms cubic-bezier(.2, .7, .3, 1) both;
    animation-delay: var(--letter-delay, 0ms);
}

/* ============================================================
   Letter drop - fades in from 50px above and lands smoothly without bouncing.
============================================================ */
@keyframes hero-letter-drop {

    /* ========================================================
       Initial letter - sits just above the title, fully transparent.
    ======================================================== */
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    /* ========================================================
       Landed letter - reaches full opacity in its normal text position.
    ======================================================== */
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   Motion preference changes - reveals letters immediately when motion stops.
============================================================ */
.hero-motion-off .hero-letter {
    animation: none;
    opacity: 1;
    transform: none;
}

/* ============================================================
   Reduced-motion headings - displays all title text without dropping letters.
============================================================ */
@media (prefers-reduced-motion: reduce) {

    /* ========================================================
       Visible title - bypasses pre-animation heading concealment.
    ======================================================== */
    .hero-intro-enabled .hero h1:not(.hero-title-prepared) {
        visibility: visible;
    }

    /* ========================================================
       Static letters - shows the complete heading without animation delays.
    ======================================================== */
    .hero-letter {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   Sidebar socials - centres the three platform icons in a vertical column.
============================================================ */
.sidebar-socials {
    display: flex;
    flex-direction: column;
    align-items: Left;
    gap: 12px;
    margin-top: 32px;
}

/* ============================================================
   Social link targets - provides comfortable pointer and touch hit areas.
============================================================ */
.sidebar-social-link {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
}

/* ============================================================
   Social icons - uses brand-colour shapes from locally hosted Bootstrap SVGs.
============================================================ */
.sidebar-social-icon {
    display: block;
    width: 24px;
    height: 24px;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-primary));
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* ============================================================
   Facebook shape - identifies the business Facebook profile link.
============================================================ */
.sidebar-social-icon--facebook {
    -webkit-mask-image: url("/assets/img/icons/facebook.svg?v=0afe0f8dc419afe5&release=1.1.4");
    mask-image: url("/assets/img/icons/facebook.svg?v=0afe0f8dc419afe5&release=1.1.4");
}

/* ============================================================
   LinkedIn shape - identifies the business LinkedIn profile link.
============================================================ */
.sidebar-social-icon--linkedin {
    -webkit-mask-image: url("/assets/img/icons/linkedin.svg?v=e4d7dd4195576b15&release=1.1.4");
    mask-image: url("/assets/img/icons/linkedin.svg?v=e4d7dd4195576b15&release=1.1.4");
}

/* ============================================================
   WhatsApp shape - identifies the business WhatsApp contact link.
============================================================ */
.sidebar-social-icon--whatsapp {
    -webkit-mask-image: url("/assets/img/icons/whatsapp.svg?v=652433d9939739d8&release=1.1.4");
    mask-image: url("/assets/img/icons/whatsapp.svg?v=652433d9939739d8&release=1.1.4");
}

/* ============================================================
   Social link feedback - highlights configured links on hover or keyboard focus.
============================================================ */
a.sidebar-social-link:hover,
a.sidebar-social-link:focus-visible {
    background: #edf2fb;
}

/* ============================================================
   Pending social links - keeps unsupplied destinations visibly inactive.
============================================================ */
.sidebar-social-link[aria-disabled="true"] {
    opacity: 0.55;
}
