/*
Theme Name: People Fusion
Theme URI: https://peoplefusion.ae
Author: People Fusion
Author URI: https://peoplefusion.ae
Description: Custom theme for People Fusion - HR and recruitment solutions
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.3
License: Private
License URI:
Text Domain: peoplefusion
*/

/* ============================================
   FONT FACES
   ============================================ */

@font-face {
    font-family: 'AllrounderMonument';
    src: url('assets/fonts/AllrounderMonumentTest-Book.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AllrounderMonument';
    src: url('assets/fonts/AllrounderMonumentTest-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AllrounderMonument';
    src: url('assets/fonts/AllrounderMonumentTest-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   CSS VARIABLES
   ============================================ */

:root {
    /* Primary Colors - Blue */
    --pf-primary: #00A0E4;
    --pf-primary-dark: #0080B8;
    --pf-primary-darker: #006090;
    --pf-primary-light: #40C0F0;
    --pf-primary-lighter: #E5F6FC;

    /* Secondary Colors - Gold */
    --pf-secondary: #E89B00;
    --pf-secondary-dark: #CC8800;
    --pf-secondary-light: #FFB830;

    /* Neutral Colors - Text Hierarchy */
    --pf-dark: #1A1A2E;           /* Deep navy for dark backgrounds */
    --pf-dark-gray: #333333;      /* Primary body text, headings, form labels */
    --pf-medium-gray: #666666;    /* Section descriptions, card content, secondary text */
    --pf-light-gray: #999999;     /* Tertiary text, placeholders, meta info */
    --pf-border: #E0E0E0;
    --pf-light-bg: #F8FAFB;
    --pf-white: #FFFFFF;

    /* Gradients */
    --pf-gradient-hero: linear-gradient(to bottom, #FFFFFF 0%, #E0F4FE 15%, #B0E8FC 30%, #80D8F8 45%, #50C8F4 60%, #20B0EC 75%, #00A0E4 90%, #0080C8 100%);
    --pf-gradient-blue: linear-gradient(180deg, #00A0E4 0%, #0080B8 100%);
    --pf-gradient-light: linear-gradient(180deg, #FFFFFF 0%, #F8FAFB 100%);

    /* Typography */
    --font-primary: 'AllrounderMonument', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-description: Tahoma, Geneva, sans-serif;

    /* Font Sizes */
    --text-hero: clamp(2.5rem, 5vw, 3.5rem);
    --text-h1: clamp(2rem, 4vw, 3rem);
    --text-h2: clamp(1.75rem, 3vw, 2.5rem);
    --text-h3: clamp(1.25rem, 2vw, 1.75rem);
    --text-h4: 1.25rem;
    --text-body: 1rem;
    --text-small: 0.875rem;

    /* Spacing */
    --section-padding: clamp(60px, 8vw, 100px);
    --container-padding: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-blue: 0 4px 20px rgba(0, 160, 228, 0.25);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ============================================
   CSS RESET & BASE
   ============================================ */

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: 1.7;
    color: var(--pf-dark-gray);
    background-color: var(--pf-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

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

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 500;
    line-height: 1.2;
    color: var(--pf-dark);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

.text-primary { color: var(--pf-primary); }
.text-secondary { color: var(--pf-secondary); }
.text-white { color: var(--pf-white); }
.text-light { color: var(--pf-medium-gray); }

/* ============================================
   LAYOUT
   ============================================ */

.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-wide {
    max-width: 1500px;
}

.container-narrow {
    max-width: 900px;
}

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

/* Base Section Styles - Unified Background */
.section {
    position: relative;
    background: linear-gradient(180deg, var(--pf-light-bg) 0%, #ffffff 100%);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 160, 228, 0.08) 0%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* Consistent container width for all sections */
.section .container {
    max-width: 1500px;
    position: relative;
    z-index: 1;
}

/* Exclusions - Newsletter keeps its own background */
.section-newsletter {
    background: none;
}

/* Hide overlay on desktop - only show on mobile */
.section-newsletter::before {
    display: none;
}

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

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

.section-header p {
    color: var(--pf-medium-gray);
    font-size: 1rem;
    max-width: 400px;
    margin-top: 15px;
    line-height: 1.6;
}

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

.section-header.text-center p {
    margin: 15px auto 0;
}

.section-light {
    background-color: var(--pf-light-bg);
}

.section-blue {
    background: var(--pf-gradient-hero);
    color: var(--pf-white);
    position: relative;
}

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

.section-blue p {
    color: rgba(255, 255, 255, 0.9);
}

/* Page Intro Section - Reusable intro header for inner pages */
.section-page-intro {
    padding-top: 165px;
    padding-bottom: 40px;
    height: 500px;
    display: flex;
    align-items: flex-start;
}

/* About Us Intro Section - with background image */
body.page-about-us .section-page-intro {
    position: relative;
    background: url('assets/images/about-intro-bg.jpg') center center / cover no-repeat;
    padding-top: 180px;
    padding-bottom: 60px;
}

body.page-about-us .section-page-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    pointer-events: none;
    z-index: 0;
}

body.page-about-us .section-page-intro .container {
    position: relative;
    z-index: 1;
}

body.page-about-us .section-page-intro .section-label {
    color: var(--pf-secondary-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

body.page-about-us .section-page-intro .section-title-large {
    color: var(--pf-primary-dark);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

body.page-about-us .section-page-intro .section-description {
    color: var(--pf-medium-gray);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Careers Intro Section - with background image */
body.page-careers .section-page-intro {
    position: relative;
    background: url('assets/images/careers-intro-bg.jpg') center center / cover no-repeat;
    padding-top: 180px;
    padding-bottom: 60px;
}

body.page-careers .section-page-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    pointer-events: none;
    z-index: 0;
}

body.page-careers .section-page-intro .container {
    position: relative;
    z-index: 1;
}

body.page-careers .section-page-intro .section-label {
    color: var(--pf-secondary-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

body.page-careers .section-page-intro .section-title-large {
    color: var(--pf-primary-dark);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

body.page-careers .section-page-intro .section-description {
    color: var(--pf-medium-gray);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Contact Intro Section - with background image */
body.page-contact-us .section-page-intro {
    position: relative;
    background: url('assets/images/contact-intro-bg.jpg') center center / cover no-repeat;
    padding-top: 180px;
    padding-bottom: 60px;
}

body.page-contact-us .section-page-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    pointer-events: none;
    z-index: 0;
}

body.page-contact-us .section-page-intro .container {
    position: relative;
    z-index: 1;
}

body.page-contact-us .section-page-intro .section-label {
    color: var(--pf-secondary-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

body.page-contact-us .section-page-intro .section-title-large {
    color: var(--pf-primary-dark);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

body.page-contact-us .section-page-intro .section-description {
    color: var(--pf-medium-gray);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* HR Topics Intro Section - with background image */
body.page-hr-topics .section-page-intro {
    position: relative;
    background: url('assets/images/hr-topics-intro-bg.jpg') center bottom / cover no-repeat;
    padding-top: 180px;
    padding-bottom: 60px;
}

body.page-hr-topics .section-page-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    pointer-events: none;
    z-index: 0;
}

body.page-hr-topics .section-page-intro .container {
    position: relative;
    z-index: 1;
}

body.page-hr-topics .section-page-intro .section-label {
    color: var(--pf-secondary-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

body.page-hr-topics .section-page-intro .section-title-large {
    color: var(--pf-primary-dark);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

body.page-hr-topics .section-page-intro .section-description {
    color: var(--pf-medium-gray);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Services Intro Section - with background image */
body.page-services .section-page-intro {
    position: relative;
    background: url('assets/images/services-intro-bg.jpg') center center / cover no-repeat;
    padding-top: 180px;
    padding-bottom: 60px;
}

body.page-services .section-page-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
    z-index: 0;
}

body.page-services .section-page-intro .container {
    position: relative;
    z-index: 1;
}

body.page-services .section-page-intro .section-label {
    color: var(--pf-secondary-light);
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(255, 184, 48, 0.4),
        0 0 20px rgba(255, 184, 48, 0.2);
}

body.page-services .section-page-intro .section-title-large {
    color: var(--pf-primary-dark);
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 0, 0, 0.3);
}

body.page-services .section-page-intro .section-description {
    color: rgba(255, 255, 255, 0.85);
    text-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 0, 0, 0.3);
}

.section-page-intro .section-header {
    max-width: 800px;
}

.section-page-intro .section-description {
    max-width: 400px;
    margin-top: 15px;
    font-size: 0.875rem;
}

.section-page-intro .container {
    max-width: 1500px;
}

/* Hexagon Pattern Overlay */
.hexagon-bg {
    position: relative;
}

.hexagon-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/images/hexagon-pattern.png');
    background-repeat: repeat;
    background-size: 300px auto;
    opacity: 0.06;
    pointer-events: none;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
}

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

.site-header .container {
    max-width: 100%;
    padding: 0 60px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    min-height: 100px;
    position: relative;
}

.site-logo {
    margin-left: -20px;
}

.header-cta {
    display: flex;
    gap: 12px;
    margin-right: -20px;
}

.btn-header {
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-header.btn-outline {
    background: transparent;
    border: 1px solid var(--pf-primary);
    color: var(--pf-primary);
}

.btn-header.btn-outline:hover {
    background: var(--pf-primary);
    color: #fff;
}

.btn-header.btn-primary {
    background: var(--pf-primary);
    border: 1px solid var(--pf-primary);
    color: #fff;
}

.btn-header.btn-primary:hover {
    background: var(--pf-primary-dark);
    border-color: var(--pf-primary-dark);
}

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

.site-logo svg {
    height: 95px;
    width: auto;
}

/* Main Navigation */
.main-navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

/* Mobile Nav Menu - Hidden on desktop */
.mobile-nav-menu {
    display: none;
}

/* Header always has glass effect on all pages */


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

.nav-menu li {
    position: relative;
}

/* Hide mobile submenu toggle on desktop - shown in 1024px media query */
.submenu-toggle {
    display: none;
}

.nav-menu > li > a {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.9375rem;
    color: #000000;
    padding: 10px 0;
    display: block;
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0090CE;
    transition: width var(--transition-normal);
}

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

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    color: #0090CE;
}

/* Services Section - Dynamic Header Menu Color (Desktop Only) */
/* White menu in hero section, black menu when scrolled past */
/* Applies to: /services/ page AND all category archives (/services/recruitment/, etc.) */
@media (min-width: 1025px) {
    /* White menu when in hero section (default for services-section) */
    body.services-section .site-header .nav-menu > li > a {
        color: #ffffff;
        transition: color 0.3s ease;
    }

    body.services-section .site-header .nav-menu > li > a:hover {
        color: rgba(255, 255, 255, 0.8);
    }

    body.services-section .site-header .nav-menu > li.current-menu-item > a {
        color: #ffffff;
    }

    /* Black menu when scrolled past hero section */
    body.services-section.past-hero .site-header .nav-menu > li > a {
        color: var(--pf-dark-gray);
    }

    body.services-section.past-hero .site-header .nav-menu > li > a:hover {
        color: var(--pf-primary);
    }

    body.services-section.past-hero .site-header .nav-menu > li.current-menu-item > a {
        color: var(--pf-primary);
    }

    /* Category Archive - Auto-detect background brightness */
    body.category .site-header:not(.is-scrolled) {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    /* Dark hero background - WHITE menu */
    body.category.dark-hero .site-header .nav-menu > li > a {
        color: #ffffff;
    }

    body.category.dark-hero .site-header:not(.is-scrolled) .btn-header.btn-primary {
        background: transparent;
        border-color: #ffffff;
        color: #ffffff;
    }

    /* Light hero background - BLACK menu */
    body.category.light-hero .site-header .nav-menu > li > a {
        color: #000000;
    }

    body.category.light-hero .site-header:not(.is-scrolled) .btn-header.btn-primary {
        background: transparent;
        border-color: #000000;
        color: #000000;
    }

    /* After scroll (white header) - DARK menu for both */
    body.category.past-hero .site-header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom-color: rgba(0, 0, 0, 0.1);
    }

    body.category.past-hero .site-header .nav-menu > li > a {
        color: #000000;
    }

    body.category.past-hero .site-header .btn-header.btn-primary {
        background: var(--pf-primary);
        border-color: var(--pf-primary);
        color: #ffffff;
    }
}

/* Dropdown Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--pf-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 100;
}

/* Hover bridge to connect submenu to parent */
.nav-menu .sub-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

/* Click-based dropdown (replaced hover) */
.nav-menu li.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.nav-menu .sub-menu li {
    padding: 0 30px;
}

.nav-menu .sub-menu li a {
    display: inline-block;
    padding: 12px 0;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--pf-dark-gray);
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-menu .sub-menu li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0090CE;
    transition: width var(--transition-normal);
}

.nav-menu .sub-menu li a:hover::after {
    width: 100%;
}

.nav-menu .sub-menu li a:hover {
    color: #0090CE;
}

/* Arrow indicator for submenu items with children */
.nav-menu .sub-menu li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 15px;
}

.nav-menu .sub-menu li.menu-item-has-children > a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-50%) rotate(-45deg);
}

/* Third-level submenu support */
.nav-menu .sub-menu .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 0;
}

/* Right-aligned menu items - flip submenu direction to prevent overflow */
.nav-menu > li:last-child > .sub-menu,
.nav-menu > li:nth-last-child(2) > .sub-menu {
    left: auto;
    right: 0;
}

/* Third-level for right-aligned items - open to the left */
.nav-menu > li:last-child .sub-menu .sub-menu,
.nav-menu > li:nth-last-child(2) .sub-menu .sub-menu {
    left: auto;
    right: 100%;
}

/* ============================================
   MEGA MENU - Desktop Only (1025px+)
   ============================================ */

/* Mega Menu Item - Top Level (use static positioning for full-width dropdown) */
.nav-menu > li.mega-menu-item {
    position: static;
}

/* Mega Menu Dropdown Container */
.mega-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    /* Height determined naturally by content */
    background: var(--pf-white);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--pf-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all var(--transition-normal);
    z-index: 1000;
    display: flex;
}

/* Hover bridge to prevent gap issues */
.mega-menu-dropdown::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
}

/* Show dropdown on hover */
.nav-menu > li.mega-menu-item:hover > .mega-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Force close megamenu when item is clicked (overrides hover) */
.nav-menu > li.mega-menu-item.mega-menu-closing > .mega-menu-dropdown {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-50%) translateY(10px) !important;
    pointer-events: none;
}

/* Left Panel: Articles (40% for all menus) */
.mega-menu-articles {
    width: 40%;
    min-width: 300px;
    /* Height grows naturally with dropdown content */
    background: var(--pf-white);
    padding: 25px 30px;
    border-right: 1px solid var(--pf-border);
}

.mega-articles-header {
    margin-bottom: 18px;
}

.mega-articles-label {
    font-family: var(--font-primary);
    font-size: 0.575rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pf-secondary);
}

.mega-articles-content {
    position: relative;
}

/* Article Panels - Switch visibility based on active state */
.mega-articles-panel {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.mega-articles-panel.active {
    display: flex;
}

/* Individual Article Card */
.mega-article {
    background: var(--pf-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    height: 180px;
}

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

.mega-article-link {
    display: flex;
    flex-direction: row;
    height: 100%;
    text-decoration: none;
}

.mega-article-image {
    width: 250px;
    min-width: 250px;
    min-height: 180px;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.mega-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-article-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pf-primary-lighter) 0%, #e8f4fc 100%);
}

.mega-article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow: hidden;
}

.mega-article-title {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pf-dark-gray);
    line-height: 1.4;
    margin: 0 0 10px 0;
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

.mega-article-excerpt {
    font-family: var(--font-description);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--pf-medium-gray);
    line-height: 1.6;
    margin: 0;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.mega-article:hover .mega-article-title {
    color: var(--pf-primary);
}

.mega-no-articles {
    color: var(--pf-light-gray);
    font-style: italic;
    font-size: 0.75rem;
    padding: 20px 0;
    text-align: center;
    margin: 0;
}

/* Dynamic insight visibility based on dropdown height (180px per card) */
.mega-article-secondary,
.mega-article-tertiary,
.mega-article-4th,
.mega-article-5th,
.mega-article-6th {
    display: none;
}

/* Show items based on available height */
.mega-articles-panel.show-secondary .mega-article-secondary {
    display: block;
}

.mega-articles-panel.show-tertiary .mega-article-tertiary {
    display: block;
}

.mega-articles-panel.show-4th .mega-article-4th {
    display: block;
}

.mega-articles-panel.show-5th .mega-article-5th {
    display: block;
}

.mega-articles-panel.show-6th .mega-article-6th {
    display: block;
}

/* Right Panel: Navigation (65% width) - Split into Categories + Children */
.mega-menu-nav {
    flex: 1;
    display: flex;
    position: relative;
    padding: 0;
    min-height: 280px; /* Gives children panel height reference for absolute positioning */
}

/* Categories column (Panel 2 - 33.33% of nav = 20% of dropdown) */
.mega-submenu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 25px 20px;
    width: 33.33%;
    min-width: 160px;
    background: var(--pf-white);
    border-right: 1px solid var(--pf-border);
    overflow: visible; /* Allow children panel to extend outside */
    flex-shrink: 0;
}

/* Panel 2 Header - Top-level menu title */
.mega-submenu-header {
    margin-bottom: 15px;
    list-style: none;
}

.mega-submenu-label {
    font-family: var(--font-primary);
    font-size: 0.575rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pf-secondary);
}

/* Submenu Item */
.mega-nav-item {
    position: static;
    padding: 5px 0;
    border-bottom: 1px solid var(--pf-border);
}

.mega-nav-item:last-child {
    border-bottom: none;
}

.mega-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.mega-nav-text {
    font-family: var(--font-primary);
    font-size: 0.775rem;
    font-weight: 400;
    color: var(--pf-dark-gray);
    border-bottom: 1px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.mega-nav-link:hover .mega-nav-text {
    color: var(--pf-primary);
    border-bottom-color: var(--pf-primary);
}

/* Toggle Button for expandable items - solid triangle only */
.mega-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: var(--pf-medium-gray);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.mega-nav-toggle:hover {
    color: var(--pf-primary);
}

.mega-nav-item.is-expanded .mega-nav-toggle {
    color: var(--pf-primary);
}

/* Hide SVG chevron and use solid triangle instead */
.mega-nav-toggle svg {
    display: none;
}

.mega-nav-toggle::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* Expanded: Points RIGHT */
.mega-nav-item.is-expanded .mega-nav-toggle::after {
    transform: rotate(-45deg);
}

/* Panel 3: Dedicated Children Panel Container (33.33% of nav = 20% of dropdown) */
.mega-children-panel {
    width: 33.33%;
    min-width: 160px;
    padding: 25px 20px;
    border-left: 1px solid var(--pf-border);
    background: var(--pf-white);
    min-height: var(--panel3-height, 280px); /* Dynamic height based on max children count */
    flex-shrink: 0;
}

/* Empty state placeholder text */
.mega-children-content:empty::before {
    content: 'Select a service to view more details and sub-services';
    color: var(--pf-light-gray);
    font-style: italic;
    font-size: 0.775rem;
}

/* Children list inside Panel 3 */
.mega-children {
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Highlight active category when expanded */
.mega-nav-item.is-expanded > .mega-nav-link .mega-nav-text {
    color: var(--pf-primary);
    border-bottom-color: var(--pf-primary);
}

.mega-children li {
    padding: 0;
    border-bottom: 1px solid var(--pf-border);
}

.mega-children li:last-child {
    border-bottom: none;
}

.mega-children li a {
    display: inline-block;
    padding: 8px 0;
    font-family: var(--font-primary);
    font-size: 0.775rem;
    font-weight: 400;
    color: var(--pf-dark-gray);
    border-bottom: 1px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    text-decoration: none;
}

.mega-children li a:hover {
    color: var(--pf-primary);
    border-bottom-color: var(--pf-primary);
}

/* Panel 3 children with grandchildren (has-grandchildren) */
.mega-child-item.has-grandchildren .mega-child-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mega-child-item.has-grandchildren .mega-child-text {
    flex: 1;
}

.mega-child-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--pf-light-gray);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.mega-child-item.has-grandchildren:hover .mega-child-toggle,
.mega-child-item.is-expanded .mega-child-toggle {
    color: var(--pf-primary);
}

.mega-child-item.is-expanded .mega-child-toggle svg {
    transform: rotate(90deg);
}

.mega-child-item.is-expanded > .mega-child-link .mega-child-text {
    color: var(--pf-primary);
    border-bottom-color: var(--pf-primary);
}

/* Panel 4: Grandchildren Panel */
.mega-grandchildren-panel {
    width: 0;
    padding: 0;
    overflow: hidden;
    background: var(--pf-white);
    border-left: 1px solid var(--pf-border);
    min-height: var(--panel4-height, 280px); /* Dynamic height based on max grandchildren count */
    transition: width 0.2s ease, padding 0.2s ease;
}

/* Panel 4: Grandchildren (33.33% of nav = 20% of dropdown) */
.mega-grandchildren-panel.is-active {
    width: 33.33%;
    min-width: 160px;
    padding: 25px 20px;
}

.mega-grandchildren-content:empty::before {
    content: '';
}

.mega-grandchildren {
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-grandchild-item {
    border-bottom: 1px solid var(--pf-border);
}

.mega-grandchild-item:last-child {
    border-bottom: none;
}

.mega-grandchild-item a {
    display: inline-block;
    padding: 8px 0;
    font-family: var(--font-primary);
    font-size: 0.775rem;
    font-weight: 400;
    color: var(--pf-dark-gray);
    border-bottom: 1px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    text-decoration: none;
}

.mega-grandchild-item a:hover {
    color: var(--pf-primary);
    border-bottom-color: var(--pf-primary);
}

/* ============================================
   INACTIVE MENU ITEMS (No Content)
   Disable hover effects for non-clickable items
   ============================================ */
.mega-nav-link.is-inactive,
.mega-child-link.is-inactive,
.mega-grandchild-item.is-inactive a {
    cursor: default;
}

.mega-nav-link.is-inactive:hover .mega-nav-text,
.mega-nav-link.is-inactive .mega-nav-text {
    color: var(--pf-dark-gray);
    border-bottom-color: transparent;
}

.mega-child-link.is-inactive,
.mega-child-link.is-inactive:hover {
    border-bottom-color: transparent;
}

.mega-child-link.is-inactive:hover .mega-child-text,
.mega-child-link.is-inactive .mega-child-text {
    color: var(--pf-dark-gray);
    border-bottom-color: transparent;
}

.mega-grandchild-item.is-inactive a,
.mega-grandchild-item.is-inactive a:hover {
    color: var(--pf-medium-gray);
    border-bottom-color: transparent;
}

/* Hide mobile submenu on desktop - mega dropdown is shown instead */
.nav-menu > li.mega-menu-item > .sub-menu {
    display: none !important;
}

/* ============================================
   MEGA MENU CONTACT PANEL (Careers/About Us)
   ============================================ */

.mega-contact-panel {
    display: flex;
    flex-direction: column;
}

.mega-contact-info {
    padding: 0;
}

.mega-contact-title {
    font-family: var(--font-primary);
    font-size: 0.575rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pf-secondary);
    margin: 0 0 18px 0;
}

.mega-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-contact-list li {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--pf-border);
}

.mega-contact-list li:first-child {
    padding-top: 0;
}

.mega-contact-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mega-contact-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2px;
}

.mega-contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--pf-primary);
    transition: stroke var(--transition-fast);
}

.mega-contact-list li:hover .mega-contact-icon svg {
    stroke: var(--pf-primary-dark);
}

.mega-contact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-contact-details strong {
    font-family: var(--font-primary);
    font-size: 0.725rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pf-medium-gray);
}

.mega-contact-details span {
    font-family: var(--font-description);
    font-size: 0.675rem;
    line-height: 1.5;
    color: var(--pf-medium-gray);
}

.mega-contact-details a {
    color: var(--pf-medium-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mega-contact-details a:hover {
    color: var(--pf-primary);
}

.mega-contact-social {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--pf-border);
}

.mega-contact-social strong {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pf-medium-gray);
    margin-bottom: 10px;
}

.mega-social-links {
    display: flex;
    gap: 8px;
}

.mega-social-links a {
    width: 32px;
    height: 32px;
    background: var(--pf-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.mega-social-links a:hover {
    background: var(--pf-primary-dark);
    transform: translateY(-2px);
}

.mega-social-links a svg {
    width: 16px;
    height: 16px;
    stroke: var(--pf-white);
    fill: none;
}

/* ============================================
   MEGA MENU RECENT POSTS PANEL (Careers/About Panel 3)
   ============================================ */

.mega-recent-posts {
    display: flex;
    flex-direction: column;
}

.mega-recent-posts-title {
    font-family: var(--font-primary);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pf-secondary);
    margin-bottom: 15px;
}

.mega-recent-post {
    padding: 8px 0;
    border-bottom: 1px solid var(--pf-border);
}

.mega-recent-post:last-child {
    border-bottom: none;
}

.mega-recent-post a {
    display: block;
    text-decoration: none;
}

.mega-recent-post-category {
    font-size: 0.525rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pf-primary);
    margin-bottom: 2px;
}

.mega-recent-post-title {
    font-family: var(--font-primary);
    font-size: 0.675rem;
    font-weight: 500;
    color: var(--pf-dark-gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2px;
    transition: color var(--transition-fast);
}

.mega-recent-post-meta {
    display: flex;
    gap: 8px;
    font-size: 0.575rem;
    color: var(--pf-light-gray);
}

.mega-recent-post a:hover .mega-recent-post-title {
    color: var(--pf-primary);
}

/* ============================================
   END MEGA MENU
   ============================================ */

/* Header CTA Button */
.header-cta {
    margin-left: 20px;
}

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

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pf-dark);
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--pf-dark);
    transition: transform var(--transition-normal);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.menu-toggle.is-active .hamburger {
    background: transparent;
}

.menu-toggle.is-active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.is-active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.9375rem;
    text-align: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

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

.btn-secondary:hover {
    background: var(--pf-primary);
    color: var(--pf-white);
}

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

.btn-white:hover {
    background: transparent;
    color: var(--pf-white);
}

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

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

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

.btn-gold:hover {
    background: var(--pf-secondary-dark);
    border-color: var(--pf-secondary-dark);
}

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

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 230px;
    margin-top: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Hero home - no blur overlay needed for split layout */
.hero-home::before {
    display: none;
}

/* Hero glass panel - no background */
.hero-glass-panel {
    position: relative;
    z-index: 2;
    padding: 50px 60px;
    max-width: 600px;
    margin-left: -60px;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/hexagon-pattern.png');
    background-repeat: repeat;
    background-size: 250px auto;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

/* Hexagon Canvas - Hidden */
.hexagon-canvas {
    display: none;
}

.hero:hover .hexagon-canvas,
.section-cta:hover .hexagon-canvas {
    pointer-events: auto;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/images/hexagon-pattern.png');
    background-repeat: repeat;
    background-size: 300px auto;
    opacity: 0.1;
    pointer-events: none;
}

/* Hero Container - Full Width */
.hero-home .container {
    max-width: 1600px;
    padding: 0 60px;
}

/* Hero Split Layout */
.hero-split {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 3;
}

.hero-content {
    flex: 0 0 60%;
    position: relative;
    z-index: 3;
    text-align: left;
    text-transform: none;
    margin-left: 60px;
    margin-top: -40px;
}

.hero-image {
    flex: 0 0 55%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    position: relative;
    margin-right: -180px;
    margin-top: -120px;
}

/* Desktop: Show first 2 images in overlapping layout, hide others */
.hero-image .hero-slide {
    width: 80%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18), 0 5px 15px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
    animation: kenBurns 25s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1.5%, -1%); }
}

.hero-image .hero-slide:nth-child(2) {
    position: absolute;
    top: 50%;
    left: -18%;
    width: 80%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.22), 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

/* Hide 3rd image on desktop (slideshow is mobile only) */
.hero-image .hero-slide:nth-child(3) {
    display: none;
}

/* Glassy diagonal panel - disabled for split layout */
.hero-home::after {
    display: none;
}

.hero-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
    display: block;
}

.hero-logo-main {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    margin-left: -25px;
    margin-top: -65px;
}

.hero-text {
    max-width: 490px;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 40px;
    margin-top: 20px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 500px;
    margin-top: -25px;
    margin-left: 40px;
    position: relative;
    z-index: 3;
}

.hero-right {
    flex: 0 0 auto;
    min-width: 620px;
    min-height: 420px;
    background: linear-gradient(135deg, rgba(0, 160, 228, 0.1) 0%, rgba(0, 160, 228, 0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-team-image {
    max-width: 620px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.hero-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--pf-dark);
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: left;
    font-weight: 600;
    max-width: 500px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.6);
}

.hero-tagline {
    font-family: var(--font-description);
    font-weight: 900;
    font-style: normal;
    color: #FFB830;
    font-size: clamp(4rem, 9vw, 5.5rem);
    margin-top: -80px;
    margin-bottom: 15px;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
    line-height: 0.95;
    word-spacing: -1px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero-tagline .tagline-gray {
    color: #6b6b6b;
}

/* Hero Glass Panel - no background */
.hero-glass-panel {
    padding: 40px 35px;
    position: relative;
    z-index: 1;
}

.hero-subtitle-text {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--pf-dark);
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: left;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.hero-description {
    font-family: var(--font-description);
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    color: var(--pf-dark-gray);
    margin-bottom: 0;
    line-height: 1.7;
    text-align: left;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 15px rgba(255, 255, 255, 0.7), 0 0 25px rgba(255, 255, 255, 0.5);
    font-weight: 400;
    max-width: 420px;
    margin-left: 0;
    margin-right: auto;
}

/* Description text style - Default for all text descriptions */
.description-text,
.section-description,
.service-excerpt,
.about-content p,
.mv-card p,
.value-content p,
.stat-card .stat-label,
.content-block,
.slide-item .service-desc,
.slideshow-overlay .overlay-desc,
.cta-content p {
    font-family: var(--font-description);
    color: var(--pf-medium-gray);
}

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

/* White Glass Buttons for Hero */
.hero-buttons .btn {
    padding: 10px 22px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #0080B8;
    font-weight: 600;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.12),
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    will-change: transform;
}

.hero-buttons .btn:hover {
    background: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 12px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

/* Hero Newsletter */
.hero-newsletter {
    margin-top: 25px;
    max-width: 500px;
    display: none; /* Hidden for now - will be moved elsewhere */
}

.newsletter-label {
    font-family: var(--font-description);
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    color: var(--pf-dark-gray);
    margin-bottom: 12px;
    text-align: center;
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    text-transform: none !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 15px rgba(255, 255, 255, 0.7), 0 0 25px rgba(255, 255, 255, 0.5);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.newsletter-form input[type="email"] {
    align-self: stretch;
    padding: 8px 12px;
    border: 1px solid rgba(200, 200, 200, 0.5);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.12),
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.4);
    outline: none;
    transition: var(--transition);
}

.newsletter-form input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(180, 180, 180, 0.6);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 12px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="email"]::placeholder {
    font-family: var(--font-primary);
    color: var(--pf-text-light);
}

.newsletter-form .btn {
    padding: 10px 22px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(200, 200, 200, 0.5);
    color: var(--pf-primary);
    font-weight: 600;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.12),
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.4);
}

.newsletter-form .btn:hover {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(180, 180, 180, 0.6);
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 12px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

/* Hero Home Background */
.hero-home {
    background: url('assets/images/hero-full-bg.jpg') no-repeat center top;
    background-size: cover;
}

/* Hide hero slideshow images */
.hero-home .hero-image {
    display: none;
}

/* Hero Text Reveal Animations - Enhanced with blur */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Image Slideshow - 2 images (legacy) */
@keyframes heroSlideshow {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

/* Hero Image Slideshow - 4 images (mobile) */
@keyframes heroSlideshow4 {
    0%, 20% { opacity: 1; }
    25%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

/* Newsletter & CTA Section Animations */
@keyframes floatSubtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes hexagonDrift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 250px 250px;
    }
}

@keyframes buttonPulse {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

.hero-content .animate-reveal {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-content .animate-reveal:nth-child(1) { animation-delay: 0.1s; }
.hero-content .animate-reveal:nth-child(2) { animation-delay: 0.3s; }
.hero-content .animate-reveal:nth-child(3) { animation-delay: 0.5s; }
.hero-content .animate-reveal:nth-child(4) { animation-delay: 0.7s; }

.hero-image.animate-reveal {
    opacity: 0;
    animation: fadeInRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-reveal {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .section-newsletter .newsletter-content,
    .cta-pattern,
    .section-cta .cta-buttons .btn::before,
    .cta-section .cta-buttons .btn::before {
        animation: none !important;
    }
}

/* Hero Social Icons */
.hero-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.hero-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: #0090CE;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid transparent;
    border-radius: 14px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.hero-socials a:hover {
    color: var(--pf-primary-dark);
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(120, 120, 120, 0.5);
    transform: translateY(-3px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(255, 255, 255, 0.3);
}

.hero-socials a svg {
    width: 36px;
    height: 36px;
}

/* Page Hero (lighter version) */
.page-hero {
    background: var(--pf-gradient-hero);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/images/hexagon-pattern.png');
    background-repeat: repeat;
    background-size: 300px auto;
    opacity: 0.06;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

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

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

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

.service-card {
    background: var(--pf-white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--pf-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

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

.service-icon {
    width: 80px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--pf-primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: background var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--pf-primary);
}

.service-icon svg,
.service-icon img {
    width: 32px;
    height: 32px;
    stroke: var(--pf-primary);
    fill: none;
    transition: stroke var(--transition-normal);
}

.service-card:hover .service-icon svg {
    stroke: var(--pf-white);
}

/* Hexagon Icon Generic Style */
.hexagon-icon {
    width: 70px;
    height: 70px;
    background: var(--pf-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: var(--transition);
    flex-shrink: 0;
}

.hexagon-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--pf-primary);
    fill: none;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.section-newsletter {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: url('assets/images/newsletter-bg.jpg') center top / cover no-repeat;
}

/* Dark overlay with blur for readability */
.section-newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 100, 160, 0.92) 0%, rgba(20, 20, 40, 0.95) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 0;
}

/* Hexagon pattern overlay */
.section-newsletter::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/images/hexagon-pattern.png');
    background-repeat: repeat;
    background-size: 200px auto;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

.section-newsletter .newsletter-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

/* Newsletter Header (label + icon) */
.newsletter-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Newsletter Icon */
.newsletter-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8))
            drop-shadow(0 0 30px rgba(255, 255, 255, 0.5))
            drop-shadow(0 0 50px rgba(255, 255, 255, 0.3));
}

.section-newsletter .newsletter-label {
    color: #FFFFFF;
    margin-bottom: 0;
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    font-weight: 600;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.5),
        0 0 60px rgba(255, 255, 255, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.03em;
}

.section-newsletter .newsletter-form {
    flex-direction: row;
    gap: 12px;
}

.section-newsletter .newsletter-form input[type="email"] {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    color: #FFFFFF;
    min-width: 350px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-family: var(--font-description);
    text-transform: none;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.section-newsletter .newsletter-form input[type="email"]::placeholder {
    color: var(--pf-primary-dark);
}

.section-newsletter .newsletter-form input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.section-newsletter .newsletter-form .btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #0080B8;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(255, 255, 255, 0.1);
}

.section-newsletter .newsletter-form .btn:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(255, 255, 255, 0.3);
}

.section-newsletter .newsletter-form .btn:active {
    transform: translateY(0);
}

/* Newsletter Message */
.newsletter-message {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-description);
    font-size: 0.9rem;
    text-align: center;
    max-width: 400px;
}

.newsletter-message.success {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: #ffffff;
}

.newsletter-message.error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #ffffff;
}

/* ============================================
   SERVICES SECTION - L-LAYOUT SLIDESHOW
   ============================================ */

/* Services Slideshow Section - inherits from base .section style */
.section-services-slideshow {
    padding: var(--section-padding) 0;
}

.section-services-slideshow .container {
    max-width: 1500px;
}

/* L-Layout Container */
.services-l-layout {
    display: flex;
    flex-direction: column;
}

/* Header - separate at top */
.services-l-layout .services-header {
    margin-bottom: 70px;
}

/* Photo Row: Full-width photo with overlay */
.services-photo-row {
    width: 100%;
    margin-bottom: 15px;
}

.services-photo-row .slideshow-bg {
    width: 100%;
    height: 750px;
}

.section-label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pf-medium-gray);
    margin-bottom: 8px;
}

.section-title-large {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #0090CE;
    line-height: 1.1;
    margin-bottom: 0;
}

/* Vertical Services */
.services-vertical {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Reduced heading sizes for main pages only (excludes category & single-post) */
body.home .section-label,
body.page-about-us .section-label,
body.page-careers .section-label,
body.page-services .section-label,
body.page-hr-topics .section-label,
body.page-contact-us .section-label {
    font-size: 0.75rem;
}

body.home .section-title-large,
body.page-about-us .section-title-large,
body.page-careers .section-title-large,
body.page-services .section-title-large,
body.page-hr-topics .section-title-large,
body.page-contact-us .section-title-large {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

body.page-careers .section-title-medium {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

body.home .section-description,
body.page-about-us .section-description,
body.page-careers .section-description,
body.page-services .section-description,
body.page-hr-topics .section-description,
body.page-contact-us .section-description {
    font-size: 0.8rem;
}

/* Services header description specific styles */
.services-header .section-description {
    max-width: 400px;
    color: var(--pf-medium-gray);
    line-height: 1.6;
    margin-top: 12px;
}

/* Background Photo */
.slideshow-bg {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.slideshow-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: opacity 0.5s ease;
}

/* Glass Overlay at bottom of photo */
.slideshow-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.slideshow-overlay .overlay-content {
    flex: 1;
}

.slideshow-overlay .overlay-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
}

.slideshow-overlay .overlay-desc {
    font-size: 0.9rem;
    color: var(--pf-medium-gray);
    line-height: 1.5;
    margin-bottom: 12px;
    min-height: 2.7em;
}

.slideshow-overlay .overlay-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 144, 206, 0.9);
    padding: 10px 22px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-shadow: none;
}

.slideshow-overlay .overlay-link:hover {
    gap: 12px;
    background: rgba(0, 144, 206, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 144, 206, 0.4);
}

.slideshow-overlay .overlay-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
}

/* Bottom Row: 4 horizontal services + navigation arrows */
.services-bottom-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Horizontal Services */
.services-horizontal {
    display: flex;
    gap: 15px;
    width: 100%;
}

.services-horizontal .slide-item {
    flex: 1;
    min-width: 0;
}

/* Individual Slide Item */
.slide-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 18px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    height: 180px;
    overflow: hidden;
    box-sizing: border-box;
}

.slide-item:hover {
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 144, 206, 0.12);
}

/* Only center item gets border highlight */
.slide-item.is-center {
    background: #fff;
    border-color: #0090CE;
    box-shadow: 0 8px 25px rgba(0, 144, 206, 0.2);
}

/* Active item styling (clickable cards) */
.slide-item.active {
    background: #fff;
    border-color: #0090CE;
    box-shadow: 0 8px 25px rgba(0, 144, 206, 0.2);
    cursor: default;
}

.slide-item:not(.active) {
    cursor: default;
}

.slide-item.active .service-name {
    color: #0090CE;
}

.slide-item .service-name {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: #6b6b6b;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-item .service-desc {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--pf-medium-gray);
    line-height: 1.5;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-item .service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: #000;
    transition: all 0.3s ease;
}

.slide-item .service-link:hover {
    color: #333;
    gap: 12px;
}

.slide-item .service-link svg {
    width: 14px;
    height: 14px;
    stroke: #000;
    fill: none;
    transition: transform 0.3s ease;
}

.slide-item .service-link:hover svg {
    transform: translateX(4px);
}

/* Arrow Navigation - Inside overlay */
.slideshow-nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.slide-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #0090CE;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slide-arrow:hover {
    background: #0090CE;
}

.slide-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #0090CE;
    fill: none;
    transition: stroke 0.3s ease;
}

.slide-arrow:hover svg {
    stroke: #fff;
}

/* Services Footer */
.services-footer {
    margin-top: 50px;
    text-align: center;
}

/* Responsive - Services L-Layout */
@media (max-width: 1200px) {
    .services-photo-row .slideshow-bg {
        height: 550px;
    }
}

@media (max-width: 1024px) {
    /* Hero - Tablet Landscape */
    .hero-home {
        padding-top: 430px;
        background-position: calc(50% - 100px) top;
    }

    .hero-home .hero-content {
        transform: translateX(-50px);
    }

    .hero-tagline {
        font-size: clamp(3rem, 7vw, 4.5rem);
    }

    /* Page Intro - Tablet */
    .section-page-intro {
        padding-top: 145px;
        padding-bottom: 30px;
        height: 300px;
    }

    /* Page Intros - Tablet (consolidated) */
    body.page-about-us .section-page-intro,
    body.page-careers .section-page-intro,
    body.page-contact-us .section-page-intro,
    body.page-hr-topics .section-page-intro,
    body.page-services .section-page-intro {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    /* Page Intro Items - Reduced gaps for tablet */
    body.page-about-us .section-page-intro .section-label,
    body.page-careers .section-page-intro .section-label,
    body.page-contact-us .section-page-intro .section-label,
    body.page-hr-topics .section-page-intro .section-label,
    body.page-services .section-page-intro .section-label {
        margin-bottom: 0;
    }

    body.page-about-us .section-page-intro .section-description,
    body.page-careers .section-page-intro .section-description,
    body.page-contact-us .section-page-intro .section-description,
    body.page-hr-topics .section-page-intro .section-description,
    body.page-services .section-page-intro .section-description {
        margin-top: 2px;
    }

    .services-photo-row .slideshow-bg {
        height: 500px;
    }

    .slide-item {
        padding: 15px;
    }

    .slide-item .service-name {
        font-size: 0.9rem;
    }

    .slide-item .service-desc {
        font-size: 0.75rem;
    }

    .slideshow-overlay {
        padding: 20px;
    }

    .slideshow-overlay .overlay-title {
        font-size: 1.1rem;
    }

    .slideshow-overlay .overlay-desc {
        font-size: 0.8rem;
    }
}

@media (max-width: 900px) {
    .services-horizontal {
        flex-wrap: wrap;
    }

    .services-horizontal .slide-item {
        flex: 0 0 calc(50% - 13px);
    }
}

@media (max-width: 768px) {
    /* All Page Intros - Mobile 768px */
    body.page-about-us .section-page-intro,
    body.page-careers .section-page-intro,
    body.page-contact-us .section-page-intro,
    body.page-hr-topics .section-page-intro,
    body.page-services .section-page-intro {
        padding-top: 100px;
    }

    body.page-about-us .section-page-intro .section-title-large,
    body.page-careers .section-page-intro .section-title-large,
    body.page-contact-us .section-page-intro .section-title-large,
    body.page-hr-topics .section-page-intro .section-title-large,
    body.page-services .section-page-intro .section-title-large {
        font-size: clamp(1.5rem, 4.5vw, 2rem);
    }

    /* Services Intro - Darker overlay on mobile */
    body.page-services .section-page-intro::before {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%);
    }

    /* Services Intro - Stronger text shadow on mobile */
    body.page-services .section-page-intro .section-description {
        text-shadow:
            2px 2px 4px rgba(0, 0, 0, 0.7),
            0 0 15px rgba(0, 0, 0, 0.6),
            0 0 30px rgba(0, 0, 0, 0.4);
    }

    .services-photo-row .slideshow-bg {
        height: 450px;
    }

    .slideshow-bg-img {
        min-height: 450px;
        height: 100%;
    }

    .services-bottom-row {
        gap: 15px;
    }

    .services-horizontal {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 15px;
    }

    .services-horizontal .slide-item {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
        min-width: 0;
    }

    /* Hide cards 3-5 on mobile, show only 2 at a time */
    .services-horizontal .slide-item:nth-child(n+3) {
        display: none;
    }

    /* Limit overlay description to 2 lines on mobile */
    .slideshow-overlay .overlay-desc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Limit slide item description to 2 lines on mobile */
    .slide-item .service-desc {
        -webkit-line-clamp: 2;
    }

    .slideshow-nav {
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Page Intro - Mobile */
    .section-page-intro {
        padding-top: 135px;
        padding-bottom: 25px;
        height: 260px;
    }

    /* All Page Intros - Mobile 480px */
    body.page-about-us .section-page-intro,
    body.page-careers .section-page-intro,
    body.page-contact-us .section-page-intro,
    body.page-hr-topics .section-page-intro,
    body.page-services .section-page-intro {
        padding-top: 85px;
        padding-bottom: 40px;
    }

    body.page-about-us .section-page-intro .section-title-large,
    body.page-careers .section-page-intro .section-title-large,
    body.page-contact-us .section-page-intro .section-title-large,
    body.page-hr-topics .section-page-intro .section-title-large,
    body.page-services .section-page-intro .section-title-large {
        font-size: clamp(1.4rem, 4vw, 1.8rem);
    }

    .section-page-intro .section-description {
        font-size: 0.8125rem;
    }

    .section-title-large {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }

    /* Keep 2 columns on small mobile */
    .services-horizontal .slide-item {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .slide-arrow {
        width: 40px;
        height: 40px;
    }

    .slideshow-overlay {
        padding: 15px;
    }

    .slideshow-overlay .overlay-title {
        font-size: 1rem;
    }
}

/* About Us - Section header alignment with grids */
.section-values .section-header,
.section-ceo-message .section-header {
    text-align: left;
    max-width: none;
}

.why-us-pattern {
    display: none;
}

/* CTA Section */
.section-cta,
.section-apply {
    position: relative;
    padding: 100px 0 120px;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/hexagon-pattern.png');
    background-repeat: repeat;
    background-size: 250px auto;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
    animation: hexagonDrift 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    color: #000000;
    margin-bottom: 25px;
    line-height: 1.3;
}

.cta-content p {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    line-height: 1.7;
    font-weight: 400;
    color: var(--pf-medium-gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Buttons - Primary style for light background */
.section-cta .cta-buttons .btn,
.section-apply .cta-buttons .btn,
.cta-section .cta-buttons .btn {
    background: var(--pf-primary);
    border: 2px solid var(--pf-primary);
    color: #FFFFFF;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 160, 228, 0.25);
    position: relative;
    overflow: hidden;
}

.section-cta .cta-buttons .btn:hover,
.section-apply .cta-buttons .btn:hover,
.cta-section .cta-buttons .btn:hover {
    background: var(--pf-primary-dark);
    border-color: var(--pf-primary-dark);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 160, 228, 0.35);
}

.section-cta .cta-buttons .btn:active,
.section-apply .cta-buttons .btn:active,
.cta-section .cta-buttons .btn:active {
    transform: translateY(-1px);
}

/* SVG icons inside CTA buttons */
.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-buttons .btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Secondary/outline button variant */
.cta-buttons .btn-outline {
    background: transparent;
    border: 2px solid var(--pf-primary);
    color: var(--pf-primary);
}

.cta-buttons .btn-outline:hover {
    background: var(--pf-primary);
    color: #FFFFFF;
}

/* CTA Form */
.cta-form {
    margin-top: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form-label {
    font-family: var(--font-description);
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    color: var(--pf-dark-gray);
    margin-bottom: 12px;
    text-align: center;
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
}

.cta-email-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cta-email-form input[type="email"] {
    align-self: stretch;
    padding: 10px 14px;
    border: 1px solid rgba(200, 200, 200, 0.5);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.12),
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.4);
    outline: none;
    transition: var(--transition);
}

.cta-email-form input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(180, 180, 180, 0.6);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 12px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

.cta-email-form input[type="email"]::placeholder {
    font-family: var(--font-primary);
    color: var(--pf-text-light);
}

.cta-email-form .btn {
    padding: 10px 22px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.85);
    color: #0080B8;
    border: 1px solid rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.cta-email-form .btn:hover {
    background: white;
    color: #0080B8;
    border-color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #6b6b6b;
}

.service-card p {
    color: var(--pf-medium-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--pf-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition-normal);
}

.service-link:hover {
    gap: 12px;
    color: var(--pf-secondary);
}

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

/* ============================================
   ABOUT / FEATURES SECTION
   ============================================ */

.about-grid .content-block {
    max-width: 100%;
}

.about-image {
    position: relative;
}

.about-image .image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--pf-primary-light) 0%, var(--pf-primary) 100%);
    height: 420px;
}

.about-image .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.about-image .image-wrapper img[src*="placeholder"],
.about-image .image-wrapper img:not([src]),
.about-image .image-wrapper img[src=""] {
    opacity: 0;
}

.about-image .image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--pf-secondary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

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

.about-content p {
    color: var(--pf-medium-gray);
    margin-bottom: 25px;
}

/* Stats */
.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

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

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--pf-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--pf-medium-gray);
    margin-top: 5px;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 52px;
    flex-shrink: 0;
    background: var(--pf-primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--pf-primary);
}

.feature-content h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--pf-dark);
}

.feature-content p {
    color: var(--pf-medium-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: var(--pf-white);
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 30px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--pf-dark);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/images/hexagon-pattern.png');
    background-repeat: repeat;
    background-size: 300px auto;
    opacity: 0.03;
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 2;
    padding: 70px 0 50px;
}

.site-footer .container {
    max-width: 100%;
    padding: 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-brand {
    /* Content fills grid column width */
}

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

.footer-logo img,
.footer-logo svg {
    height: auto;
    width: auto;
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
}

.footer-brand p {
    font-family: var(--font-description);
    font-size: 0.8125rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-brand .footer-tagline {
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--pf-secondary);
    font-size: 1.25rem;
}

.footer-brand .footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
}

.footer-column h4 {
    font-family: var(--font-primary);
    color: var(--pf-white);
    font-size: 1.125rem;
    margin-bottom: 25px;
    font-weight: 500;
}

.footer-links li {
    margin-bottom: 8px;
    list-style: disc;
    margin-left: 1rem;
}

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

.footer-links a:hover {
    color: var(--pf-primary-light);
}

.footer-contact li {
    font-family: var(--font-description);
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.8125rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    fill: var(--pf-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact a:hover {
    color: var(--pf-primary-light);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

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

.social-links a:hover {
    background: var(--pf-primary);
    transform: translateY(-3px);
}

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

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

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

.copyright {
    font-family: var(--font-description);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

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

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

.footer-bottom-links a:hover {
    color: var(--pf-primary-light);
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--pf-dark);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--pf-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--pf-primary);
    box-shadow: 0 0 0 3px rgba(0, 160, 228, 0.1);
}

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

.form-control::placeholder {
    color: var(--pf-light-gray);
}

/* ============================================
   UTILITIES
   ============================================ */

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    /* Performance fix: Disable backdrop-filter on mobile to reduce lag */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.95);
    }

    /* Header transparent in hero section on homepage (tablet) */
    body.home .site-header:not(.is-scrolled) {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom-color: transparent;
        box-shadow: none;
    }

    /* Header transparent on section intro for inner pages (tablet) */
    body.page-about-us .site-header:not(.is-scrolled),
    body.page-careers .site-header:not(.is-scrolled),
    body.page-contact-us .site-header:not(.is-scrolled),
    body.page-hr-topics .site-header:not(.is-scrolled),
    body.page-services .site-header:not(.is-scrolled) {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border-bottom-color: rgba(255, 255, 255, 0.2);
        box-shadow: none;
    }

    /* Category archive - more transparent header (tablet) */
    body.category .site-header:not(.is-scrolled) {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        border-bottom-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
    }

    /* Header returns to white when scrolled past intro section (tablet) */
    body.home.past-hero .site-header,
    body.page-about-us.past-hero .site-header,
    body.page-careers.past-hero .site-header,
    body.page-contact-us.past-hero .site-header,
    body.page-hr-topics.past-hero .site-header,
    body.page-services.past-hero .site-header,
    body.category.past-hero .site-header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom-color: rgba(0, 0, 0, 0.1);
        box-shadow: var(--shadow-sm);
    }

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

    /* Mobile Navigation - Trigger at 1024px to prevent overlap */
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }

    /* Hide desktop mega menu on mobile */
    .desktop-nav {
        display: none !important;
    }

    /* Mobile Nav Menu - Sidebar */
    .mobile-nav-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--pf-white);
        padding: 70px 20px 20px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav-menu.is-open {
        right: 0;
    }

    /* Mobile Nav List Styling */
    .mobile-nav-list {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .mobile-nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--pf-border);
    }

    .mobile-nav-list li:last-child {
        border-bottom: none;
    }

    .mobile-nav-list a {
        font-family: var(--font-primary);
        font-weight: 400;
        font-size: 0.85rem;
        color: var(--pf-dark);
        padding: 8px 0 8px 5px;
        display: inline-block;
        white-space: normal;
        word-wrap: break-word;
    }

    /* Mobile nav menu item with children - flex layout */
    .mobile-nav-list .menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    /* Link takes available space, toggle at right edge */
    .mobile-nav-list .menu-item-has-children > a {
        flex: 1;
        min-width: 0;
    }

    /* Mobile nav submenu toggle button - at far right */
    .mobile-nav-list .submenu-toggle {
        background: none;
        border: none;
        padding: 10px 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: auto;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-nav-list .submenu-toggle .toggle-arrow {
        width: 0;
        height: 0;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 6px solid var(--pf-dark);
        transition: transform 0.3s ease;
    }

    .mobile-nav-list .menu-item-has-children.is-open > .submenu-toggle .toggle-arrow {
        transform: rotate(90deg);
    }

    /* Mobile nav submenu accordion - MUST be 100% width to wrap below */
    .mobile-nav-list .sub-menu {
        list-style: none;
        margin: 0;
        padding: 0 0 0 15px;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .mobile-nav-list li.menu-item-has-children.is-open > .sub-menu {
        max-height: 2000px;
    }

    /* Submenu link styling */
    .mobile-nav-list .sub-menu a {
        font-size: 0.78rem;
        padding: 4px 0 4px 5px;
    }

    .mobile-nav-list .sub-menu .sub-menu a {
        font-size: 0.72rem;
        padding: 3px 0 3px 5px;
    }

    /* Nested submenus also need full width */
    .mobile-nav-list .sub-menu .sub-menu {
        width: 100%;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        transform: none;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--pf-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 70px 20px 20px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-navigation.is-open {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--pf-border);
    }

    .nav-menu > li > a {
        padding: 6px 0 6px 5px;
        font-size: 0.83rem;
        font-weight: 400;
        display: inline-block;
        white-space: normal;
        word-wrap: break-word;
    }

    /* Hide desktop ::after underline on mobile/tablet */
    .nav-menu > li > a::after {
        display: none !important;
    }

    /* Selected/active item underline - text-width only */
    .nav-menu > li.current-menu-item > a,
    .nav-menu > li.current-menu-ancestor > a {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .nav-menu .sub-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        padding: 0 0 0 4px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .nav-menu li.menu-item-has-children.is-open > .sub-menu {
        max-height: 2000px;
        padding: 4px 0 4px 4px;
    }

    /* Nested submenu indentation */
    .nav-menu .sub-menu .sub-menu {
        padding-left: 4px;
    }

    .nav-menu li.menu-item-has-children.is-open > .sub-menu .sub-menu {
        padding-left: 4px;
    }

    /* Standardize mobile menu styles - font size, padding, word wrap */
    .nav-menu .sub-menu li a,
    .mega-children li a {
        font-size: 0.76rem;
        padding: 2px 0 2px 2px;
        display: inline-block;
        white-space: normal;
        word-wrap: break-word;
    }

    /* Selected/active submenu item underline - text-width only */
    .nav-menu .sub-menu li.current-menu-item > a,
    .mega-children li.current-menu-item > a {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    /* Mobile menu item with children - flex layout for link + toggle button */
    .nav-menu .menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .nav-menu .menu-item-has-children > a {
        flex: 1;
        min-width: 0;
    }

    /* Hide the old CSS ::before arrow - now using toggle button */
    .nav-menu .menu-item-has-children > a::before {
        display: none;
    }

    /* Submenu toggle button - dedicated click target */
    .submenu-toggle {
        background: none;
        border: none;
        padding: 10px 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        -webkit-tap-highlight-color: transparent;
    }

    .submenu-toggle:focus {
        outline: 2px solid var(--pf-primary);
        outline-offset: -2px;
    }

    /* Toggle arrow - CSS triangle pointing right */
    .submenu-toggle .toggle-arrow {
        width: 0;
        height: 0;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 6px solid var(--pf-dark);
        transition: transform 0.3s ease;
    }

    /* Rotate arrow to point down when open */
    .menu-item-has-children.is-open > .submenu-toggle .toggle-arrow {
        transform: rotate(90deg);
    }

    /* Ensure sub-menu takes full width */
    .nav-menu .sub-menu {
        width: 100%;
    }

    .header-cta {
        display: none;
    }

    /* Hide mega menu on mobile - use standard mobile menu behavior */
    .mega-menu-dropdown {
        display: none !important;
    }

    /* Reset mega menu item to standard behavior */
    .nav-menu > li.mega-menu-item {
        position: relative;
    }

    /* Mobile submenu for mega items - show with accordion behavior */
    .nav-menu > li.mega-menu-item > .sub-menu {
        display: block !important;
        position: static;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
    }

    .nav-menu > li.mega-menu-item.is-open > .sub-menu {
        max-height: 2000px;
        padding: 4px 0 4px 4px;
    }

    .nav-menu > li.mega-menu-item > .sub-menu li {
        border-bottom: 1px solid var(--pf-border);
    }

    .nav-menu > li.mega-menu-item > .sub-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu > li.mega-menu-item > .sub-menu a {
        display: inline-block;
        padding: 2px 0 2px 2px;
        color: var(--pf-dark);
        font-size: 0.76rem;
        white-space: normal;
        word-wrap: break-word;
    }

    /* Selected/active mobile submenu item underline */
    .nav-menu > li.mega-menu-item > .sub-menu li.current-menu-item > a {
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
    }

    /* Header Mobile */
    .site-header .container {
        padding: 0 15px;
    }

    /* Header more transparent in hero section on homepage */
    body.home .site-header:not(.is-scrolled) {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom-color: transparent;
        box-shadow: none;
    }

    /* Header transparent on section intro for inner pages (mobile) */
    body.page-about-us .site-header:not(.is-scrolled),
    body.page-careers .site-header:not(.is-scrolled),
    body.page-contact-us .site-header:not(.is-scrolled),
    body.page-hr-topics .site-header:not(.is-scrolled),
    body.page-services .site-header:not(.is-scrolled) {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border-bottom-color: rgba(255, 255, 255, 0.2);
        box-shadow: none;
    }

    /* Category archive - more transparent header (mobile) */
    body.category .site-header:not(.is-scrolled) {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        border-bottom-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
    }

    /* Header returns to white when scrolled past intro section */
    body.page-about-us.past-hero .site-header,
    body.page-careers.past-hero .site-header,
    body.page-contact-us.past-hero .site-header,
    body.page-hr-topics.past-hero .site-header,
    body.page-services.past-hero .site-header,
    body.category.past-hero .site-header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom-color: rgba(0, 0, 0, 0.1);
        box-shadow: var(--shadow-sm);
    }

    .header-inner {
        min-height: 75px;
    }

    .site-logo {
        margin-left: 5px;
    }

    .site-logo img {
        height: 75px;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        margin-top: 0;
        padding-top: 100px;
    }

    .hexagon-canvas {
        top: 0;
        height: 100%;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 15px;
        padding: 0 20px;
    }

    /* Mobile gradient overlay - top to bottom */
    .hero-home::after {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.35) 30%,
            rgba(255, 255, 255, 0.15) 60%,
            transparent 100%
        );
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        -webkit-mask-image: none;
        mask-image: none;
    }

    /* Background image shifted left on mobile */
    .hero-home {
        background-position: calc(50% - 150px) center !important;
    }

    /* Hamburger menu button */
    .menu-toggle {
        margin-right: 10px;
        z-index: 1001;
        position: relative;
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        background: var(--pf-dark);
    }

    /* Ensure close X is visible when menu is open */
    .menu-toggle.is-active .hamburger::before,
    .menu-toggle.is-active .hamburger::after {
        background: var(--pf-dark);
    }

    .hero-logo-main {
        max-width: 90%;
        margin: 0 auto 40px;
    }

    .hero-logo-main {
        max-width: 90%;
        margin: 0 auto 20px;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

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

    .hero-tagline,
    .hero-description,
    .hero-title {
        text-align: center;
    }

    /* Homepage header adjustments */
    .home .header-cta {
        position: static;
    }

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

    /* Footer - main section only (not footer-bottom) */
    .footer-main .container {
        padding: 0 20px 0 40px;
    }

    /* Hide desktop-only line breaks on mobile */
    .br-desktop {
        display: none;
    }

    .footer-logo img,
    .footer-logo svg {
        max-height: 70px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    /* Reorder columns for 2-column mobile layout */
    .footer-brand { order: 1; }
    .footer-grid > .footer-column:nth-child(2) { order: 2; }  /* Quick Links */
    .footer-grid > .footer-column:nth-child(3) { order: 3; }  /* Our Services */
    .footer-grid > .footer-column:nth-child(4) { order: 4; }  /* HR Topics */
    .footer-grid > .footer-column:nth-child(5) { order: 5; }  /* Job Openings */
    .footer-grid > .footer-column:nth-child(6) { order: 6; }  /* Contact Us */

    .footer-brand {
        max-width: 100%;
        margin-top: -15px;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-column h4 {
        font-size: 1rem;
    }

    .footer-links li {
        margin-bottom: 5px;
    }

    .footer-contact li {
        margin-bottom: 10px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    /* Standardize all button sizing to match hero buttons */
    .btn {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    /* Header - smaller on all mobile phones */
    .header-inner {
        min-height: 65px;
        padding: 5px 0;
    }

    .site-logo img {
        height: 70px;
    }

    /* Hero section - full viewport */
    .hero {
        min-height: 100vh;
        margin-top: 0;
        padding-top: 80px;
    }

    .hexagon-canvas {
        top: 0;
        height: 100%;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: auto;
        padding: 12px 20px;
    }

    .hero-logo-main {
        max-width: 95%;
        margin-bottom: 30px;
    }

    .hero-content {
        margin-top: 40px;
        padding: 0 12px;
    }

    /* Container breathing room on all mobile phones */
    .container {
        padding: 0 20px;
    }

    /* Footer - main section only (not footer-bottom) */
    .footer-main .container {
        padding: 0 12px 0 32px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: auto;
        max-width: 280px;
    }

    /* CTA Section - Small Mobile */
    .section-cta {
        padding: 50px 0 70px;
    }

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

    .cta-content h2 {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
    }

    .section-cta .cta-buttons .btn,
    .section-apply .cta-buttons .btn,
    .cta-section .cta-buttons .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .cta-pattern {
        animation: none; /* Disable animation on small mobile */
    }

    /* Newsletter Section - Small Mobile */
    .section-newsletter {
        padding: 80px 0;
    }

    .section-newsletter .newsletter-label {
        font-size: 1.1rem;
    }

    .section-newsletter .newsletter-form input[type="email"] {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    /* Newsletter - Black overlay on bg photo for mobile readability */
    .section-newsletter::before {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(3px) !important;
        -webkit-backdrop-filter: blur(3px) !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    /* Newsletter - White placeholder text for mobile */
    .section-newsletter .newsletter-form input[type="email"]::placeholder {
        color: #ffffff !important;
    }

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

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

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }

    /* Standardize all button sizing at 480px */
    .btn {
        padding: 12px 20px;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    :root {
        --text-hero: clamp(1.75rem, 6vw, 2.5rem);
    }

    .header-inner {
        min-height: 65px;
        padding: 5px 0;
    }

    .site-logo img {
        height: 70px;
    }

    .hero {
        min-height: 100vh;
        margin-top: 0;
        padding-top: 80px;
    }

    .hero-home {
        background-position: calc(50% - 150px) center !important;
    }

    .hexagon-canvas {
        top: 0;
        height: 100%;
    }

    .hero-content {
        margin-top: 40px;
        padding: 0 12px;
    }

    .hero-logo-main {
        max-width: 100%;
        width: 90%;
        margin-bottom: 25px;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Services 2-column on small mobile */
    .services-horizontal .slide-item {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
    }

    .container {
        padding: 0 20px;
    }

    /* Standardize all button sizing at 375px to match hero buttons */
    .btn {
        padding: 10px 16px;
        font-size: 0.75rem;
    }
}

/* ===================================
   Page Templates
   =================================== */

/* Page Hero (Inner Pages) */
.hero-page {
    min-height: 350px;
    padding: 155px 0 80px;
}

.hero-page .hero-content {
    max-width: 800px;
}

.hero-page .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
    color: #0090CE;
}

.hero-page .hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Service Hero Icon */
.service-hero-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
}

.service-hero-icon svg {
    width: 40px;
    height: 40px;
}

/* ===================================
   Single Service Page
   =================================== */

/* .section-service-content inherits from base .section style */

.service-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    align-items: start;
}

.service-main {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.service-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-content h2 {
    color: var(--pf-dark);
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.service-content h3 {
    color: var(--pf-dark);
    font-size: 1.25rem;
    margin: 25px 0 12px;
}

.service-content ul,
.service-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.service-content li {
    margin-bottom: 10px;
}

/* Service Features */
.service-features {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.service-features h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--pf-dark);
}

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

.feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--pf-light);
    border-radius: var(--radius-md);
}

.feature-item .feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--pf-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item .feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--pf-dark);
}

.feature-item p {
    color: var(--pf-text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Service Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 100px;
}

.sidebar-cta {
    background: var(--pf-gradient-hero);
    color: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.sidebar-cta h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.sidebar-cta p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.sidebar-cta .btn-block {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.sidebar-cta .btn-outline {
    border-color: white;
    color: white;
}

.sidebar-cta .btn-outline:hover {
    background: white;
    color: var(--pf-primary);
}

.sidebar-services {
    background: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.sidebar-services h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--pf-dark);
}

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

.sidebar-services-list li {
    margin-bottom: 10px;
}

.sidebar-services-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--pf-text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sidebar-services-list a:hover {
    background: var(--pf-primary-light);
    color: var(--pf-primary);
}

.sidebar-service-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-service-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--pf-primary);
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--pf-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.view-all-link svg {
    width: 16px;
    height: 16px;
}

/* ===================================
   About Page
   =================================== */

/* .section-who-we-are inherits from base .section style */

.section-who-we-are .container,
.section-values .container {
    max-width: 1500px;
}

.section-who-we-are .about-content .section-subtitle,
.section-who-we-are .about-content .section-title {
    text-align: left;
}

.section-who-we-are .content-block {
    font-size: 1rem;
    color: var(--pf-medium-gray);
    line-height: 1.8;
    margin-top: 30px;
}

.section-who-we-are .content-block p {
    margin-bottom: 20px;
}

/* Mission & Vision - inherits from base .section style */

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 100px;
}

.mv-card {
    background: transparent;
    padding: 40px;
    text-align: center;
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.mv-icon svg {
    width: 35px;
    height: 35px;
}

/* Large Mission/Vision Icons (glassy square style) */
.mv-icon-large {
    width: 130px;
    height: 130px;
    margin: 0 auto 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #00A0E4 0%, #0080B8 50%, #006090 100%);
    border-radius: 28px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 6px 20px rgba(0, 160, 228, 0.4),
        0 12px 40px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.mv-icon-large .mv-svg {
    width: 72px;
    height: 72px;
    transition: transform 0.4s ease;
    filter: brightness(0) invert(1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.mv-icon-large .mv-svg circle,
.mv-icon-large .mv-svg line,
.mv-icon-large .mv-svg rect,
.mv-icon-large .mv-svg ellipse,
.mv-icon-large .mv-svg polygon,
.mv-icon-large .mv-svg path {
    stroke: white !important;
    fill: white !important;
}

.mv-icon-large .mv-svg circle[fill="none"],
.mv-icon-large .mv-svg rect[fill="none"],
.mv-icon-large .mv-svg ellipse[fill="none"] {
    fill: none !important;
}

.mv-card:hover .mv-svg {
    transform: scale(1.08);
}

.mv-card h3 {
    font-size: 2.25rem;
    margin-bottom: 25px;
    color: var(--pf-primary);
}

.mv-card p {
    color: var(--pf-medium-gray);
    line-height: 1.7;
}

/* Values Section - inherits from base .section style */

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Value Card - Horizontal layout with icon left */
.value-card {
    position: relative;
    background: transparent;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: left;
    border: 1px solid transparent;
    box-shadow: none;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

/* Accent bar - hidden by default, shows on hover */
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--pf-primary) 0%, var(--pf-primary-dark) 100%);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    background: rgba(241, 243, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(173, 181, 189, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

/* Value Icon Container */
.value-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG Icon Styling */
.value-icon .value-svg {
    width: 80px;
    height: 80px;
}

/* Value Content */
.value-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #6b6b6b;
}

.value-content p {
    font-size: 0.875rem;
    color: var(--pf-medium-gray);
    margin: 0;
    line-height: 1.7;
}

/* Stats Section with Background */
.section-stats-highlight {
    position: relative;
    padding: 45px 0;
    background: url('assets/images/vector.jpg') center/cover no-repeat fixed;
    overflow: hidden;
}

.section-stats-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(135, 195, 235, 0.2);
    z-index: 0;
}

.section-stats-highlight .stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 60px;
    box-sizing: border-box;
}

.section-stats-highlight .stat-card {
    color: #ffffff;
}

.section-stats-highlight .stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.section-stats-highlight .stat-label {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* CEO Message Section */
.section-ceo-message .container {
    max-width: 1400px;
}

.ceo-message-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.ceo-message-content {
    text-align: left;
}

.ceo-message-text {
    font-family: var(--font-description);
    font-size: 1rem;
    color: var(--pf-medium-gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.ceo-message-text p {
    margin-bottom: 20px;
}

.ceo-message-text p:last-child {
    margin-bottom: 0;
}

.ceo-signature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.ceo-name {
    font-family: 'Brush Script MT', 'Segoe Script', 'Bradley Hand', cursive;
    font-size: 2.5rem;
    color: var(--pf-primary-dark);
    line-height: 1.2;
}

.ceo-title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
}

.ceo-company {
    font-family: var(--font-description);
    font-size: 0.9rem;
    color: var(--pf-medium-gray);
}

.ceo-image {
    position: static;
}

.ceo-image-wrapper {
    overflow: hidden;
}

.ceo-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Contact Page
   =================================== */

/* .section-contact inherits from base .section style */

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: stretch;
}

.contact-form-wrapper {
    position: relative;
    background: #ffffff;
    padding: 45px 40px 40px 50px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    box-shadow:
        8px 12px 40px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.05);
    margin-left: 15px;
    height: auto;
    min-height: 100%;
}

/* Blue accent stripe - appears behind/beside the card */
.contact-form-wrapper::before {
    content: '';
    position: absolute;
    left: -15px;
    top: -8px;
    bottom: -8px;
    width: 15px;
    background: linear-gradient(180deg, var(--pf-primary) 0%, var(--pf-primary-dark) 100%);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    box-shadow: -4px 8px 25px rgba(0, 160, 228, 0.3);
}

/* Subtle connecting line at top */
.contact-form-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -15px;
    width: calc(100% + 15px);
    height: 4px;
    background: linear-gradient(90deg, var(--pf-primary) 0%, transparent 30%);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.contact-form-wrapper h2 {
    font-size: 1.75rem;
    margin-bottom: 10px;
    color: var(--pf-dark);
}

.contact-form-wrapper > p {
    color: var(--pf-medium-gray);
    margin-bottom: 30px;
    font-family: Tahoma, Geneva, sans-serif;
}

/* Form Styles */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pf-medium-gray);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: Tahoma, Geneva, sans-serif;
}

.contact-form label .required {
    color: #e53935;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px 12px 18px;
    border: 1px solid #e8e8e8;
    border-left: 4px solid #d0d0d0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.9rem;
    font-family: Tahoma, Geneva, sans-serif;
    color: var(--pf-medium-gray);
    transition: all 0.25s ease;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e8e8e8;
    border-left-color: var(--pf-primary);
    background: #ffffff;
    box-shadow:
        0 0 0 3px rgba(0, 160, 228, 0.08),
        4px 4px 15px rgba(0, 160, 228, 0.1);
}

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
    border-color: #e53935;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 45px;
}

.contact-form select option {
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 0.9rem;
}

/* Choices.js Custom Dropdown Styles */
.contact-form .choices {
    margin-bottom: 0;
}

.contact-form .choices__inner {
    background: white;
    border: 1px solid var(--pf-border);
    border-radius: 8px;
    padding: 12px 15px;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 0.9rem;
    min-height: auto;
    line-height: 1.4;
    color: var(--pf-medium-gray);
}

.contact-form .choices__inner:focus,
.contact-form .choices.is-focused .choices__inner {
    border-color: var(--pf-primary);
    box-shadow: 0 0 0 2px rgba(0, 160, 228, 0.1);
}

.contact-form .choices__list--single {
    padding: 0;
}

.contact-form .choices__list--single .choices__item {
    font-family: Tahoma, Geneva, sans-serif;
    color: var(--pf-medium-gray) !important;
}

.contact-form .choices__list--dropdown {
    border: 1px solid var(--pf-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form .choices__list--dropdown .choices__item {
    font-family: Tahoma, Geneva, sans-serif !important;
    font-size: 0.82rem !important;
    padding: 4px 10px !important;
    line-height: 1.2 !important;
    color: var(--pf-medium-gray) !important;
}

.contact-form .choices__list--dropdown .choices__item--selectable.is-highlighted {
    background: var(--pf-primary-lighter);
    color: var(--pf-dark);
}

.contact-form .choices__placeholder {
    color: var(--pf-light-gray);
    opacity: 1;
}

/* Date select row */
.date-select-row {
    display: flex;
    gap: 10px;
}

.date-select-row select {
    flex: 1;
    min-width: 0;
}

/* Choices.js containers in date row need flex sizing */
.date-select-row .choices {
    flex: 1;
    min-width: 0;
}

.form-row-datetime .form-group:last-child .choices {
    width: 100%;
}

/* Checkbox styling */
.form-group-checkbox {
    margin-bottom: 15px;
}

/* Side-by-side checkbox row */
.form-row-checkboxes {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.form-row-checkboxes .form-group-checkbox {
    margin-bottom: 0;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 0.9rem;
    color: var(--pf-medium-gray);
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--pf-primary);
    cursor: pointer;
    flex-shrink: 0;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.checkbox-label .checkbox-text {
    line-height: 16px;
    vertical-align: middle;
}

/* Date/Time row layout */
.form-row-datetime {
    display: grid;
    grid-template-columns: 3fr 0.35fr;
    gap: 20px;
}

.form-row-datetime .form-group-date {
    flex: 1.5;
}

.form-row-datetime .form-group:last-child {
    flex: 0.8;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-lg {
    padding: 10px 24px;
    font-size: 0.875rem;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Form Message */
.form-message {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-family: var(--font-description);
    font-size: 0.9rem;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.form-message p {
    margin: 0;
}

/* Contact Info Card */
.contact-info-card {
    position: relative;
    background: #ffffff;
    color: var(--pf-dark);
    padding: 45px 50px 45px 40px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    height: auto;
    min-height: 100%;
    margin-right: 15px;
    box-shadow:
        -8px 12px 40px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Gold accent stripe - appears behind/beside the card on right */
.contact-info-card::after {
    content: '';
    position: absolute;
    right: -15px;
    top: -8px;
    bottom: -8px;
    width: 15px;
    background: linear-gradient(180deg, var(--pf-secondary-light) 0%, var(--pf-secondary) 50%, var(--pf-secondary-dark) 100%);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: 4px 8px 25px rgba(232, 155, 0, 0.35);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--pf-dark);
}

.contact-info-card > p {
    color: var(--pf-medium-gray);
    margin-bottom: 30px;
    font-family: Tahoma, Geneva, sans-serif;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 20px;
}

.contact-info-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-icon {
    flex-shrink: 0;
}

/* Contact icons (no circle background) */
.contact-icon-circle {
    width: auto;
    height: auto;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3px;
}

.contact-info-list li {
    cursor: pointer;
}

.contact-info-list li:hover .contact-icon-circle {
    background: none;
}

.contact-icon-circle svg {
    width: 32px;
    height: 32px;
    stroke: var(--pf-primary);
    transition: all 0.3s ease;
}

.contact-info-list li:hover .contact-icon-circle svg {
    stroke: var(--pf-primary-dark);
}

.contact-details strong {
    display: block;
    font-size: 0.85rem;
    color: var(--pf-medium-gray);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: Tahoma, Geneva, sans-serif;
}

.contact-details span {
    font-size: 0.85rem;
    line-height: 1.6;
    font-family: Tahoma, Geneva, sans-serif;
    color: var(--pf-medium-gray);
}

.contact-details a {
    color: var(--pf-medium-gray);
    font-size: 0.85rem;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--pf-primary);
}

/* Contact Social */
.contact-social {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-social strong {
    display: block;
    font-size: 0.85rem;
    color: var(--pf-medium-gray);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: Tahoma, Geneva, sans-serif;
}

.contact-info-card .social-links {
    display: flex;
    gap: 10px;
}

.contact-info-card .social-links a {
    width: 36px;
    height: 36px;
    background: var(--pf-primary);
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.contact-info-card .social-links a:hover {
    background: var(--pf-primary-dark);
    transform: translateY(-2px);
}

.contact-info-card .social-links a svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* Map Section */
.section-map {
    padding: 0;
}

.map-wrapper {
    width: 100%;
    height: 450px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(20%);
}

/* ===================================
   Careers Page
   =================================== */

/* Careers Intro - now uses .section-page-intro (defined in base styles) */

/* .section-why-work inherits from base .section style */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateX(6px);
}

.benefit-card:hover .benefit-icon-wrapper svg {
    fill: var(--pf-primary-dark);
    transform: scale(1.08);
}

.benefit-icon-wrapper {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon-wrapper svg {
    width: 52px;
    height: 52px;
    fill: var(--pf-primary);
    transition: all 0.3s ease;
}

.benefit-content {
    flex: 1;
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--pf-medium-gray);
}

.benefit-card p {
    font-size: 0.875rem;
    color: var(--pf-medium-gray);
    margin: 0;
    line-height: 1.65;
    font-family: var(--font-description);
}

/* Career FAQs Section */
.section-career-faqs {
    background: var(--pf-light-bg);
}

.section-career-faqs .section-header {
    text-align: left;
    max-width: 500px;
    margin-bottom: 60px;
}

.section-career-faqs .section-description {
    max-width: 450px;
}

.faq-accordion {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--pf-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--pf-border);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    border-color: var(--pf-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--pf-medium-gray);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--pf-primary);
}

.faq-question span {
    flex: 1;
    padding-right: 15px;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--pf-medium-gray);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    stroke: var(--pf-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    margin: 0;
    font-family: var(--font-description);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--pf-medium-gray);
}

/* FAQ Mobile Responsive */
@media (max-width: 768px) {
    .faq-question {
        font-size: 0.9375rem;
        padding: 18px 20px;
    }

    .faq-answer p {
        padding: 0 20px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        font-size: 0.875rem;
        padding: 16px 18px;
    }

    .faq-answer p {
        padding: 0 18px 14px;
        font-size: 0.875rem;
    }
}

@media (max-width: 375px) {
    .faq-question {
        font-size: 0.8125rem;
        padding: 14px 16px;
    }

    .faq-answer p {
        padding: 0 16px 12px;
        font-size: 0.8125rem;
    }
}

/* Positions Section */
/* .section-positions inherits from base .section style */

.positions-list {
    max-width: 800px;
    margin: 0 auto;
}

.no-positions {
    text-align: center;
    padding: 60px 40px;
    background: var(--pf-light);
    border-radius: var(--radius-lg);
}

.no-positions-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--pf-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-positions-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--pf-primary);
}

.no-positions h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--pf-dark);
}

.no-positions p {
    color: var(--pf-text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* Apply Section */
/* .section-apply inherits orange gradient from CTA styles */

.apply-card {
    background: var(--pf-gradient-hero);
    color: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.apply-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.apply-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.apply-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.apply-buttons .btn-outline {
    border-color: white;
    color: white;
}

.apply-buttons .btn-outline:hover {
    background: white;
    color: var(--pf-primary);
}

/* ===================================
   Job Listings Section - Enhanced
   =================================== */

/* .section-job-listings inherits from base .section style */

/* Job Filters Bar */
.job-filters-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.filters-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pf-dark);
}

.job-filter-select {
    padding: 10px 36px 10px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-description);
    color: var(--pf-dark);
    background: white;
    border: 2px solid rgba(0, 160, 228, 0.2);
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300A0E4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.job-filter-select:hover {
    border-color: var(--pf-primary);
}

.job-filter-select:focus {
    outline: none;
    border-color: var(--pf-primary);
    box-shadow: 0 0 0 3px rgba(0, 160, 228, 0.15);
}

/* Checkbox Dropdown Component */
.filter-dropdown {
    position: relative;
}

.filter-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 36px 10px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-description);
    color: var(--pf-dark);
    background: white;
    border: 2px solid rgba(0, 160, 228, 0.2);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    white-space: nowrap;
}

/* Dropdown widths based on longest item content */
.filter-dropdown[data-filter="location"] .filter-dropdown-btn {
    min-width: 155px; /* "Ras Al Khaimah" */
}

.filter-dropdown[data-filter="dept"] .filter-dropdown-btn {
    min-width: 260px; /* "Content & Communications" */
}

.filter-dropdown[data-filter="type"] .filter-dropdown-btn {
    min-width: 130px; /* "Internship" */
}

.filter-dropdown[data-filter="exp"] .filter-dropdown-btn {
    min-width: 135px; /* "Senior Level" */
}

.filter-dropdown-btn:hover {
    border-color: var(--pf-primary);
}

.filter-dropdown.open .filter-dropdown-btn {
    border-color: var(--pf-primary);
    box-shadow: 0 0 0 3px rgba(0, 160, 228, 0.15);
}

.dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--pf-primary);
    transition: transform 0.2s ease;
}

.filter-dropdown.open .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    max-height: 280px;
    overflow-y: auto;
    background: white;
    border: 2px solid rgba(0, 160, 228, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 100;
    display: none;
}

.filter-dropdown.open .filter-dropdown-menu {
    display: block;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 24px 4px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font-description);
    color: var(--pf-dark);
    white-space: nowrap;
    transition: background 0.15s ease;
}

.filter-checkbox-label:hover {
    background: rgba(0, 160, 228, 0.06);
}

.filter-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--pf-primary);
    cursor: pointer;
}

/* Search Button */
.filter-search-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    color: white;
    background: linear-gradient(135deg, var(--pf-primary) 0%, var(--pf-primary-dark) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 160, 228, 0.25);
    min-width: 120px;
}

.filter-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 160, 228, 0.35);
}

/* Reset Button */
.filter-reset-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    color: #666;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.filter-reset-btn:hover {
    background: #e8e8e8;
    border-color: #ccc;
    color: #333;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Job Card - Premium with Accent Bar */
.job-card {
    background: white;
    padding: 32px 32px 32px 36px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Gold accent bar */
.job-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--pf-secondary) 0%, var(--pf-secondary-dark) 100%);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shine effect */
.job-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.job-card.hidden {
    opacity: 0;
    transform: translateY(20px);
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 160, 228, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 160, 228, 0.15);
}

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

.job-card:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.job-card-header {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
}

.job-card-header h3 {
    font-size: 0.95rem;
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
    line-height: 1.3;
}

.job-card-header h3 a {
    color: #6b6b6b;
    text-decoration: none;
    transition: color 0.3s ease;
    background: linear-gradient(to right, var(--pf-primary), var(--pf-primary));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 2px;
}

.job-card-header h3 a:hover {
    color: var(--pf-primary);
    background-size: 100% 2px;
}

.job-department {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 160, 228, 0.1) 0%, rgba(0, 128, 184, 0.15) 100%);
    color: var(--pf-primary-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 1px solid rgba(0, 160, 228, 0.2);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--pf-text-light);
    font-weight: 500;
}

.job-meta-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--pf-primary);
    opacity: 0.8;
}

.job-excerpt {
    color: var(--pf-text-light);
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Enhanced button on job card */
.job-card .btn-secondary {
    background: transparent;
    border: 2px solid var(--pf-primary);
    color: var(--pf-primary);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.job-card .btn-secondary:hover {
    background: var(--pf-primary);
    color: white;
    transform: translateX(4px);
}

.job-card .btn-secondary::after {
    content: ' →';
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover .btn-secondary::after {
    opacity: 1;
}

/* ===================================
   Careers Main Section - Side by Side Layout
   =================================== */

.section-careers-main {
    overflow: hidden;
}

.section-careers-main .container {
    max-width: 1500px;
}

/* Careers Header - Full Width above grid */
.careers-header {
    margin-bottom: 30px;
}

.careers-header .section-header {
    text-align: left;
    margin-bottom: 25px;
}

.careers-header .job-filters-bar {
    justify-content: flex-start;
    margin-bottom: 0;
}

.careers-layout {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 60px;
    align-items: start;
}

.careers-openings {
    min-width: 0;
}

.careers-form-column {
    align-self: start;
}

.section-title-medium {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0;
}



/* Jobs List - Compact vertical list */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Jobs Pagination */
.jobs-pagination {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.jobs-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.jobs-pagination li a,
.jobs-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.jobs-pagination li a {
    color: var(--pf-text);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.jobs-pagination li a:hover {
    color: var(--pf-primary);
    border-color: var(--pf-primary);
    background: rgba(0, 160, 228, 0.05);
}

.jobs-pagination li span.current {
    color: white;
    background: var(--pf-primary);
    border: 1px solid var(--pf-primary);
}

.jobs-pagination li.prev a,
.jobs-pagination li.next a {
    padding: 8px 18px;
}

.jobs-pagination li.dots span {
    border: none;
    background: transparent;
}

/* Compact Job Card */
.job-card-compact {
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.3s ease;
}

.job-card-compact:hover {
    box-shadow: 0 4px 16px rgba(0, 160, 228, 0.12);
    border-color: rgba(0, 160, 228, 0.15);
}

.job-card-compact-content {
    flex: 1;
    min-width: 0;
}

.job-ref-badge {
    display: inline-block;
    font-family: var(--font-description);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--pf-primary-dark);
    background: var(--pf-primary-lighter);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.job-card-compact h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.job-card-compact h3 a {
    color: #6b6b6b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.job-card-compact h3 a:hover {
    color: var(--pf-primary);
}

.job-meta-compact {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.78rem;
    color: var(--pf-text-light);
}

.job-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
}

.job-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 0;
}

.job-meta-row span:not(:last-child)::after {
    content: '·';
    margin: 0 10px;
    color: var(--pf-border);
    font-weight: 700;
}

.job-meta-compact svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.job-card-compact .btn-sm {
    flex-shrink: 0;
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* No positions compact */
.no-positions-compact {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.no-positions-compact .no-positions-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--pf-primary-lighter) 0%, rgba(0, 160, 228, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-positions-compact .no-positions-icon svg {
    width: 28px;
    height: 28px;
    color: var(--pf-primary);
}

.no-positions-compact h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--pf-dark);
}

.no-positions-compact p {
    font-size: 0.9rem;
    color: var(--pf-text-light);
    margin: 0;
}

/* CV Form Column - Compact */
.careers-form-column .cv-form-wrapper {
    max-width: none;
    position: sticky;
    top: 100px;
}

.careers-form-column .cv-form-header {
    padding: 30px 25px 45px;
}

.careers-form-column .cv-form-header h2 {
    font-size: 1.3rem;
}

.careers-form-column .cv-form-header p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.careers-form-column .cv-form {
    padding: 25px;
}

.careers-form-column .cv-form .form-group {
    margin-bottom: 15px;
}

.careers-form-column .cv-form label {
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.careers-form-column .cv-form input,
.careers-form-column .cv-form select,
.careers-form-column .cv-form textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
    font-family: var(--font-description);
}

.careers-form-column .cv-form .file-hint {
    font-size: 0.75rem;
}

.careers-form-column .btn-block {
    padding: 12px 20px;
    font-size: 0.9rem;
}

.careers-form-column .btn-block svg {
    width: 18px;
    height: 18px;
}

/* ===================================
   CV Submission Section - Enhanced (Legacy/Full Width)
   =================================== */

/* .section-cv-submission inherits from base .section style */
.section-cv-submission {
    overflow: hidden;
}

.cv-form-wrapper {
    max-width: 820px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    border-radius: 24px;
    border: 1px solid rgba(0, 160, 228, 0.1);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.04),
        0 12px 48px rgba(0, 160, 228, 0.06);
    position: relative;
    overflow: hidden;
}

/* Gradient header accent */
.cv-form-header {
    text-align: center;
    padding: 55px 50px 80px;
    background: linear-gradient(135deg, var(--pf-primary) 0%, var(--pf-primary-dark) 100%);
    position: relative;
}

.cv-form-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 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='%23ffffff' 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");
    opacity: 0.3;
}

.cv-form-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top right, white 49%, transparent 50%);
}

.cv-form-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: white;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cv-form-header p {
    font-family: var(--font-description);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: 0 auto;
}

/* Form body */
.cv-form {
    padding: 40px 50px 50px;
}

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

.cv-form .form-group {
    margin-bottom: 24px;
    position: relative;
}

.cv-form label {
    display: block;
    font-family: var(--font-description);
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--pf-medium-gray);
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.cv-form label .required {
    color: var(--pf-secondary);
    font-weight: 700;
}

.cv-form input,
.cv-form select,
.cv-form textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.cv-form input::placeholder,
.cv-form textarea::placeholder {
    color: #999;
}

.cv-form input:hover,
.cv-form select:hover,
.cv-form textarea:hover {
    border-color: rgba(0, 160, 228, 0.3);
}

.cv-form input:focus,
.cv-form select:focus,
.cv-form textarea:focus {
    outline: none;
    border-color: var(--pf-primary);
    box-shadow:
        0 0 0 4px rgba(0, 160, 228, 0.1),
        0 4px 12px rgba(0, 160, 228, 0.08);
    background: white;
}

.cv-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 45px;
}

.cv-form textarea {
    resize: vertical;
    min-height: 100px;
}

.cv-form input[type="file"] {
    /* Use browser default styling */
}

.cv-form .file-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--pf-text-light);
}

.cv-form .form-group-major {
    animation: slideDown 0.3s ease-out;
}

/* CAPTCHA styling */
.captcha-group {
    margin-bottom: 24px;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.captcha-image {
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    height: 50px;
    background: #f5f8fa;
}

.captcha-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--pf-primary);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
}

.captcha-refresh:hover {
    background: #e2e8f0;
    color: var(--pf-primary-dark);
}

.captcha-refresh svg {
    width: 16px;
    height: 16px;
}

.captcha-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    letter-spacing: 0.1em;
    text-transform: none;
}

.captcha-group input:focus {
    outline: none;
    border-color: var(--pf-primary);
    box-shadow: 0 0 0 4px rgba(0, 160, 228, 0.1);
}

/* CAPTCHA Modal */
.captcha-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.captcha-modal-content {
    background: white;
    padding: 20px 28px;
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.captcha-modal-content h3 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    color: var(--pf-text);
}

.captcha-modal-content > p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.captcha-modal .captcha-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.captcha-modal .captcha-image {
    height: 90px;
    width: auto;
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.08);
}

.captcha-modal .captcha-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1.1rem;
    font-family: var(--font-description);
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.captcha-modal .captcha-input:focus {
    outline: none;
    border-color: var(--pf-primary);
    box-shadow: 0 0 0 4px rgba(0, 160, 228, 0.1);
}

.captcha-error {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 8px 12px;
    background: #fef2f2;
    border-radius: 6px;
}

.captcha-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.captcha-modal-actions .btn {
    flex: 1;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.captcha-modal-actions .btn-secondary {
    background: #f1f5f9;
    border: none;
    color: #64748b;
}

.captcha-modal-actions .btn-secondary:hover {
    background: #e2e8f0;
    color: #475569;
}

.captcha-modal-actions .btn-primary {
    background: var(--pf-primary);
    border: none;
    color: white;
}

.captcha-modal-actions .btn-primary:hover {
    background: var(--pf-primary-dark);
}

.captcha-modal-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Verification Success State */
.captcha-step-confirm {
    animation: fadeIn 0.3s ease-out;
}

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

.verification-success {
    margin-bottom: 20px;
}

.verification-success .success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 28px;
    border-radius: 50%;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.verification-success .success-icon svg {
    width: 32px;
    height: 32px;
}

.verification-success h3 {
    color: #10b981;
    margin: 0;
    font-size: 1.3rem;
}

.confirm-message {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0 10px;
}

/* Checkbox styling */
.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 400;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--pf-primary);
}

.form-checkbox span {
    font-size: 0.9rem;
    color: var(--pf-text-light);
    line-height: 1.5;
}

/* Form Messages */
.form-message {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-family: var(--font-description);
    font-size: 0.9rem;
}

.form-message.success {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.form-message.error {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
}

.form-message p {
    margin: 0;
}

/* ===================================
   Single Job Page - Enhanced
   =================================== */

.hero-job {
    text-align: center;
    position: relative;
}

.hero-job .hero-content {
    padding-top: 130px;
    padding-bottom: 70px;
    position: relative;
    z-index: 2;
}

.job-hero-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--pf-secondary) 0%, var(--pf-secondary-dark) 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(232, 155, 0, 0.3);
    animation: floatSubtle 3s ease-in-out infinite;
}

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

.hero-job .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.job-hero-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.job-hero-meta .job-meta-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.job-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.job-hero-meta .job-meta-row span:not(:last-child)::after {
    display: none;
}

.job-hero-meta svg {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

/* Job Layout */
.section-job-content {
    padding-top: 135px;
}

.section-job-content .container {
    max-width: 1440px;
}

.job-layout {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 45px;
    align-items: start;
    position: relative;
}

.job-main {
    background: white;
    padding: 45px;
    border-radius: 20px;
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.job-page-title {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--pf-primary);
    margin-bottom: 30px;
    font-weight: 500;
}

.job-content h2 {
    font-size: 0.88rem;
    margin: 35px 0 18px;
    color: var(--pf-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.job-content h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--pf-primary) 0%, var(--pf-primary-dark) 100%);
    border-radius: 2px;
}

.job-content h2:first-child {
    margin-top: 0;
}

.job-content h3 {
    font-size: 0.85rem;
    margin: 28px 0 14px;
    color: var(--pf-dark);
}

.job-content ul,
.job-content ol {
    padding-left: 0;
    margin-bottom: 24px;
    list-style: none;
}

.job-content li {
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--pf-medium-gray);
    padding-left: 28px;
    position: relative;
    font-family: var(--font-description);
    font-size: 0.85rem;
}

.job-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--pf-primary) 0%, var(--pf-primary-dark) 100%);
    border-radius: 50%;
}

.job-content p {
    font-family: var(--font-description);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 18px;
    color: var(--pf-medium-gray);
}

.job-content {
    font-family: var(--font-description);
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--pf-medium-gray);
}

.job-content a {
    color: var(--pf-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.job-content a:hover {
    color: var(--pf-primary-dark);
    text-decoration: underline;
}

/* Job Sidebar - Enhanced */
.job-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 120px;
}

/* Job Sidebar CV Form - Match Careers Page Exactly */
.job-sidebar .cv-form-wrapper {
    max-width: none;
}

.job-sidebar .cv-form-header {
    padding: 30px 25px 45px;
}

.job-sidebar .cv-form-header h2 {
    font-size: 1.3rem;
}

.job-sidebar .cv-form-header p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.job-sidebar .cv-form {
    padding: 25px;
}

.job-sidebar .cv-form .form-group {
    margin-bottom: 15px;
}

.job-sidebar .cv-form label {
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.job-sidebar .cv-form input,
.job-sidebar .cv-form select,
.job-sidebar .cv-form textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
    font-family: var(--font-description);
}

.job-sidebar .cv-form .file-hint {
    font-size: 0.75rem;
}

.job-sidebar .btn-block {
    padding: 12px 20px;
    font-size: 0.9rem;
}

.job-sidebar .btn-block svg {
    width: 18px;
    height: 18px;
}

/* Job Details Card */
.job-details-card {
    background: white;
    padding: 0;
    border-radius: 20px;
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.job-details-card h3 {
    font-size: 1.1rem;
    font-family: var(--font-description);
    margin: 0;
    padding: 22px 24px;
    color: var(--pf-primary);
    background: white;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left !important;
}

.job-details-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.job-details-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease;
}

.job-details-list li:hover {
    background: rgba(0, 160, 228, 0.03);
}

.job-details-list li:last-child {
    border-bottom: none;
}

.detail-label {
    font-family: var(--font-description);
    color: var(--pf-medium-gray);
    font-size: 0.75rem;
    font-weight: 400;
}

.detail-value {
    font-family: var(--font-description);
    font-weight: 400;
    color: var(--pf-medium-gray);
    text-align: right;
    font-size: 0.78rem;
}

/* Job Apply Card */
.job-apply-card {
    background: white;
    padding: 0;
    border-radius: 20px;
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 160, 228, 0.06);
    overflow: hidden;
    border: 1px solid rgba(0, 160, 228, 0.1);
}

.job-apply-card h3 {
    font-size: 1.3rem;
    margin: 0;
    padding: 30px 25px 15px;
    color: white;
    background: linear-gradient(135deg, var(--pf-primary) 0%, var(--pf-primary-dark) 100%);
    position: relative;
    overflow: visible;
    text-align: center;
}

.job-apply-card h3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 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='%23ffffff' 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");
    opacity: 0.3;
}

.job-apply-card h3::after {
    display: none;
}

/* Apply card description - continues the gradient header */
.apply-card-description {
    font-family: var(--font-description);
    margin: 0;
    padding: 5px 25px 65px;
    background: linear-gradient(135deg, var(--pf-primary) 0%, var(--pf-primary-dark) 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    position: relative;
    text-align: center;
}

.apply-card-description::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top right, white 49%, transparent 50%);
}

.job-apply-form {
    padding: 28px;
}

/* Job Apply Card Form - Compact styling to match Careers page */
.job-apply-card .cv-form {
    padding: 25px;
}

.job-apply-card .cv-form .form-group {
    margin-bottom: 15px;
}

.job-apply-card .cv-form label {
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.job-apply-card .cv-form input,
.job-apply-card .cv-form select {
    padding: 10px 12px;
    font-size: 0.9rem;
}

.job-apply-card .cv-form .file-hint {
    font-size: 0.75rem;
}

.job-apply-card .cv-form .btn-block {
    padding: 12px 20px;
    font-size: 0.9rem;
}

.job-apply-card .cv-form .btn-block svg {
    width: 18px;
    height: 18px;
}

/* Other Jobs Card */
.other-jobs-card {
    background: white;
    padding: 28px;
    border-radius: 20px;
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.other-jobs-card h3 {
    font-size: 1rem;
    font-family: var(--font-description);
    margin-bottom: 20px;
    color: var(--pf-primary);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--pf-primary-lighter);
}

/* Job Apply Form (sidebar compact version) */
.job-apply-form .form-group {
    margin-bottom: 15px;
}

.job-apply-form label {
    display: block;
    font-family: var(--font-description);
    font-weight: 400;
    margin-bottom: 6px;
    color: var(--pf-medium-gray);
    font-size: 0.85rem;
}

.job-apply-form label .required {
    color: #e53935;
}

.job-apply-form input,
.job-apply-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--pf-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.job-apply-form input:focus,
.job-apply-form textarea:focus {
    outline: none;
    border-color: var(--pf-primary);
    box-shadow: 0 0 0 3px rgba(0, 160, 228, 0.1);
}

.job-apply-form textarea {
    min-height: 80px;
    resize: vertical;
}

.job-apply-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--pf-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.job-apply-form select:focus {
    outline: none;
    border-color: var(--pf-primary);
    box-shadow: 0 0 0 3px rgba(0, 160, 228, 0.1);
}

.job-apply-form input[type="file"] {
    /* Use browser default styling */
}

.job-apply-form .file-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--pf-text-light);
}

.job-apply-form .form-group-major {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-block {
    width: 100%;
}

/* Other Jobs List */
.other-jobs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.other-jobs-list li {
    border-bottom: 1px solid var(--pf-border);
}

.other-jobs-list li:last-child {
    border-bottom: none;
}

.other-jobs-list a {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    text-decoration: none;
    transition: var(--transition);
}

.other-jobs-list a:hover .job-title {
    color: var(--pf-primary);
}

.other-jobs-list .job-title {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--pf-medium-gray);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.other-jobs-list .job-location {
    font-family: var(--font-description);
    font-size: 0.85rem;
    color: var(--pf-medium-gray);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pf-primary);
    font-family: var(--font-description);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
}

.view-all-link:hover {
    text-decoration: underline;
}

.view-all-link svg {
    width: 16px;
    height: 16px;
}

/* ===================================
   404 Page
   =================================== */

.section-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--pf-gradient-hero);
    position: relative;
}

.error-404-content {
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    font-family: var(--font-primary);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.2;
}

.error-404-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.error-404-content > p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.error-actions .btn-outline {
    border-color: white;
    color: white;
}

.error-actions .btn-outline:hover {
    background: white;
    color: var(--pf-primary);
}

.error-suggestions {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.error-suggestions h3 {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.suggestions-list a {
    color: white;
    opacity: 0.9;
    transition: var(--transition);
}

.suggestions-list a:hover {
    opacity: 1;
    color: var(--pf-secondary);
}

/* ===================================
   Template Responsive
   =================================== */

@media (max-width: 992px) {
    /* Hero Split - Stack on tablet/mobile */
    .hero-home {
        background-position: calc(50% - 250px) center;
        padding-top: 645px;
    }

    .hero-home .hero-content {
        transform: translateX(-50px);
    }

    .hero-glass-panel {
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 0;
        padding: 0;
        margin: 0 auto;
        max-width: 90%;
        box-shadow: none;
        border: none;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-tagline {
        font-size: 1.7rem !important;
        text-shadow:
            1px 1px 2px rgba(0, 0, 0, 0.3),
            -1px -1px 2px rgba(0, 0, 0, 0.15),
            0 0 4px rgba(0, 0, 0, 0.2);
        color: #FFB830;
        text-align: left !important;
        margin-top: 19px;
        margin-bottom: 5px;
        margin-left: 20px;
    }

    .hero-tagline .tagline-gray {
        color: #ffffff;
    }

    .hero-description {
        max-width: 365px;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 0, 0, 0.2);
        color: #ffffff;
        font-weight: 400;
        text-align: left !important;
        line-height: 1.4;
        font-size: 0.875rem;
        margin-left: 20px;
        margin-top: 5px;
    }

    .hero-text {
        max-width: 100%;
        padding-left: 0;
        text-align: left !important;
    }

    .hero-split {
        text-align: left !important;
    }

    .hero-buttons {
        justify-content: flex-start !important;
        margin-top: 0;
        margin-left: 20px !important;
        padding-left: 0;
        max-width: 365px;
    }

    .hero-buttons .btn-primary {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.85);
        color: #0080B8;
        font-weight: 700;
        text-shadow: none;
    }

    .hero-buttons .btn-primary:hover {
        background: white;
        border-color: white;
    }

    .hero-home .container {
        padding: 0 20px;
    }

    .hero-split {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }


    /* Order elements: Logo → Text → Photo → Buttons → Newsletter */
    .hero-logo-main {
        order: 1;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 3;
        margin: 0 auto;
        position: relative;
        display: block;
        width: calc(100% - 30px);
        max-width: 600px;
    }

    .hero-buttons {
        order: 4;
    }

    .hero-newsletter {
        order: 5;
    }

    /* Mobile: 4-image fade carousel (JS controlled) */
    .hero-image .hero-slide {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        aspect-ratio: 3/2;
        object-fit: cover;
        object-position: center center;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
        animation: none !important;
    }

    .hero-image .hero-slide:first-child {
        position: relative;
        opacity: 1;
    }

    .hero-image .hero-slide:nth-child(2),
    .hero-image .hero-slide:nth-child(3) {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: unset;
        z-index: 2;
    }

    .hero-logo-main {
        order: 1;
        margin: 0 auto;
        max-width: 500px;
        width: 90%;
    }

    .hero-text {
        order: 2;
        max-width: 100%;
    }

    .hero-tagline {
        text-align: left;
        font-size: 2rem;
        margin-left: 35px;
        margin-right: auto;
        margin-top: 0;
        line-height: 1.15;
    }

    .hero-tagline .tagline-gray {
        color: #ffffff;
    }

    .hero-description {
        text-align: left;
        font-size: 0.85rem;
        max-width: 300px;
        margin-left: 35px;
        margin-right: auto;
        margin-top: 5px;
    }

    .hero-buttons {
        justify-content: flex-start;
        max-width: 300px;
        margin-left: 35px;
        margin-top: 0;
    }

    .hero-newsletter {
        max-width: 100%;
        width: 100%;
    }

    .newsletter-form {
        width: 85%;
        max-width: 85%;
        margin: 0 auto;
    }

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

    /* Newsletter - Black overlay on bg photo for mobile readability */
    .section-newsletter::before {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(3px) !important;
        -webkit-backdrop-filter: blur(3px) !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    /* Newsletter - White placeholder text for mobile */
    .section-newsletter .newsletter-form input[type="email"]::placeholder {
        color: #ffffff !important;
    }

    .section-newsletter .newsletter-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .newsletter-header {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-icon {
        width: 60px;
        height: 60px;
    }

    .newsletter-icon lord-icon {
        width: 60px !important;
        height: 60px !important;
    }

    .section-newsletter .newsletter-form {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 320px;
    }

    .section-newsletter .newsletter-form input[type="email"] {
        width: 100%;
        min-width: unset;
    }

    .section-newsletter .newsletter-form .btn {
        width: auto;
        min-width: 150px;
    }

    /* CTA Section Mobile */
    .section-cta {
        padding: 80px 0 100px;
    }

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

    .cta-buttons {
        align-items: center;
    }

    .cta-content h2 {
        font-size: clamp(1.25rem, 3vw, 2rem);
        margin-bottom: 20px;
    }

    .cta-content p {
        margin-bottom: 30px;
    }

    .section-cta .cta-buttons .btn,
    .section-apply .cta-buttons .btn,
    .cta-section .cta-buttons .btn {
        padding: 10px 22px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .cta-pattern {
        animation-duration: 60s; /* Slower on tablet */
    }

    /* Services section mobile */
    .services-header .section-description {
        font-size: 0.8125rem;
        margin-top: 10px;
    }

    .services-l-layout .services-header {
        margin-bottom: 40px;
    }

    .service-layout {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .mv-grid {
        gap: 20px;
    }

    /* CEO Message - Tablet */
    .ceo-message-grid {
        grid-template-columns: 1fr 300px;
        gap: 40px;
    }

    .value-icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }

    .value-icon .value-svg {
        width: 70px;
        height: 70px;
    }

    .section-stats-highlight .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
        padding: 0 30px;
    }

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

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

    /* Jobs Grid - 992px */
    .jobs-grid {
        grid-template-columns: 1fr;
    }

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

    .job-sidebar {
        position: static;
        order: 1;
    }

    .job-sidebar .cv-form-wrapper {
        position: static;
    }

    /* Careers Layout - Stack on tablet */
    .careers-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-careers-main .container {
        max-width: 100%;
    }

    .careers-form-column .cv-form-wrapper {
        position: static;
    }

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

    .careers-header .job-filters-bar {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Newsletter - Mobile background position */
    .section-newsletter {
        background-position: calc(50% - 330px) top;
    }

    /* Newsletter - Black overlay on bg photo for mobile readability */
    .section-newsletter::before {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(3px) !important;
        -webkit-backdrop-filter: blur(3px) !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    /* Newsletter - White placeholder text for mobile */
    .section-newsletter .newsletter-form input[type="email"]::placeholder {
        color: #ffffff !important;
    }

    /* CV Form - Mobile Enhanced */
    .cv-form-wrapper {
        border-radius: 20px;
        margin: 0 -10px;
    }

    .cv-form-header {
        padding: 35px 25px 30px;
    }

    .cv-form-header h2 {
        font-size: 1.6rem;
    }

    .cv-form-header p {
        font-size: 0.95rem;
    }

    .cv-form-header::after {
        height: 25px;
    }

    .cv-form {
        padding: 30px 25px 35px;
    }

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

    .cv-form input,
    .cv-form select,
    .cv-form textarea {
        padding: 14px 16px;
    }

    /* Job Filters Bar - Mobile */
    .job-filters-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .filters-label {
        margin-bottom: 4px;
    }

    .job-filter-select,
    .filter-dropdown,
    .filter-dropdown-btn {
        width: 100%;
        min-width: unset;
    }

    /* Job Cards - Mobile */
    .job-card {
        padding: 24px 24px 24px 28px;
    }

    .job-card-header h3 {
        font-size: 0.8rem;
        min-width: unset;
    }

    .job-card-compact {
        padding: 18px 6px 18px 16px;
        gap: 12px;
    }

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

    .job-department {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .job-meta {
        gap: 10px;
    }

    .job-meta-item {
        font-size: 0.8rem;
    }

    .job-excerpt {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* Single Job Page - Tablet */
    .section-job-content {
        padding-top: 115px;
    }

    .job-main {
        padding: 25px;
        border-radius: 16px;
    }

    .job-details-card,
    .job-apply-card,
    .other-jobs-card {
        padding: 25px;
        border-radius: 16px;
    }

    .job-details-card h3,
    .job-apply-card h3,
    .other-jobs-card h3 {
        font-size: 1.1rem;
        padding-left: 0;
        text-align: left !important;
    }
    .hero-page {
        min-height: auto;
        padding: 135px 0 60px;
    }

    /* Hero mobile adjustments */
    .hero-home {
        padding-top: 425px;
    }

    .hero-image {
        max-width: 400px;
    }

    .hero-logo-main {
        max-width: 420px;
        width: 90%;
    }

    .hero-tagline {
        font-size: 1.6rem;
        line-height: 1.15;
        margin-left: 45px;
        margin-top: 19px;
    }

    .hero-tagline .tagline-gray {
        color: #ffffff;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-top: 5px;
        margin-left: 45px;
        max-width: 325px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        max-width: 325px;
        margin-left: 20px;
        margin-top: 0;
    }

    .hero-buttons .btn {
        width: auto;
    }

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

    .service-main {
        padding: 25px;
    }

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

    .mv-card {
        padding: 30px;
    }

    .mv-icon-large {
        width: 90px;
        height: 90px;
        margin-bottom: 28px;
        border-radius: 22px;
    }

    .mv-icon-large .mv-svg {
        width: 50px;
        height: 50px;
    }

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

    .value-card {
        padding: 1.25rem 1rem;
    }

    .value-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .value-icon .value-svg {
        width: 60px;
        height: 60px;
    }

    .value-content h3 {
        font-size: 1.2rem;
    }

    .value-content p {
        font-size: 0.825rem;
    }

    /* CEO Message - Mobile */
    .ceo-message-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ceo-image {
        position: static;
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

    .ceo-message-content {
        text-align: left;
    }

    .ceo-message-text {
        font-size: 0.875rem;
        padding: 0 15px;
    }

    .section-who-we-are .content-block {
        font-size: 0.875rem;
        padding: 0 15px;
    }

    .ceo-signature {
        align-items: flex-start;
    }

    .ceo-name {
        font-size: 2rem;
    }

    .section-stats-highlight .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }

    .section-stats-highlight .stat-number {
        font-size: 2.5rem;
    }

    .section-stats-highlight .stat-label {
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        margin-left: 12px;
        padding: 35px 25px 30px 35px;
    }

    .contact-form-wrapper::before {
        left: -12px;
        width: 12px;
        top: -6px;
        bottom: -6px;
    }

    .contact-form-wrapper::after {
        left: -12px;
        width: calc(100% + 12px);
        height: 3px;
    }

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

    .contact-info-card {
        margin-right: 12px;
        padding: 35px 35px 35px 25px;
    }

    .contact-info-card::after {
        right: -12px;
        width: 12px;
        top: -6px;
        bottom: -6px;
    }

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

    .benefit-card {
        padding: 20px;
    }

    .benefit-icon-wrapper {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .benefit-icon-wrapper svg {
        width: 42px;
        height: 42px;
    }

    .apply-card {
        padding: 40px 25px;
    }

    .error-code {
        font-size: 5rem;
    }

    .error-404-content h1 {
        font-size: 1.75rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .suggestions-list {
        flex-direction: column;
        gap: 15px;
    }
}

/* ============================================
   STICKY SOCIAL SIDEBAR
   ============================================ */
.social-sidebar {
    position: fixed;
    right: 0;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    padding: 0.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hide sidebar while scrolling */
.social-sidebar.is-scrolling {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(20px);
}

/* Hide sidebar in services explorer section */
.social-sidebar.in-services-explorer {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(20px);
}

/* Hide sidebar when in hero section (mobile only) - handled in main mobile media query */

.social-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    border-radius: 16px 0 0 16px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.05);
}

/* Blue icons - matches hero tagline color #0090CE */
.social-sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #0090CE;
    background: transparent;
    border: 0.5px solid rgba(0, 144, 206, 0.2);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: visible;
}

.social-sidebar-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    stroke: currentColor;
    transition: all 0.4s ease;
    /* Sharper rendering for crisp icons */
    shape-rendering: geometricPrecision;
    stroke-width: 1.2;
}

.social-sidebar-link:hover {
    background: rgba(0, 144, 206, 0.1);
    color: #007AB8;
    transform: translateX(-5px) scale(1.1);
    box-shadow:
        0 0 15px rgba(0, 144, 206, 0.6),
        0 0 30px rgba(0, 144, 206, 0.4),
        0 0 45px rgba(0, 144, 206, 0.2);
}

/* Social sidebar adaptive colors - white on dark backgrounds */
.social-sidebar.on-dark .social-sidebar-link {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
}

.social-sidebar.on-dark .social-sidebar-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 0 15px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4),
        0 0 45px rgba(255, 255, 255, 0.2);
}

.social-sidebar-link:hover svg {
    transform: scale(1.15);
}

/* Share button - reset button defaults */
button.social-sidebar-link {
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

/* Tooltip styles */
.social-tooltip {
    position: absolute;
    right: calc(100% + 15px);
    left: auto;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(26, 26, 46, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(26, 26, 46, 0.9);
}

.social-sidebar-link:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .social-sidebar.is-scrolling {
        transform: translateY(-50%) translateX(20px);
    }

    .social-sidebar.in-hero {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-50%) translateX(30px);
    }

    .social-sidebar.in-services-explorer {
        transform: translateY(-50%) translateX(20px);
    }

    .social-sidebar-inner {
        padding: 0.5rem 0.4rem;
        gap: 0.5rem;
    }

    .social-sidebar-link {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .social-sidebar-link:hover {
        transform: translateX(-5px) scale(1.1);
    }

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

    .social-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Hero small mobile */
    .hero-home {
        padding-top: 405px;
        min-height: 100vh;
        background-position: calc(50% - 150px) center !important;
    }

    .hero-image {
        max-width: 350px;
    }

    .hero-logo-main {
        max-width: 380px;
        width: 95%;
    }

    .hero-tagline {
        font-size: 1.4rem;
        line-height: 1.15;
        margin-left: 45px;
        margin-top: 19px;
    }

    .hero-tagline .tagline-gray {
        color: #ffffff;
    }

    .hero-description {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-top: 5px;
        margin-left: 45px;
        max-width: 305px;
    }

    /* Hero section - reduce container padding on mobile */
    .hero-home .container {
        padding: 0 15px;
    }

    /* Hero buttons - force side by side, left-aligned on mobile */
    .hero-buttons {
        flex-wrap: nowrap;
        gap: 8px;
        max-width: 305px;
        margin-left: 20px;
        margin-top: 0;
        justify-content: flex-start !important;
    }

    .hero-buttons .btn {
        padding: 10px 16px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .newsletter-form input[type="email"] {
        font-size: 0.8rem;
    }

    .social-sidebar-link {
        width: 26px;
        height: 26px;
    }

    .social-sidebar-link svg {
        width: 12px;
        height: 12px;
    }

    .social-sidebar-inner {
        padding: 0.4rem 0.3rem;
        gap: 0.5rem;
    }

    /* Value Cards - 480px */
    .value-card {
        padding: 1rem 0.75rem;
        gap: 1rem;
    }

    .value-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .value-icon .value-svg {
        width: 50px;
        height: 50px;
    }

    .value-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .value-content p {
        font-size: 0.775rem;
        line-height: 1.5;
    }

    .mv-icon-large {
        width: 80px;
        height: 80px;
        margin-bottom: 24px;
        border-radius: 20px;
    }

    .mv-icon-large .mv-svg {
        width: 44px;
        height: 44px;
    }

    /* Benefits Grid - 480px single column */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* CV Form - 480px Enhanced */
    .cv-form-wrapper {
        border-radius: 16px;
        margin: 0 -15px;
    }

    .cv-form-header {
        padding: 28px 20px 25px;
    }

    .cv-form-header h2 {
        font-size: 1.4rem;
    }

    .cv-form-header p {
        font-size: 0.88rem;
    }

    .cv-form-header::after {
        height: 20px;
    }

    .cv-form {
        padding: 25px 20px 30px;
    }

    .cv-form .form-group {
        margin-bottom: 18px;
    }

    .cv-form input,
    .cv-form select,
    .cv-form textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    /* Job Filters Bar - 480px */
    .job-filter-select {
        padding: 10px 35px 10px 14px;
        font-size: 0.85rem;
    }

    /* Job Cards - 480px Enhanced */
    .job-card {
        padding: 20px 20px 20px 24px;
        border-radius: 14px;
    }

    .job-card::before {
        width: 3px;
    }

    .job-card-header {
        margin-bottom: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

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

    .job-card-compact {
        padding: 16px 4px 16px 14px;
        gap: 10px;
    }

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

    .job-meta {
        gap: 8px;
        margin-bottom: 14px;
        padding-bottom: 14px;
    }

    .job-meta-item {
        font-size: 0.75rem;
    }

    .job-meta-item svg {
        width: 14px;
        height: 14px;
    }

    .job-excerpt {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .job-card .btn-secondary {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    /* Single Job Page - 480px */
    .section-job-content {
        padding-top: 105px;
    }

    .hero-job .hero-title {
        font-size: 1.6rem;
    }

    .job-hero-meta {
        flex-direction: column;
        gap: 8px;
    }

    .job-layout {
        gap: 25px;
    }

    .job-main {
        padding: 20px;
        border-radius: 14px;
    }

    .job-details-card,
    .job-apply-card,
    .other-jobs-card {
        padding: 20px;
        border-radius: 14px;
    }

    .job-details-card h3,
    .job-apply-card h3,
    .other-jobs-card h3 {
        font-size: 1rem;
        padding-left: 0;
        padding-bottom: 12px;
        margin-bottom: 16px;
        text-align: left !important;
    }

    .job-details-list li {
        padding: 10px 0;
    }

    .detail-label,
    .detail-value {
        font-size: 0.85rem;
    }

    .job-apply-form input,
    .job-apply-form textarea,
    .job-apply-form select {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .job-apply-form select {
        padding-right: 36px;
    }
}

/* ===================================
   HR Topics Page
   =================================== */

.section-hr-topics {
    background: var(--pf-light-bg);
    padding: 80px 0;
}

.section-hr-topics .container {
    max-width: 1500px;
}

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

.hr-topics-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.hr-topics-card-image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.hr-topics-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hr-topics-card:hover .hr-topics-card-image img {
    transform: scale(1.05);
}

.hr-topics-card-placeholder {
    background: linear-gradient(135deg, var(--pf-primary-lighter) 0%, #e8f4fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--pf-primary);
    opacity: 0.5;
}

.hr-topics-card-content {
    padding: 25px;
}

.hr-topics-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-family: 'Tahoma', sans-serif;
    font-size: 0.8rem;
}

.hr-topics-date {
    color: var(--pf-medium-gray);
}

.hr-topics-category {
    color: var(--pf-primary);
    font-weight: 500;
}

.hr-topics-card-title {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.hr-topics-card-title a {
    color: var(--pf-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hr-topics-card-title a:hover {
    color: var(--pf-primary);
}

.hr-topics-card-excerpt {
    color: var(--pf-medium-gray);
    font-family: 'Tahoma', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hr-topics-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pf-primary);
    font-family: 'Tahoma', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.hr-topics-read-more:hover {
    gap: 10px;
}

.hr-topics-read-more svg {
    width: 16px;
    height: 16px;
}

/* HR Topics Pagination */
.hr-topics-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.hr-topics-pagination a,
.hr-topics-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hr-topics-pagination a {
    background: #fff;
    color: var(--pf-dark);
    border: 1px solid var(--pf-border);
}

.hr-topics-pagination a:hover {
    background: var(--pf-primary);
    color: #fff;
    border-color: var(--pf-primary);
}

.hr-topics-pagination .current {
    background: var(--pf-primary);
    color: #fff;
}

.hr-topics-pagination a svg {
    width: 18px;
    height: 18px;
}

/* No Posts Message */
.no-posts-message {
    text-align: center;
    padding: 80px 20px;
}

.no-posts-icon svg {
    width: 80px;
    height: 80px;
    stroke: var(--pf-light-gray);
    margin-bottom: 20px;
}

.no-posts-message h3 {
    font-size: 1.5rem;
    color: var(--pf-dark);
    margin-bottom: 10px;
}

.no-posts-message p {
    color: var(--pf-medium-gray);
    font-size: 1rem;
    font-family: 'Tahoma', sans-serif;
}

/* HR Topics Responsive */
@media (max-width: 1024px) {
    .hr-topics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .section-hr-topics {
        padding: 60px 0;
    }

    .hr-topics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hr-topics-card-content {
        padding: 20px;
    }

    .hr-topics-card-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .section-hr-topics {
        padding: 50px 0;
    }

    .hr-topics-card-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ===================================
   Category Archive Template
   =================================== */

/* Category Hero */
.hero-category {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background-size: cover;
    background-position: center center;
    background-color: var(--pf-dark);
}

.hero-category .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(0, 128, 184, 0.7) 100%);
    z-index: 1;
}

.hero-category .hero-pattern {
    z-index: 2;
    opacity: 0.3;
}

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

.hero-category .hero-title-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
    z-index: 3;
}

.category-hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-hero-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.hero-category .hero-title {
    color: white;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
}

.hero-category .hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Category Content Section */
.section-category-content {
    padding: 80px 0;
    background: white;
}

.category-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--pf-medium-gray);
    font-family: var(--font-description);
}

.category-content-wrapper h2 {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    color: var(--pf-dark);
    margin: 40px 0 20px;
}

.category-content-wrapper h2:first-child {
    margin-top: 0;
}

.category-content-wrapper h3 {
    font-family: var(--font-primary);
    font-size: 1.35rem;
    color: var(--pf-dark);
    margin: 30px 0 15px;
}

.category-content-wrapper h4 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    color: var(--pf-dark);
    margin: 25px 0 12px;
}

.category-content-wrapper p {
    margin-bottom: 18px;
}

.category-content-wrapper ul,
.category-content-wrapper ol {
    margin: 20px 0;
    padding-left: 30px;
}

.category-content-wrapper li {
    margin-bottom: 12px;
}

.category-content-wrapper strong {
    color: inherit;
}

/* Category 2-Column Layout */
/* NOTE: Do NOT add overflow-x: hidden here. CSS spec converts overflow-y to auto,
   causing unwanted vertical scrollbars. Use overflow on child elements instead. */
.category-layout {
    display: grid;
    grid-template-columns: 80% 20%;
    gap: 0;
    align-items: start;
    max-width: 100%;
}

.category-main-content {
    max-width: 100%;
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--pf-medium-gray);
    font-family: var(--font-description);
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding-right: 50px;
}

.category-main-content h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--pf-dark);
    margin: 35px 0 18px;
}

.category-main-content h2:first-child {
    margin-top: 0;
}

.category-main-content h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--pf-dark);
    margin: 25px 0 12px;
}

.category-main-content h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--pf-dark);
    margin: 20px 0 10px;
}

.category-main-content p {
    margin-bottom: 18px;
}

.category-main-content ul {
    margin: 20px 0;
    padding-left: 30px;
    list-style-type: disc;
}

.category-main-content ol {
    margin: 20px 0;
    padding-left: 30px;
    list-style-type: decimal;
}

.category-main-content li {
    margin-bottom: 12px;
}

.category-main-content strong {
    color: inherit;
}

.category-main-content a {
    color: var(--pf-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.category-main-content a:hover {
    color: var(--pf-primary-dark);
}

/* Category Sidebar - Simple List */
.category-sidebar {
    padding-left: 25px;
    border-left: 1px solid var(--pf-border);
    align-self: stretch;
    overflow: visible;
}

.category-sidebar .sidebar-services {
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.category-sidebar .services-heading {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pf-secondary);
    font-weight: 600;
    margin: 0 0 20px 0;
}

.category-sidebar .heading-line {
    display: none;
}

.category-sidebar .services-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    overflow: visible;
}

.category-sidebar .services-list li {
    padding: 10px 0;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--pf-dark-gray);
}

.category-sidebar .services-list li a {
    color: var(--pf-dark-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.category-sidebar .services-list li a:hover {
    color: var(--pf-primary);
}

.category-sidebar .services-list li span {
    color: var(--pf-dark-gray);
}

.category-sidebar .no-children-message {
    color: var(--pf-medium-gray);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

/* Sub-Categories Grid */
.section-subcategories {
    padding: 80px 0;
    background: var(--pf-light-bg);
}

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

.subcategory-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--pf-primary);
}

.subcategory-image {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 10px;
}

.subcategory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.subcategory-card:hover .subcategory-image img {
    transform: scale(1.05);
}

.subcategory-icon {
    width: 60px;
    height: 60px;
    background: var(--pf-primary-lighter);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.subcategory-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--pf-primary);
}

.subcategory-content h3 {
    font-size: 1.2rem;
    color: var(--pf-dark);
    margin: 0;
    transition: color 0.3s ease;
}

.subcategory-card:hover .subcategory-content h3 {
    color: var(--pf-primary);
}

.subcategory-content p {
    font-size: 0.95rem;
    color: var(--pf-medium-gray);
    margin: 0;
    line-height: 1.6;
}

.subcategory-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 36px;
    height: 36px;
    background: var(--pf-light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.subcategory-arrow svg {
    width: 18px;
    height: 18px;
    stroke: var(--pf-primary);
}

.subcategory-card:hover .subcategory-arrow {
    background: var(--pf-primary);
}

.subcategory-card:hover .subcategory-arrow svg {
    stroke: white;
}

/* Category Posts Grid */
.section-category-posts {
    padding: 80px 0;
    background: white;
}

.section-category-posts .section-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

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

.post-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.post-card-image {
    display: block;
    height: 200px;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 25px;
}

.post-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.post-date {
    font-size: 0.85rem;
    color: var(--pf-light-gray);
}

.post-card-title {
    font-size: 1.15rem;
    margin: 0 0 12px;
    line-height: 1.4;
}

.post-card-title a {
    color: var(--pf-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: var(--pf-primary);
}

.post-card-excerpt {
    font-family: var(--font-description);
    font-size: 0.8rem;
    color: var(--pf-medium-gray);
    line-height: 1.5;
    margin-bottom: 15px;
}

.post-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pf-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.post-card-link:hover {
    gap: 10px;
}

.post-card-link svg {
    width: 16px;
    height: 16px;
}

/* Category Pagination */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.nav-links a,
.nav-links span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-links a {
    background: var(--pf-light-bg);
    color: var(--pf-dark);
}

.nav-links a:hover {
    background: var(--pf-primary);
    color: white;
}

.nav-links .current {
    background: var(--pf-primary);
    color: white;
}

.nav-links a svg {
    width: 18px;
    height: 18px;
}

/* No Posts Message (Category) */
.section-category-posts .no-posts-message {
    text-align: center;
    padding: 60px 20px;
    background: var(--pf-light-bg);
    border-radius: var(--radius-lg);
    margin-top: 40px;
}

.section-category-posts .no-posts-message p {
    color: var(--pf-medium-gray);
    font-size: 1.05rem;
    font-family: 'Tahoma', sans-serif;
}

/* Category Template Container Padding - Explicit override */
.hero-category .container,
.breadcrumb-bar .container,
.section-category-content .container,
.section-category-posts .container,
.back-to-section .container {
    padding-left: 20px;
    padding-right: 20px;
}

/* Category Responsive */
@media (max-width: 1024px) {
    .category-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .category-main-content {
        padding-right: 0;
    }

    .category-sidebar {
        position: static;
        padding-left: 0;
        padding-top: 20px;
        border-left: none;
        border-top: 1px solid var(--pf-border);
    }

    .subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-category .container,
    .breadcrumb-bar .container,
    .section-category-content .container,
    .section-category-posts .container,
    .back-to-section .container {
        padding-left: 45px;
        padding-right: 45px;
    }
}

@media (max-width: 768px) {
    .category-layout {
        gap: 30px;
    }

    .hero-category {
        min-height: 480px;
    }

    .hero-category .hero-title-bar {
        padding: 15px 0;
    }

    .hero-category .hero-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
        text-align: left;
    }

    /* Section padding consolidated */
    .section-category-content,
    .section-subcategories,
    .section-category-posts {
        padding: 60px 0;
    }

    .subcategories-grid,
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .subcategory-card {
        padding: 25px;
    }

    .subcategory-arrow {
        bottom: 25px;
        right: 25px;
    }

    .hero-category .container,
    .breadcrumb-bar .container,
    .section-category-content .container,
    .section-category-posts .container,
    .back-to-section .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 480px) {
    .hero-category {
        min-height: 420px;
    }

    .hero-category .hero-title-bar {
        padding: 12px 0;
    }

    .hero-category .hero-title {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
        text-align: left;
    }

    .section-category-content {
        padding: 50px 0;
    }

    .category-content-wrapper {
        font-size: 1rem;
    }

    .category-content-wrapper h2 {
        font-size: 1.5rem;
    }

    .category-content-wrapper h3 {
        font-size: 1.2rem;
    }

    .post-card-content {
        padding: 20px;
    }

    .hero-category .container,
    .breadcrumb-bar .container,
    .section-category-content .container,
    .section-category-posts .container,
    .back-to-section .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 375px) {
    .hero-category .container,
    .breadcrumb-bar .container,
    .section-category-content .container,
    .section-category-posts .container,
    .back-to-section .container {
        padding-left: 37px;
        padding-right: 37px;
    }
}

/* ============================================
   SINGLE BLOG POST STYLES
   ============================================ */

/* Post Header Section */
.section-post-header {
    padding-top: 140px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, var(--pf-light-bg) 0%, #fff 100%);
}

.post-header-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Post Meta Wrapper (below image) */
.post-meta-wrapper {
    max-width: 900px;
    margin: 30px auto 0;
    text-align: center;
}

/* Category Badges Container */
.post-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.post-category-badge {
    display: inline-block;
    background: transparent;
    color: var(--pf-primary);
    padding: 0;
    border-radius: 0;
    font-family: 'Tahoma', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.post-category-badge:hover {
    color: var(--pf-primary-dark);
    text-decoration: underline;
}

/* Inactive category (no archive enabled) */
.post-category-inactive {
    color: var(--pf-medium-gray);
    cursor: default;
}

/* Inactive subcategory card */
.subcategory-card.subcategory-inactive {
    cursor: default;
    opacity: 0.7;
}

.subcategory-card.subcategory-inactive:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
    border-color: rgba(0, 0, 0, 0.05);
}

.subcategory-card.subcategory-inactive .subcategory-content h3 {
    color: var(--pf-dark);
}

.post-title {
    font-size: calc(var(--text-h1) - 4px);
    font-weight: 700;
    color: var(--pf-dark);
    line-height: 1.3;
    margin-bottom: 25px;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    color: var(--pf-medium-gray);
    font-family: 'Tahoma', sans-serif;
    font-size: 0.95rem;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--pf-primary);
}

/* Featured Image */
.post-featured-image {
    max-width: 1100px;
    margin: 50px auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Post Content Section */
.section-post-content {
    padding: var(--section-padding) 0;
}

.post-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Article Content Typography */
.post-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--pf-medium-gray);
    font-family: 'Tahoma', sans-serif;
}

.post-content p {
    margin-bottom: 1.5em;
}

.post-content h2 {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pf-dark);
    margin-top: 2.5em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

.post-content h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pf-dark);
    margin-top: 2em;
    margin-bottom: 0.6em;
    line-height: 1.4;
}

.post-content h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--pf-dark);
    margin-top: 1.75em;
    margin-bottom: 0.5em;
}

.post-content ul {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
    list-style-type: disc;
}

.post-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
    list-style-type: decimal;
}

.post-content li {
    margin-bottom: 0.5em;
}

.post-content blockquote {
    border-left: 4px solid var(--pf-primary);
    padding: 20px 30px;
    margin: 2em 0;
    background: var(--pf-light-bg);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--pf-dark);
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content a {
    color: var(--pf-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-content a:hover {
    color: var(--pf-primary-dark);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1.5em 0;
}

.post-content .wp-caption {
    max-width: 100%;
    margin: 1.5em 0;
}

.post-content .wp-caption-text {
    font-size: 0.9rem;
    color: var(--pf-medium-gray);
    text-align: center;
    margin-top: 10px;
}

.post-content pre,
.post-content code {
    background: var(--pf-dark);
    color: #f8f8f8;
    font-family: 'Monaco', 'Consolas', monospace;
    border-radius: var(--radius-sm);
}

.post-content code {
    padding: 2px 6px;
    font-size: 0.9em;
}

.post-content pre {
    padding: 20px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.post-content pre code {
    padding: 0;
    background: transparent;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.post-content th,
.post-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--pf-border);
}

.post-content th {
    background: var(--pf-light-bg);
    font-weight: 600;
    color: var(--pf-dark);
}

/* Post Tags */
.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid var(--pf-border);
}

.tags-label {
    font-weight: 600;
    color: var(--pf-dark);
    font-size: 0.95rem;
}

.tag-link {
    display: inline-block;
    background: var(--pf-light-bg);
    color: var(--pf-medium-gray);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 25px;
    margin-top: 30px;
    border-top: 1px solid var(--pf-border);
}

.share-label {
    font-weight: 600;
    color: var(--pf-medium-gray);
    font-family: 'Tahoma', sans-serif;
    font-size: 0.95rem;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pf-light-bg);
    color: var(--pf-medium-gray);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-facebook:hover {
    background: #1877f2;
    color: white;
}

.share-twitter:hover {
    background: #000;
    color: white;
}

.share-linkedin:hover {
    background: #0077b5;
    color: white;
}

.share-whatsapp:hover {
    background: #25d366;
    color: white;
}

.share-copy:hover {
    background: var(--pf-primary);
    color: white;
}

.share-copy.copied {
    background: #10b981;
    color: white;
}

/* Author Bio Section */
.section-post-author {
    padding: 0 0 var(--section-padding) 0;
}

.author-card {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 35px;
    background: var(--pf-light-bg);
    border-radius: var(--radius-lg);
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.author-info {
    flex: 1;
}

.author-label {
    display: block;
    font-size: 0.85rem;
    color: var(--pf-medium-gray);
    font-family: 'Tahoma', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.author-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--pf-dark);
    margin-bottom: 10px;
}

.author-bio {
    color: var(--pf-medium-gray);
    font-family: 'Tahoma', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Post Navigation Section */
.section-post-navigation {
    padding: 0;
    background: var(--pf-light-bg);
}

.post-nav-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    padding: 40px;
    transition: all 0.3s ease;
}

.post-nav-link:hover {
    background: var(--pf-primary-lighter);
}

.post-nav-prev {
    border-right: 1px solid var(--pf-border);
}

.post-nav-next {
    text-align: right;
}

.post-nav-empty {
    pointer-events: none;
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--pf-medium-gray);
    font-family: 'Tahoma', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 10px;
}

.post-nav-next .nav-label {
    justify-content: flex-end;
}

.nav-label svg {
    width: 16px;
    height: 16px;
}

.nav-title {
    font-size: 0.95rem;
    font-weight: 400;
    font-family: 'Tahoma', sans-serif;
    color: var(--pf-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Related Posts Section */
.section-related-posts {
    padding: var(--section-padding) 0;
}

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

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

.related-posts-cta {
    text-align: center;
    margin-top: 50px;
}

.related-posts-cta .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.related-posts-cta .btn-outline svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.related-posts-cta .btn-outline:hover svg {
    transform: translateX(4px);
}

/* Single Post Responsive */
@media (max-width: 1024px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-post-header {
        padding-top: 120px;
        padding-bottom: 40px;
    }

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

    .post-meta {
        gap: 15px;
        font-size: 0.9rem;
    }

    .post-featured-image {
        margin-top: 30px;
        border-radius: var(--radius-md);
    }

    .post-content {
        font-size: 1rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .post-content h3 {
        font-size: 1.25rem;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
        gap: 20px;
    }

    .author-avatar img {
        width: 90px;
        height: 90px;
    }

    .post-nav-wrapper {
        grid-template-columns: 1fr;
    }

    .post-nav-prev {
        border-right: none;
        border-bottom: 1px solid var(--pf-border);
    }

    .post-nav-next {
        text-align: left;
    }

    .post-nav-next .nav-label {
        justify-content: flex-start;
    }

    .post-nav-link {
        padding: 30px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .social-share {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .section-post-header {
        padding-top: 100px;
        padding-bottom: 30px;
    }

    .post-category-badge {
        font-size: 0.8rem;
    }

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

    .post-meta {
        gap: 12px;
        font-size: 0.85rem;
    }

    .post-meta-item svg {
        width: 16px;
        height: 16px;
    }

    .post-content {
        font-size: 0.95rem;
    }

    .post-content blockquote {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .author-card {
        padding: 25px 20px;
    }

    .author-avatar img {
        width: 80px;
        height: 80px;
    }

    .author-name {
        font-size: 1.2rem;
    }

    .post-nav-link {
        padding: 25px 20px;
    }

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

/* Single Post Container Padding - Consistent spacing across all sections */
.single-post .section-post-header .container,
.single-post .section-post-content .container,
.single-post .section-post-author .container,
.single-post .section-post-navigation .container,
.single-post .section-related-posts .container,
.single-post .back-to-section .container,
.single-post .section-cta .container {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 1024px) {
    .single-post .section-post-header .container,
    .single-post .section-post-content .container,
    .single-post .section-post-author .container,
    .single-post .section-post-navigation .container,
    .single-post .section-related-posts .container,
    .single-post .back-to-section .container,
    .single-post .section-cta .container {
        padding-left: 45px;
        padding-right: 45px;
    }
}

@media (max-width: 768px) {
    .single-post .section-post-header .container,
    .single-post .section-post-content .container,
    .single-post .section-post-author .container,
    .single-post .section-post-navigation .container,
    .single-post .section-related-posts .container,
    .single-post .back-to-section .container,
    .single-post .section-cta .container {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (max-width: 480px) {
    .single-post .section-post-header .container,
    .single-post .section-post-content .container,
    .single-post .section-post-author .container,
    .single-post .section-post-navigation .container,
    .single-post .section-related-posts .container,
    .single-post .back-to-section .container,
    .single-post .section-cta .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 375px) {
    .single-post .section-post-header .container,
    .single-post .section-post-content .container,
    .single-post .section-post-author .container,
    .single-post .section-post-navigation .container,
    .single-post .section-related-posts .container,
    .single-post .back-to-section .container,
    .single-post .section-cta .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ============================================
   SERVICES EXPLORER - Two-Panel Master-Detail
   ============================================ */

.section-services-explorer {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, var(--pf-light-bg) 100%);
    position: relative;
    overflow-x: hidden;
}

.section-services-explorer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pf-border), transparent);
}

.section-services-explorer .container {
    max-width: 1500px;
}

/* Services Introduction - spacing before section header */
.section-services-explorer .about-content {
    margin-bottom: 100px;
}

/* Section Header */
.section-services-explorer .section-header {
    max-width: 800px;
    margin-bottom: 50px;
}

.section-services-explorer .section-description {
    max-width: 400px;
    font-size: 0.875rem;
}

/* ---- Explorer Container ---- */
.services-explorer {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0;
    width: 100vw;
    height: calc(100vh - 100px);
    margin-left: calc(-50vw + 50%);
    align-items: stretch;
    background: #1a1a2e;
}

/* ---- Left Panel: Navigation Tree ---- */
.explorer-nav {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    position: relative;
    height: calc(100vh - 100px);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

.explorer-nav::-webkit-scrollbar {
    width: 6px;
}

.explorer-nav::-webkit-scrollbar-track {
    background: transparent;
}

.explorer-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.explorer-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Navigation Tree */
.nav-tree {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Level 2: Main Categories */
.nav-category {
    position: relative;
}

.nav-category + .nav-category {
    margin-top: 2px;
}

.nav-category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--pf-white);
    transition: all 0.2s ease;
    position: relative;
}

.nav-category-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--pf-primary-light);
    border-radius: 0 2px 2px 0;
    transition: height 0.2s ease;
}

.nav-category-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 1);
}

.nav-category-btn:hover::before,
.nav-category.active > .nav-category-btn::before {
    height: 24px;
}

.nav-category.active > .nav-category-btn {
    background: rgba(0, 160, 228, 0.2);
    color: var(--pf-primary-light);
}

/* Icon container */
.explorer-nav .nav-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.explorer-nav .nav-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--pf-primary-light);
}

.nav-category.active .nav-icon {
    background: var(--pf-primary);
}

.nav-category.active .nav-icon svg {
    stroke: white;
}

/* Label */
.explorer-nav .nav-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-primary);
    font-weight: 500;
    color: inherit;
}

/* Explicit font-size for nav labels (not inherited) */
.nav-category-btn .nav-label {
    font-size: 0.95rem;
}
.nav-child-btn .nav-label {
    font-size: 0.90rem;
}
.nav-grandchild-btn .nav-label {
    font-size: 0.85rem;
}

/* Count badge - hidden on desktop, shown on mobile */
.explorer-nav .nav-count {
    display: none;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: auto;
}

/* Chevron */
.explorer-nav .nav-chevron {
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-category[aria-expanded="true"] > .nav-category-btn .nav-chevron {
    transform: rotate(180deg);
}

/* ---- Level 3: Children ---- */
.nav-children {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.15);
}

.nav-category[aria-expanded="true"] > .nav-children {
    max-height: 2000px;
}

.nav-child {
    position: relative;
}

.nav-child-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px 9px 68px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 0.70rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--pf-white);
    transition: all 0.2s ease;
    position: relative;
}

/* Connector line */
.nav-connector-child {
    position: absolute;
    left: 51px;
    top: 0;
    bottom: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.nav-connector-child::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 10px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.nav-child:last-child .nav-connector-child {
    bottom: 50%;
}

/* Dot indicator */
.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.nav-dot.expandable {
    background: var(--pf-secondary-light);
}

.nav-child-btn:hover .nav-dot,
.nav-child.active .nav-dot {
    background: var(--pf-primary-light);
    transform: scale(1.3);
}

.nav-child-btn:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.08);
}

.nav-child.active > .nav-child-btn {
    color: var(--pf-primary-light);
    font-weight: 500;
}

.nav-chevron-sm {
    color: rgba(255, 255, 255, 0.7);
    margin-left: auto;
    transition: transform 0.2s ease;
}

.nav-child[aria-expanded="true"] > .nav-child-btn .nav-chevron-sm {
    transform: rotate(180deg);
}

/* ---- Level 4: Grandchildren ---- */
.nav-grandchildren {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.1);
}

.nav-child[aria-expanded="true"] > .nav-grandchildren {
    max-height: 800px;
}

.nav-grandchild-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px 7px 72px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 0.65rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--pf-white);
    transition: all 0.2s ease;
    position: relative;
}

.nav-connector-grand {
    position: absolute;
    left: 55px;
    top: 0;
    bottom: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.nav-connector-grand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 10px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.nav-dash {
    width: 8px;
    height: 2px;
    background: var(--pf-secondary-light);
    border-radius: 1px;
    flex-shrink: 0;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.nav-grandchild-btn:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.06);
}

.nav-grandchild-btn:hover .nav-dash {
    background: var(--pf-primary-light);
    opacity: 1;
    width: 12px;
}

.nav-grandchild.active > .nav-grandchild-btn {
    color: var(--pf-primary-light);
    font-weight: 500;
}

.nav-grandchild.active .nav-dash {
    background: var(--pf-primary-light);
    opacity: 1;
}

/* ---- Right Panel: Detail View ---- */
.explorer-detail {
    background: #1a1a2e;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: hidden;
    height: calc(100vh - 100px);
    position: relative;
}

/* Default State */
.detail-default {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 65px 40px 60px;
    text-align: center;
    height: 100vh;
    background: url('assets/images/services-default-bg.jpg') center center / cover no-repeat;
    position: relative;
}

.detail-default::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.detail-default.active {
    display: flex;
}

.detail-illustration {
    display: none;
}

.detail-prompt {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.2);
}

.prompt-icon {
    font-size: 1.4rem;
    color: white;
    animation: point-left 1.5s ease-in-out infinite;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes point-left {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-8px); }
}

/* Active Content */
.detail-content {
    display: none;
    height: calc(100vh - 100px);
    position: relative;
}

.detail-content.active {
    display: block;
}

.detail-content[hidden] {
    display: none;
}

/* Hero Section */
.detail-hero {
    position: relative;
    height: calc(100vh - 100px);
    overflow: hidden;
}

.detail-image {
    position: absolute;
    inset: 0;
}

.detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 26, 46, 0) 0%,
        rgba(26, 26, 46, 0.25) 50%,
        rgba(26, 26, 46, 0.75) 100%
    );
}

/* Glass Panel - Tagline overlay on hero image */
.detail-glass {
    position: absolute;
    bottom: 45vh;
    left: 0;
    right: 0;
    padding: 16px 32px;
    background: transparent;
    backdrop-filter: none;
    border: none;
}

.detail-breadcrumb {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pf-secondary-light);
    margin-bottom: 6px;
    font-weight: 600;
}

.detail-title {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    color: #ffffff;
    margin: 0 0 8px 0;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Body Content - Overlay on Image */
.detail-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-height: 45vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 0 28px;
}

/* Title spans full width */
.detail-body .detail-title {
    grid-column: 1 / -1;
}

/* Description in left column (40%) */
.detail-description {
    margin-top: 24px;
    margin-bottom: 0;
    grid-column: 1;
}

.description-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
    font-size: 0.825rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Services List - Right columns (30% + 30%) */
.detail-services {
    margin-top: 16px;
    margin-bottom: 0;
    grid-column: 2 / -1;
}

.services-heading {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pf-secondary-light);
    font-weight: 600;
    margin: 0 0 14px 0;
    white-space: nowrap;
}

.heading-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
}

.services-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
    max-width: 100%;
    overflow-x: hidden;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    font-family: Tahoma, sans-serif;
    font-size: 0.8125rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.services-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pf-secondary-light);
    flex-shrink: 0;
}

.services-list li:hover {
    color: #ffffff;
    padding-left: 4px;
}

.services-list li:hover::before {
    background: var(--pf-primary-light);
}

.services-list li a {
    color: inherit;
    text-decoration: none;
}

.services-list li a:hover {
    color: var(--pf-primary-light);
}

/* Actions */
.detail-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.detail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-arrow {
    transition: transform 0.2s ease;
}

.detail-link:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================
   SERVICES EXPLORER - Responsive
   ============================================ */

@media (max-width: 1024px) {
    .services-explorer {
        grid-template-columns: 280px 1fr;
        height: calc(100vh - 75px);
    }

    .explorer-nav {
        height: calc(100vh - 75px);
        max-height: calc(100vh - 75px);
    }

    .explorer-detail {
        height: calc(100vh - 75px);
    }

    .detail-content {
        height: calc(100vh - 75px);
    }

    .detail-hero {
        height: calc(100vh - 75px);
    }

    .detail-body {
        max-height: 50vh;
    }

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

@media (max-width: 768px) {
    .section-services-explorer {
        padding: 50px 0 60px;
    }

    .section-services-explorer .section-header {
        margin-bottom: 30px;
    }

    /* Reduce content-block paragraph font size on mobile */
    .section-services-explorer .about-content .content-block {
        padding: 0 15px;
    }

    .section-services-explorer .about-content .content-block p {
        font-size: 0.875rem; /* 14px */
    }

    /* Convert to single column accordion */
    .services-explorer {
        grid-template-columns: 1fr;
        width: 100%;
        height: auto;
        margin-left: 0;
    }

    /* Swap order: details first, nav below */
    .explorer-detail {
        order: 1;
    }

    .explorer-nav {
        order: 2;
        padding: 14px 0;
        height: auto;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--pf-border);
        border-radius: 0;
        background: #ffffff;
    }

    /* Revert nav colors to light theme on mobile */
    .nav-category-btn {
        color: var(--pf-dark);
    }

    .nav-category-btn:hover {
        background: var(--pf-primary-lighter);
        color: var(--pf-primary-dark);
    }

    .nav-category.active > .nav-category-btn {
        background: var(--pf-primary-lighter);
        color: var(--pf-primary-dark);
    }

    .explorer-nav .nav-icon {
        background: var(--pf-light-bg);
    }

    .explorer-nav .nav-icon svg {
        stroke: var(--pf-primary);
    }

    .explorer-nav .nav-count {
        display: inline-block;
        color: var(--pf-medium-gray);
        background: var(--pf-light-bg);
    }

    .explorer-nav .nav-chevron {
        color: var(--pf-light-gray);
    }

    .nav-children {
        background: rgba(0, 160, 228, 0.02);
    }

    .nav-child-btn {
        color: var(--pf-dark-gray);
    }

    .nav-child-btn:hover {
        color: var(--pf-primary-dark);
        background: var(--pf-primary-lighter);
    }

    .nav-child.active > .nav-child-btn {
        color: var(--pf-primary-dark);
    }

    .nav-connector-child,
    .nav-connector-child::after {
        background: var(--pf-border);
    }

    .nav-dot {
        background: var(--pf-border);
    }

    .nav-child-btn:hover .nav-dot,
    .nav-child.active .nav-dot {
        background: var(--pf-primary);
    }

    .nav-chevron-sm {
        color: var(--pf-light-gray);
    }

    .nav-grandchildren {
        background: rgba(232, 155, 0, 0.02);
    }

    .nav-grandchild-btn {
        color: var(--pf-medium-gray);
    }

    .nav-grandchild-btn:hover {
        color: var(--pf-primary-dark);
        background: rgba(0, 160, 228, 0.05);
    }

    .nav-grandchild.active > .nav-grandchild-btn {
        color: var(--pf-primary-dark);
    }

    .nav-connector-grand,
    .nav-connector-grand::after {
        background: var(--pf-border);
    }

    .nav-grandchild-btn:hover .nav-dash {
        background: var(--pf-primary);
    }

    .nav-grandchild.active .nav-dash {
        background: var(--pf-primary);
    }

    .explorer-detail {
        height: auto;
        border-radius: 0;
    }

    .detail-default {
        height: auto;
        min-height: 150px;
        padding: 30px 20px;
    }

    /* Hide arrow on mobile */
    .prompt-icon {
        display: none;
    }

    .detail-content {
        height: auto;
    }

    .detail-hero {
        height: 250px;
    }

    .detail-body {
        position: relative;
        background: #ffffff;
        backdrop-filter: none;
        max-height: none;
        border-top: none;
        grid-template-columns: 1fr;
    }

    .detail-body .detail-title {
        color: var(--pf-dark);
        text-shadow: none;
    }

    .detail-description,
    .detail-services {
        grid-column: 1;
    }

    .detail-services {
        display: none;
    }

    .detail-description {
        margin-top: 12px;
        margin-bottom: 12px;
    }

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

    .description-text {
        color: var(--pf-dark-gray);
        text-shadow: none;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .services-heading {
        color: var(--pf-medium-gray);
    }

    .heading-line {
        background: linear-gradient(90deg, var(--pf-border), transparent);
    }

    .services-list li {
        color: var(--pf-dark-gray);
        border-bottom: 1px solid var(--pf-light-bg);
    }

    .services-list li::before {
        background: var(--pf-primary-light);
    }

    .services-list li:hover {
        color: var(--pf-primary-dark);
    }

    .services-list li a:hover {
        color: var(--pf-primary);
    }

    .detail-actions {
        border-top: 1px solid var(--pf-border);
    }

    .nav-category-btn {
        padding: 11px 16px;
        font-size: 0.80rem;
    }

    .explorer-nav .nav-icon {
        width: 28px;
        height: 28px;
    }

    .explorer-nav .nav-icon svg {
        width: 14px;
        height: 14px;
    }

    .nav-child-btn {
        padding: 9px 16px 9px 46px;
        font-size: 0.77rem;
    }

    .nav-connector-child {
        left: 29px;
    }

    .nav-grandchild-btn {
        padding: 7px 16px 7px 62px;
        font-size: 0.71rem;
    }

    .nav-connector-grand {
        left: 45px;
    }

    /* Explicit font-size for nav labels (tablet) */
    .nav-category-btn .nav-label {
        font-size: 0.80rem;
    }
    .nav-child-btn .nav-label {
        font-size: 0.77rem;
    }
    .nav-grandchild-btn .nav-label {
        font-size: 0.71rem;
    }

    /* Detail panel adjustments */
    .explorer-detail {
        min-height: auto;
    }

    .detail-default {
        min-height: 280px;
        padding: 40px 20px;
    }

    .detail-illustration {
        width: 120px;
        height: 120px;
    }

    .detail-hero {
        height: 250px;
    }

    .detail-glass {
        padding: 18px 20px;
    }

    .detail-title {
        font-size: 1.3rem;
    }

    .detail-body {
        padding: 16px 20px;
    }

    .detail-actions {
        flex-direction: column;
        padding-top: 12px;
        margin-top: 12px;
    }

    .detail-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Reduce content-block paragraph font size on small mobile */
    .section-services-explorer .about-content .content-block p {
        font-size: 0.875rem; /* 14px */
    }

    .nav-category-btn {
        padding: 10px 14px;
        gap: 10px;
        font-size: 0.78rem;
    }

    .explorer-nav .nav-icon {
        width: 26px;
        height: 26px;
    }

    .explorer-nav .nav-count {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .nav-child-btn {
        padding: 8px 14px 8px 42px;
    }

    .nav-grandchild-btn {
        padding: 6px 14px 6px 56px;
    }

    /* Explicit font-size for nav labels (mobile) */
    .nav-category-btn .nav-label {
        font-size: 0.78rem;
    }

    .detail-hero {
        height: 250px;
    }

    .detail-glass {
        padding: 16px;
    }

    .detail-title {
        font-size: 1.2rem;
    }

    .detail-body {
        padding: 16px;
    }

    .description-text {
        font-size: 0.9rem;
    }

    .services-list li {
        font-size: 0.82rem;
        padding: 6px 0;
    }
}

/* ========================================
   Breadcrumb Navigation
   ======================================== */
.breadcrumb-bar {
    padding: 20px 0;
    margin-bottom: 10px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--font-description);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.breadcrumb-nav a {
    color: var(--pf-primary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.breadcrumb-nav a:hover {
    color: var(--pf-primary-dark);
    text-decoration: underline;
}

.breadcrumb-nav .separator {
    margin: 0 8px;
    color: var(--pf-light-gray);
    font-size: 0.85rem;
    font-weight: 300;
}

.breadcrumb-nav .current {
    color: var(--pf-medium-gray);
    font-weight: 400;
}

/* Back to Section Link */
.back-to-section {
    padding: 30px 0;
    border-top: 1px solid var(--pf-border);
    margin-top: 40px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-description);
    font-size: 0.8rem;
    color: var(--pf-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.back-link:hover {
    color: var(--pf-primary-dark);
    gap: 12px;
}

.back-link .back-arrow {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.back-link:hover .back-arrow {
    transform: translateX(-3px);
}

/* Nav Links Row - Flex container for back/go links */
.nav-links-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Go Link (right side) */
.go-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-description);
    font-size: 0.8rem;
    color: var(--pf-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.go-link:hover {
    color: var(--pf-primary-dark);
    gap: 12px;
}

.go-link .go-arrow {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.go-link:hover .go-arrow {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumb-nav {
        font-size: 0.75rem;
    }

    .breadcrumb-nav .separator {
        margin: 0 5px;
    }


    .back-to-section {
        padding: 25px 0;
        margin-top: 30px;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

/* Mobile-only line break - hidden on desktop, visible on mobile */
.br-mobile {
    display: none;
}

@media (max-width: 768px) {
    .br-mobile {
        display: inline;
    }
}
