/* --- GLOBAL VARIABLES AND STYLES --- */
:root {
  --navy: #1b3f6b; /* Primary Blue */
  --gold: #d4af37; /* Accent Gold */
  --dark-grey: #222222;
  --light-grey: #f5f7fa;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-grey);
  line-height: 1.6;
  background-color: var(--light-grey);
}

.App {
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

/* --- SHARED BUTTON STYLES --- */
.btn {
  padding: 12px 26px;
  text-decoration: none;
  border-radius: 30px;
  border: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease, color 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--white);
}

.btn-outline {
  border: none;
  color: var(--white);
  background: var(--navy);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--navy);
}
/* --- NAVIGATION --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gold);
  padding: 0 1.75rem;
  height: 80px;
  overflow: visible;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-width: 100vw;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.brand-mark {
  height: 20px;
  width: auto;
  margin-left: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
  transform: scale(3);
  transform-origin: left center;
  max-width: 60px;
  display: block;
}

@media (min-width: 769px) {
  .brand-mark {
    margin-left: 100px;
    transform-origin: center;
  }
}

.brand-name {
  font-size: 1.05rem;
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 96px;
  margin: 0;
  padding-right: 30px;
  position: relative;
  z-index: 1;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-weight: 700;
}

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

.nav-links a:active {
  color: var(--white);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 100;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #1b3f6b;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
  .navbar {
    padding: 0 1rem;
    flex-wrap: wrap;
    height: auto;
    min-height: 80px;
  }

  .hamburger {
    display: block;
    width: 40px;
    min-width: 40px;
    padding: 8px;
    order: 2;
    position: relative;
    z-index: 101;
  }

  .brand {
    order: 1;
    flex: 1;
    justify-content: flex-start;
    margin-left: 0;
  }

  .brand-mark {
    height: 14px;
    margin-left: 0;
    transform: scale(2.5);
    transform-origin: left center;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .nav-links {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    order: 3;
    background-color: var(--gold);
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
    max-height: 300px;
    padding: 20px 0;
    gap: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
}
/* --- HERO SECTION --- */
.hero {
  position: relative;
  color: var(--navy);
  padding: 2rem 2.5rem 4rem;
  min-height: calc(100vh - 280px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-top: -20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.8rem;
  line-height: 1.1;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 0 0.8rem 0;
  color: var(--dark-grey);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 26px;
  text-decoration: none;
  border-radius: 30px;
  border: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease, color 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy);
  border: none;
}

.btn-outline {
  border: none;
  color: var(--white);
  background: var(--navy);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--navy);
}

.hero-image-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-width: 320px;
  margin-left: 140px;
  margin-bottom: 0;
}

.hero-img {
  width: min(462px, 85vw);
  max-height: 528px;
  object-fit: contain;
  border-radius: 16px;
  background: transparent;
  opacity: 0.7;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  margin-top: 10px;
}

.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(to bottom, transparent 70%, rgba(248, 249, 250, 0.4) 100%);
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 2;
  display: block;
}

.scroll-indicator {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  animation: float 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .scroll-indicator {
    display: none;
  }
}

.scroll-indicator.hide {
  opacity: 0;
  pointer-events: none;
}

@keyframes float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-15px);
  }
}

.scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-arrow span {
  display: block;
  width: 28px;
  height: 28px;
  border-bottom: 5px solid var(--gold);
  border-right: 5px solid var(--gold);
  transform: rotate(45deg);
  animation: scrollDown 2s infinite;
  opacity: 0;
  box-shadow: 
    2px 2px 4px rgba(212, 175, 55, 0.4),
    inset -2px -2px 4px rgba(255, 255, 255, 0.3);
  filter: brightness(1.1);
}

.scroll-arrow span:nth-child(1) {
  animation-delay: 0s;
}

.scroll-arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-arrow span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-8px, -8px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(8px, 8px);
  }
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
  .info-boxes {
    padding: 2rem 1rem;
  }

  .info-box {
    min-width: 100%;
    padding: 1.5rem 1rem;
  }

  .hero {
    flex-direction: column;
    text-align: left;
    padding: 2rem 1rem 3rem;
    align-items: flex-start;
    background-position: center top;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-image-container {
    margin-left: 0 !important;
    width: 100%;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-image-container {
    justify-content: center;
    margin-top: 2rem;
    margin-left: 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-img {
    width: min(360px, 100%);
    max-height: none;
  }
}
/* --- INFO STRIP --- */
.info-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
  padding: 3rem 2rem;
}

.info-box {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding-bottom: 2.2rem;
}

.white-box {
  background-color: var(--white);
  color: var(--navy);
}

.blue-box {
  background-color: var(--navy);
  color: var(--white);
}

@media (max-width: 768px) {
  .info-strip {
    margin-top: 0;
  }
}
/* --- LATEST ADVICE / SERVICES --- */
.latest-advice {
  position: relative;
  padding: 5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
  margin-top: 0;
}

.latest-advice h2,
.latest-advice .subtitle {
  color: var(--navy);
}

.advice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.advice-card {
  background: linear-gradient(135deg, rgba(247, 249, 251, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), 
              0 2px 8px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.8),
              inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  color: #15243a;
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.3s ease;
}

.advice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(212, 175, 55, 0.3) 25%,
    transparent 50%,
    rgba(27, 63, 107, 0.2) 75%,
    rgba(255, 255, 255, 0.6) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.advice-card:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3),
              0 8px 16px rgba(212, 175, 55, 0.2),
              inset 0 2px 0 rgba(255, 255, 255, 0.9),
              inset 0 -2px 0 rgba(212, 175, 55, 0.3);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(230, 195, 80, 0.9) 100%);
  border-color: rgba(255, 255, 255, 0.8);
}

.advice-card.featured {
  background: linear-gradient(135deg, rgba(31, 86, 117, 0.95) 0%, rgba(27, 63, 107, 0.9) 100%);
  color: #e9f3ff;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 
              0 2px 8px rgba(212, 175, 55, 0.2),
              inset 0 1px 0 rgba(212, 175, 55, 0.4),
              inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.advice-card.featured::before {
  background: linear-gradient(145deg, 
    rgba(212, 175, 55, 0.8) 0%, 
    rgba(255, 255, 255, 0.3) 25%,
    transparent 50%,
    rgba(212, 175, 55, 0.4) 75%,
    rgba(255, 255, 255, 0.5) 100%);
}

.advice-card.featured:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(230, 195, 80, 0.9) 100%);
  color: #15243a;
  border-color: rgba(255, 255, 255, 0.9);
}

.advice-card.featured:hover h4 {
  color: #15243a;
}

.advice-card.featured:hover .advice-icon {
  border-color: rgba(21, 36, 58, 0.25);
  color: #15243a;
}

.advice-card.featured h4 {
  color: #ffffff;
}

.advice-card.featured .advice-icon {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.advice-icon {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  border: 2px solid rgba(21, 36, 58, 0.16);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #1f5675;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  transform: translateZ(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advice-card:hover .advice-icon {
  transform: translateZ(30px) scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 1);
}

.advice-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.advice-icon.placeholder {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.card-content {
  text-align: center;
  padding: 0;
}

.card-content h4 {
  color: #0f1b2c;
  margin: 0 0 0.6rem 0;
  font-size: 1.2rem;
}

.card-content p {
  margin: 0;
  color: inherit;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .latest-advice {
    position: relative;
    padding: 3rem 0;
    overflow: hidden;
    max-width: 100vw;
  }

  .advice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: 2.5rem;
    padding: 0 1rem;
    max-width: 100%;
    width: 100%;
    overflow-x: visible;
  }

  .advice-grid.carousel-mode {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding: 0;
    scroll-behavior: smooth;
  }

  .advice-card {
    flex: none;
    margin: 0;
    box-sizing: border-box;
  }

  .advice-grid.carousel-mode .advice-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    min-width: 100%;
    max-width: 100%;
  }

  .services-nav-btn {
    position: absolute;
    top: calc(55% + 2px);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .services-nav-btn:hover {
    background: var(--navy);
  }

  .services-nav-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--navy);
  }

  .services-nav-btn:hover svg {
    fill: var(--white);
  }

  .services-nav-prev {
    left: 10px;
  }

  .services-nav-next {
    right: 10px;
  }
}
/* --- BUSINESS QUESTIONS SECTION --- */
.business-questions {
  position: relative;
  padding: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.05) 0%, rgba(245,248,250,0.95) 30%, #f5f8fa 50%);
  overflow: visible;
  display: flex;
  min-height: 600px;
}

.business-questions-bg {
  position: relative;
  width: 42%;
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0;
}

.city-background-faded {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.15;
  filter: blur(2px);
  z-index: 0;
}

.city-image-container {
  position: relative;
  width: 45%;
  height: 70%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin: -45px 0 3rem 0;
}

.city-image {
  width: 100%;
  height: 50%;
  object-fit: cover;
  display: block;
}

.city-mirror {
  width: 100%;
  height: 50%;
  object-fit: cover;
  display: block;
  transform: scaleY(-1);
  opacity: 0.7;
  filter: brightness(0.9);
}

.left-bubble {
  position: absolute;
  bottom: 80px;
  right: -50px;
  background: var(--white);
  padding: 2rem 2.5rem;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 280px;
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.left-bubble:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.4);
}

.left-bubble::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid var(--white);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

.left-bubble p {
  margin: 0;
  color: #2c5f7a;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.business-questions-content {
  flex: 1;
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-text {
  margin-bottom: 2rem;
}

.small-header {
  color: var(--gold);
  font-size: 1.105rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin: 0 0 1rem 0;
}

.header-text h2 {
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.law-office {
  font-style: italic;
  color: #5a8a9a;
  font-size: 1.08rem;
  font-weight: 400;
}

.firm-name {
  color: #2c5f7a;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tagline {
  font-style: italic;
  color: #5a8a9a;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 400;
}

.intro-text {
  margin-bottom: 2.5rem;
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 700px;
}

.intro-text strong {
  color: var(--dark-grey);
  font-weight: 600;
}

.right-bubbles {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 700px;
}

.right-bubbles .question-bubble:nth-child(1) {
  margin-top: 0;
}

.right-bubbles .question-bubble:nth-child(2) {
  margin-top: 40px;
}

.right-bubbles .question-bubble:nth-child(3) {
  margin-top: 20px;
}

.right-bubbles .question-bubble {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
}

.question-bubble {
  background: var(--white);
  padding: 1.8rem 2rem;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.question-bubble::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid var(--white);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

.question-bubble:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.4);
}

.question-bubble p {
  margin: 0;
  color: #2c5f7a;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .business-questions {
    flex-direction: column;
    min-height: auto;
    padding: 3rem 1.5rem;
    background: linear-gradient(to bottom, rgba(245, 248, 250, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    position: relative;
  }

  .business-questions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/city_bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
  }

  .business-questions-bg {
    display: none;
  }

  .business-questions-content {
    padding: 0;
    text-align: left;
    position: relative;
    z-index: 1;
  }

  .header-text {
    text-align: left;
    margin-bottom: 2.5rem;
  }

  .small-header {
    font-size: 0.95rem;
  }

  .firm-name {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .intro-text {
    margin-bottom: 2rem;
  }

  .right-bubbles {
    flex-direction: column;
    gap: 1.5rem;
  }

  .right-bubbles .question-bubble {
    margin-top: 0 !important;
    max-width: 100%;
  }
}

/* --- WHO WE ARE --- */
.who-we-are {
  background-color: var(--navy);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
}

.content-side {
  flex: 1;
  padding: 4rem 2rem;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.image-side {
  flex: 1;
  min-width: 300px;
}

.image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
}
/* --- PRACTICE AREAS Q&A SECTION --- */
.practice-areas-qa {
  position: relative;
  padding: 5rem 1.5rem;
  overflow: hidden;
  min-height: 600px;
}

.qa-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.qa-city-background-faded {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.qa-city-image-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
  z-index: 0;
}

.qa-city-image {
  position: absolute;
  bottom: 50%;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0.08;
  object-fit: cover;
}

.qa-city-mirror {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0.05;
  object-fit: cover;
  transform: scaleY(-1);
}

.qa-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.qa-column {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.qa-card {
  background: #f5f5f5;
  border: none;
  padding: 0;
  border-radius: 8px;
  box-shadow: none;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.qa-card:not(.active)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: rgba(74, 155, 157, 0.3);
}

.qa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.qa-card.active {
  background: #f0f9f9;
  border: none;
  border-radius: 8px;
}

.qa-card.active .qa-card-header {
  background: white;
  border: 2px solid rgba(74, 155, 157, 0.3);
  border-radius: 8px 8px 0 0;
  margin: 0;
  width: 100%;
}

.qa-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  cursor: pointer;
}

.qa-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  min-width: 50px;
  font-style: italic;
  transition: color 0.3s ease;
}

.qa-card.active .qa-number {
  color: var(--navy);
}

.qa-title-wrapper {
  flex: 1;
}

.qa-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.qa-question {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

.qa-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qa-icon {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.3s ease;
  display: block;
  line-height: 1;
}

.qa-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 2rem;
}

.qa-card.active .qa-card-body {
  max-height: 500px;
  padding: 2rem;
  background: #f0f9f9;
}

.qa-answer {
  color: var(--dark-grey);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Responsive for Q&A Section */
@media (max-width: 968px) {
  .qa-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- CONTACT --- */
.contact-section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--light-grey);
  color: var(--navy);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  align-items: start;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: var(--white);
  color: var(--dark-grey);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-card a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-card a:hover {
  color: var(--gold);
}

.contact-card.map-card {
  background-color: var(--navy);
  color: var(--white);
}

.map-container {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-form-side {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form-side h3 {
  color: var(--navy);
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (max-width: 968px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 0.5rem;
  }

  .contact-content {
    padding: 0;
    margin: 0 auto;
    width: calc(100% - 2rem);
  }

  .contact-card {
    padding: 1.5rem;
    margin: 0;
  }

  .contact-form-side {
    padding: 1.5rem;
    margin: 0;
  }
}
/* Contact Form Styles */
.contact-form-wrapper {
  width: 100%;
}

.contact-form-wrapper.overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.overlay-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.contact-form-container {
  background: #f5f7fa;
  padding: 2rem;
  border-radius: 8px;
}

.contact-form-container.overlay-form {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  padding-top: 4rem;
}

.close-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gold);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.close-overlay:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #c49a2e;
}

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

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.875rem 1rem;
  border: 2px solid #d4d4d4;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
  border-color: #dc3545;
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.captcha-row {
  align-items: flex-start;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.captcha-display {
  background: #e8e8e8;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.3em;
  text-align: center;
  font-family: 'Courier New', monospace;
  color: #333;
  user-select: none;
  border: 2px solid #d4d4d4;
}

.captcha-reload {
  background: var(--gold);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.captcha-reload:hover {
  background: #c9a82e;
  transform: rotate(180deg);
}

.captcha-reload:active {
  transform: rotate(180deg) scale(0.95);
}

.captcha-row input {
  flex: 1;
}

.error-text {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.success-text {
  color: #28a745;
  font-size: 0.875rem;
  padding: 0.75rem;
  background: #d4edda;
  border-radius: 4px;
  text-align: center;
  display: none;
}

.submit-error {
  padding: 0.75rem;
  background: #f8d7da;
  border-radius: 4px;
  text-align: center;
}

.btn-submit {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  align-self: flex-start;
}

.btn-submit:hover:not(:disabled) {
  background: #c9a82e;
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-container.overlay-form {
    max-height: 85vh;
  }

  .captcha-row {
    grid-template-columns: 1fr;
  }
}
/* --- FOOTER --- */
.footer {
  background-color: #f8f9fa;
  color: #555555;
  padding: 2rem 1.75rem;
  font-size: 0.95rem;
  border-top: 1px solid #e9ecef;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  grid-template-rows: auto auto;
  gap: 1rem 2rem;
  align-items: center;
}

.footer-logo {
  grid-row: 1 / 3;
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 45px;
}

.footer-mark {
  height: 20px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
  transform: scale(3);
  transform-origin: center;
}

.footer-nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: flex-start;
  gap: 7.5rem;
  align-items: center;
  margin-left: 80px;
}

.footer-nav a {
  color: #1b3f6b;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-weight: 700;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-nav span {
  color: #777;
  font-size: 0.9rem;
  font-weight: 400;
}

.footer-nav .footer-divider {
  color: #ccc;
  font-weight: 300;
}

.footer-meta {
  grid-column: 2;
  grid-row: 2;
  color: #999999;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .footer-inner {
    gap: 1rem;
    padding: 0 1.5rem;
  }

  .footer-nav {
    gap: 2rem;
  }

  .footer-nav span,
  .footer-nav .footer-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }

  .footer-logo {
    display: none;
  }

  .footer-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    gap: 0;
  }

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

/* --- INDIVIDUAL SERVICES SECTION --- */
.individual-services {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.individual-services-hero-top {
  background: var(--navy);
  padding: 2rem 40px 1.5rem;
  text-align: center;
}

.section-title-label {
  color: var(--gold);
  font-size: 1.26rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
}

.hero-text-top {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin: 0;
}

.individual-services-hero-middle,
.individual-services-hero-bottom {
  background: linear-gradient(135deg, var(--gold) 0%, #f4a942 100%);
  padding: 2rem 40px 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-text-expand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  opacity: 1;
  transform: scale(1);
  margin-bottom: 2rem;
}

.hero-text-expand span {
  font-size: 5rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0px;
  display: inline-block;
  transition: letter-spacing 0.3s ease-out;
}

.rotating-content-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0.5rem 60px;
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Navigation Arrow Buttons */
.content-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(27, 63, 107, 0.8);
  border: none;
  color: var(--gold);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.content-nav-btn:hover {
  background: var(--navy);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.content-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.content-nav-btn svg {
  width: 24px;
  height: 24px;
}

.content-nav-prev {
  left: 10px;
}

.content-nav-next {
  right: 10px;
}

.rotating-content {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(100px);
  width: 90%;
  max-width: 1200px;
  padding: 0 40px;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rotating-content.active {
  opacity: 1;
  transform: translate(-50%, -50%) translateX(0);
  position: absolute;
  pointer-events: auto;
}

.rotating-content h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  line-height: 1.2;
}

.rotating-content .main-text {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 0.5rem 0;
  line-height: 1.8;
  font-weight: 500;
}

.rotating-content .sub-text {
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.8;
  margin: 0 0 0.5rem 0;
  max-width: 900px;
  margin: 0 auto;
  font-weight: 500;
}

.services-cta {
  text-align: center;
  padding: 0;
  margin-top: 0;
}

.services-cta .btn-gold {
  border: none;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0;
}

.services-cta .btn-gold:hover {
  background: var(--navy);
  color: var(--gold);
}

.individual-services-content {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.services-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 70px;
}

.services-intro .intro-label {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.services-intro h2 {
  font-size: 2.2rem;
  color: var(--navy);
  margin: 0 0 25px 0;
  line-height: 1.3;
  font-weight: 700;
}

.services-intro .intro-description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1024px) {
  .hero-text-top {
    font-size: 4rem;
  }

  .hero-text-expand span {
    font-size: 6rem;
  }

  .hero-text-expand.animate span {
    letter-spacing: 30px;
  }
}

@media (max-width: 768px) {
  .practice-areas-qa {
    padding: 3rem 1rem;
    min-height: 500px;
  }

  .qa-content {
    padding: 0 0.5rem;
  }

  .qa-item {
    padding: 1.5rem 1rem;
  }

  .qa-question {
    font-size: 1rem;
  }

  .individual-services-hero-top {
    padding: 3rem 1.5rem 2rem;
  }

  .hero-text-top {
    font-size: 2.5rem;
    letter-spacing: 3px;
  }

  .individual-services-hero-middle,
  .individual-services-hero-bottom {
    padding: 3rem 1.5rem;
  }

  .hero-text-expand {
    gap: 15px;
    flex-direction: row;
  }

  .hero-text-expand span {
    font-size: 2.5rem;
    letter-spacing: 5px !important;
  }

  .rotating-content-container {
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 500px;
    max-height: 500px;
    display: block;
    position: relative;
    overflow: hidden;
  }

  .rotating-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translate(100%, 100%);
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(27, 63, 107, 0.15);
    transition: none;
    pointer-events: none;
  }

  .rotating-content.scroll-visible {
    animation: slideInFromBottomRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: auto;
  }

  .rotating-content.scroll-exit {
    animation: slideOutToLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  @keyframes slideInFromBottomRight {
    0% {
      opacity: 0;
      transform: translate(100%, 100%);
    }
    100% {
      opacity: 1;
      transform: translate(0, 0);
    }
  }

  @keyframes slideOutToLeft {
    0% {
      opacity: 1;
      transform: translate(0, 0);
    }
    100% {
      opacity: 0;
      transform: translate(-100%, 0);
    }
  }

  .rotating-content h2 {
    font-size: 1.5rem;
  }

  .rotating-content .main-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .rotating-content .sub-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .content-nav-btn {
    display: none;
  }
  
  .content-nav-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .individual-services-hero-top {
    padding: 2rem 1rem 1.5rem;
  }

  .hero-text-top {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .individual-services-hero-middle,
  .individual-services-hero-bottom {
    padding: 2rem 1rem;
  }

  .hero-text-expand span {
    font-size: 2rem;
    letter-spacing: 8px !important;
  }

  .rotating-content h2 {
    font-size: 1.3rem;
  }

  .rotating-content .main-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .rotating-content .sub-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .rotating-content-container {
    min-height: 380px;
    padding: 1.5rem 1rem;
    margin: 0 0.5rem;
  }
  
  .content-nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .content-nav-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .content-nav-prev {
    left: 5px;
  }
  
  .content-nav-next {
    right: 5px;
  }
}
