/* --- Footer Base Styling --- */
.site-footer {
  background-color: #ffffff;
  padding: 60px 20px;
  font-family: sans-serif; /* Replace with your template's font family */
  color: #333333;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* --- Brand / Left Column --- */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px; /* Aligns layout depth structurally */
  flex-shrink: 0;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
}

.footer-social-wrapper {
  margin-top: auto;
}

.social-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333333;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #333333;
  text-decoration: none;
  color: #333333;
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
  background-color: color: rgba(215, 24, 45,1.0);
  color: #ffffff;
}

/* --- Links Grid / Right Side --- */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
  gap: 20px;
  flex-grow: 1;
}

.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-col li {
  margin-bottom: 20px;
}

.footer-nav-col a {
  text-decoration: none;
  color: #333333;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-nav-col a:hover {
  color: rgba(215, 24, 45,1.0)
}

.footer-badge-col img {
  max-width: 110px;
  height: auto;
}

/* --- Responsive Layout (Mobile/Tablet) --- */
@media (max-width: 991px) {
  .footer-container {
    flex-direction: column;
    align-items: stretch;
    gap: 50px;
  }

  .footer-brand-col {
    min-height: auto;
    gap: 30px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}

@media (max-width: 480px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-badge-col {
    grid-column: 1 / -1;
  }
}