/* --- Google Font Import for clean look --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.lawyer-hero {
    background: linear-gradient(90deg, #021128 0%, #005adb 100%);
    padding: 80px 20px 0px 20px;
    font-family: 'outfit', sans-serif;
    color: #ffffff;
    overflow: hidden;
}

.lawyer-hero__container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Breadcrumb */
.lawyer-hero__breadcrumb {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Headings */
.lawyer-hero__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.lawyer-hero__subtitle {
    font-size: 1rem;
    opacity: 0.75;
    margin: 0 0 35px 0;
    line-height: 1.5;
}

/* Tabs Container (Attached to the white box) */
.lawyer-search__tabs-container {
    background: #004ec4;
    display: inline-flex;
    padding: 6px;
    border-radius: 10px 10px 0 0;
}

.lawyer-search__tab {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lawyer-search__tab--active {
    background: #ffffff;
    color: #005adb;
}

/* White Search Main Box */
.lawyer-search__body {
    background: #ffffff;
    border-radius: 0 20px 20px 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.lawyer-search__grid {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.lawyer-search__field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lawyer-search__label {
    color: #333333;
    font-size: 13px;
    font-weight: 600;
}

/* Inputs & Custom Selects */
.lawyer-search__input-wrapper {
    position: relative;
}

.lawyer-search__select, 
.lawyer-search__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 8px;
    font-size: 14px;
    color: #4a5568;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.lawyer-search__select:focus, 
.lawyer-search__input:focus {
    border-color: #005adb;
}

/* Blue Action Button */
.lawyer-search__btn {
    background-color: #0d6efd;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition: background 0.2s;
}


/* --- Stats Footer Section --- */
.lawyer-stats {
    display: flex;
    justify-content: space-between;
    
    gap: 20px;
    max-width: 1140px;
    margin: 60px auto;
    
}

.lawyer-stats__item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.lawyer-stats__icon-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #a0aec0;
    flex-shrink: 0;
}

.lawyer-stats__info {
    display: flex;
    flex-direction: column;
}

.lawyer-stats__number {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.lawyer-stats__label {
    font-size: 13px;
    color: #cbd5e1;
    margin: 4px 0 0 0;
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .lawyer-search__grid {
        flex-direction: column;
        align-items: stretch;
    }
    .lawyer-search__btn {
        width: 100%;
        justify-content: center;
    }
    .lawyer-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .lawyer-hero__title {
        font-size: 1.8rem;
    }
    .lawyer-search__body {
        border-radius: 0 0 20px 20px;
    }
    .lawyer-stats {
        grid-template-columns: 1fr;
    }
}


/* allow full-bleed band to escape section padding */
.lawyer-hero {
    overflow: visible;
}

/* Stats footer - separate flat dark navy band (not gradient) */
.lawyer-stats-wrapper {
    background:linear-gradient(to right,rgba(2, 15, 43, 1),rgba(10, 30, 87, 1));
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 35px 20px;
    margin-top: 50px;
}

.lawyer-stats {
    margin: 0 auto !important;
}

@media (max-width: 576px) {
    .lawyer-stats-wrapper {
        padding: 25px 20px;
    }
}