/* CSS Variables for Design System */
:root {
    /* Color Palette */
    --color-primary: #E637BF; /* Shocking Pink */
    --color-primary-hover: #FF858D; /* Grapefruit Pink */
    --color-secondary: #667eea; /* Blue */
    --color-navy: #1B4079; /* Regal Navy */
    --color-navy-dark: #0f244a;
    --color-text: #333333;
    --color-text-secondary: #666666;
    --color-text-light: #555555;
    --color-bg: #FBF7F4; /* Parchment */
    --color-bg-alt: #f8f9fa;
    --color-white: #ffffff;
    --color-border: #e9ecef;
    --color-shadow: rgba(0, 0, 0, 0.1);
    --color-shadow-hover: rgba(0, 0, 0, 0.15);
    --color-focus: #667eea;
    --color-focus-ring: rgba(102, 126, 234, 0.3);
    --color-success: #d4edda;
    --color-success-text: #155724;
    --color-success-border: #c3e6cb;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 40px;
    --font-size-5xl: 48px;
    --font-size-6xl: 64px;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 20px;
    --spacing-xl: 24px;
    --spacing-2xl: 32px;
    --spacing-3xl: 40px;
    --spacing-4xl: 60px;
    --spacing-5xl: 80px;
    --spacing-6xl: 100px;
    --spacing-7xl: 120px;
    --spacing-8xl: 140px;
    
    /* Shadows */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-focus: 0 0 0 3px var(--color-focus-ring);
    --shadow-hover: 0 6px 20px rgba(102, 126, 234, 0.4);
    
    /* Borders */
    --border-radius-sm: 6px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-full: 50%;
    --border-width: 2px;
    --border-color: var(--color-border);
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --animation-duration: 0.3s;
    --animation-timing: ease-in-out;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --color-text: #000000;
        --color-text-secondary: #000000;
        --color-text-light: #000000;
        --color-bg: #ffffff;
        --color-bg-alt: #ffffff;
        --color-border: #000000;
    }
    
    /* Enhanced high contrast for services sections */
    .audit-benefit-card {
        border-left: 4px solid #000000;
        background: #ffffff;
        color: #000000;
    }
    
    .audit-benefit-card:hover {
        background: #ffffff;
        border-left: 4px solid #000000;
    }
    
    .audit-benefit-card h4 {
        color: #000000;
    }
    
    .audit-benefit-card p {
        color: #000000;
    }
    
    .process-step {
        border: 2px solid #000000;
        background: #ffffff;
        color: #000000;
    }
    
    .process-step:hover {
        border-color: #000000;
        background: #ffffff;
    }
    
    .step-badge {
        background: #000000;
        color: #ffffff;
        border: 2px solid #000000;
    }
    
    .step-content h3 {
        color: #000000;
    }
    
    .step-content p {
        color: #000000;
    }
    
    .services-cta {
        background: #000000;
        color: #ffffff;
    }
    
    .services-cta .btn-primary {
        background: #000000;
        color: #ffffff;
        border: 2px solid #ffffff;
    }
    
    .services-cta .btn-primary:hover {
        background: #ffffff;
        color: #000000;
    }
    
    .services-cta .btn-secondary {
        background: #ffffff;
        color: #000000;
        border: 2px solid #000000;
    }
    
    .services-cta .btn-secondary:hover {
        background: #000000;
        color: #ffffff;
    }
    
    /* Enhanced focus states for high contrast */
    .audit-benefit-card:focus,
    .process-step:focus,
    .services-cta .btn:focus {
        outline: 3px solid #000000;
        outline-offset: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-bg);
    font-size: var(--font-size-base);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: #E637BF; /* Shocking Pink */
    color: #FFFFFF; /* White text */
    border: 2px solid #E637BF; /* Shocking Pink border */
    box-shadow: 0 4px 15px rgba(230, 55, 191, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 133, 141, 0.6);
    background: #FF858D; /* Grapefruit Pink on hover */
    color: #000000; /* Black text on hover */
    border-color: #FF858D;
}

.btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    transition: transform var(--transition-fast);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-image {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    margin-top: 60px;
    transition: transform var(--transition-normal);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.nav-logo:hover .logo-image {
    transform: rotate(5deg) scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-normal);
    position: relative;
    padding: 8px 12px;
    border-radius: var(--border-radius-md);
}

.nav-link:hover {
    color: var(--color-primary);
    background: rgba(230, 55, 191, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: 20px;
}

/* Skip Navigation Link */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-md);
    transition: background var(--transition-fast);
}

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-text);
    margin: 4px 0;
    transition: all var(--transition-normal);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
/* MOVED TO CONSOLIDATED_MEDIA_BLOCK */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: left var(--transition-normal);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 40px 20px;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: var(--font-size-2xl);
        padding: 16px 20px;
        width: 100%;
        text-align: center;
        border-radius: var(--border-radius-lg);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-cta {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1B4079 0%, #000000 100%);
    color: white;
}

.hero-content {
    flex: 1;
    padding: 100px 20px 100px 0;
    max-width: 600px;
    margin-left: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title-accent {
    color: #ffd700;
    font-size: 5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 600px;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.floating-element span {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}

.ai-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 40%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.element-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 1s;
}



/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1B4079;
    position: relative;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    border-radius: 3px;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Problem Solution Section */
.problem-solution {
    padding: 100px 0 120px;
    background: #f8f9fa;
}

.solution-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.step-visual {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.step-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pulse-ring {
    width: 80px;
    height: 80px;
    border: 2px solid #667eea;
    border-radius: 50%;
    position: absolute;
    animation: pulse 2s infinite;
}

.pulse-ring-delay {
    animation-delay: 1s;
}



.target-lines {
    width: 60px;
    height: 60px;
    position: relative;
}

.target-lines::before,
.target-lines::after {
    content: '';
    position: absolute;
    background: #667eea;
    animation: target 2s infinite;
}

.target-lines::before {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.target-lines::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes target {
    0%, 100% {
        transform: scaleX(0) scaleY(0);
        opacity: 1;
    }
    50% {
        transform: scaleX(1) scaleY(1);
        opacity: 0.5;
    }
}

.rocket-trail {
    width: 60px;
    height: 60px;
    position: relative;
}

.rocket-trail::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 20px;
    background: linear-gradient(to top, #667eea, transparent);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation: rocket 1s infinite;
}

@keyframes rocket {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) scaleY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scaleY(1);
    }
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

/* Services Preview */
.services-preview {
    padding: 100px 0 120px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 42px; /* increased gap for more space between cards */
    margin-top: 60px;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: grid;
    grid-template-rows: 240px 1fr 120px; /* slightly reduced header/footer heights */
    min-height: 520px; /* reduced minimum height for tighter cards */
    margin: 20px; /* add spacing around each card */
    cursor: default; /* ensure card itself doesn't show pointer */
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Tier-specific styling */
.tier-beginner {
    border-top: 4px solid #4CAF50; /* Green */
}

.tier-beginner .card-header {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

.tier-intermediate {
    border-top: 4px solid #2196F3; /* Blue */
}

.tier-intermediate .card-header {
    background: linear-gradient(135deg, #2196F3 0%, #42A5F5 100%);
}

.tier-advanced {
    border-top: 4px solid #9C27B0; /* Purple */
}

.tier-advanced .card-header {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%);
}

/* Card Header Styles */
.card-header {
    padding: 20px 20px 14px; /* reduced padding */
    padding-right: 20px;
    text-align: left;
    position: relative;
    border-radius: 16px 16px 0 0;
    color: white;
    min-height: 200px; /* increased header height to show description */
    display: grid;
    grid-template-columns: 60px 1fr 110px; /* icon | center column | badge (wider so badge fits) */
    grid-template-rows: auto auto auto; /* row1: icon/badge, row2: title, row3: description */
    column-gap: 20px;
    padding-right: 24px; /* inset content from card edge so badge isn't clipped */
    align-items: start;
}

.service-level {
    /* Place the tier badge in the header's right column (desktop grid) */
    position: relative;
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    justify-self: end;
    align-self: start;
    margin-right: 95px; /* inset from right edge so badge is fully visible */
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px; /* slightly smaller so it fits comfortably */
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-right: 12px;
    margin-bottom: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    justify-self: start;
    margin-left: 12px;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 6px 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    justify-self: center;
    text-align: center;
}

.card-header p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.6;
    margin: 0;
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    justify-self: start;
    text-align: left;
    padding-top: 8px;
    max-width: 100%;
    white-space: normal; /* allow wrapping */
    overflow-wrap: anywhere; /* ensure long words wrap to fit card */
    word-break: break-word;
    overflow: visible;
}

/* Card Body Styles */
.card-body {
    padding: 18px 20px 16px; /* reduced padding for tighter card content */
}

.card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-body li {
    padding: 8px 0; /* slightly reduced vertical spacing */
    position: relative;
    padding-left: 30px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.card-body li:last-child {
    border-bottom: none;
}

.card-body li:hover {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 6px;
    padding-left: 38px;
}

.card-body li::before {
    content: '✓';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid #667eea;
}

/* Card Footer Styles */
.card-footer {
    padding: 20px 30px 30px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.service-tier-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tier-badge {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #667eea;
}

.tier-desc {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Enhanced button styling for service cards */
.service-card .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    text-align: center;
}

.service-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    color: white;
}

/* Accessibility improvements */
.service-card:focus-within {
    outline: 3px solid var(--color-focus-ring);
    outline-offset: 2px;
}

/* Enhanced accessibility for service cards */
.service-card {
    cursor: pointer;
}

.service-card a {
    display: inline-block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.service-card .btn-primary {
    cursor: pointer;
    min-height: 44px; /* WCAG touch target size */
    min-width: 44px;
}

/* Screen reader improvements */

/* High contrast mode support for service cards */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #000000;
    }
    
    .tier-beginner {
        border-top: 4px solid #000000;
    }
    
    .tier-intermediate {
        border-top: 4px solid #000000;
    }
    
    .tier-advanced {
        border-top: 4px solid #000000;
    }
    
    .card-header {
        background: #000000;
        color: #ffffff;
    }
    
    .service-level {
        background: #ffffff;
        color: #000000;
        border: 1px solid #000000;
    }
    
    .card-footer {
        background: #ffffff;
        border-top: 1px solid #000000;
    }
    
    .service-card .btn-primary {
        background: #000000;
        color: #ffffff;
        border: 2px solid #000000;
    }
}

/* Performance optimizations */
.service-card {
    will-change: transform;
}

.service-icon {
    will-change: transform;
}

/* CTA Section */
.cta-section {
    padding: 100px 0 140px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Testimonials */

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 80px 0 30px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: space-evenly;
}

.social-link {
    color: #a0aec0;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #667eea;
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    color: #a0aec0;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(230, 55, 191, 0.4);
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.chat-icon {
    font-size: 24px;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

.chat-message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
}

.chat-message.user {
    background: #667eea;
    color: white;
    margin-left: auto;
}

.chat-message.admin {
    background: white;
    color: #333;
    border: 1px solid #e9ecef;
}

.chat-input {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
}

.chat-input button {
    padding: 12px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.chat-input button:hover {
    background: #5a67d8;
}

/* Enhanced Card Headers */
.card-header h3,
.team-member h3,
.opening-header h3,
.blog-card h3,
.related-post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
    position: relative;
    padding-bottom: 8px;
}

.card-header h3::after,
.team-member h3::after,
.opening-header h3::after,
.blog-card h3::after,
.related-post-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
}

/* Enhanced Blog Post Headers */
.blog-post-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.blog-post-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    border-radius: 2px;
}

.blog-post-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.blog-post-meta span {
    display: inline-block;
    margin-right: 20px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Enhanced Contact Form Headers */
.contact-form-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
    position: relative;
    padding-bottom: 12px;
}

.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    border-radius: 2px;
}

/* Contact Page Styles */
.contact-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    color: white;
    text-align: center;
}

/* Services Audit Section Styles */
.audit-section {
    padding: 100px 0 120px;
    background: #f8f9fa;
}

.audit-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.audit-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1B4079;
    position: relative;
    padding-bottom: 15px;
}

.audit-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    border-radius: 3px;
}

.audit-text p {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.audit-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: 30px;
}

.audit-benefit-card {
    padding: var(--spacing-md);
    background: var(--color-bg-alt);
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
    border-left: 4px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

.audit-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: white;
}

.audit-benefit-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.audit-benefit-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.audit-visual {
    text-align: center;
}

.audit-visual {
    text-align: center;
}

.roi-circle {
    display: inline-block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(230, 55, 191, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(230, 55, 191, 0.1);
}

.roi-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.roi-circle:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background: rgba(230, 55, 191, 0.08);
}

.roi-percentage {
    font-size: 3rem;
    font-weight: 800;
    color: #1B4079;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
    margin-bottom: 4px;
}

.roi-label {
    font-size: 0.9rem;
    color: #1B4079;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    z-index: 2;
}

/* Process Section Styles */
.process-section {
    padding: 100px 0 120px;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    margin-top: 60px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(102, 126, 234, 0.3);
}

.step-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.step-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Services CTA Section Styles */
.services-cta {
    padding: 120px 0 140px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 150%;
    background: repeating-conic-gradient(
        from 0deg,
        rgba(255,255,255,0.05) 0deg 20deg,
        transparent 20deg 40deg
    );
    animation: rotate 20s linear infinite;
    top: -50%;
    left: -100%;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 3;
}

.services-cta .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.services-cta .btn-primary:hover {
    background: white;
    color: #E637BF;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.services-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.services-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px);
}

/* Animation for kinetic background */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobile responsive adjustments */
/* MOVED TO CONSOLIDATED_MEDIA_BLOCK */
@media (max-width: 768px) {
    .audit-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .services-cta {
        padding: 80px 0 100px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .audit-benefits {
        grid-template-columns: 1fr;
    }
    
    /* Enhanced mobile accessibility */
    .audit-benefit-card {
        min-height: 80px;
        padding: 16px;
    }
    
    .audit-benefit-card h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .audit-benefit-card p {
        font-size: 0.9rem;
    }
    
    .process-step {
        padding: 20px;
        min-height: 120px;
    }
    
    .step-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    /* CTA mobile optimization */
    .services-cta .btn-primary,
    .services-cta .btn-secondary {
        padding: 14px 24px;
        font-size: 16px;
        min-height: 48px;
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Touch target optimization */
    .audit-benefit-card,
    .process-step {
        min-height: 60px;
    }
    
    /* Improved spacing for mobile */
    .audit-text p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .audit-visual {
        margin-top: 20px;
    }
}

/* Services Hero Section */
.services-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #1B4079 0%, #2a5a99 100%);
    color: white;
    text-align: center;
}

/* Blog Hero Section */
.blog-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

/* Blog Post Hero Section */
.blog-post-hero {
    padding: 200px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
}

.blog-post-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-post-header p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.blog-post-header .btn {
    color: white;
    border: 2px solid white;
    background: transparent;
    box-shadow: none;
    transition: all 0.3s ease;
}

.blog-post-header .btn:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Blog Content Section */
.blog-content {
    padding: 100px 0 120px;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 60px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.ai-icon {
    font-size: 4rem;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    z-index: 2;
}

.blog-card:hover .ai-icon {
    transform: scale(1.1) rotate(5deg);
}

.blog-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1;
}

.blog-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    position: relative;
    padding-bottom: 8px;
}

.blog-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.blog-date,
.blog-read-time {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card .btn-outline {
    align-self: flex-start;
    margin-top: auto;
    border-color: #667eea;
    color: #667eea;
    background: transparent;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-card .btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter-section {
    padding: 100px 0 120px;
    background: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.newsletter-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    border-radius: 3px;
}

.newsletter-text p {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    align-items: center;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    min-width: 250px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.newsletter-form .btn {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
}

/* Categories Section */
.categories-section {
    padding: 100px 0 120px;
    background: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 2.5rem;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    position: relative;
    padding-bottom: 8px;
}

.category-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    border-radius: 2px;
}

.category-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.category-card .btn {
    margin-top: auto;
    align-self: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Blog CTA Section */
.blog-cta {
    padding: 120px 0 140px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-cta::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 150%;
    background: repeating-conic-gradient(
        from 0deg,
        rgba(255,255,255,0.05) 0deg 20deg,
        transparent 20deg 40deg
    );
    animation: rotate 20s linear infinite;
    top: -50%;
    left: -100%;
    z-index: 0;
}

.blog-cta .cta-content {
    position: relative;
    z-index: 2;
}

.blog-cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-cta .cta-content p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.blog-cta .cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 3;
}

.blog-cta .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.blog-cta .btn-primary:hover {
    background: white;
    color: #E637BF;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.blog-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.blog-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px);
}

/* Blog Post Content Section */
.blog-post-content {
    padding: 100px 0 120px;
    background: #f8f9fa;
}

.blog-post-article {
    background: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

/* Blog Categories Styling */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.blog-categories-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #999;
    margin-right: 4px;
}

.category-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f8f9fa;
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-1px);
}

.category-tag:active {
    transform: translateY(0);
}

.blog-post-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.blog-post-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.blog-post-date,
.blog-post-read-time {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-post-body {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.blog-post-body h1,
.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4 {
    color: #333;
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}

.blog-post-body h1 {
    font-size: 2.5rem;
}

.blog-post-body h2 {
    font-size: 2rem;
}

.blog-post-body h3 {
    font-size: 1.5rem;
}

.blog-post-body h4 {
    font-size: 1.25rem;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-post-body ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.blog-post-body a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-post-body a:hover {
    border-bottom-color: #667eea;
}

.blog-post-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

/* Related Posts Section */
.related-posts {
    padding: 100px 0 120px;
    background: white;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.related-post-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.related-post-image {
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-post-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #333;
    position: relative;
    padding-bottom: 8px;
}

.related-post-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
}

.related-post-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

/* Blog Post CTA Section */
.blog-post-cta {
    padding: 120px 0 140px;
    background: linear-gradient(135deg, #1B4079 0%, #2a5a99 100%);
    color: white;
    text-align: center;
}

.blog-post-cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-post-cta .cta-content p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.blog-post-cta .cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-post-cta .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.blog-post-cta .btn-primary:hover {
    background: white;
    color: #1B4079;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.blog-post-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.blog-post-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px);
}

/* No Posts Section */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.no-posts h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.no-posts p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Mobile Responsive Adjustments */
/* MOVED TO CONSOLIDATED_MEDIA_BLOCK */
@media (max-width: 768px) {
    .blog-grid {
        gap: 2rem;
    }
    
    .blog-card {
        min-height: auto;
    }
    
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .blog-card h3 {
        font-size: 1.25rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .blog-post-article {
        padding: 30px 20px;
    }
    
    .blog-post-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-cta .cta-content h2 {
        font-size: 2rem;
    }
    
    .blog-post-cta .cta-content p {
        font-size: 1rem;
    }
}

/* About Hero Section */
.about-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
}

.about-header {
    position: relative;
    z-index: 2;
}

.about-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.about-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

/* Parallax Background Elements */

@keyframes parallax {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* Mission & Vision Section */
.mission-vision {
    padding: 100px 0 80px;
    background: #f8f9fa;
    margin-bottom: 80px;
}

/* Our Story Section */
.our-story {
    padding: 100px 0 120px;
    background: #f8f9fa;
    margin-bottom: 80px;
}

.story-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #667eea, #E637BF);
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 0;
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 40px;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    position: absolute;
    top: 0;
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-date {
    left: calc(50% - 30px);
}

.timeline-item:nth-child(even) .timeline-date {
    right: calc(50% - 30px);
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    margin-bottom: 20px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border-left: 4px solid #667eea;
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid #E637BF;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
    position: relative;
    padding-bottom: 8px;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
}

.timeline-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Horizontal Scroller for Mobile */
/* MOVED TO CONSOLIDATED_MEDIA_BLOCK */
@media (max-width: 768px) {
    .story-timeline {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 20px;
        scrollbar-width: thin;
        scrollbar-color: #667eea #f8f9fa;
    }
    
    .story-timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline-date {
        position: relative;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: none;
    }
    
    .timeline-content {
        margin: 0;
        border-left: 4px solid #667eea;
        border-right: none;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        border-left: 4px solid #667eea;
        border-right: none;
    }
}

/* Our Team Section */
.our-team {
    padding: 100px 0 120px;
    background: white;
    margin-bottom: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.team-member {
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    border: 2px solid transparent;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.member-photo {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #E637BF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar-icon {
    font-size: 5rem;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-normal);
}

.team-member:hover .avatar-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Decorative elements for team photos */
.member-photo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    position: relative;
    padding-bottom: 8px;
}

.member-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    border-radius: 2px;
}

.member-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Enhanced team member roles with icons */

/* Role-specific styling */
.team-member.strategy .member-photo {
    background: linear-gradient(135deg, #1B4079 0%, #2a5a99 100%);
}

.team-member.tech .member-photo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.team-member.training .member-photo {
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
}

.team-member.solutions .member-photo {
    background: linear-gradient(135deg, #36827F 0%, #2a5a99 100%);
}

/* Accessibility improvements */
.team-member:focus-within {
    outline: 3px solid var(--color-focus-ring);
    outline-offset: 2px;
}

/* Performance optimizations */
.member-photo {
    will-change: transform;
}

.avatar-icon {
    will-change: transform;
}

.team-member {
    will-change: transform;
}

/* Values Section */
.values-section {
    padding: 100px 0 120px;
    background: #f8f9fa;
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    perspective: 1000px;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 3D Flip Card Effect */

.value-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    transition: transform var(--transition-normal);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
    position: relative;
    padding-bottom: 8px;
}

.value-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
}

.value-card p {
    font-size: 1rem;
    color: #555;
    text-align: center;
    line-height: 1.6;
}

/* Back side content */

/* Parallax Effect for Mission & Vision */
.mission-content,
.vision-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.mission-content::before,
.vision-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.mission-text,
.vision-text {
    position: relative;
    z-index: 1;
}

.mission-text h2,
.vision-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1B4079;
    position: relative;
    padding-bottom: 15px;
}

.mission-text h2::after,
.vision-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    border-radius: 3px;
}

.mission-text p,
.vision-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.mission-visual,
.vision-visual {
    text-align: center;
    position: relative;
    z-index: 1;
}

.mission-icon,
.vision-icon {
    font-size: 4rem;
    opacity: 0.8;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

/* Floating decorative elements */
.mission-visual::before,
.vision-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    z-index: -1;
}

.mission-visual::after,
.vision-visual::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: rgba(230, 55, 191, 0.2);
    border-radius: 50%;
    animation: float 5s ease-in-out infinite reverse;
    z-index: -1;
}

.vision-content {
    grid-template-columns: 1fr 2fr;
    margin-bottom: 0;
}

.vision-text {
    order: 2;
}

.vision-visual {
    order: 1;
}

/* Enhanced animations */


@keyframes pulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Join Hero Section */
.join-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    text-align: center;
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.contact-form-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.contact-form-section > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:not([type="checkbox"]):focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}


.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    min-height: 24px;
}


.checkbox-option input {
    margin-top: 0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid #e9ecef;
    background: #ffffff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-option input:checked {
    background: #E637BF;
    border-color: #E637BF;
    box-shadow: 0 0 0 3px rgba(230, 55, 191, 0.3);
}

.checkbox-option input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}


.checkbox-label {
    font-size: 15px;
    line-height: 1.4;
    color: #555;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    text-align: center;
}

.success-message h3 {
    margin-bottom: 10px;
    color: #155724;
}

.contact-info-section {
    position: sticky;
    top: 100px;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.contact-info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.why-choose-list {
    list-style: none;
    padding: 0;
}

.why-choose-list li {
    margin-bottom: 16px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.why-choose-list li::before {
    content: '✓';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #E637BF 0%, #FF858D 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.step-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: #555;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.contact-method:hover {
    background: #f8f9fa;
    color: #667eea;
}

.method-icon {
    font-size: 20px;
}

/* AI Familiarity Slider */
.ai-familiarity-slider {
    margin-top: 16px;
}

.ai-familiarity-slider input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    margin: 20px 0 10px 0;
}

.ai-familiarity-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #E637BF;
    cursor: pointer;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(230, 55, 191, 0.3);
    transition: all 0.2s ease;
}

.ai-familiarity-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(230, 55, 191, 0.5);
}

.ai-familiarity-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #E637BF;
    cursor: pointer;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(230, 55, 191, 0.3);
    transition: all 0.2s ease;
}

.ai-familiarity-slider input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(230, 55, 191, 0.5);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    position: relative;
}

.slider-labels span {
    flex: 1;
}

.slider-labels span:nth-child(1) {
    text-align: left;
}

.slider-labels span:nth-child(2) {
    text-align: center;
}

.slider-labels span:nth-child(3) {
    text-align: right;
}

.slider-description {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #E637BF;
    font-style: italic;
    color: #555;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.slider-description.updating {
    opacity: 0.7;
    transform: scale(0.98);
}


/* Responsive Design */
/* MOVED TO CONSOLIDATED_MEDIA_BLOCK */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title-accent {
        font-size: 3rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .solution-steps {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .chat-window {
        width: calc(100vw - 40px);
        height: 400px;
        right: -10px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-section {
        position: static;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-info-card {
        padding: 20px;
    }

    .floating-elements {
        display: none;
    }

    /* Mobile-specific service card adjustments */
    .service-card {
        margin-bottom: 20px;
    }

    .card-header {
        min-height: 160px;
        padding: 25px 20px 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .service-level {
        position: static;
        margin-bottom: 15px;
        align-self: flex-start;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .card-header h3 {
        font-size: 1.25rem;
    }

    .card-header p {
        font-size: 0.9rem;
    }

    .card-body {
        padding: 20px;
    }

    .card-body li {
        padding-left: 20px;
    }

    .card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .service-tier-info {
        text-align: center;
    }

    .service-card .btn-primary {
        width: 100%;
        text-align: center;
    }
}

/* Performance Optimizations */

/* Font Loading Strategy */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lazy Loading for Images */

/* Critical CSS for Above-the-Fold Content */
.hero,
.navbar {
    will-change: transform;
}

/* Reduce repaints on scroll */
body {
    will-change: scroll-position;
}

/* Optimize animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
        will-change: transform;
    }
    50% {
        transform: translateY(-20px);
        will-change: transform;
    }
}

/* SVG Icons Optimization */
.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
    overflow: visible;
}

/* Reduce layout thrashing */
.container {
    contain: layout style;
}

/* Optimize focus states */
*:focus {
    outline-offset: 2px;
}

/* Improve touch responsiveness */
button, a {
    touch-action: manipulation;
}

/* Reduce motion for better performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Chat Preview Button Styles */
.chat-preview {
    position: relative;
    padding: 18px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(230, 55, 191, 0.1), rgba(102, 126, 234, 0.1));
    border: 2px solid var(--color-border);
    transition: all var(--transition-normal);
}

.chat-preview:hover {
    background: linear-gradient(135deg, rgba(230, 55, 191, 0.15), rgba(102, 126, 234, 0.15));
    border-color: rgba(102, 126, 234, 0.3);
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

.btn-chat {
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: var(--font-size-lg);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
    text-decoration: none;
    color: white;
    border: none;
    cursor: pointer;
}

/* Service Tier Gradients */
.card-l1 .btn-chat {
    background: linear-gradient(135deg, #9C27B0 0%, #673AB7 100%);
    color: white;
}

.card-l2 .btn-chat {
    background: linear-gradient(135deg, #2196F3 0%, #009688 100%);
    color: white;
}

.card-l3 .btn-chat {
    background: linear-gradient(135deg, #1B4079 0%, #2a5a99 100%);
    color: white;
}

/* Chat Button Hover Effects */
.btn-chat:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: var(--shadow-hover);
    letter-spacing: 0.3px;
}

@keyframes pulseDot {
    0% { 
        transform: scale(0.9); 
        box-shadow: 0 0 0 0 rgba(230, 55, 191, 0.7); /* Shocking Pink */
    }
    70% { 
        transform: scale(1.1); 
        box-shadow: 0 0 0 12px rgba(230, 55, 191, 0); /* Shocking Pink */
    }
    100% { 
        transform: scale(0.9); 
        box-shadow: 0 0 0 0 rgba(230, 55, 191, 0); /* Shocking Pink */
    }
}

.button-text {
    flex: 1;
    text-align: center;
}

.chevron {
    font-size: 16px;
    transition: transform var(--transition-normal);
}

.btn-chat:hover .chevron {
    transform: translateX(3px);
}

/* Accessibility improvements */
.btn-chat:focus {
    outline: 3px solid var(--color-focus-ring);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .chat-preview {
        background: #ffffff;
        border: 2px solid #000000;
    }
    
    .btn-chat {
        background: #000000;
        color: #ffffff;
        border: 2px solid #000000;
    }
    
    .btn-chat:hover {
        background: #ffffff;
        color: #000000;
    }
}

/* Mobile responsive adjustments */
/* MOVED TO CONSOLIDATED_MEDIA_BLOCK */
@media (max-width: 768px) {
    .chat-preview {
        padding: 16px 20px;
    }
    
    .btn-chat {
        padding: 14px 20px;
        font-size: var(--font-size-base);
        gap: 10px;
    }
}

/* People-first CTA microcopy and accessible focus */
.cta-micro {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--color-text-secondary);
    text-align: center;
    line-height: 1.3;
}

.btn-chat:focus,
.btn-chat:focus-visible {
    box-shadow: var(--shadow-focus);
    outline: none;
}

/* Make the pulse-dot a perfect circle and refine its appearance */
.avatar-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 8px;
}

/* Chasing, subtle dots animation across the button background */
.btn-chat {
    position: relative;
    overflow: hidden;
}

.btn-chat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 220%;
    height: 100%;
    pointer-events: none;
    border-radius: inherit;
    /* two layered dot rows for a gentle chasing effect */
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.12) 0 3px, transparent 4px),
        radial-gradient(circle, rgba(255,255,255,0.08) 0 2.5px, transparent 3.5px);
    background-repeat: repeat-x, repeat-x;
    background-size: 56px 100%, 40px 100%;
    /* start off-screen left so dots move across */
    background-position: -112px 50%, -80px 50%;
    opacity: 1;
    animation: chaseDots 3.6s linear infinite;
    will-change: background-position, opacity;
}

@keyframes chaseDots {
    0% {
        background-position: -112px 50%, -80px 50%;
        opacity: 1;
    }
    70% {
        background-position: calc(100% + 112px) 50%, calc(100% + 80px) 50%;
        opacity: 0.06;
    }
    85% {
        /* short pause at near-invisible state */
        opacity: 0.06;
    }
    100% {
        /* jump back to start (creates a brief reset pause) */
        background-position: -112px 50%, -80px 50%;
        opacity: 1;
    }
}

/* Layout: question above, bullets + CTA side-by-side on desktop, collapse on mobile */
.service-card .card-body {
    display: block;
}

.service-card .card-question {
    margin-bottom: 12px;
}

.service-card .card-main {
    display: flex;
    align-items: center; /* vertical centering of bullets and CTA */
    gap: 24px;
}

.service-card .card-text {
    flex: 1 1 50%;
    min-width: 0;
}

.service-card .chat-preview {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 24px;
    border-left: 1px solid rgba(27,64,121,0.08); /* faint but visible divider */
    box-shadow: inset -1px 0 0 rgba(27,64,121,0.02);
}

.service-card .chat-preview .btn-chat {
    width: 100%;
}

/* MOVED TO CONSOLIDATED_MEDIA_BLOCK */
@media (max-width: 768px) {
    .service-card .card-main {
        flex-direction: column;
        align-items: stretch;
    }

    .service-card .chat-preview {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        margin-top: 12px;
        padding-left: 0;
        border-left: none; /* remove divider on mobile */
    }

    .service-card .chat-preview .btn-chat {
        width: 100%;
    }
}



/* Consolidated mobile rules (generated) */
@media (max-width: 768px) {
/* Block from occurrence 1 */
.mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: left var(--transition-normal);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 40px 20px;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: var(--font-size-2xl);
        padding: 16px 20px;
        width: 100%;
        text-align: center;
        border-radius: var(--border-radius-lg);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-cta {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

/* Block from occurrence 2 */
.audit-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .services-cta {
        padding: 80px 0 100px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .audit-benefits {
        grid-template-columns: 1fr;
    }
    
    /* Enhanced mobile accessibility */
    .audit-benefit-card {
        min-height: 80px;
        padding: 16px;
    }
    
    .audit-benefit-card h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .audit-benefit-card p {
        font-size: 0.9rem;
    }
    
    .process-step {
        padding: 20px;
        min-height: 120px;
    }
    
    .step-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    /* CTA mobile optimization */
    .services-cta .btn-primary,
    .services-cta .btn-secondary {
        padding: 14px 24px;
        font-size: 16px;
        min-height: 48px;
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Touch target optimization */
    .audit-benefit-card,
    .process-step {
        min-height: 60px;
    }
    
    /* Improved spacing for mobile */
    .audit-text p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .audit-visual {
        margin-top: 20px;
    }

/* Block from occurrence 3 */
.blog-grid {
        gap: 2rem;
    }
    
    .blog-card {
        min-height: auto;
    }
    
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .blog-card h3 {
        font-size: 1.25rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .blog-post-article {
        padding: 30px 20px;
    }
    
    .blog-post-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-cta .cta-content h2 {
        font-size: 2rem;
    }
    
    .blog-post-cta .cta-content p {
        font-size: 1rem;
    }

/* Block from occurrence 4 */
.story-timeline {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 20px;
        scrollbar-width: thin;
        scrollbar-color: #667eea #f8f9fa;
    }
    
    .story-timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline-date {
        position: relative;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: none;
    }
    
    .timeline-content {
        margin: 0;
        border-left: 4px solid #667eea;
        border-right: none;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        border-left: 4px solid #667eea;
        border-right: none;
    }

/* Block from occurrence 5 */
.hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title-accent {
        font-size: 3rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .solution-steps {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .chat-window {
        width: calc(100vw - 40px);
        height: 400px;
        right: -10px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-section {
        position: static;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-info-card {
        padding: 20px;
    }

    .floating-elements {
        display: none;
    }

    /* Mobile-specific service card adjustments */
    .service-card {
        margin-bottom: 20px;
    }

    .card-header {
        min-height: 160px;
        padding: 25px 20px 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .service-level {
        position: static;
        margin-bottom: 15px;
        align-self: flex-start;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .card-header h3 {
        font-size: 1.25rem;
    }

    .card-header p {
        font-size: 0.9rem;
    }

    .card-body {
        padding: 20px;
    }

    .card-body li {
        padding-left: 20px;
    }

    .card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .service-tier-info {
        text-align: center;
    }

    .service-card .btn-primary {
        width: 100%;
        text-align: center;
    }

/* Block from occurrence 6 */
.chat-preview {
        padding: 16px 20px;
    }
    
    .btn-chat {
        padding: 14px 20px;
        font-size: var(--font-size-base);
        gap: 10px;
    }

/* Block from occurrence 7 */
.service-card .card-main {
        flex-direction: column;
        align-items: stretch;
    }

    .service-card .chat-preview {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        margin-top: 12px;
        padding-left: 0;
        border-left: none; /* remove divider on mobile */
    }

    .service-card .chat-preview .btn-chat {
        width: 100%;
    }
}

/* --- 2026 Bento Grid & Glassmorphism Styles --- */
.services-overview {
    padding: 100px 0;
    background: radial-gradient(circle at top right, rgba(230, 55, 191, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(27, 64, 121, 0.05), transparent);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
    margin-top: 60px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(230, 55, 191, 0.15);
    border-color: var(--color-primary);
}

.bento-card.large {
    grid-column: span 2;
}

.bento-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-navy);
}

.bento-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.bento-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    align-self: flex-start;
}

.badge-beginner { background: rgba(76, 175, 80, 0.1); color: #2E7D32; }
.badge-intermediate { background: rgba(33, 150, 243, 0.1); color: #1565C0; }
.badge-advanced { background: rgba(230, 55, 191, 0.1); color: var(--color-primary); }

.bento-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.bento-features li {
    font-size: 0.95rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.bento-features li::before {
    content: "→";
    color: var(--color-primary);
    font-weight: bold;
}

.bento-visual {
    margin-top: auto;
    border-radius: 16px;
    overflow: hidden;
    height: 180px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bento-card:hover .bento-visual img {
    transform: scale(1.1);
}

.bento-footer {
    margin-top: 30px;
}

/* Responsive Bento */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-card.large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card.large {
        grid-column: span 1;
    }
}
