/* Footer Styles */
.site-footer {
  background: #2c3e50;
  color: #fff;
  padding: 60px 0 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, sans-serif;
}

/* Footer Top Section */
.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h3 {
  color: #ffc107;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #ffc107;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #ffc107;
  transform: translateX(5px);
}

.footer-links a i {
  font-size: 12px;
  opacity: 0.7;
}

/* Contact Info Styles */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-info i {
  color: #ffc107;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.5;
}

/* Newsletter Section */
.newsletter {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  background: #ffc107;
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #e0a800;
}

/* Social Media */
.social-media {
  margin-top: 20px;
}

.social-media h4 {
  color: #ffc107;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 500;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #ffc107;
  color: #000;
  transform: translateY(-3px);
}

/* Footer Middle Section */
.footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.app-download {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.app-download h4 {
  color: #ffc107;
  font-size: 16px;
  margin: 0;
}

.app-buttons {
  display: flex;
  gap: 15px;
}

.app-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.app-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.app-button i {
  font-size: 24px;
  color: #ffc107;
}

.app-button span {
  display: flex;
  flex-direction: column;
}

.app-button .small-text {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.app-button .large-text {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 20px;
}

.payment-methods h4 {
  color: #ffc107;
  font-size: 16px;
  margin: 0;
}

.payment-icons {
  display: flex;
  gap: 10px;
}

.payment-icons i {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.payment-icons i:hover {
  color: #ffc107;
}

/* Footer Bottom Section */
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.copyright a {
  color: #ffc107;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: #ffc107;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: #ffc107;
  color: #000;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #e0a800;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-middle {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .app-download {
    align-items: center;
  }

  .payment-methods {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 0 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .app-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 250px;
  }

  .payment-icons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    font-size: 14px;
  }

  .contact-info p {
    font-size: 14px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* Animation for footer elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-column,
.footer-middle,
.footer-bottom {
  animation: fadeInUp 0.6s ease-out forwards;
}

.footer-column:nth-child(2) {
  animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
  animation-delay: 0.4s;
}
