/*\n * Version: 4.0\n */\n/*
 * Version: 2.4
 */
/*
Theme Name: Thinking ForWord Home Focus
Theme URI: https://thinkingforword.com/
Author: Thinking ForWord Team
Author URI: https://thinkingforword.com/
Description: A theme focused on the home page design, supporting separate pages.
Version: 2.11
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thinking-forward-homefocus
*/

/* ===================================
           GLOBAL STYLES
           =================================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }


        
        body {
            font-family: 'Georgia', 'Times New Roman', serif;
            line-height: 1.7;
            color: #2c3e50;
        }
        
        /* ===================================
           HEADER & NAVIGATION
           =================================== */
        header {
            background: white;
            border-bottom: 2px solid #e8eef3;
            padding: 1.5rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        nav {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 1.6rem;
            font-weight: 700;
            color: #1a4d7a;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }

        /* Ensure the logo link inherits its container styles */
        .logo a {
            color: inherit;
            text-decoration: none;
        }
        
        .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
        }
        
        .nav-links a {
            color: #2c3e50;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            transition: color 0.3s;
        }
        
        .nav-links a:hover {
            color: #1a4d7a;
        }
        
        /* ===================================
           HERO SECTION
           =================================== */
        .hero {
            background: linear-gradient(to right, #f8fbfd 0%, #e8eef3 100%);
            padding: 6rem 2rem;
        }
        
        .hero-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        
        .hero-text h1 {
            font-size: 3rem;
            font-weight: 700;
            color: #1a4d7a;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        
        .hero-text p {
            font-size: 1.15rem;
            color: #5a6c7d;
            margin-bottom: 2rem;
        }
        
        .hero-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        }
        
        .stat {
            text-align: center;
        }
        
        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: #1a4d7a;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        
        .stat-label {
            font-size: 0.9rem;
            color: #5a6c7d;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        
        /* ===================================
           BUTTONS
           =================================== */
        .cta-button {
            display: inline-block;
            background: #1a4d7a;
            color: white;
            padding: 1rem 2.5rem;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: background 0.3s;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        
        .cta-button:hover {
            background: #153d61;
        }
        
        .cta-button-white {
            display: inline-block;
            background: white;
            color: #1a4d7a;
            padding: 1rem 2.5rem;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: transform 0.3s;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        
        .cta-button-white:hover {
            transform: translateY(-2px);
        }
        
        /* ===================================
           TRUST BAR
           =================================== */
        .trust-bar {
            background: white;
            padding: 2rem;
            text-align: center;
            border-bottom: 1px solid #e8eef3;
        }
        
        .trust-bar p {
            color: #5a6c7d;
            font-size: 0.95rem;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        
        /* ===================================
           SECTION CONTAINERS
           =================================== */
        .section {
            padding: 6rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }
        
        .section-title {
            font-size: 2.5rem;
            color: #1a4d7a;
            margin-bottom: 1rem;
            font-weight: 700;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        
        .section-subtitle {
            color: #5a6c7d;
            font-size: 1.1rem;
        }
        
        /* ===================================
           PRODUCT CARDS
           =================================== */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
        }
        
        .product-card {
            background: white;
            border: 2px solid #e8eef3;
            border-radius: 10px;
            padding: 3rem 2.5rem;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        
        .product-card:hover {
            border-color: #1a4d7a;
            box-shadow: 0 10px 30px rgba(26,77,122,0.1);
        }
        
        .product-number {
            display: inline-block;
            background: #1a4d7a;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            font-weight: 700;
            margin-bottom: 1.5rem;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        
        .product-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #2c3e50;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        
        .product-card p {
            color: #5a6c7d;
            line-height: 1.8;
        }
        
        /* ===================================
           FEATURE CARDS
           =================================== */
        .features-section {
            background: #f8fbfd;
            padding: 6rem 2rem;
        }
        
        .features-container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }
        
        .feature-card {
            background: white;
            padding: 2rem;
            border-left: 4px solid #1a4d7a;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .feature-card h4 {
            font-size: 1.2rem;
            color: #1a4d7a;
            margin-bottom: 0.8rem;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        
        .feature-card p {
            color: #5a6c7d;
            font-size: 0.95rem;
        }
        
        /* ===================================
           CTA SECTION
           =================================== */
        .cta-section {
            background: #1a4d7a;
            color: white;
            padding: 5rem 2rem;
            text-align: center;
        }
        
        .cta-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .cta-section h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        
        .cta-section p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.95;
        }
        
        /* ===================================
           FOOTER
           =================================== */
        footer {
            background: #2c3e50;
            color: #fff;
            padding: 3rem 2rem;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            max-width: 1200px;
            margin: 0 auto;
            gap: 2rem;
        }
        
        .footer-column {
            flex: 1;
            min-width: 250px;
        }
        
        .footer-column h4 {
            margin-bottom: 1rem;
            font-size: 1.1rem;
            color: #fff;
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin: 8px 0;
        }
        
        .footer-links a,
        .contact-info a {
            color: #e8eef3;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover,
        .contact-info a:hover {
            color: #fff;
            text-decoration: underline;
        }
        
        .social-media {
            margin: 1.5rem 0;
        }
        
        .social-media a {
            color: #fff;
            margin-right: 15px;
            font-size: 24px;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .social-media a:hover {
            color: #1a4d7a;
        }
        
        .contact-info p {
            margin: 8px 0;
            color: #e8eef3;
        }
        
        .footer-bottom {
            text-align: center;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #e8eef3;
            font-size: 0.9rem;
        }
        
        /* ===================================
           RESPONSIVE DESIGN
           =================================== */
        @media (max-width: 768px) {
            .hero-content {
                grid-template-columns: 1fr;
            }
            
            .hero-text h1 {
                font-size: 2.2rem;
            }
            
            .nav-links {
                gap: 1rem;
                font-size: 0.85rem;
            }
            
            .product-grid,
            .features-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-content {
                flex-direction: column;
            }
            
            .footer-column {
                width: 100%;
                text-align: center;
            }
            
            .social-media {
                margin-top: 1rem;
            }
        }

/* ===================================
   Custom footer styles
   =================================== */

/* Base styling for the new dark footer */
footer {
    background: #1a2332;
    color: #c9d1d9;
    padding: 2.5rem 2rem 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border-top: 3px solid #1a4d7a;
}

/* Container for the footer content */
.footer-main {
    max-width: 1200px;
    margin: 0 auto;
}

/* Layout for the top portion of the footer */
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Typography for section headings in the footer */
.footer-column h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Spacing for the company info column */
.company-info {
    padding-right: 2rem;
}

/* Styling for the company name and logo */
.company-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.company-logo img {
    height: 1.5rem;
    width: auto;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Tagline and address text */
.company-tagline {
    font-size: 0.95rem;
    color: #8b949e;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.company-location {
    font-size: 0.9rem;
    color: #8b949e;
    margin-bottom: 0.5rem;
}

/* Certification section */
.company-certifications {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.certifications-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b949e;
    margin-bottom: 0.4rem;
}

.certifications-list {
    font-size: 0.85rem;
    color: #c9d1d9;
}

/* Link styles */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #8b949e;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

/* Contact info */
.contact-info {
    font-size: 0.9rem;
}

.contact-item {
    margin-bottom: 0.75rem;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b949e;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: #c9d1d9;
}

.contact-value a {
    color: #c9d1d9;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: #fff;
}

/* Social media */
.social-media {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b949e;
    margin-bottom: 0.6rem;
}

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

.social-links a {
    color: #8b949e;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* Bottom row of the footer */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #8b949e;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-legal-links a {
    color: #8b949e;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal-links a:hover {
    color: #fff;
}

/* Responsive adjustments for the new footer */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .company-info {
        padding-right: 0;
    }
}

/* === Brand lockup (header) === */
.logo.brand .brand-link { display:inline-flex; align-items:center; gap:.6rem; text-decoration:none; color:inherit; font-size:4rem; font-weight:700; }
@media (max-width:768px){ .logo.brand .brand-link{ font-size:1.6rem; } }
.logo.brand .brand-mark { height:1em; width:auto; display:inline-block; vertical-align:middle; }
.logo.brand .brand-text { line-height:1; white-space:nowrap; }

/* === Footer layout and compact spacing === */
.site-footer { background:#0c1624; color:#e7eefc; margin-top:3rem; }
.footer-inner.container { padding:2rem 1rem 1.25rem; max-width:1200px; margin:0 auto; }
.footer-grid { display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:1.5rem; }
.company-logo { display:inline-flex; align-items:center; gap:.6rem; font-size:1.68rem; font-weight:700; white-space:nowrap; line-height:1.25; margin:0 0 .85rem 0;}
.company-logo img { height:1em; width:auto; flex:0 0 auto; }
.company-location + .company-location { margin-top:.25rem; }
.footer-heading { font-size:1rem; margin:0 0 .5rem; color:#fff; }
.footer-links, .compliance-list, .contact-list { list-style:none; margin:0; padding:0; }
.footer-links li, .compliance-list li, .contact-list li { margin:.3rem 0; }
.footer-bottom { background:#0c1624; border-top:none; margin-top:2rem; }
.footer-bottom-inner { max-width:1200px; margin:0 auto; padding:.6rem 1rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.footer-mini-nav ul { list-style:none; display:flex; gap:1.25rem; margin:0; padding:0; }
.company-logo span { display:inline-block; }
.social-link { display:inline-flex; align-items:center; gap:.4rem; text-decoration:none; }
.social-link .icon { display:inline-block; }
.social-link.linkedin { color:#e7eefc; }
.social-link:hover { text-decoration:underline; }

/* === Testimonials === */
.tf-testimonials { padding:3rem 1rem; background:#ffffff; }
.tf-testimonials .container { max-width:1200px; margin:0 auto; }
.tf-testimonials-title { text-align:center; font-size:1.8rem; color:#1f3b57; margin:0 0 1.5rem; }
.tf-testimonials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.tf-testimonial-card { background:#fff; border:1px solid rgba(0,0,0,0.08); border-radius:12px; padding:1rem; box-shadow:0 4px 14px rgba(31,59,87,0.06); }
.tf-stars { color:#f6b32b; letter-spacing:.1rem; margin-bottom:.75rem; text-align:center; }
.tf-testimonial-card blockquote { margin:0 0 .75rem; }
.tf-testimonial-card blockquote p { font-size:1.1rem; line-height:1.55; margin:0; color:#334e68; }
.tf-person { display:flex; flex-direction:column; align-items:center; gap:.5rem; margin-top:.5rem; }
.tf-avatar { width:32px; height:32px; border-radius:50%; background:linear-gradient(180deg,#f0f5ff 0%, #e3ecfa 100%); color:#1f3b57; display:grid; place-items:center; font-weight:700; font-size:.95rem; border:2px solid #ffffff; box-shadow:0 1px 2px rgba(0,0,0,.06); }
.tf-name { font-weight:700; text-align:center; }
.tf-role { color:#6b8299; font-size:.9rem; text-align:center; }
@media (max-width:900px){ .tf-testimonials-grid{ grid-template-columns:1fr; } }

/* === Mobile nav === */
.nav-toggle { display:none; width:40px; height:32px; border:0; background:transparent; padding:0; margin-left:auto; cursor:pointer; }
.nav-toggle .bar { display:block; height:3px; margin:6px 0; background:#0f2741; transition:transform .2s ease, opacity .2s ease; }
.nav-links { list-style:none; margin:0; padding:0; display:flex; gap:1.25rem; }
.nav-links a { text-decoration:none; }
@media (max-width:900px){
  .nav-toggle{ display:inline-block; }
  header{ position:relative; z-index:100; }
  .nav-links{ position:absolute; top:64px; right:0; left:0; background:#fff; border-top:1px solid rgba(0,0,0,.06); box-shadow:0 8px 16px rgba(0,0,0,.06); display:none; flex-direction:column; gap:0; z-index:1000; }
  .nav-links.open{ display:flex; }
  .nav-links li{ border-bottom:1px solid rgba(0,0,0,.04); }
  .nav-links a{ padding:.9rem 1rem; display:block; }
  html.nav-open{ overflow:hidden; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(1){ transform:translateY(9px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2){ opacity:0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3){ transform:translateY(-9px) rotate(-45deg); }
}


/* === Footer bottom colour unify & social icon (v2.1) === */
.site-footer, .site-footer .footer-bottom { background:#0c1624; }
.site-footer .footer-bottom { border-top:none; }
.social-link { display:inline-flex; align-items:center; gap:.4rem; text-decoration:none; }
.social-link .icon { display:inline-block; }
.social-link.linkedin { color:#e7eefc; }
.social-link:hover { text-decoration:underline; }



/* === Footer cohesion & socials (v2.2) === */
.site-footer, .site-footer .footer-bottom { background:#0c1624; }
.site-footer .footer-bottom { border-top:none; }
.site-footer hr, .site-footer .footer-separator, .site-footer .footer-divider { display:none; }

.social-list { list-style:none; margin:.5rem 0 0; padding:0; }
.social-list li { margin:0; }
.social-link { display:inline-flex; align-items:center; gap:.4rem; text-decoration:none; color:#e7eefc; }
.social-link .icon { display:inline-block; }
.social-link:hover { text-decoration:underline; }



/* === Socials under Follow Us (v2.3) === */
.social-list { list-style:none; margin:.5rem 0 0; padding:0; }
.social-list li { margin:0; }
.social-link { display:inline-flex; align-items:center; gap:.4rem; color:#e7eefc; text-decoration:none; }
.social-link:hover { text-decoration:underline; }
.social-link .icon { display:inline-block; }
/* Bottom bar colour unify */
.site-footer, .site-footer .footer-bottom { background:#0c1624; }
.site-footer .footer-bottom { border-top:none; }



/* === Socials (v2.4) === */
.social-list { list-style:none; margin:.5rem 0 0; padding:0; }
.social-list li { margin:0; }
.social-link { display:inline-flex; align-items:center; gap:.4rem; color:#e7eefc; text-decoration:none; }
.social-link:hover { text-decoration:underline; }
.social-link .icon { display:inline-block; }
.site-footer, .site-footer .footer-bottom { background:#0c1624; }
.site-footer .footer-bottom { border-top:none; }



/* === Brand lock & chatbot coexistence (v2.12) === */
.site-header .company-logo,
.site-footer .company-logo{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  white-space:nowrap;
  line-height:1.1;
}
.site-header .company-logo img,
.site-footer .company-logo img{
  height:28px;
  width:auto;
  vertical-align:middle;
}
.site-header .company-logo .brand-text,
.site-footer .company-logo .brand-text{
  display:inline !important;
  font-weight:700;
  letter-spacing:.02em;
  text-rendering:optimizeLegibility;
  font-variant-ligatures:none;
}
.site-header .company-logo .brand-text strong,
.site-footer .company-logo .brand-text strong{
  font-weight:800;
}
:root{ --chat-bubble-size:72px; }
@media (max-width: 782px){
  .site-footer{ padding-bottom: calc(var(--chat-bubble-size) + 24px); }
}
#amy-chat-widget,
.aimy-chat-widget,
#tf-chat-widget{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2147483000;
}
#amy-chat-widget *, .aimy-chat-widget *{
  line-height: normal;
  letter-spacing: normal;
  white-space: normal;
}
/* === End brand/chat fixes === */


/* --- patch: Centre legal text & reduce bar height --- */
.footer-bottom{
  background:#0c1624;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  padding:4px 0 !important;
  border-top:none;
}
.footer-bottom .copyright{
  margin:0 !important;
  text-align:center !important;
  line-height:1.35 !important;
  font-size:0.9rem !important;
  color:rgba(255,255,255,.9);
}
.footer-bottom .footer-legal-links{ display:none !important; }
