/* =========================
   GLOBAL RESET
========================= */

.design-footer * {
  margin: 0;
  padding: 0;
  border-spacing: 0;
  font-family: Archivo, Helvetica, "Myriad Pro", Verdana, Arial;
}
/* =========================
   MAIN FOOTER
========================= */

.design-footer {
  width: 100%;
  padding-top: 40px;
  color: white;
  font-size: 13px;
  line-height: 24px;
  background: linear-gradient(to bottom, #09347d, #00205b) !important;
}
/* Container (centered desktop layout) */

.design-footer div {
  display: block;
  margin: 0 auto;
  width: 1100px;
}
/* Base UL */

.design-footer ul {
  font-size: 16px;
  font-weight: 400;
  list-style: none;
}
/* Links */

.design-footer a {
  color: white !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}
.design-footer a:hover {
  color: #0099ff;
}
.design-footer a:visited {
  color: #115fa4;
}
/* =========================
   MENU LAYOUT (FIXED)
========================= */

.design-footer .site-footer-menu {
  display: flex;
  flex-wrap: nowrap;
  /* keep all in one row */
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin: 7px 0 !important;
}
/* Columns */

.site-footer-menu > li {
  min-width: 160px;
  font-size: 19px;
  font-weight: 600;
}
/* Headings */

.site-footer-menu > li > a {
  display: block;
  font-size: 18px;
  margin-bottom: 12px;
}
/* Submenu */

.site-footer-menu .submenu-container {
  position: static;
  display: block;
}
.site-footer-menu ul > li {
  margin: 12px 0;
}
/* =========================
   STAY CONNECTED (FORCED TOP ROW)
========================= */

.site-footer-menu > li[data-source-name="StayConnected"] {
  width: 260px;
  flex-shrink: 0;
}
.design-footer .stay-connected h4 {
  color: white !important;
  font-size: 18px;
  font-weight: 600;
}
.site-footer-menu > li[data-source-name="StayConnected"] .submenu-container ul li a {
  color: white;
}
/* =========================
   SUBSCRIBE
========================= */

.site-footer-menu li[data-source-name="StayConnected"] li[data-source-name="subscribe"] a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  color: black;
  padding: 0 3px;
  font-size: 14px;
  cursor: text;
}
.site-footer-menu li[data-source-name="StayConnected"] li[data-source-name="subscribe"] a::before {
  content: "Email address";
  color: #777777;
}
.site-footer-menu li[data-source-name="StayConnected"] li[data-source-name="subscribe"] a::after {
  content: "Subscribe";
  background: #3aa0e6;
  color: white;
  padding: 11px 14px;
}
/* =========================
   APP BUTTONS
========================= */

.site-footer-menu li[data-source-name="StayConnected"] .submenu-container li[data-source-name="GooglePlay"] a,
.site-footer-menu li[data-source-name="StayConnected"] .submenu-container li[data-source-name="AppStore"] a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px 8px 44px;
  border-radius: 6px;
  text-indent: -9999px;
  width: 130px;
}
/* =========================
   COPYRIGHT
========================= */

.design-footer h5 {
  margin-top: 30px;
  padding-top: 10px;
  font-size: 12px;
  text-align: right;
  border-top: 1px solid #77a3d5;
}
/* =========================
   SOCIAL ICONS (FIX ALIGNMENT)
========================= */

.section-social-links ul {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
}
.section-social-links a {
  width: 40px !important;
  height: 40px !important;
  display: block;
  text-indent: -9999px;
}
/* =========================
   RESPONSIVE
========================= */

/* Tablet */

@media (max-width: 1024px) {
  .design-footer div {
    width: 100%;
    padding: 0 30px;
  }
  .site-footer-menu {
    flex-wrap: wrap;
    /* allow wrapping */
    gap: 30px;
  }
  .site-footer-menu > li {
    width: calc(13.33%);
  }
  .site-footer-menu > li[data-source-name="StayConnected"] {
    width: 100%;
  }
  .design-footer h5 {
    text-align: center;
  }
}
/* Mobile */

@media (max-width: 600px) {
  .design-footer {
    padding-top: 24px;
  }
  .design-footer div {
    padding: 0 16px;
  }
  .site-footer-menu {
    flex-direction: column;
  }
  .site-footer-menu > li {
    width: 100%;
  }
  .design-footer h5 {
    text-align: center;
    margin-top: 20px;
  }
}
/* =========================
   TABLET FIX (REAL OVERRIDE)
========================= */

@media (max-width: 1024px) {
  .design-footer .site-footer-menu {
    flex-wrap: wrap !important;
    justify-content: space-between !important;
  }
  .design-footer .site-footer-menu > li {
    width: 100% !important;
  }
  .design-footer .site-footer-menu > li[data-source-name="StayConnected"] {
    width: 100% !important;
  }
}
