/* =================================
   CSS RESET & BASE STYLES
   ================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

a {
  color: #1e3a8a;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #d4af37;
}

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

/* =================================
   NAVIGATION
   ================================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(30, 58, 138, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(30, 58, 138, 0.1);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(212, 175, 55, 0.3);
}

.logo a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #cbd5e1;
  font-weight: 400;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: #e2e8f0;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, #f59e0b);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
}

.nav-links a:hover::before,
.nav-links a.active::before {
  width: 80%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #e2e8f0;
  transition: all 0.3s ease;
}

/* =================================
   HERO SECTIONS
   ================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover;
  opacity: 0.15;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
  background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.2s both;
  color: #cbd5e1;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border: 2px solid #d4af37;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.page-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  margin-top: 80px;
  border-bottom: 3px solid #d4af37;
}

.page-hero h1 {
  color: #0f172a;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.2rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
}

/* =================================
   BUTTONS & CTAS
   ================================= */
.cta-primary {
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
  color: #0f172a;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-primary:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  color: #0f172a;
}

.cta-secondary {
  background: transparent;
  color: white;
  padding: 0.875rem 2rem;
  border: 2px solid #d4af37;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.cta-secondary:hover {
  background: #d4af37;
  color: #0f172a;
  border-color: #d4af37;
}

.cta-outline {
  background: transparent;
  color: #1e3a8a;
  padding: 0.875rem 2rem;
  border: 2px solid #1e3a8a;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.cta-outline:hover {
  background: #1e3a8a;
  color: white;
}

.cta-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 6px;
}

.cta-primary.large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

.cta-primary.full-width {
  width: 100%;
  padding: 1rem;
  margin-top: 1rem;
}

/* =================================
   FEATURES SECTION
   ================================= */
.features {
  padding: 6rem 0;
  background: #f8fafc;
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-top: 4px solid #d4af37;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
  border-top-color: #1e3a8a;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card h3 {
  color: #0f172a;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #475569;
}

/* =================================
   PRACTICE AREAS STYLES
   ================================= */
.practice-preview {
  padding: 6rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: #0f172a;
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f59e0b);
  transform: translateX(-50%);
}

.section-header p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.practice-card {
  background: white;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #f59e0b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.practice-card:hover::before {
  transform: scaleX(1);
}

.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
  border-color: #1e3a8a;
}

.practice-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.practice-card h3 {
  color: #0f172a;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.practice-card p {
  color: #475569;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Enhanced Practice Areas Page */
.practice-areas-detailed {
  padding: 4rem 0;
  background: #f8fafc;
}

.practice-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #cbd5e1;
  background: white;
  color: #475569;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.practice-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* smaller min width */
  gap: 1.5rem; /* space between cards */
}

.practice-detail-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.practice-detail-card {
  font-size: 0.95rem;  /* slightly smaller text */
}

.practice-detail-card h2 {
  font-size: 1.2rem;   /* smaller titles */
}


.practice-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15);
}

.practice-card-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.practice-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f59e0b);
}

.practice-large-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  color: #d4af37;
}

.practice-card-header h2 {
  color: white;
  margin-bottom: 0;
  font-size: 1.75rem;
}

.practice-card-content {
  padding: 2rem;
}

.practice-summary {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.practice-services {
  list-style: none;
  margin-bottom: 2rem;
}

.practice-services li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: #374151;
}

.practice-services li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #d4af37;
  font-weight: bold;
}

.practice-cta {
  text-align: center;
}

/* =================================
   TEAM SECTIONS
   ================================= */
.team-preview {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.team-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.team-text h2 {
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.team-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #475569;
}

.team-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

/* Enhanced Team Page */
.team-leadership {
  padding: 4rem 0;
  background: white;
}

.leadership-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
  border: 1px solid #e2e8f0;
  border-left: 4px solid #d4af37;
}

.leader-image {
  position: relative;
  text-align: center;
}

.leader-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
}

.leader-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.leader-info h2 {
  color: #0f172a;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.leader-title {
  font-size: 1.25rem;
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 1rem;
}

.leader-credentials {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.credential {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  color: #1e3a8a;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(30, 58, 138, 0.2);
}

.leader-bio {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #374151;
}

.leader-specialties,
.leader-achievements {
  margin-bottom: 2rem;
}

.leader-specialties h4,
.leader-achievements h4 {
  color: #0f172a;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.specialty-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.leader-achievements ul {
  list-style: none;
}

.leader-achievements li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: #374151;
}

.leader-achievements li::before {
  content: '🏆';
  position: absolute;
  left: 0;
}

.team-associates {
  padding: 4rem 0;
  background: #f8fafc;
}

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

.attorney-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #d4af37;
max-width:inherit
}

.attorney-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15);
  border-top-color: #1e3a8a;
}

.attorney-image {
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.attorney-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.attorney-card:hover .attorney-image img {
  transform: scale(1.05);
}

.attorney-info {
  padding: 2rem;
}

.attorney-info h3 {
  color: #0f172a;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.attorney-title {
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.attorney-credentials {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
/* Reduce associate card size */
.associates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* smaller min width */
  gap: 20px; /* space between cards */
}

.attorney-card {
  padding: 15px;          /* reduce padding inside the card */
  font-size: 0.9rem;      /* slightly smaller text */
  max-width: 240px;       /* control card width */
  margin: 0 auto;         /* center cards if smaller */
}

.attorney-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;     /* keep it clean */
}

.attorney-credentials span {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  color: #1e3a8a;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.attorney-bio {
  margin-bottom: 1.5rem;
  color: #374151;
  line-height: 1.7;
}

.attorney-practice-areas,
.attorney-education {
  margin-bottom: 1.5rem;
}

.attorney-practice-areas h5,
.attorney-education h5 {
  color: #0f172a;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.practice-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.practice-tags span {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 0.375rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.attorney-education ul {
  list-style: none;
}

.attorney-education li {
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.team-values {
  padding: 4rem 0;
  background: white;
}

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

.value-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.value-item:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  transform: translateY(-5px);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.value-item h4 {
  color: #0f172a;
  margin-bottom: 1rem;
}

.value-item p {
  color: #475569;
}

/* =================================
   CONTACT STYLES
   ================================= */
.contact-methods {
  padding: 4rem 0;
  background: white;
}

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

.contact-method {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid #cbd5e1;
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(30, 58, 138, 0.15);
  border-color: #d4af37;
}

.method-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-method h3 {
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.contact-method a {
  color: #1e3a8a;
  font-weight: 600;
}

.contact-method a:hover {
  color: #d4af37;
}

.method-desc {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-form-section {
  padding: 4rem 0;
  background: #f8fafc;
}

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.form-column h2 {
  color: #0f172a;
  margin-bottom: 1rem;
}

.form-intro {
  color: #64748b;
  margin-bottom: 2rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

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

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

.form-group label {
  display: block;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #d4af37;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: #d4af37;
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #dc2626;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 2px solid #10b981;
}

.form-success.show {
  display: block;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #10b981;
}

.form-success h3 {
  color: #10b981;
  margin-bottom: 1rem;
}

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

.contact-info-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  border-left: 4px solid #d4af37;
}

.contact-info-card h3 {
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item strong {
  color: #1e3a8a;
  display: block;
  margin-bottom: 0.5rem;
}

.info-item p {
  margin-bottom: 0;
  color: #374151;
}

.info-item a {
  color: #1e3a8a;
  font-weight: 500;
}

.info-item a:hover {
  color: #d4af37;
}

.map-container h4 {
  color: #0f172a;
  margin-bottom: 1rem;
}

.map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid #d4af37;
}

.emergency-contact {
  padding: 3rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
  text-align: center;
}

.emergency-content h3 {
  color: white;
  margin-bottom: 1rem;
}

.emergency-content p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.emergency-phone {
  display: inline-block;
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
  color: #0f172a;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.25rem;
  text-decoration: none;
  margin: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.emergency-phone:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  color: #0f172a;
}

.emergency-note {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* =================================
   ABOUT PAGE SPECIFIC
   ================================= */
.about-story {
  padding: 4rem 0;
  background: white;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text h2 {
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #1e3a8a;
}

.story-text p {
  color: #475569;
}

.story-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
}

.vision-mission {
  padding: 4rem 0;
  background: #f8fafc;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.vm-card {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
}

.vm-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vision-card {
  border-top: 4px solid #1e3a8a;
}

.mission-card {
  border-top: 4px solid #d4af37;
}

.vm-card h3 {
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.about-vision blockquote {
  font-size: 1.3rem;
  font-style: italic;
  color: #333;
  
  padding-left: 1rem;
  margin: 1.5rem 0;
}
.vm-card blockquote {
  font-style: italic;
  font-size: 1.3rem;
  color: #4b5563;
border-left: 4px solid #0056b3;  
    padding: 0;
    padding-left: 1rem
  margin: 1.5rem 0;
}

.core-values {
  padding: 4rem 0;
  background: white;
}

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

.value-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #cbd5e1;
}

.value-card:hover {
  background: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(30, 58, 138, 0.1);
  border-color: #d4af37;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.value-card h4 {
  color: #0f172a;
  margin-bottom: 1rem;
}

.value-card p {
  color: #475569;
}

.why-choose {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
}

.why-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-content h2 {
  color: white;
  margin-bottom: 2rem;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-point {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.point-number {
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
  color: #0f172a;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.point-content h4 {
  color: white;
  margin-bottom: 0.5rem;
}

.point-content p {
  opacity: 0.9;
  margin-bottom: 0;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #d4af37;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

/* =================================
   CALL-TO-ACTION SECTIONS
   ================================= */
.contact-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
  text-align: center;
}

.contact-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.contact-content p {
  margin-bottom: 2rem;
  opacity: 0.9;
  font-size: 1.1rem;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.consultation-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  text-align: center;
}

.cta-content h2 {
  color: #0f172a;
  margin-bottom: 1rem;
}

.cta-content p {
  margin-bottom: 2rem;
  color: #64748b;
  font-size: 1.1rem;
}

/* =================================
   FOOTER
   ================================= */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 3rem 0 1rem;
}

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

.footer-section h3 {
  color: #d4af37;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #cbd5e1;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #d4af37;
}

.footer-section p {
  color: #94a3b8;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  text-align: center;
  color: #94a3b8;
}

/* =================================
   ANIMATIONS
   ================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .team-content,
  .story-content,
  .why-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .leadership-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f172a;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    gap: 1rem;
    border-top: 2px solid #d4af37;
  }
  
  .nav-links.mobile-open {
    display: flex;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .features-grid,
  .practice-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .practice-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .associates-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .vm-grid {
    grid-template-columns: 1fr;
  }
  
  .why-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .page-hero {
    padding: 6rem 0 3rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .leadership-card {
    padding: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .why-stats {
    grid-template-columns: 1fr;
  }
}

/* =================================
   UTILITY CLASSES
   ================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.visible { display: block; }

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
  animation: slideInFromLeft 0.6s ease-out;
}

.slide-in-right {
  animation: slideInFromRight 0.6s ease-out;
}

.pulse {
  animation: pulse 2s infinite;
}

/* =================================
   LOADING STATES
   ================================= */
.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #1e3a8a;
  border-top: 2px solid #d4af37;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* =================================
   ACCESSIBILITY IMPROVEMENTS
   ================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus styles for keyboard navigation */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .practice-card,
  .feature-card,
  .attorney-card {
    border: 2px solid #000;
  }
  
  .cta-primary {
    border: 2px solid #000;
  }
}

/* =================================
   ENHANCED INTERACTIVE ELEMENTS
   ================================= */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-shimmer:hover::before {
  left: 100%;
}

/* Floating elements */
.float {
  animation: float 3s ease-in-out infinite;
}

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

/* Gradient text effects */
.gradient-text {
  background: linear-gradient(135deg, #1e3a8a 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced shadows */
.shadow-luxury {
  box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.25);
}

.shadow-gold {
  box-shadow: 0 20px 25px -5px rgba(212, 175, 55, 0.1), 0 10px 10px -5px rgba(212, 175, 55, 0.04);
}

/* =================================
   PRINT STYLES
   ================================= */
@media print {
  .navbar,
  .hero,
  .contact-banner,
  .consultation-cta,
  .emergency-contact {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: black;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
    color: black;
  }
  
  .practice-detail-card,
  .attorney-card {
    page-break-inside: avoid;
    margin-bottom: 2rem;
    border: 1px solid #ccc;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}