/* Critical path optimization - moved non-critical styles to end of file */
/* Font metric overrides to prevent layout shifts */
@font-face {
    font-family: 'Inter Fallback';
    font-display: swap;
    src: local('Arial'), local('Helvetica'), local('sans-serif');
    size-adjust: 107.55%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

/* Font Awesome mobile fix - minimal override */

/* iOS and mobile-specific fixes */
@media (max-width: 768px) {
    /* Mobile scroll padding for fixed header */
    html {
        scroll-padding-top: 80px; /* Smaller header on mobile */
        -webkit-text-size-adjust: 100%; /* Prevent iOS text scaling */
    }
    
    /* iOS touch improvements */
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
    
    /* Better mobile scrolling */
    body {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
    
    /* Mobile menu button - iOS compatibility */
    .nav-toggle {
        -webkit-user-select: none;
        user-select: none;
        cursor: pointer;
        touch-action: manipulation;
    }
    
    /* Ensure icons maintain proper sizing on mobile */
    .service-icon i {
        font-size: 2rem;
        line-height: 1.2;
        display: inline-block;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
        line-height: 1.2;
        display: inline-block;
    }
    
    .value-item i {
        font-size: 3rem;
        line-height: 1.2;
        display: inline-block;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .nav-toggle {
        -webkit-appearance: none;
        appearance: none;
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }
    
    /* iOS mobile menu - ensure it doesn't conflict with main styles */
    .nav-menu {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    /* Ensure bars animate properly on iOS */
    .nav-toggle .bar {
        transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
    }
    
    /* Force Font Awesome rendering on iOS */
    .fas, .far, .fab {
        -webkit-font-feature-settings: normal;
        font-feature-settings: normal;
        font-variant: normal;
    }
}

/* Fallback styles when Font Awesome doesn't load */
.no-font-awesome .fas:before,
.no-font-awesome .far:before,
.no-font-awesome .fab:before {
    content: "⚡";
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: normal;
}

.no-font-awesome .fa-cloud:before { content: "☁️"; }
.no-font-awesome .fa-shield-alt:before { content: "🛡️"; }
.no-font-awesome .fa-robot:before { content: "🤖"; }
.no-font-awesome .fa-shopping-cart:before { content: "🛒"; }
.no-font-awesome .fa-boxes:before { content: "📦"; }
.no-font-awesome .fa-truck:before { content: "🚚"; }
.no-font-awesome .fa-user-tie:before { content: "👔"; }
.no-font-awesome .fa-chart-line:before { content: "📈"; }
.no-font-awesome .fa-rocket:before { content: "🚀"; }
.no-font-awesome .fa-users:before { content: "👥"; }
.no-font-awesome .fa-cogs:before { content: "⚙️"; }
.no-font-awesome .fa-lightbulb:before { content: "💡"; }
.no-font-awesome .fa-handshake:before { content: "🤝"; }
.no-font-awesome .fa-trophy:before { content: "🏆"; }
.no-font-awesome .fa-eye:before { content: "👁️"; }
.no-font-awesome .fa-graduation-cap:before { content: "🎓"; }
.no-font-awesome .fa-clock:before { content: "⏰"; }
.no-font-awesome .fa-dollar-sign:before { content: "💰"; }
.no-font-awesome .fa-linkedin:before { content: "💼"; }
.no-font-awesome .fa-twitter:before { content: "🐦"; }
.no-font-awesome .fa-facebook:before { content: "📘"; }

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed header height + margin */
    /* Mobile optimizations */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    /* Mobile optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Images and Media */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo, .footer-logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Prevent images from being dragged on mobile */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Allow interaction for linked images */
a img {
    pointer-events: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 24px;
    min-height: 48px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.2;
    /* Mobile enhancements */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    /* Prevent layout shifts */
    will-change: transform;
    contain: layout;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 0rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: auto;
    width: 650px;
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

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

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
}

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

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-link:hover {
    background: #f8f9fa;
    color: #667eea;
    transform: translateX(5px);
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    /* Override the underline styles */
    position: static;
    width: auto;
    height: auto;
    background: none;
    bottom: auto;
    left: auto;
}

.nav-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

        /* Skip Link for Accessibility - Only visible on keyboard focus */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
    transition: top 0.3s, opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Prevent layout shifts */
    contain: layout style;
}.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    /* Prevent layout shifts */
    contain: layout;
    min-height: 400px; /* Reserve minimum space */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Prevent layout shifts */
    min-height: 4.2rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    /* Prevent layout shifts */
    min-height: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    /* Prevent layout shifts */
    min-height: 52px; /* Reserve space for buttons including border */
    align-items: flex-start;
}

/* Ensure buttons have stable dimensions */
.hero-buttons .btn {
    min-width: 120px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: min(300px, 80vw);
    height: min(300px, 80vw);
    max-width: 300px;
    max-height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(3rem, 8vw, 6rem);
    color: white;
    animation: float 6s ease-in-out infinite;
    /* Prevent layout shifts */
    flex-shrink: 0;
    flex-grow: 0;
    contain: layout style;
}

/* Reserve space for Font Awesome icon to prevent layout shifts */
.hero-graphic i {
    width: 96px; /* 6rem at 16px base */
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

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

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
}

.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    padding: 2rem;
    border-radius: 15px;
    background: white;
    transition: all 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block !important;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    display: block !important;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Why Consultants Section */
.why-consultants {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.why-consultants .section-title {
    color: white;
}

.why-consultants .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

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

.benefit-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: white;
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.consultant-quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.consultant-quote blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin: 0;
    color: white;
}

.consultant-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
}

/* About Section */
.about {
    padding: 60px 0 40px 0;
    background: #f8f9ff;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.value-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Philosophy Points */
.philosophy-points {
    margin: 2rem 0;
}

.philosophy-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.philosophy-item i {
    font-size: 2rem;
    color: #667eea;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.philosophy-item h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.philosophy-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Why Choose Us Section */
.why-choose-us {
    margin: 2rem 0;
}

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

.reason-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
}

.reason-item h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reason-item h4 i {
    color: #667eea;
    font-size: 1.2rem;
}

.reason-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Services Section */
.services {
    padding: 40px 0 60px 0;
    background: #fff;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.services-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f8f9ff;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.author-info h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #667eea;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #fff;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-content .contact-info {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    display: block !important;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333;
}

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

.contact-item i {
    font-size: 1.25rem;
    color: #667eea;
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    color: #333;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Form Styles */
.contact-form {
    background: #f8f9ff;
    padding: 2rem;
    border-radius: 15px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 80px;
    width: auto;
}

.footer-brand h3 {
    color: white;
    margin: 0;
}

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

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

/* Blog page header offset fix */
.page-with-fixed-header {
    padding-top: 150px;
}

/* Mobile Accessibility Enhancements */
@media (max-width: 768px) {
    /* Improve touch targets for all interactive elements */
    .service-card,
    .testimonial-card,
    .stat-item {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Enhanced link visibility and touch targets */
    .footer-section ul li a {
        padding: 8px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }
    
    /* Better mobile footer layout */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Even larger touch targets for small screens */
    .social-links a {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    /* Better form elements for small screens */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 18px 15px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Footer mobile optimizations */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-section h4 {
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    /* Extra small screens */
    .social-links {
        gap: 1rem;
    }
    
    .social-links a {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* Comprehensive Mobile Responsive Styles */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .container {
        padding: 0 30px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .page-with-fixed-header {
        padding-top: 100px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 80vh;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        min-height: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        min-height: 2.5rem;
    }
    
    .container {
        padding: 0 25px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Large phones */
@media (max-width: 480px) {
    .page-with-fixed-header {
        padding-top: 90px;
    }
    
    .hero {
        padding: 80px 0 50px;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2rem;
        min-height: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        min-height: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        min-width: 100px;
        font-size: 14px;
        padding: 10px 18px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Medium phones */
@media (max-width: 425px) {
    .page-with-fixed-header {
        padding-top: 85px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .container {
        padding: 0 18px;
    }
}

/* iPhone 14, 14 Pro, 13, 12 - 390px viewport */
@media (max-width: 390px) {
    .page-with-fixed-header {
        padding-top: 90px;
    }
    
    .hero {
        padding: 90px 0 50px;
        min-height: 75vh;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        min-width: 140px;
        font-size: 15px;
        padding: 12px 20px;
        height: auto;
    }
    
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    /* Fix text overflow issues */
    h1, h2, h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Small phones - iPhone SE, etc */
@media (max-width: 375px) {
    .page-with-fixed-header {
        padding-top: 80px;
    }
    
    .hero {
        padding: 70px 0 40px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        min-height: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        min-height: 1.8rem;
    }
    
    .hero-buttons .btn {
        min-width: 90px;
        font-size: 13px;
        padding: 8px 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Very small phones */
@media (max-width: 320px) {
    .page-with-fixed-header {
        padding-top: 75px;
    }
    
    .hero {
        padding: 60px 0 35px;
    }
    
    .hero-title {
        font-size: 1.4rem;
        min-height: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        min-height: 1.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 200px;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        display: flex;
        z-index: 999;
    }

    .navbar .nav-menu.active {
        left: 0;
        z-index: 9999;
        display: flex;
        visibility: visible;
        opacity: 1;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile dropdown styles */
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 0.5rem;
        border-radius: 6px;
    }

    .dropdown-toggle::after {
        display: none;
    }

    .dropdown-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .dropdown-link:hover {
        transform: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-graphic {
        width: 200px;
        height: 200px;
        font-size: 4rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        text-align: left;
    }

    .section-title {
        font-size: 2rem;
    }

    .values {
        grid-template-columns: 1fr;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

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

/* Detailed Services Section */
.detailed-services {
    padding: 80px 0;
    background: #f8f9ff;
}

.service-detail-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.service-detail-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.service-detail-header h3 {
    font-size: 1.8rem;
    margin: 0;
    color: white;
}

.service-detail-content {
    padding: 2.5rem;
}

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

.service-columns:last-child {
    margin-bottom: 0;
}

.service-column h4 {
    color: #667eea;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f2ff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-column h4 i {
    font-size: 1rem;
}

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

.service-column li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.service-column li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 0.8rem;
}

.service-column li:hover {
    color: #333;
}

/* Technology Stack Section */
.tech-stack-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    margin-top: 3rem;
}

.tech-stack-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

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

.tech-category h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.tech-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.tech-item i {
    font-size: 1.1rem;
}

/* Fractional CTO Specific Styles */
.service-intro {
    background: #f8f9ff;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid #667eea;
}

.service-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.fractional-cto-duties .duty-item,
.beneficiary-list .beneficiary-item,
.comparison-list .comparison-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 3px solid #667eea;
}

.fractional-cto-duties .duty-item h5,
.beneficiary-list .beneficiary-item h5,
.comparison-list .comparison-item h5 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fractional-cto-duties .duty-item h5 i,
.beneficiary-list .beneficiary-item h5 i,
.comparison-list .comparison-item h5 i {
    color: #667eea;
    font-size: 1rem;
}

.fractional-cto-duties .duty-item p,
.beneficiary-list .beneficiary-item p,
.comparison-list .comparison-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.why-hire-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    color: white;
}

.why-hire-section h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.benefits-grid .benefit-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.benefits-grid .benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.benefits-grid .benefit-item i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    display: block;
}

.benefits-grid .benefit-item h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.benefits-grid .benefit-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design for Detailed Services */
@media (max-width: 768px) {
    .service-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .service-detail-header h3 {
        font-size: 1.5rem;
    }

    .service-detail-content {
        padding: 1.5rem;
    }

    .service-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }

    .tech-stack-section {
        padding: 2rem;
    }

    .tech-logos {
        gap: 0.5rem;
    }

    .tech-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .detailed-services {
        padding: 60px 0;
    }

    .service-detail-card {
        margin-bottom: 2rem;
    }

    .service-detail-header {
        padding: 1.5rem;
    }

    .service-detail-content {
        padding: 1rem;
    }

    .tech-stack-section h3 {
        font-size: 1.5rem;
    }

    .tech-category h4 {
        font-size: 1.1rem;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 120px 0 80px;
    background-color: #f8f9fa;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.legal-content h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.legal-section h3 {
    color: #495057;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.legal-section p {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.legal-section a:hover {
    border-bottom-color: #667eea;
}

.legal-content .contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #667eea;
    display: block !important;
    visibility: visible !important;
}

.legal-content .contact-info p {
    margin-bottom: 0.5rem;
    color: #495057;
    display: block;
}

.legal-content .contact-info a {
    font-weight: 500;
    color: #667eea;
    text-decoration: none;
}

#contact {
    margin-bottom: 3rem !important;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
}

#contact h2 {
    color: #2c3e50 !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

#contact .contact-info {
    margin: 2rem 0 !important;
    padding: 2rem !important;
    background: #f8f9fa !important;
    border: 2px solid #667eea !important;
    border-radius: 8px !important;
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
}

.contact-us-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 2px solid #e9ecef;
}

.contact-us-section h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.contact-info-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info-box p {
    margin-bottom: 0.75rem;
    color: #495057;
    line-height: 1.6;
}

.contact-info-box strong {
    color: #2c3e50;
    font-size: 1.1rem;
}

.contact-info-box a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-info-box a:hover {
    border-bottom-color: #667eea;
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-section ul {
        padding-left: 1.5rem;
    }
}

/* Blog Post Styles for Enhanced Readability */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    line-height: 1.8;
    color: #2c3e50;
}

.blog-post header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog-post h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.post-meta time {
    font-weight: 500;
}

/* Blog Post Typography */
.blog-post h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #374151;
    margin: 2.5rem 0 1rem 0;
    padding-top: 1rem;
}

.blog-post h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4b5563;
    margin: 2rem 0 0.75rem 0;
}

.blog-post h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6b7280;
    margin: 1.5rem 0 0.5rem 0;
}

.blog-post p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.blog-post p:last-child {
    margin-bottom: 0;
}

/* Strong emphasis */
.blog-post strong {
    font-weight: 600;
    color: #1f2937;
}

/* Lists */
.blog-post ul,
.blog-post ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.blog-post li:last-child {
    margin-bottom: 0;
}

/* Nested lists */
.blog-post ul ul,
.blog-post ol ol,
.blog-post ul ol,
.blog-post ol ul {
    margin: 0.5rem 0;
}

/* Links */
.blog-post a {
    color: #667eea;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.blog-post a:hover {
    color: #764ba2;
    text-decoration-thickness: 2px;
}

/* Blockquotes */
.blog-post blockquote {
    border-left: 4px solid #667eea;
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    font-style: italic;
    color: #4b5563;
}

.blog-post blockquote p:last-child {
    margin-bottom: 0;
}

/* Code blocks and inline code */
.blog-post code {
    background: #f1f5f9;
    color: #e11d48;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'SFMono-Regular', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.9em;
}

.blog-post pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    line-height: 1.6;
}

.blog-post pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: 0.9rem;
}

/* Tables */
.blog-post table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.blog-post th,
.blog-post td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.blog-post th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
}

.blog-post tr:last-child td {
    border-bottom: none;
}

/* Horizontal rules */
.blog-post hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 3rem 0;
}

/* Images */
.blog-post img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive design for blog posts */
@media (max-width: 768px) {
    .blog-post {
        padding: 1rem 0;
    }
    
    .blog-post h1 {
        font-size: 2rem;
    }
    
    .blog-post h2 {
        font-size: 1.5rem;
        margin: 2rem 0 0.75rem 0;
    }
    
    .blog-post h3 {
        font-size: 1.2rem;
    }
    
    .blog-post ul,
    .blog-post ol {
        padding-left: 1.5rem;
    }
    
    .blog-post pre {
        padding: 1rem;
        margin: 1.5rem 0;
        border-radius: 4px;
    }
    
    .blog-post blockquote {
        margin: 1.5rem 0;
        padding: 0.75rem 1rem;
    }
    
    .blog-post table {
        font-size: 0.9rem;
    }
    
    .blog-post th,
    .blog-post td {
        padding: 0.75rem 0.5rem;
    }
}

/* Technology Assessment Page Styles */
.assessment-hero {
    text-align: center;
    padding: 40px 0 60px 0;
}

.assessment-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.assessment-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.assessment-benefits {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 600px;
}

.assessment-benefits h3 {
    color: #333;
    margin-bottom: 1rem;
}

.assessment-benefits ul {
    text-align: left;
    color: #555;
    line-height: 1.8;
    list-style: none;
    padding: 0;
}

.assessment-benefits li {
    margin-bottom: 0.5rem;
}

.assessment-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 4rem 0;
    align-items: start;
}

.assessment-form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.assessment-form-title {
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.assessment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.assessment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.assessment-form input,
.assessment-form select,
.assessment-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.assessment-form input:focus,
.assessment-form select:focus,
.assessment-form textarea:focus {
    border-color: #667eea;
    outline: none;
}

.assessment-form textarea {
    resize: vertical;
}

.assessment-form button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.assessment-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.assessment-social-proof {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    padding: 4rem 2rem;
    border-radius: 15px;
    margin: 4rem 0;
    text-align: center;
}

.assessment-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.assessment-stat .stat-number {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #333;
}

.assessment-stat h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.assessment-stat p {
    color: #666;
}

.assessment-faq {
    margin: 4rem 0;
}

.assessment-faq h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.faq-item {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:nth-child(odd) {
    background: #f8f9fa;
}

.faq-item h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
    margin: 0;
}

/* Mobile responsiveness for assessment page */
@media (max-width: 768px) {
    .assessment-title {
        font-size: 2rem;
    }
    
    .assessment-details {
        display: block;
        gap: 2rem;
    }
    
    .assessment-stats {
        grid-template-columns: 1fr;
    }
}

/* Blog listing page styles */
.blog-hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

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

.post-card {
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    border-radius: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.post-meta {
    font-size: 0.85rem;
    color: #555;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.read-more {
    margin-top: auto;
    display: inline-block;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.tag {
    display: inline-block;
    background: #eef2ff;
    color: #4f46e5;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}