/* Footer Styles */
.footer {
  background-color: var(--bg-dark-navy);
  color: var(--bg-white);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-section h3 {
  color: var(--bg-white);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background-color: var(--primary-blue);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--bg-white);
  transform: translateX(4px);
}

.footer-links a i {
  font-size: 0.875rem;
  width: 1rem;
}

/* Contact Info */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--spacing-md);
  color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
  color: var(--primary-blue);
  font-size: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.contact-info a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-info a:hover {
  color: var(--bg-white);
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-medium);
}

.social-link:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* WhatsApp CTA in Footer */
.footer-whatsapp-cta {
  background-color: var(--accent-green);
  color: var(--bg-white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--font-weight-semibold);
  margin-top: var(--spacing-md);
  transition: var(--transition-medium);
}

.footer-whatsapp-cta:hover {
  background-color: #15803D;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--bg-white);
}

/* Copyright Section */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--primary-blue);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-links a {
    justify-content: center;
  }
  
  .contact-info li {
    justify-content: center;
    text-align: left;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-whatsapp-cta {
    display: flex;
    justify-content: center;
    margin: var(--spacing-lg) auto 0;
  }
}

@media (max-width: 480px) {
  .footer-content {
    gap: var(--spacing-lg);
  }
  
  .social-links {
    gap: var(--spacing-sm);
  }
  
  .social-link {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
  }
  
  .footer-section h3 {
    font-size: 1.125rem;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
  }
}

/* Accessibility */
.footer-section a:focus,
.social-link:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .footer {
    background-color: transparent !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .footer-section h3::after {
    background-color: black !important;
  }
  
  .social-links,
  .footer-whatsapp-cta {
    display: none !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .footer {
    border-top: 2px solid var(--border-medium);
  }
  
  .social-link {
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
}

/* Footer Disclaimer Styles */
.footer-disclaimer {
  background-color: #0f172a; /* solid dark navy for contrast */
  color: #ffffff; /* bright white text */
  text-align: center;
  padding: 15px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 2px solid #3498db; /* subtle blue border for separation */
}

.footer-disclaimer strong {
  color: #3498db; /* Highlight 'Disclaimer:' in your theme blue */
}

.footer-disclaimer a {
  color: #58a6ff;
  text-decoration: underline;
}

.footer-disclaimer a:hover {
  color: #ffffff;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .footer-disclaimer {
    font-size: 0.85rem;
    padding: 10px;
  }
}

