/**
 * PWF Solution Theme - Main Styles
 * 
 * @package PWF_Solution
 * @since 1.0.0
 */

/* CSS Custom Properties */
:root {
  --pwf-primary: #2563eb;
  --pwf-primary-hover: #1d4ed8;
  --pwf-primary-foreground: #ffffff;
  --pwf-foreground: #0f172a;
  --pwf-background: #f8fafc;
  --pwf-card: #ffffff;
  --pwf-muted: #f1f5f9;
  --pwf-muted-fg: #64748b;
  --pwf-border: #e2e8f0;
  --pwf-radius: 0.625rem;
  --pwf-dark: #0f172a;
  --pwf-dark-secondary: #1e293b;
  
  /* Breakpoints */
  --pwf-sm: 640px;
  --pwf-md: 768px;
  --pwf-lg: 1024px;
  --pwf-xl: 1280px;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  color: var(--pwf-foreground);
  background-color: var(--pwf-background);
  min-height: 100vh;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

/* Links */
a {
  color: var(--pwf-primary);
  text-decoration: none;
}

a:hover {
  color: var(--pwf-primary-hover);
}

/* Button reset */
button {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

/* Skip to content */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  top: 6px;
  left: 6px;
  z-index: 999999;
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  clip: auto !important;
}

/* Layout Utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.fixed { position: fixed; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.-inset-4 { top: -1rem; right: -1rem; bottom: -1rem; left: -1rem; }
.top-0 { top: 0; }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.hidden { display: none; }

.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.min-h-screen { min-height: 100vh; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Container & Spacing */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-md { max-width: 28rem; }

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-2 { width: 0.5rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-12 { width: 3rem; }
.w-24 { width: 6rem; }
.w-full { width: 100%; }

.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-9 { height: 2.25rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }

.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.ml-4 { margin-left: 1rem; }

.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }

/* Colors */
.text-white { color: #ffffff; }
.text-primary { color: var(--pwf-primary); }
.text-primary-foreground { color: var(--pwf-primary-foreground); }
.text-foreground { color: var(--pwf-foreground); }
.text-muted-foreground { color: var(--pwf-muted-fg); }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-blue-600 { color: #2563eb; }
.text-green-500 { color: #22c55e; }

.bg-white { background-color: #ffffff; }
.bg-primary { background-color: var(--pwf-primary); }
.bg-background { background-color: var(--pwf-background); }
.bg-muted { background-color: var(--pwf-muted); }
.bg-blue-50 { background-color: #eff6ff; }
.bg-green-400 { background-color: #4ade80; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }
.bg-primary\/10 { background-color: rgba(37, 99, 235, 0.1); }
.bg-primary\/90 { background-color: rgba(37, 99, 235, 0.9); }

/* Gradients */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-blue-400 {
  --tw-gradient-from: #60a5fa var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(96 165 250 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-blue-500\/20 {
  --tw-gradient-from: rgb(59 130 246 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-blue-600 {
  --tw-gradient-to: #2563eb var(--tw-gradient-to-position);
}

.to-blue-600\/20 {
  --tw-gradient-to: rgb(37 99 235 / 0.2) var(--tw-gradient-to-position);
}

.text-transparent {
  color: transparent;
}

.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

/* Complex Background Gradients */
.bg-gradient-to-br.from-\[#0f172a\].via-\[#1e293b\].to-\[#0f172a\] {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.bg-\[radial-gradient\(ellipse_at_top_right\,_rgba\(37\,99\,235\,0\.15\)\,_transparent_60\%\)\] {
  background: radial-gradient(ellipse at top right, rgba(37,99,235,0.15), transparent 60%);
}

.bg-\[radial-gradient\(ellipse_at_bottom_left\,_rgba\(59\,130\,246\,0\.1\)\,_transparent_60\%\)\] {
  background: radial-gradient(ellipse at bottom left, rgba(59,130,246,0.1), transparent 60%);
}

/* Borders */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-border { border-color: var(--pwf-border); }
.border-slate-200 { border-color: #e2e8f0; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }

.rounded-lg { border-radius: var(--pwf-radius); }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Effects */
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-lg { backdrop-filter: blur(16px); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.blur-2xl { filter: blur(40px); }

.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }

.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

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

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Hover States */
.hover\:bg-slate-100:hover { background-color: #f1f5f9; }
.hover\:bg-white\/5:hover { background-color: rgba(255, 255, 255, 0.05); }
.hover\:bg-primary\/90:hover { background-color: rgba(37, 99, 235, 0.9); }
.hover\:bg-muted:hover { background-color: var(--pwf-muted); }

.hover\:border-primary\/20:hover { border-color: rgba(37, 99, 235, 0.2); }

.hover\:text-white:hover { color: #ffffff; }
.hover\:text-foreground:hover { color: var(--pwf-foreground); }
.hover\:text-primary\/80:hover { color: rgba(37, 99, 235, 0.8); }

.hover\:gap-3:hover { gap: 0.75rem; }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* List Styles */
.list-none { list-style: none; }

/* Blog Content Styles */
.blog-content {
  max-width: 100%;
  line-height: 1.7;
}

.blog-content h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--pwf-foreground);
}

.blog-content h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--pwf-foreground);
}

.blog-content h3 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--pwf-foreground);
}

.blog-content p {
  margin-bottom: 1.25rem;
  color: var(--pwf-muted-fg);
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
  color: var(--pwf-muted-fg);
}

.blog-content blockquote {
  border-left: 4px solid var(--pwf-primary);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--pwf-muted-fg);
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--pwf-radius);
  margin: 1.5rem 0;
}

.blog-content code {
  background-color: var(--pwf-muted);
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

.blog-content pre {
  background-color: var(--pwf-dark);
  color: #e2e8f0;
  padding: 1rem;
  border-radius: var(--pwf-radius);
  overflow-x: auto;
  margin: 1.5rem 0;
}

.blog-content pre code {
  background: none;
  padding: 0;
  font-size: 0.875rem;
}

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

.blog-content a:hover {
  color: var(--pwf-primary-hover);
}

/* WordPress Block Classes */
.wp-block-button {
  margin: 0.5rem 0;
}

.wp-block-button__link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--pwf-primary);
  color: var(--pwf-primary-foreground);
  border-radius: var(--pwf-radius);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-button__link:hover {
  background-color: var(--pwf-primary-hover);
}

.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.wp-block-group {
  margin: 0;
}

.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.wp-block-column {
  flex: 1;
  min-width: 0;
}

.wp-block-heading {
  margin: 1rem 0 0.5rem 0;
}

.wp-block-image {
  margin: 1.5rem 0;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--pwf-radius);
}

.wp-block-query {
  margin: 2rem 0;
}

/* WordPress Block Editor Classes */
.has-text-align-center { text-align: center; }
.has-text-color { color: inherit; }
.has-background { background-color: inherit; }
.has-border-color { border-color: inherit; }
.has-custom-border { border-width: inherit; }
.has-custom-width { width: inherit; }
.has-small-font-size { font-size: 0.875rem; }
.has-background-background-color { background-color: var(--pwf-background); }

.wp-block-button__width-100 { width: 100%; }
.wp-element-button {
  background-color: var(--pwf-primary);
  color: var(--pwf-primary-foreground);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--pwf-radius);
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background-color 150ms;
}

.wp-element-button:hover {
  background-color: var(--pwf-primary-hover);
}

/* Contact Form Styles */
.contact-form-placeholder {
  color: var(--pwf-muted-fg);
  opacity: 0.7;
}

.wpcf7-form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--pwf-border);
  border-radius: var(--pwf-radius);
  font-size: 1rem;
  transition: border-color 150ms, box-shadow 150ms;
}

.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--pwf-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.wpcf7-submit {
  background-color: var(--pwf-primary);
  color: var(--pwf-primary-foreground);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--pwf-radius);
  cursor: pointer;
  font-weight: 500;
  transition: background-color 150ms;
}

.wpcf7-submit:hover {
  background-color: var(--pwf-primary-hover);
}

/* Responsive Design */
@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:block { display: block; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:p-16 { padding: 4rem; }
}

@media (min-width: 1280px) {
  .xl\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* Hover States */
.hover\:bg-primary\/90:hover { background-color: rgba(37, 99, 235, 0.9); }
.hover\:text-foreground:hover { color: var(--pwf-foreground); }
.hover\:bg-muted:hover { background-color: var(--pwf-muted); }

/* Height */
.h-9 { height: 2.25rem; }
.h-16 { height: 4rem; }
.min-h-screen { min-height: 100vh; }

/* Line Height */
h1[style*="line-height: 1.1"] { line-height: 1.1; }

/* Width */
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }



/* WordPress specific overrides */
.wp-block-button .wp-block-button__link {
  background-color: var(--pwf-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--pwf-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: background-color 0.15s ease;
}

.wp-block-button .wp-block-button__link:hover {
  background-color: var(--pwf-primary-hover);
}

/* Custom components */
.pwf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
}

.pwf-hero-badge .status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #22c55e;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Additional utility classes */
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }
.rounded-xl { border-radius: 0.75rem; }
.rounded-3xl { border-radius: 1.5rem; }
.p-12 { padding: 3rem; }
.w-0\.5 { width: 0.125rem; }
.bg-border { background-color: var(--pwf-border); }

/* Header Navigation Styles */
header .wp-block-group {
  margin: 0;
}

header .wp-block-navigation {
  gap: 0.25rem;
}

header .wp-block-navigation-item a {
  padding: 0.5rem 1rem;
  border-radius: var(--pwf-radius);
  color: var(--pwf-muted-fg);
  transition: color 150ms, background-color 150ms;
}

header .wp-block-navigation-item a:hover {
  color: var(--pwf-foreground);
  background-color: var(--pwf-muted);
}

header .wp-block-navigation-item.current-menu-item a {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--pwf-primary);
}

/* Footer link fix */
footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
}

/* Ghost Button for Hero */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
  text-decoration: none;
}
.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* CheckCircle Styles for Advantage Lists */
.check-list {
  list-style: none;
  padding: 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.check-list li::before {
  content: "";
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin-top: 0.125rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Enhanced Contact Form 7 Styles */
.wpcf7 {
  width: 100%;
}
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.wpcf7-form label {
  display: block;
  font-size: 0.875rem;
  color: #0f172a;
  margin-bottom: 0.375rem;
}
.wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  padding: 0.625rem 1rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wpcf7-form-control:not(.wpcf7-submit):focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.wpcf7-form textarea.wpcf7-form-control {
  min-height: 8rem;
  resize: vertical;
}
.wpcf7-form select.wpcf7-form-control {
  appearance: auto;
}
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #2563eb;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.wpcf7-submit:hover {
  background-color: #1d4ed8;
}
.wpcf7 .wpcf7-response-output {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
}
.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}

/* Additional Aspect Ratios */
.aspect-square {
  aspect-ratio: 1 / 1;
}
.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

/* Service Alternating Layout for Services Page */
.service-block:nth-child(even) {
  direction: ltr;
}
.service-block:nth-child(even) .service-content {
  order: 2;
}
.service-block:nth-child(even) .service-visual {
  order: 1;
}

/* Timeline Styles for About Page */
.timeline-container {
  position: relative;
  padding-left: 5rem;
}

/* Mobile responsive for wp-block-columns */
@media (max-width: 767px) {
  .wp-block-columns {
    flex-direction: column;
  }
  .wp-block-column {
    flex-basis: 100% !important;
  }
}