/* 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: 0;
    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;
    margin-bottom: 3rem;
}

.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(auto-fit, minmax(350px, 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);
}

/* 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: 120px;
}

.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-highlight {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

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

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

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

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

/* 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 input,
.modal-form select,
.modal-form textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.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;
    }
}

/* 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(auto-fit, minmax(300px, 1fr));
    }
    
    .nav-link {
        padding: 1rem 1.25rem;
        font-size: 0.85rem;
    }
}

@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;
    }
    
    .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;
    }
}