/* Base Styles */
.footer {
  background: #2d2f42;
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  padding: 40px 0 0 0;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  gap: 32px;
}

/* Brand, Logo & Tagline */
.footer-brand {
  flex: 1 1 340px;
  min-width: 300px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-logo-tagline {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0;
  position: relative;
}

.footer-logo {
  width: 180px;
  height: auto;
  display: block;
}

.footer-tagline {
  display: inline-block;
  font-size: 1.08rem;
  color: #ffb400;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  margin-left: -140px; /* Adjust this value so tagline starts under the "N" */
  white-space: nowrap;
  position: relative;
  top: 28px; /* Adjust this value to vertically align under the "N" */
  text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* Contact & Social */
.footer-contact {
  margin-top: 18px;
}

.footer-contact h4 {
  margin: 10 0 4 0;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  display: inline-block;
  margin-bottom: 4px;
  transition: color 0.2s, transform 0.25s cubic-bezier(.4,2,.6,1), letter-spacing 0.2s;
  letter-spacing: 0.01em;
}

.footer-contact a:hover {
  color: #ffb400;
  transform: translateX(8px) scale(1.05);
  letter-spacing: 0.04em;
}

.footer-social {
  margin-top: 12px;
}

.footer-social a {
  color: #fff;
  margin-right: 16px;
  font-size: 1.3rem;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.footer-social a:hover {
  color: #ffb400;
  transform: scale(1.2) rotate(-8deg);
}

/* Address */
.footer-address {
  margin-top: 18px;
}

.footer-address h4 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: #fff;
  font-weight: 600;
}

.footer-address p {
  font-size: 1rem;
  color: #bfc3d1;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.5;
}

/* Footer Links */
.footer-links {
  display: flex;
  flex: 3 1 600px;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-end;
}

.footer-links > div {
  min-width: 140px;
}

.footer-links h4 {
  font-size: 1.13rem;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bfc3d1;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.2s, transform 0.25s cubic-bezier(.4,2,.6,1), letter-spacing 0.2s;
  display: inline-block;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.footer-links a:hover {
  color: #ffb400;
  transform: translateX(8px) scale(1.05);
  letter-spacing: 0.04em;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid #3a3c50;
  margin-top: 32px;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 1.01rem;
  background: #2d2f42;
  letter-spacing: 0.01em;
}

.footer-policy {
  color: #bfc3d1;
  text-decoration: none;
  margin-left: 16px;
  transition: color 0.2s, transform 0.25s cubic-bezier(.4,2,.6,1), letter-spacing 0.2s;
  display: inline-block;
}

.footer-policy:hover {
  color: #ffb400;
  text-decoration: underline;
  transform: translateX(8px) scale(1.05);
  letter-spacing: 0.04em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 0 12px;
  }
  .footer-links {
    justify-content: flex-start;
    gap: 24px;
    width: 100%;
  }
}

@media (max-width: 800px) {
  .footer-links {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .footer-links > div {
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 32px 0 0 0;
  }
  .footer-logo-tagline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .footer-tagline {
    margin-left: 0;
    top: 0;
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .footer-brand {
    min-width: 0;
    margin-bottom: 18px;
  }
  .footer-links h4,
  .footer-contact h4,
  .footer-address h4 {
    font-size: 1.05rem;
  }
  .footer-links a,
  .footer-policy,
  .footer-contact a,
  .footer-address p {
    font-size: 1rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 12px;
    font-size: 0.97rem;
  }
}