/*
Theme Name: Integrated EA Theme
Theme URI: https://integrated-ea.com
Author: Integrated Executive Advisors
Author URI: https://integrated-ea.com
Description: Custom WordPress theme for Integrated Executive Advisors - Business Consulting with Extraordinary IT Depth
Version: 5.00
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: integrated-ea
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

.section {
    padding: 60px 0;
}

/* ========================================
   HEADER STYLES - TABLE-LIKE LAYOUT
   ======================================== */

.site-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    align-items: flex-end;  /* Align bottoms */
    justify-content: space-between;
    gap: 40px;
}

.header-left-logo {
    flex: 0 0 auto;
}

.custom-logo {
    height: 60px;
    width: auto;
    display: block;
}

/* Header Tagline */
.site-tagline {
    font-size: 0.85em;
    color: #253551;
    font-weight: 500;
    margin: 5px 0 0 0;
    letter-spacing: 0.3px;
    font-style: italic;
}

.header-right-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;  /* Right-align both phone and menu */
    justify-content: space-between;
    min-height: 60px;  /* Match logo height */
}

.header-phone-top {
    text-align: right;
    margin-top: 0;  /* Align with top of logo */
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.phone-link:hover {
    color: #3b82f6;
}

.phone-icon {
    font-size: 1.2em;
}

.phone-number {
    white-space: nowrap;
}

.main-navigation {
    text-align: right;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    justify-content: flex-end;  /* Right-align menu */
    flex-wrap: wrap;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 600;
    font-size: 1.05em;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-navigation a:hover {
    color: #3b82f6;
}

/* ========================================
   FOOTER STYLES - FLEXBOX LAYOUT
   ======================================== */

.site-footer {
    background: #1e3a8a;
    color: white;
    padding: 50px 0 0;
}

.footer-flex-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 40px;
    gap: 60px;
}

.footer-left-wide {
    flex: 2;
    min-width: 400px;
}

.footer-right-compact {
    flex: 1;
    min-width: 280px;
}

.footer-left-wide h3,
.footer-right-compact h3 {
    color: white;
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Quick Links - 2 column layout */
.footer-menu-columns {
    display: block;
}

.footer-menu-columns ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 40px;
    column-gap: 40px;
}

.footer-menu-columns li {
    margin: 0;
    padding: 0;
}

.footer-menu-columns a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.05em;
    display: block;
    line-height: 1.6;
}

.footer-menu-columns a:hover {
    color: white;
}

/* Contact Section - Stacked vertically */
.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-phone,
.contact-email {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.6;
}

.contact-phone strong,
.contact-email strong {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    margin-right: 8px;
}

.contact-phone a,
.contact-email a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.contact-phone a:hover,
.contact-email a:hover {
    color: #fcd34d;
}

.contact-button {
    margin-top: 8px;
}

.btn-schedule {
    display: inline-block;
    background: #f59e0b;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-schedule:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 25px 0;
}

/* Footer Tagline */
.footer-tagline {
    text-align: center;
    margin-bottom: 20px;
}

.footer-tagline .tagline {
    font-size: 1.1em;
    color: #fbbf24;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Top row: Copyright (left) and Legal Links (right) */
.footer-bottom-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.copyright {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 0.95em;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal .separator {
    color: rgba(255,255,255,0.5);
    font-size: 0.9em;
}

.footer-legal a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

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

/* Bottom row: Trademark disclaimer (full width, left-aligned) */
.footer-bottom-bottom {
    width: 100%;
}

.trademark-attribution {
    color: rgba(255,255,255,0.7);
    margin: 0 0 8px 0;
    font-size: 0.85em;
    text-align: left;
    line-height: 1.6;
}

.trademark-disclaimer {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 0.85em;
    font-style: italic;
    text-align: left;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .tagline {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fbbf24;
}

.hero p {
    font-size: 1.25em;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero .credential-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 10px 25px;
    border-radius: 25px;
    margin: 20px 10px;
    font-size: 0.95em;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero .subtext {
    font-size: 1.1em;
    margin-top: 30px;
    opacity: 0.95;
}

/* Results Callout in Hero */
.results-callout {
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 8px;
    margin: 25px auto 0;
    border: 1px solid rgba(255,255,255,0.25);
    max-width: 850px;
    display: inline-block;
}

.rotating-result {
    font-size: 1.05em;
    font-weight: 500;
    margin: 0;
    color: #fbbf24;
    line-height: 1.3;
    transition: opacity 0.8s ease-in-out;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    margin: 10px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #f59e0b;
    color: white;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #1e3a8a;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
}

/* Button style for light backgrounds (light green, light gray, etc.) */
.btn-secondary-light {
    background: #1e3a8a;
    color: white;
    border: 2px solid #1e3a8a;
}

.btn-secondary-light:hover {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
}

/* Three Column Value Prop */
.value-prop {
    background: #f9fafb;
}

.three-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.col-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.col-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.col-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #e0e7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
}

.col-card h3 {
    font-size: 1.5em;
    color: #1e3a8a;
    margin-bottom: 20px;
    text-align: center;
}

.col-card p {
    color: #6b7280;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.col-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.col-card ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #4b5563;
}

.col-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2em;
}

.col-card a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

.col-card a:hover {
    color: #1e3a8a;
}

/* Results Section in Value Prop Cards */
.results-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
    margin: 20px 0 15px 0;
}

.results-label {
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #f59e0b;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.results-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.results-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #1e3a8a;
    font-weight: 600;
}

.results-list li:before {
    content: "★";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
    font-size: 1.2em;
}

/* Resources / Strategic Assessment Tools Section */
.resources {
    background: #f9fafb;
}

.resources h2 {
    font-size: 2.5em;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 30px;
}

.resources .intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.15em;
    color: #4b5563;
    line-height: 1.8;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.resource-card {
    background: white;
    padding: 30px 25px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.2);
}

.resource-card img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.resource-card h3 {
    font-size: 1.4em;
    color: #1e3a8a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.resource-card p {
    font-size: 0.95em;
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.resource-card .btn {
    width: 100%;
    text-align: center;
    margin: 0;
}

/* The Gap Section */
.the-gap {
    background: white;
}

.the-gap h2 {
    font-size: 2.5em;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 30px;
}

.the-gap .intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.2em;
    color: #4b5563;
}

.gap-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.gap-box {
    background: #fef2f2;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #ef4444;
    text-align: left;
}

.gap-box h4 {
    color: #991b1b;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.gap-box p {
    color: #7f1d1d;
}

.solution-box {
    background: #ecfdf5;
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.solution-box h3 {
    color: #065f46;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.solution-box p {
    color: #064e3b;
    font-size: 1.1em;
    margin-bottom: 10px;
}

/* IT Depth Section */
.it-depth {
    background: #1e3a8a;
    color: white;
}

.it-depth h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
}

.it-depth .intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.15em;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tech-box {
    background: rgba(255,255,255,0.1);
    padding: 35px 28px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

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

.tech-box h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.tech-box h4 {
    font-size: 1.1em;
    margin: 15px 0 10px 0;
    color: #fbbf24;
}

.tech-box ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.tech-box ul li {
    padding: 5px 0;
    font-size: 0.95em;
    opacity: 0.95;
    padding-left: 20px;
    position: relative;
}

.tech-box ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0.7;
}

/* Tech Quote Box - for inspirational quotes in tech boxes */
.tech-quote-box {
    margin-top: 20px;
    padding: 15px 18px;
    background: rgba(255,255,255,0.08);
    border-left: 3px solid #fbbf24;
    border-radius: 4px;
    font-style: italic;
    font-size: 0.9em;
    opacity: 0.95;
    line-height: 1.6;
}

/* Wide Tech Box - Spans 2 columns */
.tech-box-wide {
    background: rgba(255,255,255,0.1);
    padding: 35px 28px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tech-box-wide:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.tech-box-wide h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    text-align: center;
    /* Removed color override - inherits white from parent */
}

.tech-box-wide h4 {
    font-size: 1.1em;
    margin: 15px 0 10px 0;
    color: #fbbf24; /* Golden to match other tech-box h4 elements */
}

.tech-box-wide-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
}

.tech-box-wide-text {
    flex: 1;
}

.tech-box-wide-text p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.95;
}

.tech-box-wide-text ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.tech-box-wide-text ul li {
    padding: 5px 0;
    font-size: 0.95em;
    opacity: 0.95;
    padding-left: 20px;
    position: relative;
}

.tech-box-wide-text ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0.7;
}

.tech-box-wide-text .disclaimer {
    margin-top: 20px;
    padding: 15px;
    background: rgba(251, 191, 36, 0.15);
    border-left: 3px solid #fbbf24;
    border-radius: 4px;
    font-style: italic;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Badge Container */
.tech-badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.tech-badge {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.tech-badge:hover {
    transform: scale(1.05);
}

/* Responsive adjustments for wide tech box */
@media (max-width: 1024px) {
    .tech-box-wide {
        grid-column: span 1;
    }
    
    .tech-box-wide-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tech-badges {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Industries Section */
.industries {
    background: #f9fafb;
}

.industries h2 {
    font-size: 2.5em;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 30px;
}

.industries > p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.15em;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.industry-box {
    background: white;
    padding: 35px 25px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.industry-box:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.2);
}

.industry-box h3 {
    font-size: 1.4em;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.industry-box p {
    font-size: 0.95em;
    color: #6b7280;
}

/* Credibility Section */
.credibility {
    background: #e5e7eb;
}

.credibility h2 {
    font-size: 2.5em;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 60px;
}

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

.cred-content h3 {
    font-size: 1.8em;
    color: #1e3a8a;
    margin-bottom: 25px;
    font-style: italic;
}

.cred-content .experience {
    margin: 30px 0;
}

.cred-content .experience h4 {
    color: #1e3a8a;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.cred-content .experience ul {
    list-style: none;
    padding-left: 20px;
}

.cred-content .experience ul li {
    padding: 5px 0;
    color: #4b5563;
}

.cred-content .experience ul li:before {
    content: "•";
    margin-right: 10px;
    color: #3b82f6;
    font-weight: bold;
}

.cred-content .insight-box {
    background: white;
    padding: 25px;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    margin: 25px 0;
}

.cred-image {
    text-align: center;
}

.cred-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Approach Section */
.approach {
    background: white;
}

.approach h2 {
    font-size: 2.5em;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 60px;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.step {
    background: #f9fafb;
    padding: 35px 25px;
    border-radius: 8px;
    position: relative;
    border: 2px solid #e5e7eb;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 25px;
    background: #f59e0b;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.step h4 {
    font-size: 1.3em;
    color: #1e3a8a;
    margin: 20px 0 15px;
}

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

.step ul li {
    padding: 5px 0 5px 20px;
    font-size: 0.95em;
    color: #6b7280;
    position: relative;
}

.step ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3b82f6;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.final-cta h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
}

.final-cta p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* ========================================
   CONTACT PAGE & FORM STYLES
   ======================================== */

/* Contact Hero */
.contact-hero {
    padding: 80px 0 60px;
}

/* Contact Section Layout */
.contact-section {
    background: #f9fafb;
}

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

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-form-wrapper h2 {
    font-size: 2em;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.contact-form-wrapper .form-intro {
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 1.05em;
}

.contact-form-wrapper .form-note {
    margin-top: 20px;
    color: #6b7280;
    font-style: italic;
}

/* Contact Form 7 Styling */
.wpcf7 {
    margin: 0;
}

.wpcf7-form {
    margin: 0;
}

.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-form label {
    display: block;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 8px;
    font-size: 1em;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    background: #f59e0b;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.wpcf7-form input[type="submit"]:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Form Validation Messages */
.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

.wpcf7-form .wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

.wpcf7-mail-sent-ok {
    background: #ecfdf5;
    border: 2px solid #10b981;
    color: #065f46;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: #fef2f2;
    border: 2px solid #ef4444;
    color: #991b1b;
}

.wpcf7-spam-blocked {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    color: #92400e;
}

/* Contact Info Boxes */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-box {
    background: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-info-box h3 {
    font-size: 1.8em;
    color: #1e3a8a;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.info-icon {
    font-size: 2em;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-content h4 {
    color: #1e3a8a;
    font-size: 1.2em;
    margin-bottom: 8px;
}

.info-content p {
    color: #4b5563;
    margin-bottom: 5px;
    font-size: 1.05em;
}

.info-content a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #1e3a8a;
}

.info-detail {
    font-size: 0.9em !important;
    color: #6b7280 !important;
    font-style: italic;
}

.contact-value-box {
    background: #eff6ff;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.contact-value-box h4 {
    color: #1e3a8a;
    font-size: 1.3em;
    margin-bottom: 20px;
}

.contact-value-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-value-box ul li {
    padding: 10px 0;
    color: #4b5563;
    line-height: 1.6;
}

.contact-value-box ul li strong {
    color: #1e3a8a;
    font-weight: 600;
}

/* Quick Links Section */
.contact-quick-links {
    background: white;
}

.contact-quick-links h2 {
    font-size: 2.5em;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 20px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.quick-link-card {
    background: #f9fafb;
    padding: 35px 28px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.quick-link-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.2);
    background: white;
}

.quick-link-card h3 {
    font-size: 1.4em;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.quick-link-card p {
    color: #6b7280;
    margin-bottom: 15px;
    line-height: 1.6;
}

.quick-link-card .link-arrow {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.95em;
}

.quick-link-card:hover .link-arrow {
    color: #1e3a8a;
}

/* FAQ Section */
.contact-faq {
    background: #f9fafb;
}

.contact-faq h2 {
    font-size: 2.5em;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-item h4 {
    color: #1e3a8a;
    font-size: 1.2em;
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-item p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   BLOG GRID LAYOUT
   ========================================== */

/* Blog Hero */
.blog-hero h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-hero p {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Blog Grid Container */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Featured Image */
.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

/* Placeholder for missing images */
.blog-card-image.placeholder {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image.placeholder::after {
    content: "📄";
    font-size: 4em;
    opacity: 0.3;
}

/* Card Content */
.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Category Badge */
.blog-category {
    margin-bottom: 12px;
}

.category-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Category Color Coding - STRONG, VIBRANT COLORS */
.category-operations-management {
    background: #1e40af;
    color: white;
}

.category-technology-erp {
    background: #0891b2;
    color: white;
}

.category-ai-automation {
    background: #7c3aed;
    color: white;
}

.category-leadership-strategy {
    background: #f59e0b;
    color: white;
}

.category-industry-insights {
    background: #64748b;
    color: white;
}

/* Default category style */
.category-badge:not([class*="category-"]) {
    background: #f3f4f6;
    color: #4b5563;
}

/* Card Title */
.blog-card-title {
    font-size: 1.5em;
    color: #1e3a8a;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.blog-card-title a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #3b82f6;
}

/* Meta Information */
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.85em;
    color: #6b7280;
}

.meta-separator {
    color: #d1d5db;
}

/* Excerpt */
.blog-card-excerpt {
    color: #4b5563;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    
    /* Limit to 3 lines with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More Button */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.blog-read-more:hover {
    color: #1e3a8a;
    gap: 12px;
}

.blog-read-more .arrow {
    transition: transform 0.3s ease;
}

.blog-read-more:hover .arrow {
    transform: translateX(4px);
}

/* Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 50px;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination .current {
    display: inline-block;
    padding: 10px 18px;
    background: white;
    color: #1e3a8a;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.blog-pagination a:hover {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.blog-pagination .current {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

/* ==========================================
   BLOG STYLING FIX - EMERGENCY OVERRIDES
   October 21, 2025
   ========================================== */

/* Force white backgrounds on blog cards - Emergency Fix */
.blog-card,
.blog-card * {
    background: white !important;
}

/* Only category badges should have colored backgrounds */
.blog-card .category-badge {
    background-color: inherit !important;
}

/* Ensure category colors are applied ONLY to badges - STRONG COLORS */
.category-badge.category-operations-management {
    background: #1e40af !important;
    color: white !important;
}

.category-badge.category-technology-erp {
    background: #0891b2 !important;
    color: white !important;
}

.category-badge.category-ai-automation {
    background: #7c3aed !important;
    color: white !important;
}

.category-badge.category-leadership-strategy {
    background: #f59e0b !important;
    color: white !important;
}

.category-badge.category-industry-insights {
    background: #64748b !important;
    color: white !important;
}

/* Transparent background for blog grid section */
.blog-grid-section {
    background: #f9fafb !important;
}

/* Additional specificity for card content areas */
.blog-card-content {
    background: white !important;
}

.blog-card-image {
    background: none !important;
}

.blog-card-image.placeholder {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
}

/* END BLOG STYLING FIX */

/* Responsive Design for Blog Grid */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-hero h1 {
        font-size: 2em;
    }
    
    .blog-hero p {
        font-size: 1.1em;
    }
    
    .blog-card-image {
        height: 200px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .header-right-content {
        align-items: center;
        width: 100%;
    }
    
    .main-navigation {
        text-align: center;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .footer-flex-main {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-left-wide,
    .footer-right-compact {
        width: 100%;
        min-width: auto;
    }
    
    .footer-menu-columns ul {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-top {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .copyright {
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .trademark-disclaimer {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1.1em;
    }
    
    .three-col {
        grid-template-columns: 1fr;
    }
    
    .cred-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .approach-steps {
        grid-template-columns: 1fr;
    }
    
    .tech-box-wide {
        grid-column: span 1;
    }
    
    .tech-box-wide-content {
        grid-template-columns: 1fr;
    }
    
    .tech-badges {
        flex-direction: row;
    }
    
    .tech-badge {
        width: 100px;
        height: 100px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .contact-info-box {
        padding: 25px 20px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    h2 {
        font-size: 2em !important;
    }
    
    /* Results page mobile adjustments */
    .results-category h2 {
        font-size: 1.8em;
        padding: 15px 25px;
    }
    
    .result-title {
        font-size: 1.2em;
        padding: 15px 20px;
    }
    
    .result-content {
        padding: 20px;
    }
}

/* ==========================================
   RESULTS PAGE STYLES
   ========================================== */

/* Results Page Hero */
.results-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.results-hero h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.results-hero p {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Results Category Section */
.results-category {
    padding: 60px 0;
}

.results-category:nth-child(even) {
    background: #f9fafb;
}

.results-category h2 {
    font-size: 2.2em;
    color: white;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 20px 40px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Wrapper for section headers with accent line */
.results-category .section-header-wrapper {
    text-align: center;
    margin-bottom: 15px;
}

.results-category .section-header-wrapper::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #f59e0b;
    margin: 20px auto 0;
    border-radius: 2px;
}

.results-category .category-intro {
    font-size: 1.1em;
    color: #6b7280;
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Result Card */
.result-card {
    background: white;
    padding: 0;
    border-radius: 8px;
    border-left: 6px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.result-title {
    font-size: 1.4em;
    color: white;
    margin-bottom: 0;
    line-height: 1.3;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 20px 25px;
    font-weight: 600;
}

/* Content wrapper provides padding below title */
.result-content {
    padding: 25px;
    background: white;
}

/* Alternate border colors for visual interest */
.result-card:nth-child(3n+1) {
    border-left-color: #3b82f6; /* Blue */
}

.result-card:nth-child(3n+2) {
    border-left-color: #10b981; /* Green */
}

.result-card:nth-child(3n+3) {
    border-left-color: #8b5cf6; /* Purple */
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-section {
    margin: 0;
}

.result-section h4 {
    font-size: 0.9em;
    color: #f59e0b;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-section p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95em;
    margin: 0;
}

/* Results CTA */
.results-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.results-cta h2 {
    font-size: 2.2em;
    margin-bottom: 25px;
}

.results-cta p {
    font-size: 1.15em;
    margin-bottom: 20px;
    opacity: 0.95;
}

.results-cta .btn {
    margin-top: 10px;
}

/* ==========================================
   ASSESSMENT TOOL REGISTRATION PAGES
   ========================================== */

/* Assessment Hero */
.assessment-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.assessment-hero h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.assessment-hero p {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Assessment Registration Section */
.assessment-registration {
    background: #f9fafb;
}

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

.assessment-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.assessment-preview {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.assessment-preview img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.assessment-benefits {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.assessment-benefits h3 {
    color: #1e3a8a;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.assessment-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.assessment-benefits ul li {
    padding: 10px 0;
    color: #4b5563;
    font-size: 1.05em;
    line-height: 1.6;
}

.assessment-trust {
    background: #eff6ff;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.assessment-trust h4 {
    color: #1e3a8a;
    font-size: 1.2em;
    margin-bottom: 12px;
}

.assessment-trust p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Assessment Form Wrapper */
.assessment-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.assessment-form-wrapper h2 {
    font-size: 2em;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.assessment-form-wrapper .form-intro {
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 1.05em;
}

.form-privacy {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.form-privacy p {
    color: #6b7280;
    font-style: italic;
    margin: 0;
}

/* Assessment Features Section */
.assessment-features {
    background: white;
}

.assessment-features h2 {
    font-size: 2.5em;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: #f9fafb;
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.2);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 1.3em;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.feature-box p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Assessment CTA Section */
.assessment-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.assessment-cta h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
}

.assessment-cta p {
    font-size: 1.15em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.2em;
}

/* ==========================================
   THANK YOU PAGE STYLES
   ========================================== */

/* Thank You Hero */
.thankyou-hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

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

.success-icon {
    font-size: 5em;
    margin-bottom: 20px;
}

.thankyou-hero h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
}

.thankyou-hero .lead {
    font-size: 1.3em;
    margin: 0;
}

/* Thank You Download Section */
.thankyou-download {
    background: #f9fafb;
}

.download-box {
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.download-box h2 {
    font-size: 2.2em;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.download-box p {
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 1.05em;
}

.download-note {
    margin-top: 20px;
    font-size: 0.9em !important;
    font-style: italic;
}

/* Thank You Next Steps */
.thankyou-next-steps {
    background: white;
}

.thankyou-next-steps h2 {
    font-size: 2.5em;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 50px;
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.next-step {
    background: #f9fafb;
    padding: 35px 25px;
    border-radius: 8px;
    position: relative;
    border: 2px solid #e5e7eb;
}

.next-step .step-number {
    position: absolute;
    top: -15px;
    left: 25px;
    background: #10b981;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.next-step h3 {
    font-size: 1.3em;
    color: #1e3a8a;
    margin: 20px 0 12px;
}

.next-step p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Thank You Related Resources */
.thankyou-related {
    background: #f9fafb;
}

.thankyou-related h2 {
    font-size: 2.5em;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 15px;
}

.thankyou-related .intro {
    text-align: center;
    color: #6b7280;
    margin-bottom: 40px;
    font-size: 1.1em;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.related-tool-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.related-tool-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.2);
}

.related-tool-card h3 {
    font-size: 1.3em;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.related-tool-card p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Thank You CTA Section */
.thankyou-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.thankyou-cta h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
}

.thankyou-cta p {
    font-size: 1.15em;
    margin-bottom: 10px;
    opacity: 0.95;
}

.text-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: white;
}

/* Responsive Design for Assessment Pages */
@media (max-width: 768px) {
    .assessment-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .assessment-form-wrapper {
        position: relative;
        top: 0;
        padding: 30px 20px;
    }
    
    .download-box {
        padding: 30px 20px;
    }
    
    .next-steps-grid,
    .related-tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   MOBILE NAVIGATION / HAMBURGER MENU
   ========================================== */

/* Hide hamburger button by default (desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

/* Hamburger icon lines */
.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: #1e3a8a; /* Blue color to match theme */
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Timeline Overlap - Mobile Responsive */
@media (max-width: 768px) {
    /* Remove timeline overlap on mobile for better readability */
    .timeline-item {
        margin-bottom: 15px !important;
    }
}

/* Mobile styles (screens smaller than 768px) */
@media (max-width: 768px) {
    
    /* Show hamburger button on mobile */
    .mobile-menu-toggle {
        display: block;
        position: relative;
    }
    
    /* Animate hamburger to X when active */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Hide navigation by default on mobile */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen to the right */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        padding: 80px 20px 20px;
    }
    
    /* Show navigation when active */
    .main-navigation.active {
        right: 0;
    }
    
    /* Stack menu items vertically on mobile */
    .main-navigation #primary-menu {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation #primary-menu li {
        border-bottom: 1px solid #e5e7eb;
    }
    
    .main-navigation #primary-menu li a {
        display: block;
        padding: 15px 10px;
        color: #1e3a8a;
        font-size: 1.1em;
    }
    
    .main-navigation #primary-menu li a:hover {
        background: #f0f9ff;
        color: #3b82f6;
    }
    
    /* Overlay behind menu when open */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Adjust header layout on mobile */
    .header-wrapper {
        justify-content: space-between;
    }
    
    .header-phone-top {
        display: none; /* Hide phone in header on mobile to save space */
    }
}

/* ==========================================
   COOKIE CONSENT BANNER
   GDPR/CCPA Compliance
   October 22, 2025
   ========================================== */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 58, 138, 0.98); /* Dark blue with slight transparency */
    color: white;
    padding: 20px 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000; /* Above everything including chat widgets */
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease-out;
}

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text p {
    margin: 0;
    line-height: 1.6;
}

.cookie-consent-text p:first-child {
    margin-bottom: 8px;
}

.cookie-consent-text a {
    color: #fbbf24;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-consent-text a:hover {
    color: #fcd34d;
}

.cookie-consent-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #f59e0b;
    color: white;
}

.cookie-btn-accept:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.cookie-btn-decline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile responsive for cookie banner */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .cookie-consent-text {
        text-align: center;
    }
    
    .cookie-consent-text p {
        font-size: 0.95em;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 15px;
    }
}
