:root {
  --color-navy: #1a365d;
  --color-red: #dc2626;
  --color-red-dark: #b91c1c;
  --color-gold: #fbbf24;
  --color-blue: #2563eb;
  --color-text: #333;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;
  --color-bg-light: #f8fafc;
  --font-heading: 'Merriweather', serif;
  --font-body: 'Open Sans', sans-serif;
  --admin-bar-height: 0px;
}

/* ==========================================================================
   Admin Bar Offset Handling
   WordPress adds 'admin-bar' class to body when user is logged in.
   Admin bar: 32px desktop (>782px), 46px mobile (<=782px)
   ========================================================================== */

body.admin-bar {
    --admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        --admin-bar-height: 46px;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Top Bar */
.top-bar {
    background: #1a365d;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-quick {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.contact-quick span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-quick i {
    color: #fbbf24;
}

.emergency-notice {
    color: #fbbf24;
    font-weight: 600;
}

/* Header */
.header {
    background: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: var(--admin-bar-height);
    z-index: 1001;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.shield-icon {
    background: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.shield-icon i {
    font-size: 1.5rem;
    color: white;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: #1a365d;
    margin-bottom: 0.25rem;
}

.logo-text p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.header-contact {
    text-align: right;
    min-width: 200px;
}

.cta-label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.phone-main {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #dc2626;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.phone-main:hover {
    color: #b91c1c;
}

.btn-consultation {
    background: #dc2626;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
}

.btn-consultation:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    color: white;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #1a365d;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Navigation */
.navigation {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 0;
    align-items: stretch;
    height: 100%;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    padding: 1.25rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-size: 0.95rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    background: #f8fafc;
}

.nav-link:hover,
.nav-link.active {
    color: #1a365d;
    border-bottom-color: #dc2626;
    background: white;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

/* Page Header for complementary pages */
.page-header {
    background: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
    color: white;
    padding: 4rem 0 2rem;
}

.page-header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: #fbbf24;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Content */
.main-content {
    min-height: 500px;
    padding: 2rem 0;
}

.main-content .container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.main-content h2 {
    color: #1a365d;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #dc2626;
    padding-bottom: 0.5rem;
}

.main-content h3 {
    color: #1a365d;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.main-content h4 {
    color: #1a365d;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem 0;
}

.main-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #374151;
}

.main-content ul {
    margin: 1rem 0 1rem 2rem;
}

.main-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.main-content a {
    color: #dc2626;
    text-decoration: underline;
}

.main-content a:hover {
    color: #b91c1c;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 2rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(26, 54, 93, 0.95) 50%, rgba(37, 99, 235, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    color: white;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid #fbbf24;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-badge i {
    color: #fbbf24;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.title-emphasis {
    color: #fbbf24;
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fbbf24;
    display: block;
    font-family: 'Merriweather', serif;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-guarantees {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.guarantee-item i {
    color: #fbbf24;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: #dc2626;
    color: white !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    color: white !important;
}

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

.btn-secondary:hover {
    background: white;
    color: #1a365d;
}

.btn-outline {
    background: transparent;
    color: #1a365d;
    border: 2px solid #1a365d;
}

.btn-outline:hover {
    background: #1a365d;
    color: white;
}

.btn-full {
    width: 100%;
}

/* Practice Areas Section */
.practice-areas-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.practice-area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #dc2626;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.practice-area-card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.practice-area-card h3 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.practice-area-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #b91c1c;
}

.card-link i {
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* Attorneys Section */
.attorneys-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.attorneys-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.attorneys-section .section-header h2 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.attorneys-section .section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

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

.attorney-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.attorney-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.attorney-photo {
    position: relative;
    overflow: hidden;
    height: 320px;
}

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

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

.attorney-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.95), transparent);
    padding: 2rem 1.5rem 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.attorney-card:hover .attorney-overlay {
    opacity: 1;
    transform: translateY(0);
}

.attorney-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.attorney-social a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a365d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.attorney-social a:hover {
    background: #dc2626;
    color: white;
    transform: scale(1.1);
}

.attorney-info {
    padding: 1.5rem;
    text-align: center;
}

.attorney-name {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.attorney-name a {
    color: #1a365d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.attorney-name a:hover {
    color: #dc2626;
}

.attorney-title {
    color: #dc2626;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.attorney-bio {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

.section-cta {
    text-align: center;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid #1a365d;
    color: #1a365d;
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #1a365d;
    color: white;
}

.btn-outline i {
    transition: transform 0.3s ease;
}

.btn-outline:hover i {
    transform: translateX(5px);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background: white;
}

.content-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.why-content h2 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.why-features {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-content h4 {
    font-size: 1.3rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #64748b;
    line-height: 1.6;
}

.cta-section {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid #dc2626;
    text-align: center;
}

.cta-section h3 {
    font-size: 1.8rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: #64748b;
    margin-bottom: 2rem;
}

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

/* Results Sidebar */
.results-sidebar {
    background: #1a365d;
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    position: sticky;
    top: calc(120px + var(--admin-bar-height));
}

.results-sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #fbbf24;
}

.results-list {
    margin-bottom: 2.5rem;
}

.result-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

.result-amount {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fbbf24;
    margin-bottom: 0.5rem;
    font-family: 'Merriweather', serif;
}

.result-case {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Testimonial Slider */
.testimonial-slider {
    background: rgba(255, 255, 255, 0.1);
    padding: 0;  /* No padding - slides have their own padding */
    border-radius: 12px;
    position: relative;
    min-height: 250px;
    overflow: hidden;  /* Prevent any content overflow */
    transition: height 0.3s ease;  /* Smooth height transitions */
}

.testimonial-slide {
    text-align: center;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem;  /* Match parent padding for proper content positioning */
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    transform: translate3d(0, 0, 0);        /* Force GPU layer */
    backface-visibility: hidden;             /* Prevent sub-pixel rendering */
    -webkit-font-smoothing: antialiased;     /* Smooth text during transition */
    z-index: 1;                              /* Base layer for inactive slides */
}

.testimonial-slide.active {
    opacity: 1;
    position: absolute;  /* FIXED - no more position switching */
    pointer-events: auto;
    z-index: 2;          /* Layer active slide on top */
}

.quote-icon {
    font-size: 2rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-slide blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-slide cite {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 1rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.1rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: absolute;  /* Position at bottom of slider */
    bottom: 0;  /* Align to bottom */
    left: 0;
    right: 0;
    padding: 0 2rem 2rem 2rem;  /* Match slide padding for consistent spacing */
    z-index: 3;  /* Above slides */
}

.testimonial-prev,
.testimonial-next {
    display: none;  /* Hide arrow navigation - dots only */
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    background: #fbbf24;
    transform: scale(1.2);
}

.testimonial-dots .dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item i {
    color: #dc2626;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item strong {
    color: #1a365d;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-item p {
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.contact-item a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: #b91c1c;
}

.contact-form-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h4 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #64748b;
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.25rem;
}

/* Attorney Profiles */
.attorney {
    margin: 2rem 0;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f9fafb;
}

/* Footer */
.footer {
    background: #1a365d;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo-image:hover {
    transform: scale(1.05);
}

.footer-logo p {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.disclaimer {
    margin-bottom: 1rem;
}

.disclaimer p {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.5;
}

.copyright {
    text-align: center;
}

.copyright p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.copyright a {
    color: #fbbf24;
    text-decoration: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.modal-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: white;
}

.modal-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 2rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.modal-form .form-field {
    width: 100%;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.modal-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.modal-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Checkbox Styles */
.modal-checkbox-label {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.modal-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #dc2626;
    cursor: pointer;
}

.modal-checkbox-label .checkmark {
    display: none; /* Using native checkbox with accent-color */
}

/* Form Response Messages */
.form-response {
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-response.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-response.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #dc2626;
}

.form-response:empty {
    display: none;
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 400px;
}

.notification-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-toast.success {
    background-color: #10b981;
}

.notification-toast.error {
    background-color: #dc2626;
}

.notification-toast .notification-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    padding: 0;
    line-height: 1;
}

.notification-toast .notification-close:hover {
    opacity: 1;
}

.notification-toast .notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-toast .notification-content i {
    font-size: 1.25rem;
}

/* Field Validation Errors */
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea,
.modal-form input.field-error,
.modal-form select.field-error,
.modal-form textarea.field-error {
    border-color: #dc2626 !important;
    background-color: #fef2f2;
}

.field-error-message {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sticky-btn {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
}

.call-btn {
    background: #dc2626;
}

.consult-btn {
    background: #1a365d;
    border: none;
    color: white;
}

.sticky-btn:hover {
    transform: translateY(-2px);
    color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-link {
        padding: 1.25rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .content-columns {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .results-sidebar {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .practice-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-link {
        padding: 1rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 900px) {
    /* Show simplified header contact on tablet 768-900px */
    .header-contact .cta-label {
        display: none;
    }

    .header-contact .phone-main {
        font-size: 1rem;
    }

    .header-contact .btn-consultation {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .header-contact {
        display: none;
    }
    
    .navigation {
        position: relative;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .contact-quick {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .navigation {
        position: relative;
    }
    
    .navigation .container {
        padding: 0;
        max-width: none;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        align-items: stretch;
        padding-top: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
        max-height: 400px;
        overflow-y: auto;
        height: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #e2e8f0;
        border-radius: 0;
        margin: 0;
        background: white;
        display: block;
        align-items: flex-start;
        justify-content: flex-start;
        font-size: 0.95rem;
        min-height: 44px; /* WCAG 2.1 touch target minimum */
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover {
        background: #f8fafc;
        border-bottom-color: #e2e8f0;
        box-shadow: none;
    }
    
    .hero {
        min-height: 60vh;
        padding: 4rem 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-guarantees {
        justify-content: center;
        gap: 1rem;
    }
    
    .practice-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .why-features {
        margin-bottom: 2rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Ensure consistent button styles on mobile */
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-consultation {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
        min-height: 48px; /* Ensure touch-friendly size */
    }
    
    /* Adjust consultation button for mobile */
    .btn-consultation {
        width: auto;
        max-width: none;
    }
    
    /* Ensure header buttons stay inline on mobile */
    .header-contact .consultation-cta {
        font-size: 0.9rem;
    }
    
    /* Override consultation button to match other buttons */
    .header-contact .btn-consultation {
        font-size: 1rem !important;
        padding: 0.875rem 1.5rem !important;
        min-height: 48px !important;
    }
    
    .header-contact .phone-main {
        font-size: 1.1rem;
    }
    
    /* Fix header contact min-width issue */
    .header-contact {
        min-width: auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Fix form input font size to prevent iOS zoom */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Reduce section padding on mobile */
    .practice-areas-section,
    .why-choose-section,
    .results-section,
    .contact-section {
        padding: 3rem 0;
    }
    
    .page-header {
        padding: 3rem 0 1.5rem;
    }
    
    /* Fix large text sizes on mobile */
    .stat-number {
        font-size: 2rem;
    }
    
    .result-amount {
        font-size: 1.5rem;
    }
    
    .mobile-sticky-bar {
        display: grid;
    }
    
    body {
        padding-bottom: 80px;
    }
    
    .page-header {
        padding: 2rem 0 1rem;
    }
    
    .page-header-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .footer-logo-image {
        height: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .practice-area-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon i {
        font-size: 1.5rem;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .results-sidebar {
        padding: 2rem;
    }
    
    .main-content .container {
        padding: 1.5rem;
    }
}

/* Additional fixes for very small screens */
@media (max-width: 350px) {
    /* Fix practice areas grid minmax issue */
    .practice-areas-grid {
        grid-template-columns: 1fr;
    }
    
    /* Reduce nav menu max height for small screens */
    .nav-menu {
        max-height: calc(100vh - 150px);
    }
    
    /* Further reduce padding on very small screens */
    .container {
        padding: 0 10px;
    }
    
    /* Ensure mobile sticky bar doesn't take too much space */
    .mobile-sticky-bar {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .mobile-sticky-bar .btn {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }
}

/* Desktop enhancements for larger screens */
@media (min-width: 1200px) {
    /* Add more horizontal padding to hero on desktop */
    .hero .container {
        padding: 0 60px;
    }
}

/* Ultra-wide screen enhancements */
@media (min-width: 1400px) {
    /* Even more padding for ultra-wide screens */
    .hero .container {
        padding: 0 80px;
    }
}

/* ==========================================================================
   Resources Page Styles
   ========================================================================== */

.resources-section {
    background: white;
}

.resources-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.resources-section h2 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-red);
    padding-bottom: 0.5rem;
}

.resources-section h3 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.resources-section h3 i {
    color: var(--color-red);
    margin-right: 0.5rem;
    width: 1.5rem;
}

.resource-category {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.resource-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.resources-section .intro-text {
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.resources-section ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 2rem 0;
}

.resources-section li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    line-height: 1.7;
    color: var(--color-text);
    position: relative;
}

.resources-section li::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-red);
    position: absolute;
    left: 0;
    top: 0.1em;
}

.resources-section li a {
    color: var(--color-red);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.resources-section li a:hover {
    color: var(--color-red-dark);
    border-bottom-color: var(--color-red-dark);
}

.resources-section li a i {
    margin-left: 0.25rem;
    font-size: 0.85em;
    transition: transform 0.3s ease;
}

.resources-section li a:hover i {
    transform: translateX(3px);
}

.resources-section strong {
    color: var(--color-navy);
    font-weight: 600;
}

/* Responsive adjustments for Resources page */
@media (max-width: 768px) {
    .resources-section .container {
        padding: 1.5rem;
    }

    .resources-section h2 {
        font-size: 1.75rem;
    }

    .resources-section h3 {
        font-size: 1.3rem;
        margin-top: 2rem;
    }

    .resources-section .intro-text {
        font-size: 1rem;
    }

    .resources-section li {
        margin-bottom: 1.25rem;
        padding-left: 1.25rem;
    }
}

@media (max-width: 480px) {
    .resources-section .container {
        padding: 1rem;
    }

    .resources-section h2 {
        font-size: 1.5rem;
    }

    .resources-section h3 {
        font-size: 1.2rem;
    }
}

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

/* About Section - Simple Layout */
.about-section h2 {
    color: #1a365d;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #dc2626;
    padding-bottom: 0.5rem;
}

.about-section h3 {
    color: #1a365d;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.about-section h4 {
    color: #1a365d;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem 0;
}

.about-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #374151;
}

.about-section ul {
    margin: 1rem 0 1rem 2rem;
}

.about-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.about-section a {
    color: #dc2626;
    text-decoration: underline;
}

.about-section a:hover {
    color: #b91c1c;
}

/* Attorney profiles in about section */
.about-section .attorney {
    margin: 2rem 0;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f9fafb;
}

/* ========================================
   PRIVACY POLICY PAGE STYLES
   ======================================== */

.privacy-policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.privacy-policy-content .last-updated {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-left: 4px solid #1a365d;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #64748b;
}

.privacy-policy-content .contact-info-block {
    background: #f8fafc;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 1.5rem;
}

.privacy-policy-content .contact-info-block p {
    margin-bottom: 0.5rem;
}

.privacy-policy-content .contact-info-block i {
    color: #1a365d;
    width: 20px;
    margin-right: 0.5rem;
}

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

/* Contact Intro Section */
.contact-intro-section {
    background: #f8fafc;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.contact-intro-section h2 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 0.75rem;
}

.contact-intro-section p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===========================================
   CONTACT PAGE - LIVE SITE MATCHING STYLES
   =========================================== */

/* Contact Section Page Container */
.contact-section-page {
    padding: 3rem 0;
    background: white;
}

.contact-section-page .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-section-page .section-header h2 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.contact-section-page .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 3px;
    background: #dc2626;
}

.contact-section-page .section-header p {
    color: #64748b;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Contact Grid - Two Column Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

/* Contact Info Section */
.contact-info h3 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item i {
    color: #dc2626;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    width: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    color: #1a365d;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-item p {
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.contact-item a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: #b91c1c;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-section .form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form-section .form-header h4 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.contact-form-section .form-header p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ca3af;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    background-color: white;
}

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

/* Checkbox Labels */
.contact-form .checkbox-label,
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.contact-form .checkbox-label input[type="checkbox"],
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 0.25rem;
    flex-shrink: 0;
    accent-color: #dc2626;
    cursor: pointer;
}

/* Form Response Messages */
.form-response {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: none;
}

.form-response.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-response.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Contact Grid Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        padding: 1.5rem;
    }

    .contact-section-page .section-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px; /* Prevent iOS zoom */
    }
}

/* Contact Page Main Content (WordPress legacy) */
.contact-page-main {
    background: #f8fafc;
    padding: 3rem 0;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}

/* Contact Info Column */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-box h2 {
    font-size: 1.75rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #dc2626;
}

.contact-info-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-item > i {
    font-size: 1.5rem;
    color: #dc2626;
    width: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-info-item strong {
    display: block;
    color: #1a365d;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.contact-info-item a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: #b91c1c;
}

/* Why Choose Box */
.contact-why-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-why-box h3 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
}

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

.contact-why-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.contact-why-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-why-list li:first-child {
    padding-top: 0;
}

.contact-why-list li > i {
    font-size: 1.25rem;
    color: #dc2626;
    width: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-why-list li strong {
    display: block;
    color: #1a365d;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-why-list li span {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact Form Column */
.contact-form-column {
    position: sticky;
    top: calc(100px + var(--admin-bar-height));
}

.contact-form-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
}

.contact-form-box .form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-box .form-header h3 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.contact-form-box .form-header p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* Contact Page Form Styles */
.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-page-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-page-form .form-field {
    display: flex;
    flex-direction: column;
}

.contact-page-form label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-page-form label .required {
    color: #dc2626;
}

.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #f8fafc;
}

.contact-page-form input:focus,
.contact-page-form select:focus,
.contact-page-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-page-form input::placeholder,
.contact-page-form textarea::placeholder {
    color: #9ca3af;
}

.contact-page-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Checkbox Styles */
.contact-page-form .checkbox-field {
    margin-top: 0.5rem;
}

.contact-page-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.contact-page-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #dc2626;
    cursor: pointer;
    padding: 0;
    background: white;
}

.contact-page-form .checkbox-label .label-text {
    flex: 1;
}

.contact-page-form .checkbox-label .label-text i {
    color: #f59e0b;
    margin-right: 0.25rem;
}

/* Form Buttons */
.contact-page-form .btn-full {
    margin-top: 0.5rem;
}

.contact-page-form .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* Form Disclaimer */
.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 1rem;
    line-height: 1.5;
}

.form-disclaimer i {
    margin-right: 0.25rem;
}

/* Honeypot field - hidden from users */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Contact Process Section */
.contact-process-section {
    background: white;
    padding: 4rem 0;
    text-align: center;
}

.contact-process-section h2 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 3rem;
}

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

.process-step {
    position: relative;
    padding: 2rem 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon i {
    font-size: 1.75rem;
    color: white;
}

.process-step h3 {
    font-size: 1.25rem;
    color: #1a365d;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-column {
        position: static;
    }

    .process-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 0;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero .hero-subtitle {
        font-size: 1rem;
    }

    .contact-hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-page-main {
        padding: 2rem 0;
    }

    .contact-info-box,
    .contact-why-box,
    .contact-form-box {
        padding: 1.5rem;
    }

    .contact-page-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-process-section {
        padding: 3rem 0;
    }

    .contact-intro-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .contact-intro-section h2 {
        font-size: 1.5rem;
    }

    .contact-intro-section p {
        font-size: 1rem;
    }

    .contact-info-box h2 {
        font-size: 1.5rem;
    }

    .contact-form-box .form-header h3 {
        font-size: 1.25rem;
    }

    .contact-page-form input,
    .contact-page-form select,
    .contact-page-form textarea {
        font-size: 16px; /* Prevent iOS zoom */
    }
}

/* ========================================
   LATEST LEGAL NEWS PAGE STYLES
   ======================================== */

.news-section {
    background: white;
}

.news-section h2 {
    color: var(--color-navy);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-red);
    padding-bottom: 0.5rem;
}

.news-section > p {
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

/* News Item Card */
.news-item {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-red);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-meta {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-meta i {
    color: var(--color-red);
}

.news-item h3 {
    color: var(--color-navy);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.news-item p {
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

/* News CTA Banner */
.news-cta-banner {
    background: var(--color-navy);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
    text-align: center;
}

.news-cta-banner h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.news-cta-banner p {
    color: white;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

.news-cta-banner .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.news-cta-banner .btn-secondary:hover {
    background: white;
    color: var(--color-navy);
}

/* Why Legal News Matters */
.news-section > h3 {
    color: var(--color-navy);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

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

.news-reason h4 {
    color: var(--color-navy);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-reason h4 i {
    color: var(--color-red);
}

.news-reason p {
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for Latest News page */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-item {
        padding: 1.5rem;
    }

    .news-cta-banner {
        padding: 1.5rem;
    }

    .news-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .news-reasons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .news-section h2 {
        font-size: 1.75rem;
    }

    .news-section > p {
        font-size: 1rem;
    }

    .news-item h3 {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   Practice Area Single Page Styles
   ========================================================================== */

/* Page Header */
.practice-area-header {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.practice-area-header .page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.practice-area-header .page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Content Section */
.practice-area-content-section {
    padding: 4rem 0;
    background: #f8fafc;
}

/* Two-Column Layout */
.practice-area-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Main Content Column */
.practice-area-main {
    background: white;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.practice-area-article {
    color: #333;
}

/* Main Content Typography */
.practice-area-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.practice-area-content p {
    margin-bottom: 1.25rem;
}

.practice-area-content h2 {
    font-size: 1.75rem;
    color: #1a365d;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.practice-area-content h3 {
    font-size: 1.35rem;
    color: #1a365d;
    margin: 1.75rem 0 1rem;
}

.practice-area-content ul,
.practice-area-content ol {
    margin: 1.25rem 0 1.5rem 1.5rem;
}

.practice-area-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.practice-area-content a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

.practice-area-content a:hover {
    text-decoration: underline;
}

/* Services Section */
.practice-area-services {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.practice-area-services h3 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
}

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

.services-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.services-list strong {
    display: block;
    color: #1a365d;
    margin-bottom: 0.25rem;
}

.services-list p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* FAQs Section */
.practice-area-faqs {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.practice-area-faqs h3 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
}

.faq-item {
    background: #f8fafc;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.faq-question {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: #555;
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
}

/* CTA Section */
.practice-area-cta {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 100%);
    border-radius: 8px;
    text-align: center;
    color: white;
}

.practice-area-cta h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.practice-area-cta p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.practice-area-cta .btn-primary {
    background: #dc2626;
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.practice-area-cta .btn-primary:hover {
    background: #b91c1c;
}

/* Sidebar */
.practice-area-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    color: #1a365d;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #fbbf24;
}

/* Contact Card */
.contact-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.contact-card .btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.875rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.contact-card .btn-block:last-child {
    margin-bottom: 0;
}

.contact-card .btn-primary {
    background: #dc2626;
    color: white;
}

.contact-card .btn-primary:hover {
    background: #b91c1c;
}

.contact-card .btn-outline {
    border: 2px solid #1a365d;
    color: #1a365d;
    background: transparent;
}

.contact-card .btn-outline:hover {
    background: #1a365d;
    color: white;
}

/* Practice Areas Navigation */
.practice-areas-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.practice-areas-list li {
    border-bottom: 1px solid #e2e8f0;
}

.practice-areas-list li:last-child {
    border-bottom: none;
}

.practice-areas-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 0;
    color: #444;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.practice-areas-list a:hover {
    color: #dc2626;
}

.practice-areas-list a i {
    color: #1a365d;
    width: 20px;
    text-align: center;
}

.practice-areas-list li.current a {
    color: #dc2626;
    font-weight: 600;
}

.practice-areas-list li.current a i {
    color: #dc2626;
}

/* Why Choose Us Card */
.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    color: #444;
    font-size: 0.95rem;
}

.why-list i {
    color: #22c55e;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .practice-area-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .practice-area-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-card {
        flex: 1 1 300px;
    }
}

@media (max-width: 768px) {
    .practice-area-header {
        padding: 3rem 0;
    }

    .practice-area-header .page-title {
        font-size: 2rem;
    }

    .practice-area-content-section {
        padding: 2.5rem 0;
    }

    .practice-area-main {
        padding: 1.5rem;
    }

    .practice-area-sidebar {
        flex-direction: column;
    }

    .sidebar-card {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .practice-area-header .page-title {
        font-size: 1.75rem;
    }

    .practice-area-header .page-subtitle {
        font-size: 1rem;
    }

    .practice-area-content h2 {
        font-size: 1.5rem;
    }

    .practice-area-content h3 {
        font-size: 1.25rem;
    }

    .practice-area-cta {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   Site Map Page Styles
   Matches the live site design at mydefenselaw.com/site_map.php
   ========================================================================== */

.sitemap-page .container {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

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

/* Individual Section Cards */
.sitemap-section {
    background: #f8fafc;
    border-radius: 8px;
    padding: 2rem;
    border-top: 4px solid #dc2626;
    transition: all 0.3s ease;
}

.sitemap-section:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.sitemap-section h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

/* Sitemap Links List */
.sitemap-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-links li {
    margin-bottom: 0.75rem;
}

.sitemap-links li:last-child {
    margin-bottom: 0;
}

.sitemap-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.sitemap-links a:hover {
    color: #dc2626;
    text-decoration: underline;
}

/* Contact Info List Styling */
.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info-list li i {
    color: #dc2626;
    width: 1rem;
    text-align: center;
}

.contact-info-list li span {
    color: #475569;
    font-size: 0.95rem;
}

/* Emergency Callout */
.emergency-callout {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fef3f2;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #fecaca;
}

.emergency-callout i {
    color: #dc2626;
    font-size: 1.25rem;
}

.emergency-callout strong {
    color: #991b1b;
    font-size: 0.9rem;
}

/* Quick Action CTA Buttons */
.sitemap-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f1f5f9;
    border-radius: 8px;
}

.sitemap-cta .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

/* Legal Notice Box */
.sitemap-legal-notice {
    background: #fef3f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.sitemap-legal-notice p {
    color: #991b1b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.sitemap-legal-notice strong {
    color: #7f1d1d;
}

/* Sitemap Page Responsive Styles */
@media (max-width: 768px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sitemap-section {
        padding: 1.5rem;
    }

    .sitemap-section h2 {
        font-size: 1.1rem;
    }

    .sitemap-cta {
        flex-direction: column;
        padding: 1.5rem;
    }

    .sitemap-cta .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .sitemap-legal-notice {
        padding: 1.25rem;
    }

    .sitemap-legal-notice p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .sitemap-section {
        padding: 1.25rem;
    }

    .sitemap-section h2 {
        font-size: 1rem;
    }

    .sitemap-links a {
        font-size: 0.9rem;
    }

    .emergency-callout {
        padding: 0.875rem;
    }

    .emergency-callout strong {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Free Legal Consultation Page Styles
   ========================================================================== */

/* Page Header with Emergency Badge */
.consultation-page-header {
    position: relative;
}

.consultation-page-header .emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

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

.consultation-page-header .emergency-badge i {
    font-size: 1rem;
}

/* Consultation Page Main Content */
.consultation-page {
    padding: 3rem 0;
}

/* Consultation Grid Layout */
.consultation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Consultation Info Column */
.consultation-info h2 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.consultation-info .lead-text {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* What to Expect Section */
.expect-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.expect-section h3 {
    font-size: 1.25rem;
    color: #1a365d;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expect-section h3 i {
    color: #dc2626;
}

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

.expect-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.expect-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.expect-list li i {
    color: #10b981;
    font-size: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.expect-list li span {
    color: #4a5568;
    line-height: 1.5;
}

/* Why Choose Section */
.why-choose-section {
    margin-bottom: 2rem;
}

.why-choose-section h3 {
    font-size: 1.25rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.why-choose-section h3 i {
    color: #f59e0b;
}

.why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.why-feature {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.why-feature > i {
    font-size: 1.5rem;
    color: #dc2626;
    flex-shrink: 0;
}

.why-feature strong {
    display: block;
    color: #1a365d;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.why-feature p {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Consultation Form Section */
.consultation-form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: calc(100px + var(--admin-bar-height, 0px));
}

.consultation-form-section .form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.consultation-form-section .form-header h4 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.consultation-form-section .form-header p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Consultation Form */
.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.consultation-form input::placeholder,
.consultation-form textarea::placeholder {
    color: #9ca3af;
}

.consultation-form select {
    cursor: pointer;
    color: #4a5568;
}

.consultation-form select option:first-child {
    color: #9ca3af;
}

.consultation-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Disclaimer Checkbox */
.disclaimer-checkbox {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #f59e0b;
}

.disclaimer-checkbox .checkbox-text {
    font-size: 0.85rem;
    color: #92400e;
    line-height: 1.5;
}

/* Form Buttons */
.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-buttons .btn {
    width: 100%;
    justify-content: center;
}

.btn-full {
    width: 100%;
}

/* Practice Areas Section in Consultation Modal */
.consultation-practice-areas {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.consultation-practice-areas h3 {
    text-align: center;
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 2rem;
}

.consultation-practice-areas .practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.practice-area-card-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #1a365d;
    transition: all 0.3s ease;
    text-align: center;
}

.practice-area-card-mini:hover {
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
    transform: translateY(-3px);
}

.practice-area-card-mini i {
    font-size: 1.75rem;
    color: #dc2626;
}

.practice-area-card-mini span {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Quick Contact Bar */
.quick-contact-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem;
    background: #1a365d;
    border-radius: 12px;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
}

.quick-contact-item i {
    color: #f59e0b;
}

/* Responsive Styles for Consultation Page */
@media (max-width: 968px) {
    .consultation-grid {
        grid-template-columns: 1fr;
    }

    .consultation-form-section {
        position: relative;
        top: 0;
    }

    .why-features {
        grid-template-columns: 1fr;
    }

    .quick-contact-bar {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .consultation-page {
        padding: 2rem 0;
    }

    .consultation-info h2 {
        font-size: 1.5rem;
    }

    .consultation-info .lead-text {
        font-size: 1rem;
    }

    .consultation-form-section {
        padding: 1.5rem;
    }

    .consultation-practice-areas .practice-areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .practice-area-card-mini {
        padding: 1rem;
    }

    .practice-area-card-mini i {
        font-size: 1.5rem;
    }

    .practice-area-card-mini span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .consultation-page-header .emergency-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .expect-section {
        padding: 1rem;
    }

    .consultation-practice-areas {
        padding: 1.5rem;
    }

    .consultation-practice-areas .practice-areas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .quick-contact-bar {
        padding: 1rem;
    }

    .quick-contact-item {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Practice Areas Page
   ========================================================================== */

.practice-areas-page-section {
    padding: 0;
}

.practice-areas-page-section .section-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.practice-areas-page-section .section-intro h2 {
    font-size: 2rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.practice-areas-page-section .section-intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-red);
}

.practice-areas-page-section .intro-text {
    color: var(--color-text);
    line-height: 1.7;
}

.practice-areas-page-section .intro-text p {
    margin-bottom: 1rem;
}

/* Override grid for practice areas page - 3 columns */
.practice-areas-page-section .practice-areas-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .practice-areas-page-section .practice-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .practice-areas-page-section .practice-areas-grid {
        grid-template-columns: 1fr;
    }
}

/* Why Choose Grid for Practice Areas Page */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.why-choose-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.why-choose-item i {
    font-size: 2.5rem;
    color: var(--color-red);
    margin-bottom: 1rem;
    display: block;
}

.why-choose-item h4 {
    font-size: 1.1rem;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.why-choose-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .practice-areas-page-section .section-intro h2 {
        font-size: 1.75rem;
    }
}