/* Law Firms page specific styles */
.law-firms-page-container {
    width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.law-firms-hero-section {
    background-color: white;
    padding: 80px 40px;
}

.law-firms-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.law-firms-hero-text h1 {
    font-size: 3.5rem;
    color: #1B1B1B;
    margin-bottom: 24px;
    line-height: 1.2;
    font-weight: bold;
}

.law-firms-hero-subtitle {
    font-size: 1.25rem;
    color: #4A4A4A;
    margin-bottom: 40px;
    line-height: 1.5;
}

.law-firms-cta-container {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.law-firms-cta-button {
    background-color: #43A047;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.law-firms-cta-button:hover {
    background-color: #388E3C;
    text-decoration: none;
    color: white;
}

.law-firms-cta-button-secondary {
    background-color: transparent;
    color: #1E88E5;
    border: 2px solid #1E88E5;
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.law-firms-cta-button-secondary:hover {
    background-color: #1E88E5;
    color: white;
    text-decoration: none;
}

/* Hero Visual */
.law-firms-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.legal-documents-illustration {
    display: flex;
    align-items: center;
    gap: 40px;
}

.document-stack {
    position: relative;
    width: 120px;
    height: 150px;
}

.document {
    position: absolute;
    width: 80px;
    height: 100px;
    background-color: white;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.doc-1 {
    top: 0;
    left: 0;
    z-index: 3;
}

.doc-2 {
    top: 15px;
    left: 15px;
    z-index: 2;
}

.doc-3 {
    top: 30px;
    left: 30px;
    z-index: 1;
}

.doc-header {
    width: 100%;
    height: 20px;
    background-color: #1E88E5;
    border-radius: 4px 4px 0 0;
    margin-bottom: 8px;
}

.doc-lines {
    padding: 8px;
}

.doc-line {
    height: 3px;
    background-color: #E0E0E0;
    margin-bottom: 4px;
    border-radius: 1px;
}

.doc-line.short {
    width: 60%;
}

.secure-transfer-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
}

.arrow-line {
    width: 40px;
    height: 2px;
    background-color: #43A047;
}

.security-icon {
    background-color: #E8F5E8;
    border-radius: 50%;
    padding: 8px;
}

.arrow-head {
    font-size: 1.5rem;
    color: #43A047;
    font-weight: bold;
}

.digital-files {
    background-color: #E8F4FD;
    border: 2px solid #1E88E5;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Problem We Solve Section */
.law-firms-problem-section {
    background-color: #FAFAFA;
    padding: 80px 40px;
}

.law-firms-problem-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.law-firms-problem-container h2 {
    font-size: 2.5rem;
    color: #1B1B1B;
    margin-bottom: 16px;
    font-weight: bold;
}

.law-firms-section-intro {
    font-size: 1.15rem;
    color: #4A4A4A;
    margin-bottom: 60px;
    text-align: center;
}

/* Use Cases Grid */
.law-firms-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.use-case-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.use-case-card h3 {
    font-size: 1.4rem;
    color: #1B1B1B;
    margin-bottom: 12px;
    font-weight: 600;
}

.use-case-card p {
    font-size: 1rem;
    color: #4A4A4A;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.use-case-link {
    color: #1E88E5;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.use-case-link:hover {
    color: #1565C0;
    text-decoration: underline;
}

.problem-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.problem-before,
.problem-after {
    text-align: center;
}

.problem-before h3 {
    font-size: 1.5rem;
    color: #f44336;
    margin-bottom: 30px;
    font-weight: 600;
}

.problem-after h3 {
    font-size: 1.5rem;
    color: #43A047;
    margin-bottom: 30px;
    font-weight: 600;
}

.problem-visual {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.problem-visual.before {
    border-left: 4px solid #f44336;
}

.problem-visual.after {
    border-left: 4px solid #43A047;
}

.fax-machine-icon,
.digital-icon {
    margin-bottom: 20px;
}

.problem-list p,
.solution-list p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
    text-align: left;
}

.problem-list p {
    color: #d32f2f;
}

.solution-list p {
    color: #2e7d32;
}

/* How It Works Section */
.law-firms-how-it-works-section {
    background-color: white;
    padding: 80px 40px;
}

.law-firms-how-it-works-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.law-firms-how-it-works-container h2 {
    font-size: 2.5rem;
    color: #1B1B1B;
    margin-bottom: 60px;
    font-weight: bold;
}

.timeline-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-step {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: 30px;
    align-items: center;
    position: relative;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background-color: #1E88E5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    justify-self: center;
    z-index: 2;
}

.timeline-content {
    text-align: left;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: #1B1B1B;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 1rem;
    color: #4A4A4A;
    line-height: 1.5;
}

.timeline-icon {
    justify-self: center;
}

.timeline-connector {
    position: absolute;
    left: 65px;
    top: 90px;
    width: 2px;
    height: 40px;
    background-color: #E0E0E0;
    z-index: 1;
}

.timeline-step:last-child+.timeline-connector {
    display: none;
}

/* Benefits Section */
.law-firms-benefits-section {
    background-color: #FAFAFA;
    padding: 80px 40px;
}

.law-firms-benefits-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.law-firms-benefits-container h2 {
    font-size: 2.5rem;
    color: #1B1B1B;
    margin-bottom: 60px;
    font-weight: bold;
}

.benefits-checklist {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.check-icon {
    flex-shrink: 0;
}

.benefit-item h3 {
    font-size: 1.2rem;
    color: #1B1B1B;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
}

/* Final CTA Section */
.law-firms-final-cta-section {
    background: linear-gradient(135deg, #43A047 0%, #388E3C 100%);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.law-firms-final-cta-section::before {
    content: "";
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.law-firms-final-cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.law-firms-final-cta-container h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 16px;
    font-weight: bold;
}

.law-firms-final-cta-container p {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 40px;
    line-height: 1.5;
    opacity: 0.9;
}

.law-firms-final-cta-button {
    background-color: white;
    color: #43A047;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.law-firms-final-cta-button:hover {
    background-color: #F5F5F5;
    text-decoration: none;
    color: #43A047;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .law-firms-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .problem-comparison {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline-step {
        grid-template-columns: 80px 1fr;
        gap: 20px;
    }

    .timeline-icon {
        display: none;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .law-firms-hero-text h1 {
        font-size: 2.5rem;
    }

    .law-firms-hero-subtitle {
        font-size: 1.1rem;
    }

    .law-firms-cta-container {
        flex-direction: column;
        align-items: stretch;
    }

    .law-firms-cta-button,
    .law-firms-cta-button-secondary {
        width: 100%;
        text-align: center;
    }

    .law-firms-use-cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .law-firms-problem-container h2,
    .law-firms-how-it-works-container h2,
    .law-firms-benefits-container h2,
    .law-firms-final-cta-container h2 {
        font-size: 2rem;
    }

    .legal-documents-illustration {
        flex-direction: column;
        gap: 20px;
    }

    .document-stack {
        width: 100px;
        height: 120px;
    }

    .document {
        width: 70px;
        height: 90px;
    }

    .timeline-step {
        grid-template-columns: 60px 1fr;
        gap: 15px;
    }

    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .timeline-connector {
        left: 50px;
    }

    .problem-visual,
    .benefit-item {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {

    .law-firms-hero-section,
    .law-firms-problem-section,
    .law-firms-how-it-works-section,
    .law-firms-benefits-section,
    .law-firms-final-cta-section {
        padding: 60px 20px;
    }

    .law-firms-hero-text h1 {
        font-size: 2rem;
    }

    .timeline-content {
        text-align: center;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .benefit-item h3 {
        font-size: 1.1rem;
    }
}