/* ========================================
   Best Attorney US - Frontend Stylesheet
   Modern, Professional, SEO-Optimized Design
   ======================================== */

/* ========== CSS Variables ========== */
:root {
    /* Primary Colors - Brand Palette */
    --primary-color: #003092;
    --primary-dark: #002266;
    --primary-light: #00879E;
    --secondary-color: #00879E;
    --accent-color: #FFAB5B;
    --accent-light: #FFF2DB;

    /* Neutral Colors */
    --dark: #1f2937;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== Header Styles ========== */
.site-header {
    position: relative;
    z-index: 1000;
}

/* Top Bar */
.top-bar {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar a {
    color: var(--gray-300);
    transition: var(--transition-fast);
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar .list-inline-item {
    margin-right: 20px;
}

.top-bar .list-inline-item:last-child {
    margin-right: 0;
}

.top-bar-left i {
    color: var(--primary-light);
}

.top-bar-right .list-inline-item a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 5px;
}

.top-bar-right .list-inline-item a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Main Navigation */
.navbar {
    padding: 0.5rem 0;
    transition: var(--transition-base);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
}

.navbar-brand .logo {
    max-height: 70px;
    width: auto;
}

.navbar-brand .logo-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand .logo-text i {
    font-size: 1.5rem;
}

.navbar-brand:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    color: var(--gray-700);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background: var(--primary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 220px;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #003092 0%, #00879E 100%);
    color: var(--white);
    overflow: hidden;
    padding: 30px 0 60px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') center/cover no-repeat;
    opacity: 0.5;
}

.hero-stats-wrapper {
    position: relative;
    z-index: 10;
    margin-top: 2rem !important;
    padding-bottom: 15px;
}

.hero-stats-wrapper .stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 1rem;
}

.hero-stats-wrapper .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.hero-stats-wrapper .stat-number {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.hero-stats-wrapper .stat-label {
    font-size: 0.875rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') center/cover no-repeat;
    opacity: 0.5;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    margin-top: 0;
    padding-top: 0;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    background: linear-gradient(135deg, #FFAB5B 0%, #00879E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Search */
.hero-search {
    margin-bottom: 0;
}

.search-box-wrapper {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.search-input-group {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    z-index: 10;
}

.search-input {
    padding-left: 2.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    height: 50px;
    transition: var(--transition-base);
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.btn-search {
    height: 50px;
    font-weight: 600;
    border-radius: 8px;
    background: var(--primary-color);
    border: none;
}

.btn-search:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========== Stats Section (Below Hero) ========== */
.stats-section {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--white);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 0;
    font-weight: 500;
}

/* ========== Hero Stats ========== */
.hero-stats {
    margin-top: 4rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-base);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ========== Section Styles ========== */
section {
    padding: var(--section-padding);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ========== Practice Areas Section ========== */
.practice-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-base);
    display: block;
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-100%);
    transition: var(--transition-base);
}

.practice-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.practice-card:hover::before {
    transform: translateX(0);
}



.practice-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.practice-card:hover .practice-icon {
    transform: scale(1.1) rotate(5deg);
}

.practice-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.practice-count {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.practice-arrow {
    margin-top: 1rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-base);
}

.practice-card:hover .practice-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ========== Attorney Cards ========== */
.attorney-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.attorney-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.attorney-image {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: var(--gray-100);
    flex-shrink: 0;
}

.attorney-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

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

.attorney-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    font-size: 4rem;
    color: var(--gray-400);
}

.attorney-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #FFAB5B, #FFF2DB);
    color: var(--gray-900);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 600;
}

.attorney-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.attorney-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.attorney-location {
    color: var(--gray-600);
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.attorney-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: auto;
    padding-bottom: 0.75rem;
}

.specialty-badge {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
}

.attorney-body .btn {
    margin-top: auto;
}

.attorney-actions {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.attorney-actions .btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
}

.btn-outline-warning {
    color: #f59e0b;
    border-color: #f59e0b;
}

.btn-outline-warning:hover {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #fff;
}

/* ========== Steps/How It Works ========== */
.step-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.step-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-500);
    font-family: var(--font-heading), serif;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-description {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========== Location Cards ========== */
.location-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition-base);
}

.location-card:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    flex-shrink: 0;
}

.location-content {
    flex-grow: 1;
}

.location-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.location-count {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.location-arrow {
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.location-card:hover .location-arrow {
    transform: translateX(5px);
}

/* ========== Feature Cards ========== */
.feature-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition-base);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-text {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ========== CTA Section ========== */
.cta-section {
    background: linear-gradient(135deg, #003092 0%, #00879E 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 171, 91, 0.15) 0%, rgba(255, 171, 91, 0.05) 50%, transparent 100%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 135, 158, 0.2) 0%, rgba(0, 135, 158, 0.08) 50%, transparent 100%);
    border-radius: 50%;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #FFF2DB;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

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

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

.btn-outline-white:hover {
    background: #FFF2DB;
    border-color: #FFF2DB;
    color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(255, 242, 219, 0.3);
}

/* CTA Stats */
.cta-stats {
    position: relative;
    z-index: 2;
}

.cta-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 171, 91, 0.15) 0%, rgba(0, 135, 158, 0.15) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 171, 91, 0.2);
    border-radius: 12px;
    transition: var(--transition-base);
}

.cta-stat-item:hover {
    background: linear-gradient(135deg, rgba(255, 171, 91, 0.25) 0%, rgba(0, 135, 158, 0.25) 100%);
    border-color: rgba(255, 171, 91, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 171, 91, 0.2);
}

.cta-stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFAB5B 0%, #FFF2DB 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: #003092;
    box-shadow: 0 5px 15px rgba(255, 171, 91, 0.3);
}

.cta-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #FFAB5B;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-stat-label {
    font-size: 0.9rem;
    color: #FFF2DB;
    margin-bottom: 0;
}

/* CTA Features */
.cta-features {
    position: relative;
    z-index: 2;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 171, 91, 0.12) 0%, rgba(255, 242, 219, 0.08) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 171, 91, 0.25);
    border-radius: 8px;
    color: var(--white);
    transition: var(--transition-base);
}

.cta-feature-item:hover {
    background: linear-gradient(135deg, rgba(255, 171, 91, 0.2) 0%, rgba(255, 242, 219, 0.15) 100%);
    border-color: rgba(255, 171, 91, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 171, 91, 0.2);
}

.cta-feature-item i {
    font-size: 1.5rem;
    color: #FFAB5B;
    filter: drop-shadow(0 2px 4px rgba(255, 171, 91, 0.3));
}

.cta-feature-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #FFF2DB;
}

/* ========== FAQ Section ========== */
.faq-section {
    background: var(--gray-50);
}

.faq-card {
    background: var(--white);
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow);
    transition: var(--transition-base);
    height: 100%;
    border-left: 4px solid var(--primary-color);
    overflow: hidden;
}

.faq-card:hover {
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-color);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    line-height: 1.5;
    cursor: pointer;
    transition: var(--transition-base);
    user-select: none;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question i.fa-question-circle {
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.faq-toggle-icon {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-toggle-icon.rotated {
    transform: rotate(180deg);
}

.faq-answer-wrapper {
    overflow: hidden;
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    padding: 0 2rem 1.5rem 2rem;
    padding-left: 4.5rem;
}

/* ========== Footer ========== */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

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

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary-light);
    width: 20px;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--gray-400);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    background: var(--gray-800);
    padding: 1.5rem 0;
}

.copyright-text {
    color: var(--gray-400);
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ========== Scroll to Top Button ========== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    z-index: 999;
}

.scroll-top-btn.show {
    display: flex;
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ========== Buttons ========== */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.6s ease-out 0.4s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 0.6s ease-out 0.6s both;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive Design ========== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* ========== Utility Classes ========== */
.bg-light {
    background-color: var(--gray-50) !important;
}

.text-muted {
    color: var(--gray-600) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* ========== Dark Mode Styles ========== */
body.dark-mode {
    --dark: #f9fafb;
    --gray-900: #f9fafb;
    --gray-800: #f3f4f6;
    --gray-700: #e5e7eb;
    --gray-600: #d1d5db;
    --gray-500: #9ca3af;
    --gray-400: #6b7280;
    --gray-300: #4b5563;
    --gray-200: #374151;
    --gray-100: #1f2937;
    --gray-50: #111827;
    --white: #1f2937;

    background-color: #111827;
    color: #e5e7eb;
}

body.dark-mode .bg-light {
    background-color: #1f2937 !important;
}

body.dark-mode .navbar,
body.dark-mode .modern-card,
body.dark-mode .stat-card,
body.dark-mode .mini-stat-card,
body.dark-mode .attorney-card,
body.dark-mode .practice-card,
body.dark-mode .feature-card,
body.dark-mode .step-card,
body.dark-mode .location-card,
body.dark-mode .practice-area-card {
    background: #1f2937;
    color: #e5e7eb;
    border-color: #374151;
}

body.dark-mode .modern-card-header,
body.dark_mode .stat-card-footer {
    background: #111827;
    border-color: #374151;
}

body.dark-mode .navbar-light .navbar-nav .nav-link {
    color: #e5e7eb;
}

body.dark-mode .navbar-light .navbar-nav .nav-link:hover,
body.dark-mode .navbar-light .navbar-nav .nav-link.active {
    color: #FFAB5B;
}

body.dark-mode .modern-table thead th {
    background: #111827;
    color: #9ca3af;
}

body.dark-mode .modern-table tbody td {
    border-color: #374151;
}

body.dark-mode .modern-table tbody tr:hover {
    background: #111827;
}

body.dark-mode .location-badge,
body.dark-mode .specialty-badge {
    background: #374151;
    color: #e5e7eb;
}

body.dark-mode .country-item,
body.dark-mode .system-status-item {
    background: #111827;
}

body.dark-mode .search-box-wrapper {
    background: #1f2937;
}

body.dark-mode .search-input {
    background: #111827;
    border-color: #374151;
    color: #e5e7eb;
}

body.dark-mode .search-input:focus {
    background: #1f2937;
    border-color: var(--primary-color);
}

body.dark-mode .site-footer {
    background: #0f172a;
}

body.dark-mode .footer-bottom {
    background: #020617;
}

body.dark-mode .top-bar {
    background: #020617;
}

/* Dark Mode Toggle Button */
#darkModeToggle {
    background: transparent;
    border: none;
    color: inherit;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition-base);
}

#darkModeToggle:hover {
    color: var(--accent-color);
}

body.dark-mode #darkModeIcon::before {
    content: "\f185";
}

/* ========== Page Header ========== */
.page-header {
    background: linear-gradient(135deg, #003092 0%, #00879E 100%);
    color: var(--white);
    padding: 60px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 171, 91, 0.15) 0%, rgba(255, 171, 91, 0.05) 50%, transparent 100%);
    border-radius: 50%;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #FFF2DB;
}

.breadcrumb-item.active {
    color: #FFF2DB;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-badge strong {
    color: #FFAB5B;
}

/* ========== Practice Areas Grid ========== */
.practice-areas-grid {
    background: var(--gray-50);
}

/* ========== Filter Sidebar ========== */
.filter-sidebar {
    position: sticky;
    top: 100px;
}

.filter-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.filter-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: var(--white);
}

.filter-body {
    padding: 1.5rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.filter-label i {
    color: var(--primary-color);
}

.filter-group .form-control,
.filter-group .form-select {
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    transition: var(--transition-base);
}

.filter-group .form-control:focus,
.filter-group .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 48, 146, 0.1);
}

.filter-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.stat-icon.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.stat-icon.bg-success {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.stat-info h6 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.stat-info p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin: 0;
}

/* Mobile responsive for sidebar */
@media (max-width: 991px) {
    .filter-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

/* ========== Locations Hierarchy ========== */
.locations-section {
    background: var(--gray-50);
}

/* Country Card */
.country-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.country-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 2rem 2.5rem;
}

.country-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
}

.country-count {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0.25rem;
}

.country-body {
    padding: 2rem 2.5rem;
}

/* State Card */
.state-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-base);
}

.state-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.state-header {
    background: linear-gradient(135deg, rgba(255, 171, 91, 0.1), rgba(0, 135, 158, 0.1));
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.state-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.state-count {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

/* Location Icons */
.location-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.country-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.state-icon {
    background: linear-gradient(135deg, #FFAB5B, var(--accent-color));
    color: var(--white);
}

/* Cities Container */
.cities-container {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    background: var(--gray-50);
}

/* City Card */
.city-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition-base);
}

.city-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 48, 146, 0.02), rgba(0, 135, 158, 0.02));
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.city-icon-wrapper {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.city-details {
    flex: 1;
}

.city-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.25rem 0;
}

.city-count {
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin: 0;
}

.city-arrow {
    color: var(--gray-400);
    font-size: 1rem;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.city-card:hover .city-arrow {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .country-header,
    .country-body {
        padding: 1.5rem;
    }

    .state-header {
        padding: 1.25rem 1.5rem;
    }

    .cities-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .country-name {
        font-size: 1.5rem;
    }

    .state-name {
        font-size: 1.125rem;
    }
}

/* ========== Location Browse Cards ========== */
.location-browse-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition-base);
    height: 100%;
}

.location-browse-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 48, 146, 0.02), rgba(0, 135, 158, 0.02));
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    text-decoration: none;
}

.location-browse-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.location-browse-icon.state-color {
    background: linear-gradient(135deg, #FFAB5B, var(--accent-color));
}

.location-browse-icon.city-color {
    background: linear-gradient(135deg, #00879E, var(--accent-color));
}

.location-browse-card:hover .location-browse-icon {
    transform: scale(1.1) rotate(5deg);
}

.location-browse-content {
    flex: 1;
}

.location-browse-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
}

.location-browse-count {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin: 0;
    display: flex;
    align-items: center;
}

.location-browse-arrow {
    color: var(--gray-400);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.location-browse-card:hover .location-browse-arrow {
    color: var(--primary-color);
    transform: translateX(8px);
}

/* Responsive for browse cards */
@media (max-width: 768px) {
    .location-browse-card {
        padding: 1.5rem;
    }

    .location-browse-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .location-browse-name {
        font-size: 1.125rem;
    }

    .location-browse-count {
        font-size: 0.875rem;
    }
}

/* ========== Lawyer Detail Page - Modern Premium Design ========== */
.lawyer-hero {
    background: linear-gradient(135deg, #003092 0%, #00879E 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.lawyer-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.lawyer-hero-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.lawyer-hero-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 48, 146, 0.2);
}

.lawyer-hero-photo-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003092, #00879E);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 48, 146, 0.2);
    margin: 0 auto;
}

.lawyer-hero-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: #003092;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.lawyer-hero-rating {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.lawyer-hero-rating .fa-star {
    margin-right: 2px;
}

.lawyer-hero-rating .fa-star.text-warning {
    color: #f59e0b !important;
}

.lawyer-hero-rating .fa-star.text-muted {
    color: #d1d5db !important;
}

.lawyer-hero-rating .rating-text {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.lawyer-hero-location {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.lawyer-hero-location i {
    color: #00879E;
}

.lawyer-hero-practice-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.practice-badge {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #003092, #00879E);
    color: var(--white);
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 48, 146, 0.25);
}

.practice-badge-more {
    padding: 0.5rem 1.25rem;
    background: #FFAB5B;
    color: var(--white);
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
}

.lawyer-hero-recognition {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #FFF2DB;
    color: #003092;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9375rem;
}

.lawyer-hero-recognition i {
    color: #FFAB5B;
}

.lawyer-hero-actions .btn {
    font-weight: 600;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.lawyer-hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.lawyer-hero-actions .btn-primary {
    background: linear-gradient(135deg, #003092, #00879E);
    border: none;
}

.lawyer-hero-actions .btn-outline-primary {
    border: 2px solid #003092;
    color: #003092;
}

.lawyer-hero-actions .btn-outline-primary:hover {
    background: #003092;
    color: var(--white);
}

.lawyer-main-content {
    background: #f8f9fa;
}

.lawyer-section {
    background: var(--white);
    border-radius: 16px;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid rgba(0, 48, 146, 0.08);
}

.lawyer-section-header {
    background: linear-gradient(135deg, rgba(0, 48, 146, 0.05), rgba(0, 135, 158, 0.05));
    padding: 1.5rem 2rem;
    border-bottom: 3px solid #003092;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lawyer-section-header i {
    font-size: 1.75rem;
    color: #003092;
}

.lawyer-section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003092;
    margin: 0;
}

.lawyer-section-body {
    padding: 2rem;
}

.lawyer-bio {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
}

.practice-area-item-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 48, 146, 0.03), rgba(0, 135, 158, 0.03));
    border-radius: 12px;
    border-left: 4px solid #003092;
    transition: all 0.3s ease;
}

.practice-area-item-modern:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(0, 48, 146, 0.12);
    background: linear-gradient(135deg, rgba(0, 48, 146, 0.08), rgba(0, 135, 158, 0.08));
}

.practice-area-icon-modern {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #003092, #00879E);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.practice-area-item-modern h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #003092;
    margin: 0;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #003092, #00879E);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2.625rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: #FFAB5B;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px #003092;
}

.timeline-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #FFAB5B;
}

.timeline-content h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #003092;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.7;
}

.education-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 48, 146, 0.02), rgba(0, 135, 158, 0.02));
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 48, 146, 0.1);
    transition: all 0.3s ease;
}

.education-card:hover {
    box-shadow: 0 8px 24px rgba(0, 48, 146, 0.1);
    transform: translateY(-4px);
}

.education-card:last-child {
    margin-bottom: 0;
}

.education-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFAB5B, #FFF2DB);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003092;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.education-details h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #003092;
    margin-bottom: 0.5rem;
}

.education-details p {
    color: var(--gray-600);
    margin: 0;
}

.affiliation-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.affiliation-list li {
    padding: 1rem 1.25rem;
    padding-left: 3rem;
    background: #f8f9fa;
    border-radius: 10px;
    position: relative;
    color: var(--gray-700);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.affiliation-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 1.25rem;
    color: #00879E;
    font-size: 1.125rem;
}

.affiliation-list li:hover {
    background: rgba(0, 135, 158, 0.08);
    padding-left: 3.5rem;
}

.lawyer-sidebar-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 48, 146, 0.08);
}

.lawyer-sidebar-card h4 {
    background: linear-gradient(135deg, #003092, #00879E);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.lawyer-sidebar-card > *:not(h4) {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.lawyer-sidebar-card > *:last-child {
    padding-bottom: 1.5rem;
}

.lawyer-sidebar-card > *:nth-child(2) {
    padding-top: 1.5rem;
}

.contact-quick-card .contact-list {
    padding: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.contact-link:hover {
    background: rgba(0, 135, 158, 0.08);
    border-left-color: #00879E;
    padding-left: 1.5rem;
    text-decoration: none;
    color: #003092;
}

.contact-link i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #003092, #00879E);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}

.social-links-section {
    padding: 1.5rem;
    border-top: 2px solid #f8f9fa;
}

.social-links-section h6 {
    font-weight: 700;
    color: #003092;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links-grid {
    display: flex;
    gap: 0.75rem;
}

.social-link-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #003092, #00879E);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-btn:hover {
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 48, 146, 0.3);
}

.office-location-card,
.award-badge {
    padding: 1.25rem 1.5rem;
}

.office-location-card {
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid #00879E;
}

.office-location-card:last-child {
    margin-bottom: 0;
}

.office-location-card h6 {
    font-weight: 700;
    color: #003092;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.office-location-card p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.awards-card .award-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255, 171, 91, 0.1), rgba(255, 242, 219, 0.1));
    border-radius: 10px;
    margin-bottom: 0.75rem;
    border-left: 4px solid #FFAB5B;
}

.award-badge:last-child {
    margin-bottom: 0;
}

.award-badge i {
    font-size: 1.5rem;
    color: #FFAB5B;
}

.award-badge span {
    font-weight: 600;
    color: #003092;
    font-size: 0.9375rem;
}

.languages-tags {
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.language-tag {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(0, 48, 146, 0.05), rgba(0, 135, 158, 0.05));
    border: 2px solid rgba(0, 48, 146, 0.15);
    border-radius: 20px;
    color: #003092;
    font-weight: 600;
    font-size: 0.875rem;
}

.firms-list {
    list-style: none;
    padding: 1.5rem;
    margin: 0;
}

.firms-list li {
    padding: 1rem;
    padding-left: 2.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--gray-700);
}

.firms-list li::before {
    content: "\f1ad";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 1rem;
    color: #003092;
}

.firms-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .lawyer-hero-card {
        padding: 2rem 1.5rem;
    }
    .lawyer-hero-name {
        font-size: 2rem;
        text-align: center;
    }
    .lawyer-hero-location {
        justify-content: center;
    }
    .lawyer-hero-practice-areas {
        justify-content: center;
    }
    .lawyer-hero-recognition {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .practice-areas-grid {
        grid-template-columns: 1fr;
    }
    .lawyer-section-body {
        padding: 1.5rem;
    }
}

/* ========== Contact Page ========== */
.contact-section {
    background: var(--gray-50);
}

.contact-form-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.contact-form-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 2rem;
}

.contact-form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-form-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form-body {
    padding: 2rem;
}

.contact-info-card,
.contact-social-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.contact-info-header,
.contact-social-header {
    background: linear-gradient(135deg, rgba(0, 48, 146, 0.1), rgba(0, 135, 158, 0.1));
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.contact-info-header h4,
.contact-social-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: var(--gray-900);
}

.contact-info-body {
    padding: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-info-content h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0 0 0.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-content p {
    font-size: 0.9375rem;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.6;
}

.contact-info-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info-content a:hover {
    text-decoration: underline;
}

.contact-social-body {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--transition-base);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.practice-area-item {
    display: block;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    height: 100%;
}

.practice-area-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.practice-area-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    text-decoration: none;
}

.practice-area-item:hover::before {
    transform: scaleX(1);
}

.practice-area-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--white);
    transition: var(--transition-base);
}

.practice-area-item:hover .practice-area-icon {
    transform: scale(1.1) rotate(5deg);
}

.practice-area-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.practice-area-count {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.practice-area-arrow {
    margin-top: 1rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-base);
}

.practice-area-item:hover .practice-area-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ========== CTA Section Simple ========== */
.cta-section-simple {
    background: linear-gradient(135deg, rgba(0, 48, 146, 0.05) 0%, rgba(0, 135, 158, 0.05) 100%);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.cta-title-simple {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.cta-text-simple {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Pagination ========== */
.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-base);
}

.pagination .page-link:hover {
    background: var(--gray-50);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    box-shadow: var(--shadow);
}

.pagination .page-item.disabled .page-link {
    color: var(--gray-400);
    background: var(--gray-100);
    border-color: var(--gray-200);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.pagination .page-link svg,
.pagination .page-link i {
    font-size: 0.875rem;
}

/* Pagination arrows */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    padding: 0.5rem 1rem;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .pagination .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0.375rem 0.625rem;
        font-size: 0.8125rem;
    }

    .pagination .page-item:not(.active):not(:first-child):not(:last-child) {
        display: none;
    }

    .pagination .page-item.active {
        display: flex;
    }
}

/* ========== Google AdSense Optimization ========== */
.ad-container {
    margin: 40px 0;
    text-align: center;
}

.ad-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

/* ========== About Us Section ========== */
.about-us-section {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.photos-collage {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.collage-row {
    display: flex;
    gap: 0.5rem;
}

.collage-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.collage-item {
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.collage-item:hover img {
    transform: scale(1.1);
}

/* Large photos - 150px x 150px */
.collage-large {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

/* Medium photos - flexible width, 100px height */
.collage-medium {
    flex: 1;
    height: 100px;
}

/* Small photos - flexible width, 72px height */
.collage-small {
    flex: 1;
    height: 72px;
}

/* Wide photos - flexible width, 70px height */
.collage-wide {
    flex: 1;
    height: 70px;
}

.collage-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: var(--gray-100);
    border-radius: 8px;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    min-width: 180px;
    z-index: 10;
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.badge-label {
    font-size: 1rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.about-content {
    padding: 0 1rem;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-features .feature-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--gray-700);
    font-weight: 500;
}

.about-features .feature-item i {
    font-size: 1.25rem;
}

/* ========== Lawyer Bio Read More ========== */
.lawyer-bio-wrapper {
    position: relative;
}

.lawyer-bio-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
    transition: max-height 0.5s ease, opacity 0.3s ease;
    position: relative;
}

.lawyer-bio-text.collapsed {
    max-height: 10em;
    overflow: hidden;
    position: relative;
}

.lawyer-bio-text.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.lawyer-bio-text.expanded {
    max-height: 5000px;
    overflow: visible;
}

.lawyer-bio-text.expanded::after {
    display: none;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 48, 146, 0.1);
}

.read-more-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 48, 146, 0.2);
}

.read-more-btn i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.read-more-btn.expanded i {
    transform: rotate(180deg);
}

/* Dark mode support */
body.dark-mode .lawyer-bio-text {
    color: var(--gray-300);
}

body.dark-mode .lawyer-bio-text.collapsed::after {
    background: linear-gradient(to bottom, rgba(31, 41, 55, 0) 0%, rgba(31, 41, 55, 0.7) 50%, rgba(31, 41, 55, 1) 100%);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lawyer-bio-text.collapsed {
        max-height: 8em;
    }

    .read-more-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
    }
}

/* ============================================
   REVIEW STYLES
   ============================================ */

/* Review Form Card */
.review-form-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.login-to-review {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px dashed #e5e7eb;
    text-align: center;
}

/* Star Rating */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.25rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #d1d5db;
    transition: color 0.2s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #f59e0b;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    font-size: 1rem;
}

.review-date {
    font-size: 0.8rem;
    color: #6b7280;
}

.review-rating {
    font-size: 0.875rem;
}

.review-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.review-text {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Dark mode support for reviews */
body.dark-mode .review-form-card,
body.dark-mode .login-to-review {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

body.dark-mode .review-card {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

body.dark-mode .review-title {
    color: var(--gray-200);
}

body.dark-mode .review-text {
    color: var(--gray-300);
}

/* Card Rating Styles */
.attorney-rating,
.firm-rating {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.attorney-rating .fa-star,
.firm-rating .fa-star {
    font-size: 0.8rem;
    margin-right: 1px;
}

.attorney-rating .fa-star.text-muted,
.firm-rating .fa-star.text-muted {
    color: #d1d5db !important;
}

.attorney-rating .fa-star.text-warning,
.firm-rating .fa-star.text-warning {
    color: #f59e0b !important;
}

.attorney-rating .rating-count,
.firm-rating .rating-count {
    font-size: 0.75rem;
    color: #6b7280;
    margin-left: 0.35rem;
}

/* Rating Summary (Sidebar) */
.rating-summary {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
}

.rating-stars .fa-star {
    margin: 0 2px;
}

/* Sidebar Reviews */
.reviewer-avatar-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.7rem;
}

.review-item-sidebar:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.review-pagination .pagination {
    margin-bottom: 0;
    justify-content: center;
}

.review-pagination .page-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

