/* Footer Styles */
.footer {
  background-color: #0a1128;
  color: #ffffff;
  padding: 60px 20px 30px;
  font-family: sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  justify-content: space-between;
}

.footer-brand {
  flex: 1 1 250px;
}

.footer-brand .logo {
  width: 80px;
  height: 80px;
  background-color: #fff; /* placeholder box for logo */
  display: block;
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-brand .location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #cbd5e1;
}

.footer-links,
.footer-services,
.footer-contact {
  flex: 1 1 180px;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-services li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-contact .icon {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1a1f3a;
  text-align: center;
  font-size: 12px;
  color: #cbd5e1;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-brand .location .icon {
  width: 16px;
  height: 16px;
  stroke: #cbd5e1; /* keeps color consistent with text */
}

/* Common footer link style */
.footer a {
  color: #ffffff; /* Base color */
  text-decoration: none; /* Remove default underline */
  position: relative; /* Needed for ::after */
  transition: color 0.3s; /* Smooth color transition */
}

/* Animated underline effect */
.footer a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px; /* Thickness of underline */
  left: 0;
  bottom: -2px; /* Small gap below text */
  background-color: #1e40af; /* Highlight color */
  transition: width 0.3s ease; /* Smooth width animation */
}

/* Hover state */
.footer a:hover {
  color: #1e40af; /* Change text color on hover */
}

.footer a:hover::after {
  width: 100%; /* Animate underline from 0 to full */
}
