/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ═══ PREMIUM PALETTE (70% navy+royal, 15% light gray, 10% steel blue, 5% gold) ═══ */
    /* Primary – Hero, Footer, CTA, dark blocks */
    --navy: #132237;
    --navy-dark: #0e1a2a;
    /* Secondary – Alternate sections, feature highlights */
    --royal: #1F376A;
    /* Accent – Buttons, links, interactive, hover */
    --accent-blue: #3A73B3;
    --accent-blue-hover: #2d5d8f;
    /* Premium accent – Dividers, icons, underlines, “Most Popular” (do not use as full bg) */
    --gold: #C19D43;
    /* Light section – Forms, blog content, readable areas */
    --light-bg: #EFF0F1;
    /* Text */
    --text-on-dark: #F1F5F9;
    --text-soft: #94A3B8;
    --text-on-light: #1E293B;
    /* ═══ Role assignment ═══ */
    --color-primary: var(--navy);
    --color-secondary: var(--royal);
    --color-text: var(--text-on-dark);
    --color-accent: var(--gold);
    --bg-body: var(--navy);
    --bg-surface: var(--royal);
    --bg-elevated: var(--royal);
    --bg-soft-section: var(--light-bg);
    --text-primary: var(--text-on-dark);
    --text-secondary: var(--text-soft);
    --text-muted: #64748B;
    --white: var(--text-on-dark);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(255, 255, 255, 0.18);
    --border-gold: rgba(193, 157, 67, 0.4);
    --shadow: rgba(0, 0, 0, 0.35);
    --shadow-neon: 0 0 20px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(58, 115, 179, 0.12);
    --glass: rgba(31, 55, 106, 0.9);
    --glass-border: rgba(255, 255, 255, 0.08);
    --cream: var(--royal);
    --gray-light: var(--royal);
    --gray-medium: var(--text-muted);
    --gray-dark: var(--text-soft);
    --text-dark: var(--text-primary);
    --text-light: var(--text-secondary);
    --accent-red: var(--gold);
    --accent-orange: var(--accent-blue);
    --accent-gold: var(--gold);
    --primary-red: var(--gold);
    --primary-maroon: var(--royal);
    --dark-red: var(--royal);
    --light-red: var(--text-soft);
    --shadow-hover: rgba(0, 0, 0, 0.45);
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Source Serif 4', Georgia, serif;
    /* Premium design tokens */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.08);
    --shadow-nav: 0 4px 24px rgba(0, 0, 0, 0.2);
    --space-section: 5rem;
    --space-section-lg: 6rem;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: var(--text-dark);
    background-color: var(--bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

/* Responsive images and media */
img,
picture,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

iframe {
    max-width: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    background: var(--primary-red);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-orange);
    outline-offset: 2px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Touch-friendly tap highlight */
a,
button {
    -webkit-tap-highlight-color: rgba(58, 115, 179, 0.2);
    tap-highlight-color: rgba(58, 115, 179, 0.2);
}

/* Navigation – Premium glass navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(19, 34, 55, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-nav);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: all 0.3s ease;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h1 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}
.nav-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.nav-brand-link:hover {
    opacity: 0.9;
}
.nav-logo {
    display: block;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.nav-brand-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.nav-brand-link:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-item-has-dropdown {
    position: relative;
}

.nav-item-has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-item-has-dropdown > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 0.25rem;
    position: static;
    background: none;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    min-width: 200px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 12px 40px var(--shadow), var(--shadow-neon);
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.nav-item-has-dropdown:hover .nav-dropdown,
.nav-item-has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li {
    margin: 0;
}

.nav-dropdown a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    white-space: nowrap;
}

.nav-dropdown a:hover {
    background: var(--bg-elevated);
    color: var(--accent-red);
}

.nav-dropdown a::after {
    display: none;
}

/* === MEGA MENU SYSTEM === */
.nav-item.mega-wrapper {
    position: relative;
}

.nav-item.mega-wrapper > .nav-link {
    display: inline-flex;
    align-items: center;
}

.nav-item.mega-wrapper > .nav-link::after {
    display: none;
}

.mega-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 120%;
    width: 420px;
    max-width: calc(100vw - 2rem);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, top 0.2s ease;
    z-index: 9999;
}

.nav-item.mega-wrapper:hover .mega-menu,
.nav-item.mega-wrapper:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
    align-items: start;
}

.mega-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mega-col h4 {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mega-col > a:not(.mega-cta) {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mega-col > a:not(.mega-cta):hover {
    color: var(--color-text);
}

.mega-cta {
    display: inline-block;
    margin-top: auto;
    padding-top: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.mega-cta:hover {
    opacity: 0.9;
}

.mega-cta.red { color: var(--accent-red); }
.mega-cta.orange { color: var(--accent-orange); }
.mega-cta.gold { color: var(--accent-gold); }
.mega-cta.blue { color: var(--accent-blue); }

/* About dropdown – single column, narrower */
.mega-menu--about {
    width: 220px;
    padding: 1.25rem 1.5rem;
}
.mega-grid--single {
    grid-template-columns: 1fr;
    gap: 0;
}
.mega-menu--about .mega-col h4 {
    margin-bottom: 0.75rem;
}
.mega-menu--about .mega-col > a:not(.mega-cta) {
    margin-bottom: 0.4rem;
}
.mega-menu--about .mega-cta {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}

@media (max-width: 1100px) {
    .mega-menu {
        width: min(420px, 90vw);
    }
}

/* Desktop: keep mega-menu as dropdown. Mobile (768px) uses inline expansion below header - see Responsive section */

.mega-wrapper.open .mega-menu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-red);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}
.nav-menu a:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--accent-red);
    transition: all 0.3s ease;
}

/* Hero Section – Premium & elegant */
.hero {
    margin-top: 72px;
    padding: 5.5rem 0 6rem;
    background: var(--color-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 85% 55% at 50% -15%, rgba(193, 157, 67, 0.06), transparent 50%),
                radial-gradient(ellipse 70% 45% at 85% 105%, rgba(58, 115, 179, 0.06), transparent 45%);
    opacity: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, var(--bg-body) 100%);
    transform: skewY(-2deg);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.75rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--border-gold);
    border-radius: 100px;
    background: rgba(193, 157, 67, 0.08);
    transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.75rem;
    opacity: 0.92;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    color: var(--text-soft);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.hero-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.info-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #C19D43;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.info-card p {
    opacity: 0.95;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Primary CTA – premium button */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-hover) 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    border: none;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
    box-shadow: 0 4px 20px rgba(58, 115, 179, 0.35);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(58, 115, 179, 0.4), 0 0 24px rgba(58, 115, 179, 0.1);
    background: linear-gradient(135deg, var(--accent-blue-hover) 0%, var(--accent-blue) 100%);
}

/* Light section – elegant readable break */
.section--soft {
    background: var(--light-bg);
    color: var(--text-on-light);
    padding: var(--space-section-lg) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.section--soft .section-title,
.section--soft .section-label { color: #C19D43; }
.section--soft .section-subtitle,
.section--soft p { color: var(--text-on-light); opacity: 0.9; }

/* Quote Section – Royal Blue, elegant */
.quote-section {
    padding: var(--space-section-lg) 0;
    background: var(--bg-surface);
    position: relative;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(58, 115, 179, 0.06), transparent);
    z-index: 0;
}

.quote-section .container {
    position: relative;
    z-index: 1;
}

.quote-section .section-label {
    margin-bottom: 1.25rem !important;
    margin-top: 1.25rem !important;
    color: var(--gold) !important;
    position: relative !important;
    z-index: 10 !important;
}

.quote-section .section-label::after {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Glass Quote Card – premium */
.quote {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-primary);
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--gold);
    transition: box-shadow 0.35s var(--ease-out);
}

.quote p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--text-dark);
    font-family: var(--font-accent);
    font-weight: 400;
    font-size: 1.45rem;
    font-style: italic;
}

.quote cite {
    display: block;
    font-size: 1.05rem;
    font-style: normal;
    color: var(--accent-orange);
    margin-top: 1.5rem;
    font-weight: 600;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.quote::before,
.quote::after {
    content: '"';
    font-size: 5rem;
    color: var(--accent-red);
    opacity: 0.2;
    position: absolute;
    font-family: Georgia, serif;
    font-weight: 700;
}

.quote::before {
    top: 10px;
    left: 20px;
}

.quote::after {
    bottom: 10px;
    right: 20px;
}

/* Why Work With Us Section */
.why-section {
    padding: 80px 0 70px;
    background: var(--bg-body);
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
}

.why-list li {
    position: relative;
    padding: 1.1rem 1.25rem 1.1rem 3.25rem;
    margin-bottom: 0.75rem;
    background: var(--glass);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-weight: 500;
    border-left: 4px solid var(--gold);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.why-list li:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-card);
    border-left-color: var(--gold);
}

.why-list li::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
}

/* Recruitment Services Section */
.services-section {
    padding: var(--space-section-lg) 0 var(--space-section);
    background: var(--bg-body);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

/* Glass Service Blocks – premium cards */
.services-block {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow-card);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s var(--ease-out);
}

.services-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

.services-block-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #C19D43;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.services-block .services-list {
    max-width: none;
}

/* Solutions Landing Page - 4 Solution Types */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.solutions-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.solutions-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.solutions-card--employers { border-top: 4px solid var(--accent-blue); }
.solutions-card--enterprise { border-top: 4px solid var(--accent-gold); }
.solutions-card--global { border-top: 4px solid var(--accent-blue); }
.solutions-card--talent { border-top: 4px solid var(--accent-orange); }

.solutions-card-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.solutions-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #C19D43;
    margin-bottom: 0.5rem;
}

.solutions-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.solutions-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.solutions-list li {
    padding: 0.35rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1rem;
}

.solutions-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.solutions-cta {
    margin-top: auto;
    display: inline-block;
    text-align: center;
}

.solutions-cta--red { color: var(--accent-red); border-color: var(--accent-red); }
.solutions-cta--red:hover { background: rgba(225, 6, 0, 0.1); }
.solutions-cta--gold { color: var(--accent-gold); border-color: var(--accent-gold); }
.solutions-cta--gold:hover { background: rgba(245, 180, 0, 0.1); }
.solutions-cta--blue { color: var(--accent-blue); border-color: var(--accent-blue); }
.solutions-cta--blue:hover { background: rgba(30, 115, 216, 0.1); }
.solutions-cta--orange { color: var(--accent-orange); border-color: var(--accent-orange); }
.solutions-cta--orange:hover { background: rgba(255, 122, 0, 0.1); }

/* Employer Solutions Landing Page */
.employer-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.employer-solution-card {
    display: block;
    background: var(--glass);
    backdrop-filter: blur(16px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    border-top: 4px solid var(--accent-blue);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.employer-solution-card:hover {
    box-shadow: var(--shadow-neon);
    border-color: rgba(225, 6, 0, 0.2);
}

.employer-solution-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.employer-solution-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #C19D43;
    margin-bottom: 0.5rem;
    transition: color 0.25s ease;
}

.employer-solution-card:hover h3 {
    color: #C19D43;
}

.employer-solution-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.employer-solution-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.employer-cta-section {
    margin-top: 3rem;
}

.employer-cta-card {
    background: linear-gradient(135deg, rgba(225, 6, 0, 0.08) 0%, rgba(225, 6, 0, 0.02) 100%);
    border: 1px solid rgba(225, 6, 0, 0.25);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
}

.employer-cta-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #C19D43;
    margin-bottom: 0.5rem;
}

.employer-cta-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.employer-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.employer-cta-primary {
    background: linear-gradient(135deg, var(--hr-warm-orange), var(--hr-warm-orange-hover));
    border: none;
    color: white;
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.35);
}

.employer-cta-primary:hover {
    box-shadow: 0 0 24px rgba(234, 88, 12, 0.4);
}

/* Process Timeline */
.process-timeline {
    max-width: 720px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.process-step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #C19D43;
}

.process-step-content p {
    color: var(--text-light);
    margin: 0;
}


.services-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
}

.services-list li {
    position: relative;
    padding: 1rem 1.25rem 1rem 3.25rem;
    margin-bottom: 0.6rem;
    background: var(--bg-elevated);
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    color: var(--text-dark);
    font-weight: 500;
    border-left: 4px solid var(--primary-red);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.services-list li:hover {
    box-shadow: 0 4px 20px var(--shadow-hover);
    transform: translateX(4px);
}

.services-list li::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--accent-red);
    border-radius: 50%;
}

/* More Than Recruitment / HR Services Section */
.hr-services-section {
    padding: 80px 0 70px;
    background: var(--bg-body);
}

.hr-services-intro {
    max-width: 720px;
    margin: 0 auto 1rem;
    text-align: center;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hr-services-list-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-red);
    margin: 2rem 0 1rem;
    text-align: center;
}

.hr-services-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    max-width: 640px;
}

.hr-services-list li {
    position: relative;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    margin-bottom: 0.5rem;
    background-color: var(--bg-surface);
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    border: 1px solid var(--border-subtle);
    color: var(--text-dark);
    font-weight: 500;
    border-left: 4px solid var(--primary-red);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hr-services-list li:hover {
    box-shadow: 0 4px 16px var(--shadow-hover);
    transform: translateX(4px);
}

.hr-services-list li::before {
    content: '';
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--accent-red);
    border-radius: 50%;
}

.hr-services-closing {
    max-width: 720px;
    margin: 0 auto 0.5rem;
    text-align: center;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hr-services-tagline {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    color: var(--accent-orange);
    text-align: center;
    margin-bottom: 1.5rem;
}

.cta-button--hr-services {
    display: block;
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    color: var(--white);
}

.cta-button--hr-services:hover {
    box-shadow: var(--shadow-neon);
}

.cta-button--outline-small {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.65rem 1.5rem;
    background: transparent;
    color: var(--accent-red);
    border: 2px solid var(--accent-red);
    font-size: 0.95rem;
}

.cta-button--outline-small:hover {
    background: var(--accent-blue);
    color: var(--white);
    box-shadow: var(--shadow-neon);
}

/* Outline CTA - Premium Dark */
.cta-button--outline {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
    border-radius: var(--radius-sm);
    box-shadow: none;
    transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.cta-button--outline:hover {
    background: rgba(58, 115, 179, 0.15);
    color: var(--white);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 1px rgba(58, 115, 179, 0.2);
}

/* Portfolio section (home page) */
.portfolio-section {
    padding: var(--space-section-lg) 0 var(--space-section);
    background: var(--bg-body);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Glass Cards – premium */
.portfolio-card {
    display: block;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--gold);
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s var(--ease-out);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

.portfolio-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(30, 115, 216, 0.15);
    color: var(--accent-blue);
    font-size: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.portfolio-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #C19D43;
}

.portfolio-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.portfolio-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-red);
}

.portfolio-card--cta {
    border-top-color: var(--accent-orange);
}

.portfolio-card--cta .portfolio-card-link {
    color: var(--accent-orange);
}

/* Page header (inner pages) - Dark gradient */
.page-header {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.page-header .section-label {
    color: #C19D43;
}

.page-header .section-title {
    color: #C19D43;
}

.page-header .section-subtitle {
    color: var(--text-secondary);
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0;
    position: relative;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
    max-width: 180px;
}

.divider-icon {
    position: relative;
    width: 10px;
    height: 10px;
    margin: 0 1.5rem;
    background-color: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(193, 157, 67, 0.3);
    animation: float 3s ease-in-out infinite;
}

.divider-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    opacity: 0.25;
}

.divider-icon-jobs,
.divider-icon-about,
.divider-icon-apply { background-color: var(--gold); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Section Styles */
section {
    padding: 70px 0 60px;
    position: relative;
}

section:first-of-type {
    padding-top: 80px;
}

/* Section reveal animation */
section.reveal {
    opacity: 1;
    transform: translateY(0);
}
section.reveal .section-label,
section.reveal .section-title,
section.reveal .section-subtitle,
section.reveal .quote,
section.reveal .about-content,
section.reveal .application-form,
section.reveal .hero-content {
    animation: revealIn 0.7s ease-out forwards;
}
@keyframes revealIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Label – elegant overline */
.section-label {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    color: var(--gold) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.28em !important;
    text-align: center !important;
    margin-bottom: 1rem !important;
    margin-top: 1.5rem !important;
    display: block !important;
    position: relative !important;
    padding: 0.75rem 0 1rem 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
    width: 100% !important;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
    z-index: 11;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #C19D43;
    text-align: center;
    margin-bottom: 1.25rem;
    margin-top: 0.5rem;
    position: relative;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Jobs Section */
.jobs-section {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 8%, var(--color-secondary) 92%, var(--color-primary) 100%);
    position: relative;
}

.jobs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, var(--bg-body) 0%, transparent 100%);
    z-index: 0;
}

.jobs-section .container {
    position: relative;
    z-index: 1;
}

.jobs-section .section-label {
    position: relative;
    z-index: 2;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.job-card {
    background: var(--glass);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.job-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 16px 16px 0 0;
}

.job-image-container .job-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.job-image-container img.job-image {
    background-color: var(--gray-light);
}

.job-image-container .job-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 48, 73, 0.3) 0%, rgba(0, 31, 51, 0.2) 100%);
}

.job-image-placeholder svg {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.job-image-icon {
    position: absolute;
    font-size: 4rem;
    opacity: 0.4;
    z-index: 1;
}

.job-card-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-blue) 0%, var(--color-primary) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.job-card:hover::before {
    transform: scaleY(1);
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

.job-card-content .job-status {
    align-self: flex-start;
    margin-bottom: 1rem;
}

.job-card-content {
    padding: 2.5rem;
}

.job-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
}

.job-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.job-meta span {
    background: linear-gradient(135deg, var(--cream) 0%, rgba(255, 248, 240, 0.8) 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--primary-red);
    font-weight: 600;
    border: 1px solid rgba(139, 38, 53, 0.2);
    transition: all 0.3s ease;
}

.job-meta span:hover {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    transform: scale(1.05);
}

.job-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-blue-hover), var(--accent-blue));
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(58, 115, 179, 0.15);
    color: var(--white);
}

.job-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.job-status.active {
    background-color: rgba(22, 163, 74, 0.25);
    color: #4ade80;
}

.job-status.archived {
    background-color: var(--gray-medium);
    color: var(--text-dark);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, var(--bg-body) 0%, var(--cream) 100%);
    position: relative;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-section .section-label {
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    background-color: var(--bg-surface);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow);
    border: 1px solid var(--border-subtle);
}

.about-image {
    text-align: center;
    position: relative;
}

.image-container {
    width: 320px;
    height: 400px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
    position: relative;
    border: 5px solid var(--accent-blue);
    background: var(--bg-elevated);
    transition: all 0.4s ease;
}

.image-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 48, 73, 0.4);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.image-container:hover .profile-image {
    transform: scale(1.05);
}

.profile-icon {
    display: none;
}

.about-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--border-subtle);
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #C19D43;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.about-text .job-title {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(208, 74, 90, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    color: var(--light-red);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.badge-icon {
    font-size: 1.2rem;
}

.about-description {
    margin-top: 1.5rem;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Contact/Apply Section - New layout */
.contact-section {
    background: var(--bg-body);
    position: relative;
    padding-bottom: 5rem;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 240px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    z-index: 0;
}

.contact-section .container--apply {
    position: relative;
    z-index: 1;
    max-width: 1100px;
}

.apply-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-section .apply-header .section-label {
    color: #C19D43;
}

.contact-section .apply-header .section-title {
    color: #C19D43;
    margin-top: 0.25rem;
}

.contact-section .apply-header .section-subtitle {
    color: var(--text-secondary);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.apply-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.apply-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 100px;
}

.apply-sidebar-card {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border-subtle);
}

.apply-sidebar-card--contact {
    padding: 1.25rem 1.75rem;
}

.apply-sidebar-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.apply-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.apply-sidebar-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.apply-sidebar-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--primary-red);
    border-radius: 50%;
}

.apply-sidebar-list--compact li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.apply-contact-item {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.apply-contact-item a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.apply-contact-item a:hover {
    text-decoration: underline;
}

.apply-new-window {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    background: var(--white);
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid var(--primary-red);
    transition: background 0.2s ease, color 0.2s ease;
}

.apply-new-window:hover {
    background: var(--primary-red);
    color: var(--white);
}

.apply-form-wrapper {
    background: var(--bg-surface);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px var(--shadow);
    border: 1px solid var(--border-subtle);
}

.google-form-embed {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    min-height: 600px;
}

.google-form-embed iframe {
    display: block;
}

.application-form {
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.application-form::before {
    display: none;
}

.form-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-light);
}

.form-block:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.form-block-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #C19D43;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.form-trouble {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-light);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-trouble a {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
}

.form-trouble a:hover {
    text-decoration: underline;
}

.required {
    color: var(--primary-red);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.form-group label::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, var(--accent-blue) 0%, var(--color-primary) 100%);
    border-radius: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--gray-medium);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-red);
    box-shadow: 0 2px 8px rgba(139, 38, 53, 0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(139, 38, 53, 0.15);
    transform: translateY(-2px);
}

.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px dashed var(--gray-medium);
    border-radius: 8px;
    background-color: var(--gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--accent-blue);
    background-color: var(--cream);
}

.file-upload-text {
    color: var(--text-light);
}

.file-upload-button {
    padding: 0.5rem 1rem;
    background-color: var(--accent-red);
    color: var(--white);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.file-name {
    display: block;
    margin-top: 0.5rem;
    color: var(--primary-red);
    font-weight: 500;
    font-size: 0.9rem;
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--accent-red);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-hover);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button-loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.form-message.error {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-surface);
    margin: 5% auto;
    padding: 3rem;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px var(--shadow-hover);
    border: 1px solid var(--border-subtle);
    position: relative;
    color: var(--text-dark);
}

.modal-content--form {
    max-width: 700px;
}

.apply-modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.apply-modal-subtitle {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.modal-content--form .google-form-embed {
    min-height: 500px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0.25rem;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-red);
}

/* Newsletter banner – lower right corner, does not cover the page */
.newsletter-overlay {
    display: none;
    position: fixed;
    z-index: 2100;
    right: 1rem;
    bottom: 1rem;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    max-width: calc(100vw - 2rem);
    box-sizing: border-box;
}
.newsletter-overlay.is-visible {
    display: block;
}
.newsletter-overlay__panel {
    background: var(--royal);
    color: var(--text-on-dark);
    max-width: 340px;
    width: 100%;
    min-width: 280px;
    padding: 1.25rem 1.35rem;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-subtle);
    position: relative;
}
.newsletter-overlay__close {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-soft);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.15rem;
    line-height: 1;
    transition: color 0.2s ease;
}
.newsletter-overlay__close:hover {
    color: var(--text-on-dark);
}
.newsletter-overlay__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-on-dark);
    margin: 0 0 0.4rem 0;
    padding-right: 1.5rem;
}
.newsletter-overlay__desc {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.45;
    margin: 0 0 1rem 0;
}
.newsletter-overlay__form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.newsletter-overlay__input {
    width: 100%;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    border: 1px solid var(--border-accent);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-on-dark);
    box-sizing: border-box;
}
.newsletter-overlay__input::placeholder {
    color: var(--text-muted);
}
.newsletter-overlay__disclaimer {
    font-size: 0.75rem;
    color: var(--text-soft);
    line-height: 1.4;
    margin: 0 0 0.25rem 0;
}
.newsletter-overlay__submit {
    align-self: flex-start;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.newsletter-overlay__submit:hover {
    background: var(--accent-blue-hover);
}

.modal-job-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
}

.modal-job-image .job-image-modal {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background-color: var(--bg-elevated);
}

.modal-job-image .job-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 38, 53, 0.15) 0%, rgba(107, 26, 34, 0.15) 100%);
}

.modal-job-image .job-image-icon {
    font-size: 5rem;
    opacity: 0.5;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.modal-job-image svg {
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

#modal-job-details h2 {
    color: var(--color-text);
    margin-bottom: 1rem;
}

#modal-job-details .job-meta {
    margin-bottom: 1.5rem;
}

#modal-job-details .job-details-content {
    line-height: 1.8;
    color: var(--text-light);
}

#modal-job-details .job-details-content h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

#modal-job-details .job-details-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

#modal-job-details .job-details-content li {
    margin-bottom: 0.5rem;
}

/* Footer – Premium, presentable */
.footer {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--text-primary);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, rgba(193, 157, 67, 0.6) 20%, #C19D43 50%, rgba(193, 157, 67, 0.6) 80%, transparent 95%);
    opacity: 1;
}

.footer .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Single-section footer (blog, legal): center and compact */
.footer-content:has(.footer-section):not(:has(.footer-contact)) {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.footer-content:has(.footer-section):not(:has(.footer-contact)) .footer-section p {
    margin: 0.5rem 0;
}

.footer-section {
    text-align: left;
}

.footer-section p {
    margin: 0.5rem 0;
    opacity: 0.92;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.footer-section p:first-child {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.footer-section p:nth-child(2) {
    font-size: 0.95rem;
    color: var(--text-soft);
    opacity: 0.9;
}

.footer-section p:last-child:not(:first-child):not(:nth-child(2)) {
    font-style: italic;
    opacity: 0.85;
}

/* Legal/quick links in footer */
.footer-link {
    color: var(--text-soft);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-link:hover {
    color: #C19D43;
    border-bottom-color: rgba(193, 157, 67, 0.5);
}

.footer-section p a:not([class]) {
    color: var(--text-soft);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-section p a:not([class]):hover {
    color: #C19D43;
    border-bottom-color: rgba(193, 157, 67, 0.5);
}

.footer-contact {
    text-align: right;
    padding-top: 0.15rem;
}

.footer-contact::before {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C19D43);
    margin-left: auto;
    margin-bottom: 1.25rem;
    border-radius: 1px;
}

.contact-title {
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C19D43;
    margin-bottom: 1rem;
    opacity: 1;
}

.contact-item {
    margin: 0.6rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    font-size: 0.95rem;
    opacity: 0.95;
    color: var(--text-secondary);
}

.contact-icon {
    font-size: 1rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.footer-contact a:hover {
    color: #C19D43;
    border-bottom-color: rgba(193, 157, 67, 0.4);
}

/* Apply section: stack layout on smaller screens */
@media (max-width: 900px) {
    .apply-layout {
        grid-template-columns: 1fr;
    }
    .apply-form-wrapper {
        order: -1;
    }
    .apply-sidebar {
        position: static;
    }
}

/* Responsive Design – Mobile First */
@media (max-width: 768px) {
    :root {
        --navbar-height: 72px;
    }
    /* Nav menu and Solutions/About dropdowns: below header (Logo, Burger) on mobile only */
    .nav-menu {
        position: fixed;
        top: var(--navbar-height, 72px);
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-elevated);
        width: 100%;
        max-width: 100vw;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 4px 15px var(--shadow);
        padding: 1rem 0;
        gap: 0;
        max-height: calc(100vh - var(--navbar-height, 72px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }

    /* Ensure content does not sit under fixed navbar on small screens */
    main {
        padding-top: var(--navbar-height, 72px);
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.875rem 1.25rem;
        min-height: 2.75rem;
        min-width: 100%;
        color: var(--text-primary);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item-has-dropdown .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 0;
        padding: 0 0 0.5rem 1rem;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--bg-elevated);
    }

    .nav-item-has-dropdown .nav-dropdown a {
        padding: 0.625rem 1rem;
        min-height: 2.75rem;
        font-size: 0.95rem;
        color: var(--text-primary);
    }

    /* Solutions & About mega-menus: expand inline on mobile so all dropdown links are visible and scrollable */
    .nav-item.mega-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .nav-item.mega-wrapper > .nav-link {
        width: 100%;
        justify-content: center;
    }
    .mega-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        padding: 0 1rem !important;
        margin: 0;
        border: none;
        box-shadow: none;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.04);
        transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.2s ease, padding 0.2s ease;
    }
    .mega-wrapper.open .mega-menu {
        opacity: 1;
        visibility: visible;
        max-height: 75vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.75rem 1rem 1rem !important;
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
    }
    .mega-menu .mega-grid {
        grid-template-columns: 1fr;
        gap: 1rem 0;
    }
    .mega-menu--about .mega-grid {
        grid-template-columns: 1fr;
    }
    .mega-menu .mega-col h4 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0.25rem;
        border-bottom: 1px solid var(--border-subtle);
    }
    .mega-menu .mega-col > a {
        padding: 0.5rem 0;
        font-size: 0.9rem;
        text-align: left;
        justify-content: flex-start;
    }
    .mega-menu .mega-cta {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }

    .nav-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .page-header {
        padding: 80px 0 50px;
    }

    .portfolio-section {
        padding: 60px 0 50px;
    }

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

    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        padding: 2rem;
    }

    .section-divider {
        padding: 2rem 0;
    }

    .divider-icon {
        margin: 0 1rem;
    }

    .divider-line {
        max-width: 100px;
    }

    .section-label {
        font-size: 0.85rem;
        letter-spacing: 2px;
        margin-bottom: 1.25rem;
        padding-bottom: 0.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .why-section,
    .services-section,
    .hr-services-section {
        padding: 60px 0 50px;
    }

    .why-list li,
    .hr-services-list li {
        padding: 0.85rem 1rem 0.85rem 2.75rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .services-block {
        padding: 1.25rem;
    }

    .hr-services-intro {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .hr-services-list-title {
        font-size: 1.1rem;
        margin: 1.5rem 0 0.75rem;
    }

    .hr-services-list {
        margin-bottom: 1.5rem;
    }

    .hr-services-tagline {
        font-size: 1.15rem;
        margin-bottom: 1.25rem;
    }

    .cta-button--hr-services {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .quote {
        padding: 2rem 1.5rem;
        font-size: 1.2rem;
    }

    .quote p {
        font-size: 1.2rem;
    }

    .quote-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

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

    .job-card-content {
        padding: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }

    .image-container {
        width: 250px;
        height: 320px;
        margin: 0 auto;
    }

    .profile-icon {
        display: none;
    }

    .about-header {
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .apply-layout {
        gap: 2rem;
    }

    .apply-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .contact-section::before {
        height: 200px;
    }

    .modal-content {
        margin: 5% auto;
        padding: 1.5rem 1.25rem;
        width: calc(100vw - 2rem);
        max-width: 95vw;
        max-height: 85vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .google-form-embed {
        min-height: 480px;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact::before {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-section p {
        font-size: 0.98rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 60px 0 40px;
    }

    .hero {
        padding: 60px 0 50px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-card h3 {
        font-size: 1.3rem;
    }

    .section-divider {
        padding: 1.5rem 0;
    }

    .divider-icon {
        margin: 0 0.75rem;
    }

    .section-label {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .quote {
        font-size: 1.1rem;
        padding: 1.5rem 1rem;
    }

    .quote p {
        font-size: 1.1rem;
    }

    .quote cite {
        font-size: 0.9rem;
    }

    section {
        padding: 60px 0;
    }

    .why-section,
    .services-section,
    .hr-services-section {
        padding: 50px 0 40px;
    }

    .why-list li,
    .hr-services-list li {
        padding: 0.75rem 0.9rem 0.75rem 2.5rem;
    }

    .hr-services-intro {
        font-size: 0.95rem;
    }

    .hr-services-list-title {
        font-size: 1rem;
    }

    .hr-services-tagline {
        font-size: 1.05rem;
    }

    .cta-button--hr-services {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }

    .job-card-content {
        padding: 1.5rem;
    }

    .job-image-icon {
        font-size: 3rem;
    }

    .job-card h3 {
        font-size: 1.3rem;
    }

    .about-content {
        padding: 1.5rem;
    }

    .about-text h3 {
        font-size: 1.75rem;
    }

    .apply-form-wrapper {
        padding: 1.5rem 1rem;
    }

    .form-block-title {
        font-size: 1rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section p {
        font-size: 0.95rem;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact::before {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-title {
        font-size: 1rem;
    }

    .contact-item {
        justify-content: center;
        font-size: 0.95rem;
    }
}

/* Very small screens (e.g. 320px) */
@media (max-width: 360px) {
    .container {
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .nav-brand-title {
        font-size: 0.9rem;
    }

    .cta-button,
    .cta-button--hr-services {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 1rem;
        left: 1rem;
    }

    .faq-section {
        padding: 1.5rem 1rem 3rem;
    }

    .faq-section .tab-content {
        padding: 1.5rem 1.25rem;
    }

    .faq-section .tab-btn {
        padding: 0.65rem 1.15rem;
        font-size: 0.85rem;
    }
}

/* Back to top - Premium Dark */
.back-to-top {
    position: fixed;
    bottom: max(2rem, env(safe-area-inset-bottom));
    left: max(2rem, env(safe-area-inset-left));
    z-index: 900;
    width: 48px;
    height: 48px;
    min-width: 44px;
    min-height: 44px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(58, 115, 179, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.back-to-top:hover {
    box-shadow: var(--shadow-neon);
}
.back-to-top:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top-icon {
    width: 12px;
    height: 12px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: 6px;
}

/* Navbar scroll state */
.navbar.scrolled {
    box-shadow: 0 4px 20px var(--shadow);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Loading Animation for Cards */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.job-card {
    animation: slideIn 0.6s ease-out backwards;
}

.job-card:nth-child(1) { animation-delay: 0.1s; }
.job-card:nth-child(2) { animation-delay: 0.2s; }
.job-card:nth-child(3) { animation-delay: 0.3s; }
.job-card:nth-child(4) { animation-delay: 0.4s; }

/* Tabbed FAQ - Premium */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.faq-section-label {
    margin-bottom: 0.5rem !important;
    color: var(--gold) !important;
}

.faq-section-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    text-align: center;
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.faq-section .tab-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    cursor: pointer;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.faq-section .tab-btn:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
    border-color: var(--border-subtle);
}

.faq-section .tab-btn.active {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-hover) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(58, 115, 179, 0.35), 0 0 24px rgba(58, 115, 179, 0.12);
}

.faq-section .tab-btn.active:hover {
    box-shadow: 0 6px 28px rgba(58, 115, 179, 0.4), 0 0 32px rgba(58, 115, 179, 0.15);
    transform: translateY(-1px);
}

.faq-section .tab-content {
    display: none;
    padding: 2rem 2rem 2.25rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow), 0 0 0 1px var(--glass-border);
    animation: faqTabIn 0.35s ease-out;
}

.faq-section .tab-content.active {
    display: block;
}

@keyframes faqTabIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Collapsible FAQ item */
.faq-section .tab-content .faq-item {
    border-bottom: 1px solid var(--border-subtle);
}

.faq-section .tab-content .faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--accent-red);
}

.faq-question:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 4px;
}

.faq-chevron {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.25s ease;
}

.faq-item.expanded .faq-chevron {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item.expanded .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer-inner p {
    margin: 0 0 1rem 0;
    padding-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-answer-inner ul {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer-inner ul li {
    margin-bottom: 0.35rem;
}

.faq-answer-inner ul li:last-child {
    margin-bottom: 0;
}

.faq-answer-inner .faq-list-check {
    list-style: none;
    padding-left: 0;
}

.faq-answer-inner .faq-list-check li {
    padding-left: 1.5rem;
    position: relative;
}

.faq-answer-inner .faq-list-check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.9em;
}

.faq-section .tab-content .faq-answer-inner a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.faq-section .tab-content .faq-answer-inner a:hover {
    color: var(--accent-orange);
    border-bottom-color: var(--accent-orange);
}

.faq-cta-line {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.faq-cta-wrap {
    text-align: center;
    margin-top: 0.75rem;
}
