/*
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.4
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 */
    --pf-dark: #1A1A2E;
    --pf-dark-gray: #333333;
    --pf-medium-gray: #666666;
    --pf-light-gray: #999999;
    --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 Sizes */
    --text-hero: clamp(2.5rem, 5vw, 4rem);
    --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: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

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

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

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

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

.section-header p {
    color: var(--pf-medium-gray);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.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);
}

/* 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: sticky;
    top: 0;
    z-index: 1000;
    background: var(--pf-white);
    transition: box-shadow var(--transition-normal);
}

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

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

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

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

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-menu li {
    position: relative;
}

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

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pf-primary);
    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: var(--pf-primary);
}

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

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 10px 25px;
    font-size: 0.9rem;
    color: var(--pf-dark-gray);
    transition: all var(--transition-fast);
}

.nav-menu .sub-menu li a:hover {
    background: var(--pf-primary-lighter);
    color: var(--pf-primary);
    padding-left: 30px;
}

/* 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: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #00A0E4 0%, #20B0EC 15%, #50C8F4 30%, #90DCF8 45%, #C0ECFC 55%, #E8F7FC 65%, #F5FBFE 80%, #FFFFFF 100%);
    overflow: hidden;
}

.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;
}

/* Animated Hexagon Canvas */
.hexagon-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: 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-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: left;
}

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

.hero-title {
    font-size: var(--text-hero);
    color: var(--pf-primary);
    margin-bottom: 15px;
    line-height: 1.1;
    text-align: left;
}

.hero-tagline {
    font-family: var(--font-primary);
    font-weight: 400;
    font-style: italic;
    color: var(--pf-primary);
    font-size: 1.25rem;
    margin-bottom: 20px;
    text-align: left;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--pf-text);
    margin-bottom: 30px;
    line-height: 1.7;
    text-align: left;
}

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

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* 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;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 20px;
}

.breadcrumbs a,
.breadcrumbs span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

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

.breadcrumbs .separator {
    margin: 0 10px;
}

/* ============================================
   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;
}

/* Why Choose Us Section */
.section-why-us {
    background: var(--pf-primary-light);
    position: relative;
}

.why-us-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/hexagon-pattern.png');
    background-size: 400px;
    opacity: 0.03;
    pointer-events: none;
}

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

.why-us-card {
    background: white;
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.why-us-icon {
    margin: 0 auto 20px;
}

.why-us-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--pf-dark);
}

.why-us-card p {
    font-size: 0.9rem;
    color: var(--pf-text-light);
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.section-cta {
    position: relative;
    background: linear-gradient(145deg, #00A0E4 0%, #20B0EC 15%, #50C8F4 30%, #90DCF8 45%, #C0ECFC 55%, #E8F7FC 65%, #F5FBFE 80%, #FFFFFF 100%);
    padding: 80px 0;
    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.12;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    color: white;
}

.cta-content h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

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

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

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

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--pf-dark);
}

.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 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.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%);
    min-height: 400px;
}

.about-image .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    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 {
    background: var(--pf-gradient-hero);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.cta-section::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;
}

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

.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;
}

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

/* ============================================
   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;
}

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

.footer-brand {
    max-width: 280px;
}

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

.footer-logo img,
.footer-logo svg {
    height: 45px;
    width: auto;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

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

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

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

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

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9375rem;
}

.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-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom-links a {
    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) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .about-grid {
        gap: 40px;
    }
}

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

    /* Mobile Navigation */
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--pf-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
        z-index: 999;
    }

    .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: 15px 0;
    }

    .nav-menu .sub-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        padding: 0 0 10px 20px;
        display: none;
    }

    .nav-menu li.menu-item-has-children.is-open .sub-menu {
        display: block;
    }

    .header-cta {
        margin: 20px 0 0;
        width: 100%;
    }

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

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

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

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

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

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

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        order: -1;
    }

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

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

    .social-links {
        justify-content: center;
    }

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .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;
    }
}

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

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

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

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

.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 {
    background: var(--pf-light);
}

.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 {
    background: white;
}

.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: 1.05rem;
    line-height: 1.8;
}

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

/* Mission & Vision */
.section-mission-vision {
    background: var(--pf-light);
}

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

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

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

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

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

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

/* Values Section */
.section-values {
    background: var(--pf-primary-light);
    position: relative;
}

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

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

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

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
}

.value-icon svg {
    width: 30px;
    height: 30px;
}

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

.value-card p {
    font-size: 0.9rem;
    color: var(--pf-text-light);
    margin: 0;
}

/* Stats Section */
.section-stats {
    background: var(--pf-gradient-hero);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    color: white;
}

.stat-card .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-primary);
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

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

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

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

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

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

.contact-form-wrapper > p {
    color: var(--pf-text-light);
    margin-bottom: 30px;
}

/* 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-weight: 600;
    margin-bottom: 8px;
    color: var(--pf-dark);
    font-size: 0.95rem;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--pf-primary);
    box-shadow: 0 0 0 3px 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 textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-lg {
    padding: 16px 35px;
    font-size: 1.05rem;
}

/* Form Message */
.form-message {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.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 {
    background: var(--pf-dark);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    height: 100%;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-info-card > p {
    opacity: 0.8;
    margin-bottom: 30px;
}

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

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

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

.hexagon-icon-sm {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hexagon-icon-sm svg {
    width: 20px;
    height: 20px;
    stroke: var(--pf-secondary);
}

.contact-details strong {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details span {
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-details a {
    color: white;
    transition: var(--transition);
}

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

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

.contact-social strong {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-card .social-links a {
    background: rgba(255, 255, 255, 0.1);
}

.contact-info-card .social-links a:hover {
    background: var(--pf-secondary);
}

/* Map Section */
.section-map {
    padding: 0;
}

.map-wrapper {
    width: 100%;
    height: 450px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(20%);
}

/* ===================================
   Careers Page
   =================================== */

.section-careers-intro {
    background: white;
}

.careers-intro .section-header {
    max-width: 800px;
    margin: 0 auto;
}

.section-why-work {
    background: var(--pf-primary-light);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit-card {
    background: white;
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
}

.benefit-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--pf-dark);
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--pf-text-light);
    margin: 0;
    line-height: 1.6;
}

/* Positions Section */
.section-positions {
    background: white;
}

.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 {
    background: var(--pf-light);
}

.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);
}

/* ===================================
   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) {
    .service-layout {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .mv-grid {
        gap: 20px;
    }

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

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

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

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-page {
        min-height: auto;
        padding: 120px 0 60px;
    }

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

    .service-main {
        padding: 25px;
    }

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

    .mv-card {
        padding: 30px;
    }

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

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card .stat-number {
        font-size: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

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

    .contact-info-card {
        padding: 30px;
    }

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

    .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;
    }
}
