.footer-ribbon {
  width: 100%;
  max-width: 3000px;
  margin: 40px auto 0 auto;
  background: linear-gradient(135deg, rgba(240, 245, 255, 0.9), rgba(255, 255, 255, 0.5));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 32px rgba(106, 168, 214, 0.15);
  border-radius: 16px;
  padding: 50px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  font-family: 'Segoe UI', Calibri, sans-serif;
  font-size: 1.05rem;
  color: #224466;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.footer-ribbon::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(rgba(153, 204, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: rainDrift 30s linear infinite;
  z-index: 0;
}

@keyframes rainDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(100px, 100px); }
}

.footer-section {
  flex: 1 1 250px;
  min-width: 250px;
  z-index: 1;
}

.footer-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
  padding-left: 0;
}

.footer-section a {
  text-decoration: none;
  color: #336699;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 6px;
}

.footer-section a:hover {
  color: #ffffff;
  background: linear-gradient(90deg, #6aa8d6, #4b92c2);
  border-radius: 8px;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 16px rgba(106, 168, 214, 0.5);
}

.footer-section.address p {
  margin: 0;
  line-height: 1.8;
}

.footer-map {
  flex: 1 1 300px;
  min-width: 280px;
  max-width: 100%;
  z-index: 1;
}

.footer-map iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-ribbon:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(106, 168, 214, 0.25);
}

@media (max-width: 700px) {
  .footer-map iframe {
    height: 250px;
  }
}

footer {
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  color: #555;
  background-color: #f2f7fb;
  border-top: 1px solid #dce6f1;
  margin-top: 40px;
}

