/* ---------- GLOBAL STYLES ---------- */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Poppins", sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* ---------- FOOTER WRAPPER ---------- */
.footer {
  background: #fff;
  border-top: 2px solid #f5f5f5;
  padding: 60px 0;
  width: 100%;
}

/* ---------- FOOTER CONTAINER ---------- */
.footer-container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* ---------- LEFT SECTION ---------- */
.footer-left {
  flex: 1 1 250px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-logo span {
  color: #f8e805;
}

.map-btn {
  display: inline-block;
  background: #ffd800;
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.map-btn:hover {
  background: #ffcc00;
}

/* ---------- CENTER SECTION ---------- */
.footer-center {
  flex: 1 1 250px;
}

.payments img,
.security img {
  height: 50px;
  margin-right: 10px;
}

/* ---------- RIGHT SECTION ---------- */
.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-links h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #111;
}

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

.footer-links ul li {
  margin: 6px 0;
}

.footer-links ul li a {
  text-decoration: none;
  color: #444;
  transition: color 0.3s ease;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .footer-container {
    width: 95%;
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .footer {
    padding: 40px 0;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

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

  .footer-right {
    justify-content: center;
    gap: 40px;
  }

  .payments img,
  .security img {
    height: 40px;
    margin: 5px;
  }
}

@media screen and (max-width: 480px) {
  .footer {
    padding: 30px 0;
  }

  .footer-container {
    width: 100%;
    padding: 0 15px;
  }

  .footer-right {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    width: 100%;
  }

  .footer-logo {
    font-size: 24px;
  }

  .map-btn {
    width: 100%;
    text-align: center;
    margin-top: 15px;
  }
}

.footer-links ul li a:hover {
  color: #000;
  font-weight: 600;
}

/* ---------- FOOTER BOTTOM ---------- */
.footer-bottom {
  border-top: 1px solid #ddd;
  background: #ffd800;
  padding: 20px 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  position: relative;
  left: 0;
  bottom: 0;
}

.footer-bottom p {
  margin: 0 40px;
  font-weight: 500;
  color: #000;
}

.social-links {
  margin-right: 40px;
}

.social-links a {
  margin: 0 10px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.social-links a:hover {
  opacity: 0.7;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1024px) {
  .footer-container {
    width: 95%;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
  }

  .footer-bottom p,
  .social-links {
    margin: 0;
  }

  .social-links {
    margin-top: 10px;
  }
}

/* ---------- REMOVE FOOTER GAP ---------- */
footer {
  margin: 0;
  padding: 0;
  display: block;
}

.footer::after,
.footer-bottom::after {
  display: none;
  content: "";
  margin: 0;
  padding: 0;
  height: 0;
}