/* 
 * PROFESSIONAL TYPOGRAPHY SYSTEM FOR JOHNSON LAW FIRM
 * 
 * Font Hierarchy:
 * - Merriweather (Serif): Used for headings, display text, and logo text
 *   - Conveys authority, tradition, and professionalism
 *   - Excellent readability at all sizes
 *   - Perfect for legal/law firm branding
 * 
 * - Source Sans Pro (Sans-serif): Used for body text, navigation, and UI elements
 *   - Clean, modern, and highly legible
 *   - Excellent for digital interfaces
 *   - Professional yet approachable
 * 
 * Typography Scale (Optimized for All Ages):
 * - Display Heading: 4rem (64px) - Merriweather 900
 * - H1: 3.5rem (56px) - Merriweather 700
 * - H2: 2.5rem (40px) - Merriweather 600
 * - H3: 1.75rem (28px) - Source Sans Pro 600
 * - H4: 1.375rem (22px) - Source Sans Pro 600
 * - H5: 1.125rem (18px) - Source Sans Pro 600
 * - Body Text: 1.125rem (18px) - Source Sans Pro 400
 * - Body Text Large: 1.25rem (20px) - Source Sans Pro 400
 * - Caption: 1rem (16px) - Source Sans Pro 400
 * - Legal Text: 1.125rem (18px) - Source Sans Pro 400
 * 
 * Color System (Enhanced for Accessibility):
 * - Primary Text: #0f172a (Dark Navy - Better contrast)
 * - Secondary Text: #374151 (Medium Gray - Improved readability)
 * - Tertiary Text: #6b7280 (Light Gray - Better contrast)
 * - Accent: #0f172a (Dark Navy)
 */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Source+Sans+Pro:wght@300;400;600;700&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* ========================================
   RESET AND BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #0f172a;
    background-color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ========================================
   TYPOGRAPHY SYSTEM
   ======================================== */

/* Professional Typography Hierarchy */
h1 {
    font-family: 'Merriweather', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 1.5rem;
    text-rendering: optimizeLegibility;
}

h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #0f172a;
    margin-bottom: 1rem;
    text-rendering: optimizeLegibility;
}

h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0em;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

h5 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

/* Professional Typography Classes */
.display-heading {
    font-family: 'Merriweather', serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0f172a;
    text-rendering: optimizeLegibility;
}

.section-title {
    font-family: 'Merriweather', serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #0f172a;
    text-rendering: optimizeLegibility;
}

.card-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.body-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.8;
    color: #374151;
}

.body-text-large {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    color: #374151;
}

.caption-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #6b7280;
}

.legal-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
    color: #374151;
}

/* Professional Button Typography - Consolidated with main button styles below */

/* Enhanced Paragraph Styling for Better Readability */
p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #374151;
}

.lead-paragraph {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Enhanced Link Styling */
a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

a:hover {
    color: #1e293b;
    text-decoration: underline;
}

/* Improved List Styling */
ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #374151;
}

/* Navigation Typography */
.nav-menu a {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

/* Footer Typography */
.footer-logo .logo-text {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ========================================
   RESPONSIVE TYPOGRAPHY
   ======================================== */
@media (max-width: 768px) {
    h1 { 
        font-size: 2.5rem; 
        line-height: 1.2;
    }
    h2 { 
        font-size: 2rem; 
        line-height: 1.25;
    }
    h3 { 
        font-size: 1.5rem; 
        line-height: 1.4;
    }
    h4 { 
        font-size: 1.25rem; 
        line-height: 1.4;
    }
    h5 { 
        font-size: 1.125rem; 
        line-height: 1.5;
    }
    .display-heading { 
        font-size: 2.75rem; 
        line-height: 1.15;
    }
    .section-title { 
        font-size: 2.25rem; 
        line-height: 1.25;
    }
    .card-title { 
        font-size: 1.5rem; 
        line-height: 1.4;
    }
    .body-text-large {
        font-size: 1.125rem;
        line-height: 1.7;
    }
    body {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    h1 { 
        font-size: 2rem; 
        line-height: 1.2;
    }
    h2 { 
        font-size: 1.75rem; 
        line-height: 1.25;
    }
    .display-heading { 
        font-size: 2.25rem; 
        line-height: 1.15;
    }
    .section-title { 
        font-size: 1.875rem; 
        line-height: 1.25;
    }
}

/* ========================================
   LAYOUT AND CONTAINERS
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   HEADER SECTION
   ======================================== */
.header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e8e8e8;
}

.navbar {
    padding: 25px 0;
}

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

.navbar-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0f172a;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Header brand: logo + social */
.header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
    background-color: transparent;
    filter: brightness(0) saturate(100%) invert(0);
}

.logo-image:not([src]), 
.logo-image[src=""], 
.logo-image[src*="data:image/svg+xml"] {
    display: none;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin-left: auto;
}

.header-social {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #0f172a;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.header-social a:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
}

.header-social a i {
    line-height: 1;
}

.nav-menu a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 15px;
    position: relative;
}

.nav-menu a:focus-visible,
.btn:focus-visible {
    outline: 3px solid #0f172a;
    outline-offset: 3px;
}

.nav-menu a:hover {
    color: #1e40af;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1e40af;
    transition: width 0.3s ease;
}

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

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #f1f5f9;
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #0f172a;
    color: #ffffff;
    padding-left: 25px;
}

.dropdown-menu a::after {
    display: none;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: url('Assets/MJ4A1733.jpg') center center/cover no-repeat;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-text {
    max-width: 800px;
}

.hero-text h1 {
    font-family: 'Merriweather', serif;
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-rendering: optimizeLegibility;
}

.hero-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 50px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.hero-cta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* (trust badges removed) */

.hero-logo {
    margin-bottom: 30px;
    text-align: center;
}

.hero-logo-image {
    height: 120px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(1);
    opacity: 0.9;
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.btn {
    display: inline-block;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    line-height: 1.4;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* ========================================
   UNIFORM BUTTON HOVER SYSTEM
   ======================================== */

/* Base button styles */
.btn-primary {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.btn-secondary {
    background-color: #ffffff;
    color: #0f172a;
    border: 2px solid #0f172a;
    font-weight: 600;
}

/* Standard button hover states - WHITE TEXT ON DARK BACKGROUNDS */
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.4);
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #ffffff !important;
}

.btn-secondary:hover {
    background-color: #0f172a;
    color: #ffffff !important;
    border-color: #0f172a;
    transform: translateY(-3px);
}

/* Special cases - DARK TEXT ON LIGHT BACKGROUNDS */
/* Hero section buttons (white background) */
.hero .btn-primary {
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.hero .btn-primary:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
    transform: translateY(-3px);
}

.hero .btn-secondary:hover {
    background-color: #0f172a;
    color: #ffffff !important;
    border-color: #0f172a;
    transform: translateY(-3px);
}

/* About CTA section buttons (white background) */
.about-cta-section .cta-buttons .btn {
    background: white !important;
    color: #0f172a !important;
    border: 2px solid white !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.about-cta-section .cta-buttons .btn:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #f8fafc !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
}

/* ========================================
   WHAT WE DO SECTION
   ======================================== */
.what-we-do-section {
    padding: 16px 0 0;
    background: #ffffff;
}

/* Blue Header Section */
.blue-header-section {
    background: #0f172a;
    color: #ffffff;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.blue-header-section .container {
    text-align: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.blue-header-section .section-header {
    text-align: center;
    margin: 0;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blue-header-section .section-header h2 {
    text-align: center;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.blue-header-section .section-header p {
    text-align: center;
    margin: 0;
    color: #e0e0e0;
}





/* What We Do Description */
.what-we-do-layout {
    display: grid;
    /* Make the media column narrower than the text for better balance */
    grid-template-columns: 0.8fr 1.2fr;
    gap: 28px;
    align-items: start;
    max-width: 1080px;
    margin: 48px auto 0;
    padding: 0 32px;
}

.what-we-do-media {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.what-we-do-photo {
    /* Keep image visually smaller and balanced with text */
    width: 100%;
    height: auto;
    max-width: 420px;
    max-height: 420px;
    display: block;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(15, 23, 42, 0.08);
    object-fit: cover;
    /* Favor showing more of the bottom than the top */
    object-position: center bottom;
}

.what-we-do-description {
    margin-top: 0;
    max-width: 640px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.catchy-line {
    margin-bottom: 40px;
}

.catchy-line h3 {
    font-family: 'Merriweather', serif;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0 0 8px 0;
    text-align: left;
    text-rendering: optimizeLegibility;
}

.what-we-do-description p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #1a1a1a !important;
    margin-bottom: 14px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.what-we-do-description p:last-child {
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .what-we-do-layout {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 30px;
        padding: 0 20px;
    }
    .what-we-do-media { height: auto; }
    .what-we-do-photo { height: auto; }
    .what-we-do-description {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }
    .catchy-line h3 {
        text-align: center;
    }
}

/* Practice Areas Split Section */
.practice-areas-split {
    display: flex;
    height: 520px;
    margin-top: 16px;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    background: url('Assets/areasbg.jpg') center center/cover no-repeat;
    overflow: hidden;
    position: relative;
}

.practice-split-section {
    flex: 1;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.practice-split-section:hover {
    background: rgba(30, 58, 138, 0.8);
}

.practice-split-section:hover .practice-split-content h3,
.practice-split-section:hover .practice-areas-title h2 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.practice-split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.7), rgba(26, 35, 50, 0.7));
    z-index: 1;
}

.practice-split-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.practice-areas-title {
    text-align: center;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 100%;
}

.practice-areas-title h2 {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8);
    text-rendering: optimizeLegibility;
}

.practice-split-content h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

/* ========================================
   ATTORNEYS SECTION
   ======================================== */
.attorneys-section {
    padding: 16px 0 0;
    background: #ffffff;
}

/* Attorneys Header Section */
.attorneys-header-section {
    background: #0f172a;
    color: #ffffff;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.attorneys-header-section .container {
    text-align: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.attorneys-header-section .section-header {
    text-align: center;
    margin: 0;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.attorneys-header-section .section-header h2 {
    text-align: center;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.attorneys-header-section .section-header p {
    text-align: center;
    margin: 0;
    color: #e0e0e0;
}

/* Attorneys Split Section */
.attorneys-split {
    display: flex;
    height: 600px;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
    overflow: hidden;
    position: relative;
}

.attorney-split-section {
    flex: 1;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attorney-split-section:first-child {
    background: url('Assets/brent.jpg') center center/cover no-repeat;
}

.attorney-split-section:last-child {
    background: url('Assets/brock.jpg') center center/cover no-repeat;
}

/* Match practice hover: keep image, darken overlay instead of replacing bg */

.attorney-split-section:hover .attorney-split-content h3,
.attorney-split-section:hover .attorney-split-header h3 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.attorney-split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.4), rgba(26, 35, 50, 0.4));
    z-index: 1;
    transition: background 0.3s ease;
}

.attorney-split-section:hover .attorney-split-overlay {
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.7), rgba(26, 35, 50, 0.7));
}

.attorney-split-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 40px;
    max-width: 500px;
}

.attorney-split-header {
    margin-bottom: 30px;
}

.attorney-split-header h3 {
    font-family: 'Merriweather', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-rendering: optimizeLegibility;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 0, 0, 0.4);
}

.attorney-split-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 0 10px rgba(0, 0, 0, 0.4);
}

.attorney-split-description {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 0 10px rgba(0, 0, 0, 0.4);
}

/* Attorney Bio Pages */
.attorney-bio-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.bio-hero-image {
    flex: 0 0 450px;
    height: 600px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attorney-bio-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.bio-hero-content h1 {
    font-family: 'Merriweather', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.bio-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.bio-subtitle {
    font-size: 1.125rem;
    color: #666666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.bio-contact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.bio-contact .btn-primary {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Bio contact buttons use standard button hover system */

.bio-quick-facts-hero {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border-left: 4px solid #0f172a;
}

.quick-fact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.quick-fact-label {
    font-size: 0.875rem;
    color: #666666;
    font-weight: 500;
}

.quick-fact-value {
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.attorney-bio-content {
    padding: 80px 0;
    background: white;
}

.bio-content-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.bio-main-content h2,
.bio-main-content-full h2 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #0f172a;
    padding-bottom: 0.5rem;
}

.bio-main-content h3,
.bio-main-content-full h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.bio-main-content p,
.bio-main-content-full p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 1.5rem;
}

.bio-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.bio-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #444444;
}

.bio-list li::before {
    content: "•";
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.4;
}

.bio-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.bio-quick-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #0f172a;
}

.bio-quick-info h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.bio-quick-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bio-quick-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
    color: #666666;
}

.bio-quick-list li:last-child {
    border-bottom: none;
}

.bio-quick-list li strong {
    color: #1a1a1a;
    font-weight: 600;
}

.bio-cta {
    background: #1a1a1a;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.bio-cta h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio-cta p {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

/* Attorney CTA Elements */
.attorney-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.attorney-link-text {
    color: #0f172a;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.attorney-link-text:hover {
    color: #1e293b;
}

/* ========================================
   SERVICE AREAS SECTION
   ======================================== */
.service-areas-section {
    padding: 0 0 100px;
    background: #ffffff;
}

/* Service Areas Header Bar */
.service-areas-header-section {
    background: #0f172a;
    color: #ffffff;
    padding: 24px 0;            /* interior spacing */
    margin: 12px 0;             /* white space above/below bar */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.service-areas-header-section .container {
    text-align: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-areas-header-section .section-header {
    text-align: center;
    margin: 0;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-areas-header-section .section-header h2 {
    text-align: center;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.service-areas-header-section .section-header p {
    text-align: center;
    margin: 0;
    color: #e0e0e0;
}

/* Practice Areas Header Bar */
.practice-areas-header-section {
    background: #0f172a;
    color: #ffffff;
    padding: 32px 0;            /* interior spacing (taller) */
    margin: 12px 0 8px;         /* slightly tighter gap below */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.practice-areas-header-section .container {
    text-align: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.practice-areas-header-section .section-header {
    text-align: center;
    margin: 0;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.practice-areas-header-section .section-header h2 {
    color: #ffffff;
    margin: 0 0 10px 0;
}

.practice-areas-header-section .section-header p {
    color: #e0e0e0;
    margin: 0;
}

.service-areas-content {
    margin-top: 32px;
    position: relative;
}

/* New Service Areas Grid Styling */
.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-area-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #0f172a;
}

.service-area-card h3 {
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-area-card p {
    color: #666666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.service-areas-note {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.service-areas-note p {
    color: #444444;
    font-size: 1.125rem;
    margin: 0;
}

.service-areas-note strong {
    color: #1a1a1a;
}

/* ========================================
   TESTIMONIALS PAGE STYLES
   ======================================== */

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #0f172a;
}

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

.testimonial-author {
    border-top: 1px solid #e8e8e8;
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: #1a1a1a;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #666666;
    font-size: 0.875rem;
}

/* Case Results Grid */
.case-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.case-result-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.case-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    border-color: #0f172a;
}

.case-result-card h3 {
    color: #1a1a1a;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.case-result-card p {
    color: #666666;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.case-result-card strong {
    color: #1a1a1a;
}

/* Testimonial and Case Results Disclaimers */
.testimonial-disclaimer,
.case-results-disclaimer,
.capabilities-disclaimer {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.testimonial-disclaimer p,
.case-results-disclaimer p,
.capabilities-disclaimer p {
    color: #666666;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Testimonials */
@media (max-width: 768px) {
    .testimonials-grid,
    .case-results-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .testimonial-card,
    .case-result-card {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .testimonial-disclaimer,
    .case-results-disclaimer,
    .capabilities-disclaimer {
        margin-top: 1.5rem;
        padding: 1.25rem;
    }
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* Contact Information Row */
.contact-info-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    text-align: left;
    justify-content: space-between;
    height: 100%;
}

.contact-item i {
    font-size: 1.5rem;
    color: #0f172a;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 50%;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    width: 100%;
    flex: 1;
}

.contact-text strong {
    color: #1a1a1a;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.contact-text span {
    color: #1a1a1a;
    font-size: 0.875rem;
    line-height: 1.4;
}

.contact-text a {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-text a:hover {
    color: #1e293b;
}

.contact-note {
    color: #888888;
    font-size: 0.75rem;
    font-style: italic;
    background: #f8fafc;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border-left: 2px solid #0f172a;
    margin-top: auto;
}

.contact-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: #f1f5f9;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
    border: 1px solid #e2e8f0;
}

.contact-link:hover {
    color: #1e293b;
    background: #e2e8f0;
    transform: translateY(-1px);
}

/* Responsive design for contact row */
@media (max-width: 768px) {
    .contact-info-row {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .contact-text {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .contact-info-row {
        padding: 0.75rem;
        margin: 1rem 0;
    }
    
    .contact-item i {
        font-size: 1rem;
        width: 20px;
    }
    
    .contact-text strong,
    .contact-text span,
    .contact-text a {
        font-size: 0.8rem;
    }
}

.contact-info-card {
    background: white;
    border-radius: 12px;
    padding: 1rem 0.75rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #0f172a;
}

.contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
    background: #f8fafc;
    border-radius: 50%;
    border: 2px solid #0f172a;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 1rem;
    color: #0f172a;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    background: #0f172a;
    transform: scale(1.05);
}

.contact-info-card:hover .contact-icon i {
    color: white;
}

.contact-info-card h3 {
    color: #1a1a1a;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25px;
}

.contact-details {
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: #666666;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.contact-phone {
    display: block;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: #f8fafc;
}

.contact-phone:hover {
    color: #1e293b;
    background: #e2e8f0;
    transform: translateY(-2px);
}

.contact-address {
    font-style: normal;
    color: #1a1a1a;
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #1e293b;
    background: #e2e8f0;
    transform: translateY(-2px);
}



.hours-info p {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    line-height: 1.3;
    font-size: 0.875rem;
}

.hours-info p:last-child {
    margin-bottom: 0;
}

.contact-note {
    color: #888888;
    font-size: 0.75rem;
    font-style: italic;
    margin-top: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 2px solid #0f172a;
}

/* Contact Form Container */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-intro {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-form-intro h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.contact-form-intro p {
    color: #666666;
    font-size: 1.125rem;
}

/* Main Contact Form */
.contact-form-main {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    color: #1a1a1a;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

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

/* Form Submit Section */
.form-submit-section {
    text-align: center;
    margin-top: 2rem;
}

.contact-submit-btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Contact submit buttons use standard button hover system */

.contact-form-disclaimer {
    margin-top: 1.5rem;
    color: #666666;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Office Location Section */
.office-location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.office-location-info h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.office-location-info > p {
    color: #666666;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.office-details h3 {
    color: #1a1a1a;
    font-size: 1.125rem;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 600;
}

.office-details p {
    color: #666666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.office-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.office-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
        margin: 1.25rem 0;
    }
    
    .contact-info-card {
        padding: 1rem;
    }
    
    .contact-form-main {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .office-location-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .office-cta {
        flex-direction: column;
    }
    
    .office-cta .btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .contact-form-main {
        padding: 1.25rem;
    }
    
    .contact-info-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials-grid,
    .case-results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial-card,
    .case-result-card {
        padding: 1.25rem;
    }
}

.service-areas-section .section-header {
    margin-top: 0; /* avoid pushing title down; keep centered in blue bar */
}

.counties-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 20px 40px;
}

.county-item {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
    letter-spacing: 0.2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: default;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.county-item:hover,
.county-item:focus-visible {
    border-color: #0f172a; /* navy stroke */
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18); /* navy glow */
    color: #0f172a; /* navy highlight */
}

/* Small helper to space two-line county names more comfortably */
.county-item { line-height: 1.35; }

/* Responsive Service Areas Grid */
@media (max-width: 768px) {
    .service-areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .service-area-card {
        padding: 1.5rem;
    }
    
    .service-area-icon {
        font-size: 2.5rem;
    }
    
    .service-area-card h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .service-areas-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-area-card {
        padding: 1.25rem;
    }
    
    .service-areas-note {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}

/* ========================================
   FOOTER SECTION
   ======================================== */
.footer {
    background-color: #ffffff;
    padding: 60px 0;
    color: #1a1a1a;
    border-top: 1px solid #e8e8e8;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    margin-bottom: 15px;
    opacity: 1;
    transition: opacity 0.3s ease;
    filter: brightness(0) saturate(100%) invert(0);
}

.logo-text {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    text-rendering: optimizeLegibility;
}

.logo-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 11px;
    color: #666666;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.4;
    text-transform: uppercase;
}

.footer-contact {
    margin-top: 20px;
}

.footer-phone {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    letter-spacing: 0;
}

.footer-phone:hover {
    color: #0f172a;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0f172a;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.footer-social a:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
}

.footer-social a i {
    line-height: 1;
}

.footer-address {
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    color: #666666;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 400;
}

.footer-link {
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-link:hover {
    color: #1e293b;
}

.footer-hours {
    margin-top: 20px;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-family: 'Source Sans Pro', sans-serif;
    color: #666666;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-nav a:hover {
    color: #0f172a;
}

.footer-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-family: 'Merriweather', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
}

.section-header p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 20px;
    color: #666666;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

/* About Hero Section */
.about-hero {
    background: #0f172a;
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

/* Hero Layout for Contact Page */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.hero-text {
    max-width: 500px;
}

.hero-contact-info {
    display: flex;
    justify-content: center;
}

/* About Mission Section */
.about-mission-section {
    padding: 80px 0;
    background: #f8fafc;
}

.mission-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.mission-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.mission-intro h2 {
    margin-bottom: 1.25rem;
    color: #1a1a1a;
}

.mission-intro p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

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

.mission-feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.mission-feature-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.mission-feature-card p {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.mission-content h2 {
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.mission-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #444;
}

.mission-content h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #0f172a;
    padding-bottom: 0.5rem;
}

.mission-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.mission-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #444444;
}

.mission-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.4;
}

.mission-list li strong {
    color: #1a1a1a;
    font-weight: 600;
}

.mission-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.feature-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature-line {
    width: 3px;
    height: 40px;
    background: #0f172a;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-content h4 {
    font-family: 'Merriweather', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.feature-content p {
    color: #666666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.mission-image {
    text-align: center;
    display: flex;
    align-items: center;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-photo:hover {
    transform: translateY(-5px);
}

/* About Values Section */
.about-values-section {
    padding: 80px 0;
    background: white;
}



.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    align-items: stretch;
}

/* Simple section headers for About page */
.about-values-section .section-header,
.about-history-section .section-header,
.about-attorneys-section .section-header,
.about-why-choose-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-values-section .section-header h2,
.about-history-section .section-header h2,
.about-attorneys-section .section-header h2,
.about-why-choose-section .section-header h2 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.about-values-section .section-header p,
.about-history-section .section-header p,
.about-attorneys-section .section-header p,
.about-why-choose-section .section-header p {
    color: #666;
    font-size: 1.125rem;
}

.value-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    color: #0f172a;
    font-weight: 300;
    line-height: 1;
    text-align: center;
}

.value-icon i {
    font-size: 2.5rem;
    color: #0f172a;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    text-align: center;
    font-size: 1.5rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
    flex-grow: 1;
}

.value-card p:last-child {
    margin-bottom: 0;
}

.value-card ul {
    text-align: left;
    margin: 0.5rem 0;
}

.value-card li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Long content cards that can span multiple columns */
.value-card.long-content {
    grid-column: span 2;
    max-width: none;
}

/* For tablets and mobile, long content cards should span full width */
@media (max-width: 1024px) {
    .value-card.long-content {
        grid-column: span 1;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}


/* About History Section */
.about-history-section {
    padding: 80px 0;
    background: #f8fafc;
}



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

.history-layout .history-image {
    order: 1;
}

.history-layout .history-content {
    order: 2;
}

.history-content h2 {
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.history-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #444;
}

/* About Why Choose Section */
.about-why-choose-section {
    padding: 80px 0;
    background: white;
}



.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.why-choose-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-choose-number {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.why-choose-content h3 {
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.why-choose-content p {
    color: #666;
    line-height: 1.6;
}

/* About Attorneys Section */
.about-attorneys-section {
    padding: 80px 0;
    background: #f8fafc;
}



.attorneys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 60px;
    margin-top: 60px;
}



.attorney-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attorney-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.attorney-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.attorney-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.attorney-card:hover .attorney-photo {
    transform: scale(1.05);
}

.attorney-info {
    padding: 40px;
}

.attorney-info h3 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-size: 1.75rem;
}

.attorney-title {
    display: block;
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.attorney-info p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

/* About Community Section */
.about-community-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.community-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.community-content h2 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.community-content > p {
    margin-bottom: 3rem;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #1a1a1a;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.community-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.community-item {
    text-align: center;
    padding: 30px 20px;
}

.community-item h4 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.community-item p {
    color: #666;
    line-height: 1.6;
}

/* About CTA Section */
.about-cta-section {
    padding: 80px 0;
    background: #0f172a;
    color: white;
    text-align: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

/* Ensure all text in blue sections is white and readable */
.about-cta-section h2,
.about-cta-section h3,
.about-cta-section h4,
.about-cta-section p,
.about-cta-section li {
    color: white !important;
}

/* General rule for all blue background sections */
[style*="background: #0f172a"],
[style*="background-color: #0f172a"],
.blue-header-section,
.attorneys-header-section,
.service-areas-header-section,
.practice-areas-header-section {
    color: white !important;
}

[style*="background: #0f172a"] h2,
[style*="background: #0f172a"] h3,
[style*="background: #0f172a"] h4,
[style*="background: #0f172a"] p,
[style*="background: #0f172a"] li,
[style*="background-color: #0f172a"] h2,
[style*="background-color: #0f172a"] h3,
[style*="background-color: #0f172a"] h4,
[style*="background-color: #0f172a"] p,
[style*="background-color: #0f172a"] li,
.blue-header-section h2,
.blue-header-section h3,
.blue-header-section h4,
.blue-header-section p,
.blue-header-section li,
.attorneys-header-section h2,
.attorneys-header-section h3,
.attorneys-header-section h4,
.attorneys-header-section p,
.attorneys-header-section li,
.service-areas-header-section h2,
.service-areas-header-section h3,
.service-areas-header-section h4,
.service-areas-header-section p,
.service-areas-header-section li,
.practice-areas-header-section h2,
.practice-areas-header-section h3,
.practice-areas-header-section h4,
.practice-areas-header-section p,
.practice-areas-header-section li {
    color: white !important;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 180px;
}

/* CTA buttons use standard button hover system */

/* Active Navigation State */
.nav-menu a.active {
    color: #1e40af;
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: #1e40af;
    border-radius: 2px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        padding: 0 30px;
    }
    
    .section-header {
        padding: 0 30px;
    }
    
    .attorneys-section,
    .content-grid {
        padding: 0 30px;
    }
    
    .contact-section {
        margin: 120px 30px;
        padding: 50px 40px;
    }
    
    .banner-content {
        padding: 0 30px;
    }
    
    .contact-header {
        padding: 0 30px;
    }
    
    .footer-content {
        padding: 0 30px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 80px;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .attorneys-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-section {
        padding: 40px 30px;
    }
    
    .attorneys-modern-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .mission-features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 480px;
    }

    .mission-feature-card {
        padding: 1.5rem 1.25rem;
    }

    .mission-features {
        margin-top: 1.5rem;
    }
    
    .feature-item {
        gap: 1rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }
    
    .feature-line {
        height: 35px;
    }
    
    .feature-content h4 {
        font-size: 1rem;
    }
    
    .feature-content p {
        font-size: 0.95rem;
    }
    
    .about-photo {
        height: auto;
        object-fit: cover;
    }
    
    .navbar .container {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .navbar-header-row {
        width: 100%;
    }

    .header-brand {
        flex: 1;
        min-width: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        margin-left: 0;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #e8e8e8;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu > li > a {
        display: block;
        padding: 12px 4px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        display: none;
        min-width: 0;
        padding-left: 12px;
        background: #f8fafc;
    }

    .dropdown.is-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 12px;
    }

    .header-social a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero-text h1 {
        font-size: 44px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .attorney-card {
        flex-direction: column;
        text-align: center;
        padding: 50px;
        border: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .contact-section {
        padding: 30px 20px;
        margin: 120px 20px;
    }
    
    .mission-card,
    .practice-areas-card {
        padding: 50px;
    }

    .contact-form-card {
        padding: 30px 20px;
    }
    
    .method-info a {
        font-size: 15px;
    }
    
    /* Bio Page Mobile Styles */
    .bio-hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .bio-hero-image {
        flex: 0 0 auto;
        height: 400px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .bio-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .bio-quick-facts-hero {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin: 1.5rem 0;
        padding: 1.25rem;
    }
    
    .bio-content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .bio-main-content h2,
    .bio-main-content-full h2 {
        font-size: 1.75rem;
    }
    
    .bio-main-content h3,
    .bio-main-content-full h3 {
        font-size: 1.25rem;
    }
    
    .bio-main-content p,
    .bio-main-content-full p {
        font-size: 1rem;
    }
    
    .practice-areas-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .practice-area-card {
        max-width: 100%;
        min-width: auto;
    }
    
    .services-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        max-width: 100%;
        min-width: auto;
    }
    
    .counties-simple {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 30px 0;
    }
    
    .county-item {
        font-size: 14px;
        padding: 12px 8px;
    }
    
    .attorneys-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .attorney-image {
        height: 250px;
    }
    
    .attorney-info {
        padding: 25px;
    }
    
    .attorney-info h3 {
        font-size: 24px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .map-section {
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-column:last-child {
        grid-column: 1 / -1;
    }

    /* Reduce split height on small screens */
    .practice-areas-split {
        height: 380px;
        margin-top: 12px;
    }
    
    /* About Page Mobile Styles */
    .about-hero {
        padding: 80px 0 60px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-contact-info {
        justify-content: center;
    }
    

    

    
    .mission-layout,
    .history-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .history-layout .history-image {
        order: 1;
    }
    
    .history-layout .history-content {
        order: 2;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .value-card {
        padding: 25px 20px;
    }
    
    .value-card h3 {
        font-size: 1.375rem;
    }
    
    .value-card p {
        font-size: 0.95rem;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-choose-item {
        flex-direction: column;
        text-align: center;
    }
    
    .attorneys-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .community-highlights {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .attorney-photo {
        width: 140px;
        height: 180px;
    }
    
    .contact-section {
        padding: 25px 15px;
        margin: 120px 10px;
    }
    
    .mission-card,
    .practice-areas-card {
        padding: 40px 20px;
    }

    .contact-form-card {
        padding: 25px 15px;
    }
    
    .method-info a {
        font-size: 14px;
    }
    
    /* About Page Small Mobile Styles */
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero-subtitle {
        font-size: 1rem;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .value-icon {
        font-size: 2.5rem;
    }
    
    .why-choose-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .attorney-info {
        padding: 30px 20px;
    }
    
    .cta-buttons .btn {
        min-width: 160px;
        padding: 14px 20px;
    }
    
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.attorney-photo,
.hero-team-image {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    text-align: center;
}

.attorney-photo::before {
    content: "Attorney Photo\n(160x200px)";
    white-space: pre-line;
}

.hero-team-image::before {
    content: "Team Photo\n(Hero Section)";
    white-space: pre-line;
} 

/* ========================================
   FLOATING CONTACT WIDGET
   ======================================== */
.contact-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1100;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border: 2px solid #0f172a;
    border-radius: 50px;
    padding: 16px 24px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    backdrop-filter: blur(10px);
}

.contact-fab:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.4);
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-color: #1e293b;
    color: #ffffff !important;
}

/* Professional contact button styling */
.contact-fab:active {
    transform: translateY(-1px) scale(1.02);
}

.contact-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1090;
}

.contact-flyout {
    position: fixed;
    right: 24px;
    bottom: 88px;
    width: 340px;
    max-width: calc(100% - 48px);
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    z-index: 1110;
    transform: translateY(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.contact-flyout.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-flyout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-flyout-header h3 {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    margin: 0;
}

.contact-flyout-close {
    background: transparent;
    border: 0;
    color: #1a1a1a;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.contact-flyout-form {
    padding: 14px 16px 16px;
}

.form-row-simple {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.form-row-simple label {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 13px;
    color: #444;
    font-weight: 600;
}

.form-row-simple input,
.form-row-simple textarea,
.form-row-simple select {
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 10px 12px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
}

.form-row-simple input:focus,
.form-row-simple textarea:focus,
.form-row-simple select:focus {
    outline: 2px solid #0f172a;
    outline-offset: 1px;
}

.contact-submit {
    width: 100%;
    margin-top: 6px;
}

/* Floating contact submit buttons use standard button hover system */

.contact-disclaimer {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

@media (max-width: 768px) {
    .contact-fab { 
        right: 20px; 
        bottom: 20px; 
        padding: 14px 20px; 
        font-size: 13px; 
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .contact-fab { 
        right: 16px; 
        bottom: 16px; 
        padding: 12px 16px; 
        font-size: 12px; 
        min-width: 100px;
    }
    .contact-flyout { right: 16px; bottom: 76px; width: 92vw; }
}

/* ========================================
   LEGAL RESOURCES PAGE STYLES
   ======================================== */

/* Legal Resources Grid */
.legal-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Practice Area Sections */
.practice-area-section {
    margin-bottom: 40px;
    scroll-margin-top: 100px; /* Account for fixed header */
}

.practice-area-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid #dc2626;
    padding-bottom: 0.8rem;
    display: inline-block;
    width: 100%;
    padding-top: 20px; /* Extra padding to ensure visibility */
}

.resource-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-8px);
    border-color: #0f172a;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.05), transparent);
    transition: left 0.6s ease;
}

.resource-card:hover::before {
    left: 100%;
}

.resource-icon {
    margin-bottom: 1rem;
    display: block;
    color: #0f172a;
}

.resource-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.resource-card h3 {
    color: #0f172a;
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
    line-height: 1.3;
}

.resource-card p {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.resource-card .btn {
    margin-top: auto;
    align-self: center;
}

/* DUI/BUI Defense Page Styles */
.content-section {
    margin-bottom: 3rem;
}

.content-section h3 {
    color: #0f172a;
    font-family: 'Merriweather', serif;
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.content-section h4 {
    color: #0f172a;
    font-family: 'Merriweather', serif;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

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

.info-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #0f172a;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
}

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

.rights-category {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.rights-category:hover {
    border-color: #0f172a;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
}

.rights-category h4 {
    color: #0f172a;
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.rights-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.right-item {
    background: #f8fafc;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
    border-left: 3px solid #0f172a;
    transition: all 0.2s ease;
    font-weight: 400;
}

.right-item:hover {
    background: #f1f5f9;
    border-left-color: #1e293b;
    transform: translateX(4px);
}

.important-note {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.important-note p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
    color: white !important;
}

.important-note strong {
    color: white !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .rights-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .rights-category {
        padding: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.5rem;
    }
}



.resources-disclaimer,
.service-areas-help-note {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.resources-disclaimer p,
.service-areas-help-note p {
    color: #444444;
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Legal Resources */
@media (max-width: 768px) {
    .legal-resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .resource-card {
        padding: 1.5rem;
    }
    
    .resource-icon {
        margin-bottom: 1rem;
    }
    
    .resource-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .resource-card h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .legal-resources-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .resource-card {
        padding: 1.25rem;
    }
    
    .resource-icon svg {
        width: 36px;
        height: 36px;
    }
}

/* ========================================
   DUI DEFENSE PAGE STYLES
   ======================================== */

/* Content Section */
.content-section {
    margin-bottom: 3rem;
}

.lead-paragraph {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* FAQ Section */
.faq-section {
    margin: 3rem 0;
}

.faq-item {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #0f172a;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.1);
}

.faq-item h3 {
    color: #0f172a;
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.faq-item p {
    color: #666666;
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.faq-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.faq-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #666666;
}

.faq-list li:last-child {
    margin-bottom: 0;
}

.faq-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.4;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
}

.cta-section h2 {
    color: #0f172a;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666666;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive DUI Page */
@media (max-width: 768px) {
    .faq-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .faq-item h3 {
        font-size: 1.25rem;
    }
    
    .faq-item p {
        font-size: 1rem;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .faq-item {
        padding: 1.25rem;
    }
    
    .faq-item h3 {
        font-size: 1.125rem;
    }
    
    .cta-section {
        padding: 1.5rem 1rem;
    }
}