/* 
=======================================
Krystian Fikert - Technology Transformation Consultant
Complete CSS with Improved UX/UI and Accessibility
=======================================
*/

:root {
    /* Enhanced color palette with better contrast ratios */
    --primary: #0a3d7a;  /* Darker blue for better contrast */
    --primary-dark: #062952;
    --primary-light: #1354a5;
    --secondary: #0088cc;  /* Adjusted for better contrast */
    --secondary-dark: #006ba6;
    --accent: #4da3e6;
    --accent-success: #059669;  /* Darker green for better contrast */
    --accent-warning: #d97706;  /* Darker orange for better contrast */
    --accent-error: #dc2626;    /* Darker red for better contrast */
    --dark: #0f172a;  /* Very dark blue-gray */
    --dark-lighter: #1e293b;
    --light: #ffffff;  /* Pure white background */
    --light-alt: #f8fafc;  /* Very light gray */
    --text: #1e293b;  /* Much darker text for better contrast */
    --text-light: #475569;  /* Darker gray for better readability */
    --text-muted: #64748b;  /* Still muted but readable */
    --footer-bg: #0f172a;
    --footer-text: rgba(255, 255, 255, 0.95);
    
    /* Updated gradients with better contrast */
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-hover: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    --gradient-subtle: linear-gradient(135deg, rgba(10, 61, 122, 0.08), rgba(0, 136, 204, 0.08));
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    
    /* Enhanced spacing system */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Fluid spacing with better scaling */
    --fluid-space-sm: clamp(1rem, 3vw, 2rem);
    --fluid-space-md: clamp(2rem, 6vw, 4rem);
    --fluid-space-lg: clamp(3rem, 8vw, 6rem);
    --fluid-space-xl: clamp(4rem, 10vw, 8rem);
    
    /* Enhanced UI elements */
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    /* Enhanced shadows with better visibility */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.18);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --border-color: #e2e8f0;
    
    /* Focus outline for accessibility */
    --focus-outline: 3px solid var(--accent);
    --focus-outline-offset: 2px;
}

/* 
=======================================
Reset & Base Styles
=======================================
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
}

*:focus:not(:focus-visible) {
    outline: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 
=======================================
Typography
=======================================
*/

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    position: relative;
    padding-bottom: 1rem;
    line-height: 1.2;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.3;
}

p {
    color: var(--text);
    line-height: 1.7;
}

.hero-subtitle-large {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Improved link styles */
a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover {
    color: var(--secondary);
}

/* Ensure buttons don't inherit link styles */
a.btn {
    text-decoration: none;
}

a.btn:hover {
    text-decoration: none;
}

/* 
=======================================
Button System with Better Contrast - FIXED
=======================================
*/

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    min-height: 48px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-md);
    border: none;
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
    text-decoration: none;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: white;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    padding: 0.5rem;
}

.btn-text:hover {
    color: var(--secondary);
}

/* 
=======================================
Header & Navigation with Better Contrast
=======================================
*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: white;
}

header.header-hidden {
    transform: translateY(-100%);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.mobile-nav-toggle:hover {
    background: var(--light-alt);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
    align-self: flex-end;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 2rem;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-xl);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
}

/* 
=======================================
Hero Section with Better Contrast
=======================================
*/

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(10, 61, 122, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 136, 204, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-subtle);
    border: 1px solid rgba(10, 61, 122, 0.2);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin: 2rem auto;
    font-weight: 400;
    max-width: 800px;
    color: var(--text);
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.trust-indicators {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    border: 1px solid var(--border-color);
}

.trust-badge i {
    color: var(--primary);
    font-size: 1rem;
}

/* Hero decorations */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-card);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.3;
}

.floating-element:nth-child(2) {
    animation-delay: 2s;
    width: 40px;
    height: 40px;
}

.floating-element:nth-child(3) {
    animation-delay: 4s;
    width: 80px;
    height: 80px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Hero image mobile */
.hero-image-mobile {
    display: none;
    margin: 2rem 0;
}

.hero-profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

@media (max-width: 768px) {
    .hero-image-mobile {
        display: block;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .trust-badges {
        gap: 1rem;
    }
}

/* 
=======================================
Success Metrics Dashboard with Dark Background - FIXED
=======================================
*/

.success-metrics {
    padding: var(--fluid-space-xl) 0;
    background: var(--dark);
    color: white;
}

.success-metrics h2 {
    color: white;
    text-align: center;
}

.success-metrics h2::after {
    background: white;
}

/* FIXED: Make the subtitle properly visible */
.success-metrics .section-header p {
    color: white !important;
    opacity: 0.95;
}

.metrics-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.success-metric {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-metric-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.success-metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.success-metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

/* 
=======================================
Expertise Section with Better Cards
=======================================
*/

.expertise {
    padding: var(--fluid-space-xl) 0;
    background: var(--light-alt);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

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

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: white;
}

.expertise-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.expertise-card p {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--gradient-subtle);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(10, 61, 122, 0.15);
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .expertise-card {
        padding: 2rem;
    }
}

/* 
=======================================
Services Section
=======================================
*/

.services {
    padding: var(--fluid-space-xl) 0;
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.service-package {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.service-package.premium {
    transform: scale(1.05);
    border: 2px solid var(--primary);
}

.service-package:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-package.premium:hover {
    transform: scale(1.05) translateY(-5px);
}

.package-ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-success);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
}

.package-header {
    padding: 2.5rem;
    text-align: center;
    background: var(--gradient-subtle);
    border-bottom: 1px solid var(--border-color);
}

.package-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.package-header h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.package-description {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0;
}

.package-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.package-features li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--accent-success);
    font-weight: bold;
    font-size: 1.1rem;
}

.package-cta {
    margin-top: auto;
    text-align: center;
}

@media (max-width: 768px) {
    .service-package.premium {
        transform: none;
    }
    
    .service-package.premium:hover {
        transform: translateY(-5px);
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
}

/* 
=======================================
Pricing Section with Dark Background - FIXED
=======================================
*/

.pricing-section {
    padding: var(--fluid-space-xl) 0;
    background: var(--gradient);
    color: white;
}

.pricing-section h2,
.pricing-section h3,
.pricing-section h4 {
    color: white;
}

.pricing-section h2::after {
    background: white;
}

/* FIXED: Make the subtitle properly visible */
.pricing-section .section-header p {
    color: white !important;
    opacity: 0.95;
}

.pricing-section p {
    color: rgba(255, 255, 255, 0.95);
}

.pricing-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-ribbon {
    position: absolute;
    top: 15px;
    right: -25px;
    background: var(--accent-success);
    color: white;
    padding: 0.25rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: white;
}

.pricing-header h3 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.3rem;
}

.pricing-rate {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.pricing-hourly {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}

.pricing-content {
    flex-grow: 1;
}

.pricing-features {
    list-style: none;
    margin: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #34d399;  /* Bright green for better contrast on dark bg */
    font-weight: bold;
}

.pricing-details {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-details h3 {
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.pricing-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-info h4 {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.pricing-info h4 i {
    color: #34d399;
}

.pricing-info p {
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.pricing-cta {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-cta h4 {
    color: white;
    margin-bottom: 1rem;
}

.pricing-cta p {
    margin-bottom: 2rem;
    opacity: 0.95;
}

.pricing-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* White buttons on dark background */
.pricing-section .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.pricing-section .btn-primary:hover {
    background: var(--light-alt);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pricing-section .btn-outline {
    border-color: white;
    color: white;
    background: transparent;
}

.pricing-section .btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .pricing-container {
        padding: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .pricing-info-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 
=======================================
Industry Focus
=======================================
*/

.industry-focus {
    padding: var(--fluid-space-xl) 0;
    background: var(--light-alt);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.industry-header {
    background: var(--gradient);
    color: white;
    padding: 2rem;
    text-align: center;
}

.industry-header h3 {
    color: white;
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.industry-content {
    padding: 2rem;
}

.industry-approach h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.industry-approach ul {
    color: var(--text);
}

.tech-focus {
    margin-top: 1.5rem;
}

.tech-focus h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }
}

/* 
=======================================
Case Studies Section
=======================================
*/

.case-studies {
    padding: var(--fluid-space-xl) 0;
    background: var(--light-alt);
}

.case-study-grid {
    margin-top: 3rem;
}

.case-study {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-bottom: 3rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.case-study:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.case-study.featured {
    border: 2px solid var(--primary);
}

.case-study-header {
    padding: 3rem;
    background: var(--gradient-subtle);
    border-bottom: 1px solid var(--border-color);
}

.case-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-study-header h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--dark);
}

.case-subtitle {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.case-study-content {
    padding: 3rem;
}

.case-overview h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.case-overview p {
    color: var(--text);
}

.case-overview ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.case-overview li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.case-metrics {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.metric {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.case-technologies {
    margin-top: 2rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.tech-item {
    background: var(--gradient-subtle);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(10, 61, 122, 0.15);
}

.case-study-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--gradient);
    border-radius: var(--border-radius-lg);
    color: white;
}

.case-study-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.case-study-cta p {
    margin-bottom: 2rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
}

/* White button on dark background */
.case-study-cta .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.case-study-cta .btn-primary:hover {
    background: var(--light-alt);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.case-impact h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .case-study-header,
    .case-study-content {
        padding: 2rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-study-cta {
        padding: 2rem;
    }
}

/* 
=======================================
Testimonials Section
=======================================
*/

.testimonials {
    padding: var(--fluid-space-xl) 0;
    background: var(--light-alt);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    min-height: 300px;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-info {
    text-align: center;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark);
}

.author-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
}

@media (max-width: 768px) {
    .testimonial-content {
        padding: 2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}

/* 
=======================================
Awards Section
=======================================
*/

.awards {
    padding: var(--fluid-space-xl) 0;
    background: var(--light);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.award-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.award-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.award-item.featured {
    background: var(--gradient-subtle);
    border: 2px solid var(--primary);
}

.award-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.award-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: var(--dark);
}

.award-content .award-year {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.award-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.awards-note {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.awards-note p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text);
}

.awards-note strong {
    color: var(--primary);
}

@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

/* 
=======================================
FAQ Section with Better Contrast
=======================================
*/

.faq {
    padding: var(--fluid-space-xl) 0;
    background: var(--light);
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-alt);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 600px;
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--dark);
}

.faq-answer a {
    color: var(--primary);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--secondary);
}

/* 
=======================================
About Section
=======================================
*/

.about {
    padding: var(--fluid-space-xl) 0;
    background: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.about-image {
    position: sticky;
    top: 120px;
}

.about-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.about-credentials {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.credential:last-child {
    border-bottom: none;
}

.credential i {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.credential span {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.4;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.about-intro p {
    color: var(--text);
}

.about-intro strong {
    color: var(--dark);
}

.achievements h3 {
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.achievement-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.achievement-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.achievement-content h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 1.1rem;
}

.achievement-content p {
    margin-bottom: 0;
    color: var(--text);
    line-height: 1.6;
}

.expertise-summary {
    margin-top: 3rem;
}

.expertise-summary h3 {
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.expertise-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.expertise-category {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.expertise-category h4 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skills-tags span {
    background: var(--light-alt);
    color: var(--text);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        position: static;
    }
    
    .expertise-areas {
        grid-template-columns: 1fr;
    }
}

/* 
=======================================
Contact Section with Dark Background - FIXED
=======================================
*/

.contact {
    padding: var(--fluid-space-xl) 0;
    background: var(--gradient);
    color: white;
}

.contact h2,
.contact h3,
.contact h4 {
    color: white;
}

.contact h2::after {
    background: white;
}

/* FIXED: Make the subtitle properly visible */
.contact .section-header p {
    color: white !important;
    opacity: 0.95;
}

.contact p {
    color: rgba(255, 255, 255, 0.95);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-options {
    display: grid;
    gap: 2rem;
}

.contact-option {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.contact-option.primary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-option:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.option-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option-header i {
    font-size: 1.5rem;
    color: white;
}

.option-header h3 {
    margin-bottom: 0;
    color: white;
}

.contact-option p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.contact-option ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.contact-option li {
    margin-bottom: 0.5rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
}

/* White buttons on dark background */
.contact-option .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.contact-option .btn-primary:hover {
    background: var(--light-alt);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-option .btn-outline {
    border-color: white;
    color: white;
    background: transparent;
}

.contact-option .btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-info {
    background: rgba(10, 61, 122, 0.3) !important;
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: fit-content;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-info:hover {
    transform: translateY(-5px);
    background: rgba(10, 61, 122, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* FIXED: Make "Get in Touch" visible with strong contrast */
.contact-details h3 {
    margin-bottom: 2rem;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-text strong {
    display: block;
    color: #ffffff !important;
    margin-bottom: 0.25rem;
    font-weight: 800;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-text a,
.contact-text span {
    color: #f8fafc !important;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
}

.contact-text a:hover {
    color: #ffffff !important;
    text-decoration: underline;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.availability {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.availability h4 {
    color: #ffffff !important;
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.availability p {
    opacity: 1;
    margin-bottom: 1.5rem;
    color: #f8fafc !important;
    font-weight: 600;
    font-size: 1rem;
}

.consultation-types h4 {
    color: #ffffff !important;
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.consultation-types ul {
    list-style: none;
    padding: 0;
}

.consultation-types li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    opacity: 1;
    color: #f8fafc !important;
    font-weight: 600;
    font-size: 1rem;
}

.consultation-types i {
    color: #34d399;
    font-size: 0.9rem;
}

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-option,
    .contact-info {
        padding: 2rem;
    }
}

/* 
=======================================
Footer with Better Contrast - FIXED
=======================================
*/

footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.footer-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-credentials span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 0;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--footer-text);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
}

.footer-section a:hover {
    color: white;
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 1rem;
}

.footer-legal-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

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

@media (max-width: 968px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}

/* 
=======================================
Policy Pages Styles
=======================================
*/

.policy-page {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: calc(100vh - 200px);
}

.policy-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}

.policy-card h1 {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-card h2 {
    margin-top: 2.5rem;
    color: var(--primary);
}

.policy-card h2::after {
    display: none;
}

.policy-card p {
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.6;
}

.policy-card ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.policy-card li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.policy-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.policy-card a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.policy-date {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-info {
    background: var(--light-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 2rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.back-btn i {
    margin-right: 0.5rem;
}

.back-btn:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cookie-table th, .cookie-table td {
    border: 1px solid var(--border-color);
    padding: 1rem;
    text-align: left;
}

.cookie-table th {
    background: var(--gradient-subtle);
    color: var(--primary);
    font-weight: 600;
}

.cookie-table td {
    color: var(--text);
}

.cookie-table tr:nth-child(even) {
    background: var(--light-alt);
}

.cookie-table tr:hover {
    background: rgba(10, 61, 122, 0.05);
}

/* 
=======================================
ROI Calculator Styles with Better Contrast
=======================================
*/

.calculator-hero {
    background: var(--gradient);
    color: white;
    padding: 3rem 0;
    margin-top: 80px;
    margin-bottom: 3rem;
}

.calculator-hero .container {
    text-align: center;
}

.calculator-hero h1 {
    color: white;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 3rem);
}

.calculator-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.back-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.calculator-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.calculator-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.calculator-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.calculator-section p {
    text-align: center;
    color: var(--text);
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group input,
.form-group select {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 61, 122, 0.1);
}

.help-text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.calculator-section .btn {
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0;
    display: flex;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.results-section {
    background: var(--gradient);
    color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-bottom: 3rem;
    display: none;
}

.results-section h2 {
    color: white;
    text-align: center;
}

.results-section h2::after {
    background: white;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.result-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-value {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.result-label {
    font-size: 0.9rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
}

.confidence-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

.confidence-high {
    background: var(--accent-success);
    color: white;
}

.confidence-medium {
    background: var(--accent-warning);
    color: white;
}

.confidence-conservative {
    background: #6b7280;
    color: white;
}

/* White button on dark background */
.results-section .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.results-section .btn-primary:hover {
    background: var(--light-alt);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.methodology-section {
    background: var(--light-alt);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-bottom: 3rem;
}

.methodology-section p {
    color: var(--text);
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.methodology-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.methodology-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.methodology-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.methodology-card p {
    color: var(--text);
}

.methodology-card p strong {
    color: var(--dark);
}

.savings-breakdown {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 3rem;
    display: none;
    border: 1px solid var(--border-color);
}

.savings-breakdown h3,
.savings-breakdown h4 {
    color: var(--dark);
}

.savings-breakdown p {
    color: var(--text);
}

.savings-breakdown ul {
    color: var(--text);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text);
}

.breakdown-item:last-child {
    border-bottom: none;
    font-weight: 600;
    background: var(--light-alt);
    margin: 1rem -1rem -1rem;
    padding: 1rem;
    border-radius: 8px;
}

.disclaimer {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.disclaimer h4 {
    color: #92400e;
    margin-bottom: 0.5rem;
}

.disclaimer p {
    color: #92400e;
    margin: 0;
    font-size: 0.875rem;
}

.sources-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.sources-section h2 {
    color: var(--dark);
}

.sources-section p {
    color: var(--text);
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.source-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition);
    background: white;
}

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

.source-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.source-card p {
    color: var(--text);
}

.source-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.source-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* 
=======================================
Utility Classes
=======================================
*/

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--fluid-space-sm);
}

.section-header {
    text-align: center;
    margin-bottom: var(--fluid-space-lg);
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* 
=======================================
Interactive Elements
=======================================
*/

/* Scroll to top button */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}
/* 
=======================================
Calendar Widget 
=======================================
*/
.calendar-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.calendar-toggle {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.calendar-toggle:hover {
    transform: scale(1.1);
}

.calendar-toggle.loading {
    opacity: 0.6;
    cursor: wait;
}

/* Hide calendar widget on mobile when contact section is visible */
@media (max-width: 768px) {
    .calendar-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .calendar-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}
/* Skip link accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 2000;
    transition: top 0.3s;
    opacity: 0;
    pointer-events: none;
    border-radius: 0 0 var(--border-radius-sm) 0;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
    opacity: 1;
    pointer-events: auto;
}

/* 
=======================================
Cookie Consent & Modals
=======================================
*/

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding: 1.5rem 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--border-color);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--dark);
}

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

.cookie-settings {
    margin: 1.5rem 0;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cookie-option input {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-option label {
    font-weight: 500;
    cursor: pointer;
    color: var(--dark);
}

.cookie-description {
    font-size: 0.9rem;
    color: var(--text);
    margin-top: 0.25rem;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    max-width: 700px;
    box-shadow: var(--shadow-xl);
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    width: 90%;
}

.modal-content h2 {
    color: var(--dark);
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.close:hover {
    background: var(--light-alt);
    color: var(--primary);
}

.modal-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.modal-body p {
    color: var(--text);
}

.modal-body strong {
    color: var(--dark);
}

.modal-body a {
    color: var(--primary);
}

.modal-body a:hover {
    color: var(--secondary);
}

/* 
=======================================
Responsive Design
=======================================
*/

@media (max-width: 576px) {
    :root {
        --fluid-space-sm: 1rem;
        --fluid-space-md: 1.5rem;
        --fluid-space-lg: 2rem;
        --fluid-space-xl: 2.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    #scrollToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .chat-widget {
        bottom: 90px;
        right: 20px;
    }
    
    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    /* Policy pages mobile */
    .policy-card {
        padding: 2rem;
    }
    
    /* Calculator mobile */
    .calculator-hero {
        padding: 2rem 0;
    }
    
    .calculator-section,
    .results-section,
    .methodology-section,
    .savings-breakdown,
    .sources-section {
        padding: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
    }
    
    .sources-grid {
        grid-template-columns: 1fr;
    }
}

/* 
=======================================
Print Styles
=======================================
*/

@media print {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    header,
    .cookie-consent,
    #scrollToTop,
    .chat-widget,
    .floating-element,
    .social-links,
    .testimonial-controls,
    .testimonial-dots {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .expertise-card,
    .service-package,
    .case-study {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* 
=======================================
Performance Optimizations
=======================================
*/

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .floating-element,
    .btn::before {
        animation: none;
        transition: none;
    }
    
    .expertise-card:hover,
    .service-package:hover,
    .case-study:hover,
    .testimonial-btn:hover,
    .chat-toggle:hover {
        transform: none;
    }
}

/* GPU acceleration for animations */
.expertise-card,
.service-package,
.case-study,
.btn,
.testimonial-btn,
.chat-toggle {
    will-change: transform;
    transform: translateZ(0);
}

.expertise-card:hover,
.service-package:hover,
.case-study:hover {
    will-change: auto;
}
/* 
=======================================
Floating Action Button (FAB)
=======================================
*/
.action-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.fab-main:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.fab-main i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.5rem;
}

.fab-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8) translateY(20px);
}

.action-fab.active .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.fab-action {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.fab-action:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.fab-action.fab-primary {
    background: var(--gradient);
    color: white;
}

.fab-action.fab-primary:hover {
    background: var(--gradient-hover);
}

/* Tooltip labels for FAB actions */
.fab-label {
    position: absolute;
    right: 58px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.fab-action:hover .fab-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-5px);
}

/* Hide scroll to top button initially */
#scrollToTopBtn {
    display: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .action-fab {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-main {
        width: 56px;
        height: 56px;
    }
    
    .fab-action {
        width: 44px;
        height: 44px;
    }
    
    /* Hide labels on mobile */
    .fab-label {
        display: none;
    }
}