/* ==========================================================================
   Trilogy Global Staffing - Main Styles
   Desktop-first stylesheet. Media queries live in responsive.css.
   ========================================================================== */


/* ==========================================================================
   1. CSS Variables
   ========================================================================== */

:root {
    /* Navy palette */
    --navy-dark: #0d2847;
    --navy: #1a3d5c;
    --navy-light: #2e5a8a;
    --navy-blue: #1e4a78;

    /* Accent colors */
    --blue-accent: #3a7bd5;
    --gold: #c9a84c;
    --gold-hover: #b8973d;
    --green-cta: #2d8a5e;
    --green-cta-hover: #247a50;

    /* Neutrals (blue-tinted) */
    --white: #ffffff;
    --gray-50: #f0f4f8;
    --gray-100: #e8eef6;
    --gray-200: #d5dfe8;
    --gray-300: #c2ced8;
    --gray-600: #5a6b80;
    --gray-800: #2d3a4a;

    /* Semantic text colors (blue-tinted) */
    --text-primary: #1a3d5c;
    --text-body: #475569;
    --text-light: #64748b;

    /* Spacing scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;

    /* Layout */
    --container-max: 1200px;
    --container-padding: 1.5rem;

    /* Borders and shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(13, 40, 71, 0.08);
    --shadow-md: 0 2px 12px rgba(13, 40, 71, 0.10);
    --shadow-lg: 0 4px 24px rgba(13, 40, 71, 0.14);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
}


/* ==========================================================================
   2. Reset / Base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--blue-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--navy-light);
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

figure {
    margin: 0;
}


/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--space-md);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 var(--space-md);
    line-height: 1.7;
}

/* Section titles: centered with decorative underline */
.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-md);
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
}

/* Italic serif tagline style (hero titles on some pages) */
.tagline {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: 700;
}

/* Body list styles (for content areas, not nav) */
.content-list {
    list-style: disc;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.content-list li {
    margin-bottom: var(--space-sm);
    color: var(--text-body);
    line-height: 1.7;
}

.content-list li strong {
    color: var(--text-primary);
}

.card .content-list li {
    color: var(--navy);
}

.card .content-list li strong {
    color: var(--navy-dark);
}

/* Text utilities */
.text-navy { color: var(--text-primary); }
.text-body { color: var(--text-body); }
.text-light { color: var(--text-light); }
.text-white { color: var(--white); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; }
.text-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }


/* ==========================================================================
   4. Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-light {
    background-color: var(--gray-100);
}

.section-dark {
    background-color: var(--navy-dark);
    color: var(--white);
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-title::after {
    background-color: var(--gold);
}

.section-navy {
    background-color: var(--navy);
    color: var(--white);
}

/* Grid utilities */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
}

.grid-3 > * {
    flex: 0 1 calc(33.333% - var(--space-xl));
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* Flex utilities */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-gap-sm { gap: var(--space-sm); }
.flex-gap-md { gap: var(--space-md); }
.flex-gap-lg { gap: var(--space-lg); }

/* Why Trilogy items (about page navy section) */
.why-trilogy-item {
    padding: var(--space-lg);
    border-left: 3px solid var(--gold);
}

.why-trilogy-item h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.why-trilogy-item p {
    margin: 0;
    line-height: 1.6;
}


/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color var(--transition-base),
                color var(--transition-base),
                border-color var(--transition-base),
                box-shadow var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    text-decoration: none;
}

/* Gold CTA (primary action) */
.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
    color: var(--white);
}

/* Green CTA (contact form, some pages) */
.btn-green {
    background-color: var(--green-cta);
    color: var(--white);
    border-color: var(--green-cta);
}

.btn-green:hover {
    background-color: var(--green-cta-hover);
    border-color: var(--green-cta-hover);
    color: var(--white);
}

/* Outlined button (hero, dark backgrounds) */
.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy);
}

/* Gold outline CTA */
.btn-gold-outline {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-gold-outline:hover {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

/* On dark backgrounds (hero, navy sections), hover goes white */
.hero .btn-gold-outline:hover,
.section-dark .btn-gold-outline:hover,
.section-navy .btn-gold-outline:hover {
    background-color: var(--white);
    color: var(--gold);
    border-color: var(--white);
}

/* Navy filled button */
.btn-navy {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-navy:hover {
    background-color: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
}

/* Outline on light backgrounds */
.btn-outline-navy {
    background-color: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline-navy:hover {
    background-color: var(--navy);
    color: var(--white);
}

/* Dark outline button (used on light backgrounds and split hero) */
.btn-outline-dark {
    background-color: transparent;
    color: var(--navy-dark);
    border-color: var(--navy-dark);
}

.btn-outline-dark:hover {
    background-color: var(--navy-dark);
    color: var(--white);
}

/* Button with arrow */
.btn-arrow::after {
    content: "\203A";
    font-size: 1.25em;
    line-height: 1;
}

/* Button sizes */
.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Large button */
.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.2rem;
}


/* ==========================================================================
   6. Cards
   ========================================================================== */

.card {
    background-color: #C69214;
    border: 2px solid #C69214;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--space-xl);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
    background-color: #D4A020;
    border-color: #D4A020;
    box-shadow: 0 6px 24px rgba(198, 146, 20, 0.4);
    transform: translateY(-2px);
}

.card-icon {
    margin-bottom: var(--space-md);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--space-sm);
}

.card-text {
    font-size: 1.1rem;
    color: var(--navy);
    line-height: 1.6;
    margin: 0;
}

.card .icon-circle {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.card .icon-circle img,
.card .icon-circle svg {
    filter: brightness(0) invert(1);
}

/* Card with border (lighter variant) */
.card-bordered {
    box-shadow: none;
    border: 1px solid var(--gray-200);
}

.card-bordered:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

/* Card with icon + title inline (service cards from design) */
.card-horizontal {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.card-horizontal .card-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.card-horizontal .card-body {
    flex: 1;
}


/* ==========================================================================
   7. Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-blue) 70%, #3468a8 100%);
    overflow: hidden;
}

/* Subtle radial accents for depth */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(58, 123, 213, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(58, 123, 213, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-4xl) 0;
}

/* Centered hero variant (homepage) */
.hero-centered {
    min-height: 420px;
}

.hero-centered .hero-content {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-centered .hero-actions {
    justify-content: center;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: var(--space-md);
    max-width: 600px;
}

/* Italic serif variant for hero titles */
.hero-title.tagline {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}


/* ==========================================================================
   8. Icon Circles
   ========================================================================== */

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background-color: var(--navy);
    color: var(--white);
    flex-shrink: 0;
}

.icon-circle img,
.icon-circle svg {
    width: 28px;
    height: 28px;
}

.icon-circle-sm {
    width: 40px;
    height: 40px;
}

.icon-circle-sm img,
.icon-circle-sm svg {
    width: 20px;
    height: 20px;
}

.icon-circle-lg {
    width: 72px;
    height: 72px;
}

.icon-circle-lg img,
.icon-circle-lg svg {
    width: 36px;
    height: 36px;
}

/* Blue accent variant */
.icon-circle-blue {
    background-color: var(--blue-accent);
}

/* Outlined variant */
.icon-circle-outline {
    background-color: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
}


/* ==========================================================================
   9. Process Steps
   ========================================================================== */

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    position: relative;
}

.process-step {
    text-align: center;
    padding: var(--space-xl);
    position: relative;
}

.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background-color: var(--navy);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.process-step-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.process-step-text {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

/* Connector line between steps */
.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(var(--space-xl) + 28px);
    right: -10%;
    width: 20%;
    height: 2px;
    background-color: var(--gray-200);
}

/* Hero Funnel */
.hero-funnel {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg) var(--space-xl);
    margin-top: calc(-1 * var(--space-2xl));
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.funnel-tier {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.funnel-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
}

.funnel-tier-wide .funnel-bar {
    width: 380px;
}

.funnel-tier-mid .funnel-bar {
    width: 280px;
}

.funnel-tier-narrow .funnel-bar {
    width: 200px;
    background: rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.3);
}

.funnel-bar svg {
    width: 20px;
    height: 20px;
    stroke: var(--navy);
    flex-shrink: 0;
}

.funnel-tier-narrow .funnel-bar svg {
    stroke: var(--gold);
}

.funnel-bar-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
}

.funnel-tier-narrow .funnel-bar-label {
    color: var(--gold);
}

.funnel-side {
    font-size: 0.78rem;
    color: var(--text-light);
    min-width: 100px;
    white-space: nowrap;
}

.funnel-side:first-child {
    text-align: right;
}

.funnel-connector {
    display: flex;
    justify-content: center;
    height: 24px;
    align-items: center;
}

.funnel-connector svg {
    width: 16px;
    height: 16px;
    stroke: var(--gray-300);
}

.funnel-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-100);
}

/* Homepage hero: side-by-side layout */
.hero-home {
    min-height: 420px;
}

.hero-home .hero-content {
    padding: var(--space-2xl) 0;
}

.hero-home-layout {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.hero-home-text {
    flex: 1;
}

.hero-home-text .hero-title {
    max-width: 520px;
    font-size: 3rem;
}

.hero-home-text .hero-subtitle {
    max-width: 420px;
    font-size: 1.15rem;
}

/* Funnel on dark background */
.hero-funnel-dark {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    gap: 8px;
    padding: var(--space-md) 0;
}

.funnel-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.funnel-side-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-align: right;
    min-width: 140px;
    white-space: nowrap;
}

/* Each funnel step bar */
.funnel-step {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    position: relative;
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
}

/* Widths create the funnel shape */
.funnel-step-1 {
    width: 340px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.funnel-step-2 {
    width: 270px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.funnel-step-3 {
    width: 200px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.25) 0%, rgba(201, 168, 76, 0.1) 100%);
    border: 1px solid rgba(201, 168, 76, 0.45);
    box-shadow: 0 4px 24px rgba(201, 168, 76, 0.2), inset 0 1px 0 rgba(201, 168, 76, 0.2);
}

.funnel-step:hover {
    filter: brightness(1.2);
}

.funnel-step-3:hover {
    box-shadow: 0 6px 32px rgba(201, 168, 76, 0.35), inset 0 1px 0 rgba(201, 168, 76, 0.3);
}

/* Icon circle */
.funnel-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.funnel-step-3 .funnel-step-icon {
    background: rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.4);
}

.funnel-step-icon svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.8);
}

.funnel-step-3 .funnel-step-icon svg {
    stroke: var(--gold);
}

/* Label inside bar */
.funnel-step-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.funnel-step-3 .funnel-step-label {
    color: var(--gold);
}

/* ── Hero Split Layout (shared by all inner pages) ── */
.hero-split {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.hero-split-text {
    flex: 1;
}

.hero-split-text .hero-title {
    max-width: 520px;
}

.hero-split-text .hero-subtitle {
    max-width: 420px;
}

.hero-visual {
    flex-shrink: 0;
}

/* ── About: Mission/Vision/Values Pillars ── */
.hero-pillars {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.hero-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 130px;
}

.hero-pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    transition: all 0.3s ease;
}

.hero-pillar:hover .hero-pillar-icon {
    background: rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.4);
}

.hero-pillar-icon svg {
    width: 24px;
    height: 24px;
    stroke: rgba(255, 255, 255, 0.8);
}

.hero-pillar:hover .hero-pillar-icon svg {
    stroke: var(--gold);
}

.hero-pillar-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.hero-pillar-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
}

.hero-pillar-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(201, 168, 76, 0.4), transparent);
    align-self: center;
}

/* ── Services: Service Type Cards ── */
.hero-service-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-service-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    min-width: 280px;
}

.hero-service-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.06) 100%);
    transform: translateX(4px);
}

.hero-service-card-accent {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.2) 0%, rgba(201, 168, 76, 0.06) 100%);
    border-color: rgba(201, 168, 76, 0.35);
}

.hero-service-card-accent:hover {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.28) 0%, rgba(201, 168, 76, 0.1) 100%);
}

.hero-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-service-card-accent .hero-service-icon {
    background: rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.4);
}

.hero-service-icon svg {
    width: 22px;
    height: 22px;
    stroke: rgba(255, 255, 255, 0.8);
}

.hero-service-card-accent .hero-service-icon svg {
    stroke: var(--gold);
}

.hero-service-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.hero-service-card-accent .hero-service-label {
    color: var(--gold);
}

/* ── Services: Duo Cards (side by side) ── */
.hero-duo-cards {
    display: flex;
    align-items: center;
    gap: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-duo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-xl);
    min-width: 150px;
    transition: all 0.3s ease;
}

.hero-duo-card:hover {
    transform: translateY(-2px);
}

.hero-duo-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xs);
}

.hero-duo-card-accent .hero-duo-icon {
    background: rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.4);
}

.hero-duo-icon svg {
    width: 24px;
    height: 24px;
    stroke: rgba(255, 255, 255, 0.8);
}

.hero-duo-card-accent .hero-duo-icon svg {
    stroke: var(--gold);
}

.hero-duo-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.hero-duo-card-accent .hero-duo-label {
    color: var(--gold);
}

.hero-duo-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.hero-duo-divider {
    width: 1px;
    height: 90px;
    background: linear-gradient(to bottom, transparent, rgba(201, 168, 76, 0.4), transparent);
    flex-shrink: 0;
}

/* ── Candidates & Clients: Flow Steps ── */
.hero-flow {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hero-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    min-width: 110px;
}

.hero-flow-step:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.hero-flow-step-accent {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.2) 0%, rgba(201, 168, 76, 0.06) 100%);
    border-color: rgba(201, 168, 76, 0.35);
}

.hero-flow-step-accent:hover {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.28) 0%, rgba(201, 168, 76, 0.1) 100%);
}

.hero-flow-number {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.6;
    letter-spacing: 0.05em;
}

.hero-flow-step-accent .hero-flow-number {
    opacity: 1;
}

.hero-flow-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-flow-step-accent .hero-flow-icon {
    background: rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.4);
}

.hero-flow-icon svg {
    width: 22px;
    height: 22px;
    stroke: rgba(255, 255, 255, 0.8);
}

.hero-flow-step-accent .hero-flow-icon svg {
    stroke: var(--gold);
}

.hero-flow-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.hero-flow-step-accent .hero-flow-label {
    color: var(--gold);
}

.hero-flow-arrow {
    display: flex;
    align-items: center;
}

.hero-flow-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
    opacity: 0.5;
}

/* ── Contact: Channel Cards ── */
.hero-channels {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-channel {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    min-width: 300px;
}

.hero-channel:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.06) 100%);
    transform: translateX(4px);
}

.hero-channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-channel-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold);
}

.hero-channel-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-channel-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-channel-value {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Process Ribbon: compact card variant that sits tight under the hero */
.process-ribbon {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-md) var(--space-lg);
    margin-top: calc(-1 * var(--space-2xl));
    max-width: 820px;
    position: relative;
    z-index: 10;
}

.process-ribbon .process-steps {
    gap: 0;
    align-items: center;
}

.process-ribbon .process-step {
    padding: var(--space-sm) var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

/* Vertical divider between steps */
.process-ribbon .process-step:not(:last-child) {
    border-right: 1px solid var(--gold);
}

.process-ribbon .process-step:not(:last-child)::after {
    display: none;
}

.process-ribbon .process-step-title {
    font-size: 0.875rem;
    margin-bottom: 0;
    white-space: nowrap;
}

.process-ribbon .icon-circle {
    width: 40px;
    height: 40px;
}

.process-ribbon .icon-circle img,
.process-ribbon .icon-circle svg {
    width: 20px;
    height: 20px;
}


/* ==========================================================================
   9b. Industry Strip
   ========================================================================== */

/* Horizontal strip with vertical dividers between items */
.industry-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--space-lg) 0;
}

.industry-strip-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-xl);
    text-align: center;
    flex-direction: row;
}

/* Vertical divider between items */
.industry-strip-item:not(:last-child) {
    border-right: 1px solid var(--gray-200);
}

.industry-strip-item .icon-circle {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
}

.industry-strip-item .icon-circle img,
.industry-strip-item .icon-circle svg {
    width: 20px;
    height: 20px;
}

.industry-strip-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}


/* ==========================================================================
   10. Breadcrumbs
   ========================================================================== */

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--blue-accent);
}

.breadcrumbs .separator {
    color: var(--gray-300);
}

.breadcrumbs .current {
    color: var(--text-primary);
    font-weight: 500;
}

/* Home icon in breadcrumbs */
.breadcrumbs .home-icon {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs .home-icon svg {
    width: 14px;
    height: 14px;
}


/* ==========================================================================
   11. Navigation
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.site-logo img {
    height: 62px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--space-sm) 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--navy-light);
    border-bottom-color: var(--navy);
}

/* Hamburger menu (hidden on desktop, shown via responsive.css) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--navy);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Active state for hamburger (X shape) */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel (hidden by default, activated via responsive.css + JS) */
.mobile-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    padding: var(--space-md) 0;
    z-index: 999;
}

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

.mobile-nav a {
    display: block;
    padding: var(--space-md) var(--container-padding);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--gray-100);
    transition: background-color var(--transition-fast);
}

.mobile-nav a:hover {
    background-color: var(--gray-50);
}


/* ==========================================================================
   12. Footer
   ========================================================================== */

.site-footer {
    background-color: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-3xl) 0 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-lg);
}

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

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

/* Contact info in footer */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    fill: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
    color: var(--white);
}

/* Footer social links */
.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-social-link:hover {
    color: var(--white);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Footer CTA section (in some pages, CTA sits above the footer proper) */
.footer-cta {
    background-color: var(--navy);
    text-align: center;
    padding: var(--space-3xl) 0;
}

.footer-cta h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

/* Bottom bar: copyright + legal links */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
}

.footer-legal a:hover {
    color: var(--white);
}


/* ==========================================================================
   13. Contact Form Styles
   ========================================================================== */

.contact-form {
    max-width: 520px;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.contact-form .form-intro {
    color: var(--text-body);
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.form-group label .optional {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.8125rem;
}

/* Shared input styling */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-body);
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue-accent);
    box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    padding-left: 0.75rem;
}

/* Input with icon */
.input-icon {
    position: relative;
}

.input-icon svg,
.input-icon .icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--gray-600);
    pointer-events: none;
}

/* File upload */
.form-group input[type="file"] {
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text-body);
    padding: var(--space-sm);
}

/* Toggle for "Looking for a job / Looking for talent" */
.form-toggle {
    margin-bottom: var(--space-xl);
}

.form-toggle p {
    margin: 0;
}

.form-toggle .wpcf7-radio {
    display: flex;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.form-toggle .wpcf7-list-item {
    flex: 1;
    text-align: center;
    margin: 0;
}

.form-toggle .wpcf7-list-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-toggle .wpcf7-list-item-label {
    display: block;
    padding: 0.75rem var(--space-md);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-body);
    background-color: var(--white);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.form-toggle .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label {
    background-color: var(--navy);
    color: var(--white);
}

/* Sidebar contact info card */
.contact-sidebar {
    background-color: var(--navy);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.contact-sidebar h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.contact-sidebar p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

.contact-sidebar-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
    transition: background-color var(--transition-fast);
}

.contact-sidebar-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.contact-sidebar-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-sidebar-item a {
    color: var(--white);
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0 0;
}

.sidebar-list li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
}

.sidebar-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--green-cta);
    font-weight: 700;
}

.sidebar-cta {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-cta h4 {
    color: var(--white);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.sidebar-cta-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.sidebar-cta-link {
    display: block;
    padding: 0.6rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color var(--transition-fast);
}

.sidebar-cta-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Contact page layout: form + sidebar */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    align-items: start;
}


/* ==========================================================================
   14. Utilities
   ========================================================================== */

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Spacing: margin top */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }
.mt-6 { margin-top: var(--space-3xl); }

/* Spacing: margin bottom */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }
.mb-6 { margin-bottom: var(--space-3xl); }

/* Spacing: padding top */
.pt-0 { padding-top: 0; }
.pt-4 { padding-top: var(--space-xl); }
.pt-6 { padding-top: var(--space-3xl); }

/* Spacing: padding bottom */
.pb-0 { padding-bottom: 0; }
.pb-4 { padding-bottom: var(--space-xl); }
.pb-6 { padding-bottom: var(--space-3xl); }

/* Width */
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Background colors */
.bg-white { background-color: var(--white); }
.bg-gray { background-color: var(--gray-100); }
.bg-navy { background-color: var(--navy); }
.bg-navy-dark { background-color: var(--navy-dark); }

/* Border radius */
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow */
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Image utilities */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-rounded {
    border-radius: var(--radius-md);
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ==========================================================================
   Legal / Policy Pages
   ========================================================================== */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--gray-200);
}

.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-content p {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.legal-content ul {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.legal-content li {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.legal-content a {
    color: var(--blue-accent);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--navy);
}

.legal-updated {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: var(--space-xl);
}

.legal-contact {
    list-style: none;
    padding-left: 0;
}

.legal-contact li {
    padding: var(--space-xs) 0;
}
