/* Ultra-Modern Footer Styles - Next-Gen Footer Design */

:root {
  --footer-primary: #0b1730;
  --footer-primary-light: #1f3c88;
  --footer-secondary: #b08d57;
  --footer-accent: #2d4a96;
  --footer-white: #ffffff;
  --footer-gray-100: #f8fafc;
  --footer-gray-200: #e5e7eb;
  --footer-gray-300: #cbd5e1;
  --footer-gray-400: #94a3b8;
  --footer-gray-500: #64748b;
  --footer-gray-600: #475569;
  --footer-dark: #0f172a;
  --footer-success: #22c55e;
  --footer-warning: #f59e0b;
  --footer-danger: #ef4444;
  --footer-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --footer-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --footer-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
  --footer-shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.2);
}

/* Main Footer Container */
.footer-ultra-modern {
  position: relative;
  overflow: hidden;
}

/* Newsletter Section - Compact */
.footer-newsletter {
  background: linear-gradient(135deg, var(--footer-primary-light) 0%, var(--footer-accent) 50%, var(--footer-primary) 100%);
  position: relative;
  padding: 50px 0;
  overflow: hidden;
}

.footer-newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.03) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.newsletter-content {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.newsletter-info {
  flex: 1;
  color: white;
}

.newsletter-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ffffff, #e5edff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.newsletter-desc {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0;
  max-width: 500px;
}

.newsletter-form {
  flex: 1;
  max-width: 500px;
}

.newsletter-form-wrapper {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--footer-shadow-lg);
}

.form-group {
  position: relative;
  margin-bottom: 16px;
}

.newsletter-input {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  color: var(--footer-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.newsletter-input:focus {
  outline: none;
  background: white;
  border-color: var(--footer-secondary);
  box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.1);
  transform: translateY(-2px);
}

.newsletter-input::placeholder {
  color: var(--footer-gray-500);
}

.newsletter-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--footer-secondary), #c4a674);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(176, 141, 87, 0.3);
}

.newsletter-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(176, 141, 87, 0.4);
  background: linear-gradient(135deg, #c4a674, var(--footer-secondary));
}

.newsletter-privacy {
  text-align: center;
  margin-top: 12px;
}

.newsletter-privacy small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

/* Main Footer Content - Compact */
.footer-main {
  background: var(--footer-primary);
  padding: 50px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

/* 4-Column Layout Specific Styles */
.footer-4col {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
}

.footer-4col .footer-section {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.footer-4col .footer-company {
  justify-content: flex-start;
}

.footer-4col .footer-nakuru,
.footer-4col .footer-nyahururu {
  justify-content: flex-start;
}

.footer-4col .footer-links {
  justify-content: space-between;
}

.footer-section {
  position: relative;
}

/* Company Section */
.footer-company {
  max-width: none;
}

.company-brand {
  margin-bottom: 24px;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(176, 141, 87, 0.2);
}

.footer-logo:hover {
  transform: scale(1.05);
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(176, 141, 87, 0.4);
}

.company-tagline {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tagline-main {
  color: var(--footer-secondary);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
}

.tagline-sub {
  color: var(--footer-gray-400);
  font-size: 13px;
  font-weight: 500;
}

.company-desc {
  color: var(--footer-gray-300);
  line-height: 1.7;
  margin-bottom: 32px;
  font-size: 15px;
}

/* Awards Section */
.awards-section {
  margin-top: 32px;
}

.awards-title {
  color: var(--footer-white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.awards-title i {
  color: var(--footer-secondary);
  font-size: 20px;
}

.awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.award-badge {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.award-badge:hover {
  background: rgba(176, 141, 87, 0.1);
  border-color: rgba(176, 141, 87, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--footer-shadow-md);
}

.award-year {
  color: var(--footer-secondary);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.award-name {
  color: var(--footer-gray-300);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

/* Section Titles */
.section-title {
  color: var(--footer-white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--footer-secondary), transparent);
}

.section-icon {
  color: var(--footer-secondary);
  font-size: 22px;
}

/* Practice Areas Section */
.practice-categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.practice-category {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.practice-category:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.category-title {
  color: var(--footer-white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-title::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--footer-secondary);
  border-radius: 50%;
}

.category-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.practice-link {
  color: var(--footer-gray-300);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  display: block;
}

.practice-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--footer-secondary);
  transition: width 0.3s ease;
}

.practice-link:hover {
  color: var(--footer-white);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  padding-left: 20px;
}

.practice-link:hover::before {
  width: 12px;
}

.view-all-practices {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.view-all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--footer-primary-light), var(--footer-accent));
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--footer-shadow-sm);
}

.view-all-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--footer-shadow-md);
  color: white;
  text-decoration: none;
}

/* Locations Section */
.locations-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 141, 87, 0.05), transparent);
  transition: left 0.6s;
}

.location-card:hover::before {
  left: 100%;
}

.location-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(176, 141, 87, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--footer-shadow-lg);
}

.location-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.location-name {
  color: var(--footer-white);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.location-badge {
  background: var(--footer-secondary);
  color: var(--footer-white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.location-address {
  margin-bottom: 16px;
}

.location-address p {
  color: var(--footer-gray-300);
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

.location-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--footer-gray-300);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.contact-link:hover {
  color: var(--footer-secondary);
  background: rgba(176, 141, 87, 0.1);
  border-color: rgba(176, 141, 87, 0.2);
  text-decoration: none;
  transform: translateX(4px);
}

.contact-link i {
  width: 16px;
  text-align: center;
  color: var(--footer-secondary);
}

/* Contact Section */
.contact-primary {
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--footer-secondary), #c4a674);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info {
  flex: 1;
}

.contact-label {
  color: var(--footer-gray-400);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  display: block;
}

.contact-value {
  color: var(--footer-white);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value:hover {
  color: var(--footer-secondary);
  text-decoration: none;
}

/* Business Hours */
.business-hours {
  margin-bottom: 32px;
}

.hours-title {
  color: var(--footer-white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.hours-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.hours-day {
  color: var(--footer-gray-300);
  font-size: 14px;
  font-weight: 500;
}

.hours-time {
  color: var(--footer-white);
  font-size: 14px;
  font-weight: 600;
}

/* Emergency Support */
.emergency-support {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.emergency-support::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

.emergency-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.emergency-icon {
  color: #fef2f2;
  font-size: 24px;
  margin-top: 4px;
}

.emergency-text h4 {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.emergency-text p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 14px;
}

.emergency-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.emergency-button:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

/* Quick Actions */
.quick-actions {
  margin-top: 32px;
}

.actions-title {
  color: var(--footer-white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--footer-gray-300);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-btn:hover {
  background: rgba(176, 141, 87, 0.1);
  border-color: rgba(176, 141, 87, 0.2);
  color: var(--footer-secondary);
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: var(--footer-shadow-md);
}

.action-btn i {
  font-size: 18px;
  color: var(--footer-secondary);
}

/* Social & Legal Section */
.footer-social-legal {
  background: linear-gradient(135deg, var(--footer-dark), var(--footer-primary));
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.social-title,
.legal-title {
  color: var(--footer-white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.social-title::after,
.legal-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--footer-secondary);
}

/* Social Links */
.social-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: var(--footer-gray-300);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: var(--footer-shadow-lg);
}

.social-link.facebook::before { background: linear-gradient(90deg, transparent, rgba(66, 103, 178, 0.1), transparent); }
.social-link.facebook:hover { border-color: #4267B2; color: #4267B2; }

.social-link.twitter::before { background: linear-gradient(90deg, transparent, rgba(29, 161, 242, 0.1), transparent); }
.social-link.twitter:hover { border-color: #1DA1F2; color: #1DA1F2; }

.social-link.linkedin::before { background: linear-gradient(90deg, transparent, rgba(0, 119, 181, 0.1), transparent); }
.social-link.linkedin:hover { border-color: #0077B5; color: #0077B5; }

.social-link.instagram::before { background: linear-gradient(90deg, transparent, rgba(225, 48, 108, 0.1), transparent); }
.social-link.instagram:hover { border-color: #E1306C; color: #E1306C; }

.social-link i {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

/* Legal Links */
.legal-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--footer-gray-300);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(176, 141, 87, 0.2);
  color: var(--footer-secondary);
  text-decoration: none;
  transform: translateX(8px);
}

.legal-link i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: var(--footer-secondary);
}

/* Copyright Section */
.footer-copyright {
  background: var(--footer-dark);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.copyright-text p {
  color: var(--footer-gray-400);
  margin: 0;
  font-size: 14px;
}

.separator {
  color: var(--footer-gray-500);
  margin: 0 12px;
}

.powered-by {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--footer-gray-400);
  font-size: 14px;
}

.developer-link {
  color: var(--footer-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.developer-link:hover {
  color: #c4a674;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-grid,
  .footer-4col {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  
  .footer-4col .footer-company {
    grid-column: span 3;
  }
  
  .footer-4col .footer-nakuru {
    grid-column: 1;
  }
  
  .footer-4col .footer-nyahururu {
    grid-column: 2;
  }
  
  .footer-4col .footer-links {
    grid-column: 3;
  }
  
  .newsletter-content {
    gap: 40px;
  }
  
  .awards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .footer-grid,
  .footer-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .footer-4col .footer-company {
    grid-column: span 2;
  }
  
  .footer-4col .footer-nakuru,
  .footer-4col .footer-nyahururu,
  .footer-4col .footer-links {
    grid-column: span 1;
  }
  
  .newsletter-content {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  
  .footer-bottom-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .social-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer-newsletter {
    padding: 60px 0;
  }
  
  .footer-main {
    padding: 80px 0 40px;
  }
  
  .footer-grid,
  .footer-4col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-4col .footer-company,
  .footer-4col .footer-nakuru,
  .footer-4col .footer-nyahururu,
  .footer-4col .footer-links {
    grid-column: span 1;
  }
  
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .actions-grid {
    grid-template-columns: 1fr;
  }
  
  .locations-grid {
    gap: 16px;
  }
  
  .location-card {
    padding: 20px;
  }
  
  .copyright-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .footer-social-legal {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .newsletter-form-wrapper {
    padding: 24px;
  }
  
  .newsletter-title {
    font-size: 28px;
  }
  
  .newsletter-desc {
    font-size: 16px;
  }
  
  .footer-main {
    padding: 60px 0 32px;
  }
  
  .footer-grid {
    gap: 24px;
  }
  
  .practice-categories {
    gap: 16px;
  }
  
  .practice-category {
    padding: 16px;
  }
  
  .location-card {
    padding: 16px;
  }
  
  .location-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .emergency-support {
    padding: 20px;
  }
  
  .contact-item {
    padding: 12px 16px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* Animation utilities */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Enhanced Styles for New Footer Layout */

/* Company Section Enhancements */
.footer-company .contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.footer-company .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--footer-gray-300);
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-company .contact-item:hover {
  color: var(--footer-secondary);
  transform: translateX(4px);
}

.footer-company .contact-item i {
  width: 20px;
  text-align: center;
  color: var(--footer-secondary);
  font-size: 16px;
}

.footer-company .contact-item a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-company .contact-item a:hover {
  color: var(--footer-secondary);
  text-decoration: none;
}

/* Enhanced Practice Areas */
.footer-practice .practice-links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.footer-practice .practice-links li {
  margin-bottom: 10px;
}

.footer-practice .practice-link {
  color: var(--footer-gray-300);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid transparent;
}

.footer-practice .practice-link:before {
  content: '→';
  color: var(--footer-secondary);
  font-weight: bold;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.footer-practice .practice-link:hover {
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--footer-secondary);
  transform: translateX(4px);
}

.footer-practice .practice-link:hover:before {
  opacity: 1;
  transform: translateX(2px);
}

/* Enhanced Location Cards */
.footer-locations .location-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.footer-locations .location-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(176, 141, 87, 0.2);
  transform: translateY(-2px);
}

.footer-locations .location-name {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-locations .location-badge {
  background: var(--footer-secondary);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-locations .location-address {
  color: var(--footer-gray-300);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-locations .location-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-locations .contact-link {
  color: var(--footer-gray-400);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  padding: 4px 0;
}

.footer-locations .contact-link:hover {
  color: var(--footer-secondary);
  text-decoration: none;
  transform: translateX(2px);
}

.footer-locations .contact-link i {
  width: 16px;
  text-align: center;
  color: var(--footer-secondary);
}

/* Quick Links Section - Enhanced */
.footer-links .quick-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.quick-link {
  color: var(--footer-gray-300);
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-link:hover {
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--footer-secondary);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(6px) translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quick-link i {
  width: 20px;
  text-align: center;
  color: var(--footer-secondary);
  font-size: 16px;
  transition: all 0.3s ease;
}

.quick-link:hover i {
  transform: scale(1.1);
  color: var(--footer-secondary);
}

/* Enhanced Business Hours */
.footer-links .business-hours {
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links .hours-title {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links .hours-title i {
  color: var(--footer-secondary);
  font-size: 16px;
}

.footer-links .hours-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links .hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links .hours-item:last-child {
  border-bottom: none;
}

.footer-links .hours-day {
  color: var(--footer-gray-300);
  font-size: 14px;
  font-weight: 500;
}

.footer-links .hours-time {
  color: var(--footer-secondary);
  font-size: 14px;
  font-weight: 600;
}

/* Social Media Icons */
.social-media {
  margin-top: 32px;
}

.social-title {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--footer-gray-300);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 18px;
}

.social-icon:hover {
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-icon.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: white;
}

.social-icon.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
  color: white;
}

.social-icon.linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: white;
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #bc1888;
  color: white;
}

.social-icon.email:hover {
  background: #ea4335;
  border-color: #ea4335;
  color: white;
}

.social-icon.website:hover {
  background: var(--footer-secondary);
  border-color: var(--footer-secondary);
  color: white;
}

/* Footer Section Balance & Spacing */
.footer-company {
  padding-right: 20px;
}

.footer-locations .location-card {
  margin-bottom: 24px;
}

.footer-locations .location-card:last-child {
  margin-bottom: 0;
}

.footer-links .quick-links {
  margin-bottom: 24px;
}

.footer-links .social-media {
  margin-top: 24px;
}

/* Enhanced Responsive Styles - Compact */
@media (max-width: 992px) {
  .footer-newsletter {
    padding: 40px 0;
  }
  
  .newsletter-content {
    gap: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .footer-company {
    grid-column: 1 / -1;
    padding-right: 0;
    margin-bottom: 16px;
  }
  
  .footer-main {
    padding: 40px 0 25px;
  }
}

@media (max-width: 768px) {
  .footer-newsletter {
    padding: 30px 0;
  }
  
  .newsletter-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-main {
    padding: 30px 0 20px;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-newsletter {
    padding: 20px 0;
  }
  
  .newsletter-form-wrapper {
    padding: 20px;
  }
  
  .newsletter-title {
    font-size: 22px;
  }
  
  .newsletter-desc {
    font-size: 14px;
  }
  
  .footer-main {
    padding: 25px 0 15px;
  }
  
  .footer-grid {
    gap: 20px;
  }
}

/* Print styles */
@media print {
  .footer-newsletter,
  .emergency-support,
  .social-links {
    display: none;
  }
  
  .footer-ultra-modern {
    background: white;
    color: black;
  }
  
  .section-title,
  .category-title,
  .location-name {
    color: black;
  }
}
