/*
Theme Name: Eastbay Career Solutions
Theme URI: https://eastbaycareersolutions.com
Author: Eastbay Career Solutions Ltd
Author URI: https://eastbaycareersolutions.com
Description: A professional recruitment and labor-hire theme for Eastbay Career Solutions Ltd, based in Kaitaia, New Zealand. Features dual-stream services for international recruitment and labor management.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eastbay-career-solutions
Tags: recruitment, corporate, business, responsive, custom-menu, featured-images

Eastbay Career Solutions WordPress Theme
Bridging the Gap Between Global Talent and New Zealand Industry
*/

/* ========================================
   CSS VARIABLES & ROOT STYLES
======================================== */
:root {
    /* Primary Colors */
    --navy-blue: #1a2b4a;
    --navy-dark: #0f1a2e;
    --slate-grey: #4a5568;
    --slate-light: #718096;
    --teal-accent: #2c9c8f;
    --teal-light: #3ab8a8;
    --teal-dark: #228579;
    --kowhai-yellow: #d4a012;
    
    /* Neutrals */
    --white: #ffffff;
    --off-white: #f7fafc;
    --light-grey: #edf2f7;
    --border-grey: #e2e8f0;
    --text-dark: #1a202c;
    --text-muted: #718096;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

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

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

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-blue);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--slate-grey);
}

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

a:hover {
    color: var(--teal-dark);
}

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

ul, ol {
    list-style: none;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--slate-grey);
}

.bg-navy { background-color: var(--navy-blue); }
.bg-light { background-color: var(--off-white); }
.bg-white { background-color: var(--white); }

.text-white { color: var(--white); }
.text-navy { color: var(--navy-blue); }
.text-teal { color: var(--teal-accent); }

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--teal-accent);
    color: var(--white);
    border-color: var(--teal-accent);
}

.btn-primary:hover {
    background-color: var(--teal-dark);
    border-color: var(--teal-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--navy-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--teal-accent);
    border-color: var(--teal-accent);
}

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

.btn-kowhai {
    background-color: var(--kowhai-yellow);
    color: var(--navy-dark);
    border-color: var(--kowhai-yellow);
}

.btn-kowhai:hover {
    background-color: #c49410;
    border-color: #c49410;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all var(--transition-normal);
}

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

.top-bar {
    background-color: var(--navy-dark);
    padding: 8px 0;
    font-size: 0.875rem;
}

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

.top-bar-left {
    display: flex;
    gap: 25px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-grey);
}

.top-bar-item svg {
    width: 16px;
    height: 16px;
    fill: var(--teal-accent);
}

.top-bar-item a {
    color: var(--light-grey);
}

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

.top-bar-right {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--light-grey);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--teal-accent);
    color: var(--white);
}

.social-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.main-header {
    padding: 15px 0;
    transition: all var(--transition-normal);
}

.site-header.scrolled .main-header {
    padding: 10px 0;
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img,
.site-logo-img {
    height: 50px;
    width: auto;
    max-width: 240px;
}

.site-logo .logo-light {
    display: block;
}

.site-logo .logo-dark {
    display: none;
}

.site-header.scrolled .site-logo .logo-light {
    display: none;
}

.site-header.scrolled .site-logo .logo-dark {
    display: block;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    max-width: 220px;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-grey);
    margin-bottom: 20px;
}

.mobile-nav-logo img {
    height: 40px;
    width: auto;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
}

.site-logo-name {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    transition: color var(--transition-normal);
}

.site-header.scrolled .site-logo-name {
    color: var(--navy-blue);
}

.site-logo-tagline {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color var(--transition-normal);
}

.site-header.scrolled .site-logo-tagline {
    color: var(--slate-grey);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    transition: color var(--transition-fast);
}

.site-header.scrolled .nav-link {
    color: var(--navy-blue);
}

.nav-link:hover {
    color: var(--teal-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--teal-accent);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-item.current-menu-item .nav-link::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 12px;
}

.nav-cta .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: all var(--transition-fast);
}

.site-header.scrolled .menu-toggle span {
    background-color: var(--navy-blue);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-blue) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,43,74,0.95) 0%, rgba(15,26,46,0.9) 100%);
    z-index: 2;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232c9c8f' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 3;
}

.hero .container {
    position: relative;
    z-index: 4;
}

.hero-content {
    max-width: 800px;
    padding-top: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(44,156,143,0.2);
    border: 1px solid var(--teal-accent);
    border-radius: 30px;
    margin-bottom: 25px;
}

.hero-badge span {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--teal-accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal-accent);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   SERVICES SECTION
======================================== */
.services {
    background-color: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-grey);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal-accent);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-accent), var(--teal-light));
    border-radius: 50%;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--white);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: var(--navy-blue);
}

.service-card p {
    color: var(--slate-grey);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(5px);
}

/* ========================================
   ABOUT PREVIEW SECTION
======================================== */
.about-preview {
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
}

.about-image-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--teal-accent);
    color: var(--white);
    padding: 25px 35px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image-badge .number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.about-image-badge .text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 1.15rem;
    color: var(--slate-grey);
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: var(--teal-accent);
}

.about-feature span {
    font-weight: 600;
    color: var(--navy-blue);
}

/* ========================================
   JOB BOARD SECTION
======================================== */
.job-board-preview {
    background-color: var(--navy-blue);
}

.job-board-preview .section-header h2,
.job-board-preview .section-header p {
    color: var(--white);
}

.job-board-preview .section-header p {
    opacity: 0.8;
}

.job-search-bar {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}

.job-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-field label {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-field input,
.search-field select {
    padding: 12px 15px;
    border: 1px solid var(--border-grey);
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--off-white);
    transition: all var(--transition-fast);
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--teal-accent);
    background-color: var(--white);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.job-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    transition: all var(--transition-normal);
    border-left: 4px solid var(--teal-accent);
}

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

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.job-card h3 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.job-company {
    font-size: 0.95rem;
    color: var(--teal-accent);
    font-weight: 600;
}

.job-type {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--off-white);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-grey);
    text-transform: uppercase;
}

.job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--slate-grey);
}

.job-meta-item svg {
    width: 16px;
    height: 16px;
    fill: var(--slate-light);
}

.job-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

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

.job-salary {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-blue);
}

.job-board-cta {
    text-align: center;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--teal-dark) 100%);
    padding: 80px 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.cta-box {
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all var(--transition-normal);
}

.cta-box:hover {
    background-color: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.cta-box-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.cta-box-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--white);
}

.cta-box h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

.cta-box .btn {
    background-color: var(--white);
    color: var(--teal-dark);
    border-color: var(--white);
}

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

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.testimonials {
    background-color: var(--off-white);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--slate-grey);
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--teal-accent);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--teal-accent);
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background-color: var(--navy-dark);
    color: var(--white);
}

.footer-main {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-brand .site-logo {
    margin-bottom: 20px;
}

.footer-brand .site-logo-name,
.footer-brand .site-logo-tagline {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--teal-accent);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.footer-column h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--teal-accent);
    display: inline-block;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--teal-accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    fill: var(--teal-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.6;
}

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

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

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--teal-accent);
}

/* ========================================
   PAGE TEMPLATES
======================================== */
.page-header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-blue) 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232c9c8f' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
}

.breadcrumb a {
    color: var(--teal-accent);
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

.page-content {
    padding: 80px 0;
}

/* ========================================
   EMPLOYERS PAGE
======================================== */
.employer-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    padding: 35px;
    border: 1px solid var(--border-grey);
    border-radius: 8px;
    text-align: center;
    transition: all var(--transition-normal);
}

.benefit-card:hover {
    border-color: var(--teal-accent);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--off-white);
    border-radius: 50%;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--teal-accent);
}

.benefit-card h4 {
    margin-bottom: 10px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--border-grey);
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--teal-accent);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.process-step h4 {
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.95rem;
}

/* ========================================
   CANDIDATES PAGE
======================================== */
.candidate-journey {
    background-color: var(--off-white);
}

.journey-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--teal-accent);
}

.journey-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.journey-item:nth-child(odd) {
    padding-right: 50%;
    text-align: right;
}

.journey-item:nth-child(even) {
    padding-left: 50%;
}

.journey-content {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.journey-icon {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--teal-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.journey-item:nth-child(odd) .journey-icon {
    right: -25px;
    transform: translateX(50%);
}

.journey-item:nth-child(even) .journey-icon {
    left: -25px;
    transform: translateX(-50%);
}

.journey-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

/* ========================================
   CONTACT PAGE
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-card {
    background-color: var(--navy-blue);
    border-radius: 8px;
    padding: 40px;
    color: var(--white);
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item svg {
    width: 24px;
    height: 24px;
    fill: var(--teal-accent);
    flex-shrink: 0;
}

.contact-info-item h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-info-item p,
.contact-info-item a {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.contact-map {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-form-wrapper {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 1px solid var(--border-grey);
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-accent);
    box-shadow: 0 0 0 3px rgba(44,156,143,0.1);
}

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

/* ========================================
   JOB BOARD PAGE
======================================== */
.job-board-page {
    background-color: var(--off-white);
}

.job-filters {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 15px;
    align-items: end;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-listing {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--teal-accent);
    transition: all var(--transition-normal);
}

.job-listing:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.job-listing-main h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.job-listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.job-listing-side {
    text-align: right;
}

.job-listing-salary {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

/* ========================================
   SINGLE JOB PAGE
======================================== */
.single-job-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.job-details {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.job-details h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-grey);
}

.job-details h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.job-details ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.job-details li {
    margin-bottom: 8px;
    color: var(--slate-grey);
}

.job-sidebar {
    position: sticky;
    top: 120px;
}

.job-apply-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 25px;
}

.job-apply-card h3 {
    margin-bottom: 20px;
}

.job-quick-info {
    margin-bottom: 25px;
}

.job-quick-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-grey);
}

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

.job-quick-info-item span:first-child {
    color: var(--slate-grey);
}

.job-quick-info-item span:last-child {
    font-weight: 600;
    color: var(--navy-blue);
}

/* ========================================
   ABOUT PAGE
======================================== */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

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

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--teal-accent);
}

.team-member h4 {
    margin-bottom: 5px;
}

.team-member span {
    color: var(--teal-accent);
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--off-white);
    border-radius: 50%;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--teal-accent);
}

/* ========================================
   RESPONSIVE STYLES
======================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .nav-menu,
    .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-grid,
    .contact-grid,
    .about-story {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .job-search-form {
        grid-template-columns: 1fr 1fr;
    }
    
    .employer-benefits,
    .team-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .single-job-content {
        grid-template-columns: 1fr;
    }
    
    .job-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .top-bar {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .stat-item {
        flex: 1 1 calc(50% - 15px);
    }
    
    .about-image-badge {
        position: static;
        margin-top: 20px;
        display: inline-block;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .job-search-form {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .site-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .job-listing {
        grid-template-columns: 1fr;
    }
    
    .job-listing-side {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .journey-timeline::before {
        left: 25px;
    }
    
    .journey-item,
    .journey-item:nth-child(odd),
    .journey-item:nth-child(even) {
        padding-left: 70px;
        padding-right: 0;
        text-align: left;
    }
    
    .journey-item:nth-child(odd) .journey-icon,
    .journey-item:nth-child(even) .journey-icon {
        left: 0;
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .employer-benefits,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MOBILE NAVIGATION
======================================== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--navy-dark);
    z-index: 1001;
    padding: 80px 30px 30px;
    transition: right var(--transition-normal);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-nav-close svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.mobile-nav-menu a {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ========================================
   WORDPRESS SPECIFIC
======================================== */
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto 20px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: var(--slate-grey);
    text-align: center;
    padding: 10px 0;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.entry-content a {
    text-decoration: underline;
}

.entry-content a:hover {
    text-decoration: none;
}
