/* ==========================================================================
   base.css — design tokens, reset, and typography defaults
   Loaded on EVERY page, before layout.css and the page-specific stylesheet.
   Change a colour here and it changes across the whole site.
   ========================================================================== */

:root {
    /* Brand colours */
    --navy-900: #001420;
    --navy-800: #001d3d;
    --navy-700: #002b45;
    --navy-600: #03446d;
    --navy-500: #0a3d62;
    --cyan-500: #00b8ff;
    --cyan-400: #00dcff;
    --sky-400:  #38b6ff;

    /* Neutrals */
    --ink:        #1a2b3c;
    --ink-muted:  #5a6b7c;
    --surface:    #f4f9ff;
    --surface-alt: #e8f4fb;
    --white:      #ffffff;

    /* Type */
    --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    /* Layout */
    --container:   1280px;
    --header-h:    64px;
    --radius:      8px;
}

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

html {
    scroll-behavior: smooth;
    /* Stops the fixed header covering anchor targets */
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-body);
    background: var(--surface);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

/* Visible keyboard focus — required for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--cyan-400);
    outline-offset: 2px;
}

/* Respect users who ask for less motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Screen-reader-only helper (use on skip links, icon-button labels) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Shared content container */
.container-x {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}


/* Container for the 3 cards */
.verticals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);   /* 3 equal columns */
    gap: 30px;                                /* space between cards */
}

/* Section wrapper — pulls cards up into hero */
.verticals-section {
    margin-top: -80px;
    position: relative;
    z-index: 5;
    padding-bottom: 80px;
}

/* The card itself */
.vertical-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 45px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    transition: transform .4s ease, box-shadow .4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: none;
    overflow: hidden;
    position: relative;
}

.vertical-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(10, 61, 98, 0.15);
}

.vertical-card i {
    font-size: 48px;
    color: var(--primary, #0A3D62);
    margin-bottom: 22px;
    display: inline-block;
    transition: .3s ease;
}

.vertical-card:hover i {
    color: var(--helm-gold, #d4af37);
    transform: scale(1.1);
}

.vertical-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary, #0A3D62);
    margin-bottom: 15px;
}

.vertical-card p {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 320px;
}

/* Force override — must come LAST */
.verticals-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

.vertical-card {
    background: #fff !important;
    border-radius: 28px !important;
    padding: 45px 30px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important;
    border: none !important;
    overflow: visible !important;
}

@media (max-width: 991px) {
    .verticals-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
    .verticals-grid { grid-template-columns: 1fr !important; }
}
/* ---------- Responsive ---------- */
