/*
 Theme Name:   Simsy
 Theme URI:    https://www.personalinjuryclaimscare.org.uk
 Description:  A blazing fast & modern theme for Simsy.
 Author:       Waseem Ali
 Author URI:   https://www.personalinjuryclaimscare.org.uk
 Version:      1.2.0
 Text Domain:  simsy-theme
*/

:root {
  /* Core Colors */
  --color-primary: #0f172a; /* Deep Navy Blue */
  --color-primary-light: #1e293b;
  --color-accent: #f59e0b; /* Trustworthy Gold/Orange */
  --color-accent-hover: #d97706;
  --color-bg: #f8fafc;
  --color-bg-card: #ffffff;
  
  /* Text Colors */
  --color-text-main: #334155;
  --color-text-muted: #64748b;
  --color-heading: #0f172a;
  
  /* Utility */
  --color-border: #e2e8f0;
  --color-success: #10b981;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: 1px solid rgba(255, 255, 255, 0.3);
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); color: var(--color-text-main); background-color: var(--color-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { color: var(--color-heading); margin-top: 0; line-height: 1.2; font-weight: 700; }
a { color: var(--color-primary); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }

/* Layout Containers */
.container { width: 100%; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1200px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; font-weight: 600; border-radius: 0.5rem; transition: all 0.2s ease; cursor: pointer; border: none; }
.btn-primary { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border: 2px solid var(--color-primary); color: var(--color-primary); background: transparent; }
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* Sticky Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: var(--glass-border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.site-logo { font-size: 1.3rem; font-weight: 800; color: var(--color-primary); display: flex; align-items: center; gap: 0.5rem; }
.site-logo span { white-space: nowrap; }
.main-navigation ul { display: flex; gap: 2rem; align-items: center; list-style: none; padding: 0; margin: 0; }
.main-navigation a { font-weight: 600; color: var(--color-primary); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-primary); }
@media (max-width: 767px) {
  .menu-toggle { display: block; padding: 0.5rem; margin-right: -0.5rem; }
  .header-inner { padding: 0.75rem 0; }
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1.5rem; box-shadow: var(--shadow-md); flex-direction: column; border-top: 1px solid var(--color-border); }
  .main-navigation.is-open { display: flex; }
  .main-navigation ul { flex-direction: column; gap: 1.25rem; width: 100%; }
}

/* Sections */
.hero-section { 
  background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?auto=format&fit=crop&q=80&w=2000'); 
  background-size: cover; 
  background-position: center; 
  color: #fff; 
  padding: 5rem 0; 
  text-align: left; 
  position: relative; 
}

@media (max-width: 767px) {
  .hero-section { padding: 2.5rem 0 1.5rem; text-align: center; }
  .hero-inner-split { gap: 1rem; }
  .hero-title-main { font-size: 2.25rem; margin-bottom: 0.75rem; letter-spacing: -0.5px; }
  .hero-subtitle-main { font-size: 1rem; margin-bottom: 1.25rem; }
  .hero-badge-gold { margin-bottom: 0.75rem; font-size: 0.75rem; padding: 0.4rem 1rem; }
  .hero-checklist li { justify-content: center; font-size: 0.95rem; gap: 0.5rem; margin-bottom: 0.75rem; }
  .hero-form-card { padding: 1.53rem 1.25rem; border-radius: 1rem; margin-top: 1rem; }
  .hero-form-card h2 { font-size: 1.4rem; }
  .hero-form-card p { margin-bottom: 1.25rem; font-size: 0.9rem; }
  .hero-form-card input, .hero-form-card select { padding: 1rem; font-size: 0.95rem; }
  .hero-form-card .btn-claim { padding: 1rem; font-size: 1.15rem; }
  
  .section-padding { padding: 2rem 0 !important; }
  .trust-bar { gap: 1.5rem; padding: 1.5rem 0; }
  .trust-item { font-size: 1rem; }
}

.hero-inner-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
}

.hero-left { flex: 1 1 500px; max-width: 100%; }
.hero-right { flex: 1 1 350px; max-width: 100%; }

/* Gold Badge Style */
.hero-badge-gold {
  display: inline-block;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

.hero-title-main {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle-main {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Checklist Style */
.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.hero-checklist-icon {
  color: var(--color-success);
  font-size: 1.4rem;
  font-weight: bold;
}

/* Floating Form Card Style */
.hero-form-card {
  background: #e5e7eb; /* Light grey as per image */
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.hero-form-card h2 {
  color: var(--color-primary);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-form-card p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.hero-form-card input, 
.hero-form-card select {
  width: 100%;
  padding: 1.25rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  background-color: #fff;
}

.hero-form-card .btn-claim {
  width: 100%;
  background-color: var(--color-accent);
  color: #fff;
  padding: 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hero-form-card .btn-claim:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.trust-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; padding: 2.5rem 0; background: #fff; border-bottom: 1px solid var(--color-border); }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1.1rem; }
.trust-icon { color: var(--color-success); font-size: 1.5rem; }

/* Global Page Banner */
.page-header-banner {
  height: 250px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.page-header-banner h1 {
  color: #fff;
  font-size: 2.75rem;
  font-weight: 800;
  margin: 0;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@media (max-width: 767px) {
  .page-header-banner { height: 180px; }
  .page-header-banner h1 { font-size: 1.75rem; padding: 0 1.5rem; }
}

/* Content Area */
.site-main { padding: 2.5rem 0; }
.content-wrapper { background: #fff; padding: 1.5rem; border-radius: 1rem; box-shadow: var(--shadow-md); margin-bottom: 1.5rem; }

/* Modern Area Cards UI */
/* Breadcrumbs & Linkback Style */
.site-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: var(--color-text-muted);
}

.site-breadcrumbs a {
  color: var(--color-text-muted);
}

.site-breadcrumbs a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: #d1d5db;
  font-weight: 400;
}

.breadcrumb-current {
  color: var(--color-primary);
  opacity: 0.8;
}

.county-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.county-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.county-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.county-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent);
}

.county-card:hover::before {
  opacity: 1;
}

.county-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
  transition: all 0.3s ease;
}

.county-card:hover .county-card-icon {
  background: var(--color-accent);
  color: #fff;
  transform: rotate(15deg);
}

.county-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.county-card-meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.county-card-btn {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.county-card:hover .county-card-btn {
  color: var(--color-accent-hover);
}

/* Footer Section */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-widget h4 { color: var(--footer-heading); margin-bottom: 1.25rem; font-size: 1.35rem; font-weight: 800; border-bottom: 2px solid var(--color-accent); display: inline-block; padding-bottom: 0.5rem; }

/* Footer Menu Fixes */
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget li { margin-bottom: 0.75rem; }
.footer-widget a { color: var(--footer-link); text-decoration: none; transition: color 0.2s ease; font-weight: 600; }
.footer-widget a:hover { color: var(--footer-link-hover); text-decoration: underline; }

.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; font-size: 0.85rem; opacity: 0.8; }

/* ==========================================================================
   Simsy FAQ Section
   ========================================================================== */
.simsy-faq-section { padding: 4rem 0; }
.simsy-faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.simsy-faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 0.75rem; overflow: hidden; transition: all 0.3s ease; }
.simsy-faq-item.is-active { border-color: var(--color-accent); box-shadow: var(--shadow-md); }
.simsy-faq-item-head { padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; color: var(--color-primary); font-size: 1.1rem; }
.simsy-faq-item-head .faq-icon { width: 20px; height: 2px; background: var(--color-text-muted); position: relative; transition: all 0.3s ease; }
.simsy-faq-item-head .faq-icon::after { content: ""; position: absolute; width: 2px; height: 20px; background: var(--color-text-muted); top: -9px; left: 9px; transition: all 0.3s ease; }
.simsy-faq-item.is-active .faq-icon { background: var(--color-accent); transform: rotate(45deg); }
.simsy-faq-item.is-active .faq-icon::after { background: var(--color-accent); display: none; }
.simsy-faq-item-body { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); color: var(--color-text-main); line-height: 1.6; }
.simsy-faq-item.is-active .simsy-faq-item-body { padding-bottom: 1.5rem; max-height: 1000px; }

/* ==========================================================================
   Simsy Table of Contents (TOC)
   ========================================================================== */
.simsy-toc-card { 
    position: sticky; top: 100px; background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(10px); border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-lg);
    z-index: 100; margin-bottom: 2rem; width: 100%; max-width: 300px;
    transition: all 0.3s ease;
}
.simsy-toc-card.is-collapsed .simsy-toc-list { display: none; }
.simsy-toc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; border-bottom: 1px solid #eee; padding-bottom: 0.5rem; }
.simsy-toc-toggle { background: var(--color-accent); color: #fff; border: none; padding: 0.25rem 0.5rem; border-radius: 0.25rem; font-size: 0.75rem; cursor: pointer; }
.simsy-toc-list { list-style: none; padding: 0; margin: 0; }
.simsy-toc-list li { margin-bottom: 0.5rem; }
.simsy-toc-list li a { color: var(--color-text-main); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; display: block; padding: 0.25rem 0; }
.simsy-toc-list li a:hover { color: var(--color-accent); }
.simsy-toc-list li.toc-level-h3 { padding-left: 1rem; font-size: 0.85rem; border-left: 1px solid #eee; }

@media (max-width: 1024px) {
    .simsy-toc-card { position: relative; top: 0; max-width: 100%; }
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.simsy-wcu-section { padding: 5rem 0; border-top: 1px solid #f1f5f9; }
.simsy-wcu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.simsy-wcu-item { text-align: center; transition: transform 0.3s ease; }
.simsy-wcu-item:hover { transform: translateY(-5px); }
.simsy-wcu-icon { width: 70px; height: 70px; margin: 0 auto 1.5rem; background: rgba(245, 158, 11, 0.1); border-radius: 1.25rem; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.simsy-wcu-item svg { width: 35px; height: 35px; fill: currentColor; }
.simsy-wcu-item-title { font-size: 1.25rem; margin-bottom: 0.75rem; font-weight: 700; }
.simsy-wcu-item p { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.5; }

/* Helpers */
.section-title-center { text-align: center; font-size: 2.5rem; color: var(--color-primary); margin-bottom: 1.5rem; }
