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

:root {
    --primary-color: #2a2a2a;
    --secondary-color: #ffffff;
    --accent-color: #3a3a3a;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #cccccc;
    --text-gray-light: #a0a0a0;
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-light: rgba(0, 0, 0, 0.3);
    --nav-height: 60px;
    /* Safari/iOS: safe area so content and FAB sit above browser UI (tabs bar) */
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-right: env(safe-area-inset-right, 0px);
}

/* Page loading animation */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #1e1e1e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader-spinner {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: page-loader-spin 0.9s linear infinite;
    display: block;
}

.page-loader-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes page-loader-spin {
    to { transform: rotate(360deg); }
}

body.page-loaded .page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Safari/iOS: allow scroll so content isn't stuck behind browser bottom bar; min-height ensures scrollbar when needed */
html {
    min-height: 100vh;
    min-height: calc(100vh + var(--safe-area-bottom));
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    background-color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: var(--safe-area-bottom);
}

body.homepage {
    overflow: hidden;
    height: 100vh;
    transition: opacity 0.3s ease;
}

body.about-page {
    background: #F8F7F4;
    color: #2a2a2a;
    overflow-x: hidden;
    transition: opacity 0.3s ease;
}

/* About page navbar - not sticky, dark overlay like home */
body.about-page .navbar {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
}

body.practice-area-page {
    overflow-x: hidden;
    transition: opacity 0.3s ease;
}

/* Contact page – same as About / Practice Areas (video hero, transparent nav, light content) */
body.contact-page {
    background: #F8F7F4;
    color: #2a2a2a;
    overflow-x: hidden;
    transition: opacity 0.3s ease;
}

/* Practice Areas page – same as About page */
body.practice-areas-page {
    background: #F8F7F4;
    color: #2a2a2a;
    overflow-x: hidden;
    transition: opacity 0.3s ease;
}

body.practice-areas-page .navbar {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
}

body.practice-areas-page .logo h1,
body.practice-areas-page .nav-link {
    color: var(--text-light);
}

body.practice-areas-page .nav-link.active {
    color: var(--text-light);
    border-bottom: 2px solid var(--text-light);
}

body.practice-areas-page .nav-link.active::after {
    display: none;
}

h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    z-index: 1000;
    padding: 0.75rem 0;
    height: var(--nav-height);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

body.about-page .logo h1,
body.about-page .nav-link {
    color: var(--text-light);
}

body.about-page .nav-link.active {
    color: var(--text-light);
    border-bottom: 2px solid var(--text-light);
}

body.about-page .nav-link.active::after {
    display: none;
}

body.contact-page .navbar {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
}

body.contact-page .logo h1,
body.contact-page .nav-link {
    color: var(--text-light);
}

body.contact-page .nav-link.active {
    color: var(--text-light);
    border-bottom: 2px solid var(--text-light);
}

body.contact-page .nav-link.active::after {
    display: none;
}

/* Practice area subpages (e.g. criminal-law) – same as About / Practice Areas */
body.practice-area-page {
    background: #F8F7F4;
    color: #2a2a2a;
}

body.practice-area-page .navbar {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
}

body.practice-area-page .logo h1,
body.practice-area-page .nav-link {
    color: var(--text-light);
}

body.practice-area-page .nav-link.active {
    color: var(--text-light);
    border-bottom: 2px solid var(--text-light);
}

body.practice-area-page .nav-link.active::after {
    display: none;
}

/* Blog page – hero with overlay, navbar like home */
body.blog-page .navbar {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
}

body.blog-page .logo h1,
body.blog-page .nav-link {
    color: var(--text-light);
}

body.blog-page .nav-link.active {
    color: var(--text-light);
    border-bottom: 2px solid var(--text-light);
}

body.blog-page .nav-link.active::after {
    display: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
    position: relative;
}

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

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

/* Practice Areas dropdown */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    padding-right: 1.25rem;
}

/* Arrow icon to indicate submenu (desktop) */
.nav-item-dropdown > .nav-link::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease;
}

.nav-item-dropdown:hover > .nav-link::before {
    transform: translateY(-50%) rotate(180deg);
}

.nav-submenu {
    list-style: none;
    margin: 0;
    padding: 0.75rem 0;
    min-width: 240px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    background: rgba(26, 26, 26, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.nav-item-dropdown:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    margin-top: 4px;
}

.nav-submenu li {
    margin: 0;
}

.nav-submenu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-submenu a:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    display: block;
    position: relative;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Simple Hero Section */
.simple-hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    width: 100%;
    padding: 0 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: var(--nav-height);
    box-sizing: border-box;
}

.simple-hero-title {
    font-size: 4rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.simple-hero-title .title-line-1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-light);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.simple-hero-title .title-line-2 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-gray-light);
    opacity: 0.85;
    margin-top: 0.75rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.simple-hero-title .title-line-3 {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-gray-light);
    opacity: 0.85;
    margin-top: 0.75rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.simple-hero-description {
    font-size: 1.2rem;
    color: var(--text-gray-light);
    font-weight: 400;
    line-height: 1.8;
    max-width: 700px;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.simple-hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.simple-hero-buttons .btn-primary-subtle {
    min-width: 180px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: buttonFadeIn 0.6s ease-out forwards;
}

.simple-hero-buttons .btn-primary-subtle:nth-child(1) {
    animation-delay: 0.5s;
}

.simple-hero-buttons .btn-primary-subtle:nth-child(2) {
    animation-delay: 0.65s;
}

@keyframes buttonFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Simple Page Section (for About, Contact, Practice Areas pages) */
.simple-page-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-page-section .hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.simple-page-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: var(--nav-height);
    box-sizing: border-box;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.simple-page-content::-webkit-scrollbar {
    width: 6px;
}

.simple-page-content::-webkit-scrollbar-track {
    background: transparent;
}

.simple-page-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.simple-page-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.simple-page-title {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.simple-page-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray-light);
    font-weight: 400;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* About Page Content */
.about-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    width: 100%;
    margin-top: 1rem;
}

.about-section-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    text-align: left;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.about-section-item h2 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.about-section-item p {
    color: var(--text-gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.qualifications-inline,
.courts-inline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.qual-item,
.court-item {
    color: var(--text-gray-light);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.qual-item:last-child,
.court-item:last-child {
    border-bottom: none;
}

/* Contact Page Content */
.contact-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    width: 100%;
    margin-top: 1rem;
}

.contact-office-item,
.contact-jurisdiction-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    text-align: left;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.contact-office-item h2,
.contact-jurisdiction-item h2 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-office-item p,
.contact-jurisdiction-item p {
    color: var(--text-gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.contact-office-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-office-item a:hover {
    color: var(--text-gray-light);
    text-decoration: underline;
}

/* Practice Areas Page Content */
.practice-areas-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    width: 100%;
    margin-top: 1rem;
}

.practice-area-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    transition: all 0.3s ease;
}

.practice-area-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.practice-area-item h2 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 600;
}

.practice-area-item p {
    color: var(--text-gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Practice Area Individual Pages */
.practice-area-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    width: 100%;
    margin-top: 1.5rem;
    text-align: left;
}

.practice-area-description-section {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.practice-area-description-section p {
    color: var(--text-gray-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.practice-area-form-section {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.practice-area-form-section h2 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
    padding-top: var(--nav-height);
    box-sizing: border-box;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-content {
    max-width: 1000px;
    width: 100%;
    padding: 0 40px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-height: calc(100vh - var(--nav-height) - 80px);
    overflow-y: auto;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.hero-slide-content::-webkit-scrollbar {
    width: 6px;
}

.hero-slide-content::-webkit-scrollbar-track {
    background: transparent;
}

.hero-slide-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.hero-slide-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-slide-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-slide-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray-light);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-slide-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 150px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.feature-item h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-gray-light);
    font-size: 0.9rem;
    margin: 0;
}

.practice-areas-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 800px;
    width: 100%;
    margin: 1rem 0;
}

.practice-area-mini {
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-gray);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.practice-area-mini span {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.practice-area-mini:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.practice-area-mini:hover span {
    color: var(--text-light);
}

.read-more-btn {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

.read-more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.contact-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    width: 100%;
    margin: 1rem 0;
}

.contact-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contact-item h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-gray-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.hero-slide-cta {
    margin-top: 1rem;
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ffffff;
    width: 30px;
    border-radius: 5px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Single Viewport Homepage Hero (Legacy - keeping for reference) */
.hero-single-viewport {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--nav-height);
    box-sizing: border-box;
}

.hero-background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    /* Optimize video performance */
    will-change: opacity;
    transform: translateZ(0);
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    z-index: 0;
}

.simple-hero-section .hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-slider-section .hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-single-viewport .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - var(--nav-height));
    box-sizing: border-box;
    gap: 0;
}

.hero-title-main {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle-main {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-main-content {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 900px;
    flex-shrink: 0;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-gray-light);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.status-text {
    letter-spacing: 0.3px;
}

.live-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .live-stats {
        gap: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .stat-item {
        min-width: 80px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-gray-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.recent-activity {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.activity-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-gray-light);
}

.activity-dot {
    width: 6px;
    height: 6px;
    background: var(--text-gray-light);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.activity-text {
    letter-spacing: 0.2px;
}

.hero-title-main {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-subtitle-main {
    font-size: 1.15rem;
    color: var(--text-gray-light);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.practice-areas-compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 2rem;
    margin-bottom: 2rem;
    max-width: 1000px;
    flex-shrink: 0;
}

.practice-item-inline {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0.5rem 0;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    position: relative;
}

.practice-item-inline:hover {
    color: var(--text-light);
    transform: translateX(5px);
}

.credential-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 900px;
    flex-shrink: 0;
    position: relative;
}

.credential-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    animation: expand-line 3s ease-in-out infinite;
}

@keyframes expand-line {
    0%, 100% {
        width: 0;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
}

.credential-strip span {
    color: var(--text-gray-light);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.credential-strip .separator {
    color: rgba(255, 255, 255, 0.2);
}

.hero-cta-subtle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-shrink: 0;
}

.btn-primary-subtle {
    padding: 0.75rem 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-subtle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-primary-subtle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-primary-subtle:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.08);
}

.btn-primary-subtle:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-subtle:hover::after {
    opacity: 1;
}

.btn-primary-subtle:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.15s ease;
}

.btn-primary-subtle:active::before {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.3);
}

.btn-text-link {
    color: var(--text-gray-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.btn-text-link:hover {
    color: var(--text-light);
    border-bottom-color: var(--text-gray-light);
}

/* Hide footer on homepage and simple pages */
body.homepage .footer,
body.simple-page .footer {
    display: none;
}

/* Hero Section - Single Viewport */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    text-align: center;
}

.hero-main {
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-divider {
    width: 100px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 2rem auto;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    min-width: 150px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-practice-areas {
    margin: 3rem 0;
}

.practice-title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.practice-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: default;
}

.practice-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
}

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

/* Contact Page Slider Section */
.contact-slider-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: var(--nav-height);
}

.contact-background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    will-change: opacity;
    transform: translateZ(0);
}

.contact-background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.contact-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.contact-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.contact-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.contact-slide.active {
    opacity: 1;
    visibility: visible;
}

.contact-slide-content {
    max-width: 1000px;
    width: 100%;
    padding: 0 40px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    max-height: calc(100vh - var(--nav-height) - 80px);
    overflow-y: auto;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.contact-slide-content::-webkit-scrollbar {
    width: 6px;
}

.contact-slide-content::-webkit-scrollbar-track {
    background: transparent;
}

.contact-slide-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.contact-slide-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.contact-slide-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.contact-slide-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray-light);
    font-weight: 400;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.contact-office-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    width: 100%;
    margin-top: 1rem;
}

.contact-office-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: left;
}

.contact-office-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.contact-office-card h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-office-card p {
    color: var(--text-gray-light);
    line-height: 1.9;
    font-size: 1.05rem;
    margin: 0;
}

.contact-office-card a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin: 0.25rem 0;
}

.contact-office-card a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

.contact-jurisdiction-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    width: 100%;
    margin-top: 2rem;
}

.jurisdiction-item-slider {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.jurisdiction-item-slider:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.jurisdiction-item-slider h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.jurisdiction-item-slider p {
    color: var(--text-gray-light);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.contact-form-container {
    max-width: 700px;
    width: 100%;
    margin-top: 1rem;
}

.contact-slide-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group-slider {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-slider.full-width {
    grid-column: 1 / -1;
}

.form-group-slider label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group-slider input,
.form-group-slider textarea {
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group-slider input:focus,
.form-group-slider textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-group-slider input::placeholder,
.form-group-slider textarea::placeholder {
    color: var(--text-gray-light);
}

.form-group-slider textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-slide-form .btn-primary-subtle {
    margin-top: 0.5rem;
    width: 100%;
    max-width: 300px;
    align-self: center;
}

/* Practice-area subpage: form block and light-theme form (About-style content) */
.about-section-form {
    background: #ffffff;
}

.about-section-form .about-content-wrapper {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-light .form-group-slider label {
    color: #333;
}

.contact-form-light .form-group-slider input,
.contact-form-light .form-group-slider textarea {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #1a1a1a;
}

.contact-form-light .form-group-slider input:focus,
.contact-form-light .form-group-slider textarea:focus {
    outline: none;
    border-color: #2a2a2a;
    background-color: #fafafa;
}

.contact-form-light .form-group-slider input::placeholder,
.contact-form-light .form-group-slider textarea::placeholder {
    color: #888;
}

.contact-form-light .btn-primary-subtle {
    background: #2a2a2a;
    color: #fff;
    border: 1px solid #2a2a2a;
}

.contact-form-light .btn-primary-subtle:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

/* Contact Slide Indicators */
.contact-slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.contact-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.contact-indicator.active {
    background: #ffffff;
    width: 30px;
    border-radius: 5px;
}

.contact-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Tooltip for contact indicators */
.contact-indicator::before {
    content: attr(data-section);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-indicator::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-2px);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.contact-indicator:hover::before,
.contact-indicator:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-12px);
}

.contact-indicator:hover::after {
    transform: translateX(-50%) translateY(-2px);
}

/* Practice Areas Slider Section */
.practice-areas-slider-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: var(--nav-height);
}

.practice-areas-background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    will-change: opacity;
    transform: translateZ(0);
}

.practice-areas-background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


.practice-areas-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.practice-areas-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.practice-areas-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.practice-areas-slide.active {
    opacity: 1;
    visibility: visible;
}

.practice-areas-slide-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 40px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    max-height: calc(100vh - var(--nav-height) - 80px);
    overflow-y: auto;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.practice-areas-slide-content::-webkit-scrollbar {
    width: 6px;
}

.practice-areas-slide-content::-webkit-scrollbar-track {
    background: transparent;
}

.practice-areas-slide-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.practice-areas-slide-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.practice-areas-slide-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.practice-areas-slide-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray-light);
    font-weight: 400;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.practice-areas-grid-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    width: 100%;
    margin-top: 1rem;
}

.practice-area-card-slider {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    color: inherit;
}

.practice-area-card-slider:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.practice-area-card-slider h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.practice-area-card-slider p {
    color: var(--text-gray-light);
    line-height: 1.9;
    font-size: 1.05rem;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.read-more-btn-card {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
}

.read-more-btn-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Practice Areas Slide Indicators */
.practice-areas-slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.practice-areas-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.practice-areas-indicator.active {
    background: #ffffff;
    width: 30px;
    border-radius: 5px;
}

.practice-areas-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Tooltip for practice areas indicators */
.practice-areas-indicator::before {
    content: attr(data-section);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.practice-areas-indicator::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-2px);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.practice-areas-indicator:hover::before,
.practice-areas-indicator:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-12px);
}

.practice-areas-indicator:hover::after {
    transform: translateX(-50%) translateY(-2px);
}

/* About Page Slider Section */
.about-slider-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: var(--nav-height);
}

.about-background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    will-change: opacity;
    transform: translateZ(0);
}

.about-background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


.about-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.about-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.about-slide.active {
    opacity: 1;
    visibility: visible;
}

.about-slide-content {
    max-width: 1000px;
    width: 100%;
    padding: 0 40px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-height: calc(100vh - var(--nav-height) - 80px);
    overflow-y: auto;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.about-slide-content::-webkit-scrollbar {
    width: 6px;
}

.about-slide-content::-webkit-scrollbar-track {
    background: transparent;
}

.about-slide-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.about-slide-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.about-slide-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.about-slide-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray-light);
    font-weight: 400;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.about-slide-text {
    max-width: 800px;
    text-align: left;
    margin-top: 1rem;
}

.about-slide-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-gray-light);
    margin-bottom: 1.5rem;
}

.qualifications-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    width: 100%;
    margin-top: 2rem;
}

.qualification-item-compact {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.qualification-item-compact:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.qualification-item-compact h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.qualification-item-compact p {
    color: var(--text-gray-light);
    font-size: 0.95rem;
    margin: 0;
}

.courts-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    width: 100%;
    margin-top: 2rem;
}

.court-item-compact {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.court-item-compact:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.court-item-compact h4 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.court-item-compact p {
    color: var(--text-gray-light);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.affiliations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 700px;
    width: 100%;
    margin-top: 2rem;
}

.affiliation-item {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.affiliation-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.affiliation-item h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.affiliation-item p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.affiliation-item span {
    color: var(--text-gray-light);
    font-size: 0.95rem;
}

/* About Slide Indicators */
.about-slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.about-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.about-indicator.active {
    background: #ffffff;
    width: 30px;
    border-radius: 5px;
}

.about-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Tooltip for indicators */
.about-indicator::before {
    content: attr(data-section);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-indicator::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-2px);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.about-indicator:hover::before,
.about-indicator:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-12px);
}

.about-indicator:hover::after {
    transform: translateX(-50%) translateY(-2px);
}

/* Practice Area Individual Pages */
.practice-area-slider-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: var(--nav-height);
}

.practice-area-background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    will-change: opacity;
    transform: translateZ(0);
}

.practice-area-background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.practice-area-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.practice-area-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.practice-area-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.practice-area-slide.active {
    opacity: 1;
    visibility: visible;
}

.practice-area-slide-content {
    max-width: 1000px;
    width: 100%;
    padding: 0 40px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-height: calc(100vh - var(--nav-height) - 80px);
    overflow-y: auto;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.practice-area-slide-content::-webkit-scrollbar {
    width: 6px;
}

.practice-area-slide-content::-webkit-scrollbar-track {
    background: transparent;
}

.practice-area-slide-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.practice-area-slide-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.practice-area-slide-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.practice-area-slide-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray-light);
    font-weight: 400;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.practice-area-description {
    max-width: 900px;
    text-align: left;
    margin-top: 1rem;
}

.practice-area-description > p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-gray-light);
    margin-bottom: 2rem;
}

.practice-area-details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 2rem;
    text-align: left;
}

.practice-area-details h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.practice-area-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.practice-area-details li {
    color: var(--text-gray-light);
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.practice-area-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-light);
    font-size: 1.5rem;
    line-height: 1.2;
}

/* Practice Area Slide Indicators */
.practice-area-slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.practice-area-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.practice-area-indicator.active {
    background: #ffffff;
    width: 30px;
    border-radius: 5px;
}

.practice-area-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Tooltip for practice area indicators */
.practice-area-indicator::before {
    content: attr(data-section);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.practice-area-indicator::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-2px);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.practice-area-indicator:hover::before,
.practice-area-indicator:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-12px);
}

.practice-area-indicator:hover::after {
    transform: translateX(-50%) translateY(-2px);
}

/* Page Hero (for other pages) */
.page-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    padding: 140px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

/* Textured background for Practice Areas page */
body.practice-areas-page .page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.03) 1px,
            rgba(255, 255, 255, 0.03) 2px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.03) 1px,
            rgba(255, 255, 255, 0.03) 2px
        ),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(255, 255, 255, 0.02) 20px,
            rgba(255, 255, 255, 0.02) 21px
        ),
        radial-gradient(
            circle at 20% 30%,
            rgba(255, 255, 255, 0.04) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(255, 255, 255, 0.04) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 50% 50%,
            rgba(255, 255, 255, 0.02) 0%,
            transparent 60%
        );
    background-size: 
        100% 100%,
        100% 100%,
        100% 100%,
        600px 600px,
        600px 600px,
        1000px 1000px;
    pointer-events: none;
    opacity: 1;
    z-index: 0;
}

body.practice-areas-page .content-section.about-content-section,
body.practice-areas-page .practice-areas-content-section,
body.practice-area-page .content-section.about-content-section,
body.practice-area-page .practice-area-inner-section,
body.contact-page .content-section.about-content-section,
body.contact-page .contact-page-content-section {
    position: relative;
    z-index: 2;
    background: #ffffff;
}

body.practice-areas-page .content-section::before,
body.practice-area-page .content-section::before,
body.contact-page .content-section::before {
    display: none !important;
}

body.practice-areas-page .content-section,
body.practice-area-page .content-section,
body.contact-page .content-section {
    position: relative;
}

body.practice-areas-page .content-section::before,
body.practice-area-page .content-section::before,
body.contact-page .content-section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.03) 1px,
            rgba(255, 255, 255, 0.03) 2px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.03) 1px,
            rgba(255, 255, 255, 0.03) 2px
        ),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(255, 255, 255, 0.02) 20px,
            rgba(255, 255, 255, 0.02) 21px
        ),
        radial-gradient(
            circle at 20% 30%,
            rgba(255, 255, 255, 0.04) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(255, 255, 255, 0.04) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 50% 50%,
            rgba(255, 255, 255, 0.02) 0%,
            transparent 60%
        );
    background-size: 
        100% 100%,
        100% 100%,
        100% 100%,
        600px 600px,
        600px 600px,
        1000px 1000px;
    pointer-events: none;
    opacity: 1;
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-hero-content p {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
    min-height: 60vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
}

body.about-page .content-section {
    background: #F8F7F4;
}

/* Update section titles and text colors for about page */
/* Section title styles are now in main .section-title rule above */

/* About page specific styles are now handled in the main card styles above */

.about-content,
.contact-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* About Page Hero Section with Video Background */
.about-hero-section {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

.about-hero-background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    will-change: opacity;
    transform: translateZ(0);
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 0 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.about-hero-title {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.about-title-line-1 {
    display: block;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.about-hero-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 900px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-align: center;
}

.about-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Quick Credentials Strip */
.quick-credentials-strip {
    background: #2a2a2a;
    padding: 2.5rem 0;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.quick-credentials-strip.fade-in-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.credential-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.credential-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.credential-value {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.4;
}

/* About Content Section */
/* Stats Section */
.about-stats-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 6rem 0;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.about-stats-section.fade-in-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.about-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.about-stat-item {
    text-align: center;
    color: #ffffff;
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.3s ease, background 0.3s ease;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.about-content-section {
    padding: 0;
    background: #ffffff;
    position: relative;
    z-index: 2;
    min-height: auto;
}

.about-content-block {
    margin-bottom: 0;
    padding: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    position: relative;
    background: #ffffff;
}

.about-content-block.fade-in-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.about-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    width: 100%;
}

/* Professional Affiliations – aligned with other sections */
.about-section-affiliations {
    background: #f8f8f8;
}

.about-affiliations-body {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.about-section-affiliations .about-content-text {
    max-width: 100%;
}

.about-section-affiliations .about-section-header {
    margin-bottom: 2.5rem;
}

/* Civil / practice area intro block – slightly larger text */
.practice-area-inner-section .about-content-block:first-child .about-content-text p,
.practice-area-inner-section .about-content-block:first-child .about-affiliations-body .about-content-text p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #333;
}

.practice-area-inner-section .about-content-block:first-child .about-section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.practice-area-inner-section .about-content-block:first-child .about-section-header .about-content-title,
.practice-area-inner-section .about-content-block:first-child .about-intro-line {
    text-align: center;
}

.practice-area-inner-section .about-content-block:first-child .about-section-header .about-content-title {
    border-bottom: none;
    padding-bottom: 0.5rem;
}

.practice-area-inner-section .about-content-block:first-child .about-section-header .about-section-label {
    text-align: center;
    display: block;
}

.practice-area-inner-section .about-content-block:first-child .about-affiliations-body {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Practice area inner section – single column, spacing breaks (no lines), content breathes */
section.practice-area-inner-section {
    padding: 4rem 0 5rem 0;
    background: #fff;
}

/* Sticky side nav (desktop only) – left, small vertical menu */
.practice-area-layout {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.practice-area-sidenav {
    display: none;
}

.practice-area-main {
    width: 100%;
}

@media (min-width: 1025px) {
    .practice-area-layout {
        display: flex;
        gap: 3rem;
        padding: 0 2rem;
        align-items: flex-start;
    }

    .practice-area-sidenav {
        display: block;
        flex-shrink: 0;
        width: 200px;
        position: sticky;
        top: 6rem;
        padding-top: 0.5rem;
    }

    .practice-area-sidenav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .practice-area-sidenav li {
        margin-bottom: 0.5rem;
    }

    .practice-area-sidenav a {
        display: block;
        font-size: 0.875rem;
        color: #555;
        text-decoration: none;
        padding: 0.35rem 0;
        border-left: 2px solid transparent;
        padding-left: 0.75rem;
        margin-left: 0;
    }

    .practice-area-sidenav a:hover,
    .practice-area-sidenav a.is-active {
        color: #1a1a1a;
        border-left-color: #1a1a1a;
    }

    .practice-area-main {
        flex: 1;
        min-width: 0;
    }
}

.practice-area-inner-section .about-content-block {
    margin-bottom: 0;
    padding: 4rem 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
}

.practice-area-inner-section .about-content-block.about-section-two-col,
.practice-area-inner-section .about-content-block.about-section-affiliations {
    background: transparent;
}

.practice-area-inner-section .about-content-block:first-child {
    padding-top: 2rem;
    box-shadow: none;
}

.practice-area-inner-section .about-content-block:last-of-type {
    margin-bottom: 0;
    padding-bottom: 2rem;
}

.practice-area-inner-section .about-section-affiliations .about-content-wrapper,
.practice-area-inner-section .about-section-two-col .about-content-wrapper {
    padding: 0;
    max-width: 720px;
    margin-left: 0;
    margin-right: auto;
}

.practice-area-inner-section .about-content-block:first-child .about-content-wrapper {
    padding: 0;
}

.practice-area-inner-section .about-section-form .about-content-wrapper {
    padding: 3rem 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: transparent;
    max-width: 720px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.practice-area-inner-section .about-section-form .about-section-header {
    text-align: left;
}

.practice-area-inner-section .contact-slide-form .btn-primary-subtle {
    align-self: flex-start;
}

.practice-area-inner-section .about-section-header {
    text-align: left;
    margin-bottom: 1.25rem;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

.practice-area-inner-section .about-section-header .about-content-title {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    padding-bottom: 0;
    border-bottom: none;
}

.practice-area-inner-section .about-section-header .about-content-title::after {
    display: none;
}

.practice-area-inner-section .about-section-header .about-intro-line {
    text-align: left;
    font-size: 1.05rem;
    color: #555;
    margin-top: 0.5rem;
}

.practice-area-inner-section .about-content-text {
    max-width: 100%;
}

.practice-area-inner-section .about-content-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
}

.practice-area-inner-section .about-content-text p:last-child {
    margin-bottom: 0;
}

.practice-area-inner-section .about-affiliations-body .about-content-text p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Practice area bullet lists – standard dots, clean alignment */
.practice-area-list {
    list-style: disc;
    margin: 0 0 1.5rem 0;
    padding-left: 1.5rem;
    max-width: 100%;
}

.practice-area-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #2a2a2a;
}

.practice-area-list li::before {
    display: none;
}

body.practice-area-page .practice-area-list li {
    color: #2a2a2a;
}

/* "Our services include:" label above practice area lists */
.practice-area-services-intro {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2a2a2a;
    margin: 1.5rem 0 0.75rem 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-left: 1rem;
    border-left: 3px solid #2a2a2a;
    line-height: 1.4;
}

/* Closing paragraph after a practice area list */
.practice-area-outro {
    margin-top: 1.5rem !important;
    margin-bottom: 0;
    padding: 1rem 1.25rem;
    background: rgba(42, 42, 42, 0.04);
    border-radius: 8px;
    border-left: 3px solid #2a2a2a;
    font-size: 1rem;
    line-height: 1.75;
}

/* Our Commitment block – sober, no colours */
.practice-area-commitment {
    background: transparent;
    color: inherit;
}

.practice-area-commitment .about-content-wrapper {
    padding: 2rem 0;
}

.practice-area-commitment .about-section-label {
    color: #2a2a2a;
    border-bottom-color: rgba(42, 42, 42, 0.2);
}

.practice-area-commitment .about-content-title {
    font-size: 1.5rem;
    color: #1a1a1a;
}

.practice-area-commitment .about-content-title::after {
    display: none;
}

.practice-area-commitment .about-content-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 720px;
    margin-left: 0;
    margin-right: auto;
    color: #333;
}

/* Subtle CTA section – after all content, light grey, one button */
.practice-area-cta {
    padding: 3rem 0;
    margin-top: 2rem;
    background: #f0f0f0;
    text-align: center;
}

.practice-area-cta .practice-area-cta-inner {
    max-width: 520px;
    margin: 0 auto;
}

.practice-area-cta .practice-area-cta-text {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.practice-area-cta .practice-area-cta-btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    transition: none;
}

.practice-area-cta .practice-area-cta-btn:hover {
    background: #f5f5f5;
    border-color: #999;
}

/* CTA block: use its own padding, not the section block padding */
.practice-area-inner-section .about-content-block.practice-area-cta {
    padding: 0;
}

/* Anchor targets: avoid navbar overlap when scrolling from sidenav (all practice area pages) */
.practice-area-inner-section .about-content-block[id] {
    scroll-margin-top: 6rem;
}

/* Section Label */
.about-section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2a2a2a;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2a2a2a;
}

/* Two Column Section */
.about-section-two-col {
    background: #f8f8f8;
}

.about-two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-col-content {
    padding-right: 2rem;
}

.about-col-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Cards Section */
.about-section-cards {
    background: #ffffff;
}

.about-section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.about-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #2a2a2a;
}

.about-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: #f8f8f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a2a2a;
    transition: all 0.3s ease;
}

.about-card:hover .about-card-icon {
    background: #2a2a2a;
    color: #ffffff;
}

.about-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.about-card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
}

/* Practice Areas page – cards styled like About; 2 columns on desktop */
.practice-areas-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Sober cards: soft border only, no icons, no colours, no hover animations */
.practice-area-card-light {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 2.5rem;
    text-align: left;
    position: relative;
}

.practice-area-card-light::before {
    display: none;
}

.practice-area-card-light .about-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    text-align: left;
}

.practice-area-card-light .about-card-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #4a4a4a;
    margin-bottom: 1rem;
}

.practice-area-card-light .view-details-link {
    font-size: 0.9rem;
    color: #555;
    display: inline-block;
    margin-top: 0.25rem;
}

/* Practice List Section */
.about-section-list {
    background: #e8eae8;
}

.about-practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-practice-item {
    display: flex;
    gap: 1.5rem;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-practice-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.12);
}

.practice-item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.about-practice-item:hover .practice-item-icon {
    background: #2a2a2a;
    color: #ffffff;
}

.practice-item-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.practice-item-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}

.about-locations {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-locations p {
    font-size: 1.1rem;
    color: #2a2a2a;
    margin: 0;
}

/* Highlight Section */
.about-section-highlight {
    background: #ffffff;
}

.about-highlight-box {
    background: linear-gradient(135deg, #2d2d2d 0%, #1f1f1f 100%);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.about-highlight-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.about-highlight-box .about-section-label {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.about-highlight-box .about-content-title {
    color: #ffffff;
}

.about-highlight-box .about-intro-line {
    color: #ffffff;
}

.about-highlight-box .about-intro-line strong {
    color: #ffffff;
    font-weight: 700;
}

.about-highlight-box .about-content-text {
    color: #ffffff;
}

.about-highlight-box .about-content-text p {
    color: #f5f5f5;
    line-height: 1.8;
}

.about-highlight-box .about-content-text strong {
    color: #ffffff;
    font-weight: 700;
}

.about-highlight-box .highlight-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}



/* Section Transitions */
.about-content-block {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


.about-intro-line {
    font-size: 1.15rem;
    font-weight: 500;
    color: #4a4a4a;
    margin-bottom: 2rem;
    line-height: 1.7;
    padding-left: 0;
}

.about-section-header .about-intro-line {
    text-align: center;
}

.about-highlight-box .about-intro-line {
    text-align: center;
}

.about-intro-line strong {
    font-weight: 600;
    color: #1a1a1a;
}

.about-content-text {
    text-align: left;
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.about-content-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #4a4a4a;
    margin-bottom: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.1px;
    max-width: 100%;
}

.about-content-text p:last-child {
    margin-bottom: 0;
}

.about-content-text strong {
    font-weight: 700;
    color: #2a2a2a;
}

.practice-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    max-width: 65ch;
}

.practice-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.practice-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2a2a2a;
    font-weight: 600;
}

.practice-list li strong {
    font-weight: 700;
    color: #2a2a2a;
}


/* Introduction Card */
.about-intro-card {
    max-width: 900px;
    margin: 0 auto 5rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-light);
    text-align: center;
    opacity: 0.95;
}

/* Highlights Grid - Clean Single Column Layout */
.about-highlights-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-card {
    padding: 2rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(42, 42, 42, 0.1);
    text-align: left;
    transition: none;
    position: relative;
}

.highlight-card:last-child {
    border-bottom: none;
}

.highlight-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #2a2a2a;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.highlight-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin: 0;
}

/* About Section */
.about-section {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(42, 42, 42, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.section-title {
    font-size: 1.5rem;
    color: #2a2a2a;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: left;
    position: relative;
    padding-bottom: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: #2a2a2a;
}

.section-intro {
    text-align: left;
    font-size: 0.95rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.qualifications-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
}

.qualification-item {
    text-align: left;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(42, 42, 42, 0.08);
    transition: none;
    position: relative;
}

.qualification-item:last-child {
    border-bottom: none;
}

.qualification-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #2a2a2a;
    margin-bottom: 0.4rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.qualification-item p {
    font-family: 'Inter', sans-serif;
    color: #4a4a4a;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.courts-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
}

.court-item {
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(42, 42, 42, 0.08);
    transition: none;
    text-align: left;
    position: relative;
}

.court-item:last-child {
    border-bottom: none;
}

.court-item h4 {
    font-family: 'Inter', sans-serif;
    color: #2a2a2a;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.court-item p {
    font-family: 'Inter', sans-serif;
    color: #4a4a4a;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.court-item ul {
    list-style: none;
    padding-left: 0;
}

.court-item li {
    color: var(--text-gray);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.court-item li:last-child {
    border-bottom: none;
}

/* Affiliation Card */
.affiliation-card {
    max-width: 100%;
    margin: 0;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: block;
    transition: none;
}

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

.affiliation-content h3 {
    font-family: 'Inter', sans-serif;
    color: #2a2a2a;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.affiliation-content p {
    font-family: 'Inter', sans-serif;
    color: #4a4a4a;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Practice Areas Page */
.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.practice-area-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.practice-area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transition: left 0.4s ease;
}

.practice-area-card:hover::before {
    left: 0;
}

.practice-area-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.practice-area-card h2 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.practice-area-card p {
    color: var(--text-gray-light);
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

.practice-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.practice-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.practice-cta h3 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.practice-cta p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Blog Page */
.blog-page .about-hero-section {
    min-height: 40vh;
}

/* Blog single post hero (title in center) */
.blog-post-hero-section .about-hero-content {
    text-align: center;
}

.blog-post-hero-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
}

.blog-post-hero-title .about-title-line-1 {
    max-width: 90%;
    margin: 0 auto;
    font-size: 2rem;
}

.blog-content-section {
    padding: 4rem 0 5rem;
    background: #fff;
}

.blog-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.blog-card-image-link {
    display: block;
    line-height: 0;
    text-decoration: none;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f0f0f0;
}

.blog-card-body {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.6rem 0;
    line-height: 1.35;
}

.blog-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #333;
    text-decoration: underline;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #4a4a4a;
    margin: 0 0 0.75rem 0;
    flex: 1;
}

.blog-card-date {
    font-size: 0.8125rem;
    color: #777;
    margin-top: auto;
}

.blog-loading,
.blog-empty {
    color: #666;
    font-size: 1rem;
}

.blog-backend-note {
    margin-top: 2rem;
    padding: 1rem;
    font-size: 0.85rem;
    color: #666;
    background: #f5f5f5;
    border-radius: 6px;
}

.blog-backend-note code {
    background: #e8e8e8;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

/* Blog single post */
.blog-post-content-section {
    padding: 4rem 0 5rem;
    background: #fff;
}

.blog-post-layout {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-post-article .blog-post-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 0.5rem;
}

.blog-post-article .blog-post-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    color: #1a1a1a;
}

.blog-post-article .blog-post-date {
    display: block;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.blog-post-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
}

.blog-post-body p {
    margin-bottom: 1rem;
}

.blog-back-link {
    margin-top: 2rem;
}

.blog-back-link a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
}

.blog-back-link a:hover {
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .blog-layout,
    .blog-post-layout {
        padding: 0 1.25rem;
    }
    .blog-card-body {
        padding: 1.25rem 1.5rem;
    }
}

/* Contact Page */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.office-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transition: left 0.4s ease;
}

.office-card:hover::before {
    left: 0;
}

.office-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.office-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.office-header h2 {
    font-size: 1.8rem;
    color: var(--text-light);
}

.office-address {
    color: var(--text-gray-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.office-contact p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.office-contact a {
    display: block;
    color: var(--text-gray-light);
    text-decoration: none;
    margin: 0.5rem 0;
    transition: color 0.3s ease;
}

.office-contact a:hover {
    color: var(--text-light);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-box {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.info-box h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-box p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Contact page – light-theme offices and info (matches About-style content) */
body.contact-page .office-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.contact-page .office-card::before {
    display: none;
}

body.contact-page .office-card:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

body.contact-page .office-header {
    border-bottom-color: #e8e8e8;
}

body.contact-page .office-header h2 {
    color: #1a1a1a;
}

body.contact-page .office-address,
body.contact-page .office-address p {
    color: #333;
}

body.contact-page .office-contact p {
    color: #333;
}

body.contact-page .office-contact a {
    color: #2a2a2a;
}

body.contact-page .office-contact a:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

body.contact-page .info-box {
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-left: 3px solid #2a2a2a;
}

body.contact-page .info-box:hover {
    background: #f0f0f0;
    border-color: #ddd;
    transform: translateX(4px);
}

body.contact-page .info-box h3 {
    color: #1a1a1a;
}

body.contact-page .info-box p {
    color: #333;
}

/* Experience Page */
.experience-content {
    max-width: 1000px;
    margin: 0 auto;
}

.experience-main {
    margin-bottom: 4rem;
}

.experience-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.courts-experience {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.court-experience-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.court-experience-item h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.court-experience-item p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.court-experience-item ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.court-experience-item li {
    color: var(--text-gray);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.court-experience-item li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-gray-light);
}

.professional-associations {
    margin-top: 4rem;
}

.professional-associations h2,
.practice-locations h2,
.jurisdiction-info h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.association-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.association-item h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.association-item p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.association-desc {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.practice-locations {
    margin-top: 4rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.location-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.location-item h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.location-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

.jurisdiction-info {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.jurisdiction-info p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Insights Page */
.insights-content {
    max-width: 1000px;
    margin: 0 auto;
}

.insights-intro {
    margin-bottom: 3rem;
}

.insights-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.insights-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.insight-category {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.insight-category h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.insight-category p {
    color: var(--text-gray);
    line-height: 1.8;
}

.publications-note {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.publications-note h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.publications-note p {
    color: var(--text-gray);
    line-height: 1.8;
}

.insights-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insights-cta p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Resources Page */
.resources-content {
    max-width: 1000px;
    margin: 0 auto;
}

.resources-intro {
    margin-bottom: 3rem;
}

.resources-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.resources-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.resource-category {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.resource-category h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.resource-category p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.resource-category ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.resource-category li {
    color: var(--text-gray);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.resource-category li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-gray-light);
}

.resources-note {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.resources-note h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.resources-note p {
    color: var(--text-gray);
    line-height: 1.8;
}

.resources-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.resources-cta p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 10;
}

/* Professional footer – About / Practice Areas / Practice-area subpage / Contact */
body.about-page .footer,
body.practice-areas-page .footer,
body.practice-area-page .footer,
body.contact-page .footer,
body.blog-page .footer {
    background-color: #1e1e1e;
    border-top: 3px solid rgba(255, 255, 255, 0.12);
    margin-top: 0;
    position: relative;
    z-index: 100;
    display: block !important;
    visibility: visible !important;
}

body.about-page .footer .footer-content,
body.practice-areas-page .footer .footer-content,
body.practice-area-page .footer .footer-content,
body.contact-page .footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 0;
}

body.about-page .footer .footer-section,
body.practice-areas-page .footer .footer-section,
body.practice-area-page .footer .footer-section,
body.contact-page .footer .footer-section,
body.blog-page .footer .footer-section {
    padding-right: 2rem;
}

body.about-page .footer .footer-section:not(:last-child),
body.practice-areas-page .footer .footer-section:not(:last-child),
body.practice-area-page .footer .footer-section:not(:last-child),
body.contact-page .footer .footer-section:not(:last-child),
body.blog-page .footer .footer-section:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

body.about-page .footer .footer-section h4,
body.practice-areas-page .footer .footer-section h4,
body.practice-area-page .footer .footer-section h4,
body.contact-page .footer .footer-section h4 {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.about-page .footer .footer-section p,
body.practice-areas-page .footer .footer-section p,
body.practice-area-page .footer .footer-section p,
body.contact-page .footer .footer-section p,
body.blog-page .footer .footer-section p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0.4rem 0 0;
}

body.about-page .footer .footer-section a,
body.practice-areas-page .footer .footer-section a,
body.practice-area-page .footer .footer-section a,
body.contact-page .footer .footer-section a,
body.blog-page .footer .footer-section a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9375rem;
    line-height: 1.65;
    text-decoration: none;
    margin: 0.5rem 0 0;
    display: inline-block;
    transition: color 0.2s ease;
}

body.about-page .footer .footer-section a:hover,
body.practice-areas-page .footer .footer-section a:hover,
body.practice-area-page .footer .footer-section a:hover,
body.contact-page .footer .footer-section a:hover,
body.blog-page .footer .footer-section a:hover {
    color: #ffffff;
}

body.about-page .footer .footer-bottom,
body.practice-areas-page .footer .footer-bottom,
body.practice-area-page .footer .footer-bottom,
body.contact-page .footer .footer-bottom,
body.blog-page .footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    padding: 1rem 2rem 1.25rem;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
}

body.about-page .footer .footer-bottom p,
body.practice-areas-page .footer .footer-bottom p,
body.practice-area-page .footer .footer-bottom p,
body.contact-page .footer .footer-bottom p {
    color: inherit;
    margin: 0;
    font-size: inherit;
}

body.about-page .footer .footer-credit,
body.practice-areas-page .footer .footer-credit,
body.practice-area-page .footer .footer-credit,
body.contact-page .footer .footer-credit,
body.blog-page .footer .footer-credit {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

body.about-page .footer .footer-credit a,
body.practice-areas-page .footer .footer-credit a,
body.practice-area-page .footer .footer-credit a,
body.contact-page .footer .footer-credit a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

body.about-page .footer .footer-credit a:hover,
body.practice-areas-page .footer .footer-credit a:hover,
body.practice-area-page .footer .footer-credit a:hover,
body.contact-page .footer .footer-credit a:hover,
body.blog-page .footer .footer-credit a:hover {
    color: #ffffff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-gray);
    margin: 0.5rem 0;
}

.footer-section a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin: 0.5rem 0;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-gray);
}

.footer-credit {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.75rem;
}

.footer-credit a {
    color: inherit;
    text-decoration: none;
    opacity: 0.9;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* About Page Tablet */
    .about-title-line-1 {
        font-size: 3rem;
    }
    
    .about-hero-description {
        font-size: 1.05rem;
    }
    
    .about-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .about-content-wrapper {
        padding: 4rem 2rem;
    }
    
    .about-two-col-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-col-content {
        padding-right: 0;
    }
    
    .about-cards-grid,
    .practice-areas-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content-title {
        font-size: 2rem;
    }
    
    .about-highlight-box {
        padding: 3rem 2rem;
    }
    
    .about-intro-line {
        font-size: 1.1rem;
    }
    
    .about-content-text p {
        font-size: 1.05rem;
        line-height: 1.75;
    }
    
    .simple-hero-title .title-line-1 {
        font-size: 2.75rem;
    }
    
    .simple-hero-title .title-line-2 {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }
    
    .simple-hero-title .title-line-3 {
        font-size: 1.1rem;
    }
    
    .simple-hero-description {
        font-size: 1.1rem;
    }
    
    .simple-page-title {
        font-size: 2.5rem;
    }
    
    .simple-page-subtitle {
        font-size: 1rem;
    }
    
    .about-content-grid,
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .practice-areas-content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .practice-area-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-slide-title {
        font-size: 2.75rem;
    }
    
    .hero-slide-subtitle {
        font-size: 1.05rem;
    }
    
    .practice-areas-grid-compact {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title-main {
        font-size: 2.75rem;
    }
    
    .hero-subtitle-main {
        font-size: 1.05rem;
    }
    
    .practice-areas-compact {
        gap: 0 1.5rem;
    }
    
    .practice-item-inline {
        font-size: 0.9rem;
    }
    
    .credential-strip {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.6rem 0;
    }
    
    .credential-strip span {
        font-size: 0.8rem;
    }
    
    .live-stats {
        gap: 2rem;
    }
    
    .stat-value {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    body.homepage,
    body.simple-page {
        overflow: hidden;
        height: 100vh;
    }
    
    .simple-hero-section,
    .simple-page-section {
        height: 100vh;
    }
    
    .simple-page-content {
        padding: 0 20px;
        gap: 1rem;
        max-height: calc(100vh - var(--nav-height));
    }
    
    .simple-page-title {
        font-size: 2rem;
    }
    
    .simple-page-subtitle {
        font-size: 0.95rem;
    }
    
    .about-content-grid,
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-section-item,
    .contact-office-item,
    .contact-jurisdiction-item {
        padding: 1rem;
    }
    
    .about-section-item h2,
    .contact-office-item h2,
    .contact-jurisdiction-item h2 {
        font-size: 1.1rem;
    }
    
    .about-section-item p,
    .contact-office-item p,
    .contact-jurisdiction-item p {
        font-size: 0.85rem;
    }
    
    .practice-areas-content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .practice-area-item {
        padding: 1rem;
    }
    
    .practice-area-item h2 {
        font-size: 1.1rem;
    }
    
    .practice-area-item p {
        font-size: 0.85rem;
    }
    
    .practice-area-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .practice-area-description-section,
    .practice-area-form-section {
        padding: 1rem;
    }
    
    .practice-area-description-section p {
        font-size: 0.9rem;
    }
    
    .practice-area-form-section h2 {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group-slider.full-width {
        grid-column: 1;
    }
    
    .simple-hero-content {
        padding: 0 20px;
        gap: 1.5rem;
    }
    
    .simple-hero-title .title-line-1 {
        font-size: 2rem;
    }
    
    .simple-hero-title .title-line-2 {
        font-size: 0.85rem;
        letter-spacing: 1px;
        margin-top: 0.5rem;
    }
    
    .simple-hero-title .title-line-3 {
        font-size: 0.95rem;
        margin-top: 0.5rem;
    }
    
    .simple-hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .simple-hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 1rem;
    }
    
    .simple-hero-buttons .btn-primary-subtle {
        width: 100%;
        min-width: auto;
    }
    
    .hero-slider-section {
        height: 100vh;
    }
    
    .hero-slide-content {
        padding: 0 20px 70px;
        gap: 1.5rem;
        max-height: calc(100vh - var(--nav-height) - 70px);
    }
    
    .hero-slide-title {
        font-size: 2rem;
    }
    
    .hero-slide-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-slide-features {
        gap: 1rem;
    }
    
    .feature-item {
        min-width: 120px;
        padding: 1rem 1.5rem;
    }
    
    .feature-item h3 {
        font-size: 1.2rem;
    }
    
    .practice-areas-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .practice-area-mini {
        font-size: 0.85rem;
        padding: 1rem 0.75rem;
        gap: 0.75rem;
    }

    .read-more-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .contact-preview {
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-item h3 {
        font-size: 1rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
    
    .live-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 70px;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .status-indicator {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .slide-indicators {
        bottom: 20px;
        gap: 10px;
        z-index: 10;
    }

    .indicator {
        width: 12px;
        height: 12px;
    }

    .indicator.active {
        width: 32px;
    }

    .about-slider-section {
        height: 100vh;
        padding-top: var(--nav-height);
    }

    .about-slide-content {
        padding: 0 20px 70px;
        gap: 1.5rem;
        max-height: calc(100vh - var(--nav-height) - 70px);
    }

    .about-slide-title {
        font-size: 2.5rem;
    }

    .about-slide-subtitle {
        font-size: 1rem;
    }

    .about-slide-text {
        text-align: center;
    }

    .about-slide-text p {
        font-size: 1rem;
    }

    .qualifications-grid-compact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .courts-grid-compact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .affiliations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-slide-indicators {
        bottom: 20px;
        gap: 10px;
        z-index: 10;
    }

    .about-indicator {
        width: 12px;
        height: 12px;
    }

    .about-indicator.active {
        width: 32px;
    }

    .contact-slider-section {
        height: 100vh;
        padding-top: var(--nav-height);
    }

    .contact-slide-content {
        padding: 0 20px 70px;
        gap: 1.5rem;
        max-height: calc(100vh - var(--nav-height) - 70px);
    }

    .contact-slide-title {
        font-size: 2.5rem;
    }

    .contact-slide-subtitle {
        font-size: 1rem;
    }

    .contact-office-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-jurisdiction-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-container {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group-slider.full-width {
        grid-column: 1;
    }

    .contact-slide-indicators {
        bottom: 20px;
        gap: 10px;
        z-index: 10;
    }

    .disclaimer-modal-content {
        padding: 1.5rem;
        max-height: 90vh;
    }

    .disclaimer-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .disclaimer-text {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .disclaimer-list {
        margin: 1rem 0;
        padding-left: 1.25rem;
    }

    .disclaimer-list li {
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }

    .disclaimer-agree-btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-indicator {
        width: 12px;
        height: 12px;
    }

    .contact-indicator.active {
        width: 32px;
    }

    .practice-areas-slider-section {
        height: 100vh;
        padding-top: var(--nav-height);
    }

    .practice-areas-slide-content {
        padding: 0 20px 70px;
        gap: 1.5rem;
        max-height: calc(100vh - var(--nav-height) - 70px);
    }

    .practice-areas-slide-title {
        font-size: 2.5rem;
    }

    .practice-areas-slide-subtitle {
        font-size: 1rem;
    }

    .practice-areas-grid-slider {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .practice-area-card-slider {
        padding: 1.5rem;
    }

    .practice-area-card-slider h3 {
        font-size: 1.3rem;
    }

    .practice-area-card-slider p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .read-more-btn-card {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .practice-areas-slide-indicators {
        bottom: 20px;
        gap: 10px;
        z-index: 10;
    }

    .practice-areas-indicator {
        width: 12px;
        height: 12px;
    }

    .practice-areas-indicator.active {
        width: 32px;
    }

    .practice-area-slider-section {
        height: 100vh;
        padding-top: var(--nav-height);
    }

    .practice-area-slide-content {
        padding: 0 20px 70px;
        gap: 1.5rem;
        max-height: calc(100vh - var(--nav-height) - 70px);
    }

    .practice-area-slide-title {
        font-size: 2.5rem;
    }

    .practice-area-slide-subtitle {
        font-size: 1rem;
    }

    .practice-area-description {
        text-align: center;
    }

    .practice-area-description > p {
        font-size: 1rem;
    }

    .practice-area-details {
        padding: 1.5rem;
    }

    .practice-area-details h3 {
        font-size: 1.3rem;
    }

    .practice-area-details li {
        font-size: 0.95rem;
    }

    .practice-area-slide-indicators {
        bottom: 20px;
        gap: 10px;
        z-index: 10;
    }

    .practice-area-indicator {
        width: 12px;
        height: 12px;
    }

    .practice-area-indicator.active {
        width: 32px;
    }
    
    .hero-single-viewport {
        min-height: 100vh;
        height: auto;
        padding-top: var(--nav-height);
        padding-bottom: 2rem;
    }
    
    .hero-content-wrapper {
        height: auto;
        min-height: calc(100vh - var(--nav-height));
        padding: 2rem 20px;
    }
    
    .hero-title-main {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle-main {
        font-size: 0.95rem;
    }
    
    .hero-main-content {
        margin-bottom: 1.5rem;
    }
    
    .recent-activity {
        margin-bottom: 1rem;
    }
    
    .activity-item {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .practice-areas-compact {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .practice-item-inline {
        font-size: 0.85rem;
    }
    
    .credential-strip {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }
    
    .credential-strip .separator {
        display: none;
    }
    
    .hero-cta-subtle {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary-subtle {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    /* Mobile Menu - Enhanced Design */
    .menu-toggle {
        display: flex;
        z-index: 10002;
        -webkit-tap-highlight-color: transparent;
    }

    /* Mobile nav drawer – Safari-friendly: webkit prefixes, touch behavior, viewport height */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        min-height: -webkit-fill-available;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(42, 42, 42, 0.98) 100%);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        text-align: center;
        padding: 1.5rem 0 2rem;
        border: none;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        transition: -webkit-transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 10001;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-menu.active {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
        pointer-events: none;
    }

    .nav-menu .nav-link {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
        transition: opacity 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), -webkit-transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        font-size: 1.35rem;
        padding: 0.5rem 1.25rem;
        margin: 0.2rem 0;
        position: relative;
        width: auto;
        display: inline-block;
        letter-spacing: 0.5px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-menu.active .nav-link {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    .nav-menu.active .nav-link:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active .nav-link:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-menu.active .nav-item-dropdown .nav-link {
        transition-delay: 0.3s;
    }

    .nav-menu.active .nav-link:nth-child(4) {
        transition-delay: 0.4s;
    }

    /* Mobile: Practice Areas / Legal Notices submenu accordion – tap to open/close */
    .nav-item-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: auto;
        max-width: 100%;
    }

    .nav-submenu {
        position: static;
        -webkit-transform: none;
        transform: none;
        margin: 0;
        padding: 0;
        min-width: auto;
        width: auto;
        max-width: 260px;
        background: transparent;
        border: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        border-top: none;
        -webkit-transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease, margin 0.25s ease, padding 0.25s ease;
        transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease, margin 0.25s ease, padding 0.25s ease;
    }

    .nav-item-dropdown.submenu-open .nav-submenu {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        margin: 0.25rem 0 0;
        padding: 0.25rem 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-submenu a {
        padding: 0.45rem 1.25rem;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.85);
    }

    .nav-submenu a:hover {
        color: var(--text-light);
        background: transparent;
    }

    /* Accordion chevron indicator on mobile (CSS-only) */
    .nav-item-dropdown > .nav-link {
        position: relative;
        padding-right: 1.5rem;
    }

    .nav-item-dropdown > .nav-link::before {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid rgba(255, 255, 255, 0.9);
        transition: transform 0.25s ease;
    }

    .nav-item-dropdown.submenu-open > .nav-link::before {
        transform: translateY(-50%) rotate(180deg);
    }

    .nav-menu .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0.25rem;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 60%;
        height: 2px;
        background: var(--text-light);
        transition: transform 0.3s ease;
    }

    .nav-menu .nav-link:hover::after,
    .nav-menu .nav-link.active::after {
        transform: translateX(-50%) scaleX(1);
    }

    .nav-menu .nav-link:hover {
        color: var(--text-light);
        transform: translateY(-3px) scale(1.05);
    }

    .nav-menu .nav-link.active {
        color: var(--text-light);
    }

    /* Short viewport: compact nav so all items fit or scroll comfortably */
    @media (max-height: 700px) {
        .nav-menu {
            padding: 1rem 0 1.5rem;
        }
        .nav-menu .nav-link {
            font-size: 1.15rem;
            padding: 0.4rem 1.25rem;
            margin: 0.15rem 0;
        }
        .nav-item-dropdown.submenu-open .nav-submenu {
            max-height: 280px;
            margin: 0.2rem 0 0;
            padding: 0.2rem 0 0;
        }
        .nav-submenu a {
            padding: 0.35rem 1.25rem;
            font-size: 0.875rem;
        }
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-box {
        min-width: 120px;
        padding: 1rem;
    }

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

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 100px 20px 50px;
        min-height: 250px;
    }

    .page-hero-content h1 {
        font-size: 2.5rem;
    }

    .page-hero-content p {
        font-size: 1rem;
    }

    .content-section {
        padding: 3rem 0 5rem 0;
    }

    /* About Page Responsive */
    .about-hero-content {
        padding: 0 30px;
    }
    
    .about-title-line-1 {
        font-size: 2.5rem;
    }
    
    .about-hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.8;
    }
    
    .about-hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-hero-buttons .btn-primary-subtle {
        width: 100%;
        max-width: 300px;
    }
    
    .about-stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    /* Content clear of fixed buttons: left quick links (~66px) + gap, right FAB (~75px), bottom (~90px) */
    .about-content-wrapper {
        padding: 3rem 4.5rem 5rem 5rem;
    }
    
    .about-two-col-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image-placeholder {
        height: 300px;
    }
    
    .about-cards-grid,
    .practice-areas-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .about-practice-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content-title {
        font-size: 1.75rem;
    }
    
    .about-highlight-box {
        padding: 2.5rem 1.5rem;
    }
    
    .about-section-header {
        margin-bottom: 2.5rem;
    }
    
    .quick-credentials-strip {
        padding: 2rem 0;
    }
    
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .credential-label {
        font-size: 0.8rem;
    }
    
    .credential-value {
        font-size: 0.95rem;
    }
    
    .about-content-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }
    
    .about-content-title::after {
        width: 80px;
        height: 3px;
    }
    
    .about-intro-line {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }
    
    .about-content-text {
        max-width: 100%;
    }
    
    .about-content-text p {
        font-size: 1.05rem;
        line-height: 1.75;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .practice-list {
        max-width: 100%;
    }
    
    .practice-list li {
        font-size: 1.05rem;
        line-height: 1.75;
    }
    
    /* Practice area inner section – mobile */
    section.practice-area-inner-section {
        padding: 2rem 0 3rem 0;
    }
    
    .practice-area-inner-section .about-content-block {
        padding: 2.5rem 0;
    }
    
    .practice-area-inner-section .about-section-affiliations .about-content-wrapper,
    .practice-area-inner-section .about-section-two-col .about-content-wrapper {
        padding: 0;
    }
    
    .practice-area-inner-section .about-content-block:first-child .about-content-wrapper {
        padding: 0;
    }
    
    .practice-area-layout {
        padding: 0 1.25rem;
    }
    
    .practice-area-inner-section .about-section-header .about-content-title {
        font-size: 1.35rem;
    }
    
    .practice-area-inner-section .about-section-form .about-content-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .practice-area-services-intro {
        font-size: 0.8rem;
        margin: 1.25rem 0 0.5rem 0;
    }
    
    .practice-area-outro {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
    
    .practice-area-list {
        padding-left: 1rem;
    }
    
    .practice-area-list li {
        font-size: 0.98rem;
        margin-bottom: 0.65rem;
    }
    
    .about-highlights-grid {
        margin-bottom: 3rem;
    }
    
    .highlight-card {
        padding: 1.5rem 0;
    }
    
    .highlight-card h3 {
        font-size: 1rem;
    }
    
    .about-section {
        margin-bottom: 3rem;
        padding-bottom: 3rem;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .section-intro {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .qualification-item {
        padding: 1.25rem 0;
    }
    
    .qualification-item h3 {
        font-size: 0.95rem;
    }
    
    .qualification-item p {
        font-size: 0.85rem;
    }
    
    .court-item {
        padding: 1.25rem 0;
    }
    
    .court-item h4 {
        font-size: 0.95rem;
    }
    
    .court-item p {
        font-size: 0.85rem;
    }
    
    .affiliation-card {
        padding: 1.25rem 0;
    }
    
    .affiliation-content h3 {
        font-size: 0.95rem;
    }
    
    .affiliation-content p {
        font-size: 0.85rem;
    }

    .offices-grid {
        grid-template-columns: 1fr;
    }

    .practice-areas-grid {
        grid-template-columns: 1fr;
    }

    .qualifications-grid {
        grid-template-columns: 1fr;
    }

    .courts-list {
        grid-template-columns: 1fr;
    }

    /* Professional footer – stack on small screens */
    body.about-page .footer .footer-content,
    body.practice-areas-page .footer .footer-content,
    body.practice-area-page .footer .footer-content,
    body.contact-page .footer .footer-content,
    body.blog-page .footer .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 1.5rem 2rem;
    }

    body.about-page .footer .footer-section,
    body.practice-areas-page .footer .footer-section,
    body.practice-area-page .footer .footer-section,
    body.contact-page .footer .footer-section,
    body.blog-page .footer .footer-section {
        padding-right: 0;
        padding-bottom: 2rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.about-page .footer .footer-section:last-child,
    body.practice-areas-page .footer .footer-section:last-child,
    body.practice-area-page .footer .footer-section:last-child,
    body.contact-page .footer .footer-section:last-child,
    body.blog-page .footer .footer-section:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }
}

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Tighter but still safe padding on very small screens (left clears quick links) */
    .about-content-wrapper {
        padding: 2.5rem 3.5rem 4.5rem 4rem;
    }

    .about-title-line-1 {
        font-size: 2rem;
    }

    .about-content-title {
        font-size: 1.5rem;
    }

    .office-card {
        padding: 1.5rem;
    }
}

/* Floating Contact Button – above Safari/iOS browser UI using safe area */
.floating-contact-btn {
    position: fixed;
    bottom: calc(30px + var(--safe-area-bottom));
    right: calc(30px + var(--safe-area-right));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.floating-contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.floating-contact-btn:active {
    transform: translateY(-1px);
}

/* Floating contact button on light pages – dark pill + white ring so it stays visible over footer */
body.about-page .floating-contact-btn,
body.practice-areas-page .floating-contact-btn,
body.practice-area-page .floating-contact-btn,
body.contact-page .floating-contact-btn {
    background-color: #2a2a2a;
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.5);
}

body.about-page .floating-contact-btn:hover,
body.practice-areas-page .floating-contact-btn:hover,
body.practice-area-page .floating-contact-btn:hover,
body.contact-page .floating-contact-btn:hover {
    background-color: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.95);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.6);
}

body.about-page .floating-contact-btn svg,
body.practice-areas-page .floating-contact-btn svg,
body.practice-area-page .floating-contact-btn svg,
body.contact-page .floating-contact-btn svg {
    color: #ffffff;
}

/* Disclaimer Modal */
.disclaimer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.disclaimer-modal.active {
    opacity: 1;
    visibility: visible;
}

.disclaimer-modal-content {
    background: rgba(42, 42, 42, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.disclaimer-modal.active .disclaimer-modal-content {
    transform: scale(1);
}

.disclaimer-title {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.disclaimer-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.disclaimer-text p {
    margin-bottom: 1rem;
}

.disclaimer-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.disclaimer-list li {
    margin-bottom: 0.75rem;
    color: var(--text-gray-light);
    line-height: 1.7;
}

.disclaimer-agree-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.disclaimer-agree-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.disclaimer-agree-btn:active {
    transform: translateY(0);
}

/* Hide website content when disclaimer is active (exclude page-loader so spinner stays visible) */
body.disclaimer-active {
    overflow: hidden;
}

body.disclaimer-active > *:not(.disclaimer-modal):not(.page-loader) {
    pointer-events: none;
    opacity: 0.3;
    filter: blur(2px);
}

/* Custom scrollbar for disclaimer modal */
.disclaimer-modal-content::-webkit-scrollbar {
    width: 8px;
}

.disclaimer-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.disclaimer-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.disclaimer-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Phone & WhatsApp quick links (replaces page navigation arrows) */
.phone-whatsapp-links {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 998;
}

.quick-link-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.quick-link-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    color: var(--text-light);
}

.quick-link-btn:active {
    transform: translateY(0);
}

.quick-link-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.quick-link-btn:hover svg {
    transform: scale(1.1);
}

.quick-link-whatsapp:hover {
    background-color: #25d366;
    border-color: #25d366;
    color: #fff;
}

.quick-link-whatsapp:hover svg {
    color: #fff;
}

/* Light pages: phone/WhatsApp use dark pill */
body.about-page .quick-link-btn,
body.practice-areas-page .quick-link-btn,
body.practice-area-page .quick-link-btn,
body.contact-page .quick-link-btn {
    background-color: #2a2a2a;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.about-page .quick-link-btn:hover,
body.practice-areas-page .quick-link-btn:hover,
body.practice-area-page .quick-link-btn:hover,
body.contact-page .quick-link-btn:hover {
    background-color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

body.about-page .quick-link-btn svg,
body.practice-areas-page .quick-link-btn svg,
body.practice-area-page .quick-link-btn svg,
body.contact-page .quick-link-btn svg {
    color: #ffffff;
}

body.about-page .quick-link-whatsapp:hover,
body.practice-areas-page .quick-link-whatsapp:hover,
body.practice-area-page .quick-link-whatsapp:hover,
body.contact-page .quick-link-whatsapp:hover {
    background-color: #25d366;
    border-color: #25d366;
    color: #fff;
}

/* Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.contact-modal.active {
    display: flex;
}

.contact-modal-content {
    background-color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.contact-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.contact-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.contact-modal-content h2 {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-modal-subtitle {
    color: var(--text-gray-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary-subtle {
    margin-top: 0.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .phone-whatsapp-links {
        bottom: 20px;
        left: 20px;
        gap: 0.5rem;
    }

    .quick-link-btn {
        width: 46px;
        height: 46px;
    }

    .quick-link-btn svg {
        width: 20px;
        height: 20px;
    }

    .floating-contact-btn {
        width: 52px;
        height: 52px;
        bottom: calc(20px + var(--safe-area-bottom));
        right: calc(20px + var(--safe-area-right));
    }

    .contact-modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .contact-modal-content h2 {
        font-size: 1.75rem;
    }
}

/* ========== Blog Page (supplementary) ========== */
.blog-content-section {
    padding: 4rem 0 5rem;
    background: #fff;
}

.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-grid {
    display: grid;
    gap: 2rem;
}

.blog-loading,
.blog-empty {
    color: #555;
    text-align: center;
    padding: 2rem;
}

.blog-card-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2a2a2a;
    text-decoration: none;
}

.blog-card-link:hover {
    text-decoration: underline;
}

/* Blog single post */
.blog-post-section {
    padding: 4rem 0 5rem;
    background: #fff;
}

.blog-post-container {
    max-width: 720px;
}

.blog-article {
    padding: 0;
}

.blog-post-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.blog-post-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.blog-post-body p {
    margin-bottom: 1rem;
}

.blog-post-body p:last-child {
    margin-bottom: 0;
}

.blog-back {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8e8e8;
}

.blog-back a {
    color: #2a2a2a;
    text-decoration: none;
    font-size: 0.95rem;
}

.blog-back a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .blog-container {
        padding: 0 1.25rem;
    }
    .blog-post-title {
        font-size: 1.5rem;
    }
}
