footer {
  background: #111;
  color: white;
}

.footer-container {
  max-width: var(--content-width-full);
  margin: 0 auto;
  padding: 40px 5%;
}

/* Top Section: Links in columns */
.footer-links-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Separator */
.footer-separator {
  border: none;
  height: 1px;
  background: #333;
  margin: 2rem 0;
  width: 100%;
}

/* Bottom Section: Registry, NAICS, Logo naturally aligned */
.footer-bottom-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.footer-section {
  /* Base styles */
}

.footer-logo {
  height: 115px;
}

.footer-address {
  margin-top: 10px;
}

.footer-address p {
  margin: 2px 0;
  line-height: 1.2;
  font-size: 14px;
}

.footer-brand {
  font-weight: 600;
  margin-bottom: 5px !important;
}

/* Footer Links */
.footer-links h3 {
  margin: 0 0 15px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-links p {
  margin: 8px 0;
  line-height: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FF4500;
  text-decoration: underline;
}

.compliance-section {
  margin-top: 15px;
}

.compliance-section p {
  margin: 10px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compliance-section strong {
  color: #ccc;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 50px;
  display: inline-block;
}

.compliance-section a {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  text-decoration: none;
  transition: background 0.2s ease;
  text-align: center;
  display: inline-block;
  min-width: 80px;
  line-height: 1;
}

.compliance-section a:hover {
  background: rgba(255, 69, 0, 0.1);
  text-decoration: none;
}

.naics-codes {
  margin-top: 15px;
}

/* CyberAB Badge Styling */
.cyberab-badge-section {
  margin-top: 10px;
  text-align: left;
}

.cyberab-badge-section a {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.cyberab-badge-section a:hover {
  transform: scale(1.05);
}

.cyberab-badge {
  max-height: 65px;
  height: auto;
  transition: transform 0.2s ease;
}

/* Social Media Section */
.social-section {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid #333;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.social-link:hover {
  background: rgba(0, 119, 181, 0.15);
  color: #0077B5;
  text-decoration: none;
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  transition: color 0.3s ease;
}

.social-link:hover svg {
  color: #0077B5;
}

.naics-codes p {
  margin-bottom: 8px;
}

.naics-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 12px;
  margin: 10px 0 0 0;
}

.naics-list a {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  text-decoration: none;
  transition: background 0.2s ease;
  text-align: center;
  line-height: 1;
}

.naics-list a:hover {
  background: rgba(255, 69, 0, 0.1);
  text-decoration: none;
}

.legal {
  text-align: center;
  font-size: 12px;
  color: gray;
  margin: 15px 0;
}

.legal a {
  color: gray;
  text-decoration: none;
}

.legal a:hover {
  color: #FF4500;
  text-decoration: underline;
}

/* Responsive Mobile Styles - More Dynamic */
@media (max-width: 1200px) {
  .footer-container {
    padding: 40px 3%;
  }
  
  .footer-links-section,
  .footer-bottom-section {
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .footer-links-section {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .footer-bottom-section {
    display: block;
  }
  
  /* Registry and NAICS side by side */
  .footer-bottom-section .registry-section,
  .footer-bottom-section .naics-section {
    display: inline-block;
    width: 48%;
    vertical-align: top;
    margin-bottom: 2rem;
    text-align: left;
  }
  
  
  
  /* Logo on its own row at bottom */
  .footer-bottom-section .footer-logo-section {
    display: block;
    text-align: center;
    margin-top: 2rem;
    padding-bottom: 50px;
  }
}

@media (max-width: 600px) {
  .footer-links-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Center all links on mobile */
  .footer-links-section .footer-section {
    text-align: center;
  }
  
  /* Reset bottom section for single column mobile */
  .footer-bottom-section {
    display: block;
  }
  
  .footer-bottom-section .registry-section,
  .footer-bottom-section .naics-section {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 2.5rem;
    text-align: center;
  }
  
  /* Add spacing between logo and registry section */
  .footer-bottom-section .footer-logo-section {
    margin-bottom: 3rem;
  }
  
  /* Center registry badges on mobile */
  .footer-bottom-section .compliance-section p {
    justify-content: center;
  }
  
  /* Center CyberAB badge on mobile */
  .cyberab-badge-section {
    text-align: center;
  }
  
  .naics-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 300px;
    margin: 10px auto 0;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 30px 4%;
  }
  
  .naics-list {
    grid-template-columns: 1fr;
    max-width: 200px;
  }
}