/* ==========================================================================
   Meii AI — Footer
   Values measured directly from DevTools:
   .wrap   -> 1200 x 438.58 | margin: 0 120px | padding: 0 48px | color:#0A1628 | 16px Poppins
   .foot-g -> 1104 x 438.58 (1200 - 2*48 padding, confirms max-width:1200 + padding:0 48px)
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.footer {
  background-color: #FFEEEB; /* warm cream/peach footer background */
  font-family: 'Poppins', sans-serif;
  color: #0A1628;
  font-size: 16px;
  padding-top: 56px;
  position: relative;
}

/* ---- .wrap : measured margin 0 120px / padding 0 48px at 1440px viewport ----
   Implemented as max-width + auto margin so it scales responsively
   while producing the exact same 120px side margin at 1440px wide screens. */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---- .foot-g : 4-column grid, 1104px wide ---- */
.foot-g {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

/* ---- Col 1: Brand ---- */
.foot-brand {
  display: flex;
  flex-direction: column;
}

.foot-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.foot-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.foot-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #0A1628;
  margin: 0 0 20px 0;
  max-width: 300px;
}

.foot-social {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  border: none;
  border-radius: 6px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  background: #6E655C;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.foot-social a:hover {
  background: #56504A;
}

/* ---- Section headings (PLATFORMS / COMPANY / GLOBAL OFFICES) ---- */
.foot-h {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #E8622C; /* orange/red heading color */
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ---- Link lists (Platforms / Company columns) ---- */
.foot-links li {
  margin-bottom: 0;
}
/* .foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-links li {
  margin-bottom: 14px;
}

.foot-links a {
  font-size: 14px;
  line-height: 1.5;
  color: #0A1628;
  text-decoration: none;
  transition: color 0.2s ease;
}

.foot-links a:hover {
  text-decoration: underline;
} */

/* ---- Col 4: Global Offices ---- */
.foot-offices {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.off-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.off-item .flag {
  flex-shrink: 0;
  font-weight: 700;
  color: #0A1628;
  font-size: 12px;
  min-width: 20px;
}

.off-item span:not(.flag) {
  color: #0A1628;
}

.office-map-link {
  color: #0A1628; /* same as body text color */
  text-decoration: none;
}

.office-map-link:hover {
  text-decoration: underline;
}

/* ---- Bottom bar ---- */
.foot-bottom {
  padding: 20px 0;
  text-align: start;
  font-size: 13px;
  display: unset;
  color: #0A1628;
}

.foot-bottom a {
  color: #0A1628;
  text-decoration: underline;
}

/* ---- WhatsApp floating button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
}

.whatsapp-float img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   Responsive — layout adapts for laptop / tablet / phone.
   Note: .foot-social buttons stay fixed size/shape at every breakpoint
   (no wrapping, no resizing) as requested.
   ========================================================================== */

/* Laptop */
@media (max-width: 1199px) {
  .wrap {
    padding: 0 32px;
  }
  .foot-g {
    gap: 28px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .footer {
    padding-top: 40px;
  }
  .wrap {
    padding: 0 24px;
  }
  .foot-g {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
    column-gap: 24px;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}

/* Phone */
@media (max-width: 576px) {
  .footer {
    padding-top: 32px;
  }
  .wrap {
    padding: 0 20px;
  }
  .foot-g {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .foot-desc {
    max-width: 100%;
  }
  .foot-social {
    overflow-x: auto;
  }
  .whatsapp-float {
    bottom: 16px;
    left: 16px;
  }
}

