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

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

/* Prevent any element from causing horizontal scroll */
*:not(html):not(body) {
    max-width: 100%;
}

/* ===========================
   Accessibility Improvements
   =========================== */

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Improved focus indicators */
*:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Ensure focus is visible on interactive elements */
.nav-links a:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:root {
    /* Premium Color Palette - Inspired by top-tier brands */
    --color-primary: #0A0E27;  /* Midnight Blue - sophisticated */
    --color-primary-dark: #000000;
    --color-primary-light: #1E293B;
    --color-accent: #00F5FF;  /* Cyan - tech-forward, memorable */
    --color-accent-dark: #00B8D4;
    --color-accent-light: #33E0FF;
    --color-gradient-start: #6366F1;  /* Indigo */
    --color-gradient-end: #00F5FF;    /* Cyan */
    --color-text-primary: #0F172A;  /* Slate 900 */
    --color-text-secondary: #475569;  /* Slate 600 */
    --color-text-light: #94A3B8;  /* Slate 400 */
    --color-bg-main: #FFFFFF;
    --color-bg-white: #FFFFFF;
    --color-bg-light: #F8FAFC;  /* Slate 50 */
    --color-bg-dark: #0F172A;
    --color-border: #E2E8F0;  /* Slate 200 */
    
    /* Typography - Better scale */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: var(--font-primary);
    
    /* Spacing - More generous */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 1rem;      /* 16px */
    --spacing-md: 2rem;      /* 32px */
    --spacing-lg: 4rem;      /* 64px */
    --spacing-xl: 7.5rem;    /* 120px - increased */
    
    /* Layout */
    --max-width: 1280px;  /* Wider for modern screens */
    --border-radius: 16px;  /* Softer */
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    
    /* Shadows - Layered depth */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
    width: 100%;
    height: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-primary);
    background-color: var(--color-bg-main);
    line-height: 1.7;  /* Better readability */
    font-size: 18px;  /* Larger base */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    /* Prevent horizontal swipe/bounce on mobile */
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-x: none;
    -webkit-overflow-scrolling: touch;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;  /* Tighter for headlines */
    color: var(--color-text-primary);
    letter-spacing: -0.025em;  /* Slightly tighter */
}

h1 {
    font-size: 4.5rem;  /* 72px - More impactful */
    letter-spacing: -0.03em;
}

h2 {
    font-size: 3rem;  /* 48px */
    letter-spacing: -0.02em;
}

h3 {
    font-size: 2rem;  /* 32px */
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1.5rem;  /* 24px */
}

p {
    color: var(--color-text-secondary);
    line-height: 1.8;  /* Even more spacious */
    font-size: 1.125rem;  /* 18px */
}

.text-large {
    font-size: 1.25rem;  /* 20px */
    line-height: 1.8;
}

/* ===========================
   Layout Components
   =========================== */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

section {
    padding: var(--spacing-xl) 0;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    width: 100%;
}

/* ===========================
   Navigation
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: var(--spacing-xs) var(--spacing-sm);
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white !important;
    border-radius: 8px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: var(--spacing-xs) var(--spacing-sm) !important;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: var(--color-accent) !important;
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-text-primary);
}

.mobile-menu-toggle svg {
    width: 28px;
    height: 28px;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    margin-top: 80px;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #fafafa 0%, #f0f4ff 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-with-image {
    background: none;
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    max-width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(37, 99, 235, 0.3) 100%);
}

.hero-with-image .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-with-image .hero-title {
    color: white;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-with-image .hero-subtitle {
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* New Hero Elements */
.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.hero-with-image .hero-eyebrow {
    color: var(--color-accent-light);
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.hero-trust-bar {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-with-image .hero-trust-bar {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.hero-trust-bar p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-align: center;
    font-weight: 500;
}

/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border: 1px solid rgba(0, 245, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(0, 245, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* ===========================
   What We Deliver Section
   =========================== */

.what-we-deliver {
    background-color: var(--color-bg-white);
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.delivery-card {
    background-color: var(--color-bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
    text-align: center;
}

.delivery-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

.delivery-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-radius: 20px;
    color: white;
}

.delivery-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
    font-size: 1.25rem;
}

.delivery-card p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===========================
   Blueprinting Method Section
   =========================== */

.blueprinting-method {
    background-color: var(--color-bg-light);
}

.method-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.method-step {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.method-step:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

.method-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-radius: 50%;
    color: white;
}

.step-label {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.method-step p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===========================
   Industries We Serve Section
   =========================== */

.industries-serve {
    background-color: var(--color-bg-white);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: var(--color-bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all var(--transition-fast);
}

.industry-item:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
}

.industry-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-radius: 50%;
    color: white;
    transition: all var(--transition-fast);
}

.industry-item:hover .industry-icon {
    background: white;
    color: var(--color-primary);
}

.industry-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    transition: color var(--transition-fast);
}

.industry-item:hover span {
    color: white;
}

/* ===========================
   Value Props Section
   =========================== */

.value-props {
    background-color: var(--color-bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.value-card {
    padding: var(--spacing-md);
    text-align: center;
    transition: transform var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-8px);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-radius: 20px;
    color: white;
}

.value-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.value-card p {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

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

.services {
    background-color: var(--color-bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background-color: var(--color-bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

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

.service-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

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

.about {
    background-color: var(--color-bg-white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.about-text p {
    margin-bottom: var(--spacing-md);
    font-size: 1.0625rem;
}

/* ===========================
   Contact Section
   =========================== */

.contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact .section-title {
    color: white;
}

.contact-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

.contact .btn-primary {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%) !important;
    color: white !important;
    border: 2px solid var(--color-accent) !important;
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.5), 0 0 40px rgba(0, 217, 255, 0.3) !important;
    font-weight: 700;
}

.contact .btn-primary:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%) !important;
    color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 217, 255, 0.7), 0 0 50px rgba(0, 217, 255, 0.4) !important;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background-color: #1a2332;
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

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

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.footer-cta-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.btn-footer {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid white;
    background-color: transparent;
    color: white;
}

.btn-footer:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.footer-newsletter {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-sm);
}

.newsletter-form-footer {
    display: flex;
    gap: var(--spacing-xs);
}

.newsletter-form-footer input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.9375rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all var(--transition-fast);
}

.newsletter-form-footer input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form-footer input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.btn-newsletter {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-newsletter:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

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

.footer-column h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.9375rem;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: white;
}

/* Remove old footer styles */
.footer-content {
    display: none;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    p {
        line-height: 1.8;
    }
    
    .mobile-menu-toggle {
        display: block;
        min-width: 44px;
        min-height: 44px;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: var(--spacing-md);
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: none;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem var(--spacing-md);
        width: 100%;
        min-height: 44px;
    }
    
    .hero {
        min-height: 70vh;
        padding: var(--spacing-lg) 0;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .delivery-grid {
        grid-template-columns: 1fr;
    }
    
    .method-steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }
    
    .btn-large {
        padding: 1rem 2.25rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .value-grid,
    .services-grid,
    .delivery-grid,
    .method-steps,
    .industry-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .newsletter-form-footer {
        flex-direction: column;
    }
    
    .btn-newsletter {
        width: 100%;
    }
}

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

.contact-hero {
    margin-top: 80px;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero-content h1 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.contact-hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.contact-form-section {
    background-color: var(--color-bg-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

/* Contact Form */
.form-container {
    background-color: var(--color-bg-white);
}

.form-container h2 {
    margin-bottom: var(--spacing-sm);
}

.form-intro {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.contact-form {
    margin-top: var(--spacing-md);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background-color: var(--color-bg-white);
    color: var(--color-text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group.focused label {
    color: var(--color-primary);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin-top: var(--spacing-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-label span {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    display: none;
    font-weight: 500;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Contact Info Cards */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-info-card {
    background-color: var(--color-bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.contact-info-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.contact-info-card > p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.contact-detail-item {
    display: flex;
    gap: var(--spacing-sm);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-detail-item > div {
    flex: 1;
}

.contact-detail-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-detail-item a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-detail-item a:hover {
    color: var(--color-primary-dark);
}

.contact-detail-item p {
    color: var(--color-text-primary);
    font-weight: 500;
    margin: 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: white;
    border: none;
}

.cta-card h3,
.cta-card p {
    color: white;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
}

.btn-outline {
    background-color: white;
    color: #1a1a1a;
    border: 2px solid white;
    margin-top: var(--spacing-sm);
}

.btn-outline:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

/* FAQ Section */
.faq-section {
    background-color: var(--color-bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.faq-item {
    background-color: var(--color-bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.faq-item p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-hero-content p {
        font-size: 1.125rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: var(--spacing-lg) 0;
    }
    
    .contact-hero-content h1 {
        font-size: 1.75rem;
    }
    
    .contact-hero-content p {
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
    }
}

/* ===========================
   Blog Page Styles
   =========================== */

.blog-hero {
    margin-top: 80px;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background: linear-gradient(135deg, #fafafa 0%, #f0f4ff 100%);
    text-align: center;
}

.blog-hero-content h1 {
    margin-bottom: var(--spacing-sm);
}

.blog-hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Post */
.featured-post-section {
    background-color: var(--color-bg-white);
    padding: var(--spacing-lg) 0;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.featured-post-image {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-post-image::before {
    content: "📊";
    font-size: 8rem;
    opacity: 0.3;
}

.featured-post-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.post-date,
.post-read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.post-category {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background-color: white;
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.featured-post-content h2 {
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.featured-post-content p {
    margin-bottom: var(--spacing-md);
    font-size: 1.0625rem;
}

/* Blog Grid */
.blog-posts-section {
    background-color: var(--color-bg-main);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.blog-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image::before {
    content: "📝";
    font-size: 4rem;
    opacity: 0.3;
}

.blog-card:nth-child(2) .blog-card-image {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.blog-card:nth-child(2) .blog-card-image::before {
    content: "⚡";
}

.blog-card:nth-child(3) .blog-card-image {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.blog-card:nth-child(3) .blog-card-image::before {
    content: "📈";
}

.blog-card:nth-child(4) .blog-card-image {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.blog-card:nth-child(4) .blog-card-image::before {
    content: "👥";
}

.blog-card:nth-child(5) .blog-card-image {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.blog-card:nth-child(5) .blog-card-image::before {
    content: "🔮";
}

.blog-card:nth-child(6) .blog-card-image {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.blog-card:nth-child(6) .blog-card-image::before {
    content: "🎯";
}

.blog-card:nth-child(7) .blog-card-image {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.blog-card:nth-child(7) .blog-card-image::before {
    content: "🔍";
}

.blog-card:nth-child(8) .blog-card-image {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.blog-card:nth-child(8) .blog-card-image::before {
    content: "🗺️";
}

.blog-card:nth-child(9) .blog-card-image {
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
}

.blog-card:nth-child(9) .blog-card-image::before {
    content: "💰";
}

.blog-card-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
    line-height: 1.4;
}

.blog-card-content p {
    margin-bottom: var(--spacing-md);
    flex: 1;
    font-size: 0.9375rem;
}

.read-more {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: var(--color-primary-dark);
}

/* Newsletter CTA */
.newsletter-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: var(--spacing-xl) 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all var(--transition-fast);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.newsletter-form button {
    white-space: nowrap;
}

/* Newsletter Subscription Messages */
.subscription-message {
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    transition: opacity var(--transition-normal);
}

.subscription-message.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: 1px solid #059669;
}

.subscription-message.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: 1px solid #dc2626;
}

/* Blog Page Responsive */
@media (max-width: 768px) {
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .featured-post-image {
        min-height: 250px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: var(--spacing-lg) 0;
    }
    
    .blog-hero-content h1 {
        font-size: 2rem;
    }
    
    .featured-post-content {
        padding: var(--spacing-md);
    }
    
    .featured-post-content h2 {
        font-size: 1.5rem;
    }
}

/* ===========================
   Services Page Styles
   =========================== */

.services-hero {
    margin-top: 80px;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #fafafa 0%, #f0f4ff 100%);
    text-align: center;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-hero-content h1 {
    margin-bottom: var(--spacing-md);
}

.services-hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
}

/* Services Detail */
.services-detail-section {
    background-color: var(--color-bg-white);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse .service-detail-content {
    direction: ltr;
}

.service-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

.service-detail h2 {
    margin-bottom: var(--spacing-sm);
}

.service-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.service-detail h3 {
    font-size: 1.125rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.service-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.service-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--color-text-secondary);
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.tag {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--color-border);
}

.service-detail-image {
    height: 400px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-image-1 {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.service-image-2 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.service-image-3 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.service-image-4 {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.service-icon {
    font-size: 8rem;
    opacity: 0.3;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.benefit-item {
    background-color: var(--color-bg-light);
    padding: var(--spacing-sm);
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--color-border);
}

.benefit-item strong {
    display: block;
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.benefit-item span {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* Approach Steps */
.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto var(--spacing-xs);
}

.step-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* Process Section */
.process-section {
    background-color: var(--color-bg-light);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.process-step {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
    border-color: var(--color-primary);
}

.process-step-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.process-step h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.process-step p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

/* Services CTA */
.services-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: var(--spacing-xl) 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Page Responsive */
@media (max-width: 968px) {
    .service-detail {
        grid-template-columns: 1fr;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .service-detail-image {
        height: 300px;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: var(--spacing-lg) 0;
    }
    
    .services-hero-content h1 {
        font-size: 2rem;
    }
    
    .service-detail {
        gap: var(--spacing-md);
    }
    
    .service-icon {
        font-size: 5rem;
    }
    
    .approach-steps {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Chatbot Styles
   =========================== */

.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: var(--font-primary);
}

.chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: var(--color-accent);
    border: 2px solid rgba(0, 217, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 217, 255, 0.2);
    transition: all var(--transition-normal);
    position: relative;
}

.chatbot-button:hover {
    transform: scale(1.1);
    border-color: var(--color-accent);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 217, 255, 0.4);
}

.chatbot-button.active {
    transform: scale(0.9);
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ef4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 600px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all var(--transition-normal);
}

.chatbot-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1rem;
    color: white;
}

.chatbot-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color var(--transition-fast);
}

.chatbot-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    background-color: #f9fafb;
}

.message {
    display: flex;
    gap: var(--spacing-xs);
    animation: messageSlide 0.3s ease;
}

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

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.message-content {
    max-width: 70%;
}

.message-content p {
    background-color: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.message-content p + p {
    margin-top: 0.75rem;
}

.message-content strong {
    font-weight: 600;
    color: var(--color-text-primary);
}

.message-content em {
    font-style: italic;
}

.message-content br {
    display: block;
    content: "";
    margin-top: 0.5rem;
}

.user-message .message-content p {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
}

.message-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.user-message .message-content a {
    color: white;
}

.quick-replies {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quick-reply {
    background-color: white;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
}

.quick-reply:hover {
    background-color: var(--color-primary);
    color: white;
}

.typing-indicator .message-content {
    background-color: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background-color: var(--color-text-light);
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chatbot-input-container {
    display: flex;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: white;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid var(--color-border);
}

.chatbot-input {
    flex: 1;
    border: 2px solid var(--color-border);
    border-radius: 20px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast);
}

.chatbot-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.chatbot-send {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chatbot-send:hover {
    transform: scale(1.1);
}

.chatbot-send:active {
    transform: scale(0.95);
}

/* Chatbot Mobile Responsive */
@media (max-width: 768px) {
    .chatbot-window {
        position: fixed;
        width: 100%;
        height: 100%;
        max-width: 100vw;
        max-height: 100vh;
        bottom: 0;
        right: 0;
        left: 0;
        top: 0;
        border-radius: 0;
    }
    
    .chatbot-header {
        border-radius: 0;
    }
    
    .chatbot-input-container {
        border-radius: 0;
    }
    
    .chatbot-container {
        right: 20px;
        bottom: 20px;
    }
    
    .chatbot-button {
        width: 56px;
        height: 56px;
    }
    
    .message-content {
        max-width: 80%;
    }
}

/* ===========================
   Cookie Consent Banner
   =========================== */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    font-family: var(--font-primary);
}

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    position: relative;
}

.cookie-consent-text {
    flex: 1;
    color: var(--color-text-primary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-buttons {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.cookie-btn {
    padding: 0.625rem 1.5rem;
    border-radius: 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    font-family: var(--font-primary);
}

.cookie-btn-preferences {
    background-color: transparent;
    color: var(--color-primary);
    border-color: transparent;
}

.cookie-btn-preferences:hover {
    text-decoration: underline;
}

.cookie-btn-deny {
    background-color: white;
    color: var(--color-text-primary);
    border-color: #d1d5db;
}

.cookie-btn-deny:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.cookie-btn-accept {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.cookie-btn-accept:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cookie-btn-close {
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
    margin-left: var(--spacing-xs);
}

.cookie-btn-close:hover {
    background-color: #e5e7eb;
    color: var(--color-text-primary);
}

/* Cookie Banner Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
    }
    
    .cookie-consent-text {
        font-size: 0.875rem;
        padding-right: 2rem;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1.25rem;
    }
    
    .cookie-btn-preferences {
        order: 3;
        width: 100%;
        text-align: left;
        padding-left: 0;
    }
    
    .cookie-btn-close {
        position: absolute;
        top: var(--spacing-md);
        right: var(--spacing-md);
    }
}

/* ===========================
   Legal Pages Styles
   =========================== */

.legal-page {
    margin-top: 80px;
    padding: var(--spacing-xl) 0;
}

.legal-page h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.last-updated {
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 2rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.legal-content h3 {
    font-size: 1.5rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.legal-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    color: var(--color-text-secondary);
}

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

.legal-content li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.sitemap-section {
    margin-bottom: var(--spacing-lg);
}

.sitemap-section h2 {
    margin-top: var(--spacing-md);
}

.sitemap-section ul {
    list-style: none;
    padding-left: 0;
}

.sitemap-section li {
    margin-bottom: var(--spacing-sm);
}

.sitemap-section a {
    font-size: 1.1rem;
    color: var(--color-accent);
    text-decoration: none;
}

.sitemap-section a:hover {
    text-decoration: underline;
}


/* ===========================
   NEW: Thought Leadership Section
   =========================== */

.thought-leadership-section {
    background: var(--color-bg-light);
    padding: var(--spacing-xl) 0;
}

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

.section-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.insight-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
    position: relative;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.insight-card.featured {
    grid-column: span 1;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: white;
    border: none;
}

.insight-card.featured h3,
.insight-card.featured p {
    color: white;
}

.insight-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-sm);
}

.insight-card.featured .insight-label {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.insight-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.insight-card p {
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.insight-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast);
}

.insight-card.featured .insight-link {
    color: white;
}

.insight-link:hover {
    gap: 0.75rem;
}

/* ===========================
   NEW: Founder/About Section
   =========================== */

.founder-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.founder-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.founder-text h2 {
    margin-bottom: var(--spacing-md);
    font-size: 2.5rem;
}

.founder-text p {
    margin-bottom: var(--spacing-md);
}

.founder-cta {
    margin-top: var(--spacing-lg);
}

.founder-image {
    position: relative;
}

.founder-placeholder {
    aspect-ratio: 1;
    background: var(--color-bg-light);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--color-border);
    padding: var(--spacing-md);
    text-align: center;
}

.founder-placeholder svg {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

.founder-placeholder p {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin: 0;
}

/* Mobile Responsive for New Sections */
@media (max-width: 968px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .founder-image {
        order: -1;
    }
}


.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

