:root {
  /* Brand palette from v2 */
  --lsw-ebony: #0B0C10;        /* Deep Ebony: primary text/background accents */
  --lsw-royal-green: #0C6B58;  /* Royal Green: primary brand */
  --lsw-gold: #C7A043;         /* Gold Accent: highlights, callouts */
  --lsw-porcelain: #F7F7F5;    /* Porcelain: background */
  --lsw-sea-mist: #DCE7E2;     /* Sea Mist: dividers, tags */

  /* Legacy aliases to minimize refactors */
  --lsw-ivory: var(--lsw-porcelain);
  --lsw-ceramic: #F4F2EF;
  --lsw-seafoam: var(--lsw-sea-mist);
  --lsw-lagoon: var(--lsw-royal-green);
  --lsw-lilac: #E6E4F2;
  --lsw-sunset: #F1E3C2;
  --lsw-accent-coral: var(--lsw-gold);
  --lsw-deep-navy: var(--lsw-ebony);
  --lsw-muted-navy: #37424A;
  --lsw-slate: #4A565E;
  --lsw-line: rgba(11, 12, 16, 0.14);
  --lsw-radius-lg: 24px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  /* Typography: Body uses Inter from v2 */
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  color: var(--lsw-ebony);
  background: var(--lsw-porcelain);
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  /* Headings: Poppins 600/700 from v2 */
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 600;
  color: var(--lsw-ebony);
}

/* Navigation styling from v2 */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 12, 16, 0.08);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand .brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.navbar-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .navbar-logo {
    height: 70px;
  }
}

.brand-name {
  font-family: "Poppins", ui-sans-serif, system-ui;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--lsw-royal-green);
  line-height: 1;
}

.brand-subtitle {
  font-family: "Inter", system-ui;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--lsw-muted-navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.1rem;
}

/* Brand Styles - v3 logo format */
.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lsw-royal-green);
  line-height: 1.2;
}

.navbar-brand .brand-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lsw-ebony);
  opacity: 0.8;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: normal;
}

.navbar-nav .nav-link {
  font-family: "Inter", system-ui;
  font-weight: 500;
  color: var(--lsw-ebony);
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--lsw-royal-green);
}

.navbar-nav .nav-link.active {
  color: var(--lsw-royal-green);
  font-weight: 600;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: var(--lsw-gold);
  border-radius: 2px;
}

/* Page structure from v3 with v2 styling */
.page-header {
  background: var(--lsw-deep-navy);
  color: #ffffff;
  padding: 6rem 0 4rem;
  text-align: center;
}

.page-header h1 {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.page-header .lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42rem;
  margin: 0 auto;
}

/* Hero Section from v2 */
.hero {
  position: relative;
  padding: 4rem 0 3rem;
}

.hero-dark {
  color: #ffffff;
  background: linear-gradient(120deg, rgba(31, 53, 66, 0.95), rgba(12, 107, 88, 0.82));
  overflow: hidden;
}

.hero-dark .hero-title,
.hero-dark .hero-lead,
.hero-dark .hero-kicker {
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(31, 53, 66, 0.88), rgba(12, 107, 88, 0.55)),
    url('https://images.unsplash.com/photo-1555375771-14b2a63968f3?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  opacity: 0.72;
  z-index: 0;
}

.hero .container,
.hero .row,
.hero .col-lg-6 {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2.75rem;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  width: 260px;
  height: 200px;
  border-radius: var(--lsw-radius-lg);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.35);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-composite {
  background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1200&q=80');
  transform: translate(10px, 10px) rotate(2deg);
}

/* Section styling from v2 */
.section {
  padding: 6rem 0;
}

.section-light {
  background: var(--lsw-ceramic);
}

.section-contrast {
  background: var(--lsw-deep-navy);
  color: rgba(255, 255, 255, 0.9);
}

.section-contrast h2,
.section-contrast h3,
.section-contrast .section-title {
  color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--lsw-slate);
  margin: 0 auto;
  max-width: 42rem;
}

.section-contrast .section-lead {
  color: rgba(255, 255, 255, 0.84);
}

.section-padding {
  padding: 5rem 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lsw-muted-navy);
  margin-bottom: 1rem;
}

.section-contrast .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

/* Cards from v2 with enhanced structure support for v3 content */
.card {
  border: none;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(31, 53, 66, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(31, 53, 66, 0.08);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(31, 53, 66, 0.15);
}

.content-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--lsw-radius-lg);
  box-shadow: 0 24px 50px rgba(11, 12, 16, 0.08);
  border: 1px solid rgba(11, 12, 16, 0.08);
}

.content-title {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.content-card p {
  color: var(--lsw-slate);
  line-height: 1.8;
}

/* Service cards with v2 styling for v3 content structure */
.service-card {
  height: 100%;
  text-align: center;
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 60px rgba(31, 53, 66, 0.12);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--lsw-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--lsw-ebony);
  box-shadow: 0 16px 32px rgba(199, 160, 67, 0.25);
}

.service-card h4 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--lsw-ebony);
}

.service-card p {
  color: var(--lsw-slate);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Attorney cards - v2's sophisticated partner styling */
.attorney-card {
  border-radius: var(--lsw-radius-lg);
  box-shadow: 0 32px 70px rgba(11, 12, 16, 0.14);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.attorney-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 44px 90px rgba(31, 53, 66, 0.22);
}

.attorney-image {
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(183, 228, 221, 0.8), rgba(242, 166, 141, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-image {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.attorney-card h4 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
  color: var(--lsw-ebony);
}

.expertise-tags .badge {
  background: rgba(183, 228, 221, 0.6);
  color: var(--lsw-deep-navy);
  border: none;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0.25rem 0.25rem 0 0;
}

/* Buttons from v2 */
.btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--lsw-royal-green);
  border-color: var(--lsw-royal-green);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #0a5e4e;
  border-color: #0a5e4e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(12, 107, 88, 0.3);
}

.btn-soft {
  border: 1px solid rgba(31, 53, 66, 0.2);
  border-radius: 999px;
  padding: 0.65rem 1.6rem;
  font-weight: 600;
  color: var(--lsw-ebony);
  background: rgba(255, 255, 255, 0.84);
  transition: all 0.2s ease;
}

.btn-soft:hover,
.btn-soft:focus {
  color: var(--lsw-deep-navy);
  border-color: var(--lsw-gold);
  background: rgba(199, 160, 67, 0.16);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--lsw-royal-green);
  border-color: var(--lsw-royal-green);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--lsw-royal-green);
  border-color: var(--lsw-royal-green);
  color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--lsw-gold);
  border-color: var(--lsw-gold);
  color: var(--lsw-ebony);
}

.btn-accent:hover,
.btn-accent:focus {
  background: #b8941f;
  border-color: #b8941f;
  color: var(--lsw-ebony);
  transform: translateY(-2px);
}

/* Lists from v2 */
.list-dot {
  padding-left: 1.1rem;
  color: var(--lsw-slate);
  list-style: none;
  margin: 0;
}

.list-dot li {
  margin-bottom: 0.75rem;
  position: relative;
}

.list-dot li::before {
  content: "•";
  color: var(--lsw-royal-green);
  font-weight: 700;
  position: absolute;
  left: -1.1rem;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: grid;
  gap: 0.5rem;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
}

.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--lsw-royal-green);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Forms from v2 */
.form-control-lg {
  border-radius: 14px;
  border: 1px solid rgba(31, 53, 66, 0.2);
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control-lg:focus {
  border-color: var(--lsw-royal-green);
  box-shadow: 0 0 0 0.25rem rgba(12, 107, 88, 0.15);
}

.form-select-lg {
  border-radius: 14px;
  border: 1px solid rgba(31, 53, 66, 0.2);
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
}

/* Stats section for v3 content */
.stats-section {
  background: var(--lsw-ceramic);
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--lsw-royal-green);
  display: block;
  font-family: "Poppins", ui-sans-serif, system-ui;
}

.stat-label {
  font-size: 1rem;
  color: var(--lsw-slate);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(160deg, rgba(79,142,160,.25), rgba(127,198,190,.25) 40%, rgba(242,166,141,.25) 100%);
  color: var(--lsw-ebony);
  text-align: center;
}

.cta-section h2 {
  color: var(--lsw-ebony);
}

.cta-section .lead {
  color: var(--lsw-muted-navy);
}

/* Footer from v2 */
.site-footer {
  background: linear-gradient(135deg, #1f3542 0%, #2c4a5a 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-top {
  margin-bottom: 2rem;
  position: relative;
}

.footer-top .col-lg-4,
.footer-top .col-lg-5 {
  position: relative;
  padding-left: 1rem;
  padding-right: 2rem;
}

.footer-top .col-lg-3 {
  padding-left: 2rem;
}

.footer-top .col-lg-4::after,
.footer-top .col-lg-5::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 1rem;
  width: 1px;
  height: 80%;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 20%, 
    rgba(255, 255, 255, 0.5) 50%, 
    rgba(255, 255, 255, 0.3) 80%, 
    transparent 100%);
}

.brand-block {
  margin-bottom: 1rem;
}

.footer-brand {
  font-family: "Poppins", ui-sans-serif, system-ui;
  font-weight: 600;
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.footer-tag {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-heading-sm {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--lsw-gold);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.footer-socials a {
  color: white;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.footer-socials a:hover {
  color: white;
  background: var(--lsw-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(199, 160, 67, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--lsw-gold);
}

.footer-practice-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.footer-links-xs {
  font-size: 0.8rem;
}

.footer-links-xs a {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #4ECDC4;
  display: block;
  white-space: nowrap;
  padding: 0.1rem 0;
}

.footer-links-xs a:hover {
  color: var(--lsw-gold);
}

.footer-links-xs li {
  margin-bottom: 0.05rem;
}

/* Flip Cards for Attorney Profiles (from v2) */
.flip-card {
  perspective: 1200px;
  border-radius: 24px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 420px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(.2,.6,.2,1);
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(31,53,66,.18);
}

.flip-card:hover .flip-inner,
.flip-card.is-flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.flip-front {
  color: var(--lsw-ebony);
  background: linear-gradient(160deg, rgba(79,142,160,.18), rgba(127,198,190,.18) 40%, rgba(242,166,141,.18) 100%);
}

.flip-back {
  background: rgba(255,255,255,.9);
  transform: rotateY(180deg);
}

.flip-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,.8);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(183, 228, 221, 0.8), rgba(242, 166, 141, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-avatar img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: center; 
}

.flip-name { 
  font-family: "Poppins", serif; 
  font-size: 1.6rem; 
  margin: .25rem 0; 
  color: var(--lsw-ebony);
}

.flip-role { 
  font-weight: 700; 
  letter-spacing: .12em; 
  text-transform: uppercase; 
  font-size: .8rem; 
  opacity: .9; 
  color: var(--lsw-muted-navy);
}

.flip-blurb { 
  margin-top: .75rem; 
  color: var(--lsw-slate); 
}

.flip-back p { 
  color: var(--lsw-slate); 
  max-width: 46ch; 
  margin: .5rem auto 1rem; 
  line-height: 1.8; 
}

.flip-actions { 
  display: flex; 
  gap: .5rem; 
  justify-content: center; 
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; }
  .flip-card:hover .flip-inner { transform: none; }
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--lsw-royal-green);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--lsw-gold);
  transform: translateY(-3px);
}

/* Alert styling */
.alert-success {
  background: rgba(183, 228, 221, 0.45);
  border: 1px solid rgba(127, 198, 190, 0.6);
  color: var(--lsw-deep-navy);
  border-radius: 16px;
}

.text-danger {
  font-size: 0.85rem;
  margin-top: 0.25rem;
  color: #dc3545;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .hero {
    padding-top: 7rem;
  }

  .hero-visual {
    margin-top: 2rem;
  }

  .hero-card {
    width: 220px;
    height: 160px;
  }

  .section {
    padding: 4rem 0;
  }

  .section-padding {
    padding: 4rem 0;
  }
}

@media (max-width: 767.98px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .content-card,
  .service-card {
    padding: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .footer-socials {
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 575.98px) {
  .brand-name {
    font-size: 1.25rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Additional section styles for v3 pages */
.hero-section {
  background: linear-gradient(135deg, var(--lsw-royal-green) 0%, var(--lsw-muted-navy) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section p,
.hero-section .lead {
  color: white !important;
}

.section-padding {
  padding: 4rem 0;
}

.text-primary {
  color: var(--lsw-royal-green) !important;
}

.btn-primary {
  background-color: var(--lsw-royal-green);
  border-color: var(--lsw-royal-green);
  color: white;
}

.btn-primary:hover {
  background-color: var(--lsw-muted-navy);
  border-color: var(--lsw-muted-navy);
}

.btn-outline-primary {
  color: var(--lsw-royal-green);
  border-color: var(--lsw-royal-green);
}

.btn-outline-primary:hover {
  background-color: var(--lsw-royal-green);
  border-color: var(--lsw-royal-green);
  color: white;
}

/* Footer address formatting */
.footer-copy {
  line-height: 1.6;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--lsw-royal-green);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 12px rgba(12, 107, 88, 0.3);
  padding: 0;
  flex-shrink: 0;
  aspect-ratio: 1;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--lsw-muted-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(12, 107, 88, 0.4);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* Breadcrumbs */
.breadcrumb-nav {
  background: var(--lsw-porcelain);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(11, 12, 16, 0.08);
}

.breadcrumb {
  background: transparent;
  margin-bottom: 0;
  padding: 0;
  font-size: 0.875rem;
  justify-content: flex-end;
}

.breadcrumb-item {
  color: var(--lsw-slate);
}

.breadcrumb-item a {
  color: var(--lsw-royal-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--lsw-gold);
}

.breadcrumb-item.active {
  color: var(--lsw-ebony);
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--lsw-slate);
  opacity: 0.5;
}

/* Responsive footer adjustments */
@media (max-width: 991.98px) {
  .footer-socials {
    justify-content: center;
    margin-top: 2rem;
  }
  
  .footer-practice-grid {
    gap: 1rem;
  }
  
  .text-lg-end {
    text-align: center !important;
  }
  
  .footer-top .col-lg-4::after,
  .footer-top .col-lg-5::after {
    display: none;
  }
}

/* Practice Areas Grid Styling */
.practice-area-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.practice-area-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.practice-area-card .service-icon {
  transition: all 0.3s ease;
}

.practice-area-card:hover .service-icon {
  transform: scale(1.1);
}

.practice-area-card:hover .service-icon i {
  color: var(--lsw-gold);
}

/* Modal customizations */
.modal-header {
  border-bottom: 2px solid var(--lsw-royal-green);
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.modal-title {
  color: var(--lsw-ebony);
  font-weight: 600;
}

.modal-title i {
  color: var(--lsw-royal-green);
}

.modal-footer {
  border-top: 1px solid #dee2e6;
  background: #f8f9fa;
}

.modal-footer .btn-primary {
  background: linear-gradient(135deg, var(--lsw-royal-green), #4ECDC4);
  border: none;
  transition: all 0.3s ease;
}

.modal-footer .btn-primary:hover {
  background: linear-gradient(135deg, var(--lsw-gold), #E6B85C);
  transform: translateY(-1px);
}

/* Timeline Component for Attorney Credentials */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, 
    rgba(12, 107, 88, 0.3) 0%, 
    rgba(12, 107, 88, 0.6) 50%, 
    rgba(12, 107, 88, 0.3) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 14px;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lsw-royal-green);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--lsw-royal-green), 0 4px 12px rgba(12, 107, 88, 0.3);
  z-index: 1;
}

.timeline-content {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(11, 12, 16, 0.08);
  border-left: 3px solid var(--lsw-gold);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  box-shadow: 0 8px 20px rgba(11, 12, 16, 0.12);
  transform: translateX(4px);
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--lsw-ebony);
  margin-bottom: 0.5rem;
}

.timeline-company {
  font-size: 1rem;
  font-weight: 500;
  color: var(--lsw-royal-green);
  margin-bottom: 0.25rem;
}

.timeline-date {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lsw-muted-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: var(--lsw-slate);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Attorney Profile Avatar */
.attorney-profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lsw-royal-green), #4ECDC4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(12, 107, 88, 0.25);
  border: 4px solid #ffffff;
}

.attorney-profile-avatar i {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Attorney Hero Photo - Large and Beautiful */
.attorney-hero-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(255, 255, 255, 0.1), 0 0 0 16px rgba(255, 255, 255, 0.05);
  border: 6px solid rgba(255, 255, 255, 0.2);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.attorney-hero-photo::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--lsw-gold), transparent, var(--lsw-royal-green));
  border-radius: 50%;
  opacity: 0.3;
  z-index: -1;
  animation: rotate 8s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.attorney-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.attorney-hero-photo i {
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.85);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.attorney-hero-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4), 0 0 0 8px rgba(255, 255, 255, 0.15), 0 0 0 16px rgba(255, 255, 255, 0.08);
}

@media (max-width: 991.98px) {
  .attorney-hero-photo {
    width: 220px;
    height: 220px;
    margin-top: 2rem;
  }
  
  .attorney-hero-photo i {
    font-size: 6rem;
  }
}

@media (max-width: 767.98px) {
  .attorney-hero-photo {
    width: 180px;
    height: 180px;
  }
  
  .attorney-hero-photo i {
    font-size: 5rem;
  }
}

/* Credentials Sidebar - Modern Compact Design */
.credentials-sidebar {
  background: linear-gradient(135deg, rgba(12, 107, 88, 0.03), rgba(78, 205, 196, 0.03));
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(12, 107, 88, 0.1);
  box-shadow: 0 4px 12px rgba(11, 12, 16, 0.05);
}

.credentials-sidebar-title {
  font-family: "Poppins", ui-sans-serif, system-ui;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--lsw-ebony);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--lsw-gold);
}

.credential-year-item {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.5rem;
}

.credential-year-item:last-child {
  margin-bottom: 0;
}

.credential-year-badge {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, var(--lsw-royal-green), #0a5e4e);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", ui-sans-serif, system-ui;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(12, 107, 88, 0.25);
  transition: all 0.3s ease;
}

.credential-year-item:hover .credential-year-badge {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(12, 107, 88, 0.35);
}

.credential-year-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.credential-mini-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.credential-mini-item i {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lsw-royal-green);
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.credential-mini-item span {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--lsw-ebony);
  font-weight: 500;
}

/* Credentials Section - Year-based Design */
.credentials-title {
  font-family: "Poppins", ui-sans-serif, system-ui;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--lsw-ebony);
  margin-bottom: 3rem;
}

.credentials-year-group {
  position: relative;
  padding-left: 0;
}

.credentials-year {
  font-family: "Poppins", ui-sans-serif, system-ui;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--lsw-royal-green);
  margin-bottom: 1.5rem;
}

.credentials-items {
  padding-left: 0;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(11, 12, 16, 0.06);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.credential-item:last-child {
  margin-bottom: 0;
}

.credential-item:hover {
  box-shadow: 0 6px 16px rgba(11, 12, 16, 0.1);
  border-left-color: var(--lsw-gold);
  transform: translateX(4px);
}

.credential-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12, 107, 88, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lsw-royal-green);
  font-size: 1.25rem;
}

.credential-content {
  flex: 1;
}

.credential-title {
  font-family: "Inter", system-ui;
  font-size: 1rem;
  font-weight: 500;
  color: var(--lsw-ebony);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 767.98px) {
  .timeline::before {
    left: 16px;
  }
  
  .timeline-item {
    padding-left: 3rem;
  }
  
  .timeline-marker {
    left: 6px;
    width: 20px;
    height: 20px;
  }
  
  .timeline-content {
    padding: 1.25rem;
  }
  
  .timeline-title {
    font-size: 1.1rem;
  }
  
  .attorney-profile-avatar {
    width: 100px;
    height: 100px;
  }
  
  .attorney-profile-avatar i {
    font-size: 3rem;
  }
  
  .credentials-title {
    font-size: 2rem;
  }
  
  .credentials-year {
    font-size: 1.5rem;
  }
  
  .credential-item {
    padding: 1.25rem;
    gap: 1rem;
  }
  
  .credential-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .credential-title {
    font-size: 0.95rem;
  }
}

/* Responsive adjustments for practice cards */
@media (max-width: 768px) {
  .practice-area-card {
    min-height: 250px;
    padding: 1.5rem 1rem;
  }
  
  .practice-area-card .practice-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .practice-area-card .practice-icon i {
    font-size: 2rem;
  }
  
  .practice-area-card h4 {
    font-size: 1rem;
  }
  
  .practice-area-card p {
    font-size: 0.85rem;
  }
}