/*
Theme Name: Empire Careers UK
Theme URI: http://localhost/empirecareersuk
Author: Empire Careers UK
Author URI: http://localhost/empirecareersuk
Description: A premium, professional careers and recruitment theme for Empire Careers UK — navy blue & gold.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: empirecareersuk
Tags: careers, jobs, recruitment, professional, business, navy, gold
*/

/* =========================================
   GOOGLE FONTS IMPORT
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* =========================================
   DESIGN TOKENS — Navy & Gold Palette
   ========================================= */
:root {
    /* Brand Colors */
    --navy-darkest: #0d1b36;
    --navy-dark: #132244;
    --navy: #1a2d5a;
    --navy-mid: #1e3570;
    --navy-light: #243f82;

    --gold: #c9a227;
    --gold-light: #e2b93b;
    --gold-pale: #f5d97a;
    --gold-dark: #a07c10;

    --silver: #c0c8d8;
    --white: #ffffff;

    /* UI Colors */
    --bg: #f4f6fb;
    --bg-section: #eef1f8;
    --card-bg: #ffffff;
    --text: #1a2d5a;
    --text-mid: #3a4f7a;
    --text-muted: #6b7a9a;
    --border: #d8dfee;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing & Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 45, 90, 0.08);
    --shadow: 0 8px 32px rgba(26, 45, 90, 0.12);
    --shadow-lg: 0 20px 60px rgba(26, 45, 90, 0.18);
    --shadow-gold: 0 8px 32px rgba(201, 162, 39, 0.25);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   GLOBAL RESET
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold);
}

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

ul {
    list-style: none;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-darkest);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
}

h4 {
    font-size: 1.1rem;
}

p {
    color: var(--text-muted);
    line-height: 1.8;
}

.text-gold {
    color: var(--gold) !important;
}

.text-navy {
    color: var(--navy) !important;
}

.text-white {
    color: var(--white) !important;
}

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

/* =========================================
   LAYOUT
   ========================================= */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
}

section {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
    color: var(--navy-darkest);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

/* Divider */
.gold-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin: 1rem 0 1.5rem;
}

.section-header.centered .gold-divider {
    margin: 1rem auto 1.5rem;
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
    background: var(--navy-darkest);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--silver);
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar a {
    color: var(--silver);
}

.top-bar a:hover {
    color: var(--gold-light);
}

.top-bar-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar-links a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--transition);
}

/* Ensure the header does not isolate z-index layer when mobile menu is active */
body.mobile-menu-open .site-header {
    z-index: 1000000;
}

.site-header.scrolled {
    box-shadow: var(--shadow);
    border-bottom-color: var(--gold);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

/* Logo */
.site-logo-wrap img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.site-logo-wrap:hover img {
    transform: scale(1.03);
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-mid);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
}

.nav-close-btn,
.mobile-nav-cta {
    display: none;
}

.main-nav a:hover,
.main-nav .current-menu-item>a {
    color: var(--navy);
    background: rgba(26, 45, 90, 0.06);
}

.main-nav .current-menu-item>a {
    color: var(--gold-dark);
    font-weight: 600;
}

/* Header CTA Button */
.header-cta .btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-darkest);
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-gold);
    white-space: nowrap;
    font-size: 0.9rem;
}

.header-cta .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(201, 162, 39, 0.35);
    color: var(--navy-darkest);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0.5rem 0.6rem;
    flex-direction: column;
    gap: 5px;
    z-index: 1000001;
    /* Higher than both main-nav and backdrop */
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, background 0.3s ease;
    transform-origin: center;
}

/* Hamburger → X animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

.menu-toggle.active {
    border-color: var(--gold);
    background: rgba(201, 162, 39, 0.08);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    background: linear-gradient(135deg, var(--navy-darkest) 0%, var(--navy) 45%, var(--navy-mid) 100%);
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

/* Building background image with low opacity */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08; /* Low opacity building background */
    z-index: 0;
}

/* Decorative pattern overlay */
.hero-overlay-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg), transparent);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.35);
    color: var(--gold-light);
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.1;
}

.hero h1 .highlight {
    color: var(--gold-light);
    position: relative;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-showcase::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.12), transparent 70%);
    animation: pulse-ring 3s ease-in-out infinite;
}

.hero-logo-showcase img {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(201, 162, 39, 0.3));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-body);
    text-decoration: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-darkest);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 162, 39, 0.4);
    color: var(--navy-darkest);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
    transform: translateY(-3px);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-navy:hover {
    background: var(--navy-mid);
    transform: translateY(-3px);
    color: var(--white);
}

.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

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

/* =========================================
   CARDS
   ========================================= */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-gold);
}

/* =========================================
   SERVICES / FEATURES GRID
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 162, 39, 0.3);
}

.service-card h3 {
    margin: 1.2rem 0 0.75rem;
    font-size: 1.1rem;
}

/* =========================================
   JOB CARDS
   ========================================= */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.job-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.job-type-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(26, 45, 90, 0.08);
    color: var(--navy);
    white-space: nowrap;
}

.job-type-badge.full-time {
    background: rgba(26, 45, 90, 0.1);
    color: var(--navy);
}

.job-type-badge.part-time {
    background: rgba(201, 162, 39, 0.12);
    color: var(--gold-dark);
}

.job-type-badge.contract {
    background: rgba(16, 133, 108, 0.1);
    color: #10856c;
}

.job-type-badge.remote {
    background: rgba(100, 60, 200, 0.08);
    color: #6418c3;
}

.job-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.job-salary {
    font-weight: 700;
    color: var(--gold-dark);
    font-size: 1rem;
}

/* =========================================
   JOB CATEGORY CARDS
   ========================================= */
.job-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.job-category-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.job-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

/* Category Header */
.job-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
}

.job-cat-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(201, 162, 39, 0.05));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-cat-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    font-family: var(--font-body);
    line-height: 1.3;
    margin-bottom: 0.35rem;
}

/* Roles List */
.job-roles-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.job-role-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.job-role-item:last-child {
    border-bottom: none;
}

.job-role-item:hover {
    background: rgba(201, 162, 39, 0.04);
    border-radius: var(--radius-sm);
    padding-left: 0.4rem;
}

.role-bullet {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

.role-name {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
}

.role-apply-btn {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy);
    background: rgba(26, 45, 90, 0.07);
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    white-space: nowrap;
    transition: var(--transition);
    text-decoration: none;
}

.role-apply-btn:hover {
    background: var(--gold);
    color: var(--navy-darkest);
}

/* Card Footer */
.job-cat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.job-cat-footer .job-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    flex: 1;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: 1.5rem;
    font-style: italic;
    padding-top: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.star-rating {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-darkest) 0%, var(--navy) 60%, var(--navy-mid) 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Geometric pattern with low opacity */
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(201, 162, 39, 0.1), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201, 162, 39, 0.07), transparent 50%),
        url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.04; /* Very low opacity pattern overlay */
    z-index: 0;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: var(--navy-darkest);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-logo {
    height: 55px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-darkest);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col li a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
    color: var(--gold);
    font-weight: 500;
}

/* =========================================
   SECTIONS — Alt Background
   ========================================= */
.section-alt {
    background: var(--bg-section);
}

.section-dark {
    background: linear-gradient(135deg, var(--navy-darkest), var(--navy));
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.65);
}

.section-dark .section-label {
    color: var(--gold-light);
}

/* =========================================
   TRUST BADGES / PARTNER LOGOS
   ========================================= */
.trust-bar {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.trust-items {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.trust-item {
    font-weight: 700;
    color: var(--navy);
    opacity: 0.4;
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.trust-item:hover {
    opacity: 0.8;
}

/* =========================================
   SEARCH BOX
   ========================================= */
.search-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 620px;
    width: 100%;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--gold);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--text);
    background: transparent;
    border-radius: var(--radius-xl);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box .btn {
    border-radius: calc(var(--radius-xl) - 4px);
    flex-shrink: 0;
}

/* =========================================
   BREADCRUMBS
   ========================================= */
.breadcrumbs {
    background: var(--bg-section);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--navy);
}

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

.breadcrumbs span.sep {
    margin: 0 0.5rem;
    color: var(--border);
}

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
    background: linear-gradient(135deg, var(--navy-darkest) 0%, var(--navy) 100%);
    padding: 4rem 0 3.5rem;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
}

/* =========================================
   ENTRY CONTENT (post/page body)
   ========================================= */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-mid);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content p {
    margin-bottom: 1.25rem;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-mid);
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content a {
    color: var(--gold-dark);
    text-decoration: underline;
}

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

/* =========================================
   SIDEBAR
   ========================================= */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gold);
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Mobile Nav — hidden off-screen by default */
    .main-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background: var(--white);
        z-index: 100000;
        padding: 6rem 2.5rem 3rem;
        transform: translateX(100%);
        transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 40px rgba(26, 45, 90, 0.18);
        overflow-y: auto;
    }

    /* Slide in when open */
    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-nav li {
        border-bottom: 1px solid var(--border);
    }

    .main-nav a {
        display: block;
        padding: 1rem 0.5rem;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--navy);
        border-radius: 0;
        background: none;
    }

    .main-nav a:hover,
    .main-nav .current-menu-item>a {
        color: var(--gold-dark);
        background: none;
        padding-left: 1rem;
    }

    /* Mobile nav close button */
    .nav-close-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 2px solid var(--gold);
    }

    .nav-close-btn .nav-logo {
        height: 40px;
        width: auto;
    }

    /* Mobile Nav CTA */
    .mobile-nav-cta {
        display: block;
        margin-top: 2rem;
        text-align: center;
        padding: 0.9rem 1.5rem;
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        color: var(--navy-darkest) !important;
        font-weight: 700;
        border-radius: var(--radius-xl);
        font-size: 1rem;
    }

    /* Overlay backdrop — no blur, clean dark overlay */
    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(13, 27, 54, 0.55);
        z-index: 99999;
        /* Higher than header (999) but lower than drawer (100000) */
        opacity: 0;
        transition: opacity 0.35s ease;
    }

    .nav-backdrop.visible {
        display: block;
        opacity: 1;
    }

    /* Layout fixes */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-about .footer-brand-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-about ul {
        align-items: center;
        justify-content: center;
    }
    
    .footer-col h4 {
        margin-bottom: 1rem;
    }

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

    section {
        padding: 3.5rem 0;
    }

    .hero {
        padding: 4.5rem 0 3.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
    }

    .job-categories-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FILTER PILLS
   ========================================= */
.filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.filter-pill:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.filter-pill.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* =========================================
   CONTACT TABS
   ========================================= */
.contact-tabs {
    display: flex;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.ctab-btn {
    flex: 1;
    padding: 1.1rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-right: 1px solid var(--border);
    transition: var(--transition);
    font-family: var(--font-body);
}

.ctab-btn:last-child {
    border-right: none;
}

.ctab-btn:hover {
    background: var(--bg-section);
    color: var(--navy);
}

.ctab-btn.active {
    background: var(--navy);
    color: var(--white);
}

.ctab-panel {
    display: none;
}

.ctab-panel.active {
    display: block;
}

/* =========================================
   CONTACT FORM CARD
   ========================================= */
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.form-card-title {
    font-size: 1.5rem;
    color: var(--navy-darkest);
    margin-bottom: 0.5rem;
}

.form-card-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* =========================================
   FORM ELEMENTS
   ========================================= */
.ecuk-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
}

.form-group .req {
    color: var(--gold-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-submit-btn {
    align-self: flex-start;
    padding: 0.9rem 2.25rem;
    font-size: 1rem;
}

/* =========================================
   FORM ALERTS
   ========================================= */
.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-alert span {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.form-alert-success {
    background: rgba(16, 133, 108, 0.08);
    border: 1px solid rgba(16, 133, 108, 0.25);
    color: #0a6b57;
}

.form-alert-error {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #b02a37;
}

/* =========================================
   CONTACT INFO STRIP
   ========================================= */
.contact-info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: var(--navy-darkest);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    margin-top: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.cinfo-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-item strong {
    display: block;
    color: var(--gold-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.contact-info-item span,
.contact-info-item a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
}

.contact-info-item a:hover {
    color: var(--gold-light);
}

/* Responsive forms */
@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-tabs {
        flex-direction: column;
    }

    .ctab-btn {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .ctab-btn:last-child {
        border-bottom: none;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .contact-info-strip {
        grid-template-columns: 1fr;
    }

    .filter-pills {
        justify-content: center;
    }
}

/* Apply page 2-col grid collapses on tablet */
@media (max-width: 860px) {
    .apply-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Service nav active underline */
.svc-nav-btn:hover {
    color: var(--navy);
    border-bottom-color: rgba(201, 162, 39, 0.4) !important;
}

/* Extra small devices responsive tweaks for Home Hero */
@media (max-width: 576px) {
    .hero {
        padding: 3rem 0 2rem;
    }
    
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero .search-box {
        flex-direction: column;
        border-radius: var(--radius);
        padding: 0.5rem;
        background: transparent;
        box-shadow: none;
        gap: 0.75rem;
    }
    
    .hero .search-box input {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm) !important;
        padding: 0.8rem 1rem;
        width: 100%;
    }
    
    .hero .search-box .btn {
        width: 100%;
        border-radius: var(--radius-sm) !important;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem 2rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}