/* Professional Footer Styling */
.footer-professional {
  background-color: var(--primary-blue);
  color: white;
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  height: 80px;
  width: auto;
}

.footer-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: #005d92;
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #005d92;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #005d92;
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-info p {
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: #005d92;
}

/* Legacy footer support */
footer {
  background-color: var(--primary-blue);
  color: #fff !important;
  width: 100vw;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  display: block;
}

.footer-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  flex-wrap: nowrap;
  text-align: center;
}

.footer-left, .footer-center, .footer-right {
  flex: 1;
  min-width: 0;
  padding: 10px;
  width: auto;
  max-width: none;
  margin-bottom: 0;
}

.footer-left img {
  max-height: 130px;
  width: auto;
}

.footer-center {
  text-align: center;
}

.footer-center h2 {
  margin-bottom: 1rem;
  font-size: 2.1rem;
  color: #fff !important;
}

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

.social-icons a {
  color: #fff !important;
  font-size: 1.9rem; 
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  color: #007BFF !important;
  opacity: 0.9;
  text-decoration: none;
}

.footer-right {
  text-align: center;
  padding-bottom: 15px;
  max-width: none;
  width: auto;
  margin: 0;
}

.footer-right p {
  margin: 0.3rem 0;
  font-size: 0.9rem; 
  color: #fff !important;
  line-height: 1.2; 
}

.footer-right a.useButtonLightBlue {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-professional {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }
  
  .footer-logo {
    height: 60px;
  }
  
  .footer-title {
    font-size: var(--font-size-base);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .contact-info p {
    font-size: var(--font-size-xs);
  }
  
  .btn-primary-custom {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    display: block;
  }
  
  /* Legacy footer responsive */
  .footer-container {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: var(--spacing-md);
  }
  
  .footer-right p {
    font-size: 0.8rem; 
  }
  
  .footer-center h2 {
    font-size: 1.5rem; 
  }
  
  .social-icons a {
    font-size: 1.5rem; 
  }
}

@media (max-width: 480px) {
  .footer-professional {
    padding: var(--spacing-lg) 0;
  }
  
  .footer-content {
    gap: var(--spacing-md);
  }
  
  .footer-logo {
    height: 50px;
  }
  
  .social-link {
    width: 36px;
    height: 36px;
  }
  
  .contact-info p {
    font-size: var(--font-size-xs);
    margin-bottom: 2px;
  }
  
  /* Legacy footer mobile */
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
  }
  
  .footer-left img {
    max-height: 50px;
  }
  
  .footer-center h2 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .social-icons {
    gap: var(--spacing-sm);
  }
  
  .social-icons a {
    font-size: 1.3rem;
  }
  
  .footer-right p {
    font-size: 0.8rem;
    text-align: center;
    margin: 0.2rem 0;
  }
  
  .footer-right a.useButtonLightBlue {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
    width: 100%;
    max-width: 200px;
  }
}
