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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #000;
}

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

/* Header Styles */
.header {
  /* Reverted background from bright black back to white */
  background: white;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Reduced z-index to prevent covering page content */
  z-index: 100;
  /* Added smooth transition for auto-hide functionality */
  transition: transform 0.3s ease-in-out;
}

.header.hidden {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 3rem;
  height: 3rem;
  background: #b91c1c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-text h1 {
  font-size: 1.25rem;
  font-weight: 700;
  /* Reverted logo text color back to dark */
  color: #1f2937;
  line-height: 1;
}

.logo-text p {
  font-size: 0.875rem;
  /* Reverted logo subtitle back to gray */
  color: #6b7280;
  font-weight: 500;
  line-height: 1;
}

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

.nav a {
  text-decoration: none;
  /* Reverted navigation text color back to dark */
  color: #374151;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a.active {
  color: #b91c1c;
  font-weight: 600;
}

.nav a:hover {
  color: #b91c1c;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  /* Reverted mobile menu button color back to dark */
  color: #374151;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #000 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Updated margin-top to use CSS variable for header height */
  margin-top: var(--header-height, 80px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.2;
}

.scales-bg {
  position: relative;
  color: #ef4444;
}

.circle-1 {
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: 8rem;
  height: 8rem;
  border: 4px solid #ef4444;
  border-radius: 50%;
  opacity: 0.6;
}

.circle-2 {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 6rem;
  height: 6rem;
  border: 4px solid #f87171;
  border-radius: 50%;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 64rem;
  padding: 0 1.5rem;
}

.avatar {
  margin-bottom: 2rem;
}

.avatar img {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  border: 4px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #fecaca;
  margin-bottom: 3rem;
  font-weight: 300;
}

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

.quote-text {
  font-size: 1.25rem;
  font-style: italic;
  color: #fef2f2;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.quote-author {
  font-size: 1.125rem;
  color: #fca5a5;
}

/* Modernized hero buttons with better styling and hover effects */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 240px;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
}

.hero-buttons .btn-primary:hover {
  background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.hero-buttons .btn-secondary {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: white;
}

.hero-buttons .btn-secondary:hover {
  background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.hero-buttons .btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .hero-buttons .btn {
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .hero-buttons .btn {
    min-width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
  }
}

/* Improved mobile responsiveness for hero section */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 2rem 1rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .avatar img {
    width: 8rem;
    height: 8rem;
  }

  .hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }

  .quote-text {
    font-size: 1rem;
    line-height: 1.5;
  }

  .quote-author {
    font-size: 1rem;
  }

  .hero-quote {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1.5rem 0.75rem;
    margin-top: 60px;
  }

  .hero-content {
    padding: 0 0.75rem;
  }

  .avatar {
    margin-bottom: 1.5rem;
  }

  .avatar img {
    width: 6rem;
    height: 6rem;
  }

  .hero-title {
    font-size: 1.875rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
  }

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

  .quote-text {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .quote-author {
    font-size: 0.875rem;
  }

  .hero-quote {
    margin-bottom: 1.5rem;
  }
}

/* Main Content */
.main-content {
  background: #111827;
  color: white;
  padding: 4rem 0;
  /* Added padding-top to account for fixed header */
  padding-top: calc(4rem + var(--header-height, 80px));
}

.section {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* Card Styles */
.card {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.5rem;
  overflow: hidden;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid #374151;
}

.card-header h2 {
  font-size: 1.875rem;
  color: #f87171;
  margin-bottom: 0.5rem;
}

.card-description {
  color: #9ca3af;
  font-size: 1.125rem;
}

.card-content {
  padding: 1.5rem;
}

.card-content p {
  color: #d1d5db;
  line-height: 1.75;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

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

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-item {
  text-align: center;
  padding: 1.5rem;
  background: #374151;
  border-radius: 0.5rem;
}

.service-item.featured {
  background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
  border: 2px solid #f87171;
}

.service-icon {
  color: #f87171;
  margin: 0 auto 1rem;
  width: 48px;
  height: 48px;
}

.service-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.service-item p {
  color: #d1d5db;
  margin: 0;
}

.service-details {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  text-align: left;
}

.service-details li {
  color: #d1d5db;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.service-details li::before {
  content: "✓";
  color: #f87171;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Experience Grid */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.experience-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.experience-item h3 svg {
  color: #f87171;
}

.education-item {
  margin-bottom: 0.75rem;
}

.school {
  font-weight: 500;
  color: white;
  margin-bottom: 0.25rem;
}

.degree {
  color: #9ca3af;
  margin: 0;
}

.bar-list p {
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

.separator {
  height: 1px;
  background: #4b5563;
  margin: 1.5rem 0;
}

.achievements h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

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

.achievements-column p {
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: #374151;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid #ef4444;
}

.testimonial-text {
  color: #d1d5db;
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 500;
  color: white;
  margin: 0;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon {
  background: #dc2626;
  padding: 0.75rem;
  border-radius: 0.5rem;
  color: white;
  flex-shrink: 0;
}

.contact-label {
  font-weight: 500;
  color: white;
  margin-bottom: 0.25rem;
}

.contact-value {
  color: #9ca3af;
  margin: 0;
}

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

.contact-note {
  color: #9ca3af;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.contact-actions {
  text-align: center;
  margin-top: 2rem;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
}

.whatsapp-button a {
  position: relative;
  display: block;
  text-decoration: none;
}

.whatsapp-icon {
  background: #25d366;
  color: white;
  padding: 1rem;
  border-radius: 50%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-icon:hover {
  background: #128c7e;
  transform: scale(1.1);
}

.whatsapp-tooltip {
  position: absolute;
  bottom: 120%;
  right: 0;
  background: #1f2937;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 1rem;
  border: 4px solid transparent;
  border-top-color: #1f2937;
}

.whatsapp-button a:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Page Header Styles */
.page-header {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #000 100%);
  color: white;
  text-align: center;
  padding: 6rem 0 4rem;
  margin-top: var(--header-height, 80px);
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
  font-size: 1.25rem;
  color: #fecaca;
  font-weight: 300;
}

@media (max-width: 768px) {
  .page-header {
    padding: 5rem 0 3rem;
  }

  .page-header h1 {
    font-size: 2.25rem;
  }

  .page-header p {
    font-size: 1.125rem;
  }
}

/* About Page Specific Styles */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text h2 {
  font-size: 2.25rem;
  color: #f87171;
  margin-bottom: 1.5rem;
}

.about-text .lead {
  font-size: 1.25rem;
  color: #e5e7eb;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-text h3 {
  font-size: 1.5rem;
  color: #f87171;
  margin: 2rem 0 1rem;
}

.values-list {
  list-style: none;
  padding: 0;
}

.values-list li {
  color: #d1d5db;
  margin-bottom: 1rem;
  padding-left: 1rem;
  position: relative;
}

.values-list li::before {
  content: "•";
  color: #f87171;
  font-weight: bold;
  position: absolute;
  left: 0;
}

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

.about-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 0.5rem;
  border: 4px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

.image-caption {
  margin-top: 1rem;
}

.image-caption p {
  color: #e5e7eb;
  font-weight: 500;
  margin: 0;
}

.image-caption span {
  color: #9ca3af;
  font-weight: 400;
  font-size: 0.875rem;
}

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

@media (max-width: 480px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Process Steps Styles */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: #dc2626;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-step h3 {
  font-size: 1.25rem;
  color: #f87171;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: #d1d5db;
  margin: 0;
}

/* CTA Card Styles */
.cta-card {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
  border: none;
  text-align: center;
}

.cta-card h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-card p {
  color: #fecaca;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* Modern Card and Layout Styles */
.modern-card {
  background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
  border: 1px solid #374151;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.section-header {
  padding: 3rem 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f87171;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 0;
  font-weight: 400;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #dc2626 0%, #f87171 100%);
  margin: 2rem auto 0;
  border-radius: 2px;
}

.content-wrapper {
  padding: 3rem;
}

.text-content {
  max-width: none;
}

.lead-text {
  font-size: 1.375rem;
  font-weight: 500;
  color: #e5e7eb;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.content-wrapper p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(185, 28, 28, 0.05) 100%);
  border-left: 4px solid #dc2626;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.highlight-box p {
  margin: 0;
  color: #fecaca;
}

/* Modern Values Grid with Card-Based Layout */
.values-section {
  margin-top: 3rem;
}

.values-section h3 {
  font-size: 1.875rem;
  color: #f87171;
  margin-bottom: 2rem;
  text-align: center;
}

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

.value-card {
  background: linear-gradient(145deg, #374151 0%, #2d3748 100%);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #4b5563;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  border-color: #f87171;
}

.value-icon {
  background: linear-gradient(135deg, #dc2626 0%, #f87171 100%);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.value-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: #d1d5db;
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

/* Modern Services Section Styling */
.services-intro {
  margin-bottom: 3rem;
}

.services-intro h3 {
  font-size: 1.875rem;
  color: #f87171;
  margin-bottom: 1.5rem;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-item-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(55, 65, 81, 0.5);
  border-radius: 0.5rem;
  border: 1px solid #4b5563;
}

.service-item-inline svg {
  color: #10b981;
  flex-shrink: 0;
}

.service-item-inline span {
  color: #e5e7eb;
  font-weight: 500;
}

.practice-areas-section {
  margin-top: 3rem;
}

.practice-areas-section h3 {
  font-size: 1.875rem;
  color: #f87171;
  margin-bottom: 2rem;
  text-align: center;
}

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

.practice-area-card {
  background: linear-gradient(145deg, #374151 0%, #2d3748 100%);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #4b5563;
  text-align: center;
  transition: all 0.3s ease;
}

.practice-area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  border-color: #f87171;
}

.practice-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.practice-area-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

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

.practice-area-card li {
  color: #d1d5db;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.practice-area-card li::before {
  content: "•";
  color: #f87171;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Modern Contact Section Styling */
.contact-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: linear-gradient(145deg, #374151 0%, #2d3748 100%);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #4b5563;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  border-color: #f87171;
}

.contact-icon-modern {
  background: linear-gradient(135deg, #dc2626 0%, #f87171 100%);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: #d1d5db;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.useful-links-section {
  margin: 3rem 0;
}

.useful-links-section h3 {
  font-size: 1.875rem;
  color: #f87171;
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.link-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #4b5563;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #e5e7eb;
  transition: all 0.3s ease;
}

.link-card:hover {
  background: rgba(220, 38, 38, 0.1);
  border-color: #f87171;
  color: #fecaca;
}

.link-card svg {
  color: #f87171;
  flex-shrink: 0;
}

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

/* Improved Responsive Design for Mobile Devices */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    /* Set appropriate z-index for mobile menu */
    z-index: 99;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    display: block;
    width: 100%;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .mobile-menu-btn {
    display: block;
    padding: 0.5rem;
  }

  .header-content {
    position: relative;
  }

  .logo-text h1 {
    font-size: 1.1rem;
  }

  .logo-text p {
    font-size: 0.75rem;
  }

  .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header {
    padding: 2rem 1.5rem 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .content-wrapper {
    padding: 2rem 1.5rem;
  }

  .lead-text {
    font-size: 1.25rem;
  }

  .values-grid,
  .practice-areas-grid,
  .contact-grid-modern {
    grid-template-columns: 1fr;
  }

  .value-card,
  .practice-area-card,
  .contact-card {
    padding: 1.5rem;
  }

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

@media (max-width: 480px) {
  .header-content {
    padding: 0.75rem 0;
  }

  .logo-text h1 {
    font-size: 1rem;
  }

  .logo-text p {
    font-size: 0.7rem;
  }

  .logo-icon {
    width: 2rem;
    height: 2rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .content-wrapper {
    padding: 1.5rem 1rem;
  }

  .section-header {
    padding: 1.5rem 1rem 1rem;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
.nav a:focus {
  outline: 2px solid #f87171;
  outline-offset: 2px;
}

    #divAkerSoftwareCopyrightContent {
            display: flex;
            clear: both;
            align-items: center;
            justify-content: center;
            background-color: black;
        }
        .mobilAkerSoftwareLogo {
            text-align: center;
            line-height: 1;
            margin-top: 10px;
            margin-bottom: 5px;
        }
