/* =========================
   FOOTER (target layout)
   ========================= */




footer{
  width: 100%;
  padding: 2.5rem 0 1.5rem;
  background: transparent;   /* important (no white wall) */
  color: var(--text);
  overflow: visible;
}

.footerInfo{
  width: min(1480px, 94%);
  margin: 0 auto;
  padding: 2.2rem 2.4rem;

  border-radius: 22px;
  background:
    url('../Media/mask-lines.png') no-repeat right -40px top -40px,
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  background-size: 680px auto, auto;

  /* depth shadow */
  box-shadow: 0 14px 32px rgba(10,10,10,0.10);

  /* smaller, tighter blue halo */
  filter:
    drop-shadow(0 10px 28px rgba(72,160,246,0.22))   /* --c-blue-500 */
    drop-shadow(0 6px 18px rgba(94,195,234,0.16));   /* --c-sky-200 */
}







/* TOP ROW: left text + right links */
.footer-top{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

/* left */
.footer-c{
  width: auto;
  padding: 0;
}

.footer-c img{
  width: 320px;
  margin: 0 0 .8rem;
}

.footer-c p{
  margin: 0;
  max-width: 45%;
  font-size: 1.2rem;
  font-weight: 550;
  margin-top: 1rem;
  margin-left: 2rem;
}

/* right links */
.footer-r{
  width: auto;
  padding: 0;
  width: max-content;
  display: flex;
  gap: 3rem;
  justify-content: flex-start;
  margin-right: 5rem;
}

.footerLinks h4{
  margin: .2rem 0 .9rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.footerLinks ul{
  list-style: none;
  margin-left: 1rem;
  padding: 0;
  display: grid;
  gap: .65rem;
}

.footerLinks a{
  text-decoration: none;
  color: #0f5e8b;
  font-weight: 400;
  font-size: .9rem;
}

.footerLinks a:hover{
  text-decoration: underline;
}

/* divider INSIDE card */
.footer-divider{
  border: none;
  border-top: 1px solid rgba(15, 94, 139, 0.25);
  margin: 1.6rem 0 1.2rem;
}

/* BOTTOM ROW: contact left + button right */
.footer-bottom{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

/* contact block */
.footer-contact{
  display: grid;
  gap: .75rem;
}

.footerData{
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.15rem;     /* larger like reference */
  font-weight: 650;
  color: #0f5e8b;         /* blue like reference */
}

.footerData img{
  width: 22px;
  height: 22px;
  margin: 0;
}

/* button bottom-right */
.footer-buttons{
  display: flex;
  justify-content: flex-end;
}

.footer-book-demo{
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: .95rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

/* arrow bubble */
.footer-btn-icon{
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(10, 60, 90, 0.22);
  font-weight: 900;
  line-height: 1;
}

/* =========================
   COPYRIGHT (below card)
   ========================= */

.footerCopyright{
  width: min(1480px, 94%);
  margin: 1.2rem auto 0;
  color: var(--text-muted);
}

.footerCopyright hr{
  width: 100%;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.18);
  margin: 1.3rem 0 .9rem;
}

.footer-bottom-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom-row p{
  margin: 0;
  font-size: .95rem;
}

.patent-badge{
  height: 70px;
  width: auto;
  display: block;
}

/* hide old graphic (optional) */
.footerGraphic{ display: none; }

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 980px){
  .footerInfo{
    padding: 1.8rem 0 !important;
    width: 100% !important;
    background-position: right -80px top -60px;
    background-size: 560px auto, auto;
  }

  .footer-top{
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .footer-r{
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-content: start;
  }

  .footer-bottom{
    grid-template-columns: 1fr;
    row-gap: 1.2rem;
    padding: .2rem 1rem;
  }

  .footer-buttons{
    justify-content: flex-start;
  }

  .footer-bottom-row{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 450px){
  .footer-c,
  .footer-r,
  .footer-divider{
    display: none !important;
  }

  .footer-r{
    margin-right: 0;
  }
  .footer-bottom-row{
    align-items: center;
    text-align: center;
  }
}