/* ============================================
   System Engineering Corp - Main Stylesheet
   Established 1983 | systemengineering.io
   
   Da Vinci Aesthetic System v3.0
   
   Design Principles:
   - Golden ratio proportions (φ ≈ 1.618)
   - 8px spacing grid (Fibonacci-aligned)
   - HSL color system for precision
   - Typography scale: 12/14/16/20/24/32/48px
   ============================================ */

:root {
    /* ========== Color Palette (HSL) ========== */
    /* Primary - Navy Blue */
    --primary: hsl(210, 65%, 50%);
    /* #2d7dd2 - Changed to lighter blue for header/footer only */
    --primary-light: hsl(210, 45%, 23%);
    /* #1a3a5c */
    --primary-hover: hsl(210, 45%, 28%);
    /* Accent - Blue */
    --accent: hsl(210, 65%, 50%);
    /* #2d7dd2 */
    --accent-light: hsl(210, 70%, 60%);
    /* #4a9fe8 */
    --accent-hover: hsl(210, 65%, 45%);
    /* Gold */
    --gold: hsl(43, 70%, 47%);
    /* #c9a227 */
    --gold-light: hsl(45, 65%, 53%);
    /* #d4b33a */
    --gold-hover: hsl(43, 70%, 42%);
    /* Text */
    --text: hsl(0, 0%, 10%);
    /* #1a1a1a */
    --text-secondary: hsl(0, 0%, 33%);
    /* #555555 */
    --text-muted: hsl(0, 0%, 50%);
    --text-light: hsl(0, 0%, 100%);
    /* #ffffff */
    /* Surfaces */
    --bg: hsl(0, 0%, 100%);
    /* #ffffff */
    --bg-alt: hsl(210, 17%, 98%);
    /* #f8f9fa */
    --bg-muted: hsl(210, 14%, 96%);
    --border: hsl(0, 0%, 88%);
    /* #e0e0e0 */
    --border-light: hsl(0, 0%, 93%);
    /* Semantic */
    --success: hsl(145, 63%, 42%);
    /* #28a745 */
    --error: hsl(354, 70%, 54%);
    /* #dc3545 */
    --warning: hsl(45, 100%, 51%);
    /* #ffc107 */
    --info: hsl(188, 78%, 41%);
    /* #17a2b8 */
    /* ========== Gradients ========== */
    --gradient-primary: linear-gradient(135deg, hsl(215, 50%, 10%) 0%, hsl(210, 45%, 23%) 50%, hsl(210, 65%, 50%) 100%);
    --gradient-overlay: linear-gradient(135deg, hsla(215, 50%, 10%, 0.92) 0%, hsla(210, 45%, 23%, 0.85) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    /* ========== Shadows (Layered Depth) ========== */
    --shadow-xs: 0 1px 2px hsla(0, 0%, 0%, 0.04);
    --shadow-sm: 0 2px 4px hsla(0, 0%, 0%, 0.06);
    --shadow-md: 0 4px 12px hsla(0, 0%, 0%, 0.08);
    --shadow-lg: 0 8px 24px hsla(0, 0%, 0%, 0.1);
    --shadow-xl: 0 16px 48px hsla(0, 0%, 0%, 0.12);
    --shadow-glow: 0 0 20px hsla(210, 65%, 50%, 0.25);
    /* ========== Spacing (8px Grid) ========== */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-5: 1.5rem;
    /* 24px */
    --space-6: 2rem;
    /* 32px */
    --space-7: 3rem;
    /* 48px */
    --space-8: 4rem;
    /* 64px */
    --space-9: 6rem;
    /* 96px */
    /* Legacy spacing aliases */
    --spacing-xs: var(--space-1);
    --spacing-sm: var(--space-2);
    --spacing-md: var(--space-4);
    --spacing-lg: var(--space-6);
    --spacing-xl: var(--space-8);
    /* ========== Typography ========== */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    /* Type Scale (Major Third - 1.25) */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.25rem;
    /* 20px */
    --text-xl: 1.5rem;
    /* 24px */
    --text-2xl: 2rem;
    /* 32px */
    --text-3xl: 2.5rem;
    /* 40px */
    --text-4xl: 3rem;
    /* 48px */
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 1.75;
    /* ========== Motion ========== */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Legacy transition aliases */
    --transition-normal: var(--transition-base);
    /* ========== Border Radius ========== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    /* ========== Layout ========== */
    --container-max: 1280px;
    --header-height: 80px;
    /* ========== Legacy Variable Aliases ========== */
    /* For backward compatibility with existing HTML */
    --primary-color: var(--primary);
    --secondary-color: var(--primary-light);
    --accent-color: var(--accent);
    --accent-light: var(--accent-light);
    --gold-accent: var(--gold);
    --gold-light: var(--gold-light);
    --text-primary: var(--text);
    --text-secondary: var(--text-secondary);
    --text-light: var(--text-light);
    --bg-light: var(--bg-alt);
    --bg-white: var(--bg);
    --border-color: var(--border);
    --success-color: var(--success);
    --error-color: var(--error);
    --warning-color: var(--warning);
    --info-color: var(--info);
    --font-primary: var(--font-sans);
    --font-heading: var(--font-serif);
}


/* Reset and Base Styles */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.7;
    background-color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}


/* ========== Accessibility ========== */

.skip-to-content {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    background: var(--primary);
    color: var(--text-light);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    z-index: 9999;
    transition: top var(--transition-base);
}

.skip-to-content:focus {
    top: var(--space-4);
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}


/* ========== Heritage Badge ========== */

.heritage-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: hsla(43, 70%, 47%, 0.1);
    border: 1px solid hsla(43, 70%, 47%, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.02em;
}

.heritage-badge--light {
    background: hsla(0, 0%, 100%, 0.15);
    border-color: hsla(0, 0%, 100%, 0.25);
    color: var(--text-light);
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
}


/* Layout */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-accent);
}

.section-header p {
    max-width: 700px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
}


/* Header and Navigation */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 42px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: hsl(215, 50%, 15%);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.65rem;
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: hsl(210, 65%, 55%);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: hsl(215, 50%, 15%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-portal {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: hsl(210, 65%, 55%);
    color: #ffffff;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.75rem;
    white-space: nowrap;
    transition: all var(--transition-normal);
}

.btn-portal:hover {
    background: hsl(210, 65%, 45%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: hsl(215, 50%, 15%);
    transition: all var(--transition-normal);
}


/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--accent-color);
    color: #ffffff;
    border: none;
}

.btn-secondary:hover {
    background: var(--accent-light);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--text-light);
}

.btn-gold {
    background: var(--gold-accent);
    color: var(--primary-color);
}

.btn-gold:hover {
    background: #d4af37;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* Hero Section */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    margin-top: 2rem;
}

.hero h1 {
    color: hsl(215, 50%, 10%);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero .lead {
    color: hsl(215, 50%, 20%);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-accent);
    font-family: var(--font-heading);
}

.hero-stat .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    max-width: 400px;
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
}


/* Page Hero (for inner pages) */

.page-hero {
    background: #ffffff;
    padding: 10rem 0 5rem;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: hsl(215, 50%, 10%);
}

.breadcrumb span {
    color: var(--gold-accent);
}

/* (removed) Page Hero Principles Overlay */

/* Homepage Intro badges and overlay stats: force navy text */
.intro-feature span {
    color: hsl(215, 50%, 10%);
    font-weight: 600;
}

.intro-feature svg {
    color: var(--accent-color);
}

.intro-image-overlay .overlay-stat .number,
.intro-image-overlay .overlay-stat .label {
    color: hsl(215, 50%, 10%);
}

/* Homepage Intro paragraphs: navy text */
.intro-text {
    color: hsl(215, 50%, 10%);
}

/* About: Our Story long-form paragraphs */
.feature-content p {
    color: hsl(215, 50%, 10%);
}

/* About: Mission Statement main paragraph */
.mission-statement p {
    color: hsl(215, 50%, 10%);
}

/* Sitewide: Legal content long-form paragraphs */
.legal-content p {
    color: hsl(215, 50%, 10%);
}

/* Hero quotes: white variant for specified pages */
.page-hero.hero-quote-white p {
    color: #ffffff;
    font-weight: 400;
}

/* About hero: ensure quote navy */
.page-hero.about-hero p {
    color: hsl(215, 50%, 10%);
}


/* Cards */

.card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-body {
    padding: 2rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    margin-bottom: 1.5rem;
}


/* Service Cards */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    padding: 2.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-left: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-left-color: var(--accent-color);
}

.service-card .icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 16px;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.75rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-card ul {
    margin-top: 1.5rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}


/* Team/Leadership Grid */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.team-card h3 {
    margin-bottom: 0.5rem;
}

.team-card .title {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-card p {
    font-size: 0.95rem;
}


/* Values Section */

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 2rem;
}

.value-card h3 {
    margin-bottom: 1rem;
}


/* Global Impact Section */

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.impact-stat {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.impact-stat .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-heading);
    display: block;
}

.impact-stat .label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.region-card {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--accent-color);
}

.region-card h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.region-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.region-card ul li:last-child {
    border-bottom: none;
}


/* Career Section */

.careers-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.jobs-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.job-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--accent-color);
}

.job-info h3 {
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}


/* Application Form */

.application-section {
    background: var(--bg-light);
    padding: 4rem;
    border-radius: 16px;
    margin-top: 4rem;
}

.application-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(45, 125, 210, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.file-upload {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.file-upload:hover {
    border-color: var(--accent-color);
    background: rgba(45, 125, 210, 0.05);
}

.file-upload input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.file-upload p {
    margin-bottom: 0.5rem;
}

.file-upload .formats {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}


/* Contact Form */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    color: var(--accent-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-secondary);
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
}


/* Footer */

.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo-text {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 2rem;
}


/* Portal Login */

.portal-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    padding: 2rem;
}

.portal-container {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 450px;
}

.portal-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.portal-logo img {
    height: 80px;
    margin: 0 auto 1rem;
}

.portal-logo h2 {
    margin-bottom: 0.5rem;
}

.portal-logo p {
    color: var(--text-secondary);
}

.portal-form .form-group {
    margin-bottom: 1.5rem;
}

.portal-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.portal-form .form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

.portal-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.portal-options a {
    color: var(--accent-color);
}

.portal-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.portal-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.portal-footer a {
    color: var(--accent-color);
}


/* Privacy Policy */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.legal-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}


/* Success Messages */

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: none;
}

.success-message.show {
    display: block;
}


/* Timeline */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}


/* Mission Statement */

.mission-statement {
    background: #ffffff;
    padding: 5rem;
    border-radius: 16px;
    text-align: center;
    color: var(--text);
    margin: 4rem 0;
    border: 1px solid var(--border);
}

.mission-statement h2 {
    color: hsl(215, 50%, 10%);
    margin-bottom: 1.5rem;
}

.mission-statement p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}


/* CTA Section */

.cta-section {
    background: var(--bg-light);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}


/* Animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.15;
        transform: scale(1.05);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive Design */

@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    .hero-content {
        max-width: 100%;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .header-inner {
        padding: 1rem;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-cta {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .hero-stat {
        flex: 1;
        min-width: 120px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 50px;
    }
    .timeline-content {
        width: 100%;
    }
    .timeline-year {
        left: 0;
        transform: none;
    }
    .mission-statement {
        padding: 3rem 1.5rem;
    }
    .application-section {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .section {
        padding: 4rem 0;
    }
    .hero {
        min-height: 0;
        padding: 8rem 0 4rem;
    }
    .hero-stat .number {
        font-size: 2rem;
    }
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    .team-avatar {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
}


/* Enhanced Visual Elements */

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    z-index: 0;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.image-card:hover img {
    transform: scale(1.05);
}

.image-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-light);
}

.image-card-overlay h4 {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.image-card-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}


/* Photo Grid */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.photo-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.photo-grid img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}


/* Feature Showcase */

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.feature-showcase.reverse {
    direction: rtl;
}

.feature-showcase.reverse>* {
    direction: ltr;
}

.feature-image {
    position: relative;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.feature-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--accent-color);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.2;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.feature-list li svg {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}


/* Team Photos */

.team-photo-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.team-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.team-card:hover .team-photo-container img {
    transform: scale(1.1);
}


/* Video Section */

.video-section {
    position: relative;
    padding: 6rem 0;
    background: var(--primary-color);
    text-align: center;
}

.video-section .section-header h2,
.video-section .section-header p {
    color: var(--text-light);
}

.video-section .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

.video-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-container video,
.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent-light);
}

.video-caption {
    text-align: center;
    margin-top: var(--space-4);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}


/* Stats with Icons */

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    color: var(--text-light);
}


/* Project Gallery */

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.project-card-content {
    padding: 1.5rem;
    background: var(--bg-white);
}

.project-card-content h4 {
    margin-bottom: 0.5rem;
}

.project-card-content p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.project-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-right: 0.5rem;
}


/* World Map Section */

.world-map-section {
    position: relative;
    padding: 4rem 0;
    text-align: center;
}

.world-map-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.world-map-container img {
    width: 100%;
    height: auto;
    opacity: 0.9;
}


/* Testimonial Section */

.testimonials-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}


/* Banner Images */

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}


/* Partner Logos */

.partners-section {
    padding: 3rem 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.7;
}

.partners-grid img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    transition: all var(--transition-normal);
}

.partners-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}


/* Benefit Cards with Images */

.benefit-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.benefit-card-image {
    height: 180px;
    overflow: hidden;
}

.benefit-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.benefit-card:hover .benefit-card-image img {
    transform: scale(1.1);
}

.benefit-card-content {
    padding: 1.5rem;
    background: var(--bg-white);
}

.benefit-card-content h4 {
    margin-bottom: 0.5rem;
}


/* Animated Counter */

.counter-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-heading);
    line-height: 1;
}


/* Image Parallax */

.parallax-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    right: 0;
    height: 140%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 2rem;
}

.parallax-content h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.parallax-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}


/* Office Image Grid */

.office-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.office-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: all var(--transition-normal);
}

.office-gallery img:hover {
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .feature-showcase.reverse {
        direction: ltr;
    }
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .office-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
    .project-gallery {
        grid-template-columns: 1fr;
    }
    .office-gallery {
        grid-template-columns: 1fr;
    }
    .parallax-bg {
        background-attachment: scroll;
    }
}


/* Case Study Cards */

.case-study-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 3rem;
}

.case-study-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.case-study-content {
    padding: 2.5rem 2.5rem 2.5rem 0;
}

.case-study-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.case-study-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.case-study-meta span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.case-study-section {
    margin-bottom: 1.5rem;
}

.case-study-section h4 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-study-results {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.case-study-results h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.result-item {
    text-align: center;
}

.result-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-heading);
}

.result-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.case-study-quote {
    font-style: italic;
    color: var(--text-secondary);
    padding: 1.5rem;
    border-left: 4px solid var(--gold-accent);
    margin: 1.5rem 0 0;
    background: var(--bg-light);
    border-radius: 0 8px 8px 0;
}

.case-study-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 500;
    color: var(--primary-color);
}


/* News Cards */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.article-date,
.article-read-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: var(--text-light);
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.read-more {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 0.5rem;
    transition: all var(--transition-fast);
}

.read-more:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}


/* Featured Article */

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.featured-article-image {
    position: relative;
    min-height: 400px;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-article-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-article-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}


/* Insights Grid */

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.insight-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.insight-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.insight-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.insight-author {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1rem;
}


/* Reports Grid */

.reports-grid {
    display: grid;
    gap: 1.5rem;
}

.report-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.report-card:hover {
    box-shadow: var(--shadow-lg);
}

.report-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.report-content {
    flex: 1;
}

.report-content h4 {
    margin-bottom: 0.5rem;
}

.report-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}


/* Newsletter Section */

.newsletter-section {
    background: #ffffff;
}

.newsletter-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: var(--bg-alt);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.newsletter-content h2 {
    color: var(--text);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-input-group {
    display: flex;
    gap: 1rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-privacy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

.newsletter-privacy a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}


/* FAQ Styles */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-color);
}

.faq-item {
    margin-bottom: 0.5rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    text-align: left;
    background: var(--bg-white);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
    color: var(--accent-color);
}

.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer.open {
    max-height: 1000px;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    padding: 0 1.5rem 1.25rem;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 3rem;
}

.faq-answer ul li,
.faq-answer ol li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.faq-answer ul li {
    list-style-type: disc;
}

.faq-answer ol li {
    list-style-type: decimal;
}


/* Contact CTA */

.contact-cta {
    text-align: center;
    padding: 3rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-cta h2 {
    margin-bottom: 1rem;
}

.contact-cta p {
    max-width: 500px;
    margin: 0 auto 2rem;
}


/* Certifications Section */

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.certification-badge {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.certification-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.certification-badge img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 1rem;
}

.certification-badge h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.certification-badge p {
    font-size: 0.85rem;
    margin-bottom: 0;
}


/* Client Logos Section */

.clients-section {
    padding: 4rem 0;
    background: #ffffff;
}

.clients-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.clients-heading p {
    font-size: 0.9rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.client-logo {
    height: 40px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all var(--transition-normal);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}


/* Responsive Adjustments for New Components */

@media (max-width: 1024px) {
    .case-study-card {
        grid-template-columns: 1fr;
    }
    .case-study-image {
        min-height: 300px;
    }
    .case-study-content {
        padding: 2rem;
    }
    .featured-article {
        grid-template-columns: 1fr;
    }
    .newsletter-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .newsletter-input-group {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .report-card {
        flex-direction: column;
        text-align: center;
    }
    .report-card .btn {
        width: 100%;
    }
}


/* Print Styles */

@media print {
    .header,
    .footer,
    .nav-cta,
    .mobile-toggle {
        display: none;
    }
    .hero {
        min-height: 0;
        padding: 2rem 0;
    }
    .section {
        padding: 2rem 0;
    }
    * {
        box-shadow: none !important;
    }
}


/* ================================================
   ENHANCED HOMEPAGE COMPONENTS
   ================================================ */


/* About Intro Section */

.about-intro {
    padding: 6rem 0;
    background: var(--bg-white);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro-content h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-intro-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-intro-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-intro-image .image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 4rem;
}


/* Enhanced Service Cards */

.service-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card p {
    flex-grow: 1;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
    margin-top: auto;
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.service-link:hover::after {
    transform: translateX(4px);
}


/* Mission & Vision Section */

.mission-vision-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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;
}

.mission-vision-section .container {
    position: relative;
    z-index: 1;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.mission-block,
.vision-block {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.mission-block:hover,
.vision-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2d7dd2 0%, #4a9fe8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(45, 125, 210, 0.3);
}

.mission-icon svg {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.mission-block h2,
.vision-block h2 {
    color: hsl(215, 50%, 10%);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mission-block p,
.vision-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.mission-block p:last-child,
.vision-block p:last-child {
    margin-bottom: 0;
}

.mv-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.mv-section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.mv-section-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mv-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.mv-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.mv-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.mv-card p {
    font-size: 1.1rem;
    line-height: 1.9;
    opacity: 0.95;
    margin-bottom: 0;
}


/* Featured Projects Section */

.projects-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-header-large {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header-large h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-header-large p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card-large {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.project-card-large:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-image-large {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card-large:hover .project-image-large img {
    transform: scale(1.08);
}

.project-image-large .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.project-content-large {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.project-content-large h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    line-height: 1.3;
}

.project-content-large p {
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 0;
}


/* Enhanced Testimonials Section */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 5rem;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.5;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-style: normal;
}


/* Global Presence Section */

.global-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

.global-header {
    text-align: center;
    margin-bottom: 4rem;
}

.global-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.global-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.world-map-container {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.world-map-container svg {
    width: 100%;
    height: auto;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.office-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.office-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.office-card .office-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.office-card h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.office-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.impact-stat {
    text-align: center;
}

.impact-stat .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.impact-stat .stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
}


/* Enhanced Clients Section */

.clients-section {
    padding: 5rem 0;
    background: #ffffff;
}

.clients-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.clients-section-header h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.clients-section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.clients-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}


/* Horizontal client logos row */

.clients-logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    opacity: 0.85;
    filter: grayscale(0%);
    transition: all var(--transition-normal);
}

.client-logo-card:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.client-logo-card svg {
    height: 40px;
    width: auto;
}

.client-logo-item {
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.client-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.client-logo-placeholder {
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
    font-size: 0.85rem;
}


/* Footer Motto */

.footer-motto {
    text-align: center;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.motto-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-light);
    font-weight: 500;
    letter-spacing: 0.02em;
}


/* Responsive for New Components */

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .impact-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .clients-logo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .clients-logo-row {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .offices-grid {
        grid-template-columns: 1fr;
    }
    .impact-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .clients-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .clients-logo-row {
        gap: 1.5rem;
    }
    .client-logo-card svg {
        height: 32px;
    }
    .mission-vision-section {
        padding: 4rem 0;
    }
    .mv-card {
        padding: 2rem;
    }
    .section-header-large h2,
    .mv-section-header h2,
    .global-header h2 {
        font-size: 2rem;
    }
    .motto-text {
        font-size: 1.25rem;
    }
}


/* ============================================
   PROFESSIONAL ENHANCEMENTS
   ============================================ */


/* Advanced Animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.15;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%,
    100% {
        box-shadow: 0 0 5px rgba(45, 125, 210, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(45, 125, 210, 0.4);
    }
}


/* Animation Classes */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}


/* Staggered Animations */

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}


/* Loading Skeleton */

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-heading {
    height: 2rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-image {
    height: 200px;
    width: 100%;
}


/* Enhanced Button Styles */

.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::after {
    left: 100%;
}


/* Enhanced Card Hover Effects */

.card,
.service-card,
.team-card,
.value-card,
.region-card,
.job-card {
    position: relative;
}

.card::after,
.service-card::after,
.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(45, 125, 210, 0.03) 0%, rgba(201, 162, 39, 0.03) 100%);
}

.card:hover::after,
.service-card:hover::after,
.team-card:hover::after {
    opacity: 1;
}


/* Enhanced Links */

.nav-menu a,
.footer-links a {
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    transform: scaleX(1);
    transform-origin: left;
}


/* Enhanced Form Inputs */

.form-group input,
.form-group textarea,
.form-group select {
    position: relative;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    box-shadow: 0 0 0 3px rgba(45, 125, 210, 0.15);
}

.form-group input.valid {
    border-color: var(--success-color);
}

.form-group input.invalid {
    border-color: var(--error-color);
}

.form-group input.filled {
    background-color: #fafbfc;
}


/* Floating Labels */

.form-floating {
    position: relative;
}

.form-floating label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    pointer-events: none;
    color: var(--text-secondary);
    background: var(--bg-white);
    padding: 0 0.25rem;
}

.form-floating input:focus+label,
.form-floating input:not(:placeholder-shown)+label {
    top: 0;
    font-size: 0.75rem;
    color: var(--accent-color);
}


/* Progress Indicator */

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--gold-accent));
    z-index: 9999;
    transition: width 0.1s ease;
}


/* Page Transition Overlay */

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.page-transition.active {
    transform: translateY(0);
}


/* Enhanced Section Dividers */

.section-divider {
    position: relative;
    height: 1px;
    background: var(--border-color);
    margin: 4rem 0;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 3px;
    background: var(--gold-accent);
}


/* Tooltip Styles */

.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover::after,
.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.tooltip:hover::before {
    transform: translateX(-50%) translateY(-5px);
}


/* Badge Styles */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
}

.badge-primary {
    background: rgba(45, 125, 210, 0.1);
    color: var(--accent-color);
}

.badge-gold {
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold-accent);
}

.badge-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}


/* Enhanced Image Styles */

.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

.img-hover-shine {
    position: relative;
    overflow: hidden;
}

.img-hover-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    z-index: 1;
}

.img-hover-shine:hover::before {
    animation: shine 0.75s ease;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}


/* Glassmorphism Effect */

.glass {
    background: hsla(0, 0%, 100%, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid hsla(0, 0%, 100%, 0.2);
}


/* Gradient Text */

.gradient-text {
    background: linear-gradient(135deg, var(--accent-color), var(--gold-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Enhanced Hero Background */

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-background-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.7) 0%, rgba(26, 58, 92, 0.5) 100%);
}


/* Scroll Indicator */

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    cursor: pointer;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator::after {
    content: '';
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}


/* Enhanced Focus States for Accessibility */

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}


/* Skip Link for Accessibility */

.skip-link {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    z-index: 10000;
    transition: top 0.3s ease;
    border-radius: 0 0 8px 8px;
}

.skip-link:focus {
    top: 0;
}


/* Print Styles */

@media print {
    .header,
    .footer,
    .back-to-top,
    .nav-cta,
    .mobile-toggle {
        display: none !important;
    }
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    a {
        color: #000;
        text-decoration: underline;
    }
    .hero {
        min-height: 0;
        padding: 2rem 0;
        background: #fff !important;
    }
    .hero h1,
    .hero .lead {
        color: #000;
    }
    .section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
}


/* Dark Mode Support (Progressive Enhancement) */

@media (prefers-color-scheme: dark) {
     :root {
        --bg-white: #1a1a2e;
        --bg-light: #16213e;
        --text-primary: #eaeaea;
        --text-secondary: #b0b0b0;
        --border-color: #2d3a4f;
    }
}


/* Reduced Motion Support */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .scale-in {
        opacity: 1;
        transform: none;
    }
}


/* High Contrast Mode Support */

@media (prefers-contrast: high) {
     :root {
        --accent-color: #0066cc;
        --gold-accent: #cc8800;
    }
    .btn-primary {
        border: 2px solid currentColor;
    }
    .card,
    .service-card {
        border: 2px solid var(--text-primary);
    }
}


/* Cookie Consent Banner */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1.5rem;
    z-index: 9997;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-banner .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}


/* Notification Toast */

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9996;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.toast-error .toast-icon {
    background: rgba(220, 53, 69, 0.1);
    color: var(--error-color);
}

.toast-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.toast-content p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--text-secondary);
}

.toast-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}


/* Loading Overlay */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Number Counter Animation */

.counter {
    font-variant-numeric: tabular-nums;
}


/* Section Background Patterns */

.section-pattern {
    position: relative;
}

.section-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232d7dd2' fill-opacity='0.03'%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");
    pointer-events: none;
    z-index: 0;
}

.section-pattern>* {
    position: relative;
    z-index: 1;
}


/* ============================================
   Dark Mode Theme
   ============================================ */

[data-theme="dark"] {
    --bg: hsl(220, 20%, 10%);
    --bg-alt: hsl(220, 18%, 13%);
    --bg-muted: hsl(220, 16%, 16%);
    --text: hsl(0, 0%, 92%);
    --text-secondary: hsl(0, 0%, 70%);
    --text-muted: hsl(0, 0%, 55%);
    --border: hsl(220, 15%, 25%);
    --border-light: hsl(220, 15%, 20%);
    --shadow-xs: 0 1px 2px hsla(0, 0%, 0%, 0.2);
    --shadow-sm: 0 2px 4px hsla(0, 0%, 0%, 0.25);
    --shadow-md: 0 4px 12px hsla(0, 0%, 0%, 0.3);
    --shadow-lg: 0 8px 24px hsla(0, 0%, 0%, 0.35);
    --shadow-xl: 0 16px 48px hsla(0, 0%, 0%, 0.4);
}

[data-theme="dark"] .header {
    background: hsla(220, 20%, 8%, 0.95);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .header.scrolled {
    background: hsla(220, 20%, 6%, 0.98);
}

[data-theme="dark"] .nav-menu a {
    color: var(--text-secondary);
}

[data-theme="dark"] .nav-menu a:hover,
[data-theme="dark"] .nav-menu a.active {
    color: var(--text);
}

[data-theme="dark"] .bg-light {
    background: var(--bg-alt);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .news-card,
[data-theme="dark"] .case-study-card,
[data-theme="dark"] .job-card {
    background: var(--bg-alt);
    border-color: var(--border);
}

[data-theme="dark"] .footer {
    background: hsl(220, 22%, 6%);
}

[data-theme="dark"] .page-hero {
    background: var(--primary);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: var(--bg-alt);
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--accent);
}

[data-theme="dark"] .cookie-banner {
    background: var(--bg-alt);
    border-color: var(--border);
}


/* Theme Toggle Button */

.theme-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    margin-left: var(--space-3);
}

.theme-toggle:hover {
    background: var(--bg-muted);
    color: var(--text);
}

.theme-toggle .sun-icon {
    display: block;
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

@media (max-width: 768px) {
    .theme-toggle {
        position: fixed;
        bottom: 80px;
        right: 20px;
        z-index: 999;
        background: var(--bg);
        box-shadow: var(--shadow-lg);
        width: 48px;
        height: 48px;
    }
}


/* Back to Top Button */

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 998;
    box-shadow: var(--shadow-lg);
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    .theme-toggle {
        bottom: 76px;
    }
}


/* Client Logos Section */

.client-logos {
    padding: var(--space-8) 0;
    background: var(--bg-alt);
    overflow: hidden;
}

.client-logos .section-header {
    margin-bottom: var(--space-6);
}

.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-6);
    align-items: center;
    justify-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-base);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo img {
    max-width: 120px;
    max-height: 48px;
    object-fit: contain;
}

.client-logo svg {
    width: 100px;
    height: 40px;
    fill: currentColor;
    color: var(--text-secondary);
}

.client-logo:hover svg {
    color: var(--text);
}

@media (max-width: 992px) {
    .client-logos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .client-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
    }
    .client-logo img {
        max-width: 80px;
        max-height: 36px;
    }
}

@media (max-width: 480px) {
    .client-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}