/* Footer */
.site-footer {
  background: #000;
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Center & gutter the container */
.footer-container {
  width: 100%;
  max-width: calc(100% - 260px); /* 130px gutters each side */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  padding: 0 1rem;
}

/* Brand section */
.footer-brand h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.footer-brand p {
  font-size: 0.875rem;
  color: #bbb;
}

/* Quick links */
.footer-links h5 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.6;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #ccc;
}

/* Social & subscribe */
.footer-subscribe h5 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.footer-subscribe .socials {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.footer-subscribe .socials a {
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-subscribe .socials a:hover {
  color: #ccc;
}

/* Subscribe form */
.subscribe-form {
  display: flex;
  max-width: 24rem;
}
.subscribe-form input {
  flex: 1;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.25rem 0 0 0.25rem;
  font-size: 0.875rem;
}
.subscribe-form button {
  background: #25d366;
  color: #fff;
  border: none;
  padding: 0 1rem;
  border-radius: 0 0.25rem 0.25rem 0;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background 0.2s;
}
.subscribe-form button:hover {
  background: #1ebe57;
}

/* Responsive: 3-column on medium+ screens */
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
  }
}

/* Fine-tune small screens */
@media (max-width: 480px) {
  .subscribe-form {
    flex-direction: column;
  }
  .subscribe-form input,
  .subscribe-form button {
    width: 100%;
    border-radius: 0.25rem;
  }
  .subscribe-form button {
    margin-top: 0.5rem;
  }
}

/* Footer Typography Refinements */
.footer-brand h4 {
  font-size: 1.5rem;       /* slightly larger */
  font-weight: 700;        /* heavier */
  letter-spacing: 1px;
}
.footer-brand p {
  font-size: 0.875rem;
  color: #bbb;
  margin-top: 0.25rem;
}

/* Quick Links */
.footer-links h5 {
  font-size: 1.125rem;     /* a bit larger than body text */
  font-weight: 600;
  letter-spacing: 0.5px;
}
.footer-links ul li a {
  font-size: 0.95rem;      /* slightly smaller */
  font-weight: 400;
}

/* Stay Connected */
.footer-subscribe h5 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.footer-subscribe .socials a {
  font-size: 0.9rem;
}

/* Subscribe form */
.subscribe-form input {
  font-size: 0.95rem;
}
.subscribe-form button {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Credit line */
.footer-credit p {
 margin-top: 80px;
  font-size: 0.85rem;
  color: #777;
}
.footer-credit p strong {
  color: #fff;
  font-weight: 600;
}

/* Make footer a single column on very small screens */
@media (max-width: 1000px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-container{
    margin: 0 30px;
  }
}

