﻿/* --- CSS RESET & BASE STYLES --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.categories-grid a {
    text-decoration: none !important;
    list-style: none !important;
}

:root {
    --clr-page: #f7faff;
    --clr-surface: #ffffff;
    --clr-surface-soft: #f4f8ff;
    --clr-surface-strong: #0b132b;
    --clr-text: #121827;
    --clr-text-muted: #6b7280;
    --clr-text-faded: #94a3b8;
    --clr-primary: #1d63dc;
    --clr-primary-dark: #1452bc;
    --clr-border: #e2e8f0;
    --clr-shadow: rgba(15, 23, 42, 0.08);
    --radius: 18px;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Outfit", sans-serif;
    color: var(--clr-text);

    -webkit-font-smoothing: antialiased;
}

/* --- UNIVERSAL CONTAINER --- */
.site-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.site-container-sub {
    max-width: 800px;
}

/* --- HEADER STYLES --- */
.site-header {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #eef2f6;
    position: relative;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 15px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pooutfit;
    flex-shrink: 0;
}

.logo-icon {
    background-color: #1a62dc;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(14px, 4vw, 18px);
    color: #0b132b;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.logo-text-blue {
    color: #1a62dc;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-navigation ul li a {
    text-decoration: none;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.main-navigation ul li a i {
    font-size: 10px;
    color: #0B5ED7;
}

.main-navigation ul li a:hover {
    color: #1a62dc;
}

.mobile-menu-actions {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-signin {
    text-decoration: none;
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px;
    background-color: #f3f4f6;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-signin:hover {
    background-color: #e5e7eb;
}

.btn-find-lawyer {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    background-color: #1a62dc;
    transition: background-color 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-find-lawyer:hover {
    background-color: #1452bc;
}

.menu-toggle-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pooutfit;
    z-index: 1001;
    padding: 0;
    flex-shrink: 0;
}

.menu-toggle-btn .bar {
    width: 100%;
    height: 2px;
    background-color: #0b132b;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle-btn.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle-btn.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle-btn.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- HERO SECTION STYLES --- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 640px;
    padding: 60px 0 80px 0;
    background: linear-gradient(105deg, rgba(3, 23, 62, 0.97) 35%, rgba(13, 64, 161, 0.88) 100%),
        url('./images/06c8a30f5a64bbf6973c1cdc4eefc15f97dab7bc.jpg') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'outfit', sans-serif;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.25;
    max-width: 680px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 620px;
    margin-bottom: 35px;
}

.filter-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 760px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    margin-bottom: 50px;
}

.card-title {
    font-family: 'outfit', sans-serif;
    color: #0b132b;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.card-options {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;

    padding-bottom: 4px;
}

.card-options::-webkit-scrollbar {
    display: none;
}

.option-btn {
    text-decoration: none;
    background-color: #f4f8ff;
    border: 1px solid #e1ecff;
    padding: 14px 20px;
    border-radius: 8px;
    color: #1a62dc;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: all 0.2s ease;
    flex: 1;
    white-space: nowrap;
}

.option-btn i {
    font-size: 10px;
    color: #1a62dc;
    transition: transform 0.2s ease;
}

.option-btn:hover {
    background-color: #1a62dc;
    color: #ffffff;
    border-color: #1a62dc;
}

.option-btn:hover i {
    color: #ffffff;
    transform: translateX(3px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    font-size: 12px;
    color: #94a3b8;
}

.floating-badge {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #1a62dc;
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(26, 98, 220, 0.4);
    cursor: pooutfit;
    z-index: 999;
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a62dc;
}

/* --- EXPLORE LEGAL ISSUES STYLES --- */
.issues-section {
    padding: 80px 0 40px 0;
    background-color: #ffffff;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 35px;
    width: 100%;
}

.header-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.section-badge-text {
    font-family: 'outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #1a62dc;
    letter-spacing: 0.8px;
}

.section-main-title {
    font-family: 'outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0b132b;
    letter-spacing: -0.3px;
}

.view-all-link {
    font-family: 'outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a62dc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.view-all-link:hover {
    gap: 12px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.category-item-card {
    background-color: #ffffff;
    /* border: 1px solid #f1f5f9; */
    border-radius: 12px;
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pooutfit;
    transition: all 0.2s ease;
    position: relative;
}

.category-item-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transform: translateY(-1px);
}

.cat-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: #f4f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.svg-raw-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.cat-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cat-details h4 {
    font-family: 'outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0b132b;
}

.cat-details p {
    font-family: 'outfit', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #718096;
}

.cat-arrow {
    margin-left: auto;
    font-size: 11px;
    color: #cbd5e1;
    transition: color 0.2s;
}

.category-item-card:hover .cat-arrow {
    color: #1a62dc;
}

/* --- FIND THE RIGHT LAWYER CARDS STYLES --- */
.lawyers-list-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.lawyers-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

.lawyer-practice-card {
    background-color: #f5f5f5;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lawyer-practice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.05);
}

.card-image-box {
    width: 100%;
    height: 170px;
    overflow: hidden;
    background-color: #e2e8f0;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content-area {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content-area h3 {
    font-family: 'outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0b132b;
    margin-bottom: 6px;
}

.card-subtext {
    font-family: 'outfit', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #718096;
    margin-bottom: 13px;
}

.card-divider {
    border: 0;
    height: 1px;
    background-color: #e2e8f0;
    margin-bottom: 3px;
    width: 100%;
}

.practice-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: auto;
}

.practice-links-list li a {
    text-decoration: none;
    font-family: 'outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a62dc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    transition: color 0.15s ease;
}

.practice-links-list li a i {
    font-size: 10px;
    color: #1a62dc;
    transition: transform 0.2s ease;
}

.practice-links-list li a:hover {
    color: #1452bc;
}

.practice-links-list li a:hover i {
    transform: translateX(2px);
}

/* --- ADDITIONAL LEGAL ISSUES STYLES --- */
.additional-issues-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.additional-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

.issue-link-btn {
    text-decoration: none;
    background-color: rgba(239, 246, 255, 1);
    border: 1px solid #edf2f7;
    padding: 14px 20px;
    border-radius: 8px;
    color: #1a62dc;
    font-family: 'outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.issue-link-btn span {
    color: #2d3748;
    transition: color 0.2s;
}

.issue-link-btn i {
    font-size: 11px;
    color: #1a62dc;
    transition: transform 0.2s;
}

.issue-link-btn:hover {
    background-color: #ffffff;
    border-color: #1a62dc;
    box-shadow: 0 4px 12px rgba(26, 98, 220, 0.05);
}

.issue-link-btn:hover span {
    color: #1a62dc;
}

.issue-link-btn:hover i {
    transform: translateX(2px);
}

/* --- FEATURED ATTORNEYS STYLES --- */
.featured-attorneys-section {
    padding: 40px 0 80px 0;
    background-color: #ffffff;
}

.attorneys-profiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

.attorney-premium-card {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.attorney-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    background-color: #e2e8f0;
}

.attorney-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verified-ribbon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #1a62dc;
    color: #ffffff;
    font-family: 'outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.attorney-info-pane {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pane-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 15px;
}

.name-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.name-meta h3 {
    font-family: 'outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0b132b;
}

.practice-tag-label {
    font-family: 'outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a62dc;
}

.rating-star-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: rgba(255, 251, 235, 1);
    padding: 4px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}

.rating-star-badge i {
    color: #eab308;
    font-size: 13px;
}

.rating-star-badge span {
    font-family: 'outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #854d0e;
}

.attorney-short-bio {
    font-family: 'outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 20px;
}

.contact-meta-lines {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.meta-line-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'outfit', sans-serif;
    font-size: 13px;
    color: #718096;
}

.meta-line-item i {
    color: #a0aec0;
    width: 16px;
    text-align: center;
}

.experience-pricing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-bottom: 16px;
}

.exp-counter {
    font-family: 'outfit', sans-serif;
    font-size: 14px;
    color: #2d3748;
}

.rate-counter {
    font-family: 'outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0b132b;
}

.free-consultation-tag {
    font-family: 'outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
}

.profile-action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.btn-visit-website {
    text-decoration: none;
    flex: 1;
    text-align: center;
    background-color: #1a62dc;
    color: #ffffff;
    font-family: 'outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.btn-visit-website:hover {
    background-color: #1452bc;
}

.btn-firm-profile {
    text-decoration: none;
    flex: 1;
    text-align: center;
    background-color: #ffffff;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    font-family: 'outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-firm-profile:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1100px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lawyers-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .additional-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding: 80px 24px 40px 24px;
        display: none;
        flex-direction: column;
        justify-content: space-between;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .main-navigation.open {
        display: flex;
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .main-navigation ul li {
        width: 100%;
    }

    .main-navigation ul li a {
        font-size: 15px;
        width: 100%;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .mobile-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: auto;
    }

    .mobile-menu-actions .btn-signin,
    .mobile-menu-actions .btn-find-lawyer {
        width: 100%;
        padding: 12px;
    }

    .header-actions {
        display: none;
    }

    .menu-toggle-btn {
        display: flex;
    }

    .attorneys-profiles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .additional-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .issues-section,
    .lawyers-list-section,
    .additional-issues-section,
    .featured-attorneys-section {
        padding: 40px 0;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .lawyers-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .section-main-title {
        font-size: 22px;
    }
}

@media (max-width: 540px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .lawyers-cards-grid {
        grid-template-columns: 1fr;
    }

    .additional-links-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 40px 0 60px 0;
    }

    .filter-card {
        padding: 20px;
        margin-bottom: 35px;
    }

    .option-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-item {
        width: calc(50% - 10px);
    }

    .attorney-image-wrapper {
        height: 240px;
    }

    .profile-action-buttons {
        flex-direction: column;
    }

    .btn-visit-website,
    .btn-firm-profile {
        width: 100%;
    }
}

@media (max-width: 340px) {
    .site-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .logo-text {
        font-size: 13px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .stat-item {
        width: 100%;
    }
}

/* ==========================================================================
   LEADING LAW FIRMS STYLES (MATCHED TO IMAGE)
   ========================================================================== */
.featured-firms-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.firms-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.firm-mini-card {
    display: flex;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    gap: 16px;
    align-items: center;
}

.firm-logo-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.firm-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.firm-card-details {
    flex-grow: 1;
}

.firm-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.firm-title-row h4 {
    font-family: 'outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.firm-verified-badge {
    background-color: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.firm-cat-label {
    display: block;
    font-family: 'outfit', sans-serif;
    font-size: 13px;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 12px;
}

.firm-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.firm-meta-item {
    font-family: 'outfit', sans-serif;
    font-size: 12px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.firm-meta-item i {
    color: #94a3b8;
}

.firm-rating-inline {
    margin-left: auto;
    color: #f59e0b;
    font-family: 'outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   WHY CHOOSE US STYLES (MATCHED TO IMAGE)
   ========================================================================== */
.why-platform-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.why-platform-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.why-content-side {
    width: 55%;
}

.why-image-side {
    width: 45%;
}

.section-badge-text-alt {
    display: block;
    font-family: 'outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #8EC5FF;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.why-main-heading {
    font-family: 'outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 28px;
}

.feature-rows-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.feature-inline-block {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feat-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.feat-text-details h5 {
    font-family: 'outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.feat-text-details p {
    font-family: 'outfit', sans-serif;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.btn-connect-attorney {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #2563eb;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-connect-attorney:hover {
    background-color: #1d4ed8;
}

/* Image Graphic Box With Dynamic Absolute Components */
.graphic-banner-holder {
    position: relative;
    width: 100%;
}

.main-showcase-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

/* 15k+ Verified Lawyers Solid Box */
.top-blue-badge-card {
    position: absolute;
    top: -10px;
    right: -20px;
    background-color: #1e5adb;
    color: #ffffff;
    padding: 18px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(30, 90, 219, 0.25);
    display: flex;
    flex-direction: column;
    width: 140px;
    z-index: 5;
}

.blue-badge-num {
    font-family: 'outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.blue-badge-txt {
    font-family: 'outfit', sans-serif;
    font-size: 11px;
    opacity: 0.9;
}

/* 98% Satisfaction Light Box */
.bottom-white-badge-card {
    position: absolute;
    bottom: 31px;
    left: -16px;
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    z-index: 5;
}

.green-check-icon {
    width: 28px;
    height: 28px;
    background-color: #f0fdf4;
    color: #15803d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 1px solid #bbf7d0;
}

.white-badge-info {
    display: flex;
    flex-direction: column;
}

.white-badge-num {
    font-family: 'outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.white-badge-txt {
    font-family: 'outfit', sans-serif;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE CONTROL BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
    .firms-cards-grid {
        grid-template-columns: 1fr;
    }

    .why-platform-inner {
        flex-direction: column;
        gap: 50px;
    }

    .why-content-side,
    .why-image-side {
        width: 100%;
    }

    .why-image-side {
        max-width: 480px;
        margin: 0 auto;
    }

    .top-blue-badge-card {
        right: -10px;
    }

    .bottom-white-badge-card {
        left: -10px;
    }
}

@media (max-width: 575px) {
    .firm-mini-card {
        padding: 12px;
    }

    .firm-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .firm-rating-inline {
        margin-left: 0;
    }

    .why-main-heading {
        font-size: 26px;
    }

    .top-blue-badge-card {
        right: 5px;
        top: 15px;
    }

    .bottom-white-badge-card {
        left: 5px;
        bottom: -10px;
    }
}

/* ==========================================================================
   HOW IT WORKS SECTION STYLES (Full Width Dark Blue Background)
   ========================================================================== */
.how-it-works-section {
    background-color: #0b2559;
    /* Solid deep blue color extending full width */
    padding: 80px 0;
    width: 100%;
}

.section-center-header {
    text-align: center;
    margin-bottom: 60px;
}

.text-white {
    color: #ffffff !important;
}

.text-light {
    color: #cbd5e1 !important;
}

.section-sub-desc {
    font-size: 16px;
    font-family: 'outfit', sans-serif;
    margin-top: 10px;
}

.process-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1xl));
    gap: 25px;
}

@media (min-width: 992px) {
    .process-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step-card {
    background-color: rgba(255, 255, 255, 0.06);
    /* Highly transparent white look */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 35px 25px 30px 25px;
    position: relative;

    transition: transform 0.3s ease, background-color 0.3s ease;
}

.process-step-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.09);
}

/* Translucent Large Numbers exactly matching image_3bfe63.png */
.step-number-bg {
    position: absolute;
    top: -30px;
    left: 0px;
    font-family: 'outfit', sans-serif;
    font-size: 80px;
    font-weight: 800;
    color: rgba(26, 98, 220, 0.25);
    /* Bright blue color with low opacity tint */
    line-height: 1;
    pooutfit-events: none;
    z-index: 1;
}

.step-icon-box {
    width: 42px;
    height: 42px;
    background-color: #1a62dc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    /* Sits over the large number background */
}

.process-step-card h4 {
    font-family: 'outfit', sans-serif;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.process-step-card p {
    font-family: 'outfit', sans-serif;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}


/* ==========================================================================
   STATE LAWS / FREE RESOURCES SECTION STYLES
   ========================================================================== */
.state-laws-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.view-all-link-blue {
    color: #1a62dc;
    font-family: 'outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-all-link-blue:hover {
    text-decoration: underline;
}

.states-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .states-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .states-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.state-link-card {
    background-color: #f1f5f9;
    /* Light greyish-blue container background as shown */
    border-radius: 6px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.state-link-card:hover {
    background-color: #e2e8f0;
    transform: translateX(2px);
}

.state-link-card span {
    font-family: 'outfit', sans-serif;
    color: #1a62dc;
    /* State names text link color match */
    font-weight: 600;
    font-size: 14px;
}

.state-link-card i {
    color: #64748b;
    font-size: 12px;
}

/* ==========================================================================
   outfitACTIVE MAP VISUAL STYLES
   ========================================================================== */
.us-map-visualization-section {
    background-color: #ffffff;
    padding: 10px 0 50px 0;
    width: 100%;
}

.map-visual-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-cta-section {
    background: linear-gradient(to right, rgb(5, 26, 67), rgb(13, 72, 167));
    padding: 60px 0;
    color: #ffffff;
}

.footer-cta-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.footer-cta-section h2 {
    font-family: 'outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 14px 0;
    color: #ffffff;
}

.footer-cta-section p {
    font-family: 'outfit', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.86);
    margin: 0 0 28px 0;
}

.footer-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-footer-primary,
.btn-footer-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 14px 24px;
    border-radius: 10px;
    font-family: 'outfit', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-footer-primary {
    background: #ffffff;
    color: black;
    gap:10px;
}

.btn-footer-primary:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-1px);
}

.btn-footer-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.btn-footer-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.top-attorneys-faq-section {
    background: #ffffff;
    /* padding: 55px 0 40px; */
}
.footer-bottom-bar {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright-text {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-bottom-links a {
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 576px) {
    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

.top-attorneys-faq-section .section-header {
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.top-attorneys-faq-section .header-title-wrapper {
    position: relative;
    padding-left: 14px;
}

.top-attorneys-faq-section .header-title-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 36px;
    border-radius: 999px;
    background: #1d63dc;
}

.attorney-highlight-card {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 28px;
    background: rgb(245, 245, 245);
    border-radius: 18px;
    padding: 15px 15px;
    box-shadow: none;
    margin-bottom: 40px;
}

.attorney-card-image {
    border-radius: 20px;
    overflow: hidden;
    width: 170px;
    height: 210px;
    flex-shrink: 0;
}

.attorney-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.attorney-card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
}

.attorney-card-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.attorney-card-top>div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.attorney-card-top h3 {
    font-family: 'outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #0b1829;
    display: flex;
    align-items: center;
    gap: 8px;
}

.attorney-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.verified-pill,
.specialty-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    width:fit-content
}

.verified-pill {
    background: #1d4ed8;
    color: #ffffff;
    gap: 4px;
    padding: 4px 10px;
    font-size: 11px;
}

.verified-pill i {
    font-size: 12px;
}

.specialty-label {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 4px 10px;
    font-size: 11px;
    display: inline-flex;
    border-radius: 6px;
}

.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgb(255, 251, 235);
    padding: 4px 10px !important;
    border-radius: 10px !important;
    color: #fbbf24;
    font-weight: 700;
    padding: 0;
    border-radius: 0;
    white-space: nowrap;
    font-size: 15px;
}

.attorney-summary {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    font-size: 14px;
}

.attorney-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin: 8px 0;
}

.attorney-contact-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border-radius: 999px;
    padding: 0;
    font-size: 13px;
    color: #64748b;
}

.attorney-contact-row i {
    color: rgba(106, 114, 130, 1);
}

.attorney-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 8px 0 0 0;
}

.experience-pill,
.consultation-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.experience-pill {
    background: transparent;
    color: #64748b;
    padding: 0;
}

.consultation-pill {
    background: transparent;
    color: #14b8a6;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
}

.attorney-card-actions {
    display: flex;
    width: 100%;
    gap: 16px;
    align-items: center;
    margin-top: 12px;
    width: 100%;
}

.btn-attorney-primary,
.btn-attorney-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: 'outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.btn-attorney-primary {
    background: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.15);
    grid-column: 1;
    padding: 12px 32px;
}

.btn-attorney-secondary {
    background: white;
    padding: 12px 32px !important;
    color: black;
    padding: 0;
    gap: 6px;
    grid-column: 2;
}

.btn-attorney-primary:hover,
.btn-attorney-secondary:hover {
    transform: translateY(-1px);
}

.faq-section-block {
    margin-top: 40px;
    width: 100%;
}

.faq-header {
    margin-bottom: 20px;
}

.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
}

.faq-card {
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    width: 100%;

}

.faq-card-title-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1d4ed8;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.faq-card h4 {
    font-family: 'outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: #0b1829;
    line-height: 1.4;
}

.faq-card p {
    margin: 0;
    color: #647084;
    line-height: 1.6;
    font-size: 13px;
}

@media (max-width: 1024px) {
    .attorney-highlight-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-attorneys-faq-section {
        padding: 40px 0 30px;
    }

    .attorney-highlight-card {
        padding: 20px;
    }

    .attorney-card-image {
        min-height: 260px;
    }

    .attorney-contact-row {
        flex-direction: column;
        align-items: stretch;
    }

    .attorney-card-actions {
        flex-direction: column;
    }
}

LEGAL UTILITIES CARDS STYLES (Exact Colors & Layout from Image)==========================================================================*/ .legal-utilities-section {
    background-color: #ffffff;
    padding: 30px 0 50px 0;
    width: 100%;
}

.utilities-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

@media (min-width: 992px) {
    .utilities-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.utility-info-card {
    background-color: #f4f6f9;
    /* Exact soft grayish block background */
    border-radius: 16px;
    /* Smooth curved corner radii matching figma */
    padding: 40px 30px;
    box-shadow: none;
    /* Disabled shadow as cards are flat blocks */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.utility-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /* Perfectly circular icon badge */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 24px;
    background-color: #1a62dc;
    /* Vivid primary blue badge */
    color: #ffffff;
}

.utility-info-card h3 {
    font-family: 'outfit', sans-serif;
    color: #111827;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.utility-info-card p {
    font-family: 'outfit', sans-serif;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 28px 0;
    min-height: 66px;
    /* Retains grid height equality layout balanced */
}

/* Primary Solid Blue Button Layout */
.utility-solid-blue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #1a62dc;
    color: #ffffff;
    padding: 12px 24px;
    font-family: 'outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.utility-solid-blue-btn:hover {
    background-color: #114bb5;
}


/* ==========================================================================
   BOTTOM CTA DUAL BLOCKS STYLES (Exact Dual Color Specs)
   ========================================================================== */
.bottom-cta-blocks-section {
    background-color: #ffffff;
    padding: 20px 0 80px 0;
    width: 100%;
}

.cta-dual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

@media (min-width: 992px) {
    .cta-dual-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cta-block-card {
    border-radius: 18px;
    padding: 50px 45px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Exact gradient styling for primary CTA card */
.cta-bg-blue {
    background: linear-gradient(135deg, #091e42 0%, #1a62dc 100%);
}

/* Solid extreme deep slate color for dark card */
.cta-bg-dark {
    background-color: #0d1527;
}

.cta-icon-wrapper {
    font-size: 24px;
    margin-bottom: 24px;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.cta-block-card h3 {
    font-family: 'outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 16px 0;
}

.cta-block-card p {
    font-family: 'outfit', sans-serif;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 32px 0;
}

/* White Solid buttons with responsive styling */
.cta-solid-white-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
    padding: 14px 26px;
    font-family: 'outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-text-blue {
    color: #1a62dc;
}

.btn-text-dark {
    color: #0d1527;
}

.cta-solid-white-btn:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}

/* ==========================================================================
   POPULAR ARTICLES & VIDEOS STYLES
   ========================================================================== */
.popular-media-section {
    background-color: #ffffff;
    padding: 60px 0;
    width: 100%;
}

.section-flex-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 35px;
}

.media-badge-label {
    display: block;
    font-family: 'outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #1a62dc;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.media-main-title {
    font-family: 'outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.view-all-link {
    font-family: 'outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a62dc;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: #0b2559;
}

/* Equal Height Grid System Alignment */
.media-content-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (min-width: 992px) {
    .media-content-layout {
        grid-template-columns: 4.5fr 5.5fr;
    }
}

/* Video Component Styles */
.video-preview-block {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background-color: #000;
    aspect-ratio: 16 / 9;
    height: 100%;
}

.video-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pooutfit;
}

.play-icon-circle {
    width: 64px;
    height: 64px;
    background-color: rgba(26, 98, 220, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    padding-left: 4px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 10px 25px -5px rgba(26, 98, 220, 0.5);
}

.video-preview-block:hover .play-icon-circle {
    transform: scale(1.08);
    background-color: #1a62dc;
}

/* Stacked Article Sidebar Layout Rules */

.articles-stack-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.article-row-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 24px 18px 24px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.article-row-card .card-text-content h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0b132b;
    margin-bottom: 6px;
    line-height: 1.4;
}

.article-row-card .card-text-content p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.inline-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.inline-read-more i {
    font-size: 10px;
    transition: transform 0.2s;
}

.inline-read-more:hover {
    color: #1a62dc;
}

.inline-read-more:hover i {
    transform: translateX(3px);
}

/* ==========================================================================
   FAQ CARD COMPONENT STYLES (Exact Match from image_1f5343.png)
   ========================================================================== */
.faq-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    /* Subtle light border from image */
    border-radius: 16px;
    /* Smooth rounded corners */
    padding: 30px;
    display: flex;
    align-items: flex-start;
    /* Keeps the icon aligned properly at the top */
    gap: 20px;
    /* Exact spacing between the icon circle and content */
    max-width: 1000px;
    margin: 10px auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    /* Soft unnoticeable shadow drop */
}

/* Rounded soft blue background circle for the question icon */
.faq-icon-wrapper {
    width: 44px;
    height: 44px;
    background-color: #eff6ff;
    /* Very soft light blue fill */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Prevents the circle from squeezing on smaller devices */
}

/* Exact matching empty outline question mark icon styling */
.faq-icon-wrapper i.bi-question-circle {
    color: #1a62dc;
    /* Vibrant blue color matching template accent */
    font-size: 20px;
    font-weight: normal;
    display: inline-block;
    line-height: 1;
}

/* Core text container properties */
.faq-content-block {
    flex-grow: 1;
}

/* Layered main title properties */
.faq-content-block h4 {
    font-family: 'outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    /* Dark slate blue text color */
    margin: 0 0 10px 0;
    line-height: 1.4;
}

/* Descriptive paragraph text properties */
.faq-content-block p {
    font-family: 'outfit', sans-serif;
    font-size: 14px;
    color: #64748b;
    /* Balanced greyish muted description text color */
    line-height: 1.6;
    margin: 0;
}

/* Responsive optimization metrics */
@media (max-width: 576px) {
    .faq-card {
        flex-direction: column;
        /* Stacks vertically smoothly on mobile screens */
        padding: 20px;
        gap: 15px;
    }
}

/* ==========================================================================
   LATEST BLOGS STYLES
   ========================================================================== */
.latest-blogs-section {
    background-color: #ffffff;
    padding: 40px 0 80px 0;
    width: 100%;
}

.blogs-three-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@media (min-width: 992px) {
    .blogs-three-column-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-post-card {
    background-color: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.blog-post-card:hover {
    transform: translateY(-4px);
}

.blog-img-frame {
    width: 100%;
    aspect-ratio: 1.6 / 1;
    overflow: hidden;
    background-color: #f1f5f9;
}

.blog-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-topic-tag {
    display: inline-block;
    align-self: flex-start;
    background-color: #eff6ff;
    color: #1a62dc;
    font-family: 'outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.blog-card-details h3 {
    font-family: 'outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin: 0 0 12px 0;
}

.blog-card-details p {
    font-family: 'outfit', sans-serif;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

/* User Metadata Custom Profiles Alignment */
.blog-meta-footer {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-meta-footer a {
    list-style: none;
    text-decoration: none;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #e2e8f0;
}

.author-name {
    font-family: 'outfit', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
}

.reading-time-stamp {
    font-family: 'outfit', sans-serif;
    font-size: 12px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   SITE MAIN FOOTER STYLES (Exact Colors & Layout from image_3b6bfd.png)
   ========================================================================== */
.site-main-footer {
    background-color: #060b13;
    /* Deep dark background matching design screen */
    padding: 80px 0 60px 0;
    width: 100%;
    color: #ffffff;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-columns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-columns-grid {
        grid-template-columns: 4fr 2fr 2fr 3fr;
        /* Proportional widths */
    }
}

/* Brand profile block specs */
.footer-brand-column {
    display: flex;
    flex-direction: column;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.logo-icon-box {
    width: 36px;
    height: 36px;
    background-color: #1a62dc;
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.footer-logo-wrap h2 {
    font-family: 'outfit', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.footer-logo-wrap h2 span {
    color: #1a62dc;
}

.brand-desc-text {
    font-family: 'outfit', sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 0 25px 0;
    max-width: 320px;
}

.footer-social-row {
    display: flex;
    gap: 12px;
}

.social-circle-icon {
    width: 36px;
    height: 36px;
    background-color: #111827;
    color: #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.social-circle-icon:hover {
    background-color: #1a62dc;
    color: #ffffff;
}

/* Nav links lists rules */
.footer-links-column h3 {
    font-family: 'outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 22px 0;
}

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

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list li a {
    font-family: 'outfit', sans-serif;
    font-size: 13.5px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-list li a:hover {
    color: #ffffff;
}

/* Contact information metadata column rules */
.footer-contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-family: 'outfit', sans-serif;
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-contact-details li i {
    color: #1a62dc;
    font-size: 15px;
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.footer-contact-details li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-details li a:hover {
    color: #ffffff;
}

/* about */
/* Page Specific Styling - Criminal Defense Page */
#ldp-criminal-defense-hero {
    position: relative;

    color: #ffffff;
    background: linear-gradient(160deg, rgba(7, 22, 52, 0.96), rgba(15, 38, 96, 0.94));
    overflow: hidden;
}



#ldp-criminal-defense-hero .image-class {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 350px;
    padding: 90px 0 0;
    background-image: linear-gradient(105deg, rgba(3, 23, 62, 0.97) 35%, rgba(13, 64, 161, 0.88) 100%),url('../images/card 1.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#ldp-criminal-defense-hero .ldp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

#ldp-criminal-defense-hero .ldp-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 28px;
    font-weight: 500;
}

#ldp-criminal-defense-hero .ldp-breadcrumb a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.2s ease;
}

#ldp-criminal-defense-hero .ldp-breadcrumb a:hover {
    color: #ffffff;
}

#ldp-criminal-defense-hero .ldp-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #ffffff;
}

#ldp-criminal-defense-hero .ldp-hero-title {
    font-size: 32px;
    line-height: 1.02;
    max-width: 840px;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
    text-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

#ldp-criminal-defense-hero .ldp-hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    max-width: 720px;
    margin-bottom: 42px;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

#ldp-criminal-defense-hero .ldp-search-section {
    padding: 50px 0 70px;
    background: linear-gradient(to right, rgba(2, 15, 43, 1) 0%, rgba(9, 76, 175, 1) 100%);
}



#ldp-criminal-defense-hero .ldp-search-intro h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.05;
}

#ldp-criminal-defense-hero .ldp-search-intro p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.8;
}

#ldp-criminal-defense-hero .ldp-search-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr)) auto;
    gap: 18px;
    align-items: end;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 30px 60px rgba(10, 29, 79, 0.18);
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero stats white strip under the search card */
.ldp-stats-bar {
    background: #ffffff;
    padding: 20px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.04);
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.ldp-stats {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.ldp-stat-item {
    text-align: center;
    flex: 1;
}

.ldp-stat-number {
    font-family: 'outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #0b132b;
    margin-bottom: 6px;
}

.ldp-stat-label {
    font-family: 'outfit', sans-serif;
    font-size: 16px;
    color: #64748b;
}

/* Reusable Cards + Sidebar Section */
.ldp-cards-sidebar-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.ldp-cards-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.ldp-cards-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ldp-practice-card {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.ldp-practice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.ldp-practice-card .card-image-box {
    height: 190px;
    overflow: hidden;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.ldp-practice-card .card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content-area {
    padding: 18px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    flex-grow: 1;
}

.ldp-card-title {
    font-family: 'outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.ldp-card-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.ldp-card-links li a {
    text-decoration: none;
    color: #1d4ed8;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    width: 100%;
}

.ldp-card-links li a:hover {
    color: #1e40af;
}

.ldp-card-links li a svg {
    flex-shrink: 0;
}

.ldp-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    text-decoration: none;
    background: rgb(11, 94, 215);
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.ldp-card-links li:last-child a {
    padding-bottom: 16px;
}

.ldp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-cta {
    background:rgba(11, 94, 215, 1);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
}

.sidebar-cta h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.sidebar-cta p {
    margin: 0 0 12px 0;
    color: rgba(255, 255, 255, 0.9);
}

.sidebar-cta {
    position: relative;
    overflow: hidden;
}

.sidebar-cta .cta-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.sidebar-cta .btn-visit-website {
    display: block;
    width: 100%;
    text-align: center;
    background: #fff;
    color: #0b3a86;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.sidebar-box {
    background: #ffffff;
    border: 1px solid #eef2f6;
    padding: 16px;
    border-radius: 12px;
}

.sidebar-box h5 {
    margin: 0 0 8px 0;
    font-size: 15px;
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-box ul li {
    font-size: 14px;
    color: #475569;
}

.contact-box .phone {
    font-weight: 700;
    color: #0b132b;
    margin: 6px 0 0 0;
}

/* Why list icons */
.why-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
}

.why-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 0;
    flex-shrink: 0;
}

.why-icon svg {
    width: 18px;
    height: 18px;
}

.why-icon svg {
    width: 18px;
    height: 18px;
}

/* Free helpline dark box */
.free-helpline {
    background:rgba(16, 24, 40, 1);
    color: #fff;
    padding: 18px;
    border-radius: 12px;
    text-align: left;
}

.free-helpline .phone {
    margin: 0 0 12px 0;
    color: rgba(255, 255, 255, 0.9);
}

.helpline-btn {
    display: inline-block;
    background: #1a62dc;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    width:100%;
    text-align: center;
}

/* Practices list */
.practice-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.practice-list li {}

.practice-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #f1f5f9;
    justify-content: space-between;
    text-decoration: none;
    color: #0f172a;
}

.practice-item:hover {
    background: #f8fbff;
}

.pa-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.pa-label {
    flex: 1;
}

.chev {
    color: #94a3b8;
}

/* Icon color variants matching screenshot */
.pa-pink {
    background: #fff0f2;
    color: #ff4d6d;
}

.pa-blue {
    background: #eef6ff;
    color: #2563eb;
}

.pa-amber {
    background: #fff8ec;
    color: #f59e0b;
}

.pa-green {
    background: #f0fdf4;
    color: #16a34a;
}

.pa-gray {
    background: #f5faff;
    color: #6b7280;
}

/* Card content overlap */
.ldp-practice-card {
    overflow: hidden;
}

.ldp-practice-card .card-content-area {
    background: rgba(245, 245, 245, 1);
    margin: 0;
    padding: 18px 18px 10px;
    border-radius: 0 0 22px 22px;
    transform: none;
    position: relative;
}

@media (max-width: 991px) {
    .ldp-cards-grid {
        grid-template-columns: 1fr;
    }

    .ldp-cards-column {
        grid-template-columns: repeat(2, 1fr);
    }

    .ldp-sidebar {
        order: 2;
    }
}

@media (max-width: 680px) {
    .ldp-cards-column {
        grid-template-columns: 1fr;
    }

    .ldp-cards-grid {
        gap: 20px;
    }

    .ldp-practice-card .card-content-area {
        margin: 0 10px 16px 10px;
        padding: 14px;
    }
}

.ldp-search-intro {
    margin-bottom: 10px;
}

#ldp-criminal-defense-hero .ldp-field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#ldp-criminal-defense-hero .ldp-field-wrapper label {
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
}

#ldp-criminal-defense-hero .ldp-select-wrapper {
    position: relative;
}

#ldp-criminal-defense-hero .ldp-form-input {
    width: 100%;
    min-height: 54px;
    padding: 16px 18px;
    font-size: 0.95rem;
    color: #0f172a;
    background: #f8fbff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    appearance: none;
}

#ldp-criminal-defense-hero .ldp-select-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pooutfit-events: none;
    color: #94a3b8;
    font-size: 0.95rem;
}

#ldp-criminal-defense-hero .ldp-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 30px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    border: none;
    border-radius: 16px;
    cursor: pooutfit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
}

#ldp-criminal-defense-hero .ldp-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(29, 99, 220, 0.25);
    opacity: 0.98;
}

#ldp-criminal-defense-hero .ldp-search-btn svg {
    flex-shrink: 0;
}

@media (max-width: 960px) {
    #ldp-criminal-defense-hero .ldp-search-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    #ldp-criminal-defense-hero .ldp-search-section {
        padding: 40px 0 56px;
    }

    #ldp-criminal-defense-hero .ldp-search-box {
        padding: 20px;
        gap: 14px;
    }
}

@media (max-width: 520px) {
    #ldp-criminal-defense-hero .ldp-search-intro h2 {
        font-size: 1.85rem;
    }

    #ldp-criminal-defense-hero .ldp-search-btn {
        width: 100%;
    }
}


@media (max-width: 680px) {
    #ldp-criminal-defense-hero {}

    #ldp-criminal-defense-hero .ldp-hero-title {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
    }

    #ldp-criminal-defense-hero .ldp-search-box {
        padding: 20px;
        gap: 14px;
    }
}

@media (max-width: 520px) {
    #ldp-criminal-defense-hero .ldp-breadcrumb {
        font-size: 0.88rem;
    }

    #ldp-criminal-defense-hero .ldp-search-btn {
        width: 100%;
    }
}

/* Dropdown */
.nav-item {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    min-width: 300px;
    padding: 12px;
}

.dropdown-menu.open {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    font-size: 14px;
    color: #747b85 !important;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    margin-bottom: 4px;
}

.dropdown-menu a:last-child {
    margin-bottom: 0;
}

.dropdown-menu a:hover {
    background: #f0f4ff;
    color: #1a62dc !important;
}

.dropdown-wide {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    padding: 16px;
    min-width: 680px;
}

.dropdown-wide.open {
    display: flex;
    gap: 0;
}

.dropdown-left {
    width: 240px;
    border-right: 1px solid #eee;
    padding-right: 16px;
}

.dropdown-right {
    flex: 1;
    padding-left: 16px;
}

.dropdown-left a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    font-size: 14px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
    border: 2px solid #eee;
    margin-bottom: 6px;
}

.dropdown-right a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    font-size: 14px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
    border: none;
    margin-bottom: 6px;
}

.dropdown-left a:last-child,
.dropdown-right a:last-child {
    margin-bottom: 0;
}

.dropdown-left a:hover,
.dropdown-right a:hover {
    background: #f0f4ff;
    color: #1a62dc;
}

.dropdown-left a.active {
    background: #e8f0fe;
    color: #1a62dc;
    font-weight: 600;
}

.dropdown-menu a.view-all-btn {
    background: #1a62dc !important;
    color: #fff !important;
    border: 2px solid #1a62dc !important;
    border-radius: 8px;
    margin-top: 6px;
    font-weight: 500;
}

.view-all-btn:hover {
    background: #1452bc !important;
}

.dropdown-arrow {
    font-size: 11px;
    transition: transform 0.2s;
}

.nav-item.open .dropdown-arrow {
    transform: rotate(180deg);
}


/* Nav dropdown overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 999;
    animation: overlayFadeIn 0.2s ease;
}

.nav-overlay.active {
    display: block;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Dropdown caret SVG color */
.dropdown-menu a span,
.dropdown-left a span,
.dropdown-right a span {
    color: #99A1AF;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.dropdown-menu a:hover span,
.dropdown-left a:hover span,
.dropdown-right a:hover span {
    color: #1a62dc;
}

.dropdown-menu a.view-all-btn span,
.dropdown-right a.view-all-btn span {
    color: #ffffff;
}

/* ── Learn About the Law — tab dropdown ─────────────────── */
.dropdown-tabs-left {
    width: 240px;
    flex-shrink: 0;
    border-right: 1px solid #eef2f6;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tab-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #747b85 !important;
    text-decoration: none;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    margin-bottom: 4px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.tab-link span {
    color: #99A1AF;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.tab-link:hover {
    background: #f0f4ff;
    color: #1a62dc !important;
}

.tab-link:hover span {
    color: #1a62dc;
}

.tab-link.active {
    background: #eff6ff;
    color: #1a62dc !important;
    font-weight: 600;
    border-color: #dbeafe;
}

.tab-link.active span {
    color: #1a62dc;
}

.dropdown-tabs-right {
    flex: 1;
    padding-left: 12px;
    overflow-y: auto;
    max-height: 360px;
}

.dropdown-tabs-right::-webkit-scrollbar {
    width: 4px;
}

.dropdown-tabs-right::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-tabs-right::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    padding: 0 16px;
}

.tab-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    font-weight: 500;
    color: #99A1AF !important;
    text-decoration: none;
    border: none;
    background: #F9FAFB;
    margin-bottom: 8px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.tab-panel a span {
    color: #99A1AF;

    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.tab-panel a:hover {
    background: #f0f4ff;
    color: #1a62dc;
}

.tab-panel a:hover span {
    color: #1a62dc !important;
}

.tab-panel a.view-all-btn {
    background: #1a62dc;
    padding: 12px 0 12px 16px;

    color: #ffffff !important;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 0;
}

.tab-panel a.view-all-btn span {
    color: #ffffff;
}

.tab-panel a.view-all-btn:hover {
    background: #1452bc;
}