/* Hero Section for Lawyers - Adapted from React Component */
.lawyer-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&q=80&w=2000');
    background-position: center;
    background-size: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.4) 100%);
    z-index: 1;
}

.hero-content-top {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    margin-bottom: 2rem;
}

.avatar-stack {
    display: flex;
    margin-left: 0.75rem;
    margin-bottom: 1.5rem;
}

.avatar-item {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background-color: #334155;
    margin-left: -0.75rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Marquee Styles */
.stats-marquee-container {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    overflow: hidden;
    padding: 0.75rem 0;
}

.marquee-inner {
    display: flex;
    gap: 4rem;
    width: fit-content;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.stat-value {
    font-family: monospace;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.stat-label {
    font-family: monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Main Hero Text Area */
.hero-bottom-area {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}

.hero-flex-container {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
}

.hero-main-title-box {
    width: 60%;
}

.hero-main-title-box h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.hero-main-title-box .highlight {
    color: var(--gold);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    background: white;
    color: black;
    border: none;
    padding: 0;
    font-size: 1.125rem;
    font-weight: 400;
    cursor: pointer;
    transition: 0.3s;
}

.btn-hero span.text {
    padding: 1rem 1.5rem;
}

.btn-hero .icon-box {
    border-left: 1px solid #d1d5db;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-hero:hover {
    background: #f3f4f6;
}

.hero-desc-box {
    width: 40%;
    padding-bottom: 0.5rem;
}

.hero-desc-box p {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gold);
    text-align: right;
    line-height: 1.4;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .hero-flex-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-main-title-box,
    .hero-desc-box {
        width: 100%;
    }

    .hero-desc-box p {
        text-align: left;
        font-size: 1.25rem;
    }

    .hero-bottom-area {
        padding-bottom: 3rem;
    }
}