.footer {
  background: linear-gradient(135deg, #092c5c 90%, #1a3576 100%);
  color: #fafafa;
  padding: 70px 0 20px 0;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.footer-card {
  background: rgba(255,255,255,0.11);
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow:
    0 6px 22px rgba(9,44,92,0.11),
    0 2px 10px rgba(255,204,0,0.07);
  padding: 34px 26px 30px 26px;
  transition: box-shadow 0.3s, transform 0.3s;
  border: 2px solid #0c366d22;
}
.footer-card:hover {
  box-shadow: 0 9px 35px 0 #ffcc0070;
  transform: translateY(-6px) scale(1.03);
}

/* Section headings */
.footer h5 {
  color: #ffcc00;
  margin-bottom: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.22rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  user-select: none;
}
.footer h5::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  background: #ffcc00;
  margin-top: 6px;
  border-radius: 2px;
  box-shadow: 0 3px 13px rgba(255,204,0,0.3);
  transition: width 0.4s;
}

.footer-card:hover h5::after {
  width: 56px;
}

/* Text and address */
.footer p, .footer address, .footer-address p {
  color: #f4f6fb;
  margin-bottom: 10px;
  line-height: 1.7;
  font-size: 1rem;
  letter-spacing: 0.005em;
}

/* Links */
.footer a {
  color: #ffcc00;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 600;
}
.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Quick Links */
.footer-links ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-links li {
  margin-bottom: 3px;
  transition: transform 0.3s;
}
.footer-links li:hover {
  transform: translateX(7px) scale(1.04);
}

/* Social Icons */
.footer-social-icons {
  display: flex;
  gap: 18px;
  font-size: 1.45rem;
  margin-top: 18px;
}
.footer-social-icons a {
  color: #ffcc00;
  transition: color 0.3s, transform 0.3s;
  background: rgba(9,44,92,0.11);
  border-radius: 50%;
  padding: 7px;
  box-shadow: 0 2px 7px #ffd96644;
  outline: none;
}
.footer-social-icons a:hover,
.footer-social-icons a:focus {
  color: #fff;
  background: #ffcc00;
  transform: scale(1.18) rotate(-8deg);
  box-shadow: 0 2px 13px #ffcc0065;
}

/* Address & Map */
.footer-address p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}
.footer-icon {
  color: #ffcc00;
  flex-shrink: 0;
}

/* Footer map styling */
.footer-map {
  margin-top: 18px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 17px rgba(0,0,0,0.22);
  border: 2px solid #ffcc00;
  transition: transform 0.4s, box-shadow 0.4s;
}
.footer-map:hover, .footer-map:focus-within {
  transform: scale(1.03);
  box-shadow: 0 0 20px 6px #ffcc0070;
  border-color: #ffd966;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.13);
  padding-top: 20px;
  color: #e6e9ef;
  font-size: 1rem;
  margin-top: 40px;
  letter-spacing: 0.01em;
}

.footer-bottom a {
  color: #ffcc00;
  font-weight: 700;
  transition: color 0.3s;
}
.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Fade-in animation */
.fade-in-up {
  opacity: 0;
  animation: fadeUp2 0.95s cubic-bezier(.7,.2,.9,.9) forwards;
  transform: translateY(26px);
}
.footer-card:nth-child(1) { animation-delay: 0.1s; }
.footer-card:nth-child(2) { animation-delay: 0.22s; }
.footer-card:nth-child(3) { animation-delay: 0.31s; }

@keyframes fadeUp2 {
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
  .footer-card { margin-bottom: 18px; padding: 26px 10px; }
}
@media (max-width: 768px) {
  .footer { padding: 26px 0 10px 0; }
  .footer-bottom { font-size: 0.97rem; }
}
@media (max-width: 600px) {
  .footer-card { padding: 22px 6px 20px 6px; }
}
