:root {
  --primary: #fbdc30;
  --primary-dark: #fbea81;
  --accent: #6b7280;
  --text: #959495;
  --muted: #6f7277;
  --bg: #f3f0e8;
  --white: #ffffff;
  --border: #ddd5c6;
}

.wb-footer {
  position: relative;
  /* margin-top: 1px; */
  padding: 0;
  background: linear-gradient(
    145deg,
    rgba(49, 45, 38, 0.99),
    rgba(86, 81, 70, 0.98) 52%,
    rgba(137, 116, 49, 0.97)
  );
  overflow: hidden;
}

.wb-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 190px;
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(241, 220, 166, 0.2),
      transparent 24%
    ),
    radial-gradient(
      circle at 88% 12%,
      rgba(214, 210, 201, 0.18),
      transparent 24%
    );
  pointer-events: none;
}

.wb-footer-shell {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0 8px;
  overflow: hidden;
}

.wb-footer-shell::before,
.wb-footer-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.wb-footer-shell::before {
  top: -120px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0)
  );
}

.wb-footer-shell::after {
  left: -140px;
  bottom: -180px;
  width: 340px;
  height: 340px;
  background: radial-gradient(
    circle,
    rgba(224, 182, 63, 0.18),
    rgba(224, 182, 63, 0)
  );
}

.wb-footer-top,
.wb-footer-bottom {
  position: relative;
  z-index: 1;
}

.wb-footer-top {
  display: grid;
  /* Adjusting the ratio so the links have more room to align left */
  grid-template-columns: 0.8fr 1.4fr;
  gap: 28px;
  padding-bottom: 16px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  align-items: start;
}
.wb-footer-brand {
  padding: 0;
}

.wb-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.wb-footer-logo-mark {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, #fffef4, #f5eb9d);
  box-shadow:
    inset 0 2px 12px rgba(255, 255, 255, 0.84),
    0 12px 24px rgba(7, 28, 50, 0.2);
}

.wb-footer-logo-mark::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 9px;
  width: 30px;
  height: 34px;
  border-radius: 46% 46% 40% 40%;
  background: linear-gradient(180deg, #5c5c5c, #3d3d3d);
}

.wb-footer-logo-mark::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 20px;
  width: 18px;
  height: 13px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.99),
    rgba(246, 246, 246, 0.95)
  );
  box-shadow:
    -10px -3px 0 -4px rgba(255, 255, 255, 0.93),
    10px -3px 0 -4px rgba(255, 255, 255, 0.93);
}

.wb-footer-logo-leaf {
  position: absolute;
  right: 7px;
  top: 5px;
  width: 12px;
  height: 18px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(180deg, #97d679, #4ea950);
  transform: rotate(26deg);
}

.wb-footer-logo-text {
  display: flex;
  flex-direction: column;
}

.wb-footer-logo-name {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wb-footer-logo-sub {
  margin-top: 4px;
  color: rgba(224, 240, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.wb-footer-copy {
  max-width: 420px;
  margin-top: 10px;
  color: rgba(234, 228, 214, 0.84);
  font-size: 0.88rem;
  line-height: 1.6;
}

.wb-footer-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.wb-footer-pill {
  padding: 6px 10px;
  border: 1px solid rgba(236, 218, 171, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f5edd8;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
}

.wb-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.wb-footer-column {
  padding: 0 0 4px;
}

.wb-footer-column h3 {
  margin-bottom: 8px;
  color: black;
  font-size: 1.02rem;
  font-weight: 600;
}

.wb-footer-column ul {
  list-style: none;
  padding: 0; /* Ensures no default padding pushes text right */
  margin: 0;
}

.wb-footer-column li + li {
  margin-top: 6px;
}

.wb-footer-column a,
.wb-footer-column p {
  color: rgba(234, 228, 214, 0.82);
  font-size: 0.86rem;
  line-height: 1.45;
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.wb-footer-column a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.wb-footer-contact span {
  display: block;
  margin-bottom: 2px;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wb-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid rgba(236, 218, 171, 0.14);
}

.wb-footer-bottom p {
  color: rgba(234, 228, 214, 0.7);
  font-size: 0.84rem;
}

.wb-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wb-footer-bottom-links a {
  color: #f0e7d3;
  font-size: 0.84rem;
  text-decoration: none;
}

.wb-footer-bottom-links a:hover {
  color: #ffffff;
}

.wb-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.wb-footer-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.wb-footer-icon:hover {
  background: #fbdc30;
  color: #ffffff;
  transform: translateY(-3px);
}
.wb-footer-social a {
  text-decoration: none;
}

/* Updated Media Queries for Middle Alignment */

@media (max-width: 1080px) {
  .wb-footer-top {
    grid-template-columns: 1fr;
    text-align: center; /* Centers Brand Section */
  }

  .wb-footer-logo {
    justify-content: center; /* Centers Logo */
  }

  .wb-footer-pill-row {
    justify-content: center; /* Centers Pills */
  }

  .wb-footer-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .wb-footer-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: left; /* Keeps lists readable on tablet */
  }
}

@media (max-width: 720px) {
  .wb-footer-grid {
    grid-template-columns: 1fr; /* Stacks columns */
    text-align: center; /* ALIGN MIDDLE FOR MOBILE */
    gap: 18px;
  }

  .wb-footer-column ul {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers list items */
  }

  .wb-footer-column a:hover {
    transform: none; /* Prevents shifting on touch */
  }

  .wb-footer-bottom {
    flex-direction: column;
    align-items: center; /* Centers Copyright & Policy */
    text-align: center;
  }
}
@media (max-width: 1080px) {
  .wb-footer-social {
    display: flex;
    justify-content: center !important;
    margin-top: 10px;
  }
}
/* ===== XL MANAGEMENT (DEV CREDIT) ===== */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* TEXT */
.footer-bottom-content p {
  margin: 0;
  color: rgba(234, 228, 214, 0.7);
  font-size: 0.8rem;
}

/* DEV CREDIT WRAPPER */
.dev-credit {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* LOGO */
.dev-logo {
  width: 20px;
  height: auto;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* HOVER EFFECT */
.dev-credit:hover .dev-logo {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* LINK */
.dev-credit a {
  color: #fbdc30;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.dev-credit a:hover {
  color: #ffffff;
}

/* ===== RESPONSIVE FIX ===== */
@media (max-width: 720px) {
  .wb-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px; /* REDUCED from 35px */
  }

  .wb-footer-column {
    padding: 0; /* REMOVE extra vertical space */
  }

  .wb-footer-column h3 {
    margin-bottom: 8px; /* tighter heading spacing */
  }

  .wb-footer-column ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px; /* controls spacing between items */
  }

  .wb-footer-column li + li {
    margin-top: 0; /* remove extra gap stacking */
  }

  .wb-footer-column a,
  .wb-footer-column p {
    line-height: 1.4; /* slightly tighter text */
  }

  .wb-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px; /* reduce spacing */
  }
}

/* CONTROL LOGO SIZE */
.wb-logo-image {
  width: 90px;        /* adjust: try 70px / 80px / 90px */
  height: 90px;       /* keep equal for square logo */
  object-fit: contain;
  border-radius: 6px; /* optional: slight rounding */
}

/* OPTIONAL: reduce spacing below logo */
.wb-footer-brand img {
  margin-bottom: 8px;
}
