/* =========================================================================
   Footer — static/css/footer.css  (matches the reference design)
   Layout: light top + navy diagonal shape with a gold stripe and a gold
   corner triangle, light-blue "Important Numbers" circle with gold/navy
   rings (left), logo card + name + tagline (right), about text with
   gold highlights + "More" pill, coloured social icons, blue/gold swoosh
   ribbons, then Quick Links | Reach Us panels and a copyright bar.
   All classes prefixed "lh-" so nothing clashes with base.css.
   Font: Roboto (loaded in base.html).
   ========================================================================= */

:root {
  --lh-navy: #0a2a6b;
  --lh-navy-deep: #052a5c;
  --lh-blue: #0b4d9b;
  --lh-gold: #f5b301;
  --lh-orange: #f5a623;
}

.lh-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 0% 32%, #fde6c2 0%, rgba(253, 230, 194, 0) 38%),
    linear-gradient(180deg, #ffffff 0%, #f8f6f1 100%);
}

/* Navy diagonal shape: low on the left, peak at 88%, slopes down to the right */
.lh-footer::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #0d56a8 0%, #08387a 45%, #052a5c 100%);
  clip-path: polygon(0 380px, 88% 130px, 100% 195px, 100% 100%, 0 100%);
}

/* Gold stripe along the diagonal edge (thick at the left, thin at the peak) */
.lh-footer > .lh-band,
.lh-footer > .lh-tri {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.lh-footer > .lh-band {
  background: linear-gradient(90deg, #ffe3a1 0%, #f7b733 40%, #ee8a12 100%);
  clip-path: polygon(0 340px, 88% 116px, 88% 130px, 0 380px);
}
/* Gold triangle in the top-right corner */
.lh-footer > .lh-tri {
  background: linear-gradient(135deg, #ffd45c 0%, #f5a623 100%);
  clip-path: polygon(91.8% 150px, 100% 105px, 100% 195px);
}

.lh-footer > * { position: relative; z-index: 1; }
.lh-footer > .lh-band,
.lh-footer > .lh-tri { position: absolute; z-index: 0; }
.lh-footer p { color: #fff; margin: 0; }
.lh-footer a { color: inherit; }

/* ---------- Top row: numbers circle (left) + logo (right) ---------- */
.lh-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 56px clamp(20px, 3vw, 60px) 0 44px;
}

.lh-numbers {
  flex: 0 0 auto;
  width: 440px; height: 440px;
  margin: 0 0 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #b3daf9 0%, #d9edff 55%, #eef7ff 100%);
  box-shadow:
    0 0 0 14px #fff,
    -8px 8px 0 22px var(--lh-orange),
    9px 8px 0 22px var(--lh-navy),
    0 26px 46px rgba(0, 0, 0, 0.3);
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 78px 0 0 64px;
  color: var(--lh-navy);
  animation: lhBounce 3.6s ease-in-out infinite;   /* soft bounce */
}
/* slight, slow bounce of the round numbers box */
@keyframes lhBounce {
  0%, 100% { transform: translateY(0); }
  30%      { transform: translateY(-10px); }
  50%      { transform: translateY(0); }
  65%      { transform: translateY(-4px); }
  80%      { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .lh-numbers { animation: none; } }
.lh-numbers h4 {
  position: relative;
  margin: 0; padding-bottom: 8px;
  color: var(--lh-navy);
  font-family: inherit;
  font-size: 1.28rem; font-weight: 900; letter-spacing: 0.01em;
  text-transform: uppercase; line-height: 1.2;
}
.lh-numbers h4::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--lh-navy) 0%, var(--lh-gold) 100%);
}
.lh-numbers ul {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.lh-numbers li a {
  display: flex; align-items: center; gap: 16px;
  color: var(--lh-navy);
  font-size: 1.45rem; font-weight: 400; line-height: 1.2;
}
.lh-ico {
  flex: 0 0 auto;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.lh-ico.navy   { background: #0a2a6b; }
.lh-ico.green  { background: #0f8a3d; }
.lh-ico.orange { background: #f5a623; }
.lh-ico.purple { background: #4b1fa3; }
.lh-numbers li a:hover span:last-child { text-decoration: underline; }

.lh-brand { margin-top: 140px; text-align: center; flex: 0 0 auto; }
.lh-brand-card {
  width: 150px; height: 150px; margin: 0 auto;
  background: #fff; border: 3px solid var(--lh-gold); border-radius: 22px; padding: 12px;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.lh-brand-card img { width: 100%; height: 100%; object-fit: contain; }
.lh-brand-name {
  margin-top: 16px;
  font-size: clamp(1.25rem, 1.9vw, 1.9rem); font-weight: 900; line-height: 1.15; color: #fff;
}
.lh-brand-tag {
  position: relative;
  margin-top: 8px; padding-bottom: 14px;
  font-size: clamp(0.95rem, 1.15vw, 1.15rem); font-weight: 400; color: #fff;
}
.lh-brand-tag::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 70px; height: 3px; border-radius: 3px; background: var(--lh-gold);
  transform: translateX(-50%);
}

/* ---------- About text + More + socials ---------- */
.lh-about {
  max-width: 1300px; margin: 0 auto; padding: 0 24px;
  text-align: center;
  font-size: clamp(0.9rem, 1.05vw, 1.08rem);
  line-height: 1.8;
}
.lh-about p { font-size: inherit; line-height: inherit; }
.lh-hl { color: var(--lh-gold); font-weight: 700; }
.lh-about .lh-more {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 16px; padding: 10px 34px; border-radius: 999px;
  background: linear-gradient(180deg, #ffd84d 0%, #f5b301 100%);
  color: var(--lh-navy); font-weight: 900; font-size: 1.02rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.lh-about .lh-more:hover { transform: translateY(-2px); }
.lh-more i { font-size: 0.8rem; }

.lh-footer > .lh-social { z-index: 2; }
.lh-social {
  display: flex; justify-content: center; gap: 12px;
  margin-top: 24px;
}
.lh-social a {
  width: 52px; height: 52px; border-radius: 50%;
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.lh-social a:hover { transform: translateY(-3px); }
.lh-fb { background: #1877f2; }
.lh-yt { background: #e62117; }
.lh-in { background: #0a66c2; }
.lh-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.lh-gg { background: #fff; }
.lh-gg i {
  background: conic-gradient(from -45deg, #ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Blue + gold swoosh ribbons ---------- */
.lh-footer > .lh-swoosh {
  z-index: 0; pointer-events: none;
  height: 220px; margin-top: -160px;
}
.lh-swoosh svg { display: block; width: 100%; height: 100%; }

/* ---------- Two panels ---------- */
.lh-panels {
  position: relative;
  max-width: 1400px; margin: 0 auto; padding: 34px 24px 28px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0;
}
.lh-panels::before {   /* thin gold divider line at the top */
  content: ""; position: absolute; top: 0; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 179, 1, 0.9) 50%, transparent 100%);
}
.lh-panel { text-align: center; padding: 0 22px; }
.lh-panel + .lh-panel { border-left: 1px solid rgba(255, 255, 255, 0.45); }
.lh-panel h4 {
  display: inline-block;
  margin: 0 0 20px; padding-bottom: 6px;
  color: #fff; font-family: inherit;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem); font-weight: 900; line-height: 1.2;
  text-transform: uppercase;
  border-bottom: 3px solid var(--lh-gold);
}

.lh-quick {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; row-gap: 10px;
}
.lh-quick li { padding: 2px 18px; line-height: 1.4; }
.lh-quick li:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, 0.7); }
.lh-quick a { color: #fff; font-size: 1.02rem; font-weight: 400; }
.lh-quick a:hover { color: var(--lh-gold); }

.lh-reach-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px;
}
.lh-reach-item { display: flex; align-items: center; gap: 12px; line-height: 1.4; font-size: 1.02rem; }
.lh-reach-item i { color: var(--lh-gold); font-size: 1.5rem; }
.lh-reach-item a:hover { color: var(--lh-gold); }

/* ---------- Copyright ---------- */
.lh-bottom {
  padding: 16px 24px; text-align: center; font-size: clamp(0.78rem, 0.95vw, 0.95rem);
  background: rgba(2, 20, 50, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.lh-bottom a:hover { text-decoration: underline; }
.lh-credit { color: var(--lh-gold); font-weight: 900; }

/* Credit + admin link lines under the copyright */
.lh-bottom p + p { margin-top: 6px; }
.lh-credit-line { line-height: 1.6; }
.lh-sep { opacity: 0.55; margin: 0 6px; }
.lh-credit-line a.lh-credit:hover { text-decoration: underline; }
.lh-admin-line { margin-top: 10px !important; }
.lh-admin {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lh-admin:hover { background: var(--lh-gold); color: var(--lh-navy); border-color: var(--lh-gold); text-decoration: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1300px) {
  .lh-top { padding-left: 40px; }
  .lh-numbers { width: 400px; height: 400px; padding: 68px 0 0 56px; margin-bottom: 40px; }
  .lh-numbers li a { font-size: 1.3rem; }
  .lh-ico { width: 46px; height: 46px; }
  .lh-brand { margin-top: 110px; }
  .lh-brand-card { width: 130px; height: 130px; }
}

.lh-numbers li a .lh-small { font-size: 1.05rem; word-break: break-all; }