/* Footer Styles (Centered) */
/* ======================== */

footer {
  background-color: #2f2a24; 
  color: #eee7d9;
  font-family: 'Poppins', sans-serif;
  padding: 40px 20px;
  text-align: center; /* centers inline content by default */
}

/* Container: centered grid with centered items */
footer .container-fluid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 40px;
  max-width: 1500px;
  margin: 0 auto;
  justify-items: center; /* horizontal center of each grid cell */
  align-items: start; /* maintain top alignment within each cell */
}

/* Headings */
footer h4, footer h5 {
  color: #eee7d9;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* Paragraphs and links */
footer p {
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95rem;
}
footer a {
  color: #aaa;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}

/* Lists centered */
footer ul {
  list-style: none;
  padding: 0;
  text-align: center; /* center list items */
}
footer ul li {
  margin-bottom: 10px;
}
footer ul li a {
  display: inline-block;
}

/* Social media icons */
footer .social-links, footer .social-icons {
  display: flex;
  justify-content: center; /* center icon group */
  gap: 15px;
  margin-top: 10px;
}
footer .social-links a,
footer .social-icons a {
  font-size: 1.4rem;
  color: #c6a664;
  transition: color 0.3s;
}
footer .social-links a:hover,
footer .social-icons a:hover {
  color: #fff;
}

/* Newsletter form grouped and centered */
footer form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  justify-content: center; /* center form elements */
  align-items: center;
}
footer input[type="email"] {
  padding: 8px 12px;
  border: 1px solid #c6a664;
  border-radius: 4px;
  background-color: #fdfaf6;
  color: #000;
  min-width: 150px;
}
footer input[type="email"]::placeholder {
  color: #000;
}

.custom-btn-bg {
  padding: 8px 16px;
  border: none;
  background-color: #000;
  color: #eee;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

footer button:hover {
  background-color: #777;
}

/* Bottom row: badges and copyright center */
footer .row.align-items-center {
  display: flex;
  flex-direction: column;
  align-items: center; /* horizontal center */
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 30px;
  gap: 10px;
}
footer img[alt*="Payment"] {
  max-height: 40px;
  height: auto;
}

/* Copyright */
footer .copy-right p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  footer {
    padding: 30px 15px;
    font-size: 0.9rem;
  }
  footer h4, footer h5 {
    font-size: 1.1rem;
  }
  footer form {
    flex-direction: column;
  }
  footer img[alt*="Payment"] {
    max-height: 30px;
  }
}
