
/* Force gradient to cover entire viewport from top */
html {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 100px !important;
    background: linear-gradient(135deg,
        #ffffff 0%,
        #fefefe 25%,
        #fcfdfd 50%,
        #fefefe 75%,
        #ffffff 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
}

#page.site {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-main {
    background: transparent !important;
}

@media (max-width: 768px) {
    body {
        padding-top: 90px !important;
    }
}
/*
Theme Name: Triton Recovery
Theme URI: https://tritonrecovery.com
Author: Triton Recovery
Author URI: https://tritonrecovery.com
Description: A modern, professional WordPress theme for Triton Recovery, specializing in debt recovery.
Version: 2.0.0
License: Proprietary
License URI: https://tritonrecovery.com/license
Text Domain: triton-recovery
*/

/* FORCE OVERRIDE WORDPRESS ANIMATION KILLER */
* {
    animation-duration: initial !important;
    animation-iteration-count: initial !important;
    transition-duration: initial !important;
}

body * {
    animation-duration: initial !important;
    animation-iteration-count: initial !important;
    transition-duration: initial !important;
}

/* CUSTOM FONT DECLARATIONS - FORCE TRAJAN PRO TO LOAD */
@font-face {
    font-family: 'Trajan Pro';
    src: url('./assets/fonts/TrajanPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Trajan Pro';
    src: url('./assets/fonts/TrajanPro-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Modern Language Selector Styles */
.modern-language-selector {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-dark);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-family);
    font-size: 12px;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.language-btn:hover {
    background: var(--color-bg-light);
    border-color: var(--color-primary);
}

.language-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(139, 21, 56, 0.2);
}

.language-btn .fas.fa-globe {
    color: var(--color-primary);
    font-size: 16px;
}

.current-language {
    font-weight: 500;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform var(--transition-fast);
    display: inline-block;
    margin-left: 4px;
}

.language-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    margin-top: 4px;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition-fast);
    font-family: var(--font-family);
    font-size: 14px;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--color-bg-light);
}

.language-option:active {
    background: rgba(139, 21, 56, 0.05);
}

.flag-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.language-option span:last-child {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .language-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .language-dropdown {
        min-width: 160px;
    }
    
    .language-option {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Google Translate specific styles to handle text expansion */
.goog-te-combo {
    display: none !important;
}

/* Hide Google Translate elements */
.goog-te-banner-frame {
    display: none !important;
}

.goog-te-menu-value {
    display: none !important;
}

.goog-te-gadget {
    display: none !important;
}

.goog-te-menu-frame {
    display: none !important;
}

.goog-te-balloon-frame {
    display: none !important;
}

/* Ensure body doesn't get pushed down by Google Translate */
body {
    top: 0 !important;
}

/* Handle Google Translate text expansion in navigation */
body.translated .nav-menu,
body[class*="translated"] .nav-menu,
.goog-trans-section .nav-menu {
    gap: 2px;
    flex-wrap: wrap;
}

body.translated .nav-menu a,
body[class*="translated"] .nav-menu a,
.goog-trans-section .nav-menu a {
    font-size: 9px;
    padding: 2px 4px;
    line-height: 1.1;
    letter-spacing: 0;
}

body.translated .main-navigation,
body[class*="translated"] .main-navigation,
.goog-trans-section .main-navigation {
    max-width: 1100px;
    min-width: 200px;
}

/* Detect when content is translated and adjust header height */
body.translated .site-header,
body[class*="translated"] .site-header {
    min-height: auto;
    padding: 8px 0;
}

/* Account Access Buttons */
.account-access-dropdown {
    position: relative;
    display: inline-block;
}

.account-access-btn {
    background: var(--color-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.account-access-btn.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 20px;
    border: 2px solid var(--color-primary) !important;
    background: var(--color-bg-white) !important;
    color: var(--color-primary) !important;
    font-weight: 600;
}

.account-access-btn.btn-sm:hover {
    background: var(--color-primary) !important;
    color: var(--color-text-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(139, 21, 56, 0.2);
}

.account-access-btn:hover {
    background: var(--color-text-dark);
    transform: translateY(-2px);
}

.account-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 250px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.account-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section {
    padding: 15px;
    border-bottom: 1px solid var(--color-border);
}

.dropdown-section:last-child {
    border-bottom: none;
}

.dropdown-section h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-text-medium);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.dropdown-link {
    display: block;
    padding: 10px 15px;
    color: var(--color-text-dark);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin: 5px 0;
}

.dropdown-link:hover {
    background: var(--color-bg-light);
    transform: translateX(5px);
}

.dropdown-link i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

.dropdown-link.business {
    border-left: 3px solid #2196f3;
}

.dropdown-link.consumer {
    border-left: 3px solid #ff9800;
}

/* Header Account Buttons */
.header-account-buttons {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-left: 20px;
}

/* Stacked Account Buttons */
.header-account-buttons-stacked {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-left: 10px;
}

/* Extra small button variant - Override ALL btn styles */
.header-account-buttons-stacked .btn-xs {
    padding: 8px 16px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    display: inline-block !important;
}

.header-account-buttons-stacked .btn-outline.btn-xs {
    border: 2px solid #e0e0e0 !important;
    color: #8B1538 !important;
    background-color: transparent !important;
    min-height: auto !important;
    height: auto !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    transition: all 0.2s ease !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.header-account-buttons-stacked .btn-outline.btn-xs:hover {
    border-color: #8B1538 !important;
    background-color: rgba(139, 21, 56, 0.03) !important;
    color: #8B1538 !important;
    transform: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Split Button Style */
.split-account-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.split-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}

.split-btn.business {
    background: #e3f2fd;
    color: #2196f3;
    border-color: #2196f3;
}

.split-btn.business:hover {
    background: #2196f3;
    color: white;
    transform: translateY(-2px);
}

.split-btn.consumer {
    background: #fff3e0;
    color: #ff9800;
    border-color: #ff9800;
}

.split-btn.consumer:hover {
    background: #ff9800;
    color: white;
    transform: translateY(-2px);
}

/* Modal Style Account Selector */
.account-modal-trigger {
    background: var(--color-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.account-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.account-modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-text-medium);
}

/* Legal Pages Styling */
.legal-page {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg-white);
}

.legal-page .page-title {
    font-size: var(--font-h1);
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
    text-align: center;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-bg-white);
    padding: var(--space-xl);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--color-shadow);
}

.legal-content .last-updated {
    font-style: italic;
    color: var(--color-text-medium);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.legal-content h2 {
    font-size: var(--font-h2);
    color: var(--color-primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-border);
    padding-bottom: var(--space-sm);
}

.legal-content h3 {
    font-size: var(--font-h3);
    color: var(--color-text-dark);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-content p {
    margin-bottom: var(--space-md);
    line-height: var(--line-height-body);
}

.legal-content ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.legal-content ul li {
    margin-bottom: var(--space-xs);
}

.legal-content .contact-info {
    background-color: var(--color-bg-light);
    padding: var(--space-lg);
    border-radius: 8px;
    margin-top: var(--space-lg);
}

.legal-content .contact-info p {
    margin-bottom: var(--space-xs);
}

.legal-content strong {
    color: var(--color-text-dark);
}

/* PHASE 1: STRICT COLOR HIERARCHY - NO EXCEPTIONS */
:root {
    /* PRIMARY COLORS - ONLY USE THESE */
    --color-primary: #8B1538;        /* Burgundy - CTAs, buttons, links, accents ONLY */
    --color-bg-white: #FFFFFF;       /* White - Main content areas */
    --color-bg-light: #F5F5F5;       /* Light Grey - Alternate sections */
    --color-bg-footer: #FFFFFF;      /* White - Footer background */
    
    /* TEXT COLORS */
    --color-text-dark: #333333;      /* Dark Grey - On white/light backgrounds */
    --color-text-white: #FFFFFF;     /* White - On dark backgrounds */
    --color-text-medium: #666666;    /* Medium Grey - Secondary text */
    --color-text-footer: #333333;    /* Dark Grey - Footer text on white background */
    
    /* UTILITY COLORS */
    --color-border: #e0e0e0;         /* Subtle borders */
    --color-shadow: rgba(0,0,0,0.1); /* Soft shadows */
    
    /* Typography System */
    --font-family: 'Trajan Pro', serif;
    --font-h1: 48px;
    --font-h2: 36px;
    --font-h3: 24px;
    --font-body: 16px;
    --line-height-heading: 1.2;
    --line-height-body: 1.6;
    
    /* Spacing System */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    
    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 20px;
    --section-padding: 64px;
    --section-padding-mobile: 32px;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family) !important;
    font-size: var(--font-body);
    line-height: var(--line-height-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    overflow-x: hidden;
}

/* Force Trajan Pro on ALL text elements */
*, *::before, *::after {
    font-family: var(--font-family) !important;
}

body, p, span, div, a, li, td, th, input, textarea, select, button, label {
    font-family: var(--font-family) !important;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: bold;
    line-height: var(--line-height-heading);
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
}

h1 { font-size: var(--font-h1); }
h2 { font-size: var(--font-h2); }
h3 { font-size: var(--font-h3); }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: var(--font-body); }

p {
    margin-bottom: var(--space-sm);
    color: var(--color-text-dark);
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-lg);
}

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

/* PHASE 9: GLOBAL BUTTON CONSISTENCY - BURGUNDY ONLY */
.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-family) !important;
    font-size: var(--font-body);
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--color-primary) !important;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--color-text-dark) !important;
    border-color: var(--color-text-dark) !important;
    color: var(--color-text-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.3);
}

.btn-outline {
    background-color: transparent !important;
    color: var(--color-primary) !important;
}

.btn-outline:hover {
    background-color: var(--color-primary) !important;
    color: var(--color-text-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.3);
}

/* Small outline buttons - no border */
.btn-outline.btn-sm {
    border: 1px solid var(--color-border) !important;
    color: var(--color-text-dark) !important;
}

.btn-outline.btn-sm:hover {
    border-color: var(--color-primary) !important;
    background-color: var(--color-bg-light) !important;
    color: var(--color-primary) !important;
    transform: none;
    box-shadow: none;
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 18px;
}

/* PHASE 2: CLEAN WHITE HEADER REDESIGN */
.site-header {
    background-color: var(--color-bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: calc(100% - 64px);
    max-width: 1400px;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    z-index: 1000;
    padding: 16px 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.3);
}

.site-header.sticky {
    padding: 12px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    top: 12px;
}

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

/* Logo Enhancement */
.header-logo {
    flex: 0 0 auto;
}

.header-logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.header-logo img:hover {
    transform: scale(1.05);
}
    transform: scale(1.05);
}

/* Navigation Menu */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 var(--space-sm);
    margin-right: 48px;
    max-width: 800px;
    min-width: 300px;
}

.nav-menu-wrapper {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
    position: relative;
    white-space: nowrap;
    line-height: 1.2;
    text-decoration: none;
}

/* Spanish language specific adjustments */
body[data-language="es"] .nav-menu a {
    font-size: 10px;
    padding: var(--space-xs) 5px;
    letter-spacing: 0px;
}

body[data-language="es"] .nav-menu {
    gap: 4px;
}

body[data-language="es"] .main-navigation {
    max-width: 900px;
}

/* Responsive breakpoints for smaller screens */
@media (max-width: 1200px) {
    .nav-menu a {
        font-size: 11px;
        padding: var(--space-xs) 6px;
    }
    
    body[data-language="es"] .nav-menu a {
        font-size: 9px;
        padding: var(--space-xs) 4px;
    }
}

@media (max-width: 992px) {
    .nav-menu a {
        font-size: 10px;
        padding: var(--space-xs) 5px;
    }
    
    body[data-language="es"] .nav-menu a {
        font-size: 8px;
        padding: var(--space-xs) 3px;
    }
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* Active page styling */
.nav-menu a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
    margin-left: 24px;
}

/* Modern Language Selector */
.modern-language-selector {
    position: relative;
    display: inline-block;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-white);
    border: 2px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-dark);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.language-btn:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 8px rgba(139, 21, 56, 0.15);
    transform: translateY(-1px);
}

.language-btn i.fa-globe {
    color: var(--color-primary);
    font-size: 16px;
}

.current-language {
    font-weight: 600;
    color: var(--color-text-dark);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    color: var(--color-text-medium);
    font-size: 12px;
}

.language-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-bg-white);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 1px solid #f0f0f0;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: #f8f9fa;
    color: var(--color-primary);
}

.language-option:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.language-option:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.flag-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.language-option span:last-child {
    font-weight: 500;
    color: var(--color-text-dark);
}

.language-option:hover span:last-child {
    color: var(--color-primary);
}

/* Language selector animations */
@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive language selector */
@media (max-width: 768px) {
    .language-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .current-language {
        display: none;
    }
    
    .language-dropdown {
        right: -20px;
        min-width: 180px;
    }
}

/* Old language switch removed */

/* PHASE 3: HOMEPAGE REORGANIZATION */
.site-content {
    margin-top: 120px;
}

/* Remove margin for front page to eliminate whitespace */
.home .site-content {
    margin-top: 0;
}

/* PHASE 3: HERO SECTION - MODERN GLOWING GRADIENT */
.hero-section,
.hero-background {
    background: linear-gradient(135deg,
        #ffffff 0%,
        #fefefe 25%,
        #fcfdfd 50%,
        #fefefe 75%,
        #ffffff 100%);
    padding: var(--section-padding) 0;
    padding-top: 120px;
    margin-top: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Beautiful Flowing Wave Animation */
.hero-section::before,
.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        linear-gradient(120deg,
            transparent 0%,
            rgba(255, 182, 193, 0.015) 20%,
            rgba(255, 192, 203, 0.025) 40%,
            rgba(255, 105, 180, 0.02) 60%,
            rgba(255, 228, 225, 0.015) 80%,
            transparent 100%);
    animation: waveFlow 12s ease-in-out infinite !important;
    animation-duration: 12s !important;
    animation-iteration-count: infinite !important;
    z-index: 1;
    filter: blur(80px);
}

@keyframes waveFlow {
    0% {
        transform: translateX(-50%) translateY(0%) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateX(0%) translateY(-20%) rotate(5deg);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(0%) rotate(0deg);
        opacity: 0.6;
    }
}

.hero-section::after,
.hero-background::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background:
        linear-gradient(240deg,
            transparent 0%,
            rgba(255, 192, 203, 0.01) 25%,
            rgba(255, 182, 193, 0.02) 50%,
            rgba(219, 112, 147, 0.015) 75%,
            transparent 100%);
    animation: waveFlow2 18s ease-in-out infinite !important;
    animation-duration: 18s !important;
    animation-iteration-count: infinite !important;
    z-index: 1;
    filter: blur(100px);
}

@keyframes waveFlow2 {
    0% {
        transform: translateX(0%) translateY(-30%) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateX(-30%) translateY(0%) rotate(-5deg);
        opacity: 1;
    }
    100% {
        transform: translateX(0%) translateY(-30%) rotate(0deg);
        opacity: 0.7;
    }
}

/* Modern Sparkle Overlay for Bright Background */
.sparkle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 215, 0, 0.3) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.6) 2px, transparent 2px);
    background-size: 50px 50px, 80px 80px, 100px 100px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: sparkleShimmer 8s linear infinite !important;
    animation-duration: 8s !important;
    animation-iteration-count: infinite !important;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

@keyframes sparkleShimmer {
    0% {
        background-position: 0 0, 40px 60px, 130px 270px;
        opacity: 0.3;
    }
    50% {
        background-position: 50px 50px, 90px 110px, 180px 320px;
        opacity: 0.5;
    }
    100% {
        background-position: 100px 100px, 140px 160px, 230px 370px;
        opacity: 0.3;
    }
}

@keyframes geometricFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 1;
    }
    25% {
        transform: translateY(-10px) scale(1.02);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-5px) scale(0.98);
        opacity: 1;
    }
    75% {
        transform: translateY(-15px) scale(1.01);
        opacity: 0.9;
    }
}

@keyframes slowRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* PROFESSIONAL ABOUT US PAGE STYLING */

/* SECTION 1: SOPHISTICATED HERO */
.professional-hero {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
}

.professional-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="noise" patternUnits="userSpaceOnUse" width="100" height="100"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.03"/></pattern></defs><rect width="100%" height="100%" fill="url(%23noise)"/></svg>');
    opacity: 0.5;
}

.professional-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 0%, rgba(139, 21, 56, 0.02) 50%, transparent 100%),
        repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(139, 21, 56, 0.005) 60px, rgba(139, 21, 56, 0.005) 62px);
    z-index: 1;
}

.hero-content-professional {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.professional-title {
    font-size: 54px;
    color: #2B2B2B;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.professional-subtitle {
    font-size: 22px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.professional-accent-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8B1538, transparent);
    margin: 0 auto;
    animation: accentGlow 3s ease-in-out infinite;
}

@keyframes accentGlow {
    0%, 100% { opacity: 0.6; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.2); }
}

/* SECTION 2: COMPANY STORY WITH LOCATION */
.company-story {
    padding: 100px 0;
    background: #FFFFFF;
}

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

.story-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #666;
}

.story-content p:first-of-type {
    color: #333;
}

.location-card {
    background: #FAFAFA;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(139, 21, 56, 0.08);
}

.location-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B1538, #A61E46);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.location-icon .professional-icon {
    width: 40px;
    height: 40px;
    fill: white;
}

.location-card h3 {
    color: #8B1538;
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 600;
}

.location-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* SECTION 3: COMPANY TIMELINE */
.company-timeline {
    padding: 100px 0;
    background: #FAFAFA;
    position: relative;
}

.section-title-professional {
    font-size: 42px;
    color: #2B2B2B;
    text-align: center;
    margin-bottom: 80px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, #8B1538, transparent);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: timelineSlideIn 0.8s ease forwards;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    animation-delay: 0.2s;
}

.timeline-item:nth-child(odd) {
    animation-delay: 0.4s;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: #8B1538;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 8px rgba(139, 21, 56, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-year {
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.timeline-marker.active {
    animation: activePulse 2s ease-in-out infinite;
}

.timeline-content {
    background: #FAFAFA;
    padding: 32px;
    border-radius: 8px;
    margin: 0 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -24px;
    border-left-color: #FAFAFA;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -24px;
    border-right-color: #FAFAFA;
}

.timeline-content h3 {
    color: #8B1538;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@keyframes timelineSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes activePulse {
    0%, 100% { box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 8px rgba(139, 21, 56, 0.1); }
    50% { box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 16px rgba(139, 21, 56, 0.2); }
}

/* SECTION 4: LEADERSHIP PROFESSIONAL - CIRCULAR PHOTOS */
.leadership-professional {
    padding: 100px 0;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    position: relative;
    overflow: hidden;
}

.leadership-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(139, 21, 56, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 21, 56, 0.02) 0%, transparent 50%);
    animation: sophisticatedFloat 25s ease-in-out infinite;
}

/* CEO Featured Section */
.ceo-featured {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.ceo-card-circular {
    background: #FFFFFF;
    padding: 48px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    max-width: 450px;
    transition: all 0.4s ease;
}

.ceo-card-circular:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(139, 21, 56, 0.15);
}

.executive-photo-circular-ceo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #8B1538;
    margin: 0 auto 24px;
    display: block;
    transition: all 0.3s ease;
}

.ceo-card-circular:hover .executive-photo-circular-ceo {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(139, 21, 56, 0.2);
}

/* Executive Grid */
.executives-grid-circular {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.executive-card-circular {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.executive-card-circular:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(139, 21, 56, 0.12);
}

.executive-photo-circular {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #8B1538;
    margin: 0 auto 24px;
    display: block;
    transition: all 0.3s ease;
}

.executive-card-circular:hover .executive-photo-circular {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(139, 21, 56, 0.2);
}

.executive-photo-placeholder-circular {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #8B1538, #A61E46);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-weight: bold;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.executive-card-circular:hover .executive-photo-placeholder-circular {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(139, 21, 56, 0.2);
}

.executive-name {
    color: #8B1538;
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.ceo-card-circular .executive-name {
    font-size: 28px;
    margin-bottom: 12px;
}

.executive-title {
    color: #2B2B2B;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 500;
}

.ceo-card-circular .executive-title {
    font-size: 18px;
    margin-bottom: 20px;
}

.executive-bio,
.executive-brief {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

.ceo-card-circular .executive-bio {
    font-size: 16px;
    max-width: 350px;
    margin: 0 auto;
}

@keyframes sophisticatedFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

/* SECTION 4: OUR APPROACH */
.our-approach {
    padding: 100px 0;
    background: #FFFFFF;
}

.approach-flow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.approach-step {
    grid-column: span 1;
    text-align: center;
    padding: 32px 16px;
    position: relative;
}

.approach-arrow {
    grid-column: span 1;
    text-align: center;
    padding: 0 8px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B1538, #A61E46);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.step-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(139, 21, 56, 0.3);
}

.professional-icon {
    width: 32px;
    height: 32px;
    fill: white;
}

.arrow-icon {
    width: 24px;
    height: 24px;
    fill: #8B1538;
    opacity: 0.6;
}

.approach-step h3 {
    color: #2B2B2B;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.approach-step p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* SECTION 5: CORE VALUES PROFESSIONAL */
.core-values-professional {
    padding: 100px 0;
    background: #FAFAFA;
    position: relative;
}

.values-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.value-card {
    background: #FFFFFF;
    padding: 40px 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 21, 56, 0.05), transparent);
    transition: all 0.6s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(139, 21, 56, 0.12);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    padding: 16px;
    border: 2px solid #8B1538;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: #8B1538;
    transform: scale(1.1);
}

.value-card:hover .professional-icon {
    fill: white;
}

.value-icon .professional-icon {
    width: 32px;
    height: 32px;
    fill: #8B1538;
    transition: all 0.3s ease;
}

.value-card h3 {
    color: #8B1538;
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 600;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.values-connecting-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8B1538, #8B1538, #8B1538, transparent);
    transform: translateY(-50%);
    opacity: 0.2;
    z-index: 1;
}

/* SECTION 6: PERFORMANCE METRICS */
.performance-metrics {
    padding: 100px 0;
    background: #FFFFFF;
    position: relative;
    z-index: 1;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.metric-visualization {
    text-align: center;
    padding: 32px 16px;
}

.metric-visual {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.metric-number {
    font-size: 36px;
    font-weight: 700;
    color: #8B1538;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Timeline Bar Animation */
.timeline-bar {
    width: 80px;
    height: 8px;
    background: #F0F0F0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.timeline-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #8B1538, #A61E46);
    border-radius: 4px;
    width: 60%;
}

.timeline-bar.animate::after {
    width: 0%;
    animation: fillBar 2s ease forwards;
}

/* Circular Progress */
.circular-progress {
    position: relative;
    width: 100px;
    height: 100px;
}

.progress-ring {
    width: 100px;
    height: 100px;
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: #F0F0F0;
    stroke-width: 8;
}

.progress-ring-fill {
    fill: none;
    stroke: #8B1538;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 251;
    stroke-dashoffset: 63;
}

.progress-ring-fill.animate {
    stroke-dashoffset: 251;
    animation: fillCircle 2s ease forwards;
}

.progress-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: 600;
    color: #8B1538;
}

/* Dot Matrix */
.dot-matrix {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
    width: 80px;
    height: 80px;
}

.dot-matrix::before {
    content: '';
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    background-image: radial-gradient(circle, #8B1538 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0.3;
}

.dot-matrix.animate::before {
    animation: fillDots 2s ease forwards;
    opacity: 0;
}

/* Bar Chart */
.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 80px;
    gap: 4px;
}

.bar-chart::before,
.bar-chart::after {
    content: '';
    width: 12px;
    background: #8B1538;
    border-radius: 2px 2px 0 0;
    height: 30%;
}

.bar-chart.animate::before,
.bar-chart.animate::after {
    animation: growBar 2s ease forwards;
    height: 0%;
}

.bar-chart.animate::before {
    animation-delay: 0.2s;
}

.bar-chart.animate::after {
    animation-delay: 0.4s;
}

@keyframes fillBar {
    to { width: 100%; }
}

@keyframes fillCircle {
    to { stroke-dashoffset: 63; }
}

@keyframes fillDots {
    to { opacity: 1; }
}

@keyframes growBar {
    to { height: 100%; }
}

/* SECTION 7: CLIENT SUCCESS */
.client-success {
    padding: 100px 0;
    background: #FAFAFA;
}

.success-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

.testimonial-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(139, 21, 56, 0.1);
}

.quote-icon {
    width: 32px;
    height: 32px;
    fill: #8B1538;
    margin-bottom: 16px;
}

.testimonial-quote p {
    color: #333;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 24px;
}

.author-info h4 {
    color: #8B1538;
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
}

.author-info p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.certification-card {
    background: linear-gradient(135deg, #8B1538, #A61E46);
    color: white;
    padding: 32px;
    border-radius: 8px;
    text-align: center;
}

.cert-content h3 {
    color: white;
    margin-bottom: 24px;
    font-size: 20px;
}

.cert-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cert-content li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.cert-content li:last-child {
    border-bottom: none;
}

/* SECTION 8: PROFESSIONAL CTA */
.professional-cta {
    padding: 100px 0;
    background: #8B1538;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.professional-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(255, 255, 255, 0.02) 60px, rgba(255, 255, 255, 0.02) 62px);
    animation: patternShift 20s linear infinite;
}

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

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.premium-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #8B1538;
    padding: 18px 36px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.premium-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
    color: #8B1538;
    text-decoration: none;
}

.button-arrow {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: all 0.3s ease;
}

.premium-button:hover .button-arrow {
    transform: translateX(4px);
}

@keyframes patternShift {
    0% { transform: translateX(0px); }
    100% { transform: translateX(100px); }
}

/* Enhanced animation for leadership team section */
.enhanced-animation::before {
    background-image: 
        /* More prominent shapes with stronger opacity */
        radial-gradient(circle at 85% 15%, rgba(139, 21, 56, 0.12) 0%, transparent 40%),
        linear-gradient(45deg, rgba(139, 21, 56, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 50%, rgba(139, 21, 56, 0.10) 0%, transparent 30%),
        /* Enhanced grid pattern */
        repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(139, 21, 56, 0.03) 30px, rgba(139, 21, 56, 0.03) 32px),
        repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(139, 21, 56, 0.03) 30px, rgba(139, 21, 56, 0.03) 32px);
    animation: enhancedFloat 12s ease-in-out infinite;
}

.enhanced-animation::after {
    background-image: 
        /* More visible floating shapes */
        radial-gradient(circle at 20% 80%, rgba(139, 21, 56, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 80% 20%, rgba(245, 245, 245, 0.9) 0%, transparent 30%),
        radial-gradient(circle at 40% 40%, rgba(139, 21, 56, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 60% 70%, rgba(139, 21, 56, 0.04) 0%, transparent 20%);
    animation: fastRotate 15s linear infinite;
}

@keyframes enhancedFloat {
    0%, 100% {
        transform: translateY(0px) scale(1) translateX(0px);
        opacity: 1;
    }
    25% {
        transform: translateY(-20px) scale(1.05) translateX(5px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-10px) scale(0.95) translateX(-5px);
        opacity: 1;
    }
    75% {
        transform: translateY(-30px) scale(1.03) translateX(10px);
        opacity: 0.8;
    }
}

@keyframes fastRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .story-grid { grid-template-columns: 1fr; gap: 40px; }
    .executives-grid-circular { grid-template-columns: 1fr; gap: 32px; }
    .ceo-card-circular { max-width: 100%; padding: 32px; }
    .approach-flow { grid-template-columns: 1fr; gap: 32px; }
    .approach-arrow { display: none; }
    .values-flow { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .success-grid { grid-template-columns: 1fr; }
    .timeline-line { display: none; }
    .timeline-item { flex-direction: column !important; text-align: center; }
    .timeline-content { margin: 0; max-width: none; }
    .timeline-content::before { display: none; }
    .professional-title { font-size: 36px; }
    .section-title-professional { font-size: 32px; }
}

/* Remove old overlay - not needed with new background */

.hero-content,
.hero-background .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 60px;
}

.hero-background .container {
    max-width: 1200px;
}

.hero-title {
    font-size: 56px;
    margin-bottom: var(--space-md);
    font-weight: bold;
    position: relative;
    letter-spacing: -0.5px;
    background: linear-gradient(
        90deg,
        #2B2B2B,
        #8B1538,
        #9B1A3F,
        #8B1538,
        #2B2B2B
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent !important;
    animation: move-bg-side 45s infinite ease-in-out !important;
    animation-duration: 45s !important;
    animation-iteration-count: infinite !important;
    animation-timing-function: ease-in-out !important;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-title {
        animation: move-bg-side 45s infinite ease-in-out !important;
        animation-duration: 45s !important;
        animation-iteration-count: infinite !important;
        animation-timing-function: ease-in-out !important;
    }
}

@keyframes move-bg-side {
    0% {
        background-position: 0% 0;
    }
    50% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0% 0;
    }
}

/* Enhanced Sparkle effect overlay */
.hero-title::before {
    content: '✨';
    position: absolute;
    font-size: 28px;
    animation: sparkle1 2.5s ease-in-out infinite !important;
    animation-duration: 2.5s !important;
    animation-iteration-count: infinite !important;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.8));
}

.hero-title::after {
    content: '✨';
    position: absolute;
    font-size: 24px;
    animation: sparkle2 2.5s ease-in-out infinite 1.25s !important;
    animation-duration: 2.5s !important;
    animation-iteration-count: infinite !important;
    animation-delay: 1.25s !important;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.8));
}

@keyframes sparkle1 {
    0%, 100% {
        opacity: 0;
        transform: translate(15%, -15%) scale(0.3) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translate(20%, -20%) scale(1.2) rotate(180deg);
    }
}

@keyframes sparkle2 {
    0%, 100% {
        opacity: 0;
        transform: translate(85%, -10%) scale(0.3) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translate(90%, -15%) scale(1.2) rotate(-180deg);
    }
}

.hero-title .accent {
    color: var(--color-primary) !important;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: var(--space-xl);
    line-height: var(--line-height-body);
    position: relative;
    background: linear-gradient(
        90deg,
        #4a4a4a,
        #8B1538,
        #666666,
        #8B1538,
        #4a4a4a
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent !important;
    animation: move-bg-side 50s infinite ease-in-out !important;
    animation-duration: 50s !important;
    animation-iteration-count: infinite !important;
    animation-timing-function: ease-in-out !important;
}


.hero-subtitle::before {
    content: '✨';
    position: absolute;
    font-size: 18px;
    animation: sparkle3 3s ease-in-out infinite 0.5s !important;
    animation-duration: 3s !important;
    animation-iteration-count: infinite !important;
    animation-delay: 0.5s !important;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.6));
}

@keyframes sparkle3 {
    0%, 100% {
        opacity: 0;
        transform: translate(95%, 0%) scale(0.3) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: translate(98%, -5%) scale(1) rotate(180deg);
    }
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: nowrap;
}

.hero-cta .btn {
    padding: 12px 24px;
    font-size: 15px;
    text-align: center;
    white-space: nowrap;
}

.hero-cta .btn:first-child,
.hero-cta .btn:last-child {
    min-width: 200px;
}

.hero-cta .btn-primary {
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-cta .btn-outline {
    border: 2px solid var(--color-primary);
    box-shadow: 0 2px 8px rgba(139, 21, 56, 0.15);
}

/* PHASE 4: METRICS SECTION - GLASSMORPHISM WITH SUBTLE ANIMATIONS */
.metrics-bar {
    background: linear-gradient(135deg, #8B1538 0%, #AB1F47 50%, #6B0F28 100%);
    color: var(--color-text-white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect in background */
.metrics-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.metrics-bar .container {
    position: relative;
    z-index: 2;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.metric-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.metric-item:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 1);
}

.metric-item:nth-child(1) {
    animation: floatMetric 8s ease-in-out infinite !important;
    animation-duration: 8s !important;
    animation-iteration-count: infinite !important;
}

.metric-item:nth-child(2) {
    animation: floatMetric 8s ease-in-out infinite 2s !important;
    animation-duration: 8s !important;
    animation-iteration-count: infinite !important;
    animation-delay: 2s !important;
}

.metric-item:nth-child(3) {
    animation: floatMetric 8s ease-in-out infinite 4s !important;
    animation-duration: 8s !important;
    animation-iteration-count: infinite !important;
    animation-delay: 4s !important;
}

.metric-item:nth-child(4) {
    animation: floatMetric 8s ease-in-out infinite 6s !important;
    animation-duration: 8s !important;
    animation-iteration-count: infinite !important;
    animation-delay: 6s !important;
}

@keyframes floatMetric {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.metric-number {
    font-size: 42px;
    font-weight: bold;
    color: #8B1538;
    margin-bottom: var(--space-sm);
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.metric-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2B2B2B;
    font-weight: 600;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

/* Service Overview Cards - Wave Animation (Same as Hero) */
.services-overview {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg,
        #ffffff 0%,
        #fefefe 25%,
        #fcfdfd 50%,
        #fefefe 75%,
        #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        linear-gradient(120deg,
            transparent 0%,
            rgba(255, 182, 193, 0.015) 20%,
            rgba(255, 192, 203, 0.025) 40%,
            rgba(255, 105, 180, 0.02) 60%,
            rgba(255, 228, 225, 0.015) 80%,
            transparent 100%);
    animation: waveFlow 12s ease-in-out infinite !important;
    animation-duration: 12s !important;
    animation-iteration-count: infinite !important;
    z-index: 1;
    filter: blur(80px);
}

.services-overview::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background:
        linear-gradient(240deg,
            transparent 0%,
            rgba(255, 192, 203, 0.01) 25%,
            rgba(255, 182, 193, 0.02) 50%,
            rgba(219, 112, 147, 0.015) 75%,
            transparent 100%);
    animation: waveFlow2 18s ease-in-out infinite !important;
    animation-duration: 18s !important;
    animation-iteration-count: infinite !important;
    z-index: 1;
    filter: blur(100px);
}

.services-overview .container {
    position: relative;
    z-index: 2;
}

.services-overview .section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
    letter-spacing: -0.5px;
    background: linear-gradient(
        90deg,
        #2B2B2B,
        #8B1538,
        #9B1A3F,
        #8B1538,
        #2B2B2B
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent !important;
    animation: move-bg-side 45s infinite ease-in-out !important;
    animation-duration: 45s !important;
    animation-iteration-count: infinite !important;
    animation-timing-function: ease-in-out !important;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 21, 56, 0.15);
    border-color: var(--color-primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, var(--color-primary) 0%, #6B0F28 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.2);
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #8B1538 0%, #6B0F28 100%);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #9B1A3F 0%, #8B1538 100%);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #AB1F47 0%, #9B1A3F 100%);
}

.service-icon::before {
    content: attr(data-letter);
}

.service-card h3 {
    color: var(--color-text-dark);
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--color-text-medium);
    margin-bottom: var(--space-md);
    line-height: var(--line-height-body);
}

/* Trust Section - Testimonials */
.trust-section {
    background-color: var(--color-bg-light);
    padding: var(--section-padding) 0;
}

.trust-section .section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--color-text-dark);
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    text-align: center;
    padding: var(--space-xl);
    background-color: var(--color-bg-white);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin: 0 var(--space-sm);
}

.testimonial-quote {
    font-size: 18px;
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
    line-height: var(--line-height-body);
}

.testimonial-author {
    color: var(--color-primary);
    font-weight: bold;
}

.testimonial-company {
    color: var(--color-text-medium);
    font-size: 14px;
}

/* PHASE 7: FINAL CTA SECTION - HERO BACKGROUND STYLING */
.final-cta {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, #8B1538 0%, #AB1F47 50%, #6B0F28 100%);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.final-cta .container {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    color: white;
    margin-bottom: var(--space-lg);
    font-size: 42px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow:
        2px 2px 0 rgba(139, 21, 56, 0.8),
        -1px -1px 0 rgba(139, 21, 56, 0.6),
        1px -1px 0 rgba(139, 21, 56, 0.6),
        -1px 1px 0 rgba(139, 21, 56, 0.6),
        1px 1px 0 rgba(139, 21, 56, 0.6),
        0 3px 8px rgba(0, 0, 0, 0.3);
}

.final-cta p {
    color: white !important;
    font-size: 20px !important;
    margin-bottom: var(--space-xl);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .hero-cta {
    justify-content: center;
    gap: var(--space-lg);
}

.final-cta .btn,
.final-cta .btn-primary,
.final-cta .btn-outline {
    background: white !important;
    color: #8B1538 !important;
    border: 2px solid white !important;
    font-weight: 600 !important;
}

.final-cta .btn:hover,
.final-cta .btn-primary:hover,
.final-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #8B1538 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}



@keyframes pulse {
    0% { box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4); }
    50% { box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4), 0 0 0 15px rgba(139, 21, 56, 0.2); }
    100% { box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4); }
}

@keyframes chatNotification {
    0% { 
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(139, 21, 56, 0.3);
    }
    50% { 
        transform: scale(1.15);
        box-shadow: 0 8px 24px rgba(139, 21, 56, 0.5), 0 0 0 15px rgba(139, 21, 56, 0.15);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(139, 21, 56, 0.3);
    }
}



/* Mobile fullscreen overlay */
@media (max-width: 768px) {
    .chat-window {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
        z-index: 10000 !important;
    }
    
    .chat-window.active {
        animation: slideUpMobile 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .chat-header {
        padding: 20px 16px 16px 16px;
        position: sticky;
        top: 0;
        z-index: 1;
    }
    
    .chat-body {
        padding: 20px 16px;
        height: calc(100vh - 200px);
        overflow-y: auto;
    }
    
    .chat-form {
        padding: 16px;
        position: sticky;
        bottom: 0;
        background: var(--color-bg-white);
        border-top: 2px solid var(--color-border);
    }
}

/* Tablet sizing */
@media (min-width: 769px) and (max-width: 1024px) {
    .chat-window {
        width: 350px !important;
        height: 450px !important;
        right: 20px !important;
    }
}

@keyframes slideUp {
    from { 
        transform: translateY(30px) scale(0.95); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}

@keyframes slideUpMobile {
    from { 
        transform: translateY(100vh); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}



@keyframes chatHeaderPulse {
    0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.7; }
}










/* PHASE 7: MOBILE OPTIMIZATION */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    
    .header-flex {
        padding: 0 var(--space-sm);
    }
    
    .nav-menu {
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    :root {
        --font-h1: 36px;
        --font-h2: 28px;
        --font-h3: 20px;
        --section-padding: 32px;
    }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    
    .site-header {
        padding: var(--space-sm) 0;
    }
    
    .header-flex {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-sm);
        padding: var(--space-sm);
        min-height: auto;
        align-items: center;
    }
    
    .header-logo {
        order: 1;
        flex: 1 1 auto;
        text-align: left;
    }
    
    .header-logo img {
        height: 70px;
    }
    
    .main-navigation {
        order: 3;
        margin: 0;
        flex: 0 0 100%;
        max-width: none;
        margin-top: var(--space-sm);
    }
    
    .nav-menu {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 4px;
    }
    
    .nav-menu a {
        font-size: 11px;
        padding: 4px 6px;
        letter-spacing: 0.2px;
    }
    
    .nav-menu .new-client-btn {
        font-size: 10px;
        padding: 4px 6px;
    }
    
    .header-right {
        order: 2;
        justify-content: flex-end;
        flex: 0 0 auto;
        margin-top: 0;
    }
    
    .language-toggle {
        font-size: 12px;
    }
    
    .btn-sm {
        padding: var(--space-xs);
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .chat-window {
        width: calc(100vw - 40px);
        height: 400px;
        right: 20px;
        bottom: 90px;
    }
}

@media (max-width: 480px) {
    .metrics-grid { grid-template-columns: 1fr; }
    
    .header-logo img {
        height: 60px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .nav-menu {
        gap: var(--space-xs);
    }
    
    .nav-menu a {
        font-size: 14px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.hidden { display: none; }
.visible { display: block; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* PHASE 4: NEW CLIENT PAGE STYLES */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-xl);
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 70px;
    width: 2px;
    height: calc(100% + 32px);
    background-color: var(--color-border);
}

.timeline-number {
    flex: 0 0 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-right: var(--space-md);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding-top: var(--space-xs);
}

.timeline-content h3 {
    color: var(--color-text-dark);
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    color: var(--color-text-light);
}

/* FAQ Section */
.faq-item {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.faq-item h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-size: 18px;
}

.faq-item p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    background-color: var(--color-bg-white);
    border-radius: 8px;
    padding: var(--space-xl);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--color-text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: var(--font-body);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(139, 21, 56, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: var(--font-body);
    color: var(--color-text-dark);
}

/* Chat Widget Enhancements */



/* Button Size Variant */
.btn-sm {
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 20px;
}

/* Service Card Lists */
.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: var(--space-xs);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Mobile Timeline Adjustments */
@media (max-width: 768px) {
    .timeline-item {
        margin-bottom: var(--space-lg);
    }
    
    .timeline-number {
        flex: 0 0 40px;
        height: 40px;
        font-size: 18px;
        margin-right: var(--space-sm);
    }
    
    .timeline-item:not(:last-child)::after {
        left: 20px;
        top: 50px;
    }
    
    .contact-form {
        padding: var(--space-md);
    }
}

/* PHASE 8: FOOTER ORGANIZATION - WHITE BACKGROUND */
.site-footer {
    background-color: var(--color-bg-footer) !important;
    color: var(--color-text-footer) !important;
    margin-top: var(--section-padding);
    border-top: 1px solid var(--color-border);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-widgets {
    padding: var(--section-padding) 0;
    display: block !important;
    visibility: visible !important;
}

.footer-widgets .grid-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    visibility: visible !important;
}

.footer-widgets .container {
    display: block !important;
    visibility: visible !important;
}

.footer-widget h4 {
    color: var(--color-text-dark) !important;
    margin-bottom: var(--space-md);
    font-size: 18px !important;
    font-weight: bold !important;
    display: block !important;
    visibility: visible !important;
}

.footer-widget p {
    color: var(--color-text-footer) !important;
    line-height: var(--line-height-body);
    margin-bottom: var(--space-md);
    display: block !important;
    visibility: visible !important;
}

.footer-widget {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Social Icon SVGs */
.social-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
}

.social-icon path {
    fill: var(--color-bg-white);
    transition: var(--transition-smooth);
}

.social-links a:hover .social-icon path {
    fill: var(--color-primary);
}

/* Footer Menu */
.footer-menu {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: block !important;
    visibility: visible !important;
}

.footer-menu li {
    margin-bottom: var(--space-xs);
    display: block !important;
    visibility: visible !important;
}

.footer-menu a {
    color: var(--color-text-medium) !important;
    transition: var(--transition-smooth);
    display: block !important;
    visibility: visible !important;
    text-decoration: none;
}

.footer-menu a:hover {
    color: var(--color-primary) !important;
}

/* Footer Contact Info */
.footer-widget .contact-info {
    display: flex !important;
    flex-direction: column;
    gap: var(--space-md);
    visibility: visible !important;
}

.footer-widget .contact-item {
    display: flex !important;
    align-items: flex-start;
    gap: var(--space-sm);
    visibility: visible !important;
}

.footer-widget .contact-item i {
    color: var(--color-primary) !important;
    font-size: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
    display: block !important;
    visibility: visible !important;
}

.footer-widget .contact-item div {
    flex: 1;
    display: block !important;
    visibility: visible !important;
}

.footer-widget .contact-item strong {
    color: var(--color-text-dark) !important;
    display: block !important;
    margin-bottom: 2px;
    visibility: visible !important;
}

.footer-widget .contact-item a {
    color: var(--color-text-medium) !important;
    transition: var(--transition-smooth);
    display: inline !important;
    visibility: visible !important;
    text-decoration: none;
}

.footer-widget .contact-item a:hover {
    color: var(--color-primary) !important;
}

/* Footer Bottom */
.footer-bottom {
    background-color: var(--color-bg-light);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-border);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.copyright {
    color: var(--color-text-medium);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-md);
}

.footer-bottom-links a {
    color: var(--color-text-medium);
    font-size: 14px;
    transition: var(--transition-smooth);
}

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

/* Footer Mobile Responsive */
@media (max-width: 768px) {
    .footer-widgets .grid-3 {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* PHASE 9: PERFORMANCE OPTIMIZATION */
/* Optimize animations for better performance */
.service-card,
.testimonial-slide,
.timeline-item,
.faq-item {
    will-change: transform, opacity;
}

/* Improve font loading */
@font-display: swap;

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .chat-button {
        animation: none;
    }
    
    .service-card:hover,
    .btn:hover {
        transform: none;
    }
}

/* REMOVE ALL BLUE COLORS - FORCE BURGUNDY/GREY SCHEME */
* {
    color: inherit !important;
}

a, button, .btn, .button {
    color: var(--color-primary) !important;
}

.btn-primary, .button-primary, .wp-block-button__link {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-bg-white) !important;
}

.btn-primary:hover, .button-primary:hover, .wp-block-button__link:hover {
    background-color: var(--color-text-dark) !important;
    border-color: var(--color-text-dark) !important;
    color: var(--color-bg-white) !important;
}

/* Remove any blue from WordPress core */
.wp-block-button .wp-block-button__link,
.has-primary-color,
.has-primary-background-color {
    background-color: var(--color-primary) !important;
    color: var(--color-bg-white) !important;
}

/* COMPREHENSIVE ANIMATIONS AND MICROINTERACTIONS */
/* Smooth page transitions */
.site-main {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Enhanced button hover effects */
.btn, .button, button[type="submit"], button[type="button"] {
    position: relative;
    overflow: hidden;
}

.btn::before, .button::before, button[type="submit"]::before, button[type="button"]::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, height 0.6s;
    pointer-events: none;
}

.btn:hover::before, .button:hover::before, 
button[type="submit"]:hover::before, button[type="button"]:hover::before {
    width: 300px;
    height: 300px;
}

/* Service card enhanced animations */
.service-card {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 12px 32px rgba(139, 21, 56, 0.2);
}

.service-icon {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotateY(15deg);
    color: var(--color-primary);
}

/* Metric cards animation enhancement */
.metric-item {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.metric-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 21, 56, 0.1), transparent);
    transition: left 0.6s;
}

.metric-item:hover::before {
    left: 100%;
}

.metric-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 28px rgba(139, 21, 56, 0.15);
}

/* Navigation link animations */
.nav-menu a {
    position: relative;
    overflow: hidden;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

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

/* Form field focus animations */
input:focus, textarea:focus, select:focus {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(139, 21, 56, 0.15);
    border-color: var(--color-primary);
}

/* Logo hover animation */
.header-logo img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Footer link hover effects */
.footer-menu a, .social-links a {
    transition: all 0.3s ease;
    position: relative;
}

.footer-menu a:hover, .social-links a:hover {
    transform: translateY(-2px);
    color: var(--color-primary);
}

/* Testimonial enhanced animations */
.testimonial-slide {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(139, 21, 56, 0.1);
}

/* Loading animation for forms */
.btn.loading {
    position: relative;
    color: transparent !important;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Staggered scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Override for metrics section - disable scroll animations */
.performance-metrics .animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.performance-metrics .metric-number {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

.performance-metrics .metric-visualization {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.stagger-children > * {
    animation: slideInUp 0.6s ease-out backwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating elements */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Text reveal animation */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transform: translateX(-100%);
    animation: reveal 1.5s ease-out forwards;
}

@keyframes reveal {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Override for metrics section - disable scroll animations */
.performance-metrics .animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.performance-metrics .metric-number {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

.performance-metrics .metric-visualization {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

/* Override for metrics section stagger children */
.performance-metrics .stagger-children > * {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.stagger-children.in-view > * {
    opacity: 1;
    transform: translateY(0);
}

/* Bounce animation for success states */
.bounce-in {
    animation: bounceIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Parallax effect for hero section */
.hero-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Ripple effect for button clicks */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Form field enhancements */
.form-group {
    position: relative;
    transition: all 0.3s ease;
}

.form-group.focused {
    transform: translateY(-2px);
}

.form-group.has-value label {
    color: var(--color-primary);
    transform: translateY(-5px) scale(0.9);
}

.form-group label {
    transition: all 0.3s ease;
    transform-origin: left center;
}

/* Success button state */
.btn.success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

.btn.success::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
}

/* Enhanced hover states for interactive elements */
.interactive-element {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.interactive-element:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 21, 56, 0.15);
}

/* Icon rotation on hover */
.rotatable-icon {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rotatable-icon:hover {
    transform: rotate(360deg);
}

/* Scale effect for images */
.scalable-image {
    transition: transform 0.4s ease;
    overflow: hidden;
}

.scalable-image:hover {
    transform: scale(1.05);
}

/* Smooth color transitions */
.color-transition {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Elastic bounce for special interactions */
.elastic-bounce:hover {
    animation: elasticBounce 0.6s ease;
}

@keyframes elasticBounce {
    0% { transform: scale(1); }
    20% { transform: scale(1.1); }
    40% { transform: scale(0.95); }
    60% { transform: scale(1.05); }
    80% { transform: scale(0.98); }
    100% { transform: scale(1); }
}

/* Glow effect for featured elements */
.glow-effect {
    transition: box-shadow 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 20px rgba(139, 21, 56, 0.4);
}

/* Slide in effects for content */
.slide-in-left {
    transform: translateX(-100px);
    opacity: 0;
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    transform: translateX(0);
    opacity: 1;
}

.slide-in-right {
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    transform: translateX(0);
    opacity: 1;
}

/* Typewriter effect */
.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--color-primary);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--color-primary); }
}

/* Progress bar animation */
.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--color-bg-light);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-primary), 
        transparent
    );
    animation: loading 2s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Disable animations for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-section {
        background-attachment: scroll;
    }
    
    .ripple, .typewriter, .progress-bar::before {
        animation: none !important;
    }
}

/* DEBUG STYLES FOR CAREERS PAGE */
.job-listings {
    margin-top: 40px;
}

.job-listings div {
    background: white !important;
    padding: 32px !important;
    margin: 20px 0 !important;
    border: 2px solid #8B1538 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
}

.job-listings h3 {
    color: #8B1538 !important;
    font-size: 24px !important;
    margin-bottom: 16px !important;
}

.job-listings p {
    margin-bottom: 12px !important;
    color: #333 !important;
}

.job-listings ul {
    margin: 16px 0 !important;
    padding-left: 20px !important;
}

.job-listings li {
    margin-bottom: 8px !important;
    color: #666 !important;
}

/* COMPREHENSIVE BUTTON OVERRIDE - FORCE BURGUNDY THEME ON ALL FILES */
/* Override ALL button variations across all CSS files */
.button, .btn, button[type="submit"], button[type="button"], 
.wp-element-button, .wp-block-button__link,
input[type="submit"], input[type="button"], input[type="reset"],
.button-primary, .btn-primary, .primary-button,
.cta-button, .contact-button, .form-button,
.portal-button, .login-button, .service-button {
    background-color: var(--color-primary) !important;
    color: var(--color-text-white) !important;
    border: 2px solid var(--color-primary) !important;
    font-family: var(--font-family) !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: var(--space-sm) var(--space-lg) !important;
    border-radius: 4px !important;
    transition: var(--transition-smooth) !important;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer !important;
    background: var(--color-primary) !important; /* Override gradients */
}

/* Override ALL button hover states */
.button:hover, .btn:hover, button[type="submit"]:hover, button[type="button"]:hover,
.wp-element-button:hover, .wp-block-button__link:hover,
input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover,
.button-primary:hover, .btn-primary:hover, .primary-button:hover,
.cta-button:hover, .contact-button:hover, .form-button:hover,
.portal-button:hover, .login-button:hover, .service-button:hover {
    background-color: var(--color-text-dark) !important;
    border-color: var(--color-text-dark) !important;
    color: var(--color-text-white) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.3) !important;
    background: var(--color-text-dark) !important; /* Override gradients */
}

/* Override ALL secondary/outline buttons */
.button-secondary, .btn-secondary, .btn-outline, .secondary-button,
.outline-button, .border-button {
    background-color: transparent !important;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary) !important;
    background: transparent !important; /* Override gradients */
}

/* Override ALL secondary button hover states */
.button-secondary:hover, .btn-secondary:hover, .btn-outline:hover, .secondary-button:hover,
.outline-button:hover, .border-button:hover {
    background-color: var(--color-primary) !important;
    color: var(--color-text-white) !important;
    border-color: var(--color-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.3) !important;
    background: var(--color-primary) !important; /* Override gradients */
}

/* Kill ALL blue color variations */
* {
    --primary-color: var(--color-primary) !important;
    --secondary-color: var(--color-text-dark) !important;
    --service-color: var(--color-primary) !important;
}

/* Override specific problematic CSS file classes */
/* main.css overrides */
.button {
    background-color: var(--color-primary) !important;
}

/* premium-theme.css overrides */
.btn-primary::before {
    display: none !important; /* Remove shine effect */
}

/* Portal CSS overrides */
.btn-sm {
    padding: var(--space-xs) var(--space-md) !important;
    font-size: 14px !important;
}

/* Focus States */
.btn:focus,
.nav-menu a:focus,
.language-switch:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.social-links a:focus,
.footer-menu a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* TRUST & CERTIFICATIONS SECTION */
.trust-certifications {
    background: var(--color-bg-light);
    padding: var(--section-padding) 0;
}

.trust-certifications .section-title {
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--color-text-dark);
}

.trust-certifications .section-subtitle {
    text-align: center;
    margin-bottom: var(--space-xxl);
    color: var(--color-text-medium);
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xxl);
}

.certification-item {
    background: var(--color-bg-white);
    border-radius: 12px;
    padding: var(--space-xl);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 21, 56, 0.15);
    border-color: var(--color-primary);
}

.cert-badge {
    position: relative;
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, var(--color-primary), #A61E46);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
}

.cert-svg {
    width: 40px;
    height: 40px;
    fill: var(--color-bg-white);
}

.cert-badge h4 {
    color: var(--color-text-dark);
    font-size: 20px;
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.cert-badge p {
    color: var(--color-text-medium);
    line-height: var(--line-height-body);
    font-size: 14px;
}

/* Client Trust Bar */
.client-trust-bar {
    background: var(--color-bg-white);
    border-radius: 12px;
    padding: var(--space-xl);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.client-trust-bar h3 {
    color: var(--color-text-dark);
    margin-bottom: var(--space-lg);
    font-size: 24px;
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.client-logo-placeholder {
    padding: var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    transition: var(--transition-smooth);
    background: var(--color-bg-light);
}

.client-logo-placeholder:hover {
    border-color: var(--color-primary);
    background: var(--color-bg-white);
    transform: translateY(-2px);
}

.client-logo-placeholder span {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.client-logo-placeholder small {
    color: var(--color-text-medium);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Professional Badge Animations */
@keyframes certPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.certification-item:hover .cert-icon {
    animation: certPulse 0.6s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .client-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .cert-icon {
        width: 60px;
        height: 60px;
    }
    
    .cert-svg {
        width: 30px;
        height: 30px;
    }
}
/* Add top padding to body for floating header */
body {
    padding-top: 120px;
}

@media (max-width: 768px) {
    .site-header {
        width: calc(100% - 32px);
        top: 12px;
        padding: 12px 20px;
        border-radius: 12px;
    }
    
    .site-header.sticky {
        top: 8px;
        padding: 10px 20px;
    }
    
    body {
        padding-top: 100px;
    }
}

/* Move gradient to body so it shows behind floating header */
body {
    background: linear-gradient(135deg,
        #ffffff 0%,
        #fefefe 25%,
        #fcfdfd 50%,
        #fefefe 75%,
        #ffffff 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Remove duplicate gradients from page templates */
.page-template-page-about,
.page-template-page-contact,
.page-template-page-careers,
.page-template-page-new-client {
    background: transparent !important;
}

/* Reduce body padding since gradient now starts at top */
body {
    padding-top: 100px !important;
}

@media (max-width: 768px) {
    body {
        padding-top: 90px !important;
    }
}

/* Remove admin bar offset if present */
body.admin-bar .site-header {
    top: calc(32px + 20px);
}

body.admin-bar {
    padding-top: 132px !important;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: calc(46px + 20px);
    }
    
    body.admin-bar {
        padding-top: 146px !important;
    }
}

/* Full page shimmer that extends to top */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg,
        transparent 0%,
        rgba(255, 182, 193, 0.015) 20%,
        rgba(255, 192, 203, 0.025) 40%,
        rgba(255, 105, 180, 0.02) 60%,
        rgba(255, 228, 225, 0.015) 80%,
        transparent 100%);
    animation: waveFlow 12s ease-in-out infinite;
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: linear-gradient(240deg,
        transparent 0%,
        rgba(255, 192, 203, 0.01) 25%,
        rgba(255, 182, 193, 0.02) 50%,
        rgba(219, 112, 147, 0.015) 75%,
        transparent 100%);
    animation: waveFlow2 18s ease-in-out infinite;
    z-index: -1;
    filter: blur(100px);
    pointer-events: none;
}

/* Ensure seamless shimmer from top to bottom */
body {
    background: linear-gradient(135deg,
        #ffffff 0%,
        #fefefe 25%,
        #fcfdfd 50%,
        #fefefe 75%,
        #ffffff 100%) !important;
}

#page.site,
.site-main,
.site-content,
.hero-section,
.hero-background {
    background: transparent !important;
}

/* Remove padding from hero section to eliminate line */
.hero-section,
.hero-background {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Center hero content vertically */
.hero-content {
    margin-top: -100px !important;
}

/* Fix logo white background */
.header-logo img {
    background: transparent !important;
    mix-blend-mode: multiply;
}

/* Reduce excessive bottom padding on hero section */
.hero-section,
.hero-background {
    padding-bottom: 40px !important;
}

/* Reduce hero section height so metrics bar appears right after */
.hero-section,
.hero-background {
    min-height: auto !important;
    padding: 100px 20px 60px !important;
}

/* Remove negative margin that's pushing content down */
.hero-content {
    margin-top: 0 !important;
}

/* Ensure metrics bar appears right after hero */
.metrics-bar {
    margin-top: 0 !important;
    padding-top: 40px !important;
}

/* Increase bottom padding on hero section */
.hero-section,
.hero-background {
    padding-bottom: 120px !important;
}

/* Move hero content down to center between header and metrics */
.hero-content {
    margin-top: 40px !important;
}

/* Redesigned Metrics Bar - Elegant and Subtle */
.metrics-bar {
    background: transparent !important;
    padding: 40px 0 !important;
}

.metric-item {
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(139, 21, 56, 0.1) !important;
    border-radius: 16px !important;
    padding: 30px 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
}

.metric-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 30px rgba(139, 21, 56, 0.15) !important;
    border-color: rgba(139, 21, 56, 0.3) !important;
}

.metric-number {
    color: #8B1538 !important;
    font-size: 48px !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
}

.metric-label {
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* Restore Burgundy Band for Metrics Section with Nice Cards */
.metrics-bar {
    background: linear-gradient(135deg, #8B1538 0%, #6B0F2B 100%) !important;
    padding: 60px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.metric-item {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 35px 25px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.metric-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;
    background: rgba(255, 255, 255, 1) !important;
}

.metric-number {
    color: #8B1538 !important;
    font-size: 52px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.metric-label {
    color: #333333 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Make logo larger and move it to the right */
.header-logo {
    margin-left: 30px !important;
}

.header-logo img {
    height: 100px !important;
    width: auto !important;
}

/* Slightly larger logo - not huge */
.header-logo img {
    height: 90px !important;
}

/* Logo at 85px - just slightly larger than original 80px */
.header-logo img {
    height: 85px !important;
}

/* Logo at 81px and reduce dead space */
.header-logo img {
    height: 81px !important;
}

/* Reduce spacing between logo and navigation */
.header-logo {
    margin-right: -20px !important;
}

.main-navigation {
    margin-left: 0 !important;
}

/* Pull navigation much closer to logo */
.header-logo {
    margin-right: -40px !important;
}

/* Optimize logo rendering for high PPI displays */
.header-logo img {
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    -webkit-font-smoothing: antialiased !important;
    backface-visibility: hidden !important;
    transform: translateZ(0) !important;
}

/* Better centered header layout */
.header-flex {
    justify-content: center !important;
    gap: 40px !important;
}

.header-logo {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.main-navigation {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.header-right {
    margin-left: 0 !important;
}

/* Move hero content up to center better */
.hero-content {
    margin-top: -60px !important;
}

/* Force logo to display at proper size with high quality */
.header-logo img {
    width: auto !important;
    max-width: 162px !important;
    height: auto !important;
    max-height: 81px !important;
    image-rendering: -webkit-optimize-contrast !important;
    -webkit-font-smoothing: antialiased !important;
    transform: translateZ(0) !important;
}

/* Let browser use highest quality scaling for retina logo */
.header-logo img {
    image-rendering: auto !important;
    image-rendering: -webkit-optimize-contrast !important;
}

/* Display logo at proper size with full quality */
.header-logo img {
    width: 250px !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

/* Fix About and Careers hero sections - move them up */
.page-template-page-about .professional-hero,
.page-template-page-careers .careers-hero {
    padding-top: 100px !important;
    margin-top: -80px !important;
}

/* Also fix any other hero sections on pages */
.about-hero,
.contact-hero {
    padding-top: 100px !important;
    margin-top: -80px !important;
}

/* Fix all page hero sections - move them up significantly */
.professional-hero,
.careers-hero,
.about-hero,
.contact-hero,
.page-hero {
    padding-top: 120px !important;
    min-height: auto !important;
}

/* Standardize all hero sections to same starting height */
.hero-section,
.professional-hero,
.careers-hero,
.about-hero,
.contact-hero,
.page-hero,
.business-hero,
.consumer-hero {
    padding-top: 140px !important;
    padding-bottom: 60px !important;
    min-height: auto !important;
}

/* Make sure page content starts at same point */
.site-content {
    margin-top: 0 !important;
}

/* New Client / Business Solutions page - match modern design */
.page-template-page-new-client {
    background: transparent !important;
}

.page-template-page-new-client .hero-section,
.page-template-page-new-client .business-hero {
    background: transparent !important;
}

/* Style business solutions cards to match metrics cards */
.business-solutions .service-card,
.solutions-grid .solution-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(139, 21, 56, 0.1) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.business-solutions .service-card:hover,
.solutions-grid .solution-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.15) !important;
}

/* Make New Client page match other pages - transparent with shimmer */
.page-template-page-new-client,
.page-template-page-new-client .site-content,
.page-template-page-new-client main {
    background: transparent !important;
}

/* Remove any colored backgrounds from sections */
.page-template-page-new-client section,
.page-template-page-new-client .business-section,
.page-template-page-new-client .solutions-section {
    background: transparent !important;
}

/* Match text colors to other pages */
.page-template-page-new-client h1,
.page-template-page-new-client h2,
.page-template-page-new-client h3 {
    color: #333333 !important;
}

.page-template-page-new-client p {
    color: #666666 !important;
}

/* Remove shimmer from body on all pages except home */
body:not(.home)::before,
body:not(.home)::after {
    display: none !important;
}

/* Simple white background for all pages except home */
body:not(.home) {
    background: #ffffff !important;
}

/* Keep shimmer only on home page */
body.home {
    background: linear-gradient(135deg,
        #ffffff 0%,
        #fefefe 25%,
        #fcfdfd 50%,
        #fefefe 75%,
        #ffffff 100%) !important;
}

/* Force WordPress admin bar dashicons to display properly */
#wpadminbar .ab-icon.dashicons-before:before,
#wpadminbar .ab-icon:before {
    font-family: 'dashicons' !important;
    font-size: 20px !important;
    font-weight: normal !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Override any Font Awesome conflicts */
#wpadminbar * {
    font-family: inherit !important;
}

#wpadminbar .dashicons {
    font-family: 'dashicons' !important;
}

/* Hide broken X icons in admin bar */
#wpadminbar #wp-admin-bar-site-name .ab-icon:before,
#wpadminbar #wp-admin-bar-customize .ab-icon:before {
    content: '' !important;
    display: none !important;
}

/* Add some padding to compensate for missing icon */
#wpadminbar #wp-admin-bar-site-name > .ab-item,
#wpadminbar #wp-admin-bar-customize > .ab-item {
    padding-left: 10px !important;
}

/* Hide any img tags that show as X */
#wpadminbar img[src*='emoji'] {
    display: none !important;
}

/* Force load dashicons font on frontend */
@font-face {
    font-family: 'dashicons';
    src: url('/wp-includes/fonts/dashicons.woff2') format('woff2'),
         url('/wp-includes/fonts/dashicons.woff') format('woff'),
         url('/wp-includes/fonts/dashicons.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Ensure admin bar uses dashicons */
#wpadminbar .ab-icon:before,
#wpadminbar .dashicons-before:before {
    font-family: 'dashicons' !important;
    speak: none !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Smaller header on mobile */
    .site-header {
        width: calc(100% - 20px) !important;
        padding: 10px 15px !important;
        top: 10px !important;
    }
    
    /* Smaller logo on mobile */
    .header-logo img {
        height: 50px !important;
    }
    
    /* Stack navigation on mobile */
    .main-navigation {
        display: none;
    }
    
    /* Smaller header right section */
    .header-right {
        font-size: 12px;
    }
    
    /* Reduce hero section padding on mobile */
    .hero-section,
    .professional-hero,
    .careers-hero,
    .about-hero,
    .contact-hero {
        padding-top: 100px !important;
        padding-bottom: 40px !important;
    }
    
    /* Smaller hero text on mobile */
    .hero-title {
        font-size: 28px !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
    }
    
    /* Stack buttons on mobile */
    .hero-cta {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .hero-cta .btn {
        width: 100% !important;
    }
    
    /* Fix metrics bar on mobile */
    .metrics-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }
    
    .metric-item {
        padding: 20px 15px !important;
    }
    
    .metric-number {
        font-size: 32px !important;
    }
    
    /* Reduce chat widget size on mobile */
    #tidio-chat {
        max-width: 280px !important;
        max-height: 400px !important;
    }
    
    /* Make office location cards stack on mobile */
    .office-locations .container > div {
        grid-template-columns: 1fr !important;
    }
}

/* Fix hero sections for pages with fixed header */
body.page-template-page-contact main,
body.page-template-page-about main,
body.page-template-page-new-client main {
    padding-top: 120px !important;
}

/* Adjust hero section padding since main has padding now */
body.page-template-page-contact .contact-hero,
body.page-template-page-about .about-hero,
body.page-template-page-new-client .new-client-hero {
    padding-top: 80px !important;
}

/* Fix hero sections - using correct page IDs */
body.page-id-9 main,
body.page-id-8 main,
body.page-template-page-new-client main {
    padding-top: 120px !important;
}

body.page-id-9 .contact-hero,
body.page-id-8 .about-hero,
body.page-template-page-new-client .new-client-hero {
    padding-top: 60px !important;
}

/* Fix hero sections - increased padding */
body.page-id-9 main,
body.page-id-8 main,
body.page-template-page-new-client main {
    padding-top: 160px !important;
}

body.page-id-9 .contact-hero,
body.page-id-8 .about-hero,
body.page-template-page-new-client .new-client-hero {
    padding-top: 80px !important;
}
