/* Did You Know Section */
.did-you-know {
  z-index: 3;
  padding: 5rem 0;
  background: var(--bg-900);
}

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

.dyk-card {
  background: var(--card);
  padding: 2.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ENHANCED: Premium hover effect with gradient border */
.dyk-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.dyk-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(192, 162, 98, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition:/* Global Styles */
    all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.dyk-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(192, 162, 98, 0.1);
  border-color: rgba(192, 162, 98, 0.3);
}
:root {
  --bg-900: #0F151F;
  --text: #ffffff;
  --muted-400: #a0aec0;
  --accent-500: #C0A262;
  --accent-600: #b8934a;
  --text: #eef2f7;
  --card: #0b1220;
  --glass: rgba(255,255,255,0.04);
  --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-hover: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-900);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; }

/* ADDED: Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent-500);
  color: var(--bg-900);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  font-weight: 600;
  border-radius: 0 0 4px 0;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.animate-fade-in {
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

.animate-fade-in.in-view {
  opacity: 1;
}

.stagger-container .stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.stagger-container .stagger-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-500);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-intro {
  font-size: 1.15rem;
  color: var(--muted-400);
  max-width: 700px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
}

.logo img {
    height: 60px;
}

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

.main-nav a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted-400);
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* ADDED: Mobile menu button styles */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.menu-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  overflow: visible;
}

.menu-item  .cta-underline {
  position: absolute;
  bottom: 10px;
  top: 1.85rem;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--text);
  transition: width 0.45s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu-item:hover .cta-underline {
  width: 100%;
  background: var(--accent-600);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  overflow: hidden;
  justify-content: space-between;
  padding: 3rem 0;
  position: relative;
} 

/* Large prominent gold background shape */
.hero-bg-shape {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 65%;
  height: 160%;
  background: radial-gradient(circle at center, var(--accent-500) 0%, rgba(201, 164, 90, 0.6) 100%);
  border-radius: 40% 60% 50% 50%;
  opacity: 0.4;
  z-index: 0;
  transform: rotate(-20deg);
  filter: blur(40px);
}

/* Dark overlay with MORE transparency to show gold shape */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: flex-start;
  padding-top: 4.5rem;
}

.hero-inner {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 5rem 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-content {
  padding-right: 0;
  z-index: 5;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  line-height: 1.35;
  color: var(--accent-500);
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.hero-title .line {
  display: block;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 2.75rem;
  background: var(--accent-500);
  color: var(--bg-900);
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.hero-cta, .menu-icon .cta-text {
  position: relative;
  z-index: 1;
}

.hero-cta .cta-underline {
  position: absolute;
  bottom: 10px;
  left: 2.75rem;
  height: 2px;
  width: 0;
  background: var(--text);
  transition: width 0.45s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero-cta:hover {
  background: #000;
  color: var(--text);
}

.hero-cta:hover .cta-underline {
  width: 60%;
  background: var(--accent-600);
}

/* ADDED: Arrow animation on hover */
.arrow-icon {
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.hero-cta:hover .arrow-icon {
  transform: translate(4px, -4px);
}

.hero-media {
  position: relative;
  width: 42%;
  height: 320px;
  overflow: hidden;
  border-radius: 20px;
}

/* ADDED: Image loading skeleton */
.image-skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 20px;
  z-index: 1;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.hero-media img {
  position: relative;
  z-index: 2;
}

.hero-media img:not([src=""]) ~ .image-skeleton {
  display: none;
}

.hero-media-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Animated image wrappers */
.hero-media-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.5s ease, transform 10s ease-in-out;
}

.hero-media-wrapper.active {
  opacity: 1;
  transform: scale(1.05);
}

/* Images */
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 10s ease-in-out;
}

/* Slow zoom on active image */
.hero-media-wrapper.active img {
  transform: scale(1.05);
}

/* Animated curved mask overlay */
.hero-media::after {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
  animation: maskShift 12s ease-in-out infinite alternate;
  pointer-events: none;
  border-radius: 20px;
  z-index: 2;
}

@keyframes maskShift {
  0% { clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%); }
  50% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%); }
  100% { clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%); }
}

.practice-tag {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.practice-tag .cta-underline {
  position: absolute;
  bottom: 10px;
  top: 1.5rem;
  left: 1rem;
  height: 2px;
  width: 0;
  background: var(--text);
  transition: width 0.45s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.practice-tag:hover .cta-underline{
  width: 50%;
  background: var(--accent-600);
}

/* Practice Tags */
.practice-tags {
  position: absolute;
  bottom: 4rem;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 4;
  padding-left: 24px;
  max-width: 45%;
}

.practice-tag {
  padding: 0.5rem 0.9rem;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  font-size: 0.75rem;
  color: var(--text);
  font-weight: 300;
  background: rgba(0, 0, 0, 0.192);
  backdrop-filter: blur(4px);
}

/* Tagline */
.hero-tagline {
  position: absolute;
  bottom: 4rem;
  right: 3rem;
  font-size: 0.85rem;
  color: #fff;
  z-index: 4;
  line-height: 1.6;
  background: rgba(0,0,0,0.4);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
}

/* Did You Know Section */
.did-you-know {
  z-index: 3;
  padding: 5rem 0;
  background: var(--bg-900);
}

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

.dyk-card {
  background: var(--card);
  padding: 2.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ENHANCED: Premium gradient border effect */
.dyk-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600), rgba(192, 162, 98, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* ENHANCED: Radial glow effect */
.dyk-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 162, 98, 0.2) 0%, transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.dyk-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(192, 162, 98, 0.1);
  border-color: rgba(192, 162, 98, 0.3);
}

.dyk-card:hover::before {
  opacity: 1;
}

.dyk-card:hover::after {
  width: 300px;
  height: 300px;
  opacity: 1;
}

.dyk-card h3 {
  color: var(--accent-500);
  margin-bottom: 1rem;
  font-size: 1.35rem;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dyk-card:hover h3 {
  transform: translateX(8px);
}

.dyk-card p {
  color: var(--muted-400);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.dyk-card:hover p {
  color: var(--text);
}

/* Market Shift Section */
.market-shift {
  padding: 5rem 0;
  background: var(--bg-900);
}

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

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ENHANCED: Animated gradient background */
.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(192, 162, 98, 0.1) 60deg,
    transparent 120deg
  );
  opacity: 0;
  transition: all 0.8s ease;
  animation: rotate 4s linear infinite paused;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.stat-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

/* ENHANCED: Glow effect */
.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-500), transparent, var(--accent-600));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.stat-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 50px rgba(192, 162, 98, 0.15);
  border-color: rgba(192, 162, 98, 0.4);
}

.stat-card:hover::after {
  opacity: 1;
}

.stat-icon {
  color: var(--accent-500);
  margin-bottom: 1.5rem;
  display: inline-block;
  position: relative;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card:hover .stat-icon {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 0 20px rgba(192, 162, 98, 0.6));
}

.stat-value {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text);
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.stat-card:hover .stat-value {
  color: var(--accent-500);
  transform: scale(1.05);
}

.stat-suffix {
  font-size: 3rem;
  color: var(--accent-500);
  display: inline-block;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.stat-card:hover .stat-suffix {
  transform: scale(1.1);
}

.stat-label {
  color: var(--muted-400);
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.stat-card:hover .stat-label {
  color: var(--text);
}

/* Method Section */
.method-section {
  background: var(--bg-800);
  padding: 5rem 0;
}

.method-steps {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.method-card {
  background: var(--card);
  padding: 2.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ENHANCED: Sliding accent bar */
.method-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-500), var(--accent-600));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ENHANCED: Glow effect */
.method-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(192, 162, 98, 0.1), transparent);
  transform: translateY(-50%);
  transition: left 0.8s ease;
}

.method-card:hover {
  transform: translateX(12px) scale(1.01);
  box-shadow: -6px 0 0 0 var(--accent-500), 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(192, 162, 98, 0.2);
}

.method-card:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.method-card:hover::after {
  left: 100%;
}

.method-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-500);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.method-card:hover .method-number {
  transform: scale(1.15) rotate(-5deg);
  text-shadow: 0 0 30px rgba(192, 162, 98, 0.5);
}

.method-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text);
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.method-card:hover h3 {
  color: var(--accent-500);
}

.method-card p {
  color: var(--muted-400);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.method-card:hover p {
  color: var(--text);
}

/* Practice Areas Section */
.practice-areas {
  padding: 5rem 0;
  background: var(--bg-900);
}

/* UPDATED: Carousel layout for practice areas */
.practice-areas-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  padding: 2rem 0;
}

.areas-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  gap: 2rem;
}

.area-card {
  min-width: calc(25% - 1.5rem);
  background: var(--card);
  padding: 2.5rem 2rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0.5;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.area-card.active {
  opacity: 1;
  transform: scale(1);
}

/* ENHANCED: Morphing gradient border */
.area-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(135deg, 
    var(--accent-500) 0%,
    var(--accent-600) 25%,
    transparent 50%,
    var(--accent-500) 75%,
    var(--accent-600) 100%
  );
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: all 0.6s ease;
}

.area-card:hover::before {
  opacity: 1;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ENHANCED: Radial glow */
.area-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 162, 98, 0.25) 0%, transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.area-card:hover,
.area-card:focus {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(192, 162, 98, 0.15);
  border-color: rgba(192, 162, 98, 0.3);
  opacity: 1;
}

.area-card:hover::after {
  width: 250px;
  height: 250px;
  opacity: 1;
}

.area-icon {
  color: var(--accent-500);
  margin-bottom: 1.5rem;
  display: inline-block;
  position: relative;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 0 0 rgba(192, 162, 98, 0));
}

.area-card:hover .area-icon {
  transform: scale(1.15) translateY(-8px) rotate(5deg);
  filter: drop-shadow(0 0 25px rgba(192, 162, 98, 0.7));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: scale(1.15) translateY(-8px) rotate(5deg);
  }
  50% {
    transform: scale(1.15) translateY(-12px) rotate(5deg);
  }
}

.area-card h3 {
  font-size: 1.15rem;
  color: var(--text);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.area-card:hover h3 {
  color: var(--accent-500);
  transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
  background: var(--bg-800);
  padding: 5rem 0;
  position: relative;
}

.testimonials-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  min-height: 300px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.testimonial.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.testimonial blockquote {
  background: var(--card);
  padding: 3rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}

.testimonial p {
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonial footer img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-500);
}

.testimonial cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial cite strong {
  color: var(--text);
  font-size: 1.1rem;
}

.testimonial cite span {
  color: var(--muted-400);
  font-size: 0.9rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.carousel-btn {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--accent-500);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover,
.carousel-btn:focus {
  background: var(--accent-500);
  color: var(--bg-900);
  border-color: var(--accent-500);
  transform: scale(1.1);
}

.carousel-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 164, 90, 0.4);
}

/* Process Steps Section */
.process-section {
  padding: 5rem 0;
  background: var(--bg-900);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin: 0 auto;
}

.process-item {
  text-align: center;
  position: relative;
  padding: 2rem 1.5rem;
  border-radius: 14px;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ENHANCED: Animated border glow */
.process-item::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    var(--accent-500) 50%,
    transparent 100%
  );
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  animation: borderGlow 3s ease-in-out infinite paused;
}

@keyframes borderGlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.process-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card);
  border-radius: 14px;
  z-index: 1;
  transition: all 0.5s ease;
}

.process-item:hover::before {
  opacity: 1;
  animation-play-state: running;
}

.process-item:hover::after {
  background: rgba(11, 18, 32, 0.95);
}

.process-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.process-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-500);
  color: var(--bg-900);
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 0 rgba(192, 162, 98, 0);
}

.process-item:hover .process-num {
  transform: scale(1.15) rotate(360deg);
  box-shadow: 0 0 40px rgba(192, 162, 98, 0.6);
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
}

.process-item h3 {
  margin-bottom: 1rem;
  color: var(--text);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.process-item:hover h3 {
  color: var(--accent-500);
  transform: scale(1.05);
}

.process-item p {
  color: var(--muted-400);
  line-height: 1.6;
  position: relative;
  z-index: 2;
  transition: color 0.4s ease;
}

.process-item:hover p {
  color: var(--text);
}

/* Final Call to Action Section */
.final-cta {
  background: linear-gradient(135deg, var(--bg-800) 0%, var(--bg-700) 100%);
  padding: 6rem 0;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.cta-content > p {
  font-size: 1.15rem;
  color: var(--muted-400);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.cta-note {
  font-size: 0.95rem;
  color: var(--accent-500);
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.cta-actions {
  margin-top: 2.5rem;
}

.cta-secondary {
  margin-top: 1.5rem;
  color: var(--muted-400);
  font-size: 0.95rem;
}

.cta-secondary a {
  color: var(--accent-500);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.cta-secondary a:hover {
  color: var(--text);
}

/* Footer Styles */
.site-footer {
  background: var(--bg-900);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 2rem;
  position: relative;
}

/* ADDED: Decorative scales background */
.site-footer::before {
  content: '';
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  height: 250px;
  background-image: url("data:image/svg+xml,%3Csvg width='250' height='250' viewBox='0 0 250 250' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M125 50L125 150M75 100C75 100 75 150 100 150C125 150 125 100 125 100M125 100C125 100 125 150 150 150C175 150 175 100 175 100M100 150C100 155.523 95.5228 160 90 160C84.4772 160 80 155.523 80 150M150 150C150 155.523 145.523 160 140 160C134.477 160 130 155.523 130 150M125 200C136.046 200 145 191.046 145 180C145 168.954 136.046 160 125 160C113.954 160 105 168.954 105 180C105 191.046 113.954 200 125 200Z' stroke='rgba(192, 162, 98, 0.08)' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-brand p {
  color: var(--muted-400);
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 1.5rem;
}

/* ADDED: Social links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-400);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: var(--bg-900);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(192, 162, 98, 0.3);
}

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

/* UPDATED: Footer navigation - stacked vertically */
.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  display: inline-block;
  color: var(--accent-500);
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  width: fit-content;
  transition: all 0.3s ease;
}

.footer-link .cta-text {
  position: relative;
  z-index: 1;
}

.footer-link .cta-underline {
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--accent-500);
  transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.footer-link:hover .cta-underline {
  width: 100%;
}

.footer-link:hover {
  color: var(--text);
}

/* ADDED: Contact column */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent-500);
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-phone:hover {
  color: var(--text);
  transform: translateX(4px);
}

.footer-phone svg {
  flex-shrink: 0;
}

.footer-contact-text {
  color: var(--muted-400);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ADDED: Footer CTA button */
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background: var(--accent-500);
  color: var(--bg-900);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: fit-content;
}

.footer-cta:hover {
  background: var(--accent-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(192, 162, 98, 0.3);
}

.footer-cta .arrow-icon {
  transition: transform 0.3s ease;
}

.footer-cta:hover .arrow-icon {
  transform: translate(3px, -3px);
}

/* UPDATED: Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  color: var(--muted-400);
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-legal .footer-link {
  padding: 0.25rem 0;
  font-size: 0.85rem;
  color: var(--muted-400);
}

.footer-legal .footer-link .cta-underline {
  bottom: 0.25rem;
  background: var(--muted-400);
}

.footer-legal .footer-link:hover {
  color: var(--accent-500);
}

.footer-legal .footer-link:hover .cta-underline {
  background: var(--accent-500);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

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

.modal-content {
  background: var(--bg-800);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s var(--ease);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 2.5rem 2.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-header h3 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--muted-400);
  font-size: 1rem;
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--muted-400);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group label .required {
  color: var(--accent-500);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--bg-900);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(201, 164, 90, 0.1);
}

/* ADDED: Form validation error styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.form-error {
  display: block;
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  min-height: 1.2rem;
}

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

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

.form-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 2rem;
  background: var(--accent-500);
  color: var(--bg-900);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: var(--accent-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(192, 162, 98, 0.3);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.success-message {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.success-message.active {
  display: block;
}

.success-message svg {
  color: var(--accent-500);
  margin-bottom: 1.5rem;
}

.success-message h3 {
  color: var(--text);
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
}

.success-message p {
  color: var(--muted-400);
  line-height: 1.7;
}

#closeSuccess {
  background: var(--accent-500);
  color: var(--bg-900);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#closeSuccess:hover {
  background: var(--accent-600);
  transform: translateY(-2px);
}

#closeSuccess:active {
  transform: translateY(0);
}

/* ADDED: Better tablet breakpoint for practice tags */
@media (max-width: 900px) {
  .practice-tags,
  .hero-tagline {
    position: static;
    margin-top: 2rem;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  .practice-tags {
    padding-left: 0;
  }

  .hero-tagline {
    right: auto;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }
}

/* Responsive Design */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.03ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.05ms !important;
    transition-delay: 1ms !important;
  }
}

@media (max-width: 1400px) {
  .container {
    padding: 0 2rem;
  }

  .hero-inner {
    gap: 2rem;
  }

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

  .hero-media {
    width: 45%;
    height: 280px;
  }

  .practice-tags, .hero-tagline {
    justify-content: left;
    bottom: 3rem;
    flex-wrap: wrap;
    padding: 0.5rem 1rem;
  }

  .practice-tags {
    left: 24px;
    padding-left: 0;
    max-width: 45%;
  }

  .hero-tagline {
    right: 24px;
    max-width: 50%;
  }

  /* ADDED: Footer responsive at 1400px */
  .footer-content {
    gap: 3rem;
  }
}

/* ADDED: New breakpoint for better tablet/small laptop experience */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: start;
  }

  .footer-phone {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .footer-cta {
    grid-column: 1 / -1;
    max-width: 250px;
  }
}

@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-content {
    width: 50%;
    padding-right: 0;
  }

  .hero-media {
    width: 50%;
    height: 300px;
  }

  /* UPDATED: Practice areas responsive */
  .area-card {
    min-width: calc(33.333% - 1.34rem);
  }
}

@media (max-width: 992px) {
  .main-nav {
    gap: 1.5rem;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: 1.7rem;
    padding: 0.2rem 0.2rem;
  }

  .hero-cta, .menu-icon .cta-text {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }

  .hero-cta .cta-underline {
    left: 2rem;
  }

  .hero-media {
    width: 70%;
    height: 320px;
  }

  .hero-tagline {
    font-size: 0.9rem;
    padding: 0.4rem 0.9rem;
    right: 2rem;
    margin-top: 1rem;
  }

  .practice-tags {
    font-size: 0.7rem;
    padding: 0.45rem 0.85rem;
    left: 0.75rem;
    bottom: 2.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* UPDATED: Practice areas responsive */
  .area-card {
    min-width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  /* ADDED: Show mobile menu button */
  .mobile-menu-btn {
    display: flex;
  }

  /* ADDED: Mobile menu styles */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-900);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 999;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav a {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .menu-item  .cta-underline {
    top: 2.5rem;
  }
  .logo img {
    height: 2.5rem;
  }

  .header-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 1rem;
  }

  .hero-inner {
    flex-direction: column;
    gap: 2rem;
    padding-top: 1rem;
  }

  .hero-content {
    padding-right: 0;
    text-align: center;
    width: 100%;
  }

  .hero-content a {
    width: 50%;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    width: 50%;
    max-width: 400px;
    justify-content: center;
    margin: 0 auto;
    display: flex;
  }

  .hero-media {
    width: 100%;
    max-width: 600px;
    height: 350px;
    margin: 0 auto;
  }

  .hero-tagline {
    position: static;
    text-align: center;
    margin-top: 1.5rem;
    max-width: 100%;
    right: auto;
    bottom: auto;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }

  .container {
    padding: 0 1.5rem;
  }

  .site-header .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .header-cta .hero-cta {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    width: fit-content;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-cta, .cta-trigger{
    padding: 1rem 2rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 400px;
    justify-content: center;
    margin: 0 auto;
    display: flex;
  }
 .cta-trigger {
  width: fit-content;
 }
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

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

  .hero-media {
    width: 100%;
    height: 280px;
  }

  .practice-tags {
    bottom: 2rem;
    left: 0;
    right: 0;
    justify-content: center;
    max-width: fit-content;
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
  }

  .practice-tag {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-tagline {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    max-width: 90%;
  }

  .hero-bg-shape {
    width: 70%;
    height: 120%;
    right: -20%;
  }

  .hero-cta .cta-underline {
    left: 1rem;
  }

  .practice-tag .cta-underline {
    left: 0.8rem;
  }

  .cta-trigger .cta-underline{
    left: 1.5rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .method-card {
    gap: 1.5rem;
  }

  .method-number {
    font-size: 2.5rem;
  }

  /* UPDATED: Practice areas responsive */
  .area-card {
    min-width: 100%;
  }

  .practice-areas-carousel {
    padding: 1rem 0;
  }

  /* ADDED: Footer responsive at 768px */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .social-links {
    justify-content: center;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-col {
    align-items: center;
    gap: 0.5rem;
  }

  .footer-contact {
    text-align: center;
    align-items: center;
    grid-template-columns: 1fr;
  }

  .footer-phone {
    justify-content: center;
    font-size: 1.1rem;
  }

  .footer-contact-text {
    margin: 20px auto;
    justify-self: center;
  }

  .footer-cta {
    width: 100%;
    justify-content: center;
    max-width: 300px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-legal {
    justify-content: center;
    display: none;
  }

  .site-footer::before {
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .header-cta .hero-cta {
    padding: 0.7rem 1.2rem;
    font-size: 0.75rem;
  }

  .hero {
    padding-top: 4rem;
  }

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

  .hero-cta {
    padding: 0.9rem 1.5rem;
    font-size: 0.85rem;
    gap: 1rem;
    max-width: 100%;
  }

  .hero-cta .arrow-icon {
    width: 16px;
    height: 16px;
  }

  .hero-media {
    height: 240px;
  }

  .practice-tags {
    gap: 0.4rem;
  }

  .practice-tag {
    font-size: 0.65rem;
    padding: 0.35rem 0.7rem;
  }

  .hero-tagline {
    font-size: 0.75rem;
    line-height: 1.5;
    padding: 0.4rem 0.8rem;
  }

  .hero-wrapper {
    padding-top: 1rem;
  }

  .hero-bg-shape {
    width: 80%;
    right: -25%;
  }

  .modal-content {
    max-height: 95vh;
  }

  .modal-header {
    padding: 2rem 1.5rem 1rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

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

  /* ADDED: Footer responsive at 576px */
  .footer-brand .logo {
    font-size: 1.3rem;
  }

  .footer-brand p {
    font-size: 0.9rem;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }

  .social-icon svg {
    width: 16px;
    height: 16px;
  }

  .footer-col {
    gap: 0.4rem;
  }

  .footer-link {
    font-size: 0.9rem;
    padding: 0.4rem 0;
  }

  .footer-phone {
    font-size: 1rem;
    flex-wrap: wrap;
    text-align: center;
  }

  .footer-contact-text {
    font-size: 0.85rem;
  }

  .footer-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    max-width: 100%;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
  }

  .site-footer::before {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 400px) {
  .logo {
    font-size: 1.2rem;
  }

  .header-cta .hero-cta {
    padding: 0.6rem 1rem;
    font-size: 0.7rem;
  }

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

  .hero-cta {
    padding: 0.8rem 1.2rem;
    font-size: 0.8rem;
  }

  .hero-media {
    height: 200px;
  }

  .practice-tag {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
  }

  .hero-tagline {
    font-size: 0.7rem;
  }

  /* ADDED: Footer responsive at 400px */
  .footer-brand .logo {
    font-size: 1.2rem;
  }

  .footer-brand p {
    font-size: 0.85rem;
  }

  .social-links {
    gap: 0.75rem;
  }

  .social-icon {
    width: 32px;
    height: 32px;
  }

  .footer-phone {
    font-size: 0.9rem;
  }

  .footer-cta {
    padding: 0.7rem 1.25rem;
    font-size: 0.8rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }

  .footer-legal .footer-link {
    font-size: 0.8rem;
  }
}